1 2011-10-25 Ulrich Drepper <drepper@gmail.com>
3 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5 2011-10-25 Andreas Schwab <schwab@redhat.com>
7 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
14 .text section. Avoid duplicate constants.
15 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
16 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
41 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
45 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
53 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
57 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
58 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
61 2011-10-24 Ulrich Drepper <drepper@gmail.com>
63 * sysdeps/x86_64/dla.h: Move to ...
64 * sysdeps/x86_64/fpu/dla.h: ...here.
65 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
66 situations. Use __builtin_fma only for gcc 4.6 and up.
68 * config.make.in: Add have-mfma4 entry.
69 * configure.in: Substitute libc_cv_cc_fma4.
70 * math/Makefile (dbl-only-routines): Add sincostab.
71 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72 Use __sincostab not sincos.
73 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
80 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
81 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
82 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
83 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
85 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
86 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
88 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
89 define aliases when function name is a macro.
90 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
91 sysdeps/ieee754/dbl-64/sincos.tbl.
92 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
93 fma4-enabled routines.
94 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
95 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
96 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
97 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
98 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
99 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
100 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
101 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
102 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
103 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
104 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
105 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
106 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
107 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
108 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
109 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
110 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
111 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
112 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
113 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
114 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
115 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
116 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
117 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
118 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
119 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
120 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
121 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
122 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
123 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
125 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
128 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
129 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
132 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
133 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
134 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
136 2011-10-24 Andreas Schwab <schwab@redhat.com>
138 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
140 2011-10-23 Ulrich Drepper <drepper@gmail.com>
142 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
144 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
146 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
148 * string/strnlen.c: Don't define STRNLEN, reverse logic.
149 Remove unused variable magic_bits.
150 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
152 * string/strnlen.c: Define and use STRNLEN macro.
153 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
154 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
155 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
156 * wcsmbs/wcslen.c: Define and use WCSLEN.
157 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
158 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
159 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
160 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
161 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
162 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
163 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
165 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
169 Rename strlen-no-bsf to strlen-sse2-no-bsf.
170 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
171 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
173 (USE_AS_STRNLEN): New macro.
174 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
175 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
176 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
177 * sysdeps/x86_64/wcslen.S: New file.
179 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
181 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
182 XMM-moves are used for copying on small sizes.
184 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
186 * wcsmbs/Makefile (strop-tests): Add wcschr.
187 * wcsmbs/test-wcschr.c: New file.
188 * string/test-strchr.c: Update.
192 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
194 * wcsmbs/Makefile (strop-tests): Add wcslen.
195 * wcsmbs/test-wcslen.c: New file.
196 * string/test-strlen.c: Update.
200 2011-10-23 Ulrich Drepper <drepper@gmail.com>
202 * po/it.po: Update from translation team.
204 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
206 * sysdeps/x86_64/wcscmp.S: Update.
207 Fix wrong comparison semantics.
208 wcscmp shall use signed comparison not unsigned.
209 Don't use substraction to avoid overflow bug.
210 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
211 * wcsmbc/wcscmp.c: Likewise.
212 * string/test-strcmp.c: Likewise.
213 Add new tests to check cases with negative values.
215 2011-10-23 Ulrich Drepper <drepper@gmail.com>
217 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
218 * sysdeps/x86_64/dla.h: ...here. New file.
219 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
221 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
222 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
223 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
224 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
225 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
226 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
229 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
232 __ynl_finite aliases.
234 2011-10-22 Ulrich Drepper <drepper@gmail.com>
236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
238 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
240 [DLA_FMA] (EMULV): Use DLA_FMA.
241 [DLA_FMA] (MUL12): Use EMULV.
242 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
252 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
254 * math/s_nan.c: Undef __nan.
255 * math/s_nanf.c: Undef __nanf.
256 * math/s_nanl.c: Undef __nanl.
257 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
260 2011-10-22 Ulrich Drepper <drepper@gmail.com>
262 * math/s_catan.c: Add branch predictions.
263 * math/s_catanf.c: Likewise.
264 * math/s_catanh.c: Likewise.
265 * math/s_catanhf.c: Likewise.
266 * math/s_catanhl.c: Likewise.
267 * math/s_catanl.c: Likewise.
268 * math/s_cexp.c: Likewise.
269 * math/s_cexpf.c: Likewise.
270 * math/s_cexpl.c: Likewise.
271 * math/s_clog.c: Likewise.
272 * math/s_clog10.c: Likewise.
273 * math/s_clog10f.c: Likewise.
274 * math/s_clog10l.c: Likewise.
275 * math/s_clogf.c: Likewise.
276 * math/s_clogl.c: Likewise.
277 * math/s_csqrt.c: Likewise.
278 * math/s_csqrtf.c: Likewise.
279 * math/s_csqrtl.c: Likewise.
280 * math/s_ctanf.c: Likewise.
281 * math/s_ctanh.c: Likewise.
282 * math/s_ctanhf.c: Likewise.
283 * math/s_ctanhl.c: Likewise.
284 * math/s_ctanl.c: Likewise.
286 * math/math_private.h: Define __nan, __nanf, __nanl.
287 * math/s_cacosh.c: Include <math_private.h>.
288 * math/s_cacoshl.c: Likewise.
289 * math/s_casinh.c: Likewise.
290 * math/s_casinhf.c: Likewise.
291 * math/s_casinhl.c: Likewise.
292 * math/s_ccos.c: Rely entire on ccosh.
293 * math/s_ccosf.c: Rely entire on ccoshf.
294 * math/s_ccosl.c: Rely entirely on ccoshl.
295 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
296 Remove tests for FE_INVALID.
297 * math/s_ccoshf.c: Likewise.
298 * math/s_ccoshl.c: Likewise.
299 * math/s_csin.c: Likewise.
300 * math/s_csinf.c: Likewise.
301 * math/s_csinh.c Likewise.
302 * math/s_csinhf.c: Likewise.
303 * math/s_csinhl.c: Likewise.
304 * math/s_csinl.c: Likewise.
305 * math/s_ctan.c: Likewise.
306 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
307 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
308 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
310 2011-10-21 Ulrich Drepper <drepper@gmail.com>
312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
313 compilation problems.
315 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
318 2011-10-20 Ulrich Drepper <drepper@gmail.com>
320 * sysdeps/i386/configure.in: Test for -mfma4 option.
321 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
322 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
323 COMMON_CPUID_INDEX_80000001.
324 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
325 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
326 use it if FMA3 is not supported.
327 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
329 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
330 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
332 2011-10-20 Andreas Schwab <schwab@redhat.com>
335 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
336 it would create a cycle with a link time dependency.
338 2011-10-19 Ulrich Drepper <drepper@gmail.com>
340 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
342 * string/Makefile (strop-tests): Add rawmemchr.
343 * string/test-rawmemchr.c: New file.
345 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
346 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
347 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
348 when compiling str{,n}casecmp and when AVX is available. Hook up
349 new optimized code in initializers.
351 2011-10-19 Andreas Schwab <schwab@redhat.com>
353 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
354 __feraiseexcept instead of feraiseexcept.
356 2011-10-18 Ulrich Drepper <drepper@gmail.com>
358 * math/math_private.h: Define defaults for libc_fetestexcept and
360 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
361 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
362 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
363 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
364 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
365 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
366 libc_fetestexcept and libc_feupdateenv.
368 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
369 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
370 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
371 * sysdeps/x86_64/fpu/math_private.h: Define special version of
372 libc_feholdexcept_setround.
374 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
375 Add s_nearbyint-c and s_nearbyintf-c.
376 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
378 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
379 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
380 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
381 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
383 * math/math_private.h: Define defaults for libc_fegetround,
384 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
385 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
386 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
387 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
388 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
390 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
391 Remove comments and hacks for old compiler versions.
392 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
393 libc_fegetround, libc_fesetround, libc_feholdexcept, and
396 2011-10-18 Andreas Schwab <schwab@redhat.com>
398 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
399 (__feraiseexcept_renamed): Add __NTH.
400 (feraiseexcept): Add __NTH. Rename local variables to fix
401 namespace violations.
403 2011-10-17 Ulrich Drepper <drepper@gmail.com>
405 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
407 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
409 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
410 recently added interfaces.
411 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
413 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
414 about macro parameter expansion.
416 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
417 __NO_MATH_INLINES is defined. Cleanups.
419 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
420 and __floorf is target has SSE4.1.
421 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
422 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
423 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
424 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
426 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
430 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
432 2011-10-17 Andreas Schwab <schwab@redhat.com>
434 * misc/sys/cdefs.h: Fix last change.
436 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
439 2011-10-16 Ulrich Drepper <drepper@gmail.com>
441 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
443 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
444 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
445 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
446 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
447 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
448 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
449 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
450 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
451 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
452 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
453 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
454 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
455 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
456 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
457 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
458 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
459 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
460 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
461 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
462 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
463 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
464 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
466 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
467 ceil, ceilf, floor, floorf.
469 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
470 Perform IRELATIVE relocations last.
472 * elf/do-rel.h: Add another parameter nrelative, replacing the
473 local variable with the same name. Change name of the function
474 to end in Rel or Rela (uppercase).
475 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
476 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
477 elf_dynamic_do_##reloc function.
479 2011-10-15 Ulrich Drepper <drepper@gmail.com>
481 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
482 is sufficient, at least on modern CPUs.
484 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
486 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
487 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
489 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
491 * math/bits/math-finite.h: Add entries for exp.
492 * math/e_expl.c: Add __*_finite alias.
493 * sysdeps/i386/fpu/e_exp.S: Likewise.
494 * sysdeps/i386/fpu/e_expf.S: Likewise.
495 * sysdeps/i386/fpu/e_expl.c: Likewise.
496 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
497 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
498 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
499 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
500 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
501 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
502 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
504 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
505 is sufficient, at least on modern CPUs.
507 * ctype/ctype-info.c (__ctype_init): Define.
508 * include/ctype.h (__ctype_init): Declare.
509 (__ctype_b_loc): The variable is always initialized.
510 (__ctype_toupper_loc): Likewise.
511 (__ctype_tolower_loc): Likewise.
512 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
513 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
515 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
517 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
519 * configure.in: Also look in $cxxmachine/include for C++ system
522 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
524 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
525 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
526 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
527 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
528 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
529 (USE_AS_WMEMCMP): New macro.
531 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
532 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
533 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
534 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
536 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
537 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
538 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
539 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
540 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
541 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
542 (USE_AS_WMEMCMP): New macro.
543 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
544 * sysdeps/string/test-memcmp.c: Update.
547 * wcsmbs/wmemcmp.c: Update.
548 (WMEMCMP): New macro.
551 2011-10-12 Andreas Jaeger <aj@suse.de>
554 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
556 2011-10-15 Ulrich Drepper <drepper@gmail.com>
558 * libio/iofwide.c (do_length): Avoid warning.
560 * ctype/ctype.h (__isctype_f): Add missing __THROW.
562 2011-10-14 Ulrich Drepper <drepper@gmail.com>
564 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
566 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
567 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
568 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
569 * sysdeps/i386/i686/fpu/e_log.S: New file.
570 * sysdeps/i386/i686/fpu/e_logf.S: New file.
571 * sysdeps/i386/i686/fpu/e_logl.S: New file.
573 * ctype/ctype.h: Add support for inlined isXXX functions when
576 2011-10-14 Andreas Schwab <schwab@redhat.com>
578 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
580 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
582 2011-10-13 Roland McGrath <roland@hack.frob.com>
585 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
587 2011-10-13 Andreas Schwab <schwab@redhat.com>
589 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
590 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
593 * sysdeps/x86_64/memrchr.S: Check for zero size.
595 * string/stratcliff.c: Add memrchr tests.
597 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
600 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
601 rawmemchr-sse2 rawmemchr-sse2-bsf.
602 * sysdeps/i386/i686/multiarch/memchr.S: New file.
603 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
604 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
605 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
606 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
607 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
608 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
609 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
610 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
611 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
612 * string/memrchr.c (MEMRCHR): New macro.
614 2011-10-12 Ulrich Drepper <drepper@gmail.com>
616 Add integration with gcc's -ffinite-math-only and optimize wrapper
618 * Versions.def: Define GLIBC_2.15 version for libm.
619 * math/Makefile (headers): Add bits/math-finite.h.
620 * math/bits/math-finite.h: New file.
621 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
622 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
623 * math/e_acoshl.c: Add __*_finite alias.
624 * math/e_acosl.c: Likewise.
625 * math/e_asinl.c: Likewise.
626 * math/e_atan2l.c: Likewise.
627 * math/e_atanhl.c: Likewise.
628 * math/e_coshl.c: Likewise.
629 * math/e_exp10.c: Likewise.
630 * math/e_exp10f.c: Likewise.
631 * math/e_exp10l.c: Likewise.
632 * math/e_exp2l.c: Likewise.
633 * math/e_fmodl.c: Likewise.
634 * math/e_gammal_r.c: Likewise.
635 * math/e_hypotl.c: Likewise.
636 * math/e_j0l.c: Likewise.
637 * math/e_j1l.c: Likewise.
638 * math/e_jnl.c: Likewise.
639 * math/e_lgammal_r.c: Likewise.
640 * math/e_log10l.c: Likewise.
641 * math/e_log2l.c: Likewise.
642 * math/e_logl.c: Likewise.
643 * math/e_powl.c: Likewise.
644 * math/e_sinhl.c: Likewise.
645 * math/e_sqrtl.c: Likewise.
646 * math/e_scalb.c: Completely rewritten and optimized.
647 * math/e_scalbf.c: Likewise.
648 * math/e_scalbl.c: Likewise.
649 * math/w_acos.c: Likewise.
650 * math/w_acosf.c: Likewise.
651 * math/w_acosl.c: Likewise.
652 * math/w_acosh.c: Likewise.
653 * math/w_acoshf.c: Likewise.
654 * math/w_acoshl.c: Likewise.
655 * math/w_asin.c: Likewise.
656 * math/w_asinf.c: Likewise.
657 * math/w_asinl.c: Likewise.
658 * math/w_atan2.c: Likewise.
659 * math/w_atan2f.c: Likewise.
660 * math/w_atan2l.c: Likewise.
661 * math/w_atanh.c: Likewise.
662 * math/w_atanhf.c: Likewise.
663 * math/w_atanhl.c: Likewise.
664 * math/w_exp10.c: Likewise.
665 * math/w_exp10f.c: Likewise.
666 * math/w_exp10l.c: Likewise.
667 * math/w_fmod.c: Likewise.
668 * math/w_fmodf.c: Likewise.
669 * math/w_fmodl.c: Likewise.
670 * math/w_j0.c: Likewise.
671 * math/w_j0f.c: Likewise.
672 * math/w_j0l.c: Likewise.
673 * math/w_j1.c: Likewise.
674 * math/w_j1f.c: Likewise.
675 * math/w_j1l.c: Likewise.
676 * math/w_jn.c: Likewise.
677 * math/w_jnf.c: Likewise.
678 * math/w_log.c: Likewise.
679 * math/w_logf.c: Likewise.
680 * math/w_logl.c: Likewise.
681 * math/w_log10.c: Likewise.
682 * math/w_log10f.c: Likewise.
683 * math/w_log10l.c: Likewise.
684 * math/w_log2.c: Likewise.
685 * math/w_log2f.c: Likewise.
686 * math/w_log2l.c: Likewise.
687 * math/w_pow.c: Likewise.
688 * math/w_powf.c: Likewise.
689 * math/w_powl.c: Likewise.
690 * math/w_remainder.c: Likewise.
691 * math/w_remainderf.c: Likewise.
692 * math/w_remainderl.c: Likewise.
693 * math/w_scalb.c: Likewise.
694 * math/w_scalbf.c: Likewise.
695 * math/w_scalbl.c: Likewise.
696 * math/w_sqrt.c: Likewise.
697 * math/w_sqrtf.c: Likewise.
698 * math/w_sqrtl.c: Likewise.
699 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
700 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
702 * math/math_private.h: Declare __kernel_standard_f.
703 * math/w_cosh.c: Remove cruft and optimize a bit.
704 * math/w_coshf.c: Likewise.
705 * math/w_coshl.c: Likewise.
706 * math/w_exp2.c: Likewise.
707 * math/w_exp2f.c: Likewise.
708 * math/w_exp2l.c: Likewise.
709 * math/w_hypot.c: Likewise.
710 * math/w_hypotf.c: Likewise.
711 * math/w_hypotl.c: Likewise.
712 * math/w_lgamma.c: Likewise.
713 * math/w_lgamma_r.c: Likewise.
714 * math/w_lgammaf.c: Likewise.
715 * math/w_lgammaf_r.c: Likewise.
716 * math/w_lgammal.c: Likewise.
717 * math/w_lgammal_r.c: Likewise.
718 * math/w_sinh.c: Likewise.
719 * math/w_sinhf.c: Likewise.
720 * math/w_sinhl.c: Likewise.
721 * math/w_tgamma.c: Likewise.
722 * math/w_tgammaf.c: Likewise.
723 * math/w_tgammal.c: Likewise.
724 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
725 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
726 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
727 Minor optimizations. Pretty printing. Remove cruft.
728 * sysdeps/i386/fpu/e_acosf.S: Likewise.
729 * sysdeps/i386/fpu/e_acosh.S: Likewise.
730 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
731 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
732 * sysdeps/i386/fpu/e_acosl.c: Likewise.
733 * sysdeps/i386/fpu/e_asin.S: Likewise.
734 * sysdeps/i386/fpu/e_asinf.S: Likewise.
735 * sysdeps/i386/fpu/e_atan2.S: Likewise.
736 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
737 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
738 * sysdeps/i386/fpu/e_atanh.S: Likewise.
739 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
740 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
741 * sysdeps/i386/fpu/e_exp10.S: Likewise.
742 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
743 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
744 * sysdeps/i386/fpu/e_exp2.S: Likewise.
745 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
746 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
747 * sysdeps/i386/fpu/e_fmod.S: Likewise.
748 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
749 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
750 * sysdeps/i386/fpu/e_hypot.S: Likewise.
751 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
752 * sysdeps/i386/fpu/e_log.S: Likewise.
753 * sysdeps/i386/fpu/e_log10.S: Likewise.
754 * sysdeps/i386/fpu/e_log10f.S: Likewise.
755 * sysdeps/i386/fpu/e_log10l.S: Likewise.
756 * sysdeps/i386/fpu/e_log2.S: Likewise.
757 * sysdeps/i386/fpu/e_log2f.S: Likewise.
758 * sysdeps/i386/fpu/e_log2l.S: Likewise.
759 * sysdeps/i386/fpu/e_logf.S: Likewise.
760 * sysdeps/i386/fpu/e_logl.S: Likewise.
761 * sysdeps/i386/fpu/e_pow.S: Likewise.
762 * sysdeps/i386/fpu/e_powf.S: Likewise.
763 * sysdeps/i386/fpu/e_powl.S: Likewise.
764 * sysdeps/i386/fpu/e_remainder.S: Likewise.
765 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
766 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
767 * sysdeps/i386/fpu/e_scalb.S: Likewise.
768 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
769 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
770 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
771 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
772 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
773 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
774 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
776 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
777 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
778 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
779 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
780 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
781 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
782 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
783 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
784 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
785 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
786 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
787 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
788 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
789 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
790 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
791 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
792 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
793 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
794 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
795 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
796 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
797 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
798 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
799 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
800 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
801 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
802 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
803 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
804 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
805 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
806 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
807 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
808 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
809 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
810 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
811 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
812 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
813 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
814 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
815 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
816 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
817 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
818 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
819 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
820 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
821 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
822 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
823 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
824 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
825 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
826 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
827 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
828 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
829 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
830 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
831 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
832 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
833 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
834 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
835 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
836 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
837 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
838 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
839 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
841 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
842 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
843 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
844 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
845 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
846 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
847 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
848 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
849 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
850 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
851 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
852 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
853 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
854 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
855 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
856 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
857 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
858 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
860 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
861 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
862 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
863 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
864 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
865 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
866 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
867 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
868 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
869 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
870 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
871 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
872 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
873 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
874 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
875 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
876 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
877 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
878 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
879 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
880 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
881 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
882 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
883 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
884 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
885 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
886 (__isnanf): Likewise.
887 (__isinf_ns): Likewise.
888 (__isinf_nsf): Likewise.
889 (__finite): Likewise.
890 (__finitef): Likewise.
891 (__ieee754_sqrt): Define as macro.
892 (__ieee754_sqrtf): Define as macro.
893 (__ieee754_sqrtl): Define as macro.
894 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
896 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
897 __FINITE_MATH_ONLY__ consistent.
898 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
900 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
902 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
905 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
907 2011-10-09 Ulrich Drepper <drepper@gmail.com>
909 * po/ja.po: Update from translation team.
911 2011-10-08 Roland McGrath <roland@hack.frob.com>
913 * locale/programs/locarchive.c (prepare_address_space): New function.
914 (create_archive, enlarge_archive, open_archive): Use it.
916 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
917 inside [SHARED], where it is used.
919 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
921 * nss/getent.c (netgroup_keys): Remove unused variable.
922 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
924 2011-10-08 Ulrich Drepper <drepper@gmail.com>
926 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
927 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
928 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
929 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
930 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
931 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
932 * math/Makefile (libm-calls): Add s_isinf_ns.
933 * math/divtc3.c: Use __isinf_nsl instead of isinf.
934 * math/multc3.c: Likewise.
935 * math/s_casin.c: Likewise.
936 * math/s_casinf.c: Likewise.
937 * math/s_casinl.c: Likewise.
938 * math/s_ccos.c: Likewise.
939 * math/s_ccosf.c: Likewise.
940 * math/s_ccosl.c: Likewise.
941 * math/s_ctan.c: Likewise.
942 * math/s_ctanf.c: Likewise.
943 * math/s_ctanh.c: Likewise.
944 * math/s_ctanhf.c: Likewise.
945 * math/s_ctanhl.c: Likewise.
946 * math/s_ctanl.c: Likewise.
947 * math/w_fmod.c: Likewise.
948 * math/w_fmodf.c: Likewise.
949 * math/w_fmodl.c: Likewise.
950 * math/w_remainder.c: Likewise.
951 * math/w_remainderf.c: Likewise.
952 * math/w_remainderl.c: Likewise.
953 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
954 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
955 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
956 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
957 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
958 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
959 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
960 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
962 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
964 * stdio-common/printf_fphex.c: Likewise.
965 * stdio-common/printf_size.c: Likewise.
967 * math/e_exp10.c: Include math_private.h using <...> not "...".
968 * math/e_exp10f.c: Likewise.
969 * math/e_exp10l.c: Likewise.
970 * math/e_exp2l.c: Likewise.
971 * math/e_j0l.c: Likewise.
972 * math/e_j1l.c: Likewise.
973 * math/e_jnl.c: Likewise.
974 * math/e_lgammal_r.c: Likewise.
975 * math/e_rem_pio2l.c: Likewise.
976 * math/e_scalb.c: Likewise.
977 * math/e_scalbf.c: Likewise.
978 * math/e_scalbl.c: Likewise.
979 * math/k_cosl.c: Likewise.
980 * math/k_sinl.c: Likewise.
981 * math/k_tanl.c: Likewise.
982 * math/s_cacoshf.c: Likewise.
983 * math/s_catan.c: Likewise.
984 * math/s_catanf.c: Likewise.
985 * math/s_catanh.c: Likewise.
986 * math/s_catanhf.c: Likewise.
987 * math/s_catanhl.c: Likewise.
988 * math/s_catanl.c: Likewise.
989 * math/s_ccosh.c: Likewise.
990 * math/s_ccoshf.c: Likewise.
991 * math/s_ccoshl.c: Likewise.
992 * math/s_cexp.c: Likewise.
993 * math/s_cexpf.c: Likewise.
994 * math/s_cexpl.c: Likewise.
995 * math/s_clog.c: Likewise.
996 * math/s_clog10.c: Likewise.
997 * math/s_clog10f.c: Likewise.
998 * math/s_clog10l.c: Likewise.
999 * math/s_clogf.c: Likewise.
1000 * math/s_clogl.c: Likewise.
1001 * math/s_csin.c: Likewise.
1002 * math/s_csinf.c: Likewise.
1003 * math/s_csinh.c: Likewise.
1004 * math/s_csinhf.c: Likewise.
1005 * math/s_csinhl.c: Likewise.
1006 * math/s_csinl.c: Likewise.
1007 * math/s_csqrt.c: Likewise.
1008 * math/s_csqrtf.c: Likewise.
1009 * math/s_csqrtl.c: Likewise.
1010 * math/s_ctan.c: Likewise.
1011 * math/s_ctanf.c: Likewise.
1012 * math/s_ctanh.c: Likewise.
1013 * math/s_ctanhf.c: Likewise.
1014 * math/s_ctanhl.c: Likewise.
1015 * math/s_ctanl.c: Likewise.
1016 * math/s_ldexp.c: Likewise.
1017 * math/s_ldexpf.c: Likewise.
1018 * math/s_ldexpl.c: Likewise.
1019 * math/s_significand.c: Likewise.
1020 * math/s_significandf.c: Likewise.
1021 * math/s_significandl.c: Likewise.
1022 * math/w_acos.c: Likewise.
1023 * math/w_acosf.c: Likewise.
1024 * math/w_acosh.c: Likewise.
1025 * math/w_acoshf.c: Likewise.
1026 * math/w_acoshl.c: Likewise.
1027 * math/w_acosl.c: Likewise.
1028 * math/w_asin.c: Likewise.
1029 * math/w_asinf.c: Likewise.
1030 * math/w_asinl.c: Likewise.
1031 * math/w_atan2.c: Likewise.
1032 * math/w_atan2f.c: Likewise.
1033 * math/w_atan2l.c: Likewise.
1034 * math/w_atanh.c: Likewise.
1035 * math/w_atanhf.c: Likewise.
1036 * math/w_atanhl.c: Likewise.
1037 * math/w_cosh.c: Likewise.
1038 * math/w_coshf.c: Likewise.
1039 * math/w_coshl.c: Likewise.
1040 * math/w_dremf.c: Likewise.
1041 * math/w_exp10.c: Likewise.
1042 * math/w_exp10f.c: Likewise.
1043 * math/w_exp10l.c: Likewise.
1044 * math/w_exp2.c: Likewise.
1045 * math/w_exp2f.c: Likewise.
1046 * math/w_fmod.c: Likewise.
1047 * math/w_fmodf.c: Likewise.
1048 * math/w_fmodl.c: Likewise.
1049 * math/w_hypot.c: Likewise.
1050 * math/w_hypotf.c: Likewise.
1051 * math/w_hypotl.c: Likewise.
1052 * math/w_j0.c: Likewise.
1053 * math/w_j0f.c: Likewise.
1054 * math/w_j0l.c: Likewise.
1055 * math/w_j1.c: Likewise.
1056 * math/w_j1f.c: Likewise.
1057 * math/w_j1l.c: Likewise.
1058 * math/w_jn.c: Likewise.
1059 * math/w_jnf.c: Likewise.
1060 * math/w_jnl.c: Likewise.
1061 * math/w_lgamma.c: Likewise.
1062 * math/w_lgamma_r.c: Likewise.
1063 * math/w_lgammaf.c: Likewise.
1064 * math/w_lgammaf_r.c: Likewise.
1065 * math/w_lgammal.c: Likewise.
1066 * math/w_lgammal_r.c: Likewise.
1067 * math/w_log.c: Likewise.
1068 * math/w_log10.c: Likewise.
1069 * math/w_log10f.c: Likewise.
1070 * math/w_log10l.c: Likewise.
1071 * math/w_log2.c: Likewise.
1072 * math/w_log2f.c: Likewise.
1073 * math/w_log2l.c: Likewise.
1074 * math/w_logf.c: Likewise.
1075 * math/w_logl.c: Likewise.
1076 * math/w_pow.c: Likewise.
1077 * math/w_powf.c: Likewise.
1078 * math/w_powl.c: Likewise.
1079 * math/w_remainder.c: Likewise.
1080 * math/w_remainderf.c: Likewise.
1081 * math/w_remainderl.c: Likewise.
1082 * math/w_scalb.c: Likewise.
1083 * math/w_scalbf.c: Likewise.
1084 * math/w_scalbl.c: Likewise.
1085 * math/w_sinh.c: Likewise.
1086 * math/w_sinhf.c: Likewise.
1087 * math/w_sinhl.c: Likewise.
1088 * math/w_sqrt.c: Likewise.
1089 * math/w_sqrtf.c: Likewise.
1090 * math/w_sqrtl.c: Likewise.
1091 * math/w_tgamma.c: Likewise.
1092 * math/w_tgammaf.c: Likewise.
1093 * math/w_tgammal.c: Likewise.
1095 * po/ja.po: Update from translation team.
1097 2011-09-29 Andreas Jaeger <aj@suse.de>
1100 * sunrpc/netname.c (netname2host): Fix logic.
1104 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
1106 * math/w_remainder.c (__remainder): Likewise.
1107 * math/w_remainderf.c (__remainderf): Likewise.
1108 * math/libm-test.inc (remainder_test): Add test cases.
1110 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1112 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
1115 2011-10-07 Ulrich Drepper <drepper@gmail.com>
1117 * string/test-memcmp.c: Avoid unncessary #defines.
1118 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
1120 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1122 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
1123 Use new sse2 version for core i3 - i7 as it's faster
1125 (bit_Prefer_PMINUB_for_stringop): New.
1126 * sysdeps/x86_64/rawmemchr.S: Update.
1127 Replace with faster SSE2 version.
1128 * sysdeps/x86_64/memrchr.S: New file.
1129 * sysdeps/x86_64/memchr.S: Update.
1130 Replace with faster SSE2 version.
1132 2011-09-12 Marek Polacek <mpolacek@redhat.com>
1134 * elf/dl-load.c (lose): Add cast to avoid warning.
1136 2011-10-07 Ulrich Drepper <drepper@gmail.com>
1138 * po/ca.po: Update from translation team.
1140 * inet/getnetgrent_r.c: Hook up nscd.
1141 * nscd/Makefile (routines): Add nscd_netgroup.
1142 (nscd-modules): Add netgroupcache.
1143 (CFLAGS-netgroupcache.c): Define.
1144 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
1145 (cache_search): Add const to second parameter.
1146 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
1148 (dbs): Add netgrdb entry.
1149 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
1150 (verify_persistent_db): Handle netgrdb.
1151 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
1152 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
1154 (netgroup_response_header): Define.
1155 (innetgroup_response_header): Define.
1156 (datahead): Add netgroup_response_header and innetgroup_response_header
1158 * nscd/nscd.conf: Add entries for netgroup cache.
1159 * nscd/nscd.h (dbtype): Add netgrdb.
1160 (_PATH_NSCD_NETGROUP_DB): Define.
1161 (netgroup_iov_disabled): Declare.
1162 (xmalloc, xcalloc, xrealloc): Move declarations here.
1163 (cache_search): Adjust prototype.
1164 Add netgroup-related prototypes.
1165 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
1166 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
1167 (__nscd_innetgr): Declare.
1168 * nscd/selinux.c (perms): Use access_vector_t as element type and
1169 add netgroup-related initializers.
1170 * nscd/netgroupcache.c: New file.
1171 * nscd/nscd_netgroup.c: New file.
1172 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
1173 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
1174 For four parameters use innetgr.
1175 * nss/nss_files/files-init.c: Add definition and callback for netgr.
1176 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
1177 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
1178 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
1180 * nscd/connections.c (register_traced_file): Don't register file
1181 for disabled databases.
1183 2011-10-06 Ulrich Drepper <drepper@gmail.com>
1185 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
1187 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
1188 from tree and freeing node.
1190 2011-09-25 Jiri Olsa <jolsa@redhat.com>
1192 * nss/nsswitch.c (__nss_database_lookup): Handle
1193 nss_parse_service_list out of memory case.
1195 2011-09-15 Jiri Olsa <jolsa@redhat.com>
1197 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
1200 2011-10-04 Andreas Schwab <schwab@redhat.com>
1202 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
1203 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
1205 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
1206 elf_machine_rela, elf_machine_lazy_rel.
1207 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
1208 (ELF_DYNAMIC_DO_REL): Likewise.
1209 (ELF_DYNAMIC_DO_RELA): Likewise.
1210 (ELF_DYNAMIC_RELOCATE): Likewise.
1211 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
1212 to ELF_DYNAMIC_DO_REL.
1213 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
1214 (dl_main): In trace mode always set __RTLD_NOIFUNC.
1215 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
1217 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
1218 skip_ifunc, don't call ifunc function if non-zero.
1219 (elf_machine_rela): Likewise.
1220 (elf_machine_lazy_rel): Likewise.
1221 (elf_machine_lazy_rela): Likewise.
1222 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
1223 (elf_machine_lazy_rel): Likewise.
1224 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
1226 (elf_machine_lazy_rel): Likewise.
1227 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1229 (elf_machine_lazy_rel): Likewise.
1230 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
1231 (elf_machine_lazy_rel): Likewise.
1232 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
1233 (elf_machine_lazy_rel): Likewise.
1234 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1235 (elf_machine_lazy_rel): Likewise.
1236 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
1237 (elf_machine_lazy_rel): Likewise.
1238 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
1239 (elf_machine_lazy_rel): Likewise.
1240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1241 (elf_machine_lazy_rel): Likewise.
1243 2011-09-28 Ulrich Drepper <drepper@gmail.com>
1245 * nss/nss_files/files-init.c (_nss_files_init): Use static
1246 initialization for all the *_traced_file variables.
1248 2011-09-28 Andreas Schwab <schwab@redhat.com>
1250 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1252 2011-09-27 Roland McGrath <roland@hack.frob.com>
1255 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
1257 2011-09-27 Andreas Schwab <schwab@redhat.com>
1259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
1260 Reread the line before reparsing it.
1262 2011-09-26 Andreas Schwab <schwab@redhat.com>
1264 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
1266 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
1267 Maxim Kuvyrkov <maxim@codesourcery.com>
1268 Joseph Myers <joseph@codesourcery.com>
1270 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
1271 if needed for __stack_chk_guard.
1273 2011-09-19 Roland McGrath <roland@hack.frob.com>
1275 * sysdeps/posix/spawni.c (script_execute): Always define it.
1276 It will be optimized away if unused.
1277 (maybe_script_execute): New function.
1278 (__spawni): Call it.
1280 * Makerules: Don't include tls.make.
1281 (config-tls): Always set to thread.
1282 * tls.make.c: File removed.
1284 2011-09-19 Mike Frysinger <vapier@gentoo.org>
1286 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
1287 * config.make.in (CPPFLAGS-config): New substituted variable.
1289 2011-09-15 Ulrich Drepper <drepper@gmail.com>
1291 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
1294 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
1295 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
1297 2011-09-15 Roland McGrath <roland@hack.frob.com>
1299 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
1300 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
1301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
1302 (CALL_FAIL): Likewise.
1303 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
1304 (CALL_FAIL): Macro removed.
1305 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
1307 2011-09-15 Ulrich Drepper <drepper@gmail.com>
1309 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
1310 for __FINITE_MATH_ONLY__ == 1.
1312 2011-09-15 Andreas Schwab <schwab@redhat.com>
1314 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
1315 __ieee754_sqrt instead of sqrt.
1316 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
1317 __ieee754_sqrtf instead of sqrtf.
1318 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1319 __floorf instead of floorf.
1320 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
1321 __floorf, __truncf instead of floorf, truncf.
1323 2011-09-14 Ulrich Drepper <drepper@gmail.com>
1325 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
1327 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
1328 __extern_always_inline.
1329 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
1332 2011-09-14 Andreas Schwab <schwab@redhat.com>
1334 * elf/rtld.c (dl_main): Also relocate in dependency order when
1335 doing symbol dependency testing.
1337 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
1339 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1340 Always define `refsym'.
1342 2011-09-13 Andreas Schwab <schwab@redhat.com>
1344 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
1345 (__FD_ELT): Renamed from __FDELT.
1346 * misc/bits/select2.h (__FD_ELT): Likewise.
1347 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
1348 __FD_MASK instead of __FDELT, __FDMASK.
1349 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
1351 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
1354 * elf/Makefile (gen-ldd): Fix pattern.
1356 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
1357 (init_tls): Likewise.
1359 2011-09-12 Ulrich Drepper <drepper@gmail.com>
1361 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
1363 2011-09-12 Andreas Schwab <schwab@redhat.com>
1365 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
1366 `struct cmsghdr *' instead of `void *'.
1367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
1370 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1372 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
1374 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
1377 2011-09-11 Ulrich Drepper <drepper@gmail.com>
1379 * configure.in: Remove --with-tls option.
1380 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
1381 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
1382 out in case it is missing.
1383 * sysdeps/ia64/elf/configure.in: Likewise.
1384 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
1385 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
1386 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
1387 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
1388 * sysdeps/sh/elf/configure.in: Likewise.
1389 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
1390 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
1391 * sysdeps/x86_64/elf/configure.in: Likewise.
1392 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
1393 * sysdeps/mach/hurd/tls.h: Likewise.
1396 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
1399 * configure.in: Fix use of AC_INIT.
1401 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
1403 2011-09-10 Ulrich Drepper <drepper@gmail.com>
1405 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
1407 * malloc/hooks.c: Likewise.
1409 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
1410 variables statically.
1411 (narenas): Initialize.
1412 (list_lock): Initialize.
1413 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
1414 initializtion of main_arena and list_lock. Small cleanups.
1415 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
1416 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
1417 Add initializers to main_arena and mp_.
1418 (malloc_state): Remove pagesize member. Change all users to use
1421 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
1422 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
1423 is always initialized.
1425 * malloc/malloc.c: Removed unused configurations and dead code.
1426 * malloc/arena.c: Likewise.
1427 * malloc/hooks.c: Likewise.
1428 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
1430 * include/tls.h: Removed. USE___THREAD must always be defined.
1431 * bits/libc-tsd.h: Don't handle !USE___THREAD.
1432 * elf/dl-libc.c: Likewise.
1433 * elf/dl-tsd.c: Likewise.
1434 * include/errno.h: Likewise.
1435 * include/netdb.h: Likewise.
1436 * include/resolv.h: Likewise.
1437 * inet/herrno-loc.c: Likewise.
1438 * inet/herrno.c: Likewise.
1439 * malloc/arena.c: Likewise.
1440 * malloc/hooks.c: Likewise.
1441 * malloc/malloc.c: Likewise.
1442 * resolv/res-state.c: Likewise.
1443 * resolv/res_libc.c: Likewise.
1444 * sysdeps/i386/dl-machine.h: Likewise.
1445 * sysdeps/ia64/dl-machine.h: Likewise.
1446 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1447 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1448 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1449 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1450 * sysdeps/sh/dl-machine.h: Likewise.
1451 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1452 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1453 * sysdeps/unix/i386/sysdep.S: Likewise.
1454 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1455 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1456 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1458 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1459 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1460 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1461 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1462 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1464 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1465 * sysdeps/x86_64/dl-machine.h: Likewise.
1466 * tls.make.c: Likewise.
1468 * configure.in: Remove --with-__thread option. Make tests for
1469 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
1470 tls_model attribute fail if no support is available. Remove
1472 * Makeconfig: Adjust for dropped configure option. All features are
1474 * Makerules: Likewise.
1475 * Versions.def: Likewise.
1476 * argp/argp-fmtstream.c: Likewise.
1477 * argp/argp-fmtstream.h: Likewise.
1478 * argp/argp-help.c: Likewise.
1479 * assert/assert.c: Likewise.
1480 * config.h.in: Likewise.
1481 * config.make.in: Likewise.
1482 * configure: Likewise.
1483 * configure.in: Likewise.
1484 * csu/Versions: Likewise.
1485 * csu/init.c: Likewise.
1486 * elf/tst-audit2.c: Likewise.
1487 * elf/tst-tls10.c: Likewise.
1488 * elf/tst-tls10.h: Likewise.
1489 * elf/tst-tls11.c: Likewise.
1490 * elf/tst-tls12.c: Likewise.
1491 * elf/tst-tls14.c: Likewise.
1492 * elf/tst-tlsmod11.c: Likewise.
1493 * elf/tst-tlsmod12.c: Likewise.
1494 * elf/tst-tlsmod13.c: Likewise.
1495 * elf/tst-tlsmod13a.c: Likewise.
1496 * elf/tst-tlsmod14a.c: Likewise.
1497 * elf/tst-tlsmod15b.c: Likewise.
1498 * elf/tst-tlsmod16a.c: Likewise.
1499 * elf/tst-tlsmod16b.c: Likewise.
1500 * elf/tst-tlsmod7.c: Likewise.
1501 * elf/tst-tlsmod8.c: Likewise.
1502 * elf/tst-tlsmod9.c: Likewise.
1503 * gmon/gmon.c: Likewise.
1504 * grp/fgetgrent_r.c: Likewise.
1505 * grp/putgrent.c: Likewise.
1506 * hurd/fopenport.c: Likewise.
1507 * include/libc-symbols.h: Likewise.
1508 * include/tls.h: Likewise.
1509 * intl/gettextP.h: Likewise.
1510 * intl/loadinfo.h: Likewise.
1511 * locale/global-locale.c: Likewise.
1512 * locale/localeinfo.h: Likewise.
1513 * mach/devstream.c: Likewise.
1514 * malloc/arena.c: Likewise.
1515 * malloc/set-freeres.c: Likewise.
1516 * misc/err.c: Likewise.
1517 * misc/getttyent.c: Likewise.
1518 * misc/mntent_r.c: Likewise.
1519 * posix/getopt.c: Likewise.
1520 * posix/wordexp.c: Likewise.
1521 * pwd/fgetpwent_r.c: Likewise.
1522 * resolv/Versions: Likewise.
1523 * resolv/res_hconf.c: Likewise.
1524 * shadow/fgetspent_r.c: Likewise.
1525 * shadow/putspent.c: Likewise.
1526 * stdio-common/printf_fphex.c: Likewise.
1527 * stdio-common/tmpfile.c: Likewise.
1528 * stdlib/abort.c: Likewise.
1529 * stdlib/fmtmsg.c: Likewise.
1530 * sunrpc/auth_unix.c: Likewise.
1531 * sunrpc/clnt_perr.c: Likewise.
1532 * sunrpc/clnt_tcp.c: Likewise.
1533 * sunrpc/clnt_udp.c: Likewise.
1534 * sunrpc/clnt_unix.c: Likewise.
1535 * sunrpc/openchild.c: Likewise.
1536 * sunrpc/svc_simple.c: Likewise.
1537 * sunrpc/svc_tcp.c: Likewise.
1538 * sunrpc/svc_udp.c: Likewise.
1539 * sunrpc/svc_unix.c: Likewise.
1540 * sunrpc/xdr.c: Likewise.
1541 * sunrpc/xdr_array.c: Likewise.
1542 * sunrpc/xdr_rec.c: Likewise.
1543 * sunrpc/xdr_ref.c: Likewise.
1544 * sunrpc/xdr_stdio.c: Likewise.
1546 2011-09-09 Ulrich Drepper <drepper@gmail.com>
1548 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
1550 2011-07-03 Andreas Jaeger <aj@suse.de>
1552 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
1553 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
1554 regenerate with gen-libm-tests.pl.
1556 2010-05-12 Petr Baudis <pasky@suse.cz>
1559 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
1560 around j0() zero points by switching to j1().
1561 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1562 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1563 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1564 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1566 2011-09-09 Ulrich Drepper <drepper@gmail.com>
1568 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
1570 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
1572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1573 Patch in part by Pavel Roskin <proski@gnu.org>.
1576 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
1578 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
1579 Free memory block if necessary.
1582 * libio/genops.c (INTDEF): For string streams the _lock pointer can
1583 be NULL. Don't lock in this case.
1585 2011-09-09 Roland McGrath <roland@hack.frob.com>
1587 * elf/elf.h (ELFOSABI_GNU): New macro.
1588 (ELFOSABI_LINUX): Define to that.
1590 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
1592 * string/strncat.c (strncat): Undef the symbol in case it has been
1593 defined in bits/string.h.
1595 2011-09-09 Ulrich Drepper <drepper@gmail.com>
1597 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
1599 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
1602 2011-08-17 Andreas Jaeger <aj@suse.de>
1604 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
1606 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1607 Ian Lance Taylor <iant@google.com>
1609 * math/libm-test.inc (lround_test): New testcase.
1610 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
1612 2011-09-08 Ulrich Drepper <drepper@gmail.com>
1614 * Makefile: Remove support for automatic cvs check-ins.
1615 * Makerules: Likewise.
1616 * config.make.in: Likewise.
1617 * configure.in: Likewise.
1618 * intl/Makefile: Likewise.
1619 * locale/Makefile: Likewise.
1620 * po/Makefile: Likewise.
1621 * posix/Makefile: Likewise.
1622 * sysdeps/gnu/Makefile: Likewise.
1623 * sysdeps/mach/hurd/Makefile: Likewise.
1624 * sysdeps/sparc/sparc32/Makefile: Likewise.
1627 * posix/Makefile (bug-regex32-ENV): Define.
1628 Patch by John Stanley <jpsinthemix@verizon.net>.
1630 * misc/Makefile (headers): Add bits/select2.h.
1631 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
1632 * misc/bits/select2.h: New file.
1633 * include/bits/select2.h: New file.
1634 * debug/Makefile (routines): Add fdelt_chk.
1635 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
1636 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
1638 * debug/fdelt_chk.c: New file.
1640 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
1641 * wcsmbs/test-wmemcmp.c: Likewise.
1642 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
1643 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
1645 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1647 * string/Makefile (strop-tests): Add memcmp.
1648 * string/test-wmemcmp.c: New file.
1649 * string/test-memcmp.c: Add wmemcmp support.
1651 2011-09-08 Roland McGrath <roland@hack.frob.com>
1654 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
1657 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
1658 garbage value in a __mach_port_mod_refs call in the cases of the
1659 task-self and thread-self ports.
1661 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
1663 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
1665 2011-09-08 Andreas Schwab <schwab@redhat.com>
1667 * elf/dl-load.c (lose): Check for non-null L.
1669 2011-09-07 Ulrich Drepper <drepper@gmail.com>
1671 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
1673 * elf/dl-libc.c (dlerror_run): Pass back error code from
1677 * elf/dl-load.c (lose): Free l_origin if it is valid.
1679 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
1681 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1682 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1683 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1684 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1685 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1686 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
1688 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1690 * sysdeps/powerpc/fpu/e_hypot.c: New file.
1691 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
1692 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
1693 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
1694 * sysdeps/powerpc/fpu/k_cosf.c: New file.
1695 * sysdeps/powerpc/fpu/k_sinf.c: New file.
1696 * sysdeps/powerpc/fpu/s_cosf.c: New file.
1697 * sysdeps/powerpc/fpu/s_sinf.c: New file.
1698 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
1699 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
1701 2011-08-15 Alan Modra <amodra@gmail.com>
1704 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
1705 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
1706 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
1707 ppc_mcount to static-only-routines.
1708 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
1710 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
1711 __mcount_internal with usual JUMPTARGET. Remove useless nop.
1713 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
1715 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
1716 for finite and infinity parameters.
1718 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
1720 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
1721 and add nop instructions for throughput optimization.
1722 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1724 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
1726 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
1727 aligned copy for power7 with vector-scalar instructions.
1728 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1730 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
1732 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
1735 2011-09-07 Andreas Schwab <schwab@redhat.com>
1738 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
1741 2011-09-07 Ulrich Drepper <drepper@gmail.com>
1743 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1744 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
1745 syscall wrapper around clock_gettime in __vdso_clock_gettime.
1746 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
1749 2011-09-06 Ulrich Drepper <drepper@gmail.com>
1751 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
1752 Forgot to demangle the pointer.
1754 * sysdeps/i386/sysdep.h: Define atom_text_section.
1755 * sysdeps/x86_64/sysdep.h: Likewise.
1756 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
1757 section with atom_text_section.
1758 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1759 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1760 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1761 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
1762 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
1764 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
1765 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
1766 already be defined. Change to take two parameters and don't assign
1767 result to variable. Adjust all users.
1768 Define INTERNAL_GETTIME if not already defined.
1769 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
1771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
1772 HAVE_CLOCK_GETTIME_VSYSCALL.
1773 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
1775 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
1776 gettimeofday vsyscall, just use time.
1778 2011-09-06 Andreas Schwab <schwab@redhat.com>
1780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
1783 2011-09-06 Ulrich Drepper <drepper@gmail.com>
1785 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
1787 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
1789 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1790 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
1791 syscall if possible.
1793 2011-09-05 Ulrich Drepper <drepper@gmail.com>
1795 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
1796 e_ident. Don't pass to find_mapsXX.
1797 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
1799 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1802 strchr-sse2-no-bsf strrchr-sse2-no-bsf
1803 * sysdeps/x86_64/multiarch/strchr.S: Update.
1804 Check bit_slow_BSF bit.
1805 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1806 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
1807 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
1809 2011-09-05 Ulrich Drepper <drepper@gmail.com>
1812 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
1815 (__spawni): Change last parameter to be flag. Test
1816 SPAWN_XFLAGS_USE_PATH flag to use path or not.
1817 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
1818 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
1819 * posix/spawni.c: Likewise.
1820 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
1821 * posix/spawnp.c: Likewise. Change normal version to use
1822 SPAWN_XFLAGS_USE_PATH.
1823 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
1824 SPAWN_XFLAGS_TRY_SHELL.
1827 * posix/glob.h: Remove gcc 1.x support.
1830 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
1832 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1834 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1835 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
1837 * sysdeps/i386/i686/multiarch/strchr.S: New file.
1838 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
1839 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
1840 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
1841 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
1842 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
1844 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1846 * sysdeps/x86_64/wcscmp.S: New file.
1848 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
1849 wcscmp-c wcscmp-sse2
1850 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
1851 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
1852 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
1853 * wcsmbs/wcscmp.c: Allow renaming.
1855 2011-09-05 David S. Miller <davem@davemloft.net>
1857 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
1858 stack slot, rather than the struct return pointer slot.
1859 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
1860 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
1861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
1862 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
1864 2011-09-05 Ulrich Drepper <drepper@gmail.com>
1866 * po/ja.po: Update from translation team.
1869 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
1870 kernel in 64-bit binaries.
1872 2011-09-01 David S. Miller <davem@davemloft.net>
1874 * elf/elf.h (HWCAP_SPARC_*): Move to..
1875 * sysdeps/sparc/sysdep.h: this new file and add new values.
1876 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
1877 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
1878 _DL_HWCAP_COUNT to 24.
1879 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
1881 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
1882 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
1883 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
1884 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
1885 instead of magic constants.
1886 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1888 2011-08-31 David S. Miller <davem@davemloft.net>
1890 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
1891 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
1892 Reimplement to do errno handling inline.
1893 (SYSCALL_ERROR_HANDLER): New macro.
1894 (__SYSCALL_STRING): Do not do errno handling in asm.
1895 (__CLONE_SYSCALL_STRING): Delete.
1896 (__INTERNAL_SYSCALL_STRING): Delete.
1897 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
1898 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
1899 (PSEUDO): Reimplement to do errno handling inline.
1900 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
1901 (SYSCALL_ERROR_HANDLER): New macro.
1902 (__SYSCALL_STRING): Do not do errno handling in asm.
1903 (__CLONE_SYSCALL_STRING): Delete.
1904 (__INTERNAL_SYSCALL_STRING): Delete.
1905 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
1906 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
1908 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
1909 (inline_syscall*): Add 'err' argument.
1910 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
1911 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
1912 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
1913 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
1915 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
1916 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1918 2011-08-30 Andreas Schwab <schwab@redhat.com>
1920 * elf/rtld.c (dl_main): Relocate objects in dependency order.
1922 2011-08-29 Jiri Olsa <jolsa@redhat.com>
1924 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
1927 2011-08-24 David S. Miller <davem@davemloft.net>
1929 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
1931 2011-08-24 Andreas Schwab <schwab@redhat.com>
1933 * elf/Makefile: Add rules to build and run unload8 test.
1934 * elf/unload8.c: New file.
1935 * elf/unload8mod1.c: New file.
1936 * elf/unload8mod1x.c: New file.
1937 * elf/unload8mod2.c: New file.
1938 * elf/unload8mod3.c: New file.
1940 * elf/dl-close.c (_dl_close_worker): Reset private search list if
1943 2011-08-23 David S. Miller <davem@davemloft.net>
1945 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
1946 subtract stack bias.
1947 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
1948 %sp not %fp in calculations.
1949 (_JMPBUF_UNWINDS_ADJ): Likewise.
1951 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
1952 (aio_suspend): Call it to force an exception region around the
1953 AIO_MISC_WAIT() invocation.
1955 2011-08-23 Andreas Schwab <schwab@redhat.com>
1957 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
1960 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
1962 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
1964 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
1966 (Elf64_FuncDesc): Remove.
1968 2011-08-22 David S. Miller <davem@davemloft.net>
1970 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
1971 sigaltstack check, add missing cfi directives.
1972 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
1973 missing cfi directives, and sigaltstack handling.
1975 2011-08-16 Andreas Schwab <schwab@redhat.com>
1978 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
1979 object is seen twice.
1980 * elf/dl-fini.c (_dl_sort_fini): Likewise.
1982 * elf/Makefile (distribute): Add tst-initorder2.c.
1983 (tests): Add tst-initorder2.
1984 (modules-names): Add tst-initorder2a tst-initorder2b
1985 tst-initorder2c tst-initorder2d. Add rules to build them.
1986 ($(objpfx)tst-initorder2.out): New rule.
1987 * elf/tst-initorder2.c: New file.
1988 * elf/tst-initorder2.exp: New file.
1990 2011-08-22 Andreas Schwab <schwab@redhat.com>
1992 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
1994 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
1995 dependencies back to end of function.
1997 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
2000 2011-08-21 Ulrich Drepper <drepper@gmail.com>
2002 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
2003 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
2004 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
2005 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
2006 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
2007 of __vdso_gettimeofday.
2008 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
2009 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
2011 (_libc_vdso_platform_setup): Remove initialization of
2012 __vdso_gettimeofday and __vdso_time.
2014 2011-08-20 Ulrich Drepper <drepper@gmail.com>
2016 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
2018 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
2021 * elf/dl-open.c (add_to_global): Report additions to the global scope
2022 for LD_DEBUG=scopes.
2023 (dl_open_worker): Also print scope of newly loaded dependencies.
2024 (_dl_show_scope): Indicate if there is no scope.
2027 * stdio-common/Makefile (tests): Add bug24.
2028 * stdio-common/bug24.c: New file.
2030 2011-08-19 Andreas Jaeger <aj@suse.de>
2033 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
2034 non-existant file when using close-on-exec mode.
2036 2011-08-20 Ulrich Drepper <drepper@gmail.com>
2038 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
2039 the very first instruction.
2041 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
2042 the CFI state in the end.
2043 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
2044 inclusion of dl-trampoline.h.
2045 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
2047 2011-08-19 Andreas Schwab <schwab@redhat.com>
2049 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
2050 expectations for long double.
2052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
2053 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
2055 2011-08-14 David S. Miller <davem@davemloft.net>
2057 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
2058 artificual limit depends upon the system page size.
2060 2011-08-17 Ulrich Drepper <drepper@gmail.com>
2062 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
2063 * resolv/Makefile: Define CFLAGS-libresolv.
2065 2011-08-17 Andreas Schwab <schwab@redhat.com>
2067 * nss/makedb.c (compute_tables): Make variables used in nested
2070 2011-08-17 Ulrich Drepper <drepper@gmail.com>
2072 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
2073 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
2074 if buffer was too small.
2076 * elf/pldd.c (main): Attach to all threads in the process.
2077 Rewrite /proc handling to use *at functions.
2079 2011-08-16 Ulrich Drepper <drepper@gmail.com>
2081 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
2082 specifies first scope to show.
2083 (dl_open_worker): Update callers. Move printing scope of new
2084 object to before the relocation.
2085 * elf/rtld.c (dl_main): Update _dl_show_scope call.
2086 * sysdeps/generic/ldsodefs.h: Update declaration.
2088 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
2089 string for the scope number.
2091 2011-08-14 Ulrich Drepper <drepper@gmail.com>
2093 * nscd/servicescache.c (cache_addserv): Make sure written is always
2096 2011-08-14 Roland McGrath <roland@hack.frob.com>
2098 * sysdeps/i386/i486/bits/atomic.h
2099 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
2100 statement expression, so as to suppress "set but not used" warning.
2101 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
2103 * string/strncat.c (STRNCAT): Use prototype definition.
2105 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
2106 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
2108 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
2109 (localedef-modules): Add localedef.
2110 (locale-modules): Add locale.
2112 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
2113 * elf/rtld.c (dl_main): Invert order of assignment in last change,
2116 2011-08-14 David S. Miller <davem@davemloft.net>
2118 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
2119 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
2121 2011-08-13 Ulrich Drepper <drepper@gmail.com>
2123 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
2124 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
2125 * elf/rtld.c (dl_main): Set l_name of vDSO.
2126 Call _dl_show_scope when DL_DEBUG_SCOPES.
2127 (process_dl_debug): Recognize scopes flag and also set it for all.
2128 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
2129 Declare _dl_show_scope.
2131 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
2132 (do_dlopen): Pass caller_dlopen to dl_open.
2133 (__libc_dlopen_mode): Initialize caller_dlopen.
2135 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
2136 of libc. Make tolower call locale-independent. Optimize a bit by
2137 using isdigit instead of isalnum.
2138 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
2140 2011-08-12 Ulrich Drepper <drepper@gmail.com>
2142 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
2143 was a dependency or dynamically loaded.
2145 2011-08-11 Ulrich Drepper <drepper@gmail.com>
2147 * intl/l10nflist.c: Allow architecture-specific pop function.
2148 * sysdeps/x86_64/l10nflist.c: New file.
2150 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
2153 2011-08-10 Andreas Schwab <schwab@redhat.com>
2155 * include/dirent.h: Add libc_hidden_proto for scandirat and
2156 scandirat64. Don't declare __scandirat64.
2157 * dirent/scandirat.c: Add libc_hidden_def.
2158 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
2159 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
2161 2011-08-10 David S. Miller <davem@davemloft.net>
2163 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
2165 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2166 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2167 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2169 2011-08-09 Ulrich Drepper <drepper@gmail.com>
2171 * Versions.def [libc]: Add GLIBC_2.15.
2172 * dirent/Makefile (routines): Add scandirat and scandirat64.
2173 * dirent/Versions [libc]: Export scandirat and scandirat64 for
2175 * dirent/dirent.h: Declare scandirat and scandirat64.
2176 * dirent/scandirat.c: New file.
2177 * dirent/scandirat64.c: New file.
2178 * sysdeps/wordsize-64/scandirat.c: New file.
2179 * sysdeps/wordsize-64/scandirat64.c: New file.
2180 * dirent/opendir.c: Define opendirat.
2181 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
2183 * dirent/scandir64.c: Adjust for scandir.c change.
2184 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
2185 __scandirat64, and __scandir_cancel_handler.
2186 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
2187 additional parameter and use openat instead of open (outside of ld.so).
2188 Add new __opendir as wrapper around __opendirat.
2189 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
2190 here without requiring old scandirat implementation.
2192 2011-08-08 Ulrich Drepper <drepper@gmail.com>
2194 * dirent/scandir.c (cancel_handler): Renamed to
2195 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
2196 defined. Adjust users.
2197 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
2198 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
2200 2011-08-04 Ulrich Drepper <drepper@gmail.com>
2202 * string/test-string.h (IMPL): Use __STRING to expand name and then
2205 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
2208 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2210 * string/Makefile: Update.
2211 (strop-tests): Append strncat.
2212 * string/test-wcscmp.c: New file.
2213 New comprehensive test for wcscmp.
2214 * string/test-strcmp.c: Update.
2217 2011-07-22 Andreas Schwab <schwab@redhat.com>
2219 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
2222 2011-07-26 Andreas Schwab <schwab@redhat.com>
2224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
2225 encoding to ACE if AI_IDN.
2227 2011-08-01 Jakub Jelinek <jakub@redhat.com>
2229 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
2230 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
2232 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2234 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
2235 Fix overflow bug in strncat.
2236 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2238 * string/test-strncat.c: Update.
2239 Add new tests for checking overflow bugs.
2241 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2243 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2244 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
2245 * sysdeps/i386/i686/multiarch/strcat.S: New file.
2246 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
2247 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
2248 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
2249 * sysdeps/i386/i686/multiarch/strncat.S: New file.
2250 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
2251 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
2253 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
2254 (USE_AS_STRCAT): Define.
2255 Add strcat and strncat support.
2256 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2258 2011-07-25 Andreas Schwab <schwab@redhat.com>
2260 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
2261 __n bigger than INT_MAX+1.
2262 (__strncmp_g): Likewise.
2264 2011-07-23 Ulrich Drepper <drepper@gmail.com>
2266 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
2267 * libio/stido.h: Likewise.
2269 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
2271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
2274 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
2275 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2276 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2277 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2281 * scripts/test-installation.pl: Don't expect libnss_test1 to be
2284 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
2286 (_dl_x86_64_save_sse): Likewise.
2288 2011-07-22 Ulrich Drepper <drepper@gmail.com>
2290 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
2292 (_dl_x86_64_save_sse): Likewise.
2294 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
2296 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
2298 2011-07-21 Andreas Schwab <schwab@redhat.com>
2300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
2302 (_dl_x86_64_save_sse): Use correct AVX check.
2304 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2306 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
2307 bug in strncpy/strncat.
2308 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2310 2011-07-21 Ulrich Drepper <drepper@gmail.com>
2312 * string/tester.c (test_strcat): Add tests for different alignments
2313 of source and destination.
2314 (test_strncat): Likewise.
2316 2011-07-20 Ulrich Drepper <drepper@gmail.com>
2319 * posix/glob.c (glob): Check passed in values before using them in
2320 expressions to avoid some overflows.
2321 (glob_in_dir): Likewise.
2324 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
2325 check for AVX enablement so that we don't crash with old kernels and
2327 * elf/tst-audit4.c: Add same checks here.
2328 * elf/tst-audit6.c: Likewise.
2330 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
2332 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
2334 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
2336 2011-07-20 Ulrich Drepper <drepper@gmail.com>
2338 * po/cs.po: Update from translation team.
2339 * po/bg.po: Likewise.
2341 2011-07-12 Marek Polacek <mpolacek@redhat.com>
2343 * misc/sys/cdefs.h: Add support for const attribute.
2344 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
2345 to gnu_dev_{major,minor,makedev} functions.
2347 2011-07-20 Marek Polacek <mpolacek@redhat.com>
2349 * intl/dcigettext.c (get_output_charset): Add missing bracket.
2351 2011-07-20 Andreas Schwab <schwab@redhat.com>
2353 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
2356 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2358 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2359 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
2360 register in order to avoid conflicts with the soft frame pointer
2361 being held in r11 when necessary.
2362 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2363 (INTERNAL_VSYSCALL_NCS): Likewise.
2365 2011-07-14 Marek Polacek <mpolacek@redhat.com>
2367 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
2368 * elf/dl-fini.c (_dl_fini): Adjust caller.
2369 * elf/dl-close.c (_dl_close_worker): Likewise.
2370 * sysdeps/generic/ldsodefs.h: Adjust declaration.
2372 2011-07-15 Marek Polacek <mpolacek@redhat.com>
2374 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
2375 "aux_cache->nlibs < 0".
2377 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
2378 in the reload-count case.
2380 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2383 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
2384 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
2385 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
2386 * sysdeps/x86_64/multiarch/strcat.S: New file.
2387 * sysdeps/x86_64/multiarch/strncat.S: New file.
2388 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
2389 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
2390 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
2391 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
2392 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
2393 (USE_AS_STRCAT): Define.
2394 Add strcat and strncat support.
2395 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
2396 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2397 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
2398 * string/strncat.c: Update.
2399 (USE_AS_STRNCAT): Define.
2400 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2401 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
2403 * sysdeps/x86_64/multiarch/init-arch.h
2404 (bit_Prefer_PMINUB_for_stringop): New.
2405 (index_Prefer_PMINUB_for_stringop): Likewise.
2406 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
2407 bit_Prefer_PMINUB_for_stringop.
2409 2011-07-19 Ulrich Drepper <drepper@gmail.com>
2411 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
2413 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
2414 of casting of buffer.
2415 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
2416 buffer32 and buffer64.
2417 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
2418 writes instead of casting of buffer.
2419 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
2421 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
2424 2011-07-19 Andreas Schwab <schwab@redhat.com>
2426 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
2428 2011-07-19 Ulrich Drepper <drepper@gmail.com>
2430 * nscd/nscd.c (termination_handler): Don't do anything for a database
2431 if it has not yet been initialized.
2433 2011-07-18 Ulrich Drepper <drepper@gmail.com>
2435 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
2437 2011-07-15 Marek Polacek <mpolacek@redhat.com>
2439 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
2441 2011-07-18 Ulrich Drepper <drepper@gmail.com>
2443 * po/nl.po: Update from translation team.
2444 * po/sv.po: Likewise.
2446 2011-07-16 Roland McGrath <roland@hack.frob.com>
2448 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
2449 now disallowed by GCC.
2451 * configure.in (use-default-link): Default to yes if a test -shared
2452 link meets our qualifications.
2453 * configure: Regenerated.
2455 * config.make.in (output-format): New variable.
2456 * configure.in: Check for ld --print-output-format support.
2457 * configure: Regenerated.
2458 * Makerules ($(common-objpfx)format.lds)
2459 [$(output-format) != unknown]: Just use $(output-format),
2460 instead of the linker-script munging.
2462 2011-07-14 Roland McGrath <roland@hack.frob.com>
2464 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
2465 of $(common-objpfx)shlib.lds.
2466 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
2468 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
2469 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
2471 * configure.in (-z relro check): Adjust test code to add a large
2472 writable data section after it.
2473 * configure: Regenerated.
2475 2011-07-11 Roland McGrath <roland@hack.frob.com>
2477 * configure.in (-z relro check): Fix test code to make the variable
2479 * configure: Regenerated.
2481 2011-07-11 Ulrich Drepper <drepper@gmail.com>
2483 * nscd/nscd.h (struct traced_file): Define.
2484 (struct database_dyn): Remove inotify_descr, reset_res, and filename
2485 elements. Add traced_files.
2486 (inotify_fd): Declare.
2487 (register_traced_file): Declare.
2488 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
2489 (inotify_fd): Export.
2490 (resolv_conf_descr): Remove.
2491 (nscd_init): Move inotify descriptor creation to main.
2492 Don't register files for notification here.
2493 (register_traced_file): New function.
2494 (invalidate_cache): Don't use reset_res to determine whether to call
2495 res_init, go through the list of registered files.
2496 (main_loop_poll): The inotify descriptors are now stored in the
2497 structures for the traced files.
2498 (main_loop_epoll): Likewise
2499 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
2500 to __nss_disable_nscd.
2501 * nscd/cache.c (prune_cache): There is no single inotify descriptor
2502 for a database anymore. Check the records for all the registered
2504 * nss/Makefile (libnss_files-routines): Add files-init.
2505 (libnss_db-routines): Add db-init.
2506 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
2507 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
2508 * nss/nss_db/db-init.c: New file.
2509 * nss/nss_files/files-init.c: New file.
2510 * nss/nsswitch.c (nss_load_library): New function. Broken out of
2511 __nss_lookup_function.
2512 (__nss_lookup_function): Call nss_load_library.
2513 (nss_load_all_libraries): New function.
2514 (__nss_disable_nscd): Take parameter with callback function for files
2515 to register. Set is_nscd. Load all the DSOs for the NSS modules
2516 used for the cached services.
2517 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
2518 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
2519 options for features to all the files in nscd.
2521 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
2523 2011-07-10 Roland McGrath <roland@hack.frob.com>
2525 * csu/elf-init.c (__libc_csu_init): Comment typo.
2527 2011-07-09 Ulrich Drepper <drepper@gmail.com>
2529 * po/pl.po: Update from translation team.
2530 * po/ja.po: Likewise.
2531 * po/ru.po: Likewise.
2532 * po/ko.po: Likewise.
2533 * po/fr.po: Likewise.
2535 2011-07-09 Roland McGrath <roland@hack.frob.com>
2537 * configure.in (.ctors/.dtors header and trailer check):
2538 Use an empirical test on a built program.
2539 * configure: Regenerated.
2541 * configure.in (-z relro check): Use an empirical test on a built DSO.
2542 Detect, but do not require, on ia64.
2543 * configure: Regenerated.
2545 * configure.in (READELF): Find it with AC_CHECK_TOOL.
2546 Update tests that use readelf to use $READELF instead.
2547 * configure: Regenerated.
2549 2011-07-08 Ulrich Drepper <drepper@gmail.com>
2551 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
2552 if the result is not used.
2554 2011-07-05 Andreas Jaeger <aj@suse.de>
2557 * stdlib/tst-strtod.c: Add testcase.
2559 2011-07-07 Ulrich Drepper <drepper@gmail.com>
2561 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
2562 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
2563 The latter has a higher limit. Take additional parameter to pass to
2565 (__pathconf): Pass file to __statfs_link_max.
2566 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
2568 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
2572 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
2573 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2575 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
2576 (__statfs_filesize_max): Likewise.
2577 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
2579 2011-07-05 Andreas Jaeger <aj@suse.de>
2581 * resolv/res_comp.c (dn_skipname): Remove unused variable.
2583 2011-07-06 Marek Polacek <mpolacek@redhat.com>
2585 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
2587 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
2590 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
2592 * Makefile (strop-tests): Add strncat.
2593 * string/test-strncat.c: New file.
2595 2011-06-30 Marek Polacek <mpolacek@redhat.com>
2597 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
2599 2011-06-21 Andreas Jaeger <aj@suse.de>
2601 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
2602 Copy rule from iconvdata/Makefile.
2604 2011-07-06 Ulrich Drepper <drepper@gmail.com>
2607 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
2608 but no long options are defined, just return 'W'.
2610 2011-06-22 Marek Polacek <mpolacek@redhat.com>
2613 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
2615 2011-07-06 Ulrich Drepper <drepper@gmail.com>
2617 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
2619 (innetgr): Likewise.
2621 2011-07-05 Roland McGrath <roland@hack.frob.com>
2623 * config.make.in (install_root): Default to $(DESTDIR).
2625 2011-07-05 Ulrich Drepper <drepper@gmail.com>
2627 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
2629 2011-07-02 Roland McGrath <roland@hack.frob.com>
2631 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
2633 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
2634 containing directory rather than embedding absolute directory names.
2636 * scripts/check-local-headers.sh: Rewritten using awk.
2637 Match by word, not by line. Print error messages for matches.
2638 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
2640 * Makerules [shlib-lds-flags empty]:
2641 ($(common-objpfx)libc_pic.opts): New target.
2642 ($(common-objpfx)libc_pic.os.clean): New target.
2643 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
2645 * config.make.in (OBJCOPY): New variable.
2646 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
2647 * configure: Regenerated.
2649 * config.make.in (use-default-link): New variable.
2650 * configure.in (use_default_link): Grok --with-default-link to set it.
2651 * configure: Regenerated.
2652 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
2653 (shlib-lds, shlib-lds-flags): Define to empty.
2655 * Makerules (shlib-lds): New variable.
2656 (shlib-lds-flags): New variable.
2657 (build-shlib, build-moduile, build-module-asneeded): Use it.
2658 ($(common-objpfx)libc.so): Use $(shlib-lds).
2659 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
2660 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
2662 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
2663 DT_FLAGS/DT_FLAGS_1 with zero flags.
2665 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
2666 linker script munging.
2668 2011-07-02 Ulrich Drepper <drepper@gmail.com>
2670 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
2672 * crypt/sha512.c (sha512_process_block): Perform total addition using
2673 128-bit if possible.
2674 (__sha512_finish_ctx): Likewise.
2675 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
2677 * crypt/sha256.c (SWAP64): Define.
2678 (sha256_process_block): Perform total addition using 64-bit if
2680 (__sha256_finish_ctx): Likewise.
2682 2011-07-01 Ulrich Drepper <drepper@gmail.com>
2684 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
2685 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2686 * nscd/hstcache.c (cache_addhst): Likewise.
2687 * nscd/grpcache.c (cache_addgr): Likewise.
2688 * nscd/aicache.c (addhstaiX): Likewise
2689 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
2691 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
2693 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
2694 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2695 * nscd/hstcache.c (cache_addhst): Likewise.
2696 * nscd/grpcache.c (cache_addgr): Likewise.
2697 * nscd/aicache.c (addhstaiX): Likewise
2699 2011-07-01 Andreas Schwab <schwab@redhat.com>
2701 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
2702 domain only when needed.
2704 2011-06-30 Andreas Schwab <schwab@redhat.com>
2706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
2709 2011-06-29 Ulrich Drepper <drepper@gmail.com>
2711 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
2712 are re-adding the entry.
2713 * nscd/servicescache.c (cache_addserv): Likewise.
2715 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
2717 * sysdeps/generic/dl-irel.h: fix protection against multiple
2719 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
2721 2011-06-28 Ulrich Drepper <drepper@gmail.com>
2724 * malloc/memusage.sh: Fix quoting in message.
2725 * debug/xtrace.sh: Likewise.
2727 * configure.in: Remove support for --experimental-malloc option, make
2729 * config.make.in: Likewise.
2730 * malloc/Makefile: Likewise.
2732 2011-06-27 Andreas Schwab <schwab@redhat.com>
2734 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
2735 two-byte characters.
2737 2011-06-27 Roland McGrath <roland@hack.frob.com>
2739 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
2740 AC_CACHE_CHECK invocation.
2741 * configure: Regenerated.
2743 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
2745 2011-06-27 Ulrich Drepper <drepper@gmail.com>
2748 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
2749 bit from old_res_options.
2751 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
2753 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
2754 value type for setfct.
2756 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
2758 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
2759 __gettimeofday instead of gettimeofday.
2761 2011-06-26 Ulrich Drepper <drepper@gmail.com>
2763 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
2765 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
2767 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
2769 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
2772 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
2774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2775 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
2776 strcpy-sse2-unaligned strncpy-sse2-unaligned
2777 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
2778 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
2779 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
2780 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
2781 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
2782 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
2783 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
2784 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
2785 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
2786 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
2787 (STRCPY): Support SSE2 and SSSE3 versions.
2789 2011-06-24 Ulrich Drepper <drepper@gmail.com>
2792 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
2793 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
2794 kernels which artificially limit size of requests.
2796 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
2798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2799 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
2800 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
2801 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
2802 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
2803 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
2804 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
2805 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
2806 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
2807 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
2808 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
2809 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
2810 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
2811 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
2812 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
2813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2814 Enable unaligned load optimization for Intel Core i3, i5 and i7
2816 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
2818 (index_Fast_Unaligned_Load): Define.
2819 (HAS_FAST_UNALIGNED_LOAD): Define.
2821 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2823 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
2825 2011-06-22 Ulrich Drepper <drepper@gmail.com>
2828 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
2829 until it is clear that the information is realy needed.
2830 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
2832 2011-06-22 Andreas Schwab <schwab@redhat.com>
2834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
2836 2011-06-22 Ulrich Drepper <drepper@gmail.com>
2838 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
2839 /sys/devices/system/cpu/online if it is usable.
2841 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
2842 reading the information from the /proc filesystem to once a second.
2844 2011-06-21 Andreas Jaeger <aj@suse.de>
2846 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
2847 NULL after inclusion of kernel headers.
2849 2011-06-21 Ulrich Drepper <drepper@gmail.com>
2851 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
2852 calls to internal_setent.
2855 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
2856 addresses using gethostbyname4_r ignore IPv4 addresses.
2858 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
2859 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
2861 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
2863 2011-06-20 David S. Miller <davem@davemloft.net>
2865 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
2867 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
2869 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
2871 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
2872 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
2873 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
2874 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
2875 * sysdeps/x86_64/dl-irel.h: Likewise.
2877 * elf/dl-runtime.c: Use elf_ifunc_invoke.
2878 * elf/dl-sym.c: Likewise.
2880 2011-06-15 Ulrich Drepper <drepper@gmail.com>
2882 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
2883 need to dereference resplen2.
2885 2011-06-14 Andreas Schwab <schwab@redhat.com>
2887 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
2889 2011-06-15 Ulrich Drepper <drepper@gmail.com>
2891 * Makeconfig: Define vardbdir and inst_vardbdir.
2892 * nss/Makefile: Add rules to install db-Makefile.
2894 * nss/nss_db/db-XXX.c: Cleanup.
2896 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
2897 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
2899 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
2900 * nss/makedb.c: Implement -g option to specify that value strings
2901 are generated and should not be added to table iterated over for
2903 * nss/nss_db/db-initgroups.c: New file.
2905 * nss/getent.c: Add support for initgroups lookups through getgrouplist
2908 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
2909 (internal_getgrouplist): Adjust to name change.
2910 Update use_initgroups_entry if this is not the first call.
2911 * nss/databases.def: Add initgroups entry.
2913 * nss/makedb.c (compute_tables): Check result of multiple hash table
2914 sizes to minimize maximum chain length.
2916 2011-06-14 Ulrich Drepper <drepper@gmail.com>
2918 * Versions.def: Add entry for libnss_db.
2919 * shlib-versions: Likewise.
2920 * nss/Makefile: Add rules to build libnss_db.
2921 * nss/Versions: Add libnss_db information. Organize libnss_files
2923 * nss/db-Makefile: Add gshadow support. Change rules for the new
2924 makedb progra. Some minor improvements to generate smaller files.
2925 * nss/nss_db/nss_db.h: Move NSS database header data structures to
2927 * nss/makedb.c: ...here.
2928 Improve database format to be smaller and require less memory at
2930 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
2932 * nss/nss_db/db-netgrp.c: Likewise.
2933 * nss/nss_db/db-open.c: Likewise.
2934 * nss/nss_files/flies-XXX.x: Adjust comments.
2935 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
2936 * nss/nss_files/files-grp.c: Likewise.
2937 * nss/nss_files/files-hosts.c: Likewise.
2938 * nss/nss_files/files-network.c: Likewise.
2939 * nss/nss_files/files-proto.c: Likewise.
2940 * nss/nss_files/files-pwd.c: Likewise.
2941 * nss/nss_files/files-rpc.c: Likewise.
2942 * nss/nss_files/files-service.c: Likewise.
2943 * nss/nss_files/files-sgrp.c: Likewise.
2944 * nss/nss_files/files-spwd.c: Likewise.
2945 * nss/nss_db/db-alias.c: Removed.
2946 * nss/nss_db/dummy-db.h: Removed.
2948 2011-06-02 Ulrich Drepper <drepper@gmail.com>
2950 * nss/makedb.c: Rewritten to not use database library.
2951 * nss/Makefile: Update to build new makedb program.
2953 2011-06-14 Andreas Jaeger <aj@suse.de>
2955 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
2958 2011-06-10 Andreas Schwab <schwab@redhat.com>
2960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
2963 2011-06-10 Roland McGrath <roland@hack.frob.com>
2965 * Makerules (shlib.lds): Fail if the linker script comes out empty.
2966 * elf/Makefile ($(objpfx)ld.so): Likewise.
2968 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
2969 Don't list ld.so twice in dependencies.
2971 * posix/bug-regex31.c: Include <stdlib.h>.
2973 * nscd/hstcache.c (cache_addhst): Remove unused variable.
2975 * nis/nss_compat/compat-spwd.c
2976 (getspent_next_nss_netgr): Remove unused variable.
2977 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2979 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
2980 nonmembers" output to use the right array.
2982 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
2984 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
2986 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
2987 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
2988 * catgets/gencat.c (read_input_file): Likewise.
2989 * locale/programs/locarchive.c (enlarge_archive): Likewise.
2991 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
2992 variable definition inside #if's controlling its use.
2994 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
2996 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
2998 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
3000 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
3003 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
3005 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
3006 * configure: Regenerated.
3008 * Makerules: Revert last change.
3009 * elf/Makefile: Likewise.
3011 2011-06-09 Roland McGrath <roland@hack.frob.com>
3013 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
3014 * elf/Makefile ($(objpfx)librtld.os): Likewise.
3015 (reloc-link): Likewise.
3017 2011-06-09 Ulrich Drepper <drepper@gmail.com>
3019 * elf/Makefile: Add rules to build pldd.
3020 * elf/pldd.c: New file.
3021 * elf/pldd-xx.c: New file.
3023 2011-06-07 Ulrich Drepper <drepper@gmail.com>
3025 * version.h: Update for 2.15 development version.
3027 2011-06-07 David S. Miller <davem@davemloft.net>
3029 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
3031 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3032 elf_machine_lazy_rel): Likewise.
3033 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3034 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3035 elf_machine_lazy_rel): Likewise.
3036 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
3037 dl_hwcap via passed in argument.
3038 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
3041 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3043 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
3045 2011-06-06 Roland McGrath <roland@hack.frob.com>
3048 * manual/fdl-1.1.texi: New file, verbatim from:
3049 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
3050 * manual/lgpl-2.1.texi: New file, verbatim from:
3051 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
3052 * manual/Makefile (licenses): New variable, list those new file names.
3054 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
3056 * manual/fdl.texi: File removed.
3057 * manual/lesser.texi: File removed.
3058 * manual/libc.texinfo (Copying, Documentation License):
3059 Use new @include file names, put @appendix directive before @include.
3061 2011-06-04 Jakub Jelinek <jakub@redhat.com>
3064 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
3065 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
3066 (mq_open): Add __NTH.
3068 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
3070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3071 Assume Intel Core i3/i5/i7 processor if AVX is available.
3073 2011-05-31 Ulrich Drepper <drepper@gmail.com>
3075 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3078 2011-05-31 Andreas Schwab <schwab@redhat.com>
3080 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
3081 memory. Use alloca_account. Fix memory leak when retrying.
3083 2011-05-31 Ulrich Drepper <drepper@gmail.com>
3085 * version.h (RELEASE): Bump for 2.14 release.
3086 * include/features.h (__GLIBC_MINOR__): Bump to 14.
3088 * config.make.in (RANLIB): Remove entry.
3090 2011-05-30 Ulrich Drepper <drepper@gmail.com>
3092 * po/Makefile (po-sed-cmd): Add ksh to extensions.
3093 (libc.pot): Work around missing support for .ksh extension in xgettext.
3096 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
3097 if both request failed.
3098 (send_dg): In case of server errors clear resplen or *resplen2.
3101 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
3102 when there are multiple maps.
3103 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
3104 (_dl_fini): Remove test here.
3106 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
3108 2011-05-29 Ulrich Drepper <drepper@gmail.com>
3111 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
3112 bit from old_res_options.
3113 (gaih_inet): Likewise.
3116 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
3119 * resolv/res_init.c (res_setoptions): Make the code more compact.
3122 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
3126 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
3128 * malloc/malloc.h: Mark malloc hook variables as deprecated.
3131 * malloc/malloc.h: Declare malloc hook variables as volatile.
3133 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
3137 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
3138 raise in the comment.
3139 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3140 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3141 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
3143 2011-05-28 Ulrich Drepper <drepper@gmail.com>
3146 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
3147 grow the buffers more if it already has to be sufficient.
3148 (build_wcs_upper_buffer): Likewise.
3149 * posix/regexec.c (check_matching): Likewise.
3150 (clean_state_log_if_needed): Likewise.
3151 (extend_buffers): Don't enlarge buffers beyond size of the input
3153 Patches mostly by Emil Wojak <emil@wojak.eu>.
3154 * posix/bug-regex32.c: New file.
3155 * posix/Makefile (tests): Add bug-regex32.
3157 * locale/findlocale.c (_nl_find_locale): Return right away if
3158 _nl_explode_name failed.
3159 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
3161 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
3163 * debug/xtrace.sh: Unify messages.
3164 * malloc/memusage.sh: Likewise.
3167 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
3168 time symbol from vDSO. Substitute with vsyscall if not available.
3169 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
3172 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
3173 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
3174 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
3175 Add sendmmsg and internal_sendmmsg.
3176 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
3177 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
3178 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
3180 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
3181 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
3182 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
3184 2011-05-27 Ulrich Drepper <drepper@gmail.com>
3187 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
3188 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
3190 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
3194 * iconvdata/Makefile (tests): Add bug-iconv9.
3195 * iconvdata/bug-iconv9.c: New file.
3197 2011-05-27 Andreas Schwab <schwab@redhat.com>
3200 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
3202 2011-05-25 Jakub Jelinek <jakub@redhat.com>
3204 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
3205 (struct user_regs_struct): Change intcs field back to cs.
3207 2011-05-25 Ulrich Drepper <drepper@gmail.com>
3209 * po/ja.po: Update from translation team.
3211 2011-05-23 Ulrich Drepper <drepper@gmail.com>
3214 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
3215 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
3217 2011-05-20 Andreas Schwab <schwab@redhat.com>
3219 * stdlib/longlong.h: Update from GCC.
3221 2011-05-23 Andreas Schwab <schwab@redhat.com>
3223 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
3225 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
3227 (__sysconf): Pass it down.
3229 2011-05-22 Ulrich Drepper <drepper@gmail.com>
3232 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
3234 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3235 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
3236 add in in __libc_use_alloca calls. Adjust callers.
3237 (glob): Use malloc in some situations.
3239 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
3240 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
3243 2011-05-21 Ulrich Drepper <drepper@gmail.com>
3245 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
3246 and CLOCK_BOOTTIME_ALARM.
3249 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
3252 * string/_strerror.c (__strerror_r): Print negative errors as signed
3256 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
3257 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
3258 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
3260 * configure.in: Fix typo in redirection and correct removal of test
3264 * locale/setlocale.c (new_composite_name): Fix test to check for
3265 identical name of all categories.
3268 * libio/filedoalloc.c (local_isatty): New function.
3269 (_IO_file_doallocate): Use local_isatty.
3270 * stdio-common/perror.c (perror): In case a new stream is used
3271 forward the stream error.
3272 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
3275 2011-05-20 Ulrich Drepper <drepper@gmail.com>
3278 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
3280 * include/alloca.h (extend_alloca_account): Define.
3283 * posix/regex.h: Fix comments with documentation of user-accessible
3284 fields after compilation and describe correct free'ing of pattern
3285 after re_compile_pattern.
3286 Patch by Reuben Thomas <rrt@sc3d.org>.
3288 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
3290 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
3291 and -mno-altivec to prevent the compiler from using Altivec and/or
3292 VSX instructions when the corresponding registers are not available.
3294 2011-05-19 Andreas Schwab <schwab@redhat.com>
3296 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
3298 2011-05-19 Ulrich Drepper <drepper@gmail.com>
3300 * libio/freopen.c (freopen): Use __dup2, not dup2.
3301 * libio/freopen64.c (freopen64): Likewise.
3303 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
3306 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
3307 * math/Makefile (tests): Add test-powl.
3308 (CFLAGS-test-powl.c): Define.
3309 * math/test-powl.c: New file.
3311 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
3313 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
3315 2011-05-17 Ulrich Drepper <drepper@gmail.com>
3318 * iconvdata/gb18030.c: Update to GB18020-2005.
3320 2011-05-16 Ulrich Drepper <drepper@gmail.com>
3322 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
3323 RE_SYNTAX_POSIX_AWK): Update to match recent development.
3324 Patch by Aharon Robbins <arnold@skeeve.com>.
3327 * stdlib/putenv.c (putenv): Don't always create copy of the variable
3331 * misc/pselect.c (__pselect): Handle timeout value errors hidden
3335 * misc/error.c (error_at_line): Ensure file_name and old_file_name
3336 point to strings before performing equality test for error_one_per_line
3340 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
3343 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
3344 (struct user_fpregs_struct): Avoid __uint*_t types.
3347 * malloc/mtrace.c (tr_where): Add additional parameter to point to
3348 symbol info. Use it instead of calling _dl_addr locally.
3349 (lock_and_info): New function.
3350 (tr_freehook): Call lock_and_info and pass symbol info as additional
3351 parameter to tr_where.
3352 (tr_mallochook): Likewise.
3353 (tr_reallochook): Likewise.
3354 (tr_memalignhook): Likewise.
3356 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
3357 used and couldn't be at all thread-safe.
3359 2011-05-15 Ulrich Drepper <drepper@gmail.com>
3361 * libio/freopen.c (freopen): Don't close old file descriptor
3362 before the new one is opened. Instead dup the new file descriptor
3363 to the old one after the new stream is created.
3364 * libio/freopen64.c (freopen64): Likewise.
3365 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
3366 * libio/fileops.c (_IO_new_file_close_it): Handle new
3367 _IO_FLAGS2_NOCLOSE flag.
3368 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
3369 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
3370 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
3371 _IO_FLAGS2_NOCLOSE flag.
3372 * include/unistd.h: Add hidden_proto for dup3.
3374 * io/dup3.c: Define hidden symbol.
3375 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
3378 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
3379 when an incomplete long option is used.
3380 * posix/tst-getopt_long1.c: New file.
3381 * posix/Makefile (tests): Add tst-getopt_long1.
3384 * scripts/config.guess: Update from autoconf-2.68.
3385 * scripts/config.sub: Likewise.
3388 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
3390 (has_cpuclock): ...this. New function.
3391 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
3392 macro here based on has_cpuclock code.
3395 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3396 First byte (not low byte) is now always NUL.
3397 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
3399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3400 Use non-cancelable interfaces.
3403 * locale/iso-639.def: Add entry for Sorani.
3406 * include/stdlib.h: Move include protection to the right place.
3407 Define abort_msg_s. Declare __abort_msg with it.
3408 * stdlib/abort.c (__abort_msg): Adjust type.
3409 * assert/assert.c (__assert_fail_base): New function. Majority
3410 of code from __assert_fail. Allocate memory for __abort_msg with
3412 (__assert_fail): Now call __assert_fail_base.
3413 * assert/assert-perr.c: Remove bulk of implementation. Use
3415 * include/assert.hL Declare __assert_fail_base.
3416 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
3418 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
3420 2011-05-14 Ulrich Drepper <drepper@gmail.com>
3424 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
3425 until all modules are registered in the DTV.
3426 * elf/Makefile: Add rules to build and run tst-tls19.
3427 * elf/tst-tls19.c: New file.
3428 * elf/tst-tls19mod1.c: New file.
3429 * elf/tst-tls19mod2.c: New file.
3430 * elf/tst-tls19mod3.c: New file.
3431 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
3434 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
3438 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
3439 two-byte sequence errors.
3440 * iconvdata/Makefile (tests): Add bug-iconv8.
3441 * iconvdata/bug-iconv8.c: New file.
3444 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
3447 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
3450 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
3451 (dummy_getcfa): New function.
3452 (init): Get _Unwind_GetCFA address, use dummy if not found.
3453 (backtrace_helper): In recursion check, also check whether CFA changes.
3454 (__backtrace): Completely initialize arg.
3456 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
3457 storing incomplete byte sequence in state object. Avoid testing for
3458 guaranteed too small input if we know there is enough data available.
3460 2011-05-11 Andreas Schwab <schwab@redhat.com>
3462 * Makeconfig (+link-pie): Indent.
3463 * Rules (binaries-pie): Define if $(have-fpie) and
3465 (binaries-shared): Also filter out $(binaries-pie).
3466 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
3467 * nscd/Makefile (others-pie): Add nscd.
3468 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
3469 ($(objpfx)nscd): Remove command override.
3470 * login/Makefile (others-pie): Add pt_chown.
3471 ($(objpfx)pt_chown): Remove command override.
3472 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
3473 remove command overrides.
3475 2011-05-13 Ulrich Drepper <drepper@gmail.com>
3477 * libio/tst_putwc.c: Fix error messages.
3480 * libio/fileops.c (_IO_new_file_close_it): Always flush when
3481 currently writing and seek to current position when not.
3482 * libio/Makefile (tests): Add bug-fclose1.
3483 * libio/bug-fclose1.c: New file.
3485 2011-05-12 Ulrich Drepper <drepper@gmail.com>
3488 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
3489 don't set DF_1_NODELETE here.
3490 (do_lookup_x): When entering new entry test for copy relocation
3491 and if necessary set DF_1_NODELETE flag.
3492 * elf/tst-unique4.cc: New file.
3493 * elf/tst-unique4.h: New file.
3494 * elf/tst-unique4lib.cc: New file.
3495 * elf/Makefile: Add rules to build and run tst-unique4.
3496 Patch by Piotr Bury <pbury@goahead.com>.
3498 2011-05-11 Ulrich Drepper <drepper@gmail.com>
3501 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
3504 * misc/mntent_r.c (addmntent): Flush the stream after the output
3507 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
3508 (is_trusted_path_normalize): Skip initial colon. Append slash
3509 to empty buffer. Duplicate is_trusted_path code but allow
3510 constructed patch to be prefix.
3511 (is_dst): Allow $ORIGIN followed by /.
3512 (_dl_dst_substitute): Correct clearing of check_for_trusted.
3513 Correct testing of result of is_trusted_path_normalize
3514 (decompose_rpath): Fix warning.
3516 2011-05-10 Ulrich Drepper <drepper@gmail.com>
3519 * grp/initgroups.c (internal_getgrouplist): When we found the service
3520 list through the initgroups entry in nsswitch.conf do not always
3521 continue on a successful lookup. Don't always use the
3522 __nss_group_database value if it is set.
3523 * nss/nsswitch.conf (initgroups): Change action for successful db
3524 lookup to continue for compatibility.
3526 2011-05-09 Ulrich Drepper <drepper@gmail.com>
3529 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
3531 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
3533 * iconvdata/tst-tables.sh: Likewise.
3534 * iconvdata/cp770.c: New file.
3535 * iconvdata/cp771.c: New file.
3536 * iconvdata/cp772.c: New file.
3537 * iconvdata/cp773.c: New file.
3538 * iconvdata/cp774.c: New file.
3539 * iconvdata/testdata/CP770: New file.
3540 * iconvdata/testdata/CP770..UTF8: New file.
3541 * iconvdata/testdata/CP771: New file.
3542 * iconvdata/testdata/CP771..UTF8: New file.
3543 * iconvdata/testdata/CP772: New file.
3544 * iconvdata/testdata/CP772..UTF8: New file.
3545 * iconvdata/testdata/CP773: New file.
3546 * iconvdata/testdata/CP773..UTF8: New file.
3547 * iconvdata/testdata/CP774: New file.
3548 * iconvdata/testdata/CP774..UTF8: New file.
3550 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
3552 * iconvdata/gen-8bit-gap.sh: Likewise.
3553 * iconvdata/gen-8bit.sh: Likewise.
3555 * locale/iso-639.def: Add ary entry.
3558 * locale/C-translit.h.in: Add U20A1 transliteration.
3561 * locale/iso-639.def: Add wae entry.
3562 Patch by Kevin Bortis <bortis@translate-wae.ch>.
3565 * locale/programs/localedef.c (construct_output_path): Use ssize_t
3569 * locale/C-translit.h.in: Add entry for U20B9.
3570 Patch by pravin.d.s@gmail.com.
3572 2011-05-08 Ulrich Drepper <drepper@gmail.com>
3575 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
3576 ENAMETOOLONG use generic getcwd.
3577 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
3578 in rtld. Use *stat64.
3579 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
3580 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
3581 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
3582 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
3583 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
3584 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
3585 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
3587 * include/dirent.h: Add libc_hidden_proto for rewinddir.
3588 * dirent/rewinddir.c: Add libc_hidden_def.
3589 * sysdeps/mach/hurd/rewinddir.c: Likewise.
3590 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
3592 * include/dirent.h (__alloc_dir): Add flags parameter.
3593 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
3594 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
3596 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
3597 from fdopendir if O_CLOEXEC is already set.
3599 2011-03-15 Alan Modra <amodra@gmail.com>
3601 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
3602 l_tls_firstbyte_offset non-zero. Save padding offset in
3603 l_tls_firstbyte_offset for later use.
3604 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
3605 freeing static tls block.
3607 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
3609 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
3610 where #ifdef was intended. The intent is to prevent ARG_MAX from
3611 being defined by the kernel headers.
3613 2011-05-07 Ulrich Drepper <drepper@gmail.com>
3616 * resolv/resolv.h: Define RES_NOTLDQUERY.
3617 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
3618 no-tld-query and set RES_NOTLDQUERY.
3619 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
3620 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
3621 modern BIND to search name as TLD unless forbidden.
3623 2011-05-07 Petr Baudis <pasky@suse.cz>
3624 Ulrich Drepper <drepper@gmail.com>
3627 * elf/dl-load.c (fillin_rpath): Move trusted path check...
3628 (is_trusted_path): ...to here.
3629 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
3630 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
3631 using is_trusted_path_normalize() in setuid scripts.
3633 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
3635 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
3636 __BEGIN/__END_DECLS.
3638 2011-05-06 Ulrich Drepper <drepper@gmail.com>
3640 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
3641 NSS_STATUS_NOTFOUND if no record was found.
3643 2011-05-05 Andreas Schwab <schwab@redhat.com>
3645 * sunrpc/Makefile (headers): Add rpc/netdb.h.
3646 (headers-not-in-tirpc): Remove rpc/netdb.h
3647 * resolv/netdb.h: Revert last change.
3649 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3651 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
3652 circular dependency between libgcc.a and libc.a.
3654 2011-05-05 Andreas Schwab <schwab@redhat.com>
3656 * resolv/netdb.h: Don't include <rpc/netdb.h>.
3657 * nis/Makefile: Don't install rpcsvc/*.
3658 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
3659 instead of <rpc/types.h>.
3660 (MAXHOSTNAMELEN): Define.
3662 2011-05-03 Andreas Schwab <schwab@redhat.com>
3664 * elf/ldconfig.c (add_dir): Don't crash on empty path.
3666 2011-04-28 Maciej Babinski <mbabinski@google.com>
3669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
3670 gethostbyname4_r when IPv6 results are possible.
3672 2011-05-02 Ulrich Drepper <drepper@gmail.com>
3675 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
3676 _PC_PIPE_BUF handling.
3678 2011-04-30 Bruno Haible <bruno@clisp.org>
3681 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
3682 * resolv/netdb.h (getnameinfo): Change type of flags parameter
3684 * inet/getnameinfo.c (getnameinfo): Likewise.
3686 2011-04-29 Ulrich Drepper <drepper@gmail.com>
3688 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
3689 to groups setting in database lookup.
3690 * nss/nsswitch.conf: Add initgroups entry.
3692 2011-04-22 Ulrich Drepper <drepper@gmail.com>
3695 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
3697 Patch by Eric Blake <eblake@redhat.com>.
3699 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
3701 * sunrpc/Makefile (need-export-routines): Add svc_run.
3702 (routines): Remove svc_run.
3703 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
3704 * sunrpc/clnt_perr.c (clnt_perrno): Export.
3705 * sunrpc/svc_run.c (svc_run): Likewise.
3706 * sunrpc/svc_udp.c (svcudp_create): Likewise.
3708 2011-04-21 Ulrich Drepper <drepper@gmail.com>
3710 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
3711 problem in reallocation in last patch.
3713 2011-04-20 Ulrich Drepper <drepper@gmail.com>
3715 * sunrpc/Makefile: Move inclusion of Rules.
3717 2011-04-19 Ulrich Drepper <drepper@gmail.com>
3719 * nss/nss_files/files-initgroups.c: New file.
3720 * nss/Makefile (libnss_files-routines): Add files-initgroups.
3721 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
3722 _nss_files_initgroups_dyn.
3724 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
3726 * elf/elf.h (R_ARM_IRELATIVE): Define.
3728 2011-04-19 Ulrich Drepper <drepper@gmail.com>
3730 * po/ru.po: Update from translation team.
3732 2011-04-17 Ulrich Drepper <drepper@gmail.com>
3734 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
3737 2011-02-06 Mike Frysinger <vapier@gentoo.org>
3740 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
3741 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
3742 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3743 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3744 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3746 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
3748 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
3750 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3752 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3754 2011-04-17 Ulrich Drepper <drepper@gmail.com>
3757 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
3759 * stdlib/bug-getcontext.c: New file.
3760 * stdlib/Makefile: Add rules to build and run bug-getcontext.
3762 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3764 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
3765 instructions into .machine "z9-109".
3766 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3767 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3769 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3771 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
3772 between environment variables and auxiliary vector.
3774 2011-04-16 Ulrich Drepper <drepper@gmail.com>
3776 * Makefile: Add rules to build linkobj/libc.so.
3777 * include/libc-symbols.h: Define libc_hidden_nolink.
3778 * include/rpc/auth.h: Mark functions which are to be hidden.
3779 * include/rpc/auth_des.h: Likewise.
3780 * include/rpc/auth_unix.h: Likewise.
3781 * include/rpc/clnt.h: Likewise.
3782 * include/rpc/des_crypt.h: Likewise.
3783 * include/rpc/key_prot.h: Likewise.
3784 * include/rpc/pmap_clnt.h: Likewise.
3785 * include/rpc/pmap_prot.h: Likewise.
3786 * include/rpc/pmap_rmt.h: Likewise.
3787 * include/rpc/rpc_msg.h: Likewise.
3788 * include/rpc/svc.h: Likewise.
3789 * include/rpc/svc_auth.h: Likewise.
3790 * include/rpc/xdr.h: Likewise.
3791 * nis/Makefile: Link all DSOs against linkobj/libc.so.
3792 * nss/Makefile: Likewise.
3793 * sunrpc/Makefile: Don't install headers. Build library with normal
3794 entry points. Don't build rpcinfo. Link RPC tests appropriately.
3795 * sunrpc/auth_des.c: Hide exported symbols by default, export some
3796 for the compat linking library. Remove use of INTDEF/INTUSE.
3797 * sunrpc/auth_none.c: Likewise.
3798 * sunrpc/auth_unix.c: Likewise.
3799 * sunrpc/authdes_prot.c: Likewise.
3800 * sunrpc/authuxprot.c: Likewise.
3801 * sunrpc/clnt_gen.c: Likewise.
3802 * sunrpc/clnt_perr.c: Likewise.
3803 * sunrpc/clnt_raw.c: Likewise.
3804 * sunrpc/clnt_simp.c: Likewise.
3805 * sunrpc/clnt_tcp.c: Likewise.
3806 * sunrpc/clnt_udp.c: Likewise.
3807 * sunrpc/clnt_unix.c: Likewise.
3808 * sunrpc/des_crypt.c: Likewise.
3809 * sunrpc/des_soft.c: Likewise.
3810 * sunrpc/get_myaddr.c: Likewise.
3811 * sunrpc/key_call.c: Likewise.
3812 * sunrpc/key_prot.c: Likewise.
3813 * sunrpc/netname.c: Likewise.
3814 * sunrpc/pm_getmaps.c: Likewise.
3815 * sunrpc/pm_getport.c: Likewise.
3816 * sunrpc/pmap_clnt.c: Likewise.
3817 * sunrpc/pmap_prot.c: Likewise.
3818 * sunrpc/pmap_prot2.c: Likewise.
3819 * sunrpc/pmap_rmt.c: Likewise.
3820 * sunrpc/publickey.c: Likewise.
3821 * sunrpc/rpc_cmsg.c: Likewise.
3822 * sunrpc/rpc_common.c: Likewise.
3823 * sunrpc/rpc_dtable.c: Likewise.
3824 * sunrpc/rpc_prot.c: Likewise.
3825 * sunrpc/rpc_thread.c: Likewise.
3826 * sunrpc/rtime.c: Likewise.
3827 * sunrpc/svc.c: Likewise.
3828 * sunrpc/svc_auth.c: Likewise.
3829 * sunrpc/svc_authux.c: Likewise.
3830 * sunrpc/svc_raw.c: Likewise.
3831 * sunrpc/svc_run.c: Likewise.
3832 * sunrpc/svc_simple.c: Likewise.
3833 * sunrpc/svc_tcp.c: Likewise.
3834 * sunrpc/svc_udp.c: Likewise.
3835 * sunrpc/svc_unix.c: Likewise.
3836 * sunrpc/svcauth_des.c: Likewise.
3837 * sunrpc/xcrypt.c: Likewise.
3838 * sunrpc/xdr.c: Likewise.
3839 * sunrpc/xdr_array.c: Likewise.
3840 * sunrpc/xdr_float.c: Likewise.
3841 * sunrpc/xdr_intXX_t.c: Likewise.
3842 * sunrpc/xdr_mem.c: Likewise.
3843 * sunrpc/xdr_rec.c: Likewise.
3844 * sunrpc/xdr_ref.c: Likewise.
3845 * sunrpc/xdr_sizeof.c: Likewise.
3846 * sunrpc/xdr_stdio.c: Likewise.
3848 2011-04-10 Ulrich Drepper <drepper@gmail.com>
3851 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
3852 * sysdeps/ia64/dl-tls.h: Likewise.
3853 * sysdeps/powerpc/dl-tls.h: Likewise.
3854 * sysdeps/s390/dl-tls.h: Likewise.
3855 * sysdeps/sh/dl-tls.h: Likewise.
3856 * sysdeps/sparc/dl-tls.h: Likewise.
3857 * sysdeps/x86_64/dl-tls.h: Likewise.
3858 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
3860 2011-03-14 Andreas Schwab <schwab@redhat.com>
3862 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
3863 rpath element also skip the following colon.
3864 (expand_dynamic_string_token): Add is_path parameter and pass
3865 down to DL_DST_REQUIRED and _dl_dst_substitute.
3866 (decompose_rpath): Call expand_dynamic_string_token with
3867 non-zero is_path. Ignore empty rpaths.
3868 (_dl_map_object_from_fd): Call expand_dynamic_string_token
3871 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
3873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
3876 2011-04-09 Ulrich Drepper <drepper@gmail.com>
3879 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
3880 Patch by Filipe David Manana <fdmanana@apache.org>.
3882 2011-04-07 Andreas Schwab <schwab@redhat.com>
3884 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
3885 Maintain aligned stack.
3886 (CHECK_RSP): Remove unused macro.
3888 2011-04-03 Ulrich Drepper <drepper@gmail.com>
3890 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
3891 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
3893 2011-04-02 Ulrich Drepper <drepper@gmail.com>
3895 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
3897 * include/features.h: Mention __USE_XOPEN2K8 in comment.
3899 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
3902 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
3903 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
3904 * sysdeps/x86_64/memmove.c: New file.
3905 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
3906 (memcpy): Renamed to ...
3907 (__new_memcpy): This.
3908 (memcpy): Provide GLIBC_2_14 memcpy.
3909 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
3910 (memcpy): Provide GLIBC_2_2_5 memcpy.
3912 2011-04-01 Ulrich Drepper <drepper@gmail.com>
3915 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
3917 2011-03-30 Andreas Schwab <schwab@redhat.com>
3919 * misc/syncfs.c: New file.
3920 * misc/Makefile (routines): Add syncfs.
3921 * posix/unistd.h: Declare syncfs.
3922 * sysdeps/unix/syscalls.list: Add syncfs.
3924 2011-04-01 Andreas Schwab <schwab@redhat.com>
3926 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
3928 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
3929 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3931 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3932 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3933 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3934 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3936 2011-04-01 Ulrich Drepper <drepper@gmail.com>
3938 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
3939 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3940 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
3941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3942 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3944 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3946 * io/Makefile: Compile fallocate.c, fallocate64.c, and
3947 sync_file_range.c with -fexceptions.
3948 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
3949 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
3950 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3951 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3952 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
3953 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
3954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3955 sync_file_range as cancellation point
3956 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
3957 now a wrapper around __call_sync_file_range with cancellation handling.
3958 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
3959 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
3960 function name to __call_sync_file_range.
3961 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
3962 Add call_sync_file_range.
3964 2011-04-01 Andreas Schwab <schwab@redhat.com>
3966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3969 2011-04-01 Ulrich Drepper <drepper@gmail.com>
3971 * iconv/iconv.h: Fix typo in comment.
3972 * io/fcntl.h: Likewise.
3973 * libio/stdio.h: Likewise.
3974 * posix/spawn.h: Likewise.
3975 * posix/unistd.h: Likewise.
3976 * stdlib/stdlib.h: Likewise.
3977 * time/time.h: Likewise.
3978 * wcsmbs/wchar.h: Likewise.
3980 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
3981 open_by_handle): Add.
3982 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
3983 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
3984 Augment a few comments.
3985 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
3986 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3987 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
3988 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3989 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
3990 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
3993 * io/fcntl.h (AT_EMPTY_PATH): Define.
3995 2011-03-30 Ulrich Drepper <drepper@gmail.com>
3997 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
3998 * sysdeps/unix/sysv/linux/bits/time.h: New file.
3999 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
4001 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
4002 * Versions.def: Add GLIBC_2.14.
4003 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
4006 2011-03-22 Ulrich Drepper <drepper@gmail.com>
4008 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
4010 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
4012 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
4015 * string/test-strncmp.c (do_page_test): New function.
4017 (test_main): Call check2.
4018 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
4020 2011-03-20 Ulrich Drepper <drepper@gmail.com>
4023 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
4024 Handle cache information in CPU leaf 4.
4025 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
4027 2011-03-18 Ulrich Drepper <drepper@gmail.com>
4030 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
4031 character representation.
4032 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
4034 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
4036 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
4037 END(__isnan) to END(__isnanf) to match function entry point/label
4038 EALIGN(__isnanf,...).
4040 2011-03-10 Jakub Jelinek <jakub@redhat.com>
4042 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
4044 2011-03-10 Ulrich Drepper <drepper@gmail.com>
4047 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
4048 copy from the symbol referenced in the relocation to initialize the
4050 Patch by Piotr Bury <pbury@goahead.com>.
4051 * elf/Makefile: Add rules to build and tst-unique3.
4052 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
4053 * elf/tst-unique3.cc: New file.
4054 * elf/tst-unique3.h: New file.
4055 * elf/tst-unique3lib.cc: New file.
4056 * elf/tst-unique3lib2.cc: New file.
4058 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
4060 2011-03-10 Mike Frysinger <vapier@gentoo.org>
4062 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
4063 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
4066 2011-03-06 Ulrich Drepper <drepper@gmail.com>
4068 * elf/dl-load.c (_dl_map_object): If we are looking for the first
4069 to-be-loaded object along a path to loader is ld.so.
4071 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
4072 Ulrich Drepper <drepper@gmail.com>
4074 * sysdeps/x86_64/memset.S: After aligning destination, code
4075 branches to different locations depending on the value of
4076 misalignment, when multiarch is enabled. Fix this.
4078 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
4080 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
4081 Set _x86_64_preferred_memory_instruction for AMD processsors.
4082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4083 Set bit_Prefer_SSE_for_memop for AMD processors.
4085 2011-03-04 Ulrich Drepper <drepper@gmail.com>
4087 * libio/fmemopen.c (fmemopen): Optimize a bit.
4089 2011-03-03 Andreas Schwab <schwab@redhat.com>
4091 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
4093 2011-03-03 Roland McGrath <roland@redhat.com>
4095 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
4097 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
4099 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
4100 __bzero_ultra1 instead of __memset_ultra1.
4102 2011-02-23 Andreas Schwab <schwab@redhat.com>
4103 Ulrich Drepper <drepper@gmail.com>
4106 * include/link.h (struct link_map): Add l_orig_initfini.
4107 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
4108 returning unsuccessfully.
4109 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
4110 close of a file loaded at startup, restore the original l_initfini
4112 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
4113 list, store the pointer.
4114 * elf/Makefile ($(objpfx)noload-mem): New rule.
4115 (noload-ENV): Define.
4116 (tests): Add $(objpfx)noload-mem.
4117 * elf/noload.c: Include <memcheck.h>.
4118 (main): Call mtrace. Close all opened handles.
4120 2011-02-17 Andreas Schwab <schwab@redhat.com>
4123 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
4124 dependencies are missing.
4126 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4128 Fix __if_freereq crash: Unlike the generic version which uses free,
4130 * sysdeps/mach/hurd/ifreq.h: New file.
4132 2011-01-27 Petr Baudis <pasky@suse.cz>
4133 Ulrich Drepper <drepper@gmail.com>
4136 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
4138 * stdio-common/bug23.c: New file.
4139 * stdio-common/Makefile (tests): Add bug23.
4141 2010-09-28 Andreas Schwab <schwab@redhat.com>
4142 Ulrich Drepper <drepper@gmail.com>
4145 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
4146 before performing relro protection. At old place add assertion
4147 to make sure nothing changed.
4149 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
4150 Glauber de Oliveira Costa <glommer@gmail.com>
4152 * elf/elf.h: Add new ARM TLS relocs.
4154 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
4156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
4157 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
4159 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
4161 * sysdeps/wordsize-64/tst-writev.c: New file.
4163 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
4165 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
4166 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
4167 insns in _dl_start to prevent a TOC reference before relocs are
4170 2011-02-15 Ulrich Drepper <drepper@gmail.com>
4173 * Makeconfig: Remove RANLIB definition.
4174 * Makerules: Don't use RANLIB.
4175 * aclocal.m4: Remove ranlib test.
4176 * configure.in: No need to check for ranlib.
4177 * elf/rtld-Rules: Don't use RANLIB.
4179 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
4181 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
4183 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
4184 inclusion protection macro.
4186 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
4187 SIGRTMIN and SIGRTMAX and print information in that case only when
4188 SIGRTMIN is defined.
4190 2011-02-11 Jakub Jelinek <jakub@redhat.com>
4192 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
4193 arginfo fn returning -1.
4195 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
4196 and thousands string is zero terminated.
4198 2011-02-03 Andreas Schwab <schwab@redhat.com>
4200 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
4201 sysdeps/unix/sysv/linux/bits/socket.h.
4203 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
4205 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
4206 (__CPU_COUNT): Remove old macros.
4207 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
4208 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
4209 (__CPU_ALLOC, __CPU_FREE): Add macros.
4210 (__sched_cpualloc, __sched_cpufree): Add declarations.
4212 2011-02-05 Ulrich Drepper <drepper@gmail.com>
4214 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
4215 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
4216 * nscd/aicache.c (addhstaiX): Return timeout of added value.
4217 (readdhstai): Return value of addhstaiX call.
4218 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
4219 (addgrbyX): Return value returned by cache_addgr.
4220 (readdgrbyname): Return value returned by addgrbyX.
4221 (readdgrbygid): Likewise.
4222 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
4223 (addpwbyX): Return value returned by cache_addpw.
4224 (readdpwbyname): Return value returned by addhstbyX.
4225 (readdpwbyuid): Likewise.
4226 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
4227 (addservbyX): Return value returned by cache_addserv.
4228 (readdservbyname): Return value returned by addservbyX:
4229 (readdservbyport): Likewise.
4230 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
4231 (addhstbyX): Return value returned by cache_addhst.
4232 (readdhstbyname): Return value returned by addhstbyX.
4233 (readdhstbyaddr): Likewise.
4234 (readdhstbynamev6): Likewise.
4235 (readdhstbyaddrv6): Likewise.
4236 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
4237 (readdinitgroups): Return value returned by addinitgroupsX.
4238 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
4239 (prune_cache): Keep track of timeout value of re-added entries.
4240 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
4241 * nscd/nscd.h: Adjust prototypes of readd* functions.
4243 2011-02-04 Roland McGrath <roland@redhat.com>
4245 * nis/nis_server.c (nis_servstate): Use the right name for 0.
4246 (nis_stats): Likewise.
4247 * nis/nis_modify.c (nis_modify): Likewise.
4248 * nis/nis_remove.c (nis_remove): Likewise.
4249 * nis/nis_add.c (nis_add): Likewise.
4251 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
4253 * posix/fnmatch_loop.c: Add some consts.
4255 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
4257 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
4260 * config.make.in (config-cflags-novzeroupper): Define.
4261 * configure.in: Substitute libc_cv_cc_novzeroupper.
4262 * elf/Makefile (AVX-CFLAGS): Define.
4263 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
4264 (CFLAGS-tst-auditmod4a.c): Likewise.
4265 (CFLAGS-tst-auditmod4b.c): Likewise.
4266 (CFLAGS-tst-auditmod6b.c): Likewise.
4267 (CFLAGS-tst-auditmod6c.c): Likewise.
4268 (CFLAGS-tst-auditmod7b.c): Likewise.
4269 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
4271 2011-02-02 Ulrich Drepper <drepper@gmail.com>
4273 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
4274 function to the callback.
4275 Patch partly by Jiri Olsa <jolsa@redhat.com>.
4277 2011-02-02 Andreas Schwab <schwab@redhat.com>
4279 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
4282 2011-01-19 Ulrich Drepper <drepper@gmail.com>
4285 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
4287 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
4289 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
4292 * elf/Makefile: Add rules to build and run new test.
4293 * elf/tst-initorder.c: New file.
4294 * elf/tst-initorder.exp: New file.
4295 * elf/tst-initordera1.c: New file.
4296 * elf/tst-initordera2.c: New file.
4297 * elf/tst-initordera3.c: New file.
4298 * elf/tst-initordera4.c: New file.
4299 * elf/tst-initorderb1.c: New file.
4300 * elf/tst-initorderb2.c: New file.
4301 * elf/tst-order-a1.c: New file.
4302 * elf/tst-order-a2.c: New file.
4303 * elf/tst-order-a3.c: New file.
4304 * elf/tst-order-a4.c: New file.
4305 * elf/tst-order-b1.c: New file.
4306 * elf/tst-order-b2.c: New file.
4307 * elf/tst-order-main.c: New file.
4308 New test case by George Gensure <werkt0@gmail.com>.
4310 2010-10-01 Andreas Schwab <schwab@redhat.com>
4312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
4313 decoding ACE if AI_CANONIDN.
4315 2011-01-18 Ulrich Drepper <drepper@gmail.com>
4317 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
4319 2011-01-17 Ulrich Drepper <drepper@gmail.com>
4321 * version.h (RELEASE): Bump for 2.13 release.
4322 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
4324 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
4326 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
4328 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
4329 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
4330 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4331 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4332 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4333 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
4335 * posix/getconf.c: Update copyright year.
4336 * catgets/gencat.c: Likewise.
4337 * csu/version.c: Likewise.
4338 * debug/catchsegv.sh: Likewise.
4339 * debug/xtrace.sh: Likewise.
4340 * elf/ldconfig.c: Likewise.
4341 * elf/ldd.bash.in: Likewise.
4342 * elf/sprof.c (print_version): Likewise.
4343 * iconv/iconv_prog.c: Likewise.
4344 * iconv/iconvconfig.c: Likewise.
4345 * locale/programs/locale.c: Likewise.
4346 * locale/programs/localedef.c: Likewise.
4347 * malloc/memusage.sh: Likewise.
4348 * malloc/mtrace.pl: Likewise.
4349 * nscd/nscd.c (print_version): Likewise.
4350 * nss/getent.c: Likewise.
4352 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
4353 PF_CAIF, and PF_ALG.
4354 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4356 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
4358 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
4359 (modules-names): Use them.
4360 (ifunc-test-modules, ifunc-pie-tests): Define.
4361 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
4362 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
4363 (test-extras): Likewise.
4364 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
4365 $(compile-command.c).
4366 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
4367 (all-built-dso): Define.
4368 (check-textrel.out, check-execstack.out): Depend on it.
4370 * configure.in: Don't override --enable-multi-arch.
4372 2011-01-15 Ulrich Drepper <drepper@gmail.com>
4375 * nscd/hstcache.c (tryagain): Define.
4376 (cache_addhst): Return tryagain not notfound for temporary errors.
4377 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
4380 2011-01-14 Ulrich Drepper <drepper@gmail.com>
4383 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
4384 to make the syscall.
4385 * sysdeps/unix/sysv/linux/setgroups.c: New file.
4388 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
4389 and fall back to matching as normal character if the string ends before
4390 the matching ']' is found. This is what POSIX requires.
4391 * posix/testfnm.c: Adjust test result.
4392 * posix/globtest.sh: Adjust test result. Add new test.
4393 * posix/tst-fnmatch.input: Likewise.
4394 * posix/tst-fnmatch2.c: Add new test.
4396 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
4398 * elf/Makefile (check-execstack): Revert last change. Depend on
4400 (check-execstack.h): New target.
4401 (generated): Add check-execstack.h.
4402 * elf/check-execstack.c: Include "check-execstack.h".
4403 (main): Revert last change.
4404 (handle_file): Return zero if GNU_STACK is absent and
4405 DEFAULT_STACK_PERMS doesn't include PF_X.
4407 2011-01-13 Ulrich Drepper <drepper@gmail.com>
4409 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
4410 in child fails because the descriptor is already closed.
4411 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
4412 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
4413 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
4416 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
4420 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
4421 temporary buffer used to handle multi lookups locally.
4422 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
4424 2011-01-12 Ulrich Drepper <drepper@gmail.com>
4426 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
4429 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
4431 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
4434 2011-01-12 Ulrich Drepper <drepper@gmail.com>
4437 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
4438 characters. When rounding increased number of integer digits recompute
4440 * stdio-common/tst-grouping.c: New file.
4441 * stdio-common/Makefile: Add rules to build and run tst-grouping.
4443 2011-01-09 Ulrich Drepper <drepper@gmail.com>
4445 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
4446 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
4448 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
4450 * bits/select.h: Likewise.
4452 2011-01-08 Ulrich Drepper <drepper@gmail.com>
4454 * po/ja.po: Update from translation team.
4456 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
4459 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
4460 implementation just like for lxstat, fxstatat, et al.
4462 2010-12-27 Jim Meyering <meyering@redhat.com>
4465 * posix/regexec.c (build_trtable): Return failure indication upon
4466 calloc failure. Otherwise, re_search_internal could infloop on OOM.
4468 2010-12-25 Ulrich Drepper <drepper@gmail.com>
4471 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
4472 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
4473 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
4474 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
4477 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
4480 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
4481 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
4483 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
4485 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
4486 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
4487 script has SORT_BY_INIT_PRIORITY.
4488 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
4489 NO_CTORS_DTORS_SECTIONS is defined.
4490 * elf/soinit.c: Likewise.
4491 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
4492 NO_CTORS_DTORS_SECTIONS is defined.
4493 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
4494 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
4495 * sysdeps/sh/init-first.c: Likewise.
4496 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
4498 2010-12-24 Ulrich Drepper <drepper@gmail.com>
4500 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
4501 always use the slow path.
4503 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
4505 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
4506 similar rule which adds the sysdep directories to the header search in
4507 order to pick up the correct platform stackinfo.h.
4508 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
4509 perform test if it is, otherwise return successfully without testing.
4510 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
4511 DEFAULT_STACK_PERMS define in stackinfo.h.
4512 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
4513 defined in stackinfo.h.
4514 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
4515 DEFAULT_STACK_PERMS defined in stackinfo.h.
4516 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
4517 * sysdeps/ia64/stackinfo.h: Likewise.
4518 * sysdeps/s390/stackinfo.h: Likewise.
4519 * sysdeps/sh/stackinfo.h: Likewise.
4520 * sysdeps/sparc/stackinfo.h: Likewise.
4521 * sysdeps/x86_64/stackinfo.h: Likewise.
4522 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
4523 PF_X for powerpc64. Retain PF_X for powerpc32.
4525 2010-12-19 Ulrich Drepper <drepper@gmail.com>
4527 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
4529 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
4530 GETDENTS_64BIT_ALIGNED.
4532 2010-12-14 Ulrich Drepper <dreper@gmail.com>
4534 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
4536 2010-12-10 Andreas Schwab <schwab@redhat.com>
4538 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
4541 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
4542 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
4544 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
4545 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
4547 2010-12-09 Ulrich Drepper <drepper@gmail.com>
4550 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
4553 2010-12-09 Jakub Jelinek <jakub@redhat.com>
4555 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
4557 2010-12-03 Ulrich Drepper <drepper@gmail.com>
4559 * po/it.po: Update from translation team.
4561 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
4563 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
4566 2010-11-30 Ulrich Drepper <drepper@gmail.com>
4568 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
4570 2010-11-24 Andreas Schwab <schwab@redhat.com>
4572 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
4574 (gaih_getanswer_slice): Likewise.
4576 2010-10-20 Jakub Jelinek <jakub@redhat.com>
4578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
4580 2010-05-31 Petr Baudis <pasky@suse.cz>
4583 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
4584 silently even in the chroot mode.
4586 2010-11-22 Ulrich Drepper <drepper@gmail.com>
4588 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
4589 last patch a bit. Pretty printing
4591 2010-05-31 Petr Baudis <pasky@suse.cz>
4594 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
4595 initialization of skip_initgroups_dyn.
4597 2010-11-19 Ulrich Drepper <drepper@gmail.com>
4599 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
4600 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
4602 2010-11-16 Ulrich Drepper <drepper@gmail.com>
4604 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
4606 2010-11-11 Andreas Schwab <schwab@redhat.com>
4608 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
4609 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
4610 (tst-fnmatch-ENV): Set MALLOC_TRACE.
4611 ($(objpfx)tst-fnmatch-mem): New rule.
4612 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
4613 * posix/tst-fnmatch.c (main): Call mtrace.
4615 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
4617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4618 Support Intel processor model 6 and model 0x2c.
4620 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
4622 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
4625 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
4628 * string/test-strncasecmp.c (check_result): New function.
4629 (do_one_test): Use it.
4630 (check1): New function.
4631 (test_main): Use it.
4632 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
4633 Support strcasecmp and strncasecmp.
4635 2010-11-08 Ulrich Drepper <drepper@gmail.com>
4638 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
4639 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4641 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
4643 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
4645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4647 * sysdeps/x86_64/multiarch/bzero.S: New file.
4648 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
4649 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
4650 * sysdeps/x86_64/multiarch/memset.S: New file.
4651 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
4652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4653 Set bit_Prefer_SSE_for_memop for Intel processors.
4654 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
4656 (index_Prefer_SSE_for_memop): Define.
4657 (HAS_PREFER_SSE_FOR_MEMOP): Define.
4659 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
4661 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
4662 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
4664 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
4667 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
4668 (__x86_64_raw_data_cache_size_half): Likewise.
4669 (__x86_64_raw_shared_cache_size): Likewise.
4670 (__x86_64_raw_shared_cache_size_half): Likewise.
4672 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
4673 (__x86_64_raw_data_cache_size_half): Likewise.
4674 (__x86_64_raw_shared_cache_size): Likewise.
4675 (__x86_64_raw_shared_cache_size_half): Likewise.
4676 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
4677 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
4678 and __x86_64_raw_shared_cache_size_half. Round
4679 __x86_64_data_cache_size_half, __x86_64_data_cache_size
4680 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
4681 to multiple of 256 bytes.
4683 2010-11-03 Ulrich Drepper <drepper@gmail.com>
4686 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
4687 of inacessible symlinks. Verify result of symlink before returning it.
4688 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4689 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
4691 2010-10-28 Erich Ritz <erichritz@gmail.com>
4693 * math/math.h (isinf): Fix typo in comment.
4695 2010-11-01 Ulrich Drepper <drepper@gmail.com>
4697 * po/da.po: Update from translation team.
4699 2010-10-26 Ulrich Drepper <drepper@gmail.com>
4701 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
4702 is added to the list.
4704 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4705 Ulrich Drepper <drepper@gmail.com>
4707 * elf/dl-object.c (_dl_new_object): Don't append the new object to
4708 the global list here. Move code to...
4709 (_dl_add_to_namespace_list): ...here. New function.
4710 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
4711 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
4712 * elf/dl-load.c (lose): Don't remove the element from the list.
4713 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
4714 (_dl_map_object): Likewise.
4716 2010-10-25 Ulrich Drepper <drepper@gmail.com>
4719 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
4720 into all bytes of SSE register.
4721 Patch by Richard Li <richardpku@gmail.com>.
4723 2010-10-24 Ulrich Drepper <drepper@gmail.com>
4726 * malloc/malloc.c (_int_free): Fill correct number of bytes when
4729 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
4731 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
4732 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
4733 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
4734 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
4737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
4739 2010-10-22 Andreas Schwab <schwab@redhat.com>
4741 * include/dlfcn.h (__RTLD_SECURE): Define.
4742 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
4743 mode & __RTLD_SECURE instead.
4744 (open_path): Rename preloaded parameter to secure.
4745 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
4746 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
4747 * elf/dl-deps.c (openaux): Likewise.
4748 * elf/rtld.c (struct map_args): Remove is_preloaded.
4749 (map_doit): Don't use it.
4750 (dl_main): Likewise.
4751 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
4752 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
4754 2010-09-09 Andreas Schwab <schwab@redhat.com>
4756 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
4757 (sysd-rules-targets): Remove duplicates.
4758 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
4759 rtld-%.$o dependency.
4761 2010-10-18 Andreas Schwab <schwab@redhat.com>
4763 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
4764 _dl_map_object do it.
4766 2010-10-19 Ulrich Drepper <drepper@gmail.com>
4768 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
4769 fast fma builtins, define the macros in the C99 standard.
4770 (FP_FAST_FMAF): Likewise.
4771 (FP_FAST_FMAL): Likewise.
4772 * sysdeps/x86_64/bits/mathdef.h: Likewise.
4774 * bits/mathdef.h: Update copyright year.
4775 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4777 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
4779 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
4780 builtins, define the macros in the C99 standard.
4781 (FP_FAST_FMAF): Likewise.
4782 (FP_FAST_FMAL): Likewise.
4783 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
4785 (FP_FAST_FMAF): Likewise.
4787 2010-10-15 Jakub Jelinek <jakub@redhat.com>
4790 * math/libm-test.inc (fma_test): Some new testcases.
4791 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
4792 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
4793 y and infinite z. Do multiplication by C already in long double.
4794 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
4795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
4796 y and infinite z. Do bitwise or of inexact bit into u.d.
4797 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
4798 * sysdeps/i386/fpu/s_fmaf.S: Removed.
4799 * sysdeps/i386/fpu/s_fma.S: Removed.
4800 * sysdeps/i386/fpu/s_fmal.S: Removed.
4802 2010-10-16 Jakub Jelinek <jakub@redhat.com>
4805 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
4806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
4807 computation is not scheduled after fetestexcept. Fix value
4808 of minimum denormal long double.
4810 2010-10-14 Jakub Jelinek <jakub@redhat.com>
4813 * math/libm-test.inc (fma_test): Add some more tests.
4814 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
4817 2010-10-15 Andreas Schwab <schwab@redhat.com>
4819 * scripts/data/localplt-s390-linux-gnu.data: New file.
4820 * scripts/data/localplt-s390x-linux-gnu.data: New file.
4822 2010-10-13 Jakub Jelinek <jakub@redhat.com>
4825 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
4826 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
4828 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
4830 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
4831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
4832 if one of x and y is very large and the other is subnormal.
4833 * sysdeps/s390/fpu/s_fmaf.c: New file.
4834 * sysdeps/s390/fpu/s_fma.c: New file.
4835 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
4836 * sysdeps/powerpc/fpu/s_fma.S: New file.
4837 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
4838 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
4839 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
4841 2010-10-12 Jakub Jelinek <jakub@redhat.com>
4844 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
4846 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
4847 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
4848 * sysdeps/i386/i686/multiarch/s_fma.c: Include
4849 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
4850 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
4851 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
4854 2010-10-12 Ulrich Drepper <drepper@redhat.com>
4857 * posix/regcomp.c (parse_branch): One more memory leak plugged.
4858 * posix/bug-regex31.input: Add test case.
4860 2010-10-11 Ulrich Drepper <drepper@gmail.com>
4862 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
4863 * posix/bug-regex31.input: New file.
4866 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
4867 (parse_sub_exp): Fix last change, use postorder.
4869 * posix/bug-regex31.c: New file.
4870 * posix/Makefile: Add rules to build and run bug-regex31.
4872 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
4875 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
4878 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
4879 to have entries in sys_siglist.
4882 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
4885 2010-10-07 Jakub Jelinek <jakub@redhat.com>
4888 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
4889 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
4890 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
4891 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
4892 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4893 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
4894 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
4895 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
4896 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
4897 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
4898 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
4899 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
4900 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4901 * math/ftestexcept.c (fetestexcept): Likewise.
4902 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
4903 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
4904 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
4905 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
4906 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
4907 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
4908 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
4910 2010-10-11 Ulrich Drepper <drepper@gmail.com>
4913 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
4916 2010-10-06 Ulrich Drepper <drepper@gmail.com>
4918 * string/bug-strstr1.c: New file.
4919 * string/Makefile: Add rules to build and run bug-strstr1.
4921 2010-10-05 Eric Blake <eblake@redhat.com>
4924 * string/str-two-way.h (two_way_long_needle): Always clear memory
4925 when skipping input due to the shift table.
4927 2010-10-03 Ulrich Drepper <drepper@gmail.com>
4930 * malloc/mcheck.c: Handle large requests.
4933 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
4934 for strncmp and strncasecmp.
4935 * string/stratcliff.c: Add tests for strcmp and strncmp.
4936 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
4938 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4940 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
4943 2010-09-30 Andreas Jaeger <aj@suse.de>
4945 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
4946 (CGROUP_SUPER_MAGIC): Define.
4947 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4948 Handle btrfs and cgroup file systems.
4949 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4952 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
4954 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
4955 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
4957 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4960 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
4961 trying to locate the ELF header.
4963 2010-09-27 Andreas Schwab <schwab@redhat.com>
4966 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
4967 Mask out sign-bit copies when constructing f_fsid.
4969 2010-09-24 Petr Baudis <pasky@suse.cz>
4971 * debug/stack_chk_fail_local.c: Add missing licence exception.
4972 * debug/warning-nop.c: Likewise.
4974 2010-09-15 Joseph Myers <joseph@codesourcery.com>
4976 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
4977 implementing getdents64 using getdents syscall, set d_type if
4978 __ASSUME_GETDENTS32_D_TYPE.
4980 2010-09-16 Andreas Schwab <schwab@redhat.com>
4982 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
4983 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
4985 2010-09-21 Ulrich Drepper <drepper@redhat.com>
4988 * posix/unistd.h: Undo change of feature selection for ftruncate from
4991 2010-09-20 Ulrich Drepper <drepper@redhat.com>
4993 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
4996 2010-09-20 Andreas Schwab <schwab@redhat.com>
4998 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
5000 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5002 2010-09-14 Andreas Schwab <schwab@redhat.com>
5004 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
5005 variables after CHECK_SP call.
5006 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
5008 2010-09-13 Andreas Schwab <schwab@redhat.com>
5009 Ulrich Drepper <drepper@redhat.com>
5011 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
5012 re-relocationg ld.so.
5013 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
5014 _dl_init_paths call.
5015 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
5018 2010-09-14 Ulrich Drepper <drepper@redhat.com>
5020 * resolv/res_init.c (__res_vinit): Count the default server we added.
5022 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
5023 Ulrich Drepper <drepper@redhat.com>
5026 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5027 (____longjmp_chk): Use %ebx for saving value across system call.
5030 2010-09-06 Andreas Schwab <schwab@redhat.com>
5032 * manual/Makefile: Don't mix pattern rules with normal rules.
5034 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
5036 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
5038 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5039 * libio/iofopncook.c (_IO_cookie_init): Likewise.
5040 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5041 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5042 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5045 2010-09-04 Ulrich Drepper <drepper@redhat.com>
5048 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
5049 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
5051 2010-09-02 Ulrich Drepper <drepper@redhat.com>
5053 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
5054 * sysdeps/x86_64/addmul_1.S: Likewise.
5055 * sysdeps/x86_64/lshift.S: Likewise.
5056 * sysdeps/x86_64/mul_1.S: Likewise.
5057 * sysdeps/x86_64/rshift.S: Likewise.
5058 * sysdeps/x86_64/sub_n.S: Likewise.
5059 * sysdeps/x86_64/submul_1.S: Likewise.
5061 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
5063 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
5064 Define __sched_param instead of SCHED_* and sched_param when
5065 <bits/sched.h> is included with __need_schedparam defined.
5066 * bits/sched.h [__need_schedparam]
5067 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
5068 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
5069 (__defined_schedparam): Define to 1.
5070 (__sched_param): New structure, identical to sched_param.
5071 (__need_schedparam): Undefine.
5073 2010-08-31 Mike Frysinger <vapier@gentoo.org>
5075 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
5076 (epoll_create1): Declare.
5078 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
5080 2010-08-31 Andreas Schwab <schwab@redhat.com>
5083 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
5084 shifting retval into place.
5086 2010-09-01 Ulrich Drepper <drepper@redhat.com>
5088 * nis/rpcsvc/nis.h: Update copyright notice.
5089 * nis/rpcsvc/nis.x: Likewise.
5090 * nis/rpcsvc/nis_callback.h: Likewise.
5091 * nis/rpcsvc/nis_callback.x: Likewise.
5092 * nis/rpcsvc/nis_object.x: Likewise.
5093 * nis/rpcsvc/nis_tags.h: Likewise.
5094 * nis/rpcsvc/yp.h: Likewise.
5095 * nis/rpcsvc/yp.x: Likewise.
5096 * nis/rpcsvc/ypupd.h: Likewise.
5097 * nis/yp_xdr.c: Likewise.
5098 * nis/ypupdate_xdr.c: Likewise.
5100 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
5101 mainly the body of pmap_getport. Add parameters to specify timeouts.
5102 (pmap_getport): Use __libc_rpc_getport.
5103 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
5104 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
5105 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
5107 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
5112 2010-08-27 Roland McGrath <roland@redhat.com>
5114 * sysdeps/i386/i686/multiarch/Makefile
5115 (CFLAGS-varshift.c): New variable.
5117 2010-08-27 Ulrich Drepper <drepper@redhat.com>
5119 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
5120 * sysdeps/i386/i686/multiarch/varshift.c: New file.
5122 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
5124 * sysdeps/x86_64/strlen.S: Minimal code improvement.
5126 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
5128 * sysdeps/x86_64/strlen.S: Unroll the loop.
5129 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5130 strlen-sse2 strlen-sse2-bsf.
5131 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
5132 __strlen_no_bsf if bit_Slow_BSF is set.
5133 (__strlen_sse42): Removed.
5134 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
5135 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
5137 2010-08-25 Roland McGrath <roland@redhat.com>
5139 * sysdeps/x86_64/multiarch/varshift.S: File removed.
5140 * sysdeps/x86_64/multiarch/varshift.c: New file.
5141 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
5142 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
5143 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
5144 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5146 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
5148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5149 strlen-sse2 strlen-sse2-bsf.
5150 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
5151 __strlen_sse2_bsf if bit_Slow_BSF is unset.
5152 (__strlen_sse2): Removed.
5153 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
5154 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
5155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5156 bit_Slow_BSF for Atom.
5157 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
5158 (index_Slow_BSF): Define.
5159 (HAS_SLOW_BSF): Define.
5161 2010-08-25 Ulrich Drepper <drepper@redhat.com>
5164 * resolv/res_init.c (__res_vinit): When no server address at all
5165 is given default to loopback.
5167 2010-08-24 Roland McGrath <roland@redhat.com>
5169 * configure.in: Remove config-name.h generation.
5170 * configure: Regenerated.
5171 * config-name.in: File removed.
5172 * scripts/config-uname.sh: New file.
5173 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
5174 ($(objdir)config-name.h): New target.
5176 * sunrpc/rpc_parse.h: Avoid nested comment.
5178 2010-08-24 Richard Henderson <rth@redhat.com>
5179 Ulrich Drepper <drepper@redhat.com>
5180 H.J. Lu <hongjiu.lu@intel.com>
5182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
5183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
5184 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
5185 Replace _mm_srli_si128 with __m128i_shift_right. Replace
5186 _mm_alignr_epi8 with _mm_loadu_si128.
5187 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
5188 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
5189 (__m128i_shift_right): Removed.
5190 * sysdeps/i386/i686/multiarch/varshift.h: New file.
5191 * sysdeps/i386/i686/multiarch/varshift.S: New file.
5192 * sysdeps/x86_64/multiarch/varshift.h: New file.
5193 * sysdeps/x86_64/multiarch/varshift.S: New file.
5195 2010-08-21 Mike Frysinger <vapier@gentoo.org>
5197 * configure.in: Move assembler checks to before sysdep dir checking.
5199 2010-08-20 Petr Baudis <pasky@suse.cz>
5201 * LICENSES: Sync the sunrpc license.
5203 2010-08-19 Ulrich Drepper <drepper@redhat.com>
5205 * sunrpc/auth_des.c: Update copyright notice once again.
5206 * sunrpc/auth_none.c: Likewise.
5207 * sunrpc/auth_unix.c: Likewise.
5208 * sunrpc/authdes_prot.c: Likewise.
5209 * sunrpc/authuxprot.c: Likewise.
5210 * sunrpc/bindrsvprt.c: Likewise.
5211 * sunrpc/clnt_gen.c: Likewise.
5212 * sunrpc/clnt_perr.c: Likewise.
5213 * sunrpc/clnt_raw.c: Likewise.
5214 * sunrpc/clnt_simp.c: Likewise.
5215 * sunrpc/clnt_tcp.c: Likewise.
5216 * sunrpc/clnt_udp.c: Likewise.
5217 * sunrpc/clnt_unix.c: Likewise.
5218 * sunrpc/des_crypt.c: Likewise.
5219 * sunrpc/des_soft.c: Likewise.
5220 * sunrpc/get_myaddr.c: Likewise.
5221 * sunrpc/getrpcport.c: Likewise.
5222 * sunrpc/key_call.c: Likewise.
5223 * sunrpc/key_prot.c: Likewise.
5224 * sunrpc/openchild.c: Likewise.
5225 * sunrpc/pm_getmaps.c: Likewise.
5226 * sunrpc/pm_getport.c: Likewise.
5227 * sunrpc/pmap_clnt.c: Likewise.
5228 * sunrpc/pmap_prot.c: Likewise.
5229 * sunrpc/pmap_prot2.c: Likewise.
5230 * sunrpc/pmap_rmt.c: Likewise.
5231 * sunrpc/rpc/auth.h: Likewise.
5232 * sunrpc/rpc/auth_unix.h: Likewise.
5233 * sunrpc/rpc/clnt.h: Likewise.
5234 * sunrpc/rpc/des_crypt.h: Likewise.
5235 * sunrpc/rpc/key_prot.h: Likewise.
5236 * sunrpc/rpc/netdb.h: Likewise.
5237 * sunrpc/rpc/pmap_clnt.h: Likewise.
5238 * sunrpc/rpc/pmap_prot.h: Likewise.
5239 * sunrpc/rpc/pmap_rmt.h: Likewise.
5240 * sunrpc/rpc/rpc.h: Likewise.
5241 * sunrpc/rpc/rpc_des.h: Likewise.
5242 * sunrpc/rpc/rpc_msg.h: Likewise.
5243 * sunrpc/rpc/svc.h: Likewise.
5244 * sunrpc/rpc/svc_auth.h: Likewise.
5245 * sunrpc/rpc/types.h: Likewise.
5246 * sunrpc/rpc/xdr.h: Likewise.
5247 * sunrpc/rpc_clntout.c: Likewise.
5248 * sunrpc/rpc_cmsg.c: Likewise.
5249 * sunrpc/rpc_common.c: Likewise.
5250 * sunrpc/rpc_cout.c: Likewise.
5251 * sunrpc/rpc_dtable.c: Likewise.
5252 * sunrpc/rpc_hout.c: Likewise.
5253 * sunrpc/rpc_main.c: Likewise.
5254 * sunrpc/rpc_parse.c: Likewise.
5255 * sunrpc/rpc_parse.h: Likewise.
5256 * sunrpc/rpc_prot.c: Likewise.
5257 * sunrpc/rpc_sample.c: Likewise.
5258 * sunrpc/rpc_scan.c: Likewise.
5259 * sunrpc/rpc_scan.h: Likewise.
5260 * sunrpc/rpc_svcout.c: Likewise.
5261 * sunrpc/rpc_tblout.c: Likewise.
5262 * sunrpc/rpc_util.c: Likewise.
5263 * sunrpc/rpc_util.h: Likewise.
5264 * sunrpc/rpcinfo.c: Likewise.
5265 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
5266 * sunrpc/rpcsvc/key_prot.x: Likewise.
5267 * sunrpc/rpcsvc/klm_prot.x: Likewise.
5268 * sunrpc/rpcsvc/mount.x: Likewise.
5269 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
5270 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
5271 * sunrpc/rpcsvc/rex.x: Likewise.
5272 * sunrpc/rpcsvc/rstat.x: Likewise.
5273 * sunrpc/rpcsvc/rusers.x: Likewise.
5274 * sunrpc/rpcsvc/sm_inter.x: Likewise.
5275 * sunrpc/rpcsvc/spray.x: Likewise.
5276 * sunrpc/rpcsvc/yppasswd.x: Likewise.
5277 * sunrpc/rtime.c: Likewise.
5278 * sunrpc/svc.c: Likewise.
5279 * sunrpc/svc_auth.c: Likewise.
5280 * sunrpc/svc_authux.c: Likewise.
5281 * sunrpc/svc_raw.c: Likewise.
5282 * sunrpc/svc_run.c: Likewise.
5283 * sunrpc/svc_simple.c: Likewise.
5284 * sunrpc/svc_tcp.c: Likewise.
5285 * sunrpc/svc_udp.c: Likewise.
5286 * sunrpc/svc_unix.c: Likewise.
5287 * sunrpc/svcauth_des.c: Likewise.
5288 * sunrpc/xcrypt.c: Likewise.
5289 * sunrpc/xdr.c: Likewise.
5290 * sunrpc/xdr_array.c: Likewise.
5291 * sunrpc/xdr_float.c: Likewise.
5292 * sunrpc/xdr_mem.c: Likewise.
5293 * sunrpc/xdr_rec.c: Likewise.
5294 * sunrpc/xdr_ref.c: Likewise.
5295 * sunrpc/xdr_sizeof.c: Likewise.
5296 * sunrpc/xdr_stdio.c: Likewise.
5298 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
5301 2010-08-19 Andreas Schwab <schwab@redhat.com>
5303 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
5305 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
5307 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
5308 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
5309 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
5310 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
5311 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
5312 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
5313 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
5314 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
5315 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
5316 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
5317 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
5318 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
5319 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
5320 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
5322 2010-07-26 Anton Blanchard <anton@samba.org>
5324 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
5325 * malloc/arena.c (heap_trim): Likewise.
5327 2010-08-16 Ulrich Drepper <drepper@redhat.com>
5329 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
5331 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
5332 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
5334 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
5336 * sysdeps/i386/elf/Makefile: New file.
5338 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
5340 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
5342 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5343 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5345 2010-08-15 Ulrich Drepper <drepper@redhat.com>
5347 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
5349 * sysdeps/multiarch/strcmp.S: Likewise.
5351 2010-08-14 Ulrich Drepper <drepper@redhat.com>
5353 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
5354 strncase_l-nonascii.
5355 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
5356 Add strncase_l-ssse3.
5357 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
5358 * sysdeps/x86_64/strcmp.S: Likewise.
5359 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
5360 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
5361 * sysdeps/x86_64/strncase.S: New file.
5362 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
5363 * sysdeps/x86_64/strncase_l.S: New file.
5364 * string/Makefile (strop-tests): Add strncasecmp.
5365 * string/test-strncasecmp.c: New file.
5367 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
5370 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
5371 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
5373 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
5375 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
5377 2010-08-12 Ulrich Drepper <drepper@redhat.com>
5379 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
5380 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
5381 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
5383 2010-05-01 Alan Modra <amodra@gmail.com>
5385 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
5386 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
5387 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
5388 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
5389 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
5390 tidying. Don't tail-call __sigjmp_save for static lib.
5391 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
5393 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
5394 (CALL_MCOUNT): Add eh info, and nop after bl.
5395 (TAIL_CALL_SYSCALL_ERROR): New macro.
5396 (PSEUDO_RET): Use it.
5397 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
5398 Correct save location of integer regs and cr.
5399 (_dl_profile_resolve): Correct cr save location. Delete nops
5400 after bl when SHARED. Reduce cfi size a little by better
5401 placement of cfi directives.
5402 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
5403 make a stack frame. Instead use parm save area as a temp.
5404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
5405 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
5406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5407 Don't make a stack frame for parent, use parm save area.
5408 Increase child stack frame to 112 bytes. Don't save unused reg,
5409 and adjust reg usage. Set up cfi on error recovery and
5410 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
5411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
5412 (__makecontext): Add dummy nop after jump to exit.
5413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
5414 Use correct parm save area and cr save, reduce stack frame.
5415 Correct cfi for possible PSEUDO_RET frame setup.
5416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
5417 Branch to local label emitted by PSEUDO_RET rather than
5420 2010-08-12 Andreas Schwab <schwab@redhat.com>
5423 * locale/programs/locale.c (print_assignment): New function.
5424 (show_locale_vars): Use it.
5426 2010-08-11 Ulrich Drepper <drepper@redhat.com>
5428 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
5430 (struct statfs64): Likewise.
5431 (_STATFS_F_FLAGS): Define.
5432 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
5433 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5434 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
5435 (ST_VALID): Define locally.
5436 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
5437 __statvfs_getflags, use the provided value.
5438 * sysdeps/unix/sysv/linux/kernel-features.h: Define
5439 __ASSUME_STATFS_F_FLAGS.
5441 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
5443 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
5445 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
5446 fanotify_mask for GLIBC_2.13.
5447 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
5448 fanotify_init and fanotify_mark.
5449 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5450 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
5452 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
5454 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
5455 prlimit64 for GLIBC_2.13.
5456 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
5458 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
5461 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
5462 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
5463 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
5464 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
5466 * sysdeps/unix/sysv/linux/prlimit.c: New file.
5469 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
5470 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
5472 * nss/Makefile: Add rules to build and run tst-nss-test1.
5473 * shlib-versions: Add entry for libnss_test1.
5474 * nss/nss_test1.c: New file.
5475 * nss/tst-nss-test1.c: New file.
5477 * nss/nsswitch.c (__nss_database_custom): Define new variable.
5478 (__nss_configure_lookup): Set appropriate entry in
5479 __nss_configure_lookup to true.
5480 * nss/nsswitch.h: Define enum with indeces of databases in
5481 databases and __nss_database_custom arrays. Declare
5482 __nss_database_custom.
5483 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
5484 to avoid using nscd when custom rules are installed.
5485 * nss/getXXbyYY_r.c: Likewise.
5486 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5488 * nss/nss_files/files-parse.c: Whitespace fixes.
5490 2010-08-09 Ulrich Drepper <drepper@redhat.com>
5493 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
5494 * posix/fnmatch_loop.c: Likewise.
5496 2010-07-17 Andi Kleen <ak@linux.intel.com>
5498 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
5499 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
5500 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
5501 * Versions.def [GLIBC_2.13]: Add.
5503 2010-08-06 Ulrich Drepper <drepper@redhat.com>
5505 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5506 Also fail if tpwd after pwuid call is NULL.
5508 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
5510 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
5511 when converting to ms.
5513 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
5515 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
5516 EOPNOTSUPP errors with ENOTTY.
5517 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
5518 EOPNOTSUPP errors with ENOTTY.
5520 2010-07-31 Ulrich Drepper <drepper@redhat.com>
5522 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
5523 Add strcasecmp_l-ssse3.
5524 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
5526 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
5527 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
5528 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
5530 2010-07-30 Ulrich Drepper <drepper@redhat.com>
5532 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
5534 * string/Makefile (strop-tests): Add strcasecmp.
5535 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
5536 strcasecmp_l-nonascii.
5537 (gen-as-const-headers): Add locale-defines.sym.
5538 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
5539 * sysdeps/x86_64/strcasecmp.S: New file.
5540 * sysdeps/x86_64/strcasecmp_l.S: New file.
5541 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
5542 * sysdeps/x86_64/locale-defines.sym: New file.
5543 * string/test-strcasecmp.c: New file.
5545 * string/test-strcasestr.c: Test both ends of the range of characters.
5546 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
5548 2010-07-29 Roland McGrath <roland@redhat.com>
5551 * manual/locale.texi (Yes-or-No Questions): Fix example code.
5553 2010-07-27 Ulrich Drepper <drepper@redhat.com>
5555 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
5558 2010-07-27 Andreas Schwab <schwab@redhat.com>
5560 * manual/memory.texi (Malloc Tunable Parameters): Document
5563 2010-07-26 Roland McGrath <roland@redhat.com>
5566 * configure.in (-fgnu89-inline check): Set and substitute
5567 gnu89_inline, not libc_cv_gnu89_inline.
5568 * configure: Regenerated.
5569 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
5571 2010-07-26 Ulrich Drepper <drepper@redhat.com>
5573 * string/test-strnlen.c: New file.
5574 * string/Makefile (strop-tests): Add strnlen.
5575 * string/tester.c (test_strnlen): Add a few more test cases.
5576 * string/tst-strlen.c: Better error reporting.
5578 * sysdeps/x86_64/strnlen.S: New file.
5580 2010-07-24 Ulrich Drepper <drepper@redhat.com>
5582 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
5583 lower-latency instructions.
5585 2010-07-23 Ulrich Drepper <drepper@redhat.com>
5587 * string/test-strcasestr.c: New file.
5588 * string/test-strstr.c: New file.
5589 * string/Makefile (strop-tests): Add strstr and strcasestr.
5590 * string/str-two-way.h: Don't undefine MAX.
5591 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
5593 2010-07-21 Andreas Schwab <schwab@redhat.com>
5595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5596 strcasestr-nonascii.
5597 (CFLAGS-strcasestr-nonascii.c): Define.
5598 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
5599 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
5600 Remove unused attribute.
5602 2010-07-20 Roland McGrath <roland@redhat.com>
5604 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
5605 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
5606 ld.so.cache was broken. With it, there is no way to disable dsocaps
5607 like LD_HWCAP_MASK can disable hwcaps.
5609 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
5611 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
5613 2010-07-16 Ulrich Drepper <drepper@redhat.com>
5615 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
5617 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
5618 __strcasestr_sse42_nonascii.
5619 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
5620 strcasestr-nonascii.c.
5621 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
5623 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
5625 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
5626 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
5627 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
5628 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
5630 2010-07-09 Ulrich Drepper <drepper@redhat.com>
5632 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
5635 2010-07-06 Andreas Schwab <schwab@redhat.com>
5638 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
5641 2010-07-06 Ulrich Drepper <drepper@redhat.com>
5643 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
5644 _PC_PIPE_BUF using F_GETPIPE_SZ.
5646 2010-07-05 Roland McGrath <roland@redhat.com>
5648 * manual/arith.texi (Rounding Functions): Fix rint description
5649 implicit in round description.
5651 2010-07-02 Ulrich Drepper <drepper@redhat.com>
5653 * elf/Makefile: Fix linking for a few tests to make recent linker
5656 2010-06-30 Andreas Schwab <schwab@redhat.com>
5658 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
5659 $(common-objpfx)libc_nonshared.a.
5661 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
5663 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
5664 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
5665 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
5666 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
5667 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
5668 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
5669 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
5670 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
5672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
5674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
5675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
5678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
5679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
5681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
5682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
5684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
5685 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
5686 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
5687 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
5688 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
5689 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
5690 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
5691 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
5692 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
5693 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
5694 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
5695 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
5696 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
5700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
5702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
5703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
5704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
5706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
5707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
5712 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
5714 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
5715 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
5716 * string/memmove.c (memmove): Renamed to ...
5717 (MEMMOVE): ...this. Default to memmove.
5718 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
5719 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
5721 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5722 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
5723 mempcpy-ssse3-back memmove-ssse3-back.
5724 * sysdeps/x86_64/multiarch/bcopy.S: New file .
5725 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
5726 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
5727 * sysdeps/x86_64/multiarch/memcpy.S: New file.
5728 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
5729 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
5730 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
5731 * sysdeps/x86_64/multiarch/memmove.c: New file.
5732 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
5733 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
5734 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
5735 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
5736 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
5737 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
5739 (index_Fast_Copy_Backward): Define.
5740 (HAS_ARCH_FEATURE): Define.
5741 (HAS_FAST_REP_STRING): Define.
5742 (HAS_FAST_COPY_BACKWARD): Define.
5744 2010-06-21 Andreas Schwab <schwab@redhat.com>
5746 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5747 Restore proper fallback handling.
5749 2010-06-19 Ulrich Drepper <drepper@redhat.com>
5752 * posix/group_member.c (__group_member): Correct checking loop.
5754 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
5755 OOM in getpwuid_r correctly. Return error number when the caller
5756 should return, otherwise -1.
5757 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
5758 call returning > 0 value.
5759 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
5761 2010-06-07 Andreas Schwab <schwab@redhat.com>
5763 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
5764 libc_nonshared.a from targets in modules-names.
5766 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
5768 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
5771 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
5773 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
5774 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
5775 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
5776 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
5778 2010-06-02 Andreas Schwab <schwab@redhat.com>
5780 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
5782 2010-06-14 Ulrich Drepper <drepper@redhat.com>
5784 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
5786 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
5787 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
5788 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
5789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5790 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
5791 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
5793 2010-06-14 Roland McGrath <roland@redhat.com>
5795 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
5797 2010-06-07 Jakub Jelinek <jakub@redhat.com>
5799 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
5800 __REDIRECT followed by __THROW.
5801 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
5802 * posix/getopt.h (getopt): Likewise.
5804 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
5806 * hurd/lookup-at.c (__file_name_lookup_at): Accept
5807 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
5808 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
5810 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
5811 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
5813 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
5815 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
5817 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
5820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5821 Properly check family and model.
5823 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
5825 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
5827 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
5829 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
5831 2010-05-21 Ulrich Drepper <drepper@redhat.com>
5833 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
5836 2010-05-19 Andreas Schwab <schwab@redhat.com>
5838 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
5841 2010-05-21 Andreas Schwab <schwab@redhat.com>
5843 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
5844 and internal_recvmmsg.
5845 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
5846 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
5847 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
5848 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
5850 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
5851 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5852 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5854 2010-05-20 Andreas Schwab <schwab@redhat.com>
5856 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
5858 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
5860 POWER7 optimizations.
5861 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
5862 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
5864 2010-05-19 Ulrich Drepper <drepper@redhat.com>
5866 * version.h: Update for 2.13 development version.
5868 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
5870 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
5871 exceptions. Return 0.
5873 2010-05-07 Roland McGrath <roland@redhat.com>
5875 * elf/ldconfig.c (main): Add a const.
5877 2010-05-06 Ulrich Drepper <drepper@redhat.com>
5879 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
5880 (args_options): Add no-idn option.
5881 (ahosts_keys_int): Add idn_flags to ai_flags.
5882 (parse_option): Handle 'i' option to clear idn_flags.
5884 * malloc/malloc.c (_int_free): Possible race in the most recently
5885 added check. Only act on the data if no current modification
5888 See ChangeLog.17 for earlier changes.