1 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3 Replace FSF snail mail address with URLs, as per GNU coding standards.
4 Most of the snail mail addresses were wrong anyway, and omitting
5 them makes the source code easier to maintain. Almost all of the
6 changes are to license notices and to locale LC_IDENTIFICATION
7 addresses, except for this one:
8 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9 not its snail mail address.
11 2012-02-09 Richard Henderson <rth@twiddle.net>
13 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18 2012-02-08 Marek Polacek <polacek@redhat.com>
20 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
21 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
22 * sysdeps/gnu/_G_config.h: Likewise.
23 * sysdeps/generic/_G_config.h: Likewise.
25 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31 * sysdeps/powerpc/powerpc32/crti.S: New file.
32 * sysdeps/powerpc/powerpc32/crtn.S: New file.
33 * sysdeps/powerpc/powerpc64/crti.S: New file.
34 * sysdeps/powerpc/powerpc64/crtn.S: New file.
36 * Makeconfig (have-initfini): Don't set.
37 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38 * configure.in (nopic_initfini): Don't substitute.
39 * config.h.in (HAVE_INITFINI): Don't #undef.
40 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
43 2012-02-08 Joseph Myers <joseph@codesourcery.com>
45 Support crti.S and crtn.S provided directly by architectures.
46 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47 [crti.S in sysdirs] (omit-deps): Likewise.
48 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
51 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
55 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
56 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57 compiler output for sysdeps/generic/initfini.c.
58 * sysdeps/i386/elf/Makefile: Remove file.
59 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
61 2012-02-07 Marek Polacek <polacek@redhat.com>
63 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
64 * sysdeps/gnu/_G_config.h: Likewise.
65 * sysdeps/mach/hurd/_G_config.h: Likewise.
67 2012-02-07 Marek Polacek <polacek@redhat.com>
69 * math/Makefile (tests): Add tst-CMPLX2.
70 * math/tst-CMPLX2.c: New file.
72 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
74 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76 * math/libm-test.inc (jn_test): Add missing L suffix.
78 2012-02-06 Marek Polacek <polacek@redhat.com>
80 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
81 * sysdeps/i386/fpu/e_powf.S: Likewise.
82 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
84 * sysdeps/i386/fpu/e_acosh.S: Likewise.
85 * sysdeps/i386/fpu/e_pow.S: Likewise.
86 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
87 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88 * sysdeps/i386/fpu/s_expm1.S: Likewise.
89 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
90 * sysdeps/i386/fpu/e_log2.S: Likewise.
91 * sysdeps/i386/fpu/e_log2l.S: Likewise.
92 * sysdeps/i386/fpu/e_scalb.S: Likewise.
93 * sysdeps/i386/fpu/e_powl.S: Likewise.
94 * sysdeps/i386/fpu/s_log1p.S: Likewise.
95 * sysdeps/i386/fpu/e_log10f.S: Likewise.
96 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
97 * sysdeps/i386/fpu/e_logl.S: Likewise.
98 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
99 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
100 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
101 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
102 * sysdeps/i386/fpu/e_log2f.S: Likewise.
103 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
104 * sysdeps/i386/fpu/e_log.S: Likewise.
105 * sysdeps/i386/fpu/s_cexp.S: Likewise.
106 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
107 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
108 * sysdeps/i386/fpu/e_logf.S: Likewise.
109 * sysdeps/i386/fpu/e_log10l.S: Likewise.
110 * sysdeps/i386/fpu/e_atanh.S: Likewise.
111 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
112 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
113 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
114 * sysdeps/i386/fpu/e_log10.S: Likewise.
115 * sysdeps/i386/fpu/s_frexp.S: Likewise.
116 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
117 * sysdeps/i386/fpu/s_asinh.S: Likewise.
118 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
119 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
120 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
121 * sysdeps/i386/asm-syntax.h: Likewise.
122 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
123 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
124 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
125 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
126 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
127 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
128 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
129 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
130 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
131 * sysdeps/powerpc/sysdep.h: Likewise.
132 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
133 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
135 2012-02-06 Joseph Myers <joseph@codesourcery.com>
138 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
140 2012-02-06 Joseph Myers <joseph@codesourcery.com>
142 * sysdeps/i386/sysdep.h: Include <features.h>.
143 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
146 2012-02-05 Joseph Myers <joseph@codesourcery.com>
148 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
150 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
153 2012-02-03 Joseph Myers <joseph@codesourcery.com>
155 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
156 (SETUP_PIC_REG): Use GET_PC_THUNK.
157 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
160 2012-02-03 Joseph Myers <joseph@codesourcery.com>
162 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
163 for non-PIC compilation.
164 (SETUP_PIC_REG): Add .p2align directive.
165 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
166 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
167 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
168 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
169 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
170 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
171 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
172 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
173 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
174 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
175 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
176 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
177 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
178 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
179 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
180 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
181 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
182 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
183 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
184 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
185 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
186 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
187 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
188 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
189 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
190 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
191 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
192 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
193 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
194 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
195 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
196 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
197 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
198 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
199 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
200 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
201 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
202 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
203 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
204 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
205 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
207 2012-02-03 Joseph Myers <joseph@codesourcery.com>
209 * math/tst-CMPLX.c: Include <stdio.h>.
211 2012-01-31 Joseph Myers <joseph@codesourcery.com>
213 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
215 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
216 * sysdeps/sparc/bits/mathdef.h: Likewise.
218 2012-01-31 Marek Polacek <polacek@redhat.com>
220 * libio/libio.h: Don't define _PARAMS.
221 * locale/programs/config.h: Don't define PARAMS.
222 * stdlib/strtol_l.c: Likewise.
223 (__strtol_l): Remove PARAMS from the prototype.
225 2012-01-31 Ulrich Drepper <drepper@gmail.com>
227 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
228 names. Just use the correct names. Remove unnecessary wrapper
230 * malloc/arena.c: Likewise.
231 * malloc/hooks.c: Likewise.
233 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
234 ARENA_TEST says not to. Simplify test for creation of a new arena.
235 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
237 2012-01-30 Ulrich Drepper <drepper@gmail.com>
239 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
241 (update_get_addr): New function.
242 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
243 GET_ADDR_MODULE parameter.
245 2012-01-30 Joseph Myers <joseph@codesourcery.com>
247 * crypt/cert.c: Remove __STDC__ conditionals.
248 * crypt/crypt-entry.c: Likewise.
249 * crypt/crypt_util.c: Likewise.
250 * libio/filedoalloc.c: Likewise.
251 * libio/fileops.c: Likewise.
252 * libio/genops.c: Likewise.
253 * libio/iofclose.c: Likewise.
254 * libio/iofdopen.c: Likewise.
255 * libio/iofopen.c: Likewise.
256 * libio/iofopen64.c: Likewise.
257 * libio/iogetdelim.c: Likewise.
258 * libio/iopopen.c: Likewise.
259 * libio/obprintf.c: Likewise.
260 * libio/oldfileops.c: Likewise.
261 * libio/oldiofclose.c: Likewise.
262 * libio/oldiofdopen.c: Likewise.
263 * libio/oldiofopen.c: Likewise.
264 * libio/oldiopopen.c: Likewise.
265 * libio/wfiledoalloc.c: Likewise.
266 * libio/wgenops.c: Likewise.
267 * locale/programs/xmalloc.c: Likewise.
268 * misc/syslog.c: Likewise.
269 * stdio-common/xbug.c: Likewise.
270 * string/memchr.c: Likewise.
271 * string/memcmp.c: Likewise.
272 * string/memrchr.c: Likewise.
273 * string/rawmemchr.c: Likewise.
274 * sysdeps/posix/getcwd.c: Likewise.
275 * time/strftime_l.c: Likewise.
277 2012-01-30 Joseph Myers <joseph@codesourcery.com>
279 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
280 * config.make.in (config-cflags-sse2avx): Define.
281 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
284 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
286 * scripts/config.guess: Update from upstream config git repository.
287 * scripts/config.sub: Likewise.
289 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
291 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
293 (R_TILEPRO_*, R_TILEGX_*): New macros.
295 * scripts/firstversions.awk: Fix bug in version range handling.
297 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
299 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
301 * include/sys/epoll.h: New file.
302 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
305 2012-01-28 Ulrich Drepper <drepper@gmail.com>
307 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
308 Avoid unnecessary __WORDSIZE == 64 test.
309 (fmaxf): Use VEX format if possible.
314 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
315 * math/math_private.h: Remove libc_fegetround* and
317 * sysdeps/i386/configure.in: Check for -msse2avx.
318 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
319 also if SSE2AVX is defined.
320 Remove libc_fegetround* and libc_fesetround*.
321 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
322 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
323 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
325 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
326 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
327 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
328 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
329 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
331 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
333 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
335 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
337 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
339 2012-01-27 Ulrich Drepper <drepper@gmail.com>
342 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
344 * Makeconfig (libm): Define.
345 * elf/Makefile: Add rules to build and run tst-relsort1.
346 * elf/tst-relsort1.c: New file.
347 * elf/tst-relsort1mod1.c: New file.
348 * elf/tst-relsort1mod2.c: New file.
350 2012-01-27 Joseph Myers <joseph@codesourcery.com>
352 * math/s_ldexp.c: Remove __STDC__ conditionals.
353 * math/s_ldexpf.c: Likewise.
354 * math/s_ldexpl.c: Likewise.
355 * math/s_nextafter.c: Likewise.
356 * math/s_nexttowardf.c: Likewise.
357 * math/s_significand.c: Likewise.
358 * math/s_significandf.c: Likewise.
359 * math/s_significandl.c: Likewise.
360 * math/w_jnl.c: Likewise.
361 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
362 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
363 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
364 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
365 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
366 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
367 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
368 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
369 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
370 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
371 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
372 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
373 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
374 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
375 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
376 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
377 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
378 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
380 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
381 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
382 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
383 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
384 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
385 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
386 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
387 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
388 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
389 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
390 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
391 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
392 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
393 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
394 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
395 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
396 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
397 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
398 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
399 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
400 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
401 * sysdeps/ieee754/k_standard.c: Likewise.
402 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
403 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
404 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
405 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
406 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
407 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
408 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
409 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
410 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
411 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
412 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
413 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
414 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
415 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
416 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
417 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
418 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
419 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
420 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
421 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
422 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
423 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
424 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
425 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
426 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
427 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
428 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
429 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
430 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
431 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
432 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
433 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
434 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
435 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
436 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
437 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
438 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
439 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
440 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
441 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
442 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
443 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
444 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
445 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
446 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
447 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
448 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
449 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
450 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
451 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
452 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
453 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
454 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
455 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
456 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
457 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
458 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
459 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
460 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
461 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
462 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
463 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
464 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
465 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
466 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
467 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
468 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
469 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
470 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
471 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
472 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
473 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
474 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
475 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
476 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
477 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
478 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
479 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
480 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
481 * sysdeps/ieee754/s_matherr.c: Likewise.
482 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
483 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
485 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
487 2012-01-26 Joseph Myers <joseph@codesourcery.com>
489 * crypt/md5.h: Remove __STDC__ conditionals.
490 * libio/libioP.h: Likewise.
491 * locale/programs/config.h: Likewise.
492 * sysdeps/generic/sysdep.h: Likewise.
493 * sysdeps/i386/asm-syntax.h: Likewise.
494 * sysdeps/s390/asm-syntax.h: Likewise.
495 * sysdeps/unix/sysdep.h: Likewise.
496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
499 2012-01-26 Joseph Myers <joseph@codesourcery.com>
501 * libio/libio.h: Remove __STDC__ conditionals.
502 * malloc/obstack.h: Likewise.
503 * math/complex.h: Likewise.
504 * math/math.h: Likewise.
505 * sysdeps/generic/_G_config.h: Likewise.
506 * sysdeps/gnu/_G_config.h: Likewise.
507 * sysdeps/mach/hurd/_G_config.h: Likewise.
508 * sysdeps/powerpc/bits/mathdef.h: Likewise.
509 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
510 * sysdeps/sparc/bits/mathdef.h: Likewise.
512 2012-01-26 Ulrich Drepper <drepper@gmail.com>
515 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
516 Clean up HAS_* macros.
517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
518 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
520 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
522 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
523 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
524 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
525 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
526 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
528 2012-01-25 Joseph Myers <joseph@codesourcery.com>
530 * elf/tst-unique3.cc (gets): Remove declaration.
531 * elf/tst-unique3lib.cc (gets): Likewise.
532 * elf/tst-unique3lib2.cc (gets): Likewise.
533 * elf/tst-unique4.cc (gets): Likewise.
535 2012-01-24 Ulrich Drepper <drepper@gmail.com>
537 * include/stdio.h: Add C++ protection. Add gets declarations and
539 * debug/tst-chk1.c: Don't declare gets here.
540 * stdio-common/tst-gets.c: Likewise.
542 2012-01-24 Joseph Myers <joseph@codesourcery.com>
544 * posix/glob: Remove directory.
546 2012-01-24 Joseph Myers <joseph@codesourcery.com>
548 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
550 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
552 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
553 of the non-standard EPFNOSUPPORT.
555 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
557 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
558 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
559 ANYWHERE set to 1 only on KERN_NO_SPACE error.
561 2012-01-21 Ulrich Drepper <drepper@gmail.com>
563 * wcsmbs/uchar.h: Test __STDC_VERSION__.
565 2012-01-20 Ulrich Drepper <drepper@gmail.com>
567 * nscd/aicache.c (addhstaiX): Do not cache negative results of
569 * nscd/grpcache.c (cache_addgr): Likewise.
570 * nscd/hstcache.c (cache_addhst): Likewise.
571 * nscd/initgrcache.c (addinitgroupsX): Likewise.
572 * nscd/pwdcache.c (cache_addpw): Likewise.
573 * nscd/servicescache.c (cache_addserv): Likewise.
575 2012-01-16 Ulrich Drepper <drepper@gmail.com>
577 * malloc/malloc.c: Various cleanups.
578 * malloc/hooks.c: Likewise.
580 * stdlib/Makefile (tests): Add bug-fmtmsg1.
581 * stdlib/bug-fmtmsg1.c: New file.
583 * stdlib/fmtmsg.c (init): Add missing unlock.
584 Patch by Peng Haitao <penght@cn.fujitsu.com>.
586 2012-01-12 Marek Polacek <polacek@redhat.com>
588 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
591 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
593 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
594 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
595 macro to ensure uniqueness of label name.
596 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
597 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
599 2012-01-11 Ulrich Drepper <drepper@gmail.com>
601 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
603 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
604 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
605 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
606 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
608 2012-01-10 Ulrich Drepper <drepper@gmail.com>
610 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
612 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
613 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
614 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
616 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
618 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
619 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
620 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
621 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
623 * math/bits/math-finite.h: Add ldexp support.
625 2012-01-10 Marek Polacek <polacek@redhat.com>
627 * locale/programs/localedef.h (show_archive_content): Add noreturn
630 2012-01-09 Ulrich Drepper <drepper@gmail.com>
632 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
634 2012-01-08 Ulrich Drepper <drepper@gmail.com>
636 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
638 * io/Makefile (headers): Add bits/poll2.h.
640 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
643 typo #include statement.
645 2012-01-08 Ulrich Drepper <drepper@gmail.com>
647 * include/sys/cdefs.h: Define __attribute_alloc_size.
648 * catgets/gencat.c: Add alloc_size attribute and apply consistently
649 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
650 * elf/pldd.c: Likewise.
651 * iconv/iconv_charmap.c: Likewise.
652 * iconv/iconvconfig.c: Likewise.
653 * iconv/strtab.c: Likewise.
654 * locale/programs/locale.c: Likewise.
655 * locale/programs/localedef.h: Likewise.
656 * locale/programs/simple-hash.c: Likewise.
657 * nscd/nscd.h: Likewise.
658 * nss/makedb.c: Likewise.
659 * sysdeps/generic/ldconfig.h: Likewise.
660 * locale/programs/localedef.c: Remove xmalloc prototype.
661 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
663 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
665 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
668 2012-01-08 Ulrich Drepper <drepper@gmail.com>
670 * math/Makefile (tests): Add tst-CMPLX.
671 * math/tst-CMPLX.c: New file.
673 * math/complex.h (CMPLXL): Fix typo.
675 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
676 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
678 * debug/tst-chk1.c: Add poll and ppoll tests.
679 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
680 * include/sys/poll.h: Add hidden proto for ppoll.
681 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
682 * sysdeps/mach/hurd/ppoll.c: Likewise.
683 * io/ppoll.c: Likewise.
684 * debug/poll_chk.c: New file.
685 * debug/ppoll_chk.c: New file.
686 * include/bits/poll2.h: New file.
687 * io/bits/poll2.h: New file.
690 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
692 * configure.in: static is always set to yes. Remove.
693 * config.make.in: Don't set build-static.
694 * Makeconfig: Remove use of build-static.
695 * dlfcn/Makefile: Likewise.
696 * elf/Makefile: Likewise.
697 * math/Makefile: Likewise.
698 * misc/Makefile: Likewise.
699 * nptl/Makefile: Likewise.
700 * sysdeps/mach/hurd/Makefile: Likewise.
702 * configure.in: PWD_P is not used anymore.
703 * config.make.in: Remove PWD_P entry.
705 * configure.in: Remove last remnants of RANLIB.
706 No need to check for signed size_t anymore.
707 Don't set libc_commonpagesize and libc_relro_required here for Alpha
709 Remove __builtin_expect test because we require at least gcc 3.4.
710 * aclocal.m4: Likewise.
712 * wcsmbs/mbrtoc16.c: Implement using towc function.
713 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
714 * wcsmbs/wcsmbsload.c: Likewise.
715 * iconv/gconv_simple.c: Likewise.
716 * iconv/gconv_int.h: Likewise.
717 * iconv/gconv_builtin.h: Likewise.
718 * iconv/iconv_prog.c: Remove CHAR16 handling.
720 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
722 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
724 * configure.in: Remove --with-elf and --enable-bounded options.
725 Dont set base_machine for ia64. More non-ELF conditions removed.
726 Remove testing and setting of leading underscore information.
727 * config.make.in (build-bounded): Set to no.
728 * config.h.in: Remove NO_UNDERSCORES entry.
729 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
731 * csu/start.c: Remove !NO_UNDERSCORE code.
732 * locale/localeinfo.h: Likewise.
733 * sysdeps/generic/machine-gmon.h: Likewise.
734 * sysdeps/generic/sysdep.h: Likewise.
735 * sysdeps/i386/sysdep.h: Likewise.
736 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
737 * sysdeps/mach/sysdep.h: Likewise.
738 * sysdeps/s390/s390-32/sysdep.h: Likewise.
739 * sysdeps/s390/s390-64/sysdep.h: Likewise.
740 * sysdeps/sh/sysdep.h: Likewise.
741 * sysdeps/sparc/sparc32/alloca.S: Likewise.
742 * sysdeps/unix/i386/sysdep.S: Likewise.
743 * sysdeps/unix/sparc/start.c: Likewise.
744 * sysdeps/unix/sparc/sysdep.S: Likewise.
745 * sysdeps/unix/sparc/sysdep.h: Likewise.
746 * sysdeps/unix/start.c: Likewise.
747 * sysdeps/unix/x86_64/sysdep.S: Likewise.
748 * sysdeps/x86_64/sysdep.h: Likewise.
750 2012-01-07 Ulrich Drepper <drepper@gmail.com>
753 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
755 * argp/argp-fmtstream.h: Use const instead __const.
756 * argp/argp.h: Likewise.
757 * assert/assert.h: Likewise.
758 * bits/fenv.h: Likewise.
759 * bits/sched.h: Likewise.
760 * bits/sigset.h: Likewise.
761 * bits/sigthread.h: Likewise.
762 * catgets/nl_types.h: Likewise.
763 * conform/data/pthread.h-data: Likewise.
764 * crypt/crypt-private.h: Likewise.
765 * crypt/crypt.h: Likewise.
766 * crypt/crypt_util.c: Likewise.
767 * ctype/ctype.h: Likewise.
768 * debug/execinfo.h: Likewise.
769 * debug/mbsnrtowcs_chk.c: Likewise.
770 * debug/mbsrtowcs_chk.c: Likewise.
771 * debug/wcsnrtombs_chk.c: Likewise.
772 * debug/wcsrtombs_chk.c: Likewise.
773 * debug/wcstombs_chk.c: Likewise.
774 * dirent/dirent.h: Likewise.
775 * dlfcn/dlfcn.h: Likewise.
776 * elf/neededtest4.c: Likewise.
777 * grp/grp.h: Likewise.
778 * gshadow/gshadow.h: Likewise.
779 * iconv/gconv.h: Likewise.
780 * iconv/gconv_int.h: Likewise.
781 * iconv/gconv_simple.c: Likewise.
782 * iconv/iconv.h: Likewise.
783 * iconv/loop.c: Likewise.
784 * iconv/skeleton.c: Likewise.
785 * include/aio.h: Likewise.
786 * include/aliases.h: Likewise.
787 * include/argz.h: Likewise.
788 * include/arpa/inet.h: Likewise.
789 * include/assert.h: Likewise.
790 * include/dirent.h: Likewise.
791 * include/dlfcn.h: Likewise.
792 * include/execinfo.h: Likewise.
793 * include/fcntl.h: Likewise.
794 * include/fenv.h: Likewise.
795 * include/glob.h: Likewise.
796 * include/grp.h: Likewise.
797 * include/libintl.h: Likewise.
798 * include/mntent.h: Likewise.
799 * include/netdb.h: Likewise.
800 * include/pwd.h: Likewise.
801 * include/rpc/netdb.h: Likewise.
802 * include/sched.h: Likewise.
803 * include/search.h: Likewise.
804 * include/shadow.h: Likewise.
805 * include/signal.h: Likewise.
806 * include/stdio.h: Likewise.
807 * include/stdlib.h: Likewise.
808 * include/string.h: Likewise.
809 * include/sys/socket.h: Likewise.
810 * include/sys/stat.h: Likewise.
811 * include/sys/statfs.h: Likewise.
812 * include/sys/statvfs.h: Likewise.
813 * include/sys/syslog.h: Likewise.
814 * include/sys/time.h: Likewise.
815 * include/sys/uio.h: Likewise.
816 * include/time.h: Likewise.
817 * include/unistd.h: Likewise.
818 * include/utmp.h: Likewise.
819 * include/wchar.h: Likewise.
820 * include/wctype.h: Likewise.
821 * inet/aliases.h: Likewise.
822 * inet/arpa/inet.h: Likewise.
823 * inet/netinet/ether.h: Likewise.
824 * inet/netinet/in.h: Likewise.
825 * intl/libintl.h: Likewise.
826 * io/bits/fcntl2.h: Likewise.
827 * io/fcntl.h: Likewise.
828 * io/ftw.h: Likewise.
829 * io/sys/poll.h: Likewise.
830 * io/sys/stat.h: Likewise.
831 * io/sys/statfs.h: Likewise.
832 * io/sys/statvfs.h: Likewise.
833 * io/utime.h: Likewise.
834 * libio/bits/stdio.h: Likewise.
835 * libio/bits/stdio2.h: Likewise.
836 * libio/libio.h: Likewise.
837 * libio/libioP.h: Likewise.
838 * libio/stdio.h: Likewise.
839 * locale/lc-ctype.c: Likewise.
840 * locale/locale.h: Likewise.
841 * login/utmp.h: Likewise.
842 * malloc/arena.c: Likewise.
843 * malloc/malloc.c: Likewise.
844 * malloc/malloc.h: Likewise.
845 * malloc/mcheck.c: Likewise.
846 * malloc/mtrace.c: Likewise.
847 * math/bits/mathcalls.h: Likewise.
848 * math/fenv.h: Likewise.
849 * math/math_private.h: Likewise.
850 * misc/bits/error.h: Likewise.
851 * misc/bits/syslog.h: Likewise.
852 * misc/err.h: Likewise.
853 * misc/error.h: Likewise.
854 * misc/fstab.h: Likewise.
855 * misc/mntent.h: Likewise.
856 * misc/regexp.h: Likewise.
857 * misc/search.h: Likewise.
858 * misc/sgtty.h: Likewise.
859 * misc/sys/mman.h: Likewise.
860 * misc/sys/syslog.h: Likewise.
861 * misc/sys/uio.h: Likewise.
862 * misc/sys/xattr.h: Likewise.
863 * misc/ttyent.h: Likewise.
864 * nis/rpcsvc/ypclnt.h: Likewise.
865 * nss/nss.h: Likewise.
866 * posix/bits/unistd.h: Likewise.
867 * posix/fnmatch.h: Likewise.
868 * posix/glob.h: Likewise.
869 * posix/sched.h: Likewise.
870 * posix/spawn.h: Likewise.
871 * posix/sys/wait.h: Likewise.
872 * posix/unistd.h: Likewise.
873 * posix/wordexp.h: Likewise.
874 * pwd/pwd.h: Likewise.
875 * resolv/netdb.h: Likewise.
876 * resource/sys/resource.h: Likewise.
877 * rt/aio.h: Likewise.
878 * rt/bits/mqueue2.h: Likewise.
879 * rt/mqueue.h: Likewise.
880 * shadow/shadow.h: Likewise.
881 * signal/signal.h: Likewise.
882 * socket/send.c: Likewise.
883 * socket/sendto.c: Likewise.
884 * socket/sys/socket.h: Likewise.
885 * stdio-common/printf.h: Likewise.
886 * stdlib/bits/stdlib.h: Likewise.
887 * stdlib/fmtmsg.h: Likewise.
888 * stdlib/monetary.h: Likewise.
889 * stdlib/stdlib.h: Likewise.
890 * stdlib/ucontext.h: Likewise.
891 * streams/stropts.h: Likewise.
892 * string/argz.h: Likewise.
893 * string/bits/string2.h: Likewise.
894 * string/string.h: Likewise.
895 * string/strings.h: Likewise.
896 * sunrpc/rpc/auth.h: Likewise.
897 * sunrpc/rpc/auth_des.h: Likewise.
898 * sunrpc/rpc/clnt.h: Likewise.
899 * sunrpc/rpc/netdb.h: Likewise.
900 * sunrpc/rpc/pmap_clnt.h: Likewise.
901 * sunrpc/rpc/xdr.h: Likewise.
902 * sysdeps/generic/inttypes.h: Likewise.
903 * sysdeps/generic/net/if.h: Likewise.
904 * sysdeps/generic/sys/swap.h: Likewise.
905 * sysdeps/gnu/net/if.h: Likewise.
906 * sysdeps/gnu/utmpx.h: Likewise.
907 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
908 * sysdeps/i386/i486/bits/string.h: Likewise.
909 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
910 * sysdeps/s390/bits/string.h: Likewise.
911 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
912 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
913 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
914 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
915 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
916 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
917 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
918 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
919 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
920 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
921 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
922 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
923 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
924 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
925 * sysdeps/unix/sysv/linux/readv.c: Likewise.
926 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
927 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
928 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
929 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
930 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
931 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
932 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
933 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
934 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
935 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
936 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
937 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
938 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
939 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
940 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
941 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
942 * sysvipc/sys/ipc.h: Likewise.
943 * sysvipc/sys/msg.h: Likewise.
944 * sysvipc/sys/sem.h: Likewise.
945 * sysvipc/sys/shm.h: Likewise.
946 * termios/termios.h: Likewise.
947 * time/sys/time.h: Likewise.
948 * time/time.h: Likewise.
949 * wcsmbs/bits/wchar2.h: Likewise.
950 * wcsmbs/uchar.h: Likewise.
951 * wcsmbs/wchar.h: Likewise.
952 * wctype/wctype.h: Likewise.
955 * Makeconfig: Remove all but ELF support including AIX support.
956 * Makerules: Likewise.
957 * config.h.in: Likewise.
958 * config.make.in: Likewise.
959 * configure: Likewise.
960 * configure.in: Likewise.
961 * csu/Makefile: Likewise.
962 * csu/version.c: Likewise.
963 * debug/Makefile: Likewise.
964 * dlfcn/Makefile: Likewise.
965 * elf/Makefile: Likewise.
966 * extra-lib.mk: Likewise.
967 * iconv/Makefile: Likewise.
968 * include/libc-symbols.h: Likewise.
969 * include/shlib-compat.h: Likewise.
970 * resolv/Makefile: Likewise.
971 * resolv/res_libc.c: Likewise.
972 * rt/Makefile: Likewise.
973 * sysdeps/i386/asm-syntax.h: Likewise.
974 * sysdeps/i386/sysdep.h: Likewise.
975 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
976 * sysdeps/mach/sysdep.h: Likewise.
977 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
978 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
979 * sysdeps/s390/asm-syntax.h: Likewise.
980 * sysdeps/s390/s390-32/sysdep.h: Likewise.
981 * sysdeps/s390/s390-64/sysdep.h: Likewise.
982 * sysdeps/sh/sysdep.h: Likewise.
983 * sysdeps/unix/sparc/sysdep.h: Likewise.
984 * sysdeps/wordsize-32/divdi3.c: Likewise.
985 * sysdeps/x86_64/sysdep.h: Likewise.
987 * argp/Versions: Remove _argp_unlock_xxx.
990 * abilist/ld.abilist: Update. Adjust for removal of tls option.
991 * abilist/libBrokenLocale.abilist: Likewise.
992 * abilist/libanl.abilist: Likewise.
993 * abilist/libc.abilist: Likewise.
994 * abilist/libcrypt.abilist: Likewise.
995 * abilist/libdl.abilist: Likewise.
996 * abilist/libm.abilist: Likewise.
997 * abilist/libnsl.abilist: Likewise.
998 * abilist/libpthread.abilist: Likewise.
999 * abilist/libresolv.abilist: Likewise.
1000 * abilist/librt.abilist: Likewise.
1001 * abilist/libthread_db.abilist: Likewise.
1002 * abilist/libutil.abilist: Likewise.
1003 * abilist/libnss_db.abilist: New file.
1005 * scripts/abilist.awk: Add support for indirect functions.
1007 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
1009 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
1011 * shlib-versions: Remove entries for ports architectures.
1013 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
1015 * elf/stackguard-macros.h: Remove support for IA-64.
1016 * elf/tst-auditmod1.c: Likewise.
1017 * sysdeps/generic/ldsodefs.h: Likewise.
1019 * sysdeps/unix/sysv/linux/configure.in: Ports should define
1020 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
1024 * configure.in: Remove --enable-omitfp support.
1026 * config.make.in: Likewise.
1027 * Makeconfig: Likewise.
1028 * manual/install.texi: Likewise.
1030 In case anyone cares, the IA-64 architecture could move to ports.
1031 * sysdeps/ia64/*: Removed.
1032 * sysdeps/unix/sysv/linux/ia64/*: Removed.
1033 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
1036 * configure.in: Remove entries for unsupported architectures.
1039 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
1040 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
1042 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
1043 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
1044 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
1045 fall back to using wcrtomb.
1046 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
1047 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
1049 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
1050 * wcsmbs/tst-c16c32-1.c: New file.
1052 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
1055 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
1057 * elf/tst-unique3.cc: Add explicit declaration of gets.
1058 * elf/tst-unique3lib.cc: Likewise.
1059 * elf/tst-unique3lib2.cc: Likewise.
1060 * elf/tst-unique4.cc: Likewise.
1062 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
1064 2012-01-06 Joseph Myers <joseph@codesourcery.com>
1067 * assert/assert.h (static_assert): Don't define for C++.
1068 * libio/stdio.h (gets): Do declare for C++ <= C++11.
1069 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
1071 2012-01-03 Ulrich Drepper <drepper@gmail.com>
1073 * iconv/loop.c (single loop): Fix assertion in storing of
1076 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
1078 2012-01-01 Ulrich Drepper <drepper@gmail.com>
1080 * posix/getconf.c: Update copyright year.
1081 * nss/getent.c: Likewise.
1082 * nss/makedb.c: Likewise.
1083 * iconv/iconvconfig.c: Likewise.
1084 * iconv/iconv_prog.c: Likewise.
1085 * elf/ldconfig.c: Likewise.
1086 * elf/pldd.c: Likewise.
1087 * elf/sotruss.ksh: Likewise.
1088 * catgets/gencat.c: Likewise.
1089 * csu/version.c: Likewise.
1090 * elf/ldd.bash.in: Likewise.
1091 * elf/sprof.c (print_version): Likewise.
1092 * locale/programs/locale.c: Likewise.
1093 * locale/programs/localedef.c: Likewise.
1094 * login/programs/pt_chown.c: Likewise.
1095 * nscd/nscd.c (print_version): Likewise.
1096 * debug/xtrace.sh: Likewise.
1097 * malloc/memusage.sh: Likewise.
1098 * malloc/mtrace.pl: Likewise.
1099 * debug/catchsegv.sh: Likewise.
1101 2011-12-30 Jakub Jelinek <jakub@redhat.com>
1103 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
1106 2011-12-24 Ulrich Drepper <drepper@gmail.com>
1109 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
1110 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
1112 * iconv/gconv_int.h: Likewise.
1113 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
1114 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
1115 from libc for GLIBC_2.16.
1116 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
1117 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
1118 * wcsmbs/uchar.h: Really define mbstate_t.
1119 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
1120 * wcsmbs/c16rtomb.c: New file.
1121 * wcsmbs/mbrtoc16.c: New file.
1122 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
1124 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
1125 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
1127 * wcsmbs/wchar.h: Add missing __restrict.
1129 2011-12-23 Ulrich Drepper <drepper@gmail.com>
1132 * time/Makefile (routines): Add timespec_get.
1133 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
1134 * time/time.h: Define TIME_UTC and declare timespec_get. Define
1135 timespec for ISO C11.
1136 * time/timespec_get.c: New file.
1137 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
1138 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
1141 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
1142 * stdlib/stdlib.h: Declare aligned_alloc.
1143 * Versions.def: Add GLIBC_2.16 for libc.
1144 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
1147 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
1150 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
1154 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
1157 * assert/assert.h (static_assert): Define.
1159 * version.h: Update for 2.16 development version.
1162 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
1165 * version.h (RELEASE): Bump for 2.15 release.
1166 * include/features.h (__GLIBC_MINOR__): Bump to 15.
1168 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
1169 Patch by Marek Polacek <mpolacek@redhat.com>.
1171 * bits/byteswap.h: Protect long long constants with __extension__.
1172 * sysdeps/i386/bits/byteswap.h: Likewise.
1173 * sysdeps/ia64/bits/byteswap.h: Likewise.
1174 * sysdeps/s390/bits/byteswap.h: Likewise.
1175 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1177 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1180 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
1182 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1184 2011-12-23 Marek Polacek <polacek@redhat.com>
1186 * elf/dl-addr.c (determine_info): Add inline keyword.
1187 * elf/tst-auditmod4b.c (check_avx): Likewise.
1188 * elf/tst-auditmod6b.c (check_avx): Likewise.
1189 * elf/tst-auditmod6c.c (check_avx): Likewise.
1190 * elf/tst-auditmod7b.c (check_avx): Likewise.
1192 2011-12-23 Ulrich Drepper <drepper@gmail.com>
1194 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
1197 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1200 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
1201 processing for last bytes.
1203 2011-08-06 Bruno Haible <bruno@clisp.org>
1206 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
1207 U+0385, not to U+1FEE.
1210 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
1211 entry for U+00A5 U+0301.
1213 2011-12-22 Ulrich Drepper <drepper@gmail.com>
1216 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
1217 buffer for the output is too small.
1219 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
1223 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
1224 SSE flags if possible.
1226 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
1230 processing for last bytes.
1232 2011-12-22 Joseph Myers <joseph@codesourcery.com>
1234 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
1235 (syscall-list-default-options, syscall-list-default-condition)
1236 (syscall-list-includes): Define.
1237 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
1238 list of ABIs and options and #if conditions for each ABI. Do not
1239 handle common syscalls between ABIs specially.
1240 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
1242 (syscall-list-variants, syscall-list-32bit-options)
1243 (syscall-list-32bit-condition, syscall-list-64bit-options)
1244 (syscall-list-64bit-condition): Define.
1245 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
1246 (syscall-list-variants, syscall-list-32bit-options)
1247 (syscall-list-32bit-condition, syscall-list-64bit-options)
1248 (syscall-list-64bit-condition): Define.
1249 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
1251 (syscall-list-variants, syscall-list-32bit-options)
1252 (syscall-list-32bit-condition, syscall-list-64bit-options)
1253 (syscall-list-64bit-condition): Define.
1254 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
1256 (syscall-list-variants, syscall-list-32bit-options)
1257 (syscall-list-32bit-condition, syscall-list-64bit-options)
1258 (syscall-list-64bit-condition): Define.
1260 2011-12-22 Ulrich Drepper <drepper@gmail.com>
1262 * locale/iso-639.def: Add brx entry.
1265 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
1266 Proposed by Mariusz_Cukr <marcukr@op.pl>.
1268 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
1269 __feraiseexcept_renamed.
1271 2011-12-21 Ulrich Drepper <drepper@gmail.com>
1274 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
1275 EPOLLET with unsigned values.
1276 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
1277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
1279 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
1280 to large cancellation.
1281 * math/s_cacoshf.c: Likewise.
1282 * math/s_cacoshl.c: Likewise.
1284 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
1288 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
1289 * math/s_cacoshf.c: Likewise.
1290 * math/s_cacoshl.c: Likewise.
1292 2011-12-21 Ulrich Drepper <drepper@gmail.com>
1295 * iconv/gconv.h: Define __GCONV_SWAP.
1296 * iconvdata/unicode.c: The swap bit must be stored in __flags.
1297 * iconvdata/utf-16.c: Likewise.
1298 * iconvdata/utf-32.c: Likewise.
1300 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
1303 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
1304 numerator after shifting it by one limb.
1306 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
1308 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
1309 under [__USE_EXTERN_INLINES].
1311 2011-12-17 Ulrich Drepper <drepper@gmail.com>
1314 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
1316 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1318 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
1319 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
1321 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
1322 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
1323 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
1324 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
1325 for strncasecmp/strncasecmp_l compilation.
1326 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
1327 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
1329 2011-12-08 Marek Polacek <mpolacek@redhat.com>
1332 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
1335 2011-12-17 Ulrich Drepper <drepper@gmail.com>
1338 * time/tzfile.c (__tzfile_read): Check values from file header.
1340 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
1342 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
1343 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
1344 * powerpc/powerpc32/dl-start.S: Likewise.
1345 * powerpc/powerpc32/elf/start.S: Likewise.
1346 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1347 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
1348 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1349 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
1350 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1351 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
1352 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
1353 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
1354 * powerpc/powerpc32/fpu/s_round.S: Likewise.
1355 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1356 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1357 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1358 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1359 * powerpc/powerpc32/memset.S: Likewise.
1360 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1361 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1362 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1363 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1364 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1365 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1366 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1367 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1368 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
1369 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
1370 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
1371 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
1372 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
1374 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1376 * math/libm-test.inc: Added more nearbyint tests.
1377 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
1378 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
1379 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
1380 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
1382 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
1384 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
1387 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1389 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
1390 Add wcscpy-ssse3 wcscpy-c.
1391 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
1392 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
1393 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
1394 * sysdeps/x86_64/wcschr.S: New file.
1395 * sysdeps/x86_64/wcsrchr.S: New file.
1396 * string/test-strcmp.c: Remove checking of wcscmp function for
1398 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
1399 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
1400 wcsrchr-sse2 wcsrchr-c.
1401 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
1402 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
1403 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
1404 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
1405 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
1406 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
1407 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
1408 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
1409 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
1410 * wcsmbc/wcschr.c (WCSCHR): New macro.
1412 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1414 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
1415 * wcsmbs/test-wcsrchr.c: New file.
1416 * string/test-strrchr.c: Add wcsrchr support.
1418 * wcsmbs/test-wcscpy.c: New file.
1419 * string/test-strcpy.c: Add wcscpy support.
1422 2011-12-10 Ulrich Drepper <drepper@gmail.com>
1424 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
1427 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
1430 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
1432 2011-12-04 Ulrich Drepper <drepper@gmail.com>
1434 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
1435 Minor optimizations.
1437 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
1438 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
1439 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
1441 2011-12-03 Ulrich Drepper <drepper@gmail.com>
1443 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
1444 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
1445 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
1446 for gcc to avoid warnings.
1447 * inet/Makefile (tests): Add tst-checks.
1448 * inet/tst-checks.c: New file.
1450 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
1453 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
1456 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
1457 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
1459 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
1461 2011-12-02 Ulrich Drepper <drepper@gmail.com>
1463 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
1466 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
1468 2011-11-29 Joseph Myers <joseph@codesourcery.com>
1470 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
1471 conditional on GCC version.
1472 (__arch_compare_and_exchange_val_8_acq)
1473 (__arch_compare_and_exchange_val_16_acq)
1474 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
1475 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
1476 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
1478 2011-12-02 Joseph Myers <joseph@codesourcery.com>
1480 * sysdeps/sh/backtrace.c: New file.
1482 2011-12-02 Andreas Schwab <schwab@redhat.com>
1484 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
1487 2011-12-01 Andreas Schwab <schwab@redhat.com>
1489 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
1490 falling back to utime.
1492 2011-11-30 Andreas Schwab <schwab@redhat.com>
1494 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
1495 expectations for float.
1497 2011-11-29 Andreas Schwab <schwab@redhat.com>
1499 * locale/weight.h (findidx): Add parameter len.
1500 * locale/weightwc.h (findidx): Likewise.
1501 * posix/fnmatch_loop.c (FCT): Adjust caller.
1502 * posix/regcomp.c (build_equiv_class): Likewise.
1503 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
1504 * posix/regexec.c (check_node_accept_bytes): Likewise.
1505 * string/strcoll_l.c (STRCOLL): Likewise.
1506 * string/strxfrm_l.c (STRXFRM): Likewise.
1508 2011-11-17 Ulrich Drepper <drepper@gmail.com>
1510 * Makefile.in: Remove CVSOPT handling.
1511 * configure.in: Remove use of AC_REVISION.
1512 * iconvdata/Makefile (distribute): No need to filter out CVS.
1513 * scripts/list-sources.sh: Remove CVS, subversion and monotone
1516 2011-11-16 Andreas Schwab <schwab@redhat.com>
1518 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
1519 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
1520 [USE_AS_STRNCASECMP_L]: Likewise.
1521 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
1522 NO_TLS_DIRECT_SEG_REFS.
1523 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
1524 Fix argument offsets for non-PIC.
1525 [USE_AS_STRNCASECMP_L]: Likewise.
1526 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
1527 NO_TLS_DIRECT_SEG_REFS.
1529 2011-11-15 Ulrich Drepper <drepper@gmail.com>
1531 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
1533 * locale/loadlocale.c (_nl_load_locale): Likewise.
1535 2011-11-15 Andreas Schwab <schwab@redhat.com>
1537 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
1538 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
1539 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
1540 (SYSCALL_GETTIME): Set errno on error.
1542 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
1543 count references to noai6ai_cached.
1545 2011-11-15 Ulrich Drepper <drepper@gmail.com>
1547 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
1549 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
1550 FD_CLOEXEC for /proc/self/maps.
1552 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
1553 FD_CLOEXEC for /proc/meminfo.
1555 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
1558 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
1559 FD_CLOEXEC for given file.
1561 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
1563 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
1564 FD_CLOEXEC for /etc/hosts.
1565 (_gethtent): Likewise.
1567 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
1569 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
1570 cancellation and set FD_CLOEXEC for /etc/netgroup.
1572 * nss/nss_files/files-key.c (search): Don't allow cancellation when
1573 reading /etc/publickey.
1575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
1576 allow cancellation when reading /etc/group.
1578 * nss/nss_files/files-alias.c (internal_setent): Don't allow
1580 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
1582 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
1583 when using data file.
1585 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
1587 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
1588 (write_nis_obj): Use "c" and "e" in fopen.
1590 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
1592 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
1594 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
1596 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
1598 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
1601 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
1603 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
1605 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
1607 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
1608 file parsing and set FD_CLOEXEC.
1610 2011-11-14 Ulrich Drepper <drepper@gmail.com>
1612 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
1614 2011-11-14 Andreas Schwab <schwab@redhat.com>
1616 * malloc/arena.c (arena_get2): Don't call reused_arena when
1617 _int_new_arena failed.
1619 2011-11-14 Ulrich Drepper <drepper@gmail.com>
1621 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
1622 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
1623 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
1624 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1625 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1626 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
1627 to compile strcasecmp and strncasecmp.
1628 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
1629 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
1631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
1633 2011-11-13 Ulrich Drepper <drepper@gmail.com>
1635 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
1636 locale-defines.sym to gen-as-const-headers.
1637 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
1638 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
1639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
1640 to compile strcasecmp and strncasecmp.
1641 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
1642 strcasecmp_l and strncasecmp_l.
1643 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
1644 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
1645 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
1646 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
1647 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
1648 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
1649 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
1650 * sysdeps/i386/i686/multiarch/strncase.S: New file.
1651 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
1652 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
1653 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
1655 2011-11-12 Ulrich Drepper <drepper@gmail.com>
1657 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
1658 result of SYSDEP_GETTIME_CPU to retval.
1659 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
1660 parameter list to macro. Remove trailing semicolon. Adjust users.
1662 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
1665 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
1667 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
1669 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
1670 from unused variable.
1672 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
1674 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
1677 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
1680 * sunrpc/rpc_prot.c (rejected): Fix case value.
1682 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
1683 unsigned long long int to avoid warnings in shift.
1685 * posix/regex_internal.c (re_string_reconstruct): Actually use result
1687 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
1690 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
1691 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1692 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1694 * nis/nis_table.c (nis_list): Use variable of correct type for
1695 result of __follow_path call.
1697 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1699 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
1700 of math functions ceil, trunc, floor, round, and sqrt, when
1701 avaliable on the platform.
1702 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
1704 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
1705 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
1706 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
1708 2011-10-30 Marek Polacek <mpolacek@redhat.com>
1710 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
1711 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1713 2011-11-11 Roland McGrath <roland@hack.frob.com>
1715 * include/unistd.h: Fix __readlink return type.
1716 Reported by Chris Metcalf <cmetcalf@tilera.com>.
1718 2011-11-11 Ulrich Drepper <drepper@gmail.com>
1720 * stdlib/ucontext.h: Undo last change for makecontext.
1722 2011-11-11 Andreas Schwab <schwab@redhat.com>
1724 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
1726 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
1727 * setjmp/setjmp.h: Mark functions as non-leaf.
1728 * setjmp/bits/setjmp2.h: Likewise.
1729 * stdlib/ucontext.h: Likewise.
1731 2011-11-10 Andreas Schwab <schwab@redhat.com>
1733 * malloc/arena.c (_int_new_arena): Don't increment narenas.
1734 (reused_arena): Don't check arena limit.
1735 (arena_get2): Atomically check arena limit.
1737 2011-11-08 Ulrich Drepper <drepper@gmail.com>
1739 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
1740 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
1742 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
1745 2011-11-07 Andreas Schwab <schwab@redhat.com>
1747 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
1748 handler when locking.
1750 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
1751 Fix size of allocated buffer.
1753 2011-11-04 Andreas Schwab <schwab@redhat.com>
1756 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
1757 declarations for long double functions.
1758 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
1760 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
1762 2011-11-03 Andreas Schwab <schwab@redhat.com>
1764 * nscd/nscd.c (main): Don't start AVC thread until credentials are
1767 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
1770 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
1772 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
1774 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
1776 * include/alloca.h (stackinfo_alloca_round): Define.
1777 (extend_alloca): Use it.
1778 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
1779 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
1782 * scripts/check-local-headers.sh: Ignore libaudit.h.
1784 * nscd/Makefile (extra-objs): Make recursively expanded.
1786 2011-11-01 Ulrich Drepper <drepper@gmail.com>
1788 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
1789 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1791 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
1792 * posix/tst-rfc3484-2.c: Likewise.
1793 * posix/tst-rfc3484-3.c: Likewise.
1795 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1797 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
1799 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
1800 process_vm_writev from libc using GLIBC_2.15 version.
1802 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
1804 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
1806 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
1809 2011-10-31 Ulrich Drepper <drepper@gmail.com>
1812 * nss/getent.c (initgroups_keys): Show error message in case no group
1815 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
1816 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
1817 __bump_nl_timestamp.
1818 * nscd/connections (nscd_init): When host database is served open
1819 netlink socket and request notification about configuration changes.
1820 (main_loop_poll): Track netlink file descriptor and bump timestamp
1821 in case data becomes available.
1822 (main_loop_epoll): Likewise.
1823 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
1824 (database_pers_head): Add extra_data fileds.
1825 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
1826 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
1827 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
1829 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
1830 in6ai data, call __free_in6ai.
1831 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
1833 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
1834 interface information. Reuse previous data if netlink timestamp
1836 (__bump_nl_timestamp): New function.
1837 (__free_in6ai): New function.
1839 2011-10-30 Ulrich Drepper <drepper@gmail.com>
1841 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
1842 close_not_cancel_no_status here.
1843 (__check_pf): Reorganize code a bit to not call close twice if OOM.
1845 2011-10-29 Ulrich Drepper <drepper@gmail.com>
1848 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
1851 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
1852 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
1853 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
1855 2011-07-03 Andreas Jaeger <aj@suse.de>
1858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
1859 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
1860 * math/libm-test.inc (sin_test): Add test case.
1862 2011-10-29 Ulrich Drepper <drepper@gmail.com>
1865 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
1866 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1868 * elf/chroot_canon.c (chroot_canon): Cleanups.
1870 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
1873 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
1874 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
1876 * string/test-strchr.c: Make usable for strchrnul testing.
1877 * string/test-strchrnul.c: New file.
1878 * string/Makefile (strop-tests): Add strchrnul.
1880 * po/it.po: Update from translation team.
1881 * po/es.po: Likewise.
1883 2011-10-28 Ulrich Drepper <drepper@gmail.com>
1885 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
1886 the three constants needed as parameters. Drop the others.
1887 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
1888 __m128i_strloadu_tolower.
1889 Create and initialize variable zero and use it in all the places
1890 where _mm_setzero_si128 was used.
1892 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
1893 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
1894 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
1895 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
1897 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
1898 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
1899 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
1900 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
1901 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
1902 __mpranred, __mptan.
1903 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
1904 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
1905 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
1906 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
1907 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
1908 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
1909 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
1910 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
1911 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
1913 2011-10-28 Andreas Schwab <schwab@redhat.com>
1915 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
1917 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
1919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
1920 wide char related routines to wcsmbs subdir.
1922 2011-10-27 Andreas Schwab <schwab@redhat.com>
1925 * misc/sys/cdefs.h (__THROWNL): Define.
1926 * posix/unistd.h: Use __THREADNL instead of __THREAD
1927 for memory synchronization functions.
1929 2011-10-26 Roland McGrath <roland@hack.frob.com>
1932 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
1934 * manual/stdio.texi (Obstack Streams): Node removed.
1936 2011-10-26 Andreas Schwab <schwab@redhat.com>
1938 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
1939 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1940 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1942 * math/math_private.h (math_force_eval): Allow non-addressable
1944 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
1946 2011-10-25 Ulrich Drepper <drepper@gmail.com>
1948 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
1951 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
1952 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1953 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1954 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1955 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1956 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1957 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1958 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
1960 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
1961 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
1962 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
1963 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
1964 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
1965 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
1966 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
1967 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
1968 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
1969 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
1970 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
1971 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
1972 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
1973 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
1974 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
1975 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
1976 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
1977 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
1978 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
1980 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
1981 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
1983 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
1984 place. Use VEX encoding when compiling for AVX.
1986 2011-10-25 Andreas Schwab <schwab@redhat.com>
1988 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
1989 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1991 * string/test-strchr.c (do_test): Don't generate NUL bytes.
1993 2011-10-25 Ulrich Drepper <drepper@gmail.com>
1995 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
1996 useless if() expression.
1997 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1998 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1999 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2000 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2001 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2002 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2003 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2004 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2005 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2006 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2007 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2008 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2009 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2010 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2011 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2012 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2013 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2014 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2015 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2017 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
2019 2011-10-25 Andreas Schwab <schwab@redhat.com>
2021 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
2023 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2025 2011-10-25 Ulrich Drepper <drepper@gmail.com>
2027 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
2028 .text section. Avoid duplicate constants.
2029 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2030 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2031 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2032 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2033 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2036 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2037 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2038 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
2039 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2040 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
2041 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
2042 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
2043 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
2044 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
2045 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
2046 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2047 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2048 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2049 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2050 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2051 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2052 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
2053 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
2054 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
2055 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
2056 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
2057 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
2058 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
2059 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
2060 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
2061 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2062 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
2063 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
2064 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
2065 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
2066 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
2067 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
2068 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
2069 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
2070 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
2071 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
2072 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
2073 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
2075 2011-10-24 Ulrich Drepper <drepper@gmail.com>
2077 * sysdeps/x86_64/dla.h: Move to ...
2078 * sysdeps/x86_64/fpu/dla.h: ...here.
2079 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
2080 situations. Use __builtin_fma only for gcc 4.6 and up.
2082 * config.make.in: Add have-mfma4 entry.
2083 * configure.in: Substitute libc_cv_cc_fma4.
2084 * math/Makefile (dbl-only-routines): Add sincostab.
2085 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
2086 Use __sincostab not sincos.
2087 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
2089 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2091 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
2094 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
2095 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
2096 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
2097 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
2099 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
2100 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
2102 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
2103 define aliases when function name is a macro.
2104 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
2105 sysdeps/ieee754/dbl-64/sincos.tbl.
2106 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
2107 fma4-enabled routines.
2108 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
2109 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
2110 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
2111 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
2112 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
2113 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
2114 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
2115 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
2116 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
2117 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
2118 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
2119 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
2120 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
2121 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
2122 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
2123 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
2124 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
2125 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
2126 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
2127 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
2128 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
2129 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
2130 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
2131 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
2132 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
2133 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
2134 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
2135 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
2136 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
2137 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
2139 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
2141 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2142 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2144 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2145 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2146 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2147 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2148 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2150 2011-10-24 Andreas Schwab <schwab@redhat.com>
2152 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
2154 2011-10-23 Ulrich Drepper <drepper@gmail.com>
2156 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
2158 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
2160 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
2162 * string/strnlen.c: Don't define STRNLEN, reverse logic.
2163 Remove unused variable magic_bits.
2164 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
2166 * string/strnlen.c: Define and use STRNLEN macro.
2167 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
2168 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
2169 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
2170 * wcsmbs/wcslen.c: Define and use WCSLEN.
2171 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
2172 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
2173 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
2174 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
2175 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
2176 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
2177 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
2179 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2181 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2182 strnlen-sse2-no-bsf.
2183 Rename strlen-no-bsf to strlen-sse2-no-bsf.
2184 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
2185 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
2186 Add strnlen support.
2187 (USE_AS_STRNLEN): New macro.
2188 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
2189 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
2190 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
2191 * sysdeps/x86_64/wcslen.S: New file.
2193 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
2195 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2196 XMM-moves are used for copying on small sizes.
2198 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2200 * wcsmbs/Makefile (strop-tests): Add wcschr.
2201 * wcsmbs/test-wcschr.c: New file.
2202 * string/test-strchr.c: Update.
2206 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2208 * wcsmbs/Makefile (strop-tests): Add wcslen.
2209 * wcsmbs/test-wcslen.c: New file.
2210 * string/test-strlen.c: Update.
2214 2011-10-23 Ulrich Drepper <drepper@gmail.com>
2216 * po/it.po: Update from translation team.
2218 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2220 * sysdeps/x86_64/wcscmp.S: Update.
2221 Fix wrong comparison semantics.
2222 wcscmp shall use signed comparison not unsigned.
2223 Don't use substraction to avoid overflow bug.
2224 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2225 * wcsmbc/wcscmp.c: Likewise.
2226 * string/test-strcmp.c: Likewise.
2227 Add new tests to check cases with negative values.
2229 2011-10-23 Ulrich Drepper <drepper@gmail.com>
2231 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
2232 * sysdeps/x86_64/dla.h: ...here. New file.
2233 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
2234 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2235 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2237 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2240 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2241 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2243 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
2245 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
2246 __ynl_finite aliases.
2248 2011-10-22 Ulrich Drepper <drepper@gmail.com>
2250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2252 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
2254 [DLA_FMA] (EMULV): Use DLA_FMA.
2255 [DLA_FMA] (MUL12): Use EMULV.
2256 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
2257 that are not needed.
2258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2260 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2261 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2262 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2263 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2264 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2266 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
2268 * math/s_nan.c: Undef __nan.
2269 * math/s_nanf.c: Undef __nanf.
2270 * math/s_nanl.c: Undef __nanl.
2271 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
2274 2011-10-22 Ulrich Drepper <drepper@gmail.com>
2276 * math/s_catan.c: Add branch predictions.
2277 * math/s_catanf.c: Likewise.
2278 * math/s_catanh.c: Likewise.
2279 * math/s_catanhf.c: Likewise.
2280 * math/s_catanhl.c: Likewise.
2281 * math/s_catanl.c: Likewise.
2282 * math/s_cexp.c: Likewise.
2283 * math/s_cexpf.c: Likewise.
2284 * math/s_cexpl.c: Likewise.
2285 * math/s_clog.c: Likewise.
2286 * math/s_clog10.c: Likewise.
2287 * math/s_clog10f.c: Likewise.
2288 * math/s_clog10l.c: Likewise.
2289 * math/s_clogf.c: Likewise.
2290 * math/s_clogl.c: Likewise.
2291 * math/s_csqrt.c: Likewise.
2292 * math/s_csqrtf.c: Likewise.
2293 * math/s_csqrtl.c: Likewise.
2294 * math/s_ctanf.c: Likewise.
2295 * math/s_ctanh.c: Likewise.
2296 * math/s_ctanhf.c: Likewise.
2297 * math/s_ctanhl.c: Likewise.
2298 * math/s_ctanl.c: Likewise.
2300 * math/math_private.h: Define __nan, __nanf, __nanl.
2301 * math/s_cacosh.c: Include <math_private.h>.
2302 * math/s_cacoshl.c: Likewise.
2303 * math/s_casinh.c: Likewise.
2304 * math/s_casinhf.c: Likewise.
2305 * math/s_casinhl.c: Likewise.
2306 * math/s_ccos.c: Rely entire on ccosh.
2307 * math/s_ccosf.c: Rely entire on ccoshf.
2308 * math/s_ccosl.c: Rely entirely on ccoshl.
2309 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
2310 Remove tests for FE_INVALID.
2311 * math/s_ccoshf.c: Likewise.
2312 * math/s_ccoshl.c: Likewise.
2313 * math/s_csin.c: Likewise.
2314 * math/s_csinf.c: Likewise.
2315 * math/s_csinh.c Likewise.
2316 * math/s_csinhf.c: Likewise.
2317 * math/s_csinhl.c: Likewise.
2318 * math/s_csinl.c: Likewise.
2319 * math/s_ctan.c: Likewise.
2320 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
2321 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
2322 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
2324 2011-10-21 Ulrich Drepper <drepper@gmail.com>
2326 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
2327 compilation problems.
2329 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
2332 2011-10-20 Ulrich Drepper <drepper@gmail.com>
2334 * sysdeps/i386/configure.in: Test for -mfma4 option.
2335 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
2336 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
2337 COMMON_CPUID_INDEX_80000001.
2338 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
2339 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
2340 use it if FMA3 is not supported.
2341 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2343 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
2344 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
2346 2011-10-20 Andreas Schwab <schwab@redhat.com>
2349 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
2350 it would create a cycle with a link time dependency.
2352 2011-10-19 Ulrich Drepper <drepper@gmail.com>
2354 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
2356 * string/Makefile (strop-tests): Add rawmemchr.
2357 * string/test-rawmemchr.c: New file.
2359 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
2360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
2361 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
2362 when compiling str{,n}casecmp and when AVX is available. Hook up
2363 new optimized code in initializers.
2365 2011-10-19 Andreas Schwab <schwab@redhat.com>
2367 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
2368 __feraiseexcept instead of feraiseexcept.
2370 2011-10-18 Ulrich Drepper <drepper@gmail.com>
2372 * math/math_private.h: Define defaults for libc_fetestexcept and
2374 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
2375 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
2376 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2377 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2378 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2379 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
2380 libc_fetestexcept and libc_feupdateenv.
2382 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
2383 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
2384 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
2385 * sysdeps/x86_64/fpu/math_private.h: Define special version of
2386 libc_feholdexcept_setround.
2388 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
2389 Add s_nearbyint-c and s_nearbyintf-c.
2390 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
2392 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
2393 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
2394 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
2395 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
2397 * math/math_private.h: Define defaults for libc_fegetround,
2398 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
2399 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
2400 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
2401 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
2402 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
2404 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2405 Remove comments and hacks for old compiler versions.
2406 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
2407 libc_fegetround, libc_fesetround, libc_feholdexcept, and
2410 2011-10-18 Andreas Schwab <schwab@redhat.com>
2412 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
2413 (__feraiseexcept_renamed): Add __NTH.
2414 (feraiseexcept): Add __NTH. Rename local variables to fix
2415 namespace violations.
2417 2011-10-17 Ulrich Drepper <drepper@gmail.com>
2419 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
2421 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
2423 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
2424 recently added interfaces.
2425 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
2427 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
2428 about macro parameter expansion.
2430 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
2431 __NO_MATH_INLINES is defined. Cleanups.
2433 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
2434 and __floorf is target has SSE4.1.
2435 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
2436 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
2437 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
2438 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
2440 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
2444 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
2446 2011-10-17 Andreas Schwab <schwab@redhat.com>
2448 * misc/sys/cdefs.h: Fix last change.
2450 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
2453 2011-10-16 Ulrich Drepper <drepper@gmail.com>
2455 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
2457 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
2458 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2459 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2460 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2461 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2462 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2463 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2464 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2465 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2466 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
2467 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
2468 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
2469 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
2470 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
2471 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
2472 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
2473 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
2474 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
2475 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
2476 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
2477 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
2478 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
2480 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
2481 ceil, ceilf, floor, floorf.
2483 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
2484 Perform IRELATIVE relocations last.
2486 * elf/do-rel.h: Add another parameter nrelative, replacing the
2487 local variable with the same name. Change name of the function
2488 to end in Rel or Rela (uppercase).
2489 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
2490 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
2491 elf_dynamic_do_##reloc function.
2493 2011-10-15 Ulrich Drepper <drepper@gmail.com>
2495 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
2496 is sufficient, at least on modern CPUs.
2498 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
2500 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
2501 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
2503 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
2505 * math/bits/math-finite.h: Add entries for exp.
2506 * math/e_expl.c: Add __*_finite alias.
2507 * sysdeps/i386/fpu/e_exp.S: Likewise.
2508 * sysdeps/i386/fpu/e_expf.S: Likewise.
2509 * sysdeps/i386/fpu/e_expl.c: Likewise.
2510 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2511 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2512 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2513 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2514 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
2515 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2516 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2518 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
2519 is sufficient, at least on modern CPUs.
2521 * ctype/ctype-info.c (__ctype_init): Define.
2522 * include/ctype.h (__ctype_init): Declare.
2523 (__ctype_b_loc): The variable is always initialized.
2524 (__ctype_toupper_loc): Likewise.
2525 (__ctype_tolower_loc): Likewise.
2526 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
2527 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
2529 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
2531 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
2533 * configure.in: Also look in $cxxmachine/include for C++ system
2536 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2538 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
2539 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
2540 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
2541 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
2542 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
2543 (USE_AS_WMEMCMP): New macro.
2545 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
2546 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
2547 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
2548 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
2549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2550 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
2551 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
2552 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
2553 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
2554 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
2555 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
2556 (USE_AS_WMEMCMP): New macro.
2557 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
2558 * sysdeps/string/test-memcmp.c: Update.
2561 * wcsmbs/wmemcmp.c: Update.
2562 (WMEMCMP): New macro.
2565 2011-10-12 Andreas Jaeger <aj@suse.de>
2568 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
2570 2011-10-15 Ulrich Drepper <drepper@gmail.com>
2572 * libio/iofwide.c (do_length): Avoid warning.
2574 * ctype/ctype.h (__isctype_f): Add missing __THROW.
2576 2011-10-14 Ulrich Drepper <drepper@gmail.com>
2578 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
2580 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
2581 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
2582 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
2583 * sysdeps/i386/i686/fpu/e_log.S: New file.
2584 * sysdeps/i386/i686/fpu/e_logf.S: New file.
2585 * sysdeps/i386/i686/fpu/e_logl.S: New file.
2587 * ctype/ctype.h: Add support for inlined isXXX functions when
2590 2011-10-14 Andreas Schwab <schwab@redhat.com>
2592 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2594 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
2596 2011-10-13 Roland McGrath <roland@hack.frob.com>
2599 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
2601 2011-10-13 Andreas Schwab <schwab@redhat.com>
2603 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
2604 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
2607 * sysdeps/x86_64/memrchr.S: Check for zero size.
2609 * string/stratcliff.c: Add memrchr tests.
2611 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2613 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2614 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
2615 rawmemchr-sse2 rawmemchr-sse2-bsf.
2616 * sysdeps/i386/i686/multiarch/memchr.S: New file.
2617 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
2618 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
2619 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
2620 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
2621 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
2622 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
2623 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
2624 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
2625 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
2626 * string/memrchr.c (MEMRCHR): New macro.
2628 2011-10-12 Ulrich Drepper <drepper@gmail.com>
2630 Add integration with gcc's -ffinite-math-only and optimize wrapper
2632 * Versions.def: Define GLIBC_2.15 version for libm.
2633 * math/Makefile (headers): Add bits/math-finite.h.
2634 * math/bits/math-finite.h: New file.
2635 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
2636 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
2637 * math/e_acoshl.c: Add __*_finite alias.
2638 * math/e_acosl.c: Likewise.
2639 * math/e_asinl.c: Likewise.
2640 * math/e_atan2l.c: Likewise.
2641 * math/e_atanhl.c: Likewise.
2642 * math/e_coshl.c: Likewise.
2643 * math/e_exp10.c: Likewise.
2644 * math/e_exp10f.c: Likewise.
2645 * math/e_exp10l.c: Likewise.
2646 * math/e_exp2l.c: Likewise.
2647 * math/e_fmodl.c: Likewise.
2648 * math/e_gammal_r.c: Likewise.
2649 * math/e_hypotl.c: Likewise.
2650 * math/e_j0l.c: Likewise.
2651 * math/e_j1l.c: Likewise.
2652 * math/e_jnl.c: Likewise.
2653 * math/e_lgammal_r.c: Likewise.
2654 * math/e_log10l.c: Likewise.
2655 * math/e_log2l.c: Likewise.
2656 * math/e_logl.c: Likewise.
2657 * math/e_powl.c: Likewise.
2658 * math/e_sinhl.c: Likewise.
2659 * math/e_sqrtl.c: Likewise.
2660 * math/e_scalb.c: Completely rewritten and optimized.
2661 * math/e_scalbf.c: Likewise.
2662 * math/e_scalbl.c: Likewise.
2663 * math/w_acos.c: Likewise.
2664 * math/w_acosf.c: Likewise.
2665 * math/w_acosl.c: Likewise.
2666 * math/w_acosh.c: Likewise.
2667 * math/w_acoshf.c: Likewise.
2668 * math/w_acoshl.c: Likewise.
2669 * math/w_asin.c: Likewise.
2670 * math/w_asinf.c: Likewise.
2671 * math/w_asinl.c: Likewise.
2672 * math/w_atan2.c: Likewise.
2673 * math/w_atan2f.c: Likewise.
2674 * math/w_atan2l.c: Likewise.
2675 * math/w_atanh.c: Likewise.
2676 * math/w_atanhf.c: Likewise.
2677 * math/w_atanhl.c: Likewise.
2678 * math/w_exp10.c: Likewise.
2679 * math/w_exp10f.c: Likewise.
2680 * math/w_exp10l.c: Likewise.
2681 * math/w_fmod.c: Likewise.
2682 * math/w_fmodf.c: Likewise.
2683 * math/w_fmodl.c: Likewise.
2684 * math/w_j0.c: Likewise.
2685 * math/w_j0f.c: Likewise.
2686 * math/w_j0l.c: Likewise.
2687 * math/w_j1.c: Likewise.
2688 * math/w_j1f.c: Likewise.
2689 * math/w_j1l.c: Likewise.
2690 * math/w_jn.c: Likewise.
2691 * math/w_jnf.c: Likewise.
2692 * math/w_log.c: Likewise.
2693 * math/w_logf.c: Likewise.
2694 * math/w_logl.c: Likewise.
2695 * math/w_log10.c: Likewise.
2696 * math/w_log10f.c: Likewise.
2697 * math/w_log10l.c: Likewise.
2698 * math/w_log2.c: Likewise.
2699 * math/w_log2f.c: Likewise.
2700 * math/w_log2l.c: Likewise.
2701 * math/w_pow.c: Likewise.
2702 * math/w_powf.c: Likewise.
2703 * math/w_powl.c: Likewise.
2704 * math/w_remainder.c: Likewise.
2705 * math/w_remainderf.c: Likewise.
2706 * math/w_remainderl.c: Likewise.
2707 * math/w_scalb.c: Likewise.
2708 * math/w_scalbf.c: Likewise.
2709 * math/w_scalbl.c: Likewise.
2710 * math/w_sqrt.c: Likewise.
2711 * math/w_sqrtf.c: Likewise.
2712 * math/w_sqrtl.c: Likewise.
2713 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
2714 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
2716 * math/math_private.h: Declare __kernel_standard_f.
2717 * math/w_cosh.c: Remove cruft and optimize a bit.
2718 * math/w_coshf.c: Likewise.
2719 * math/w_coshl.c: Likewise.
2720 * math/w_exp2.c: Likewise.
2721 * math/w_exp2f.c: Likewise.
2722 * math/w_exp2l.c: Likewise.
2723 * math/w_hypot.c: Likewise.
2724 * math/w_hypotf.c: Likewise.
2725 * math/w_hypotl.c: Likewise.
2726 * math/w_lgamma.c: Likewise.
2727 * math/w_lgamma_r.c: Likewise.
2728 * math/w_lgammaf.c: Likewise.
2729 * math/w_lgammaf_r.c: Likewise.
2730 * math/w_lgammal.c: Likewise.
2731 * math/w_lgammal_r.c: Likewise.
2732 * math/w_sinh.c: Likewise.
2733 * math/w_sinhf.c: Likewise.
2734 * math/w_sinhl.c: Likewise.
2735 * math/w_tgamma.c: Likewise.
2736 * math/w_tgammaf.c: Likewise.
2737 * math/w_tgammal.c: Likewise.
2738 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2739 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2740 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
2741 Minor optimizations. Pretty printing. Remove cruft.
2742 * sysdeps/i386/fpu/e_acosf.S: Likewise.
2743 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2744 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2745 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2746 * sysdeps/i386/fpu/e_acosl.c: Likewise.
2747 * sysdeps/i386/fpu/e_asin.S: Likewise.
2748 * sysdeps/i386/fpu/e_asinf.S: Likewise.
2749 * sysdeps/i386/fpu/e_atan2.S: Likewise.
2750 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
2751 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
2752 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2753 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2754 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2755 * sysdeps/i386/fpu/e_exp10.S: Likewise.
2756 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
2757 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
2758 * sysdeps/i386/fpu/e_exp2.S: Likewise.
2759 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
2760 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
2761 * sysdeps/i386/fpu/e_fmod.S: Likewise.
2762 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
2763 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
2764 * sysdeps/i386/fpu/e_hypot.S: Likewise.
2765 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
2766 * sysdeps/i386/fpu/e_log.S: Likewise.
2767 * sysdeps/i386/fpu/e_log10.S: Likewise.
2768 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2769 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2770 * sysdeps/i386/fpu/e_log2.S: Likewise.
2771 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2772 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2773 * sysdeps/i386/fpu/e_logf.S: Likewise.
2774 * sysdeps/i386/fpu/e_logl.S: Likewise.
2775 * sysdeps/i386/fpu/e_pow.S: Likewise.
2776 * sysdeps/i386/fpu/e_powf.S: Likewise.
2777 * sysdeps/i386/fpu/e_powl.S: Likewise.
2778 * sysdeps/i386/fpu/e_remainder.S: Likewise.
2779 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
2780 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
2781 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2782 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2783 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2784 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
2785 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
2786 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
2787 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2788 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2789 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2790 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2791 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2792 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2793 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2794 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2795 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2796 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2797 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2798 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2801 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2802 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2803 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2808 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2809 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2810 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2811 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2812 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2813 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
2814 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2815 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
2816 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2817 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2818 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2819 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2820 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2821 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2822 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2823 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2824 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2825 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2826 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2827 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2828 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2831 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2832 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2833 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2834 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2835 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2836 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2837 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2838 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2839 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2840 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2841 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2842 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2843 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2844 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2845 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2846 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2847 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2848 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2849 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2850 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2851 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2852 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2853 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2854 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2855 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
2856 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2857 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2858 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2859 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2862 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2863 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
2864 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2865 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2866 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2867 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2868 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2869 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
2870 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2871 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2872 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2873 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2874 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2875 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2876 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2877 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2878 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2879 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2880 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2881 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2882 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
2883 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
2884 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
2885 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
2886 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
2887 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
2888 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
2889 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
2890 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
2891 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2892 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2893 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2894 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2895 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
2896 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2897 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
2898 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
2899 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
2900 (__isnanf): Likewise.
2901 (__isinf_ns): Likewise.
2902 (__isinf_nsf): Likewise.
2903 (__finite): Likewise.
2904 (__finitef): Likewise.
2905 (__ieee754_sqrt): Define as macro.
2906 (__ieee754_sqrtf): Define as macro.
2907 (__ieee754_sqrtl): Define as macro.
2908 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
2910 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
2911 __FINITE_MATH_ONLY__ consistent.
2912 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
2914 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
2916 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
2919 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
2921 2011-10-09 Ulrich Drepper <drepper@gmail.com>
2923 * po/ja.po: Update from translation team.
2925 2011-10-08 Roland McGrath <roland@hack.frob.com>
2927 * locale/programs/locarchive.c (prepare_address_space): New function.
2928 (create_archive, enlarge_archive, open_archive): Use it.
2930 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
2931 inside [SHARED], where it is used.
2933 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
2935 * nss/getent.c (netgroup_keys): Remove unused variable.
2936 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2938 2011-10-08 Ulrich Drepper <drepper@gmail.com>
2940 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
2941 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
2942 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
2943 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
2944 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
2945 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
2946 * math/Makefile (libm-calls): Add s_isinf_ns.
2947 * math/divtc3.c: Use __isinf_nsl instead of isinf.
2948 * math/multc3.c: Likewise.
2949 * math/s_casin.c: Likewise.
2950 * math/s_casinf.c: Likewise.
2951 * math/s_casinl.c: Likewise.
2952 * math/s_ccos.c: Likewise.
2953 * math/s_ccosf.c: Likewise.
2954 * math/s_ccosl.c: Likewise.
2955 * math/s_ctan.c: Likewise.
2956 * math/s_ctanf.c: Likewise.
2957 * math/s_ctanh.c: Likewise.
2958 * math/s_ctanhf.c: Likewise.
2959 * math/s_ctanhl.c: Likewise.
2960 * math/s_ctanl.c: Likewise.
2961 * math/w_fmod.c: Likewise.
2962 * math/w_fmodf.c: Likewise.
2963 * math/w_fmodl.c: Likewise.
2964 * math/w_remainder.c: Likewise.
2965 * math/w_remainderf.c: Likewise.
2966 * math/w_remainderl.c: Likewise.
2967 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
2968 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
2969 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
2970 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
2971 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
2972 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
2973 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
2974 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
2976 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
2978 * stdio-common/printf_fphex.c: Likewise.
2979 * stdio-common/printf_size.c: Likewise.
2981 * math/e_exp10.c: Include math_private.h using <...> not "...".
2982 * math/e_exp10f.c: Likewise.
2983 * math/e_exp10l.c: Likewise.
2984 * math/e_exp2l.c: Likewise.
2985 * math/e_j0l.c: Likewise.
2986 * math/e_j1l.c: Likewise.
2987 * math/e_jnl.c: Likewise.
2988 * math/e_lgammal_r.c: Likewise.
2989 * math/e_rem_pio2l.c: Likewise.
2990 * math/e_scalb.c: Likewise.
2991 * math/e_scalbf.c: Likewise.
2992 * math/e_scalbl.c: Likewise.
2993 * math/k_cosl.c: Likewise.
2994 * math/k_sinl.c: Likewise.
2995 * math/k_tanl.c: Likewise.
2996 * math/s_cacoshf.c: Likewise.
2997 * math/s_catan.c: Likewise.
2998 * math/s_catanf.c: Likewise.
2999 * math/s_catanh.c: Likewise.
3000 * math/s_catanhf.c: Likewise.
3001 * math/s_catanhl.c: Likewise.
3002 * math/s_catanl.c: Likewise.
3003 * math/s_ccosh.c: Likewise.
3004 * math/s_ccoshf.c: Likewise.
3005 * math/s_ccoshl.c: Likewise.
3006 * math/s_cexp.c: Likewise.
3007 * math/s_cexpf.c: Likewise.
3008 * math/s_cexpl.c: Likewise.
3009 * math/s_clog.c: Likewise.
3010 * math/s_clog10.c: Likewise.
3011 * math/s_clog10f.c: Likewise.
3012 * math/s_clog10l.c: Likewise.
3013 * math/s_clogf.c: Likewise.
3014 * math/s_clogl.c: Likewise.
3015 * math/s_csin.c: Likewise.
3016 * math/s_csinf.c: Likewise.
3017 * math/s_csinh.c: Likewise.
3018 * math/s_csinhf.c: Likewise.
3019 * math/s_csinhl.c: Likewise.
3020 * math/s_csinl.c: Likewise.
3021 * math/s_csqrt.c: Likewise.
3022 * math/s_csqrtf.c: Likewise.
3023 * math/s_csqrtl.c: Likewise.
3024 * math/s_ctan.c: Likewise.
3025 * math/s_ctanf.c: Likewise.
3026 * math/s_ctanh.c: Likewise.
3027 * math/s_ctanhf.c: Likewise.
3028 * math/s_ctanhl.c: Likewise.
3029 * math/s_ctanl.c: Likewise.
3030 * math/s_ldexp.c: Likewise.
3031 * math/s_ldexpf.c: Likewise.
3032 * math/s_ldexpl.c: Likewise.
3033 * math/s_significand.c: Likewise.
3034 * math/s_significandf.c: Likewise.
3035 * math/s_significandl.c: Likewise.
3036 * math/w_acos.c: Likewise.
3037 * math/w_acosf.c: Likewise.
3038 * math/w_acosh.c: Likewise.
3039 * math/w_acoshf.c: Likewise.
3040 * math/w_acoshl.c: Likewise.
3041 * math/w_acosl.c: Likewise.
3042 * math/w_asin.c: Likewise.
3043 * math/w_asinf.c: Likewise.
3044 * math/w_asinl.c: Likewise.
3045 * math/w_atan2.c: Likewise.
3046 * math/w_atan2f.c: Likewise.
3047 * math/w_atan2l.c: Likewise.
3048 * math/w_atanh.c: Likewise.
3049 * math/w_atanhf.c: Likewise.
3050 * math/w_atanhl.c: Likewise.
3051 * math/w_cosh.c: Likewise.
3052 * math/w_coshf.c: Likewise.
3053 * math/w_coshl.c: Likewise.
3054 * math/w_dremf.c: Likewise.
3055 * math/w_exp10.c: Likewise.
3056 * math/w_exp10f.c: Likewise.
3057 * math/w_exp10l.c: Likewise.
3058 * math/w_exp2.c: Likewise.
3059 * math/w_exp2f.c: Likewise.
3060 * math/w_fmod.c: Likewise.
3061 * math/w_fmodf.c: Likewise.
3062 * math/w_fmodl.c: Likewise.
3063 * math/w_hypot.c: Likewise.
3064 * math/w_hypotf.c: Likewise.
3065 * math/w_hypotl.c: Likewise.
3066 * math/w_j0.c: Likewise.
3067 * math/w_j0f.c: Likewise.
3068 * math/w_j0l.c: Likewise.
3069 * math/w_j1.c: Likewise.
3070 * math/w_j1f.c: Likewise.
3071 * math/w_j1l.c: Likewise.
3072 * math/w_jn.c: Likewise.
3073 * math/w_jnf.c: Likewise.
3074 * math/w_jnl.c: Likewise.
3075 * math/w_lgamma.c: Likewise.
3076 * math/w_lgamma_r.c: Likewise.
3077 * math/w_lgammaf.c: Likewise.
3078 * math/w_lgammaf_r.c: Likewise.
3079 * math/w_lgammal.c: Likewise.
3080 * math/w_lgammal_r.c: Likewise.
3081 * math/w_log.c: Likewise.
3082 * math/w_log10.c: Likewise.
3083 * math/w_log10f.c: Likewise.
3084 * math/w_log10l.c: Likewise.
3085 * math/w_log2.c: Likewise.
3086 * math/w_log2f.c: Likewise.
3087 * math/w_log2l.c: Likewise.
3088 * math/w_logf.c: Likewise.
3089 * math/w_logl.c: Likewise.
3090 * math/w_pow.c: Likewise.
3091 * math/w_powf.c: Likewise.
3092 * math/w_powl.c: Likewise.
3093 * math/w_remainder.c: Likewise.
3094 * math/w_remainderf.c: Likewise.
3095 * math/w_remainderl.c: Likewise.
3096 * math/w_scalb.c: Likewise.
3097 * math/w_scalbf.c: Likewise.
3098 * math/w_scalbl.c: Likewise.
3099 * math/w_sinh.c: Likewise.
3100 * math/w_sinhf.c: Likewise.
3101 * math/w_sinhl.c: Likewise.
3102 * math/w_sqrt.c: Likewise.
3103 * math/w_sqrtf.c: Likewise.
3104 * math/w_sqrtl.c: Likewise.
3105 * math/w_tgamma.c: Likewise.
3106 * math/w_tgammaf.c: Likewise.
3107 * math/w_tgammal.c: Likewise.
3109 * po/ja.po: Update from translation team.
3111 2011-09-29 Andreas Jaeger <aj@suse.de>
3114 * sunrpc/netname.c (netname2host): Fix logic.
3118 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
3120 * math/w_remainder.c (__remainder): Likewise.
3121 * math/w_remainderf.c (__remainderf): Likewise.
3122 * math/libm-test.inc (remainder_test): Add test cases.
3124 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3126 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
3129 2011-10-07 Ulrich Drepper <drepper@gmail.com>
3131 * string/test-memcmp.c: Avoid unncessary #defines.
3132 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
3134 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3136 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
3137 Use new sse2 version for core i3 - i7 as it's faster
3139 (bit_Prefer_PMINUB_for_stringop): New.
3140 * sysdeps/x86_64/rawmemchr.S: Update.
3141 Replace with faster SSE2 version.
3142 * sysdeps/x86_64/memrchr.S: New file.
3143 * sysdeps/x86_64/memchr.S: Update.
3144 Replace with faster SSE2 version.
3146 2011-09-12 Marek Polacek <mpolacek@redhat.com>
3148 * elf/dl-load.c (lose): Add cast to avoid warning.
3150 2011-10-07 Ulrich Drepper <drepper@gmail.com>
3152 * po/ca.po: Update from translation team.
3154 * inet/getnetgrent_r.c: Hook up nscd.
3155 * nscd/Makefile (routines): Add nscd_netgroup.
3156 (nscd-modules): Add netgroupcache.
3157 (CFLAGS-netgroupcache.c): Define.
3158 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
3159 (cache_search): Add const to second parameter.
3160 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
3162 (dbs): Add netgrdb entry.
3163 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
3164 (verify_persistent_db): Handle netgrdb.
3165 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
3166 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
3168 (netgroup_response_header): Define.
3169 (innetgroup_response_header): Define.
3170 (datahead): Add netgroup_response_header and innetgroup_response_header
3172 * nscd/nscd.conf: Add entries for netgroup cache.
3173 * nscd/nscd.h (dbtype): Add netgrdb.
3174 (_PATH_NSCD_NETGROUP_DB): Define.
3175 (netgroup_iov_disabled): Declare.
3176 (xmalloc, xcalloc, xrealloc): Move declarations here.
3177 (cache_search): Adjust prototype.
3178 Add netgroup-related prototypes.
3179 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
3180 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
3181 (__nscd_innetgr): Declare.
3182 * nscd/selinux.c (perms): Use access_vector_t as element type and
3183 add netgroup-related initializers.
3184 * nscd/netgroupcache.c: New file.
3185 * nscd/nscd_netgroup.c: New file.
3186 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
3187 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
3188 For four parameters use innetgr.
3189 * nss/nss_files/files-init.c: Add definition and callback for netgr.
3190 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
3191 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
3192 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
3194 * nscd/connections.c (register_traced_file): Don't register file
3195 for disabled databases.
3197 2011-10-06 Ulrich Drepper <drepper@gmail.com>
3199 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
3201 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
3202 from tree and freeing node.
3204 2011-09-25 Jiri Olsa <jolsa@redhat.com>
3206 * nss/nsswitch.c (__nss_database_lookup): Handle
3207 nss_parse_service_list out of memory case.
3209 2011-09-15 Jiri Olsa <jolsa@redhat.com>
3211 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
3214 2011-10-04 Andreas Schwab <schwab@redhat.com>
3216 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
3217 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
3219 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
3220 elf_machine_rela, elf_machine_lazy_rel.
3221 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
3222 (ELF_DYNAMIC_DO_REL): Likewise.
3223 (ELF_DYNAMIC_DO_RELA): Likewise.
3224 (ELF_DYNAMIC_RELOCATE): Likewise.
3225 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
3226 to ELF_DYNAMIC_DO_REL.
3227 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
3228 (dl_main): In trace mode always set __RTLD_NOIFUNC.
3229 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
3231 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
3232 skip_ifunc, don't call ifunc function if non-zero.
3233 (elf_machine_rela): Likewise.
3234 (elf_machine_lazy_rel): Likewise.
3235 (elf_machine_lazy_rela): Likewise.
3236 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
3237 (elf_machine_lazy_rel): Likewise.
3238 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
3240 (elf_machine_lazy_rel): Likewise.
3241 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3243 (elf_machine_lazy_rel): Likewise.
3244 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
3245 (elf_machine_lazy_rel): Likewise.
3246 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
3247 (elf_machine_lazy_rel): Likewise.
3248 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3249 (elf_machine_lazy_rel): Likewise.
3250 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
3251 (elf_machine_lazy_rel): Likewise.
3252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
3253 (elf_machine_lazy_rel): Likewise.
3254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3255 (elf_machine_lazy_rel): Likewise.
3257 2011-09-28 Ulrich Drepper <drepper@gmail.com>
3259 * nss/nss_files/files-init.c (_nss_files_init): Use static
3260 initialization for all the *_traced_file variables.
3262 2011-09-28 Andreas Schwab <schwab@redhat.com>
3264 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3266 2011-09-27 Roland McGrath <roland@hack.frob.com>
3269 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
3271 2011-09-27 Andreas Schwab <schwab@redhat.com>
3273 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
3274 Reread the line before reparsing it.
3276 2011-09-26 Andreas Schwab <schwab@redhat.com>
3278 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
3280 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
3281 Maxim Kuvyrkov <maxim@codesourcery.com>
3282 Joseph Myers <joseph@codesourcery.com>
3284 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
3285 if needed for __stack_chk_guard.
3287 2011-09-19 Roland McGrath <roland@hack.frob.com>
3289 * sysdeps/posix/spawni.c (script_execute): Always define it.
3290 It will be optimized away if unused.
3291 (maybe_script_execute): New function.
3292 (__spawni): Call it.
3294 * Makerules: Don't include tls.make.
3295 (config-tls): Always set to thread.
3296 * tls.make.c: File removed.
3298 2011-09-19 Mike Frysinger <vapier@gentoo.org>
3300 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
3301 * config.make.in (CPPFLAGS-config): New substituted variable.
3303 2011-09-15 Ulrich Drepper <drepper@gmail.com>
3305 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
3308 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
3309 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
3311 2011-09-15 Roland McGrath <roland@hack.frob.com>
3313 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
3314 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
3315 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
3316 (CALL_FAIL): Likewise.
3317 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
3318 (CALL_FAIL): Macro removed.
3319 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
3321 2011-09-15 Ulrich Drepper <drepper@gmail.com>
3323 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
3324 for __FINITE_MATH_ONLY__ == 1.
3326 2011-09-15 Andreas Schwab <schwab@redhat.com>
3328 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
3329 __ieee754_sqrt instead of sqrt.
3330 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
3331 __ieee754_sqrtf instead of sqrtf.
3332 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
3333 __floorf instead of floorf.
3334 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
3335 __floorf, __truncf instead of floorf, truncf.
3337 2011-09-14 Ulrich Drepper <drepper@gmail.com>
3339 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
3341 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
3342 __extern_always_inline.
3343 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
3346 2011-09-14 Andreas Schwab <schwab@redhat.com>
3348 * elf/rtld.c (dl_main): Also relocate in dependency order when
3349 doing symbol dependency testing.
3351 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
3353 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3354 Always define `refsym'.
3356 2011-09-13 Andreas Schwab <schwab@redhat.com>
3358 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
3359 (__FD_ELT): Renamed from __FDELT.
3360 * misc/bits/select2.h (__FD_ELT): Likewise.
3361 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
3362 __FD_MASK instead of __FDELT, __FDMASK.
3363 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
3365 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
3368 * elf/Makefile (gen-ldd): Fix pattern.
3370 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
3371 (init_tls): Likewise.
3373 2011-09-12 Ulrich Drepper <drepper@gmail.com>
3375 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
3377 2011-09-12 Andreas Schwab <schwab@redhat.com>
3379 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
3380 `struct cmsghdr *' instead of `void *'.
3381 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
3384 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
3386 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
3388 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
3391 2011-09-11 Ulrich Drepper <drepper@gmail.com>
3393 * configure.in: Remove --with-tls option.
3394 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
3395 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
3396 out in case it is missing.
3397 * sysdeps/ia64/elf/configure.in: Likewise.
3398 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
3399 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
3400 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
3401 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
3402 * sysdeps/sh/elf/configure.in: Likewise.
3403 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
3404 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3405 * sysdeps/x86_64/elf/configure.in: Likewise.
3406 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
3407 * sysdeps/mach/hurd/tls.h: Likewise.
3410 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
3413 * configure.in: Fix use of AC_INIT.
3415 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
3417 2011-09-10 Ulrich Drepper <drepper@gmail.com>
3419 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
3421 * malloc/hooks.c: Likewise.
3424 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
3425 variables statically.
3426 (narenas): Initialize.
3427 (list_lock): Initialize.
3428 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
3429 initializtion of main_arena and list_lock. Small cleanups.
3430 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
3431 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
3432 Add initializers to main_arena and mp_.
3433 (malloc_state): Remove pagesize member. Change all users to use
3436 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
3437 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
3438 is always initialized.
3440 * malloc/malloc.c: Removed unused configurations and dead code.
3441 * malloc/arena.c: Likewise.
3442 * malloc/hooks.c: Likewise.
3443 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
3445 * include/tls.h: Removed. USE___THREAD must always be defined.
3446 * bits/libc-tsd.h: Don't handle !USE___THREAD.
3447 * elf/dl-libc.c: Likewise.
3448 * elf/dl-tsd.c: Likewise.
3449 * include/errno.h: Likewise.
3450 * include/netdb.h: Likewise.
3451 * include/resolv.h: Likewise.
3452 * inet/herrno-loc.c: Likewise.
3453 * inet/herrno.c: Likewise.
3454 * malloc/arena.c: Likewise.
3455 * malloc/hooks.c: Likewise.
3456 * malloc/malloc.c: Likewise.
3457 * resolv/res-state.c: Likewise.
3458 * resolv/res_libc.c: Likewise.
3459 * sysdeps/i386/dl-machine.h: Likewise.
3460 * sysdeps/ia64/dl-machine.h: Likewise.
3461 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
3462 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3463 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3464 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3465 * sysdeps/sh/dl-machine.h: Likewise.
3466 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3467 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3468 * sysdeps/unix/i386/sysdep.S: Likewise.
3469 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3470 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3471 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3472 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3473 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3474 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3475 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3476 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3477 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3479 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3480 * sysdeps/x86_64/dl-machine.h: Likewise.
3481 * tls.make.c: Likewise.
3483 * configure.in: Remove --with-__thread option. Make tests for
3484 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
3485 tls_model attribute fail if no support is available. Remove
3487 * Makeconfig: Adjust for dropped configure option. All features are
3489 * Makerules: Likewise.
3490 * Versions.def: Likewise.
3491 * argp/argp-fmtstream.c: Likewise.
3492 * argp/argp-fmtstream.h: Likewise.
3493 * argp/argp-help.c: Likewise.
3494 * assert/assert.c: Likewise.
3495 * config.h.in: Likewise.
3496 * config.make.in: Likewise.
3497 * configure: Likewise.
3498 * configure.in: Likewise.
3499 * csu/Versions: Likewise.
3500 * csu/init.c: Likewise.
3501 * elf/tst-audit2.c: Likewise.
3502 * elf/tst-tls10.c: Likewise.
3503 * elf/tst-tls10.h: Likewise.
3504 * elf/tst-tls11.c: Likewise.
3505 * elf/tst-tls12.c: Likewise.
3506 * elf/tst-tls14.c: Likewise.
3507 * elf/tst-tlsmod11.c: Likewise.
3508 * elf/tst-tlsmod12.c: Likewise.
3509 * elf/tst-tlsmod13.c: Likewise.
3510 * elf/tst-tlsmod13a.c: Likewise.
3511 * elf/tst-tlsmod14a.c: Likewise.
3512 * elf/tst-tlsmod15b.c: Likewise.
3513 * elf/tst-tlsmod16a.c: Likewise.
3514 * elf/tst-tlsmod16b.c: Likewise.
3515 * elf/tst-tlsmod7.c: Likewise.
3516 * elf/tst-tlsmod8.c: Likewise.
3517 * elf/tst-tlsmod9.c: Likewise.
3518 * gmon/gmon.c: Likewise.
3519 * grp/fgetgrent_r.c: Likewise.
3520 * grp/putgrent.c: Likewise.
3521 * hurd/fopenport.c: Likewise.
3522 * include/libc-symbols.h: Likewise.
3523 * include/tls.h: Likewise.
3524 * intl/gettextP.h: Likewise.
3525 * intl/loadinfo.h: Likewise.
3526 * locale/global-locale.c: Likewise.
3527 * locale/localeinfo.h: Likewise.
3528 * mach/devstream.c: Likewise.
3529 * malloc/arena.c: Likewise.
3530 * malloc/set-freeres.c: Likewise.
3531 * misc/err.c: Likewise.
3532 * misc/getttyent.c: Likewise.
3533 * misc/mntent_r.c: Likewise.
3534 * posix/getopt.c: Likewise.
3535 * posix/wordexp.c: Likewise.
3536 * pwd/fgetpwent_r.c: Likewise.
3537 * resolv/Versions: Likewise.
3538 * resolv/res_hconf.c: Likewise.
3539 * shadow/fgetspent_r.c: Likewise.
3540 * shadow/putspent.c: Likewise.
3541 * stdio-common/printf_fphex.c: Likewise.
3542 * stdio-common/tmpfile.c: Likewise.
3543 * stdlib/abort.c: Likewise.
3544 * stdlib/fmtmsg.c: Likewise.
3545 * sunrpc/auth_unix.c: Likewise.
3546 * sunrpc/clnt_perr.c: Likewise.
3547 * sunrpc/clnt_tcp.c: Likewise.
3548 * sunrpc/clnt_udp.c: Likewise.
3549 * sunrpc/clnt_unix.c: Likewise.
3550 * sunrpc/openchild.c: Likewise.
3551 * sunrpc/svc_simple.c: Likewise.
3552 * sunrpc/svc_tcp.c: Likewise.
3553 * sunrpc/svc_udp.c: Likewise.
3554 * sunrpc/svc_unix.c: Likewise.
3555 * sunrpc/xdr.c: Likewise.
3556 * sunrpc/xdr_array.c: Likewise.
3557 * sunrpc/xdr_rec.c: Likewise.
3558 * sunrpc/xdr_ref.c: Likewise.
3559 * sunrpc/xdr_stdio.c: Likewise.
3561 2011-09-09 Ulrich Drepper <drepper@gmail.com>
3563 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3565 2011-07-03 Andreas Jaeger <aj@suse.de>
3567 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
3568 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
3569 regenerate with gen-libm-tests.pl.
3571 2010-05-12 Petr Baudis <pasky@suse.cz>
3574 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
3575 around j0() zero points by switching to j1().
3576 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3577 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3578 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3579 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3581 2011-09-09 Ulrich Drepper <drepper@gmail.com>
3583 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
3585 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3587 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3588 Patch in part by Pavel Roskin <proski@gnu.org>.
3591 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
3593 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
3594 Free memory block if necessary.
3597 * libio/genops.c (INTDEF): For string streams the _lock pointer can
3598 be NULL. Don't lock in this case.
3600 2011-09-09 Roland McGrath <roland@hack.frob.com>
3602 * elf/elf.h (ELFOSABI_GNU): New macro.
3603 (ELFOSABI_LINUX): Define to that.
3605 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
3607 * string/strncat.c (strncat): Undef the symbol in case it has been
3608 defined in bits/string.h.
3610 2011-09-09 Ulrich Drepper <drepper@gmail.com>
3612 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
3614 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
3617 2011-08-17 Andreas Jaeger <aj@suse.de>
3619 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
3621 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3622 Ian Lance Taylor <iant@google.com>
3624 * math/libm-test.inc (lround_test): New testcase.
3625 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
3627 2011-09-08 Ulrich Drepper <drepper@gmail.com>
3629 * Makefile: Remove support for automatic cvs check-ins.
3630 * Makerules: Likewise.
3631 * config.make.in: Likewise.
3632 * configure.in: Likewise.
3633 * intl/Makefile: Likewise.
3634 * locale/Makefile: Likewise.
3635 * po/Makefile: Likewise.
3636 * posix/Makefile: Likewise.
3637 * sysdeps/gnu/Makefile: Likewise.
3638 * sysdeps/mach/hurd/Makefile: Likewise.
3639 * sysdeps/sparc/sparc32/Makefile: Likewise.
3642 * posix/Makefile (bug-regex32-ENV): Define.
3643 Patch by John Stanley <jpsinthemix@verizon.net>.
3645 * misc/Makefile (headers): Add bits/select2.h.
3646 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
3647 * misc/bits/select2.h: New file.
3648 * include/bits/select2.h: New file.
3649 * debug/Makefile (routines): Add fdelt_chk.
3650 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
3651 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
3653 * debug/fdelt_chk.c: New file.
3655 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
3656 * wcsmbs/test-wmemcmp.c: Likewise.
3657 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
3658 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
3660 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3662 * string/Makefile (strop-tests): Add memcmp.
3663 * string/test-wmemcmp.c: New file.
3664 * string/test-memcmp.c: Add wmemcmp support.
3666 2011-09-08 Roland McGrath <roland@hack.frob.com>
3669 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
3672 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
3673 garbage value in a __mach_port_mod_refs call in the cases of the
3674 task-self and thread-self ports.
3676 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
3678 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
3680 2011-09-08 Andreas Schwab <schwab@redhat.com>
3682 * elf/dl-load.c (lose): Check for non-null L.
3684 2011-09-07 Ulrich Drepper <drepper@gmail.com>
3686 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
3688 * elf/dl-libc.c (dlerror_run): Pass back error code from
3692 * elf/dl-load.c (lose): Free l_origin if it is valid.
3694 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
3696 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3697 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3698 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3699 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3700 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3701 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
3703 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3705 * sysdeps/powerpc/fpu/e_hypot.c: New file.
3706 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
3707 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
3708 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
3709 * sysdeps/powerpc/fpu/k_cosf.c: New file.
3710 * sysdeps/powerpc/fpu/k_sinf.c: New file.
3711 * sysdeps/powerpc/fpu/s_cosf.c: New file.
3712 * sysdeps/powerpc/fpu/s_sinf.c: New file.
3713 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
3714 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
3716 2011-08-15 Alan Modra <amodra@gmail.com>
3719 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
3720 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
3721 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
3722 ppc_mcount to static-only-routines.
3723 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
3725 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
3726 __mcount_internal with usual JUMPTARGET. Remove useless nop.
3728 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
3730 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
3731 for finite and infinity parameters.
3733 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3735 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
3736 and add nop instructions for throughput optimization.
3737 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3739 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
3741 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
3742 aligned copy for power7 with vector-scalar instructions.
3743 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3745 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
3747 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
3750 2011-09-07 Andreas Schwab <schwab@redhat.com>
3753 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
3756 2011-09-07 Ulrich Drepper <drepper@gmail.com>
3758 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3759 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
3760 syscall wrapper around clock_gettime in __vdso_clock_gettime.
3761 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
3764 2011-09-06 Ulrich Drepper <drepper@gmail.com>
3766 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
3767 Forgot to demangle the pointer.
3769 * sysdeps/i386/sysdep.h: Define atom_text_section.
3770 * sysdeps/x86_64/sysdep.h: Likewise.
3771 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
3772 section with atom_text_section.
3773 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3774 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3775 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3776 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
3777 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
3779 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
3780 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
3781 already be defined. Change to take two parameters and don't assign
3782 result to variable. Adjust all users.
3783 Define INTERNAL_GETTIME if not already defined.
3784 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
3786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
3787 HAVE_CLOCK_GETTIME_VSYSCALL.
3788 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
3790 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
3791 gettimeofday vsyscall, just use time.
3793 2011-09-06 Andreas Schwab <schwab@redhat.com>
3795 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
3798 2011-09-06 Ulrich Drepper <drepper@gmail.com>
3800 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
3802 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
3804 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
3805 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
3806 syscall if possible.
3808 2011-09-05 Ulrich Drepper <drepper@gmail.com>
3810 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
3811 e_ident. Don't pass to find_mapsXX.
3812 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
3814 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3816 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3817 strchr-sse2-no-bsf strrchr-sse2-no-bsf
3818 * sysdeps/x86_64/multiarch/strchr.S: Update.
3819 Check bit_slow_BSF bit.
3820 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3821 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
3822 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
3824 2011-09-05 Ulrich Drepper <drepper@gmail.com>
3827 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
3830 (__spawni): Change last parameter to be flag. Test
3831 SPAWN_XFLAGS_USE_PATH flag to use path or not.
3832 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
3833 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
3834 * posix/spawni.c: Likewise.
3835 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
3836 * posix/spawnp.c: Likewise. Change normal version to use
3837 SPAWN_XFLAGS_USE_PATH.
3838 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
3839 SPAWN_XFLAGS_TRY_SHELL.
3842 * posix/glob.h: Remove gcc 1.x support.
3845 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
3847 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3850 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
3852 * sysdeps/i386/i686/multiarch/strchr.S: New file.
3853 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
3854 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
3855 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
3856 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
3857 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
3859 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3861 * sysdeps/x86_64/wcscmp.S: New file.
3863 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
3864 wcscmp-c wcscmp-sse2
3865 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
3866 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
3867 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
3868 * wcsmbs/wcscmp.c: Allow renaming.
3870 2011-09-05 David S. Miller <davem@davemloft.net>
3872 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
3873 stack slot, rather than the struct return pointer slot.
3874 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
3875 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
3876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
3877 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
3879 2011-09-05 Ulrich Drepper <drepper@gmail.com>
3881 * po/ja.po: Update from translation team.
3884 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
3885 kernel in 64-bit binaries.
3887 2011-09-01 David S. Miller <davem@davemloft.net>
3889 * elf/elf.h (HWCAP_SPARC_*): Move to..
3890 * sysdeps/sparc/sysdep.h: this new file and add new values.
3891 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
3892 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
3893 _DL_HWCAP_COUNT to 24.
3894 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
3896 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
3897 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
3898 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
3899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
3900 instead of magic constants.
3901 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3903 2011-08-31 David S. Miller <davem@davemloft.net>
3905 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
3906 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
3907 Reimplement to do errno handling inline.
3908 (SYSCALL_ERROR_HANDLER): New macro.
3909 (__SYSCALL_STRING): Do not do errno handling in asm.
3910 (__CLONE_SYSCALL_STRING): Delete.
3911 (__INTERNAL_SYSCALL_STRING): Delete.
3912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
3913 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
3914 (PSEUDO): Reimplement to do errno handling inline.
3915 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
3916 (SYSCALL_ERROR_HANDLER): New macro.
3917 (__SYSCALL_STRING): Do not do errno handling in asm.
3918 (__CLONE_SYSCALL_STRING): Delete.
3919 (__INTERNAL_SYSCALL_STRING): Delete.
3920 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
3921 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
3923 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
3924 (inline_syscall*): Add 'err' argument.
3925 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
3926 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
3927 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
3928 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
3930 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
3931 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3933 2011-08-30 Andreas Schwab <schwab@redhat.com>
3935 * elf/rtld.c (dl_main): Relocate objects in dependency order.
3937 2011-08-29 Jiri Olsa <jolsa@redhat.com>
3939 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
3942 2011-08-24 David S. Miller <davem@davemloft.net>
3944 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
3946 2011-08-24 Andreas Schwab <schwab@redhat.com>
3948 * elf/Makefile: Add rules to build and run unload8 test.
3949 * elf/unload8.c: New file.
3950 * elf/unload8mod1.c: New file.
3951 * elf/unload8mod1x.c: New file.
3952 * elf/unload8mod2.c: New file.
3953 * elf/unload8mod3.c: New file.
3955 * elf/dl-close.c (_dl_close_worker): Reset private search list if
3958 2011-08-23 David S. Miller <davem@davemloft.net>
3960 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
3961 subtract stack bias.
3962 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
3963 %sp not %fp in calculations.
3964 (_JMPBUF_UNWINDS_ADJ): Likewise.
3966 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
3967 (aio_suspend): Call it to force an exception region around the
3968 AIO_MISC_WAIT() invocation.
3970 2011-08-23 Andreas Schwab <schwab@redhat.com>
3972 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
3975 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
3977 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
3979 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
3981 (Elf64_FuncDesc): Remove.
3983 2011-08-22 David S. Miller <davem@davemloft.net>
3985 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
3986 sigaltstack check, add missing cfi directives.
3987 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
3988 missing cfi directives, and sigaltstack handling.
3990 2011-08-16 Andreas Schwab <schwab@redhat.com>
3993 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
3994 object is seen twice.
3995 * elf/dl-fini.c (_dl_sort_fini): Likewise.
3997 * elf/Makefile (distribute): Add tst-initorder2.c.
3998 (tests): Add tst-initorder2.
3999 (modules-names): Add tst-initorder2a tst-initorder2b
4000 tst-initorder2c tst-initorder2d. Add rules to build them.
4001 ($(objpfx)tst-initorder2.out): New rule.
4002 * elf/tst-initorder2.c: New file.
4003 * elf/tst-initorder2.exp: New file.
4005 2011-08-22 Andreas Schwab <schwab@redhat.com>
4007 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
4009 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
4010 dependencies back to end of function.
4012 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
4015 2011-08-21 Ulrich Drepper <drepper@gmail.com>
4017 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
4018 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
4019 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
4020 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
4021 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
4022 of __vdso_gettimeofday.
4023 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
4024 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
4026 (_libc_vdso_platform_setup): Remove initialization of
4027 __vdso_gettimeofday and __vdso_time.
4029 2011-08-20 Ulrich Drepper <drepper@gmail.com>
4031 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
4033 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
4036 * elf/dl-open.c (add_to_global): Report additions to the global scope
4037 for LD_DEBUG=scopes.
4038 (dl_open_worker): Also print scope of newly loaded dependencies.
4039 (_dl_show_scope): Indicate if there is no scope.
4042 * stdio-common/Makefile (tests): Add bug24.
4043 * stdio-common/bug24.c: New file.
4045 2011-08-19 Andreas Jaeger <aj@suse.de>
4048 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
4049 non-existant file when using close-on-exec mode.
4051 2011-08-20 Ulrich Drepper <drepper@gmail.com>
4053 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
4054 the very first instruction.
4056 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
4057 the CFI state in the end.
4058 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
4059 inclusion of dl-trampoline.h.
4060 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
4062 2011-08-19 Andreas Schwab <schwab@redhat.com>
4064 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
4065 expectations for long double.
4067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
4068 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
4070 2011-08-14 David S. Miller <davem@davemloft.net>
4072 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
4073 artificual limit depends upon the system page size.
4075 2011-08-17 Ulrich Drepper <drepper@gmail.com>
4077 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
4078 * resolv/Makefile: Define CFLAGS-libresolv.
4080 2011-08-17 Andreas Schwab <schwab@redhat.com>
4082 * nss/makedb.c (compute_tables): Make variables used in nested
4085 2011-08-17 Ulrich Drepper <drepper@gmail.com>
4087 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
4088 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
4089 if buffer was too small.
4091 * elf/pldd.c (main): Attach to all threads in the process.
4092 Rewrite /proc handling to use *at functions.
4094 2011-08-16 Ulrich Drepper <drepper@gmail.com>
4096 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
4097 specifies first scope to show.
4098 (dl_open_worker): Update callers. Move printing scope of new
4099 object to before the relocation.
4100 * elf/rtld.c (dl_main): Update _dl_show_scope call.
4101 * sysdeps/generic/ldsodefs.h: Update declaration.
4103 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
4104 string for the scope number.
4106 2011-08-14 Ulrich Drepper <drepper@gmail.com>
4108 * nscd/servicescache.c (cache_addserv): Make sure written is always
4111 2011-08-14 Roland McGrath <roland@hack.frob.com>
4113 * sysdeps/i386/i486/bits/atomic.h
4114 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
4115 statement expression, so as to suppress "set but not used" warning.
4116 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
4118 * string/strncat.c (STRNCAT): Use prototype definition.
4120 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
4121 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
4123 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
4124 (localedef-modules): Add localedef.
4125 (locale-modules): Add locale.
4127 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
4128 * elf/rtld.c (dl_main): Invert order of assignment in last change,
4131 2011-08-14 David S. Miller <davem@davemloft.net>
4133 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
4134 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
4136 2011-08-13 Ulrich Drepper <drepper@gmail.com>
4138 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
4139 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
4140 * elf/rtld.c (dl_main): Set l_name of vDSO.
4141 Call _dl_show_scope when DL_DEBUG_SCOPES.
4142 (process_dl_debug): Recognize scopes flag and also set it for all.
4143 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
4144 Declare _dl_show_scope.
4146 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
4147 (do_dlopen): Pass caller_dlopen to dl_open.
4148 (__libc_dlopen_mode): Initialize caller_dlopen.
4150 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
4151 of libc. Make tolower call locale-independent. Optimize a bit by
4152 using isdigit instead of isalnum.
4153 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
4155 2011-08-12 Ulrich Drepper <drepper@gmail.com>
4157 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
4158 was a dependency or dynamically loaded.
4160 2011-08-11 Ulrich Drepper <drepper@gmail.com>
4162 * intl/l10nflist.c: Allow architecture-specific pop function.
4163 * sysdeps/x86_64/l10nflist.c: New file.
4165 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
4168 2011-08-10 Andreas Schwab <schwab@redhat.com>
4170 * include/dirent.h: Add libc_hidden_proto for scandirat and
4171 scandirat64. Don't declare __scandirat64.
4172 * dirent/scandirat.c: Add libc_hidden_def.
4173 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
4174 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
4176 2011-08-10 David S. Miller <davem@davemloft.net>
4178 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
4180 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4181 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4182 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4184 2011-08-09 Ulrich Drepper <drepper@gmail.com>
4186 * Versions.def [libc]: Add GLIBC_2.15.
4187 * dirent/Makefile (routines): Add scandirat and scandirat64.
4188 * dirent/Versions [libc]: Export scandirat and scandirat64 for
4190 * dirent/dirent.h: Declare scandirat and scandirat64.
4191 * dirent/scandirat.c: New file.
4192 * dirent/scandirat64.c: New file.
4193 * sysdeps/wordsize-64/scandirat.c: New file.
4194 * sysdeps/wordsize-64/scandirat64.c: New file.
4195 * dirent/opendir.c: Define opendirat.
4196 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
4198 * dirent/scandir64.c: Adjust for scandir.c change.
4199 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
4200 __scandirat64, and __scandir_cancel_handler.
4201 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
4202 additional parameter and use openat instead of open (outside of ld.so).
4203 Add new __opendir as wrapper around __opendirat.
4204 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
4205 here without requiring old scandirat implementation.
4207 2011-08-08 Ulrich Drepper <drepper@gmail.com>
4209 * dirent/scandir.c (cancel_handler): Renamed to
4210 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
4211 defined. Adjust users.
4212 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
4213 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
4215 2011-08-04 Ulrich Drepper <drepper@gmail.com>
4217 * string/test-string.h (IMPL): Use __STRING to expand name and then
4220 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
4223 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4225 * string/Makefile: Update.
4226 (strop-tests): Append strncat.
4227 * string/test-wcscmp.c: New file.
4228 New comprehensive test for wcscmp.
4229 * string/test-strcmp.c: Update.
4232 2011-07-22 Andreas Schwab <schwab@redhat.com>
4234 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
4237 2011-07-26 Andreas Schwab <schwab@redhat.com>
4239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
4240 encoding to ACE if AI_IDN.
4242 2011-08-01 Jakub Jelinek <jakub@redhat.com>
4244 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
4245 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
4247 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4249 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
4250 Fix overflow bug in strncat.
4251 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4253 * string/test-strncat.c: Update.
4254 Add new tests for checking overflow bugs.
4256 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4258 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4259 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
4260 * sysdeps/i386/i686/multiarch/strcat.S: New file.
4261 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
4262 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
4263 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
4264 * sysdeps/i386/i686/multiarch/strncat.S: New file.
4265 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
4266 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
4268 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
4269 (USE_AS_STRCAT): Define.
4270 Add strcat and strncat support.
4271 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4273 2011-07-25 Andreas Schwab <schwab@redhat.com>
4275 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
4276 __n bigger than INT_MAX+1.
4277 (__strncmp_g): Likewise.
4279 2011-07-23 Ulrich Drepper <drepper@gmail.com>
4281 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
4282 * libio/stido.h: Likewise.
4284 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
4286 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
4289 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
4290 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4291 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4292 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
4293 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4296 * scripts/test-installation.pl: Don't expect libnss_test1 to be
4299 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
4301 (_dl_x86_64_save_sse): Likewise.
4303 2011-07-22 Ulrich Drepper <drepper@gmail.com>
4305 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
4307 (_dl_x86_64_save_sse): Likewise.
4309 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
4311 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
4313 2011-07-21 Andreas Schwab <schwab@redhat.com>
4315 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
4317 (_dl_x86_64_save_sse): Use correct AVX check.
4319 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4321 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
4322 bug in strncpy/strncat.
4323 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4325 2011-07-21 Ulrich Drepper <drepper@gmail.com>
4327 * string/tester.c (test_strcat): Add tests for different alignments
4328 of source and destination.
4329 (test_strncat): Likewise.
4331 2011-07-20 Ulrich Drepper <drepper@gmail.com>
4334 * posix/glob.c (glob): Check passed in values before using them in
4335 expressions to avoid some overflows.
4336 (glob_in_dir): Likewise.
4339 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
4340 check for AVX enablement so that we don't crash with old kernels and
4342 * elf/tst-audit4.c: Add same checks here.
4343 * elf/tst-audit6.c: Likewise.
4345 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
4347 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
4349 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
4351 2011-07-20 Ulrich Drepper <drepper@gmail.com>
4353 * po/cs.po: Update from translation team.
4354 * po/bg.po: Likewise.
4356 2011-07-12 Marek Polacek <mpolacek@redhat.com>
4358 * misc/sys/cdefs.h: Add support for const attribute.
4359 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
4360 to gnu_dev_{major,minor,makedev} functions.
4362 2011-07-20 Marek Polacek <mpolacek@redhat.com>
4364 * intl/dcigettext.c (get_output_charset): Add missing bracket.
4366 2011-07-20 Andreas Schwab <schwab@redhat.com>
4368 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
4371 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
4374 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
4375 register in order to avoid conflicts with the soft frame pointer
4376 being held in r11 when necessary.
4377 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
4378 (INTERNAL_VSYSCALL_NCS): Likewise.
4380 2011-07-14 Marek Polacek <mpolacek@redhat.com>
4382 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
4383 * elf/dl-fini.c (_dl_fini): Adjust caller.
4384 * elf/dl-close.c (_dl_close_worker): Likewise.
4385 * sysdeps/generic/ldsodefs.h: Adjust declaration.
4387 2011-07-15 Marek Polacek <mpolacek@redhat.com>
4389 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
4390 "aux_cache->nlibs < 0".
4392 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
4393 in the reload-count case.
4395 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4398 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
4399 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
4400 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
4401 * sysdeps/x86_64/multiarch/strcat.S: New file.
4402 * sysdeps/x86_64/multiarch/strncat.S: New file.
4403 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
4404 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
4405 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
4406 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
4407 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
4408 (USE_AS_STRCAT): Define.
4409 Add strcat and strncat support.
4410 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
4411 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4412 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
4413 * string/strncat.c: Update.
4414 (USE_AS_STRNCAT): Define.
4415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4416 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
4418 * sysdeps/x86_64/multiarch/init-arch.h
4419 (bit_Prefer_PMINUB_for_stringop): New.
4420 (index_Prefer_PMINUB_for_stringop): Likewise.
4421 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
4422 bit_Prefer_PMINUB_for_stringop.
4424 2011-07-19 Ulrich Drepper <drepper@gmail.com>
4426 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
4428 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
4429 of casting of buffer.
4430 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
4431 buffer32 and buffer64.
4432 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
4433 writes instead of casting of buffer.
4434 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
4436 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
4439 2011-07-19 Andreas Schwab <schwab@redhat.com>
4441 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
4443 2011-07-19 Ulrich Drepper <drepper@gmail.com>
4445 * nscd/nscd.c (termination_handler): Don't do anything for a database
4446 if it has not yet been initialized.
4448 2011-07-18 Ulrich Drepper <drepper@gmail.com>
4450 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
4452 2011-07-15 Marek Polacek <mpolacek@redhat.com>
4454 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
4456 2011-07-18 Ulrich Drepper <drepper@gmail.com>
4458 * po/nl.po: Update from translation team.
4459 * po/sv.po: Likewise.
4461 2011-07-16 Roland McGrath <roland@hack.frob.com>
4463 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
4464 now disallowed by GCC.
4466 * configure.in (use-default-link): Default to yes if a test -shared
4467 link meets our qualifications.
4468 * configure: Regenerated.
4470 * config.make.in (output-format): New variable.
4471 * configure.in: Check for ld --print-output-format support.
4472 * configure: Regenerated.
4473 * Makerules ($(common-objpfx)format.lds)
4474 [$(output-format) != unknown]: Just use $(output-format),
4475 instead of the linker-script munging.
4477 2011-07-14 Roland McGrath <roland@hack.frob.com>
4479 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
4480 of $(common-objpfx)shlib.lds.
4481 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
4483 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
4484 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
4486 * configure.in (-z relro check): Adjust test code to add a large
4487 writable data section after it.
4488 * configure: Regenerated.
4490 2011-07-11 Roland McGrath <roland@hack.frob.com>
4492 * configure.in (-z relro check): Fix test code to make the variable
4494 * configure: Regenerated.
4496 2011-07-11 Ulrich Drepper <drepper@gmail.com>
4498 * nscd/nscd.h (struct traced_file): Define.
4499 (struct database_dyn): Remove inotify_descr, reset_res, and filename
4500 elements. Add traced_files.
4501 (inotify_fd): Declare.
4502 (register_traced_file): Declare.
4503 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
4504 (inotify_fd): Export.
4505 (resolv_conf_descr): Remove.
4506 (nscd_init): Move inotify descriptor creation to main.
4507 Don't register files for notification here.
4508 (register_traced_file): New function.
4509 (invalidate_cache): Don't use reset_res to determine whether to call
4510 res_init, go through the list of registered files.
4511 (main_loop_poll): The inotify descriptors are now stored in the
4512 structures for the traced files.
4513 (main_loop_epoll): Likewise
4514 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
4515 to __nss_disable_nscd.
4516 * nscd/cache.c (prune_cache): There is no single inotify descriptor
4517 for a database anymore. Check the records for all the registered
4519 * nss/Makefile (libnss_files-routines): Add files-init.
4520 (libnss_db-routines): Add db-init.
4521 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
4522 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
4523 * nss/nss_db/db-init.c: New file.
4524 * nss/nss_files/files-init.c: New file.
4525 * nss/nsswitch.c (nss_load_library): New function. Broken out of
4526 __nss_lookup_function.
4527 (__nss_lookup_function): Call nss_load_library.
4528 (nss_load_all_libraries): New function.
4529 (__nss_disable_nscd): Take parameter with callback function for files
4530 to register. Set is_nscd. Load all the DSOs for the NSS modules
4531 used for the cached services.
4532 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
4533 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
4534 options for features to all the files in nscd.
4536 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
4538 2011-07-10 Roland McGrath <roland@hack.frob.com>
4540 * csu/elf-init.c (__libc_csu_init): Comment typo.
4542 2011-07-09 Ulrich Drepper <drepper@gmail.com>
4544 * po/pl.po: Update from translation team.
4545 * po/ja.po: Likewise.
4546 * po/ru.po: Likewise.
4547 * po/ko.po: Likewise.
4548 * po/fr.po: Likewise.
4550 2011-07-09 Roland McGrath <roland@hack.frob.com>
4552 * configure.in (.ctors/.dtors header and trailer check):
4553 Use an empirical test on a built program.
4554 * configure: Regenerated.
4556 * configure.in (-z relro check): Use an empirical test on a built DSO.
4557 Detect, but do not require, on ia64.
4558 * configure: Regenerated.
4560 * configure.in (READELF): Find it with AC_CHECK_TOOL.
4561 Update tests that use readelf to use $READELF instead.
4562 * configure: Regenerated.
4564 2011-07-08 Ulrich Drepper <drepper@gmail.com>
4566 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
4567 if the result is not used.
4569 2011-07-05 Andreas Jaeger <aj@suse.de>
4572 * stdlib/tst-strtod.c: Add testcase.
4574 2011-07-07 Ulrich Drepper <drepper@gmail.com>
4576 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
4577 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4578 The latter has a higher limit. Take additional parameter to pass to
4580 (__pathconf): Pass file to __statfs_link_max.
4581 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
4583 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
4587 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
4588 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4590 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
4591 (__statfs_filesize_max): Likewise.
4592 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
4594 2011-07-05 Andreas Jaeger <aj@suse.de>
4596 * resolv/res_comp.c (dn_skipname): Remove unused variable.
4598 2011-07-06 Marek Polacek <mpolacek@redhat.com>
4600 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
4602 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
4605 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
4607 * Makefile (strop-tests): Add strncat.
4608 * string/test-strncat.c: New file.
4610 2011-06-30 Marek Polacek <mpolacek@redhat.com>
4612 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
4614 2011-06-21 Andreas Jaeger <aj@suse.de>
4616 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
4617 Copy rule from iconvdata/Makefile.
4619 2011-07-06 Ulrich Drepper <drepper@gmail.com>
4622 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
4623 but no long options are defined, just return 'W'.
4625 2011-06-22 Marek Polacek <mpolacek@redhat.com>
4628 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
4630 2011-07-06 Ulrich Drepper <drepper@gmail.com>
4632 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
4634 (innetgr): Likewise.
4636 2011-07-05 Roland McGrath <roland@hack.frob.com>
4638 * config.make.in (install_root): Default to $(DESTDIR).
4640 2011-07-05 Ulrich Drepper <drepper@gmail.com>
4642 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
4644 2011-07-02 Roland McGrath <roland@hack.frob.com>
4646 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
4648 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
4649 containing directory rather than embedding absolute directory names.
4651 * scripts/check-local-headers.sh: Rewritten using awk.
4652 Match by word, not by line. Print error messages for matches.
4653 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
4655 * Makerules [shlib-lds-flags empty]:
4656 ($(common-objpfx)libc_pic.opts): New target.
4657 ($(common-objpfx)libc_pic.os.clean): New target.
4658 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
4660 * config.make.in (OBJCOPY): New variable.
4661 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
4662 * configure: Regenerated.
4664 * config.make.in (use-default-link): New variable.
4665 * configure.in (use_default_link): Grok --with-default-link to set it.
4666 * configure: Regenerated.
4667 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
4668 (shlib-lds, shlib-lds-flags): Define to empty.
4670 * Makerules (shlib-lds): New variable.
4671 (shlib-lds-flags): New variable.
4672 (build-shlib, build-moduile, build-module-asneeded): Use it.
4673 ($(common-objpfx)libc.so): Use $(shlib-lds).
4674 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
4675 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
4677 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
4678 DT_FLAGS/DT_FLAGS_1 with zero flags.
4680 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
4681 linker script munging.
4683 2011-07-02 Ulrich Drepper <drepper@gmail.com>
4685 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
4687 * crypt/sha512.c (sha512_process_block): Perform total addition using
4688 128-bit if possible.
4689 (__sha512_finish_ctx): Likewise.
4690 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
4692 * crypt/sha256.c (SWAP64): Define.
4693 (sha256_process_block): Perform total addition using 64-bit if
4695 (__sha256_finish_ctx): Likewise.
4697 2011-07-01 Ulrich Drepper <drepper@gmail.com>
4699 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
4700 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4701 * nscd/hstcache.c (cache_addhst): Likewise.
4702 * nscd/grpcache.c (cache_addgr): Likewise.
4703 * nscd/aicache.c (addhstaiX): Likewise
4704 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
4706 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
4708 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
4709 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4710 * nscd/hstcache.c (cache_addhst): Likewise.
4711 * nscd/grpcache.c (cache_addgr): Likewise.
4712 * nscd/aicache.c (addhstaiX): Likewise
4714 2011-07-01 Andreas Schwab <schwab@redhat.com>
4716 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
4717 domain only when needed.
4719 2011-06-30 Andreas Schwab <schwab@redhat.com>
4721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
4724 2011-06-29 Ulrich Drepper <drepper@gmail.com>
4726 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
4727 are re-adding the entry.
4728 * nscd/servicescache.c (cache_addserv): Likewise.
4730 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
4732 * sysdeps/generic/dl-irel.h: fix protection against multiple
4734 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
4736 2011-06-28 Ulrich Drepper <drepper@gmail.com>
4739 * malloc/memusage.sh: Fix quoting in message.
4740 * debug/xtrace.sh: Likewise.
4742 * configure.in: Remove support for --experimental-malloc option, make
4744 * config.make.in: Likewise.
4745 * malloc/Makefile: Likewise.
4747 2011-06-27 Andreas Schwab <schwab@redhat.com>
4749 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
4750 two-byte characters.
4752 2011-06-27 Roland McGrath <roland@hack.frob.com>
4754 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
4755 AC_CACHE_CHECK invocation.
4756 * configure: Regenerated.
4758 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
4760 2011-06-27 Ulrich Drepper <drepper@gmail.com>
4763 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
4764 bit from old_res_options.
4766 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
4768 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
4769 value type for setfct.
4771 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
4773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4774 __gettimeofday instead of gettimeofday.
4776 2011-06-26 Ulrich Drepper <drepper@gmail.com>
4778 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
4780 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
4782 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
4784 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
4787 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4790 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4791 strcpy-sse2-unaligned strncpy-sse2-unaligned
4792 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
4793 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
4794 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
4795 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
4796 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
4797 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
4798 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
4799 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
4800 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
4801 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
4802 (STRCPY): Support SSE2 and SSSE3 versions.
4804 2011-06-24 Ulrich Drepper <drepper@gmail.com>
4807 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
4808 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
4809 kernels which artificially limit size of requests.
4811 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
4813 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4814 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
4815 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
4816 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
4817 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
4818 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
4819 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
4820 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
4821 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
4822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
4823 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
4824 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
4825 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
4826 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
4827 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
4828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4829 Enable unaligned load optimization for Intel Core i3, i5 and i7
4831 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
4833 (index_Fast_Unaligned_Load): Define.
4834 (HAS_FAST_UNALIGNED_LOAD): Define.
4836 2011-06-23 Marek Polacek <mpolacek@redhat.com>
4838 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
4840 2011-06-22 Ulrich Drepper <drepper@gmail.com>
4843 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
4844 until it is clear that the information is realy needed.
4845 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
4847 2011-06-22 Andreas Schwab <schwab@redhat.com>
4849 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
4851 2011-06-22 Ulrich Drepper <drepper@gmail.com>
4853 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
4854 /sys/devices/system/cpu/online if it is usable.
4856 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
4857 reading the information from the /proc filesystem to once a second.
4859 2011-06-21 Andreas Jaeger <aj@suse.de>
4861 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
4862 NULL after inclusion of kernel headers.
4864 2011-06-21 Ulrich Drepper <drepper@gmail.com>
4866 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
4867 calls to internal_setent.
4870 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
4871 addresses using gethostbyname4_r ignore IPv4 addresses.
4873 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
4874 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
4876 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
4878 2011-06-20 David S. Miller <davem@davemloft.net>
4880 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
4882 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
4884 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
4886 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
4887 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
4888 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
4889 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
4890 * sysdeps/x86_64/dl-irel.h: Likewise.
4892 * elf/dl-runtime.c: Use elf_ifunc_invoke.
4893 * elf/dl-sym.c: Likewise.
4895 2011-06-15 Ulrich Drepper <drepper@gmail.com>
4897 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
4898 need to dereference resplen2.
4900 2011-06-14 Andreas Schwab <schwab@redhat.com>
4902 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
4904 2011-06-15 Ulrich Drepper <drepper@gmail.com>
4906 * Makeconfig: Define vardbdir and inst_vardbdir.
4907 * nss/Makefile: Add rules to install db-Makefile.
4909 * nss/nss_db/db-XXX.c: Cleanup.
4911 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
4912 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
4914 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
4915 * nss/makedb.c: Implement -g option to specify that value strings
4916 are generated and should not be added to table iterated over for
4918 * nss/nss_db/db-initgroups.c: New file.
4920 * nss/getent.c: Add support for initgroups lookups through getgrouplist
4923 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
4924 (internal_getgrouplist): Adjust to name change.
4925 Update use_initgroups_entry if this is not the first call.
4926 * nss/databases.def: Add initgroups entry.
4928 * nss/makedb.c (compute_tables): Check result of multiple hash table
4929 sizes to minimize maximum chain length.
4931 2011-06-14 Ulrich Drepper <drepper@gmail.com>
4933 * Versions.def: Add entry for libnss_db.
4934 * shlib-versions: Likewise.
4935 * nss/Makefile: Add rules to build libnss_db.
4936 * nss/Versions: Add libnss_db information. Organize libnss_files
4938 * nss/db-Makefile: Add gshadow support. Change rules for the new
4939 makedb progra. Some minor improvements to generate smaller files.
4940 * nss/nss_db/nss_db.h: Move NSS database header data structures to
4942 * nss/makedb.c: ...here.
4943 Improve database format to be smaller and require less memory at
4945 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
4947 * nss/nss_db/db-netgrp.c: Likewise.
4948 * nss/nss_db/db-open.c: Likewise.
4949 * nss/nss_files/flies-XXX.x: Adjust comments.
4950 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
4951 * nss/nss_files/files-grp.c: Likewise.
4952 * nss/nss_files/files-hosts.c: Likewise.
4953 * nss/nss_files/files-network.c: Likewise.
4954 * nss/nss_files/files-proto.c: Likewise.
4955 * nss/nss_files/files-pwd.c: Likewise.
4956 * nss/nss_files/files-rpc.c: Likewise.
4957 * nss/nss_files/files-service.c: Likewise.
4958 * nss/nss_files/files-sgrp.c: Likewise.
4959 * nss/nss_files/files-spwd.c: Likewise.
4960 * nss/nss_db/db-alias.c: Removed.
4961 * nss/nss_db/dummy-db.h: Removed.
4963 2011-06-02 Ulrich Drepper <drepper@gmail.com>
4965 * nss/makedb.c: Rewritten to not use database library.
4966 * nss/Makefile: Update to build new makedb program.
4968 2011-06-14 Andreas Jaeger <aj@suse.de>
4970 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
4973 2011-06-10 Andreas Schwab <schwab@redhat.com>
4975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
4978 2011-06-10 Roland McGrath <roland@hack.frob.com>
4980 * Makerules (shlib.lds): Fail if the linker script comes out empty.
4981 * elf/Makefile ($(objpfx)ld.so): Likewise.
4983 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
4984 Don't list ld.so twice in dependencies.
4986 * posix/bug-regex31.c: Include <stdlib.h>.
4988 * nscd/hstcache.c (cache_addhst): Remove unused variable.
4990 * nis/nss_compat/compat-spwd.c
4991 (getspent_next_nss_netgr): Remove unused variable.
4992 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
4994 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
4995 nonmembers" output to use the right array.
4997 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
4999 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
5001 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
5002 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
5003 * catgets/gencat.c (read_input_file): Likewise.
5004 * locale/programs/locarchive.c (enlarge_archive): Likewise.
5006 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
5007 variable definition inside #if's controlling its use.
5009 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
5011 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
5013 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
5015 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
5018 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
5020 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
5021 * configure: Regenerated.
5023 * Makerules: Revert last change.
5024 * elf/Makefile: Likewise.
5026 2011-06-09 Roland McGrath <roland@hack.frob.com>
5028 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
5029 * elf/Makefile ($(objpfx)librtld.os): Likewise.
5030 (reloc-link): Likewise.
5032 2011-06-09 Ulrich Drepper <drepper@gmail.com>
5034 * elf/Makefile: Add rules to build pldd.
5035 * elf/pldd.c: New file.
5036 * elf/pldd-xx.c: New file.
5038 2011-06-07 Ulrich Drepper <drepper@gmail.com>
5040 * version.h: Update for 2.15 development version.
5042 2011-06-07 David S. Miller <davem@davemloft.net>
5044 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
5046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
5047 elf_machine_lazy_rel): Likewise.
5048 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5049 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
5050 elf_machine_lazy_rel): Likewise.
5051 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
5052 dl_hwcap via passed in argument.
5053 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
5056 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5058 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
5060 2011-06-06 Roland McGrath <roland@hack.frob.com>
5063 * manual/fdl-1.1.texi: New file, verbatim from:
5064 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
5065 * manual/lgpl-2.1.texi: New file, verbatim from:
5066 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
5067 * manual/Makefile (licenses): New variable, list those new file names.
5069 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
5071 * manual/fdl.texi: File removed.
5072 * manual/lesser.texi: File removed.
5073 * manual/libc.texinfo (Copying, Documentation License):
5074 Use new @include file names, put @appendix directive before @include.
5076 2011-06-04 Jakub Jelinek <jakub@redhat.com>
5079 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
5080 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
5081 (mq_open): Add __NTH.
5083 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
5085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5086 Assume Intel Core i3/i5/i7 processor if AVX is available.
5088 2011-05-31 Ulrich Drepper <drepper@gmail.com>
5090 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
5093 2011-05-31 Andreas Schwab <schwab@redhat.com>
5095 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
5096 memory. Use alloca_account. Fix memory leak when retrying.
5098 2011-05-31 Ulrich Drepper <drepper@gmail.com>
5100 * version.h (RELEASE): Bump for 2.14 release.
5101 * include/features.h (__GLIBC_MINOR__): Bump to 14.
5103 * config.make.in (RANLIB): Remove entry.
5105 2011-05-30 Ulrich Drepper <drepper@gmail.com>
5107 * po/Makefile (po-sed-cmd): Add ksh to extensions.
5108 (libc.pot): Work around missing support for .ksh extension in xgettext.
5111 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
5112 if both request failed.
5113 (send_dg): In case of server errors clear resplen or *resplen2.
5116 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
5117 when there are multiple maps.
5118 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
5119 (_dl_fini): Remove test here.
5121 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
5123 2011-05-29 Ulrich Drepper <drepper@gmail.com>
5126 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
5127 bit from old_res_options.
5128 (gaih_inet): Likewise.
5131 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
5134 * resolv/res_init.c (res_setoptions): Make the code more compact.
5137 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
5141 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
5143 * malloc/malloc.h: Mark malloc hook variables as deprecated.
5146 * malloc/malloc.h: Declare malloc hook variables as volatile.
5148 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
5152 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
5153 raise in the comment.
5154 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5155 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5156 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
5158 2011-05-28 Ulrich Drepper <drepper@gmail.com>
5161 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
5162 grow the buffers more if it already has to be sufficient.
5163 (build_wcs_upper_buffer): Likewise.
5164 * posix/regexec.c (check_matching): Likewise.
5165 (clean_state_log_if_needed): Likewise.
5166 (extend_buffers): Don't enlarge buffers beyond size of the input
5168 Patches mostly by Emil Wojak <emil@wojak.eu>.
5169 * posix/bug-regex32.c: New file.
5170 * posix/Makefile (tests): Add bug-regex32.
5172 * locale/findlocale.c (_nl_find_locale): Return right away if
5173 _nl_explode_name failed.
5174 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
5176 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
5178 * debug/xtrace.sh: Unify messages.
5179 * malloc/memusage.sh: Likewise.
5182 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
5183 time symbol from vDSO. Substitute with vsyscall if not available.
5184 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
5187 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
5188 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
5189 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
5190 Add sendmmsg and internal_sendmmsg.
5191 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
5192 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
5193 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
5195 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
5196 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
5197 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
5199 2011-05-27 Ulrich Drepper <drepper@gmail.com>
5202 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
5203 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
5205 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
5209 * iconvdata/Makefile (tests): Add bug-iconv9.
5210 * iconvdata/bug-iconv9.c: New file.
5212 2011-05-27 Andreas Schwab <schwab@redhat.com>
5215 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
5217 2011-05-25 Jakub Jelinek <jakub@redhat.com>
5219 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
5220 (struct user_regs_struct): Change intcs field back to cs.
5222 2011-05-25 Ulrich Drepper <drepper@gmail.com>
5224 * po/ja.po: Update from translation team.
5226 2011-05-23 Ulrich Drepper <drepper@gmail.com>
5229 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
5230 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
5232 2011-05-20 Andreas Schwab <schwab@redhat.com>
5234 * stdlib/longlong.h: Update from GCC.
5236 2011-05-23 Andreas Schwab <schwab@redhat.com>
5238 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
5240 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
5242 (__sysconf): Pass it down.
5244 2011-05-22 Ulrich Drepper <drepper@gmail.com>
5247 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
5249 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5250 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
5251 add in in __libc_use_alloca calls. Adjust callers.
5252 (glob): Use malloc in some situations.
5254 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
5255 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
5258 2011-05-21 Ulrich Drepper <drepper@gmail.com>
5260 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
5261 and CLOCK_BOOTTIME_ALARM.
5264 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
5267 * string/_strerror.c (__strerror_r): Print negative errors as signed
5271 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
5272 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
5273 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
5275 * configure.in: Fix typo in redirection and correct removal of test
5279 * locale/setlocale.c (new_composite_name): Fix test to check for
5280 identical name of all categories.
5283 * libio/filedoalloc.c (local_isatty): New function.
5284 (_IO_file_doallocate): Use local_isatty.
5285 * stdio-common/perror.c (perror): In case a new stream is used
5286 forward the stream error.
5287 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
5290 2011-05-20 Ulrich Drepper <drepper@gmail.com>
5293 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
5295 * include/alloca.h (extend_alloca_account): Define.
5298 * posix/regex.h: Fix comments with documentation of user-accessible
5299 fields after compilation and describe correct free'ing of pattern
5300 after re_compile_pattern.
5301 Patch by Reuben Thomas <rrt@sc3d.org>.
5303 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
5305 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
5306 and -mno-altivec to prevent the compiler from using Altivec and/or
5307 VSX instructions when the corresponding registers are not available.
5309 2011-05-19 Andreas Schwab <schwab@redhat.com>
5311 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
5313 2011-05-19 Ulrich Drepper <drepper@gmail.com>
5315 * libio/freopen.c (freopen): Use __dup2, not dup2.
5316 * libio/freopen64.c (freopen64): Likewise.
5318 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
5321 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
5322 * math/Makefile (tests): Add test-powl.
5323 (CFLAGS-test-powl.c): Define.
5324 * math/test-powl.c: New file.
5326 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
5328 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
5330 2011-05-17 Ulrich Drepper <drepper@gmail.com>
5333 * iconvdata/gb18030.c: Update to GB18020-2005.
5335 2011-05-16 Ulrich Drepper <drepper@gmail.com>
5337 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
5338 RE_SYNTAX_POSIX_AWK): Update to match recent development.
5339 Patch by Aharon Robbins <arnold@skeeve.com>.
5342 * stdlib/putenv.c (putenv): Don't always create copy of the variable
5346 * misc/pselect.c (__pselect): Handle timeout value errors hidden
5350 * misc/error.c (error_at_line): Ensure file_name and old_file_name
5351 point to strings before performing equality test for error_one_per_line
5355 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
5358 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
5359 (struct user_fpregs_struct): Avoid __uint*_t types.
5362 * malloc/mtrace.c (tr_where): Add additional parameter to point to
5363 symbol info. Use it instead of calling _dl_addr locally.
5364 (lock_and_info): New function.
5365 (tr_freehook): Call lock_and_info and pass symbol info as additional
5366 parameter to tr_where.
5367 (tr_mallochook): Likewise.
5368 (tr_reallochook): Likewise.
5369 (tr_memalignhook): Likewise.
5371 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
5372 used and couldn't be at all thread-safe.
5374 2011-05-15 Ulrich Drepper <drepper@gmail.com>
5376 * libio/freopen.c (freopen): Don't close old file descriptor
5377 before the new one is opened. Instead dup the new file descriptor
5378 to the old one after the new stream is created.
5379 * libio/freopen64.c (freopen64): Likewise.
5380 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
5381 * libio/fileops.c (_IO_new_file_close_it): Handle new
5382 _IO_FLAGS2_NOCLOSE flag.
5383 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
5384 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
5385 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
5386 _IO_FLAGS2_NOCLOSE flag.
5387 * include/unistd.h: Add hidden_proto for dup3.
5389 * io/dup3.c: Define hidden symbol.
5390 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
5393 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
5394 when an incomplete long option is used.
5395 * posix/tst-getopt_long1.c: New file.
5396 * posix/Makefile (tests): Add tst-getopt_long1.
5399 * scripts/config.guess: Update from autoconf-2.68.
5400 * scripts/config.sub: Likewise.
5403 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
5405 (has_cpuclock): ...this. New function.
5406 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
5407 macro here based on has_cpuclock code.
5410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5411 First byte (not low byte) is now always NUL.
5412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
5414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5415 Use non-cancelable interfaces.
5418 * locale/iso-639.def: Add entry for Sorani.
5421 * include/stdlib.h: Move include protection to the right place.
5422 Define abort_msg_s. Declare __abort_msg with it.
5423 * stdlib/abort.c (__abort_msg): Adjust type.
5424 * assert/assert.c (__assert_fail_base): New function. Majority
5425 of code from __assert_fail. Allocate memory for __abort_msg with
5427 (__assert_fail): Now call __assert_fail_base.
5428 * assert/assert-perr.c: Remove bulk of implementation. Use
5430 * include/assert.hL Declare __assert_fail_base.
5431 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
5433 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
5435 2011-05-14 Ulrich Drepper <drepper@gmail.com>
5439 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
5440 until all modules are registered in the DTV.
5441 * elf/Makefile: Add rules to build and run tst-tls19.
5442 * elf/tst-tls19.c: New file.
5443 * elf/tst-tls19mod1.c: New file.
5444 * elf/tst-tls19mod2.c: New file.
5445 * elf/tst-tls19mod3.c: New file.
5446 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
5449 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
5453 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
5454 two-byte sequence errors.
5455 * iconvdata/Makefile (tests): Add bug-iconv8.
5456 * iconvdata/bug-iconv8.c: New file.
5459 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
5462 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
5465 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
5466 (dummy_getcfa): New function.
5467 (init): Get _Unwind_GetCFA address, use dummy if not found.
5468 (backtrace_helper): In recursion check, also check whether CFA changes.
5469 (__backtrace): Completely initialize arg.
5471 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
5472 storing incomplete byte sequence in state object. Avoid testing for
5473 guaranteed too small input if we know there is enough data available.
5475 2011-05-11 Andreas Schwab <schwab@redhat.com>
5477 * Makeconfig (+link-pie): Indent.
5478 * Rules (binaries-pie): Define if $(have-fpie) and
5480 (binaries-shared): Also filter out $(binaries-pie).
5481 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
5482 * nscd/Makefile (others-pie): Add nscd.
5483 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
5484 ($(objpfx)nscd): Remove command override.
5485 * login/Makefile (others-pie): Add pt_chown.
5486 ($(objpfx)pt_chown): Remove command override.
5487 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
5488 remove command overrides.
5490 2011-05-13 Ulrich Drepper <drepper@gmail.com>
5492 * libio/tst_putwc.c: Fix error messages.
5495 * libio/fileops.c (_IO_new_file_close_it): Always flush when
5496 currently writing and seek to current position when not.
5497 * libio/Makefile (tests): Add bug-fclose1.
5498 * libio/bug-fclose1.c: New file.
5500 2011-05-12 Ulrich Drepper <drepper@gmail.com>
5503 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
5504 don't set DF_1_NODELETE here.
5505 (do_lookup_x): When entering new entry test for copy relocation
5506 and if necessary set DF_1_NODELETE flag.
5507 * elf/tst-unique4.cc: New file.
5508 * elf/tst-unique4.h: New file.
5509 * elf/tst-unique4lib.cc: New file.
5510 * elf/Makefile: Add rules to build and run tst-unique4.
5511 Patch by Piotr Bury <pbury@goahead.com>.
5513 2011-05-11 Ulrich Drepper <drepper@gmail.com>
5516 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
5519 * misc/mntent_r.c (addmntent): Flush the stream after the output
5522 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
5523 (is_trusted_path_normalize): Skip initial colon. Append slash
5524 to empty buffer. Duplicate is_trusted_path code but allow
5525 constructed patch to be prefix.
5526 (is_dst): Allow $ORIGIN followed by /.
5527 (_dl_dst_substitute): Correct clearing of check_for_trusted.
5528 Correct testing of result of is_trusted_path_normalize
5529 (decompose_rpath): Fix warning.
5531 2011-05-10 Ulrich Drepper <drepper@gmail.com>
5534 * grp/initgroups.c (internal_getgrouplist): When we found the service
5535 list through the initgroups entry in nsswitch.conf do not always
5536 continue on a successful lookup. Don't always use the
5537 __nss_group_database value if it is set.
5538 * nss/nsswitch.conf (initgroups): Change action for successful db
5539 lookup to continue for compatibility.
5541 2011-05-09 Ulrich Drepper <drepper@gmail.com>
5544 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
5546 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
5548 * iconvdata/tst-tables.sh: Likewise.
5549 * iconvdata/cp770.c: New file.
5550 * iconvdata/cp771.c: New file.
5551 * iconvdata/cp772.c: New file.
5552 * iconvdata/cp773.c: New file.
5553 * iconvdata/cp774.c: New file.
5554 * iconvdata/testdata/CP770: New file.
5555 * iconvdata/testdata/CP770..UTF8: New file.
5556 * iconvdata/testdata/CP771: New file.
5557 * iconvdata/testdata/CP771..UTF8: New file.
5558 * iconvdata/testdata/CP772: New file.
5559 * iconvdata/testdata/CP772..UTF8: New file.
5560 * iconvdata/testdata/CP773: New file.
5561 * iconvdata/testdata/CP773..UTF8: New file.
5562 * iconvdata/testdata/CP774: New file.
5563 * iconvdata/testdata/CP774..UTF8: New file.
5565 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
5567 * iconvdata/gen-8bit-gap.sh: Likewise.
5568 * iconvdata/gen-8bit.sh: Likewise.
5570 * locale/iso-639.def: Add ary entry.
5573 * locale/C-translit.h.in: Add U20A1 transliteration.
5576 * locale/iso-639.def: Add wae entry.
5577 Patch by Kevin Bortis <bortis@translate-wae.ch>.
5580 * locale/programs/localedef.c (construct_output_path): Use ssize_t
5584 * locale/C-translit.h.in: Add entry for U20B9.
5585 Patch by pravin.d.s@gmail.com.
5587 2011-05-08 Ulrich Drepper <drepper@gmail.com>
5590 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
5591 ENAMETOOLONG use generic getcwd.
5592 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
5593 in rtld. Use *stat64.
5594 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
5595 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
5596 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
5597 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
5598 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
5599 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
5600 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
5602 * include/dirent.h: Add libc_hidden_proto for rewinddir.
5603 * dirent/rewinddir.c: Add libc_hidden_def.
5604 * sysdeps/mach/hurd/rewinddir.c: Likewise.
5605 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
5607 * include/dirent.h (__alloc_dir): Add flags parameter.
5608 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
5609 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
5611 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
5612 from fdopendir if O_CLOEXEC is already set.
5614 2011-03-15 Alan Modra <amodra@gmail.com>
5616 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
5617 l_tls_firstbyte_offset non-zero. Save padding offset in
5618 l_tls_firstbyte_offset for later use.
5619 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
5620 freeing static tls block.
5622 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
5624 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
5625 where #ifdef was intended. The intent is to prevent ARG_MAX from
5626 being defined by the kernel headers.
5628 2011-05-07 Ulrich Drepper <drepper@gmail.com>
5631 * resolv/resolv.h: Define RES_NOTLDQUERY.
5632 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
5633 no-tld-query and set RES_NOTLDQUERY.
5634 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
5635 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
5636 modern BIND to search name as TLD unless forbidden.
5638 2011-05-07 Petr Baudis <pasky@suse.cz>
5639 Ulrich Drepper <drepper@gmail.com>
5642 * elf/dl-load.c (fillin_rpath): Move trusted path check...
5643 (is_trusted_path): ...to here.
5644 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
5645 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
5646 using is_trusted_path_normalize() in setuid scripts.
5648 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5650 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
5651 __BEGIN/__END_DECLS.
5653 2011-05-06 Ulrich Drepper <drepper@gmail.com>
5655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
5656 NSS_STATUS_NOTFOUND if no record was found.
5658 2011-05-05 Andreas Schwab <schwab@redhat.com>
5660 * sunrpc/Makefile (headers): Add rpc/netdb.h.
5661 (headers-not-in-tirpc): Remove rpc/netdb.h
5662 * resolv/netdb.h: Revert last change.
5664 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5666 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
5667 circular dependency between libgcc.a and libc.a.
5669 2011-05-05 Andreas Schwab <schwab@redhat.com>
5671 * resolv/netdb.h: Don't include <rpc/netdb.h>.
5672 * nis/Makefile: Don't install rpcsvc/*.
5673 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
5674 instead of <rpc/types.h>.
5675 (MAXHOSTNAMELEN): Define.
5677 2011-05-03 Andreas Schwab <schwab@redhat.com>
5679 * elf/ldconfig.c (add_dir): Don't crash on empty path.
5681 2011-04-28 Maciej Babinski <mbabinski@google.com>
5684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
5685 gethostbyname4_r when IPv6 results are possible.
5687 2011-05-02 Ulrich Drepper <drepper@gmail.com>
5690 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
5691 _PC_PIPE_BUF handling.
5693 2011-04-30 Bruno Haible <bruno@clisp.org>
5696 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
5697 * resolv/netdb.h (getnameinfo): Change type of flags parameter
5699 * inet/getnameinfo.c (getnameinfo): Likewise.
5701 2011-04-29 Ulrich Drepper <drepper@gmail.com>
5703 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
5704 to groups setting in database lookup.
5705 * nss/nsswitch.conf: Add initgroups entry.
5707 2011-04-22 Ulrich Drepper <drepper@gmail.com>
5710 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
5712 Patch by Eric Blake <eblake@redhat.com>.
5714 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
5716 * sunrpc/Makefile (need-export-routines): Add svc_run.
5717 (routines): Remove svc_run.
5718 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
5719 * sunrpc/clnt_perr.c (clnt_perrno): Export.
5720 * sunrpc/svc_run.c (svc_run): Likewise.
5721 * sunrpc/svc_udp.c (svcudp_create): Likewise.
5723 2011-04-21 Ulrich Drepper <drepper@gmail.com>
5725 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
5726 problem in reallocation in last patch.
5728 2011-04-20 Ulrich Drepper <drepper@gmail.com>
5730 * sunrpc/Makefile: Move inclusion of Rules.
5732 2011-04-19 Ulrich Drepper <drepper@gmail.com>
5734 * nss/nss_files/files-initgroups.c: New file.
5735 * nss/Makefile (libnss_files-routines): Add files-initgroups.
5736 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
5737 _nss_files_initgroups_dyn.
5739 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
5741 * elf/elf.h (R_ARM_IRELATIVE): Define.
5743 2011-04-19 Ulrich Drepper <drepper@gmail.com>
5745 * po/ru.po: Update from translation team.
5747 2011-04-17 Ulrich Drepper <drepper@gmail.com>
5749 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
5752 2011-02-06 Mike Frysinger <vapier@gentoo.org>
5755 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
5756 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
5757 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5758 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5759 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5761 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
5763 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
5765 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5766 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5767 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5769 2011-04-17 Ulrich Drepper <drepper@gmail.com>
5772 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
5774 * stdlib/bug-getcontext.c: New file.
5775 * stdlib/Makefile: Add rules to build and run bug-getcontext.
5777 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5779 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
5780 instructions into .machine "z9-109".
5781 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5782 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5784 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5786 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
5787 between environment variables and auxiliary vector.
5789 2011-04-16 Ulrich Drepper <drepper@gmail.com>
5791 * Makefile: Add rules to build linkobj/libc.so.
5792 * include/libc-symbols.h: Define libc_hidden_nolink.
5793 * include/rpc/auth.h: Mark functions which are to be hidden.
5794 * include/rpc/auth_des.h: Likewise.
5795 * include/rpc/auth_unix.h: Likewise.
5796 * include/rpc/clnt.h: Likewise.
5797 * include/rpc/des_crypt.h: Likewise.
5798 * include/rpc/key_prot.h: Likewise.
5799 * include/rpc/pmap_clnt.h: Likewise.
5800 * include/rpc/pmap_prot.h: Likewise.
5801 * include/rpc/pmap_rmt.h: Likewise.
5802 * include/rpc/rpc_msg.h: Likewise.
5803 * include/rpc/svc.h: Likewise.
5804 * include/rpc/svc_auth.h: Likewise.
5805 * include/rpc/xdr.h: Likewise.
5806 * nis/Makefile: Link all DSOs against linkobj/libc.so.
5807 * nss/Makefile: Likewise.
5808 * sunrpc/Makefile: Don't install headers. Build library with normal
5809 entry points. Don't build rpcinfo. Link RPC tests appropriately.
5810 * sunrpc/auth_des.c: Hide exported symbols by default, export some
5811 for the compat linking library. Remove use of INTDEF/INTUSE.
5812 * sunrpc/auth_none.c: Likewise.
5813 * sunrpc/auth_unix.c: Likewise.
5814 * sunrpc/authdes_prot.c: Likewise.
5815 * sunrpc/authuxprot.c: Likewise.
5816 * sunrpc/clnt_gen.c: Likewise.
5817 * sunrpc/clnt_perr.c: Likewise.
5818 * sunrpc/clnt_raw.c: Likewise.
5819 * sunrpc/clnt_simp.c: Likewise.
5820 * sunrpc/clnt_tcp.c: Likewise.
5821 * sunrpc/clnt_udp.c: Likewise.
5822 * sunrpc/clnt_unix.c: Likewise.
5823 * sunrpc/des_crypt.c: Likewise.
5824 * sunrpc/des_soft.c: Likewise.
5825 * sunrpc/get_myaddr.c: Likewise.
5826 * sunrpc/key_call.c: Likewise.
5827 * sunrpc/key_prot.c: Likewise.
5828 * sunrpc/netname.c: Likewise.
5829 * sunrpc/pm_getmaps.c: Likewise.
5830 * sunrpc/pm_getport.c: Likewise.
5831 * sunrpc/pmap_clnt.c: Likewise.
5832 * sunrpc/pmap_prot.c: Likewise.
5833 * sunrpc/pmap_prot2.c: Likewise.
5834 * sunrpc/pmap_rmt.c: Likewise.
5835 * sunrpc/publickey.c: Likewise.
5836 * sunrpc/rpc_cmsg.c: Likewise.
5837 * sunrpc/rpc_common.c: Likewise.
5838 * sunrpc/rpc_dtable.c: Likewise.
5839 * sunrpc/rpc_prot.c: Likewise.
5840 * sunrpc/rpc_thread.c: Likewise.
5841 * sunrpc/rtime.c: Likewise.
5842 * sunrpc/svc.c: Likewise.
5843 * sunrpc/svc_auth.c: Likewise.
5844 * sunrpc/svc_authux.c: Likewise.
5845 * sunrpc/svc_raw.c: Likewise.
5846 * sunrpc/svc_run.c: Likewise.
5847 * sunrpc/svc_simple.c: Likewise.
5848 * sunrpc/svc_tcp.c: Likewise.
5849 * sunrpc/svc_udp.c: Likewise.
5850 * sunrpc/svc_unix.c: Likewise.
5851 * sunrpc/svcauth_des.c: Likewise.
5852 * sunrpc/xcrypt.c: Likewise.
5853 * sunrpc/xdr.c: Likewise.
5854 * sunrpc/xdr_array.c: Likewise.
5855 * sunrpc/xdr_float.c: Likewise.
5856 * sunrpc/xdr_intXX_t.c: Likewise.
5857 * sunrpc/xdr_mem.c: Likewise.
5858 * sunrpc/xdr_rec.c: Likewise.
5859 * sunrpc/xdr_ref.c: Likewise.
5860 * sunrpc/xdr_sizeof.c: Likewise.
5861 * sunrpc/xdr_stdio.c: Likewise.
5863 2011-04-10 Ulrich Drepper <drepper@gmail.com>
5866 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
5867 * sysdeps/ia64/dl-tls.h: Likewise.
5868 * sysdeps/powerpc/dl-tls.h: Likewise.
5869 * sysdeps/s390/dl-tls.h: Likewise.
5870 * sysdeps/sh/dl-tls.h: Likewise.
5871 * sysdeps/sparc/dl-tls.h: Likewise.
5872 * sysdeps/x86_64/dl-tls.h: Likewise.
5873 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
5875 2011-03-14 Andreas Schwab <schwab@redhat.com>
5877 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
5878 rpath element also skip the following colon.
5879 (expand_dynamic_string_token): Add is_path parameter and pass
5880 down to DL_DST_REQUIRED and _dl_dst_substitute.
5881 (decompose_rpath): Call expand_dynamic_string_token with
5882 non-zero is_path. Ignore empty rpaths.
5883 (_dl_map_object_from_fd): Call expand_dynamic_string_token
5886 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
5888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5891 2011-04-09 Ulrich Drepper <drepper@gmail.com>
5894 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
5895 Patch by Filipe David Manana <fdmanana@apache.org>.
5897 2011-04-07 Andreas Schwab <schwab@redhat.com>
5899 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
5900 Maintain aligned stack.
5901 (CHECK_RSP): Remove unused macro.
5903 2011-04-03 Ulrich Drepper <drepper@gmail.com>
5905 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
5906 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
5908 2011-04-02 Ulrich Drepper <drepper@gmail.com>
5910 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
5912 * include/features.h: Mention __USE_XOPEN2K8 in comment.
5914 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
5917 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
5918 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
5919 * sysdeps/x86_64/memmove.c: New file.
5920 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
5921 (memcpy): Renamed to ...
5922 (__new_memcpy): This.
5923 (memcpy): Provide GLIBC_2_14 memcpy.
5924 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
5925 (memcpy): Provide GLIBC_2_2_5 memcpy.
5927 2011-04-01 Ulrich Drepper <drepper@gmail.com>
5930 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
5932 2011-03-30 Andreas Schwab <schwab@redhat.com>
5934 * misc/syncfs.c: New file.
5935 * misc/Makefile (routines): Add syncfs.
5936 * posix/unistd.h: Declare syncfs.
5937 * sysdeps/unix/syscalls.list: Add syncfs.
5939 2011-04-01 Andreas Schwab <schwab@redhat.com>
5941 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
5943 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5944 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5945 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5947 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5948 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5949 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5951 2011-04-01 Ulrich Drepper <drepper@gmail.com>
5953 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
5954 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
5955 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
5956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5957 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5959 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5961 * io/Makefile: Compile fallocate.c, fallocate64.c, and
5962 sync_file_range.c with -fexceptions.
5963 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
5964 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
5965 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
5966 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
5967 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5968 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
5970 sync_file_range as cancellation point
5971 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
5972 now a wrapper around __call_sync_file_range with cancellation handling.
5973 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
5974 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
5975 function name to __call_sync_file_range.
5976 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
5977 Add call_sync_file_range.
5979 2011-04-01 Andreas Schwab <schwab@redhat.com>
5981 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5984 2011-04-01 Ulrich Drepper <drepper@gmail.com>
5986 * iconv/iconv.h: Fix typo in comment.
5987 * io/fcntl.h: Likewise.
5988 * libio/stdio.h: Likewise.
5989 * posix/spawn.h: Likewise.
5990 * posix/unistd.h: Likewise.
5991 * stdlib/stdlib.h: Likewise.
5992 * time/time.h: Likewise.
5993 * wcsmbs/wchar.h: Likewise.
5995 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
5996 open_by_handle): Add.
5997 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
5998 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
5999 Augment a few comments.
6000 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
6001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6002 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
6003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6004 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
6005 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
6008 * io/fcntl.h (AT_EMPTY_PATH): Define.
6010 2011-03-30 Ulrich Drepper <drepper@gmail.com>
6012 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
6013 * sysdeps/unix/sysv/linux/bits/time.h: New file.
6014 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
6016 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
6017 * Versions.def: Add GLIBC_2.14.
6018 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
6021 2011-03-22 Ulrich Drepper <drepper@gmail.com>
6023 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
6025 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6027 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
6030 * string/test-strncmp.c (do_page_test): New function.
6032 (test_main): Call check2.
6033 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
6035 2011-03-20 Ulrich Drepper <drepper@gmail.com>
6038 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
6039 Handle cache information in CPU leaf 4.
6040 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
6042 2011-03-18 Ulrich Drepper <drepper@gmail.com>
6045 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
6046 character representation.
6047 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
6049 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
6051 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
6052 END(__isnan) to END(__isnanf) to match function entry point/label
6053 EALIGN(__isnanf,...).
6055 2011-03-10 Jakub Jelinek <jakub@redhat.com>
6057 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
6059 2011-03-10 Ulrich Drepper <drepper@gmail.com>
6062 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
6063 copy from the symbol referenced in the relocation to initialize the
6065 Patch by Piotr Bury <pbury@goahead.com>.
6066 * elf/Makefile: Add rules to build and tst-unique3.
6067 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
6068 * elf/tst-unique3.cc: New file.
6069 * elf/tst-unique3.h: New file.
6070 * elf/tst-unique3lib.cc: New file.
6071 * elf/tst-unique3lib2.cc: New file.
6073 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
6075 2011-03-10 Mike Frysinger <vapier@gentoo.org>
6077 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
6078 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
6081 2011-03-06 Ulrich Drepper <drepper@gmail.com>
6083 * elf/dl-load.c (_dl_map_object): If we are looking for the first
6084 to-be-loaded object along a path to loader is ld.so.
6086 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
6087 Ulrich Drepper <drepper@gmail.com>
6089 * sysdeps/x86_64/memset.S: After aligning destination, code
6090 branches to different locations depending on the value of
6091 misalignment, when multiarch is enabled. Fix this.
6093 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
6095 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
6096 Set _x86_64_preferred_memory_instruction for AMD processsors.
6097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6098 Set bit_Prefer_SSE_for_memop for AMD processors.
6100 2011-03-04 Ulrich Drepper <drepper@gmail.com>
6102 * libio/fmemopen.c (fmemopen): Optimize a bit.
6104 2011-03-03 Andreas Schwab <schwab@redhat.com>
6106 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
6108 2011-03-03 Roland McGrath <roland@redhat.com>
6110 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
6112 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
6114 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
6115 __bzero_ultra1 instead of __memset_ultra1.
6117 2011-02-23 Andreas Schwab <schwab@redhat.com>
6118 Ulrich Drepper <drepper@gmail.com>
6121 * include/link.h (struct link_map): Add l_orig_initfini.
6122 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
6123 returning unsuccessfully.
6124 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
6125 close of a file loaded at startup, restore the original l_initfini
6127 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
6128 list, store the pointer.
6129 * elf/Makefile ($(objpfx)noload-mem): New rule.
6130 (noload-ENV): Define.
6131 (tests): Add $(objpfx)noload-mem.
6132 * elf/noload.c: Include <memcheck.h>.
6133 (main): Call mtrace. Close all opened handles.
6135 2011-02-17 Andreas Schwab <schwab@redhat.com>
6138 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
6139 dependencies are missing.
6141 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6143 Fix __if_freereq crash: Unlike the generic version which uses free,
6145 * sysdeps/mach/hurd/ifreq.h: New file.
6147 2011-01-27 Petr Baudis <pasky@suse.cz>
6148 Ulrich Drepper <drepper@gmail.com>
6151 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
6153 * stdio-common/bug23.c: New file.
6154 * stdio-common/Makefile (tests): Add bug23.
6156 2010-09-28 Andreas Schwab <schwab@redhat.com>
6157 Ulrich Drepper <drepper@gmail.com>
6160 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
6161 before performing relro protection. At old place add assertion
6162 to make sure nothing changed.
6164 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
6165 Glauber de Oliveira Costa <glommer@gmail.com>
6167 * elf/elf.h: Add new ARM TLS relocs.
6169 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
6171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6172 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
6174 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
6176 * sysdeps/wordsize-64/tst-writev.c: New file.
6178 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
6180 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
6181 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
6182 insns in _dl_start to prevent a TOC reference before relocs are
6185 2011-02-15 Ulrich Drepper <drepper@gmail.com>
6188 * Makeconfig: Remove RANLIB definition.
6189 * Makerules: Don't use RANLIB.
6190 * aclocal.m4: Remove ranlib test.
6191 * configure.in: No need to check for ranlib.
6192 * elf/rtld-Rules: Don't use RANLIB.
6194 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6196 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
6198 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
6199 inclusion protection macro.
6201 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
6202 SIGRTMIN and SIGRTMAX and print information in that case only when
6203 SIGRTMIN is defined.
6205 2011-02-11 Jakub Jelinek <jakub@redhat.com>
6207 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
6208 arginfo fn returning -1.
6210 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
6211 and thousands string is zero terminated.
6213 2011-02-03 Andreas Schwab <schwab@redhat.com>
6215 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
6216 sysdeps/unix/sysv/linux/bits/socket.h.
6218 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6220 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
6221 (__CPU_COUNT): Remove old macros.
6222 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
6223 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
6224 (__CPU_ALLOC, __CPU_FREE): Add macros.
6225 (__sched_cpualloc, __sched_cpufree): Add declarations.
6227 2011-02-05 Ulrich Drepper <drepper@gmail.com>
6229 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
6230 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
6231 * nscd/aicache.c (addhstaiX): Return timeout of added value.
6232 (readdhstai): Return value of addhstaiX call.
6233 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
6234 (addgrbyX): Return value returned by cache_addgr.
6235 (readdgrbyname): Return value returned by addgrbyX.
6236 (readdgrbygid): Likewise.
6237 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
6238 (addpwbyX): Return value returned by cache_addpw.
6239 (readdpwbyname): Return value returned by addhstbyX.
6240 (readdpwbyuid): Likewise.
6241 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
6242 (addservbyX): Return value returned by cache_addserv.
6243 (readdservbyname): Return value returned by addservbyX:
6244 (readdservbyport): Likewise.
6245 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
6246 (addhstbyX): Return value returned by cache_addhst.
6247 (readdhstbyname): Return value returned by addhstbyX.
6248 (readdhstbyaddr): Likewise.
6249 (readdhstbynamev6): Likewise.
6250 (readdhstbyaddrv6): Likewise.
6251 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
6252 (readdinitgroups): Return value returned by addinitgroupsX.
6253 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
6254 (prune_cache): Keep track of timeout value of re-added entries.
6255 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
6256 * nscd/nscd.h: Adjust prototypes of readd* functions.
6258 2011-02-04 Roland McGrath <roland@redhat.com>
6260 * nis/nis_server.c (nis_servstate): Use the right name for 0.
6261 (nis_stats): Likewise.
6262 * nis/nis_modify.c (nis_modify): Likewise.
6263 * nis/nis_remove.c (nis_remove): Likewise.
6264 * nis/nis_add.c (nis_add): Likewise.
6266 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
6268 * posix/fnmatch_loop.c: Add some consts.
6270 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
6272 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
6275 * config.make.in (config-cflags-novzeroupper): Define.
6276 * configure.in: Substitute libc_cv_cc_novzeroupper.
6277 * elf/Makefile (AVX-CFLAGS): Define.
6278 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
6279 (CFLAGS-tst-auditmod4a.c): Likewise.
6280 (CFLAGS-tst-auditmod4b.c): Likewise.
6281 (CFLAGS-tst-auditmod6b.c): Likewise.
6282 (CFLAGS-tst-auditmod6c.c): Likewise.
6283 (CFLAGS-tst-auditmod7b.c): Likewise.
6284 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
6286 2011-02-02 Ulrich Drepper <drepper@gmail.com>
6288 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
6289 function to the callback.
6290 Patch partly by Jiri Olsa <jolsa@redhat.com>.
6292 2011-02-02 Andreas Schwab <schwab@redhat.com>
6294 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
6297 2011-01-19 Ulrich Drepper <drepper@gmail.com>
6300 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
6302 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
6304 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
6307 * elf/Makefile: Add rules to build and run new test.
6308 * elf/tst-initorder.c: New file.
6309 * elf/tst-initorder.exp: New file.
6310 * elf/tst-initordera1.c: New file.
6311 * elf/tst-initordera2.c: New file.
6312 * elf/tst-initordera3.c: New file.
6313 * elf/tst-initordera4.c: New file.
6314 * elf/tst-initorderb1.c: New file.
6315 * elf/tst-initorderb2.c: New file.
6316 * elf/tst-order-a1.c: New file.
6317 * elf/tst-order-a2.c: New file.
6318 * elf/tst-order-a3.c: New file.
6319 * elf/tst-order-a4.c: New file.
6320 * elf/tst-order-b1.c: New file.
6321 * elf/tst-order-b2.c: New file.
6322 * elf/tst-order-main.c: New file.
6323 New test case by George Gensure <werkt0@gmail.com>.
6325 2010-10-01 Andreas Schwab <schwab@redhat.com>
6327 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6328 decoding ACE if AI_CANONIDN.
6330 2011-01-18 Ulrich Drepper <drepper@gmail.com>
6332 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
6334 2011-01-17 Ulrich Drepper <drepper@gmail.com>
6336 * version.h (RELEASE): Bump for 2.13 release.
6337 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
6339 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
6341 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
6343 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
6344 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
6345 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6346 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6347 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6348 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6350 * posix/getconf.c: Update copyright year.
6351 * catgets/gencat.c: Likewise.
6352 * csu/version.c: Likewise.
6353 * debug/catchsegv.sh: Likewise.
6354 * debug/xtrace.sh: Likewise.
6355 * elf/ldconfig.c: Likewise.
6356 * elf/ldd.bash.in: Likewise.
6357 * elf/sprof.c (print_version): Likewise.
6358 * iconv/iconv_prog.c: Likewise.
6359 * iconv/iconvconfig.c: Likewise.
6360 * locale/programs/locale.c: Likewise.
6361 * locale/programs/localedef.c: Likewise.
6362 * malloc/memusage.sh: Likewise.
6363 * malloc/mtrace.pl: Likewise.
6364 * nscd/nscd.c (print_version): Likewise.
6365 * nss/getent.c: Likewise.
6367 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
6368 PF_CAIF, and PF_ALG.
6369 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6371 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
6373 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
6374 (modules-names): Use them.
6375 (ifunc-test-modules, ifunc-pie-tests): Define.
6376 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
6377 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
6378 (test-extras): Likewise.
6379 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
6380 $(compile-command.c).
6381 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
6382 (all-built-dso): Define.
6383 (check-textrel.out, check-execstack.out): Depend on it.
6385 * configure.in: Don't override --enable-multi-arch.
6387 2011-01-15 Ulrich Drepper <drepper@gmail.com>
6390 * nscd/hstcache.c (tryagain): Define.
6391 (cache_addhst): Return tryagain not notfound for temporary errors.
6392 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
6395 2011-01-14 Ulrich Drepper <drepper@gmail.com>
6398 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
6399 to make the syscall.
6400 * sysdeps/unix/sysv/linux/setgroups.c: New file.
6403 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
6404 and fall back to matching as normal character if the string ends before
6405 the matching ']' is found. This is what POSIX requires.
6406 * posix/testfnm.c: Adjust test result.
6407 * posix/globtest.sh: Adjust test result. Add new test.
6408 * posix/tst-fnmatch.input: Likewise.
6409 * posix/tst-fnmatch2.c: Add new test.
6411 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
6413 * elf/Makefile (check-execstack): Revert last change. Depend on
6415 (check-execstack.h): New target.
6416 (generated): Add check-execstack.h.
6417 * elf/check-execstack.c: Include "check-execstack.h".
6418 (main): Revert last change.
6419 (handle_file): Return zero if GNU_STACK is absent and
6420 DEFAULT_STACK_PERMS doesn't include PF_X.
6422 2011-01-13 Ulrich Drepper <drepper@gmail.com>
6424 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
6425 in child fails because the descriptor is already closed.
6426 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
6427 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
6428 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6431 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
6435 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
6436 temporary buffer used to handle multi lookups locally.
6437 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
6439 2011-01-12 Ulrich Drepper <drepper@gmail.com>
6441 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
6444 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
6446 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
6449 2011-01-12 Ulrich Drepper <drepper@gmail.com>
6452 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
6453 characters. When rounding increased number of integer digits recompute
6455 * stdio-common/tst-grouping.c: New file.
6456 * stdio-common/Makefile: Add rules to build and run tst-grouping.
6458 2011-01-09 Ulrich Drepper <drepper@gmail.com>
6460 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
6461 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
6463 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
6465 * bits/select.h: Likewise.
6467 2011-01-08 Ulrich Drepper <drepper@gmail.com>
6469 * po/ja.po: Update from translation team.
6471 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
6474 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
6475 implementation just like for lxstat, fxstatat, et al.
6477 2010-12-27 Jim Meyering <meyering@redhat.com>
6480 * posix/regexec.c (build_trtable): Return failure indication upon
6481 calloc failure. Otherwise, re_search_internal could infloop on OOM.
6483 2010-12-25 Ulrich Drepper <drepper@gmail.com>
6486 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
6487 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
6488 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
6489 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
6492 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
6495 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
6496 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
6498 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
6500 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
6501 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
6502 script has SORT_BY_INIT_PRIORITY.
6503 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
6504 NO_CTORS_DTORS_SECTIONS is defined.
6505 * elf/soinit.c: Likewise.
6506 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
6507 NO_CTORS_DTORS_SECTIONS is defined.
6508 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6509 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
6510 * sysdeps/sh/init-first.c: Likewise.
6511 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
6513 2010-12-24 Ulrich Drepper <drepper@gmail.com>
6515 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
6516 always use the slow path.
6518 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
6520 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
6521 similar rule which adds the sysdep directories to the header search in
6522 order to pick up the correct platform stackinfo.h.
6523 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
6524 perform test if it is, otherwise return successfully without testing.
6525 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
6526 DEFAULT_STACK_PERMS define in stackinfo.h.
6527 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
6528 defined in stackinfo.h.
6529 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
6530 DEFAULT_STACK_PERMS defined in stackinfo.h.
6531 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
6532 * sysdeps/ia64/stackinfo.h: Likewise.
6533 * sysdeps/s390/stackinfo.h: Likewise.
6534 * sysdeps/sh/stackinfo.h: Likewise.
6535 * sysdeps/sparc/stackinfo.h: Likewise.
6536 * sysdeps/x86_64/stackinfo.h: Likewise.
6537 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
6538 PF_X for powerpc64. Retain PF_X for powerpc32.
6540 2010-12-19 Ulrich Drepper <drepper@gmail.com>
6542 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
6544 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
6545 GETDENTS_64BIT_ALIGNED.
6547 2010-12-14 Ulrich Drepper <dreper@gmail.com>
6549 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
6551 2010-12-10 Andreas Schwab <schwab@redhat.com>
6553 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
6556 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
6557 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
6559 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
6560 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
6562 2010-12-09 Ulrich Drepper <drepper@gmail.com>
6565 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
6568 2010-12-09 Jakub Jelinek <jakub@redhat.com>
6570 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
6572 2010-12-03 Ulrich Drepper <drepper@gmail.com>
6574 * po/it.po: Update from translation team.
6576 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
6578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
6581 2010-11-30 Ulrich Drepper <drepper@gmail.com>
6583 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
6585 2010-11-24 Andreas Schwab <schwab@redhat.com>
6587 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
6589 (gaih_getanswer_slice): Likewise.
6591 2010-10-20 Jakub Jelinek <jakub@redhat.com>
6593 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
6595 2010-05-31 Petr Baudis <pasky@suse.cz>
6598 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
6599 silently even in the chroot mode.
6601 2010-11-22 Ulrich Drepper <drepper@gmail.com>
6603 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
6604 last patch a bit. Pretty printing
6606 2010-05-31 Petr Baudis <pasky@suse.cz>
6609 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
6610 initialization of skip_initgroups_dyn.
6612 2010-11-19 Ulrich Drepper <drepper@gmail.com>
6614 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
6615 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
6617 2010-11-16 Ulrich Drepper <drepper@gmail.com>
6619 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
6621 2010-11-11 Andreas Schwab <schwab@redhat.com>
6623 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
6624 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
6625 (tst-fnmatch-ENV): Set MALLOC_TRACE.
6626 ($(objpfx)tst-fnmatch-mem): New rule.
6627 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
6628 * posix/tst-fnmatch.c (main): Call mtrace.
6630 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
6632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6633 Support Intel processor model 6 and model 0x2c.
6635 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
6637 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
6640 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
6643 * string/test-strncasecmp.c (check_result): New function.
6644 (do_one_test): Use it.
6645 (check1): New function.
6646 (test_main): Use it.
6647 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
6648 Support strcasecmp and strncasecmp.
6650 2010-11-08 Ulrich Drepper <drepper@gmail.com>
6653 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
6654 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6656 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
6658 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
6660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6662 * sysdeps/x86_64/multiarch/bzero.S: New file.
6663 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
6664 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
6665 * sysdeps/x86_64/multiarch/memset.S: New file.
6666 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
6667 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6668 Set bit_Prefer_SSE_for_memop for Intel processors.
6669 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
6671 (index_Prefer_SSE_for_memop): Define.
6672 (HAS_PREFER_SSE_FOR_MEMOP): Define.
6674 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
6676 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
6677 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
6679 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
6682 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6683 (__x86_64_raw_data_cache_size_half): Likewise.
6684 (__x86_64_raw_shared_cache_size): Likewise.
6685 (__x86_64_raw_shared_cache_size_half): Likewise.
6687 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
6688 (__x86_64_raw_data_cache_size_half): Likewise.
6689 (__x86_64_raw_shared_cache_size): Likewise.
6690 (__x86_64_raw_shared_cache_size_half): Likewise.
6691 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
6692 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
6693 and __x86_64_raw_shared_cache_size_half. Round
6694 __x86_64_data_cache_size_half, __x86_64_data_cache_size
6695 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
6696 to multiple of 256 bytes.
6698 2010-11-03 Ulrich Drepper <drepper@gmail.com>
6701 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
6702 of inacessible symlinks. Verify result of symlink before returning it.
6703 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6704 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
6706 2010-10-28 Erich Ritz <erichritz@gmail.com>
6708 * math/math.h (isinf): Fix typo in comment.
6710 2010-11-01 Ulrich Drepper <drepper@gmail.com>
6712 * po/da.po: Update from translation team.
6714 2010-10-26 Ulrich Drepper <drepper@gmail.com>
6716 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
6717 is added to the list.
6719 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6720 Ulrich Drepper <drepper@gmail.com>
6722 * elf/dl-object.c (_dl_new_object): Don't append the new object to
6723 the global list here. Move code to...
6724 (_dl_add_to_namespace_list): ...here. New function.
6725 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
6726 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
6727 * elf/dl-load.c (lose): Don't remove the element from the list.
6728 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
6729 (_dl_map_object): Likewise.
6731 2010-10-25 Ulrich Drepper <drepper@gmail.com>
6734 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
6735 into all bytes of SSE register.
6736 Patch by Richard Li <richardpku@gmail.com>.
6738 2010-10-24 Ulrich Drepper <drepper@gmail.com>
6741 * malloc/malloc.c (_int_free): Fill correct number of bytes when
6744 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
6746 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
6747 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
6748 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
6749 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
6752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
6754 2010-10-22 Andreas Schwab <schwab@redhat.com>
6756 * include/dlfcn.h (__RTLD_SECURE): Define.
6757 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
6758 mode & __RTLD_SECURE instead.
6759 (open_path): Rename preloaded parameter to secure.
6760 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
6761 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
6762 * elf/dl-deps.c (openaux): Likewise.
6763 * elf/rtld.c (struct map_args): Remove is_preloaded.
6764 (map_doit): Don't use it.
6765 (dl_main): Likewise.
6766 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
6767 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
6769 2010-09-09 Andreas Schwab <schwab@redhat.com>
6771 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
6772 (sysd-rules-targets): Remove duplicates.
6773 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
6774 rtld-%.$o dependency.
6776 2010-10-18 Andreas Schwab <schwab@redhat.com>
6778 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
6779 _dl_map_object do it.
6781 2010-10-19 Ulrich Drepper <drepper@gmail.com>
6783 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
6784 fast fma builtins, define the macros in the C99 standard.
6785 (FP_FAST_FMAF): Likewise.
6786 (FP_FAST_FMAL): Likewise.
6787 * sysdeps/x86_64/bits/mathdef.h: Likewise.
6789 * bits/mathdef.h: Update copyright year.
6790 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6792 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
6794 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
6795 builtins, define the macros in the C99 standard.
6796 (FP_FAST_FMAF): Likewise.
6797 (FP_FAST_FMAL): Likewise.
6798 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
6800 (FP_FAST_FMAF): Likewise.
6802 2010-10-15 Jakub Jelinek <jakub@redhat.com>
6805 * math/libm-test.inc (fma_test): Some new testcases.
6806 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
6807 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
6808 y and infinite z. Do multiplication by C already in long double.
6809 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
6810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
6811 y and infinite z. Do bitwise or of inexact bit into u.d.
6812 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
6813 * sysdeps/i386/fpu/s_fmaf.S: Removed.
6814 * sysdeps/i386/fpu/s_fma.S: Removed.
6815 * sysdeps/i386/fpu/s_fmal.S: Removed.
6817 2010-10-16 Jakub Jelinek <jakub@redhat.com>
6820 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
6821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
6822 computation is not scheduled after fetestexcept. Fix value
6823 of minimum denormal long double.
6825 2010-10-14 Jakub Jelinek <jakub@redhat.com>
6828 * math/libm-test.inc (fma_test): Add some more tests.
6829 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
6832 2010-10-15 Andreas Schwab <schwab@redhat.com>
6834 * scripts/data/localplt-s390-linux-gnu.data: New file.
6835 * scripts/data/localplt-s390x-linux-gnu.data: New file.
6837 2010-10-13 Jakub Jelinek <jakub@redhat.com>
6840 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
6841 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
6843 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
6845 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
6846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
6847 if one of x and y is very large and the other is subnormal.
6848 * sysdeps/s390/fpu/s_fmaf.c: New file.
6849 * sysdeps/s390/fpu/s_fma.c: New file.
6850 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
6851 * sysdeps/powerpc/fpu/s_fma.S: New file.
6852 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
6853 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
6854 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
6856 2010-10-12 Jakub Jelinek <jakub@redhat.com>
6859 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
6861 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
6862 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
6863 * sysdeps/i386/i686/multiarch/s_fma.c: Include
6864 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
6865 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
6866 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
6869 2010-10-12 Ulrich Drepper <drepper@redhat.com>
6872 * posix/regcomp.c (parse_branch): One more memory leak plugged.
6873 * posix/bug-regex31.input: Add test case.
6875 2010-10-11 Ulrich Drepper <drepper@gmail.com>
6877 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
6878 * posix/bug-regex31.input: New file.
6881 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
6882 (parse_sub_exp): Fix last change, use postorder.
6884 * posix/bug-regex31.c: New file.
6885 * posix/Makefile: Add rules to build and run bug-regex31.
6887 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
6890 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
6893 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
6894 to have entries in sys_siglist.
6897 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
6900 2010-10-07 Jakub Jelinek <jakub@redhat.com>
6903 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
6904 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
6905 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
6906 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
6907 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6908 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
6909 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
6910 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
6911 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
6912 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
6913 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
6914 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
6915 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6916 * math/ftestexcept.c (fetestexcept): Likewise.
6917 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
6918 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6919 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
6920 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
6921 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
6922 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
6923 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
6925 2010-10-11 Ulrich Drepper <drepper@gmail.com>
6928 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
6931 2010-10-06 Ulrich Drepper <drepper@gmail.com>
6933 * string/bug-strstr1.c: New file.
6934 * string/Makefile: Add rules to build and run bug-strstr1.
6936 2010-10-05 Eric Blake <eblake@redhat.com>
6939 * string/str-two-way.h (two_way_long_needle): Always clear memory
6940 when skipping input due to the shift table.
6942 2010-10-03 Ulrich Drepper <drepper@gmail.com>
6945 * malloc/mcheck.c: Handle large requests.
6948 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
6949 for strncmp and strncasecmp.
6950 * string/stratcliff.c: Add tests for strcmp and strncmp.
6951 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
6953 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6955 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
6958 2010-09-30 Andreas Jaeger <aj@suse.de>
6960 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
6961 (CGROUP_SUPER_MAGIC): Define.
6962 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6963 Handle btrfs and cgroup file systems.
6964 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6967 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
6969 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
6970 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
6972 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6975 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
6976 trying to locate the ELF header.
6978 2010-09-27 Andreas Schwab <schwab@redhat.com>
6981 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
6982 Mask out sign-bit copies when constructing f_fsid.
6984 2010-09-24 Petr Baudis <pasky@suse.cz>
6986 * debug/stack_chk_fail_local.c: Add missing licence exception.
6987 * debug/warning-nop.c: Likewise.
6989 2010-09-15 Joseph Myers <joseph@codesourcery.com>
6991 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
6992 implementing getdents64 using getdents syscall, set d_type if
6993 __ASSUME_GETDENTS32_D_TYPE.
6995 2010-09-16 Andreas Schwab <schwab@redhat.com>
6997 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
6998 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
7000 2010-09-21 Ulrich Drepper <drepper@redhat.com>
7003 * posix/unistd.h: Undo change of feature selection for ftruncate from
7006 2010-09-20 Ulrich Drepper <drepper@redhat.com>
7008 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
7011 2010-09-20 Andreas Schwab <schwab@redhat.com>
7013 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
7015 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7017 2010-09-14 Andreas Schwab <schwab@redhat.com>
7019 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
7020 variables after CHECK_SP call.
7021 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
7023 2010-09-13 Andreas Schwab <schwab@redhat.com>
7024 Ulrich Drepper <drepper@redhat.com>
7026 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
7027 re-relocationg ld.so.
7028 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
7029 _dl_init_paths call.
7030 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
7033 2010-09-14 Ulrich Drepper <drepper@redhat.com>
7035 * resolv/res_init.c (__res_vinit): Count the default server we added.
7037 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
7038 Ulrich Drepper <drepper@redhat.com>
7041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7042 (____longjmp_chk): Use %ebx for saving value across system call.
7045 2010-09-06 Andreas Schwab <schwab@redhat.com>
7047 * manual/Makefile: Don't mix pattern rules with normal rules.
7049 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
7051 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
7053 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7054 * libio/iofopncook.c (_IO_cookie_init): Likewise.
7055 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7056 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7057 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7060 2010-09-04 Ulrich Drepper <drepper@redhat.com>
7063 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
7064 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
7066 2010-09-02 Ulrich Drepper <drepper@redhat.com>
7068 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
7069 * sysdeps/x86_64/addmul_1.S: Likewise.
7070 * sysdeps/x86_64/lshift.S: Likewise.
7071 * sysdeps/x86_64/mul_1.S: Likewise.
7072 * sysdeps/x86_64/rshift.S: Likewise.
7073 * sysdeps/x86_64/sub_n.S: Likewise.
7074 * sysdeps/x86_64/submul_1.S: Likewise.
7076 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7078 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
7079 Define __sched_param instead of SCHED_* and sched_param when
7080 <bits/sched.h> is included with __need_schedparam defined.
7081 * bits/sched.h [__need_schedparam]
7082 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
7083 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
7084 (__defined_schedparam): Define to 1.
7085 (__sched_param): New structure, identical to sched_param.
7086 (__need_schedparam): Undefine.
7088 2010-08-31 Mike Frysinger <vapier@gentoo.org>
7090 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
7091 (epoll_create1): Declare.
7093 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
7095 2010-08-31 Andreas Schwab <schwab@redhat.com>
7098 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
7099 shifting retval into place.
7101 2010-09-01 Ulrich Drepper <drepper@redhat.com>
7103 * nis/rpcsvc/nis.h: Update copyright notice.
7104 * nis/rpcsvc/nis.x: Likewise.
7105 * nis/rpcsvc/nis_callback.h: Likewise.
7106 * nis/rpcsvc/nis_callback.x: Likewise.
7107 * nis/rpcsvc/nis_object.x: Likewise.
7108 * nis/rpcsvc/nis_tags.h: Likewise.
7109 * nis/rpcsvc/yp.h: Likewise.
7110 * nis/rpcsvc/yp.x: Likewise.
7111 * nis/rpcsvc/ypupd.h: Likewise.
7112 * nis/yp_xdr.c: Likewise.
7113 * nis/ypupdate_xdr.c: Likewise.
7115 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
7116 mainly the body of pmap_getport. Add parameters to specify timeouts.
7117 (pmap_getport): Use __libc_rpc_getport.
7118 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
7119 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
7120 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
7122 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
7124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
7127 2010-08-27 Roland McGrath <roland@redhat.com>
7129 * sysdeps/i386/i686/multiarch/Makefile
7130 (CFLAGS-varshift.c): New variable.
7132 2010-08-27 Ulrich Drepper <drepper@redhat.com>
7134 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
7135 * sysdeps/i386/i686/multiarch/varshift.c: New file.
7137 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
7139 * sysdeps/x86_64/strlen.S: Minimal code improvement.
7141 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
7143 * sysdeps/x86_64/strlen.S: Unroll the loop.
7144 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7145 strlen-sse2 strlen-sse2-bsf.
7146 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
7147 __strlen_no_bsf if bit_Slow_BSF is set.
7148 (__strlen_sse42): Removed.
7149 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
7150 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
7152 2010-08-25 Roland McGrath <roland@redhat.com>
7154 * sysdeps/x86_64/multiarch/varshift.S: File removed.
7155 * sysdeps/x86_64/multiarch/varshift.c: New file.
7156 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
7157 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
7158 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
7159 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7161 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
7163 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7164 strlen-sse2 strlen-sse2-bsf.
7165 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
7166 __strlen_sse2_bsf if bit_Slow_BSF is unset.
7167 (__strlen_sse2): Removed.
7168 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
7169 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
7170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
7171 bit_Slow_BSF for Atom.
7172 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
7173 (index_Slow_BSF): Define.
7174 (HAS_SLOW_BSF): Define.
7176 2010-08-25 Ulrich Drepper <drepper@redhat.com>
7179 * resolv/res_init.c (__res_vinit): When no server address at all
7180 is given default to loopback.
7182 2010-08-24 Roland McGrath <roland@redhat.com>
7184 * configure.in: Remove config-name.h generation.
7185 * configure: Regenerated.
7186 * config-name.in: File removed.
7187 * scripts/config-uname.sh: New file.
7188 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
7189 ($(objdir)config-name.h): New target.
7191 * sunrpc/rpc_parse.h: Avoid nested comment.
7193 2010-08-24 Richard Henderson <rth@redhat.com>
7194 Ulrich Drepper <drepper@redhat.com>
7195 H.J. Lu <hongjiu.lu@intel.com>
7197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
7198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
7199 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
7200 Replace _mm_srli_si128 with __m128i_shift_right. Replace
7201 _mm_alignr_epi8 with _mm_loadu_si128.
7202 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
7203 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
7204 (__m128i_shift_right): Removed.
7205 * sysdeps/i386/i686/multiarch/varshift.h: New file.
7206 * sysdeps/i386/i686/multiarch/varshift.S: New file.
7207 * sysdeps/x86_64/multiarch/varshift.h: New file.
7208 * sysdeps/x86_64/multiarch/varshift.S: New file.
7210 2010-08-21 Mike Frysinger <vapier@gentoo.org>
7212 * configure.in: Move assembler checks to before sysdep dir checking.
7214 2010-08-20 Petr Baudis <pasky@suse.cz>
7216 * LICENSES: Sync the sunrpc license.
7218 2010-08-19 Ulrich Drepper <drepper@redhat.com>
7220 * sunrpc/auth_des.c: Update copyright notice once again.
7221 * sunrpc/auth_none.c: Likewise.
7222 * sunrpc/auth_unix.c: Likewise.
7223 * sunrpc/authdes_prot.c: Likewise.
7224 * sunrpc/authuxprot.c: Likewise.
7225 * sunrpc/bindrsvprt.c: Likewise.
7226 * sunrpc/clnt_gen.c: Likewise.
7227 * sunrpc/clnt_perr.c: Likewise.
7228 * sunrpc/clnt_raw.c: Likewise.
7229 * sunrpc/clnt_simp.c: Likewise.
7230 * sunrpc/clnt_tcp.c: Likewise.
7231 * sunrpc/clnt_udp.c: Likewise.
7232 * sunrpc/clnt_unix.c: Likewise.
7233 * sunrpc/des_crypt.c: Likewise.
7234 * sunrpc/des_soft.c: Likewise.
7235 * sunrpc/get_myaddr.c: Likewise.
7236 * sunrpc/getrpcport.c: Likewise.
7237 * sunrpc/key_call.c: Likewise.
7238 * sunrpc/key_prot.c: Likewise.
7239 * sunrpc/openchild.c: Likewise.
7240 * sunrpc/pm_getmaps.c: Likewise.
7241 * sunrpc/pm_getport.c: Likewise.
7242 * sunrpc/pmap_clnt.c: Likewise.
7243 * sunrpc/pmap_prot.c: Likewise.
7244 * sunrpc/pmap_prot2.c: Likewise.
7245 * sunrpc/pmap_rmt.c: Likewise.
7246 * sunrpc/rpc/auth.h: Likewise.
7247 * sunrpc/rpc/auth_unix.h: Likewise.
7248 * sunrpc/rpc/clnt.h: Likewise.
7249 * sunrpc/rpc/des_crypt.h: Likewise.
7250 * sunrpc/rpc/key_prot.h: Likewise.
7251 * sunrpc/rpc/netdb.h: Likewise.
7252 * sunrpc/rpc/pmap_clnt.h: Likewise.
7253 * sunrpc/rpc/pmap_prot.h: Likewise.
7254 * sunrpc/rpc/pmap_rmt.h: Likewise.
7255 * sunrpc/rpc/rpc.h: Likewise.
7256 * sunrpc/rpc/rpc_des.h: Likewise.
7257 * sunrpc/rpc/rpc_msg.h: Likewise.
7258 * sunrpc/rpc/svc.h: Likewise.
7259 * sunrpc/rpc/svc_auth.h: Likewise.
7260 * sunrpc/rpc/types.h: Likewise.
7261 * sunrpc/rpc/xdr.h: Likewise.
7262 * sunrpc/rpc_clntout.c: Likewise.
7263 * sunrpc/rpc_cmsg.c: Likewise.
7264 * sunrpc/rpc_common.c: Likewise.
7265 * sunrpc/rpc_cout.c: Likewise.
7266 * sunrpc/rpc_dtable.c: Likewise.
7267 * sunrpc/rpc_hout.c: Likewise.
7268 * sunrpc/rpc_main.c: Likewise.
7269 * sunrpc/rpc_parse.c: Likewise.
7270 * sunrpc/rpc_parse.h: Likewise.
7271 * sunrpc/rpc_prot.c: Likewise.
7272 * sunrpc/rpc_sample.c: Likewise.
7273 * sunrpc/rpc_scan.c: Likewise.
7274 * sunrpc/rpc_scan.h: Likewise.
7275 * sunrpc/rpc_svcout.c: Likewise.
7276 * sunrpc/rpc_tblout.c: Likewise.
7277 * sunrpc/rpc_util.c: Likewise.
7278 * sunrpc/rpc_util.h: Likewise.
7279 * sunrpc/rpcinfo.c: Likewise.
7280 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
7281 * sunrpc/rpcsvc/key_prot.x: Likewise.
7282 * sunrpc/rpcsvc/klm_prot.x: Likewise.
7283 * sunrpc/rpcsvc/mount.x: Likewise.
7284 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
7285 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
7286 * sunrpc/rpcsvc/rex.x: Likewise.
7287 * sunrpc/rpcsvc/rstat.x: Likewise.
7288 * sunrpc/rpcsvc/rusers.x: Likewise.
7289 * sunrpc/rpcsvc/sm_inter.x: Likewise.
7290 * sunrpc/rpcsvc/spray.x: Likewise.
7291 * sunrpc/rpcsvc/yppasswd.x: Likewise.
7292 * sunrpc/rtime.c: Likewise.
7293 * sunrpc/svc.c: Likewise.
7294 * sunrpc/svc_auth.c: Likewise.
7295 * sunrpc/svc_authux.c: Likewise.
7296 * sunrpc/svc_raw.c: Likewise.
7297 * sunrpc/svc_run.c: Likewise.
7298 * sunrpc/svc_simple.c: Likewise.
7299 * sunrpc/svc_tcp.c: Likewise.
7300 * sunrpc/svc_udp.c: Likewise.
7301 * sunrpc/svc_unix.c: Likewise.
7302 * sunrpc/svcauth_des.c: Likewise.
7303 * sunrpc/xcrypt.c: Likewise.
7304 * sunrpc/xdr.c: Likewise.
7305 * sunrpc/xdr_array.c: Likewise.
7306 * sunrpc/xdr_float.c: Likewise.
7307 * sunrpc/xdr_mem.c: Likewise.
7308 * sunrpc/xdr_rec.c: Likewise.
7309 * sunrpc/xdr_ref.c: Likewise.
7310 * sunrpc/xdr_sizeof.c: Likewise.
7311 * sunrpc/xdr_stdio.c: Likewise.
7313 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
7316 2010-08-19 Andreas Schwab <schwab@redhat.com>
7318 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
7320 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
7322 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
7323 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
7324 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
7325 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
7326 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
7327 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
7328 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
7329 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
7330 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
7331 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
7332 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
7333 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
7334 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
7335 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
7337 2010-07-26 Anton Blanchard <anton@samba.org>
7339 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
7340 * malloc/arena.c (heap_trim): Likewise.
7342 2010-08-16 Ulrich Drepper <drepper@redhat.com>
7344 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
7346 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
7347 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
7349 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
7351 * sysdeps/i386/elf/Makefile: New file.
7353 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
7355 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
7357 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7358 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7360 2010-08-15 Ulrich Drepper <drepper@redhat.com>
7362 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
7364 * sysdeps/multiarch/strcmp.S: Likewise.
7366 2010-08-14 Ulrich Drepper <drepper@redhat.com>
7368 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7369 strncase_l-nonascii.
7370 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
7371 Add strncase_l-ssse3.
7372 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
7373 * sysdeps/x86_64/strcmp.S: Likewise.
7374 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
7375 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
7376 * sysdeps/x86_64/strncase.S: New file.
7377 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
7378 * sysdeps/x86_64/strncase_l.S: New file.
7379 * string/Makefile (strop-tests): Add strncasecmp.
7380 * string/test-strncasecmp.c: New file.
7382 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
7385 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
7386 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
7388 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
7390 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
7392 2010-08-12 Ulrich Drepper <drepper@redhat.com>
7394 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
7395 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
7396 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
7398 2010-05-01 Alan Modra <amodra@gmail.com>
7400 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
7401 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
7402 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
7403 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
7404 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
7405 tidying. Don't tail-call __sigjmp_save for static lib.
7406 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
7408 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
7409 (CALL_MCOUNT): Add eh info, and nop after bl.
7410 (TAIL_CALL_SYSCALL_ERROR): New macro.
7411 (PSEUDO_RET): Use it.
7412 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7413 Correct save location of integer regs and cr.
7414 (_dl_profile_resolve): Correct cr save location. Delete nops
7415 after bl when SHARED. Reduce cfi size a little by better
7416 placement of cfi directives.
7417 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
7418 make a stack frame. Instead use parm save area as a temp.
7419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
7420 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
7421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7422 Don't make a stack frame for parent, use parm save area.
7423 Increase child stack frame to 112 bytes. Don't save unused reg,
7424 and adjust reg usage. Set up cfi on error recovery and
7425 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
7426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7427 (__makecontext): Add dummy nop after jump to exit.
7428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
7429 Use correct parm save area and cr save, reduce stack frame.
7430 Correct cfi for possible PSEUDO_RET frame setup.
7431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
7432 Branch to local label emitted by PSEUDO_RET rather than
7435 2010-08-12 Andreas Schwab <schwab@redhat.com>
7438 * locale/programs/locale.c (print_assignment): New function.
7439 (show_locale_vars): Use it.
7441 2010-08-11 Ulrich Drepper <drepper@redhat.com>
7443 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
7445 (struct statfs64): Likewise.
7446 (_STATFS_F_FLAGS): Define.
7447 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
7448 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7449 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
7450 (ST_VALID): Define locally.
7451 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
7452 __statvfs_getflags, use the provided value.
7453 * sysdeps/unix/sysv/linux/kernel-features.h: Define
7454 __ASSUME_STATFS_F_FLAGS.
7456 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
7458 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
7460 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
7461 fanotify_mask for GLIBC_2.13.
7462 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
7463 fanotify_init and fanotify_mark.
7464 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7465 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
7467 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
7469 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
7470 prlimit64 for GLIBC_2.13.
7471 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
7473 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
7475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7476 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7477 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
7478 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
7479 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
7481 * sysdeps/unix/sysv/linux/prlimit.c: New file.
7484 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
7485 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
7487 * nss/Makefile: Add rules to build and run tst-nss-test1.
7488 * shlib-versions: Add entry for libnss_test1.
7489 * nss/nss_test1.c: New file.
7490 * nss/tst-nss-test1.c: New file.
7492 * nss/nsswitch.c (__nss_database_custom): Define new variable.
7493 (__nss_configure_lookup): Set appropriate entry in
7494 __nss_configure_lookup to true.
7495 * nss/nsswitch.h: Define enum with indeces of databases in
7496 databases and __nss_database_custom arrays. Declare
7497 __nss_database_custom.
7498 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
7499 to avoid using nscd when custom rules are installed.
7500 * nss/getXXbyYY_r.c: Likewise.
7501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7503 * nss/nss_files/files-parse.c: Whitespace fixes.
7505 2010-08-09 Ulrich Drepper <drepper@redhat.com>
7508 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
7509 * posix/fnmatch_loop.c: Likewise.
7511 2010-07-17 Andi Kleen <ak@linux.intel.com>
7513 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
7514 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
7515 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
7516 * Versions.def [GLIBC_2.13]: Add.
7518 2010-08-06 Ulrich Drepper <drepper@redhat.com>
7520 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7521 Also fail if tpwd after pwuid call is NULL.
7523 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7525 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
7526 when converting to ms.
7528 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7530 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
7531 EOPNOTSUPP errors with ENOTTY.
7532 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
7533 EOPNOTSUPP errors with ENOTTY.
7535 2010-07-31 Ulrich Drepper <drepper@redhat.com>
7537 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
7538 Add strcasecmp_l-ssse3.
7539 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
7541 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
7542 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
7543 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
7545 2010-07-30 Ulrich Drepper <drepper@redhat.com>
7547 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
7549 * string/Makefile (strop-tests): Add strcasecmp.
7550 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
7551 strcasecmp_l-nonascii.
7552 (gen-as-const-headers): Add locale-defines.sym.
7553 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
7554 * sysdeps/x86_64/strcasecmp.S: New file.
7555 * sysdeps/x86_64/strcasecmp_l.S: New file.
7556 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
7557 * sysdeps/x86_64/locale-defines.sym: New file.
7558 * string/test-strcasecmp.c: New file.
7560 * string/test-strcasestr.c: Test both ends of the range of characters.
7561 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
7563 2010-07-29 Roland McGrath <roland@redhat.com>
7566 * manual/locale.texi (Yes-or-No Questions): Fix example code.
7568 2010-07-27 Ulrich Drepper <drepper@redhat.com>
7570 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
7573 2010-07-27 Andreas Schwab <schwab@redhat.com>
7575 * manual/memory.texi (Malloc Tunable Parameters): Document
7578 2010-07-26 Roland McGrath <roland@redhat.com>
7581 * configure.in (-fgnu89-inline check): Set and substitute
7582 gnu89_inline, not libc_cv_gnu89_inline.
7583 * configure: Regenerated.
7584 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
7586 2010-07-26 Ulrich Drepper <drepper@redhat.com>
7588 * string/test-strnlen.c: New file.
7589 * string/Makefile (strop-tests): Add strnlen.
7590 * string/tester.c (test_strnlen): Add a few more test cases.
7591 * string/tst-strlen.c: Better error reporting.
7593 * sysdeps/x86_64/strnlen.S: New file.
7595 2010-07-24 Ulrich Drepper <drepper@redhat.com>
7597 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
7598 lower-latency instructions.
7600 2010-07-23 Ulrich Drepper <drepper@redhat.com>
7602 * string/test-strcasestr.c: New file.
7603 * string/test-strstr.c: New file.
7604 * string/Makefile (strop-tests): Add strstr and strcasestr.
7605 * string/str-two-way.h: Don't undefine MAX.
7606 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
7608 2010-07-21 Andreas Schwab <schwab@redhat.com>
7610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7611 strcasestr-nonascii.
7612 (CFLAGS-strcasestr-nonascii.c): Define.
7613 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
7614 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
7615 Remove unused attribute.
7617 2010-07-20 Roland McGrath <roland@redhat.com>
7619 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
7620 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
7621 ld.so.cache was broken. With it, there is no way to disable dsocaps
7622 like LD_HWCAP_MASK can disable hwcaps.
7624 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7626 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
7628 2010-07-16 Ulrich Drepper <drepper@redhat.com>
7630 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
7632 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
7633 __strcasestr_sse42_nonascii.
7634 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
7635 strcasestr-nonascii.c.
7636 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
7638 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
7640 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
7641 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
7642 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
7643 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
7645 2010-07-09 Ulrich Drepper <drepper@redhat.com>
7647 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
7650 2010-07-06 Andreas Schwab <schwab@redhat.com>
7653 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
7656 2010-07-06 Ulrich Drepper <drepper@redhat.com>
7658 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
7659 _PC_PIPE_BUF using F_GETPIPE_SZ.
7661 2010-07-05 Roland McGrath <roland@redhat.com>
7663 * manual/arith.texi (Rounding Functions): Fix rint description
7664 implicit in round description.
7666 2010-07-02 Ulrich Drepper <drepper@redhat.com>
7668 * elf/Makefile: Fix linking for a few tests to make recent linker
7671 2010-06-30 Andreas Schwab <schwab@redhat.com>
7673 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7674 $(common-objpfx)libc_nonshared.a.
7676 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
7678 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
7679 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
7680 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7681 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7682 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
7683 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
7684 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7685 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
7687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
7692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
7695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
7700 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
7701 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
7702 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
7703 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
7704 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
7705 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
7706 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
7707 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
7708 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
7709 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
7710 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
7711 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
7712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
7713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
7714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
7716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
7721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
7723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
7724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
7727 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
7729 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
7730 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
7731 * string/memmove.c (memmove): Renamed to ...
7732 (MEMMOVE): ...this. Default to memmove.
7733 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
7734 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
7736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7737 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
7738 mempcpy-ssse3-back memmove-ssse3-back.
7739 * sysdeps/x86_64/multiarch/bcopy.S: New file .
7740 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
7741 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
7742 * sysdeps/x86_64/multiarch/memcpy.S: New file.
7743 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
7744 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
7745 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
7746 * sysdeps/x86_64/multiarch/memmove.c: New file.
7747 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
7748 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
7749 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
7750 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
7751 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
7752 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
7754 (index_Fast_Copy_Backward): Define.
7755 (HAS_ARCH_FEATURE): Define.
7756 (HAS_FAST_REP_STRING): Define.
7757 (HAS_FAST_COPY_BACKWARD): Define.
7759 2010-06-21 Andreas Schwab <schwab@redhat.com>
7761 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7762 Restore proper fallback handling.
7764 2010-06-19 Ulrich Drepper <drepper@redhat.com>
7767 * posix/group_member.c (__group_member): Correct checking loop.
7769 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
7770 OOM in getpwuid_r correctly. Return error number when the caller
7771 should return, otherwise -1.
7772 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
7773 call returning > 0 value.
7774 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
7776 2010-06-07 Andreas Schwab <schwab@redhat.com>
7778 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
7779 libc_nonshared.a from targets in modules-names.
7781 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
7783 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
7786 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
7788 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
7789 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
7790 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
7791 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
7793 2010-06-02 Andreas Schwab <schwab@redhat.com>
7795 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
7797 2010-06-14 Ulrich Drepper <drepper@redhat.com>
7799 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
7801 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
7802 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
7803 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7804 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7805 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
7806 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
7808 2010-06-14 Roland McGrath <roland@redhat.com>
7810 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
7812 2010-06-07 Jakub Jelinek <jakub@redhat.com>
7814 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
7815 __REDIRECT followed by __THROW.
7816 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
7817 * posix/getopt.h (getopt): Likewise.
7819 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
7821 * hurd/lookup-at.c (__file_name_lookup_at): Accept
7822 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
7823 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
7825 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
7826 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
7828 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
7830 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
7832 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
7835 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7836 Properly check family and model.
7838 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
7840 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
7842 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
7844 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
7846 2010-05-21 Ulrich Drepper <drepper@redhat.com>
7848 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
7851 2010-05-19 Andreas Schwab <schwab@redhat.com>
7853 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
7856 2010-05-21 Andreas Schwab <schwab@redhat.com>
7858 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
7859 and internal_recvmmsg.
7860 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
7861 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
7862 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
7863 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
7865 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
7866 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
7867 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
7869 2010-05-20 Andreas Schwab <schwab@redhat.com>
7871 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
7873 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
7875 POWER7 optimizations.
7876 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
7877 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
7879 2010-05-19 Ulrich Drepper <drepper@redhat.com>
7881 * version.h: Update for 2.13 development version.
7883 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
7885 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
7886 exceptions. Return 0.
7888 2010-05-07 Roland McGrath <roland@redhat.com>
7890 * elf/ldconfig.c (main): Add a const.
7892 2010-05-06 Ulrich Drepper <drepper@redhat.com>
7894 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
7895 (args_options): Add no-idn option.
7896 (ahosts_keys_int): Add idn_flags to ai_flags.
7897 (parse_option): Handle 'i' option to clear idn_flags.
7899 * malloc/malloc.c (_int_free): Possible race in the most recently
7900 added check. Only act on the data if no current modification
7903 See ChangeLog.17 for earlier changes.