1 2012-03-19 Richard Henderson <rth@twiddle.net>
3 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
4 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5 (libc_feupdateenv_testl): New.
6 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7 (libc_feupdateenv_testf): New.
8 (libc_feupdateenv): Use libc_feupdateenv_test.
9 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
10 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
12 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13 (libc_feholdsetroundf, libc_feholdsetroundl): New.
14 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
15 (libc_feresetround_noex): New.
16 (libc_feresetround_noexf): New.
17 (libc_feresetround_noexl): New.
18 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
19 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
20 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
27 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28 SET_RESTORE_ROUND_NOEX.
29 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30 SET_RESTORE_ROUND_NOEXF.
31 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33 (libc_feholdsetroundf): New.
34 (libc_feresetround, libc_feresetroundf): New.
36 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37 (libc_feholdexcept_setround_53bit): Convert from macro to function.
38 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
40 * sysdeps/generic/math_private.h: Include <fenv.h>.
41 (default_libc_feholdexcept): New.
42 (default_libc_feholdexcept_setround): New.
43 (default_libc_fesetenv, default_libc_feupdateenv): New.
44 (libc_feholdexcept): Only define if undefined.
45 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47 (libc_feholdexcept_setroundl): Likewise.
48 (libc_feholdexcept_setround_53bit): Likewise.
49 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
52 (libc_feupdateenv_53bit): Likewise.
53 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54 (libc_feholdexcept): Convert from macro to inline function.
55 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56 (libc_fesetenv, libc_feupdateenv): Likewise.
58 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
59 not previously defined.
60 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
61 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
62 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
64 * sysdeps/ieee754/flt-32/math_private.h: New file.
65 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
66 math_private.h below SET_FLOAT_WORD.
67 (__isnan, __isinf_ns, __finite): Remove.
68 (__isnanf, __isinf_nsf, __finitef): Remove.
70 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
72 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74 2012-03-17 David S. Miller <davem@davemloft.net>
77 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80 2012-03-16 David S. Miller <davem@davemloft.net>
82 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
88 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
89 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
90 sysdep_routines when subdir is sysvipc.
91 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
94 * sysdeps/sparc/fpu/libm-test/ulps: Update.
96 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
98 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
101 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
103 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
104 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
105 (__lround): Renamed to ...
106 (__llround): This. Replace long int with long long int.
107 Define lround functions as aliases of llround functions.
108 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
110 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
112 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
113 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
114 adresses to uintptr_t. Replace "long int" and "unsigned long
115 int" with "greg_t" on va_arg.
117 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
119 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
120 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
122 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
123 Move e_machine check before EI_CLASS check. Handle x32
124 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
125 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
126 SKIP_EM_IA_64 and include
127 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
129 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
130 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
131 (add_system_dir): New macro.
133 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
134 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
136 2012-03-16 Joseph Myers <joseph@codesourcery.com>
147 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
149 * math/w_j0f.c (j0f): Likewise.
151 * math/w_j0l.c (__j0l): Likewise.
153 * math/w_j1.c (j1): Likewise.
155 * math/w_j1f.c (j1f): Likewise.
157 * math/w_j1l.c (__j1l): Likewise.
159 * math/w_jn.c (jn): Likewise.
161 * math/w_jnf.c (jnf): Likewise.
163 * math/w_jnl.c (__jnl): Likewise.
165 * math/libm-test.inc (j0_test): Add more tests.
167 (jn_test): Likewise. Add trailing semicolon to existing test.
170 * sysdeps/i386/fpu/libm-test-ulps: Update.
171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
175 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
176 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
177 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
178 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
179 (__tanl): Set errno for infinite argument.
180 * sysdeps/i386/fpu/mptan.c: Remove.
181 * sysdeps/i386/fpu/s_tan.S: Likewise.
182 * sysdeps/i386/fpu/s_tanl.S: Likewise.
183 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
184 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
185 * math/libm-test.inc (tan_test): Add more tests and enable more
186 tests for double and long double.
187 * sysdeps/i386/fpu/libm-test-ulps: Update.
188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
190 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
192 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
193 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
195 2012-03-16 Roland McGrath <roland@hack.frob.com>
197 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
198 * configure.in: Use it for both main tree and add-ons.
199 * configure: Regenerated.
201 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
203 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
205 2012-03-16 Joseph Myers <joseph@codesourcery.com>
207 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
211 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
212 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
213 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
214 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
215 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
217 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
218 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
220 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
221 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
222 * sysdeps/i386/fpu/s_cosl.S: Likewise.
223 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
224 * sysdeps/i386/fpu/s_sinl.S: Likewise.
225 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
226 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
227 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
228 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
229 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
230 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
231 * math/libm-test.inc (cos_test): Add more tests and enable more
232 tests for long double.
233 (sin_test): Likewise.
234 (sincos_test): Likewise.
235 * sysdeps/i386/fpu/libm-test-ulps: Update.
236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
238 2012-03-16 David S. Miller <davem@davemloft.net>
240 * sysdeps/sparc/fpu/math_private.h: New file.
242 2012-03-15 David S. Miller <davem@davemloft.net>
244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
253 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
254 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
258 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
259 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
261 * sysdeps/sparc/sparc-ifunc.h: New file.
262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
286 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
287 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
288 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
289 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
302 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
303 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
307 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
309 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
313 2012-03-15 Andreas Jaeger <aj@suse.de>
316 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
317 ieee754/flt-32 implementation for sin, cos and sincos.
318 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
319 * sysdeps/i386/fpu/s_cosf.S: Likewise.
320 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
321 * sysdeps/i386/fpu/s_sinf.S: Likewise.
322 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
323 ieee754/flt-32 implementation for tan.
325 * math/libm-test.inc (cos_test): Enable some large input tests for
327 (sin_test): Likewise.
328 (sincos_test): Likewise.
329 (tan_test): Add tests for large input.
331 * sysdeps/i386/fpu/libm-test-ulps: Update.
333 2012-03-15 Andreas Jaeger <aj@suse.de>
336 * math/libm-test.inc (cos_test): Add more test cases.
337 (sin_test): Likewise.
338 (sincos_test): Likewise.
340 2012-03-15 Andreas Jaeger <aj@suse.de>
343 * math/libm-test.inc (cos_test): Add a test case for large input
345 (sin_test): Likewise.
346 (sincos_test): Likewise.
348 2012-03-15 Andreas Jaeger <aj@suse.de>,
349 Joseph Myers <joseph@codesourcery.com>
352 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
353 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
354 * sysdeps/i386/fpu/branred.c: Likewise.
355 * sysdeps/i386/fpu/dosincos.c: Likewise.
356 * sysdeps/i386/fpu/mpa.c: Likewise.
357 * sysdeps/i386/fpu/s_cos.S: Likewise.
358 * sysdeps/i386/fpu/s_sin.S: Likewise.
359 * sysdeps/i386/fpu/s_sincos.S: Likewise.
360 * sysdeps/i386/fpu/sincos32.c: Likewise.
362 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
364 (libc_feupdateenv_53bit): Define.
365 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
367 (libc_feupdateenv_53bit): Define.
369 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
370 53 bit (without extend i386 double precision).
372 * math/libm-test.inc (sincos_test): Add tests for large input.
376 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
378 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
382 2012-03-15 David S. Miller <davem@davemloft.net>
384 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
385 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
386 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
387 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
412 fmin/fmax sysdep routines.
413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
415 2012-03-14 David S. Miller <davem@davemloft.net>
417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
419 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
421 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
422 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
424 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
426 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
437 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
438 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
439 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
440 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
441 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
442 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
443 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
444 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
445 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
489 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
494 * sysdeps/sparc/configure.in: New file.
495 * sysdeps/sparc/configure: Generate.
496 * configure.in (libc_cv_sparc_as_vis3): Substitute.
497 * configure: Regenerate.
498 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
499 * config.make.in (have-as-vis3): New.
500 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
501 available use -Av9d instead of -Av9a.
502 * sysdeps/sparc/sparc64/Makefile: Likewise.
503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
512 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
513 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
514 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
515 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
516 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
518 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
519 fzeros/fnegs to load 0x80000000 into a float register instead of
521 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
523 2012-03-14 Joseph Myers <joseph@codesourcery.com>
525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
527 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
528 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
529 ($(inst_includedir)/bits/syscall.h): Remove rule.
530 ($(objpfx)bits/syscall.d): Include instead of
531 $(objpfx)syscall-list.d.
532 (generated): Change syscall-list.h and syscall-list.d to
533 bits/syscall.h and bits/syscall.d.
535 2012-03-14 Roland McGrath <roland@hack.frob.com>
538 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
540 2012-03-14 Joseph Myers <joseph@codesourcery.com>
543 * math/s_csqrt.c: Include <float.h>.
544 (__csqrt): Scale large or subnormal inputs.
545 * math/s_csqrtf.c: Likewise.
546 * math/s_csqrtl.c: Likewise.
547 * math/libm-test.inc (csqrt_test): Add more tests.
548 * sysdeps/i386/fpu/libm-test-ulps: Update.
549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
552 * math/libm-test.inc (hypot_test): Add more tests.
554 2012-03-13 David S. Miller <davem@davemloft.net>
557 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
558 double-precision for the calculation instead of scaling.
560 2012-03-13 Joseph Myers <joseph@codesourcery.com>
562 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
563 manipulate bits before adding and subtracting TWO52[sx].
564 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
565 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
567 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
569 2012-03-13 David S. Miller <davem@davemloft.net>
571 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
572 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
573 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
574 rtld-global-offsets.h
575 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
577 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
580 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
582 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
583 'err' in the ifdef scope in which it is actually used.
585 * nss/nss_db/db-init.c: Include string.h
587 2012-03-12 David S. Miller <davem@davemloft.net>
589 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
590 masking out of the most significant byte of random value used.
591 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
592 Fix coding style in previous change.
594 * sysdeps/unix/sysv/linux/kernel-features.h
595 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
596 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
598 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
601 2012-03-11 David S. Miller <davem@davemloft.net>
603 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
604 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
605 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
606 for 'resultvar' otherwise things get truncated on 64-bit.
608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
609 Fix masking out of the most significant byte of random value used.
611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
613 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
617 2012-03-09 David S. Miller <davem@davemloft.net>
619 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
620 variables with appropriate CPP guards.
621 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
622 frame pointer, not the stack pointer. Correct layout comments. Fix test
623 on resulting framesize and the management of the outregs buffer for pltexit.
624 Preserve floating point return values across _dl_call_pltexit call.
625 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
626 framesize and the management of the outregs buffer for pltexit.
627 Preserve floating point return values across _dl_call_pltexit
629 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
630 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
631 (print_exit): Fix format string for return register value.
633 2012-03-10 Joseph Myers <joseph@codesourcery.com>
635 * sunrpc/Makefile (others): Add rpcgen.
636 ($(objpfx)rpcgen): Remove special build rule and dependency on
638 * sunrpc/rpcgen.c: New file.
640 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
643 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
644 * stdio-common/bug-vfprintf-nargs.c: Likewise.
645 * sysdeps/i386/crti.S: Likewise.
646 * sysdeps/i386/crtn.S: Likewise.
647 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
648 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
649 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
650 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
651 * sysdeps/sh/crti.S: Likewise.
652 * sysdeps/sh/crtn.S: Likewise.
653 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
656 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
658 * locale/programs/locfile-kw.gperf: Likewise.
659 * locale/programs/charmap-kw.h: Regenerated.
660 * locale/programs/locfile-kw.h: Likewise.
663 * intl/plural.y: Replace FSF snail mail address with URL.
664 * intl/plural.c: Regenerated.
666 2012-03-09 Richard Henderson <rth@twiddle.net>
668 * include/math_private.h: Remove file.
669 * math/math_private.h: Move file ...
670 * sysdeps/generic/math_private.h: ... here.
672 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
673 * sysdeps/powerpc/fpu/math_private.h: Likewise.
674 * sysdeps/x86_64/fpu/math_private.h: Likewise.
676 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
677 and <math_private.h>.
678 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
679 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
680 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
681 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
682 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
683 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
684 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
685 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
686 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
687 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
689 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
690 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
691 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
692 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
693 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
694 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
695 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
696 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
697 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
699 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
700 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
702 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
703 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
704 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
705 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
706 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
707 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
710 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
711 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
712 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
714 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
715 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
716 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
718 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
719 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
720 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
721 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
722 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
723 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
724 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
725 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
726 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
727 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
728 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
729 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
730 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
731 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
732 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
733 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
734 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
735 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
736 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
737 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
738 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
739 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
741 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
742 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
743 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
744 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
745 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
746 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
747 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
748 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
749 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
750 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
751 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
752 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
753 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
754 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
755 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
756 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
757 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
758 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
759 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
760 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
762 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
764 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
765 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
766 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
767 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
768 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
769 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
770 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
771 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
772 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
773 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
774 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
775 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
776 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
777 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
778 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
779 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
780 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
781 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
782 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
783 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
784 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
785 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
786 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
787 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
788 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
789 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
790 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
791 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
792 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
793 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
794 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
795 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
796 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
797 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
798 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
799 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
800 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
801 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
802 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
803 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
804 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
805 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
806 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
807 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
808 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
809 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
810 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
811 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
812 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
813 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
814 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
815 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
816 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
817 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
818 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
819 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
820 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
821 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
822 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
823 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
824 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
825 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
826 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
827 * sysdeps/ieee754/k_standard.c: Likewise.
828 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
829 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
830 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
831 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
832 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
833 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
834 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
835 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
836 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
837 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
838 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
839 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
840 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
841 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
842 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
843 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
844 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
845 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
846 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
847 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
848 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
849 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
850 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
851 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
852 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
853 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
854 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
855 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
856 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
857 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
858 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
859 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
860 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
861 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
862 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
863 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
864 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
865 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
866 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
867 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
868 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
869 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
870 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
871 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
872 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
873 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
874 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
875 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
876 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
877 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
878 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
879 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
880 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
881 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
882 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
883 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
884 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
885 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
886 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
887 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
888 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
889 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
890 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
891 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
892 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
893 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
894 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
895 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
896 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
897 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
898 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
899 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
900 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
901 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
902 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
903 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
904 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
905 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
906 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
907 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
908 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
909 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
910 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
911 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
912 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
913 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
914 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
915 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
916 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
917 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
918 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
919 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
920 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
921 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
922 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
923 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
924 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
925 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
926 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
927 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
928 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
929 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
930 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
931 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
932 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
933 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
934 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
935 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
936 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
937 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
938 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
939 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
940 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
941 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
942 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
943 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
944 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
945 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
946 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
947 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
948 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
949 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
950 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
951 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
952 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
953 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
954 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
955 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
956 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
957 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
958 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
959 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
960 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
961 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
962 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
963 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
964 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
965 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
966 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
967 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
968 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
969 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
970 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
971 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
972 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
973 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
974 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
975 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
976 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
977 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
978 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
979 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
980 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
981 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
982 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
983 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
984 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
985 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
986 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
987 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
988 * sysdeps/ieee754/s_lib_version.c: Likewise.
989 * sysdeps/ieee754/s_matherr.c: Likewise.
990 * sysdeps/ieee754/s_signgam.c: Likewise.
991 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
992 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
993 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
994 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
995 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
996 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
997 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
998 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
999 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1000 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1001 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1002 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1003 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1004 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1005 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1006 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1007 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1008 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1009 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1010 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1011 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1013 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1015 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1016 * sunrpc/rpc_main.c: Likewise.
1017 * sunrpc/rpc_svcout.c: Likewise.
1019 2012-03-09 David S. Miller <davem@davemloft.net>
1021 * include/math_private.h: New file.
1023 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1025 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1026 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1027 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1028 from <bits/socket_type.h>.
1029 (enum __socket_type): Don't define here.
1030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1031 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1035 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1038 * Makerules ($(inst_includedir)/%.h): New rule.
1039 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1040 (install-others): Remove variable setting.
1041 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1043 2012-03-08 Richard Henderson <rth@twiddle.net>
1045 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1046 from macro to inline function; merge with the
1047 !__LIBC_INTERNAL_MATH_INLINES version.
1048 (__ieee754_sqrtf): Likewise.
1050 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1052 (__rintf, __floor, __floorf): Likewise.
1054 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1055 macro to inline function.
1056 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1058 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1059 not <math/math_private.h>.
1061 2012-03-08 David S. Miller <davem@davemloft.net>
1063 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1065 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1067 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1069 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1071 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1072 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1074 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1076 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1077 be defined individually, they must be defined as a block. Define
1078 S for printing a string instead of hidint the different by using a
1079 macro for adding the 'l'.
1080 * stdio-common/tst-fphex-wide.c: Adjust.
1082 2012-03-07 Marek Polacek <polacek@redhat.com>
1084 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1086 2012-03-08 Marek Polacek <polacek@redhat.com>
1089 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1090 * stdio-common/tst-fphex.c: Define a few macros to make the
1091 test reusable. Use them.
1092 * stdio-common/tst-fphex-wide.c: New file.
1094 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1097 * manual/macros.texi (gnusystems): New macro.
1098 (nongnusystems): Likewise.
1099 (gnulinuxhurdsystems): Likewise.
1100 (gnuhurdsystems): Likewise..
1101 (gnulinuxsystems): Likewise.
1102 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1103 variants of the GNU system, not "GNU system".
1104 * manual/conf.texi: Likewise.
1105 * manual/errno.texi: Likewise. Update example of errno macro
1107 * manual/filesys.texi: Likewise.
1108 (getumask): Document as specific to GNU/Hurd.
1109 * manual/install.texi: Likewise. Reword some references to
1111 * manual/intro.texi: Likewise.
1112 * manual/io.texi: Likewise.
1113 (File Name Portability): Detail which constraints are inapplicable
1114 to all GNU systems and which are only inapplicable to GNU/Hurd.
1115 * manual/job.texi: Likewise.
1116 * manual/llio.texi: Likewise.
1117 (O_NOCTTY): Document as present on GNU/Linux.
1118 * manual/maint.texi: Likewise.
1119 * manual/memory.texi: Likewise.
1120 * manual/pattern.texi: Likewise.
1121 * manual/pipe.texi: Likewise.
1122 * manual/process.texi: Likewise.
1123 * manual/resource.texi: Likewise.
1124 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1126 * manual/setjmp.texi: Likewise.
1127 * manual/signal.texi: Likewise.
1128 * manual/startup.texi: Likewise.
1129 * manual/stdio.texi: Likewise.
1130 * manual/terminal.texi: Likewise.
1131 (ONLCR): Document as POSIX.
1132 (OXTABS): Document availability on GNU/Linux as XTABS.
1133 (ONOEOT): Document availability separately from other bits.
1134 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1135 * manual/time.texi: Likewise.
1136 * manual/users.texi: Likewise.
1137 * INSTALL: Regenerated.
1138 * sysdeps/gnu/errlist.c: Regenerated.
1140 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1141 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1142 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1144 * configure: Regenerated.
1146 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1148 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1149 default includes instead of AC_HEADER_CHECK.
1150 * sysdeps/i386/configure: Regenerated.
1153 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1154 * math/s_cacoshf.c (__cacoshf): Likewise.
1155 * math/s_cacoshl.c (__cacoshl): Likewise.
1156 * math/s_casinh.c (__casinh): Set signs of result from argument.
1157 * math/s_casinhf.c (__casinhf): Likewise.
1158 * math/s_casinhl.c (__casinhl): Likewise.
1159 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1160 (casinh_test): Add more tests.
1161 * sysdeps/i386/fpu/libm-test-ulps: Update.
1162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1164 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1166 * po/zh_TW.po: Update from translation team.
1168 * login/Makefile (distribute): Remove variable.
1169 * catgets/Makefile: Likewise.
1170 * mach/Makefile: Likewise.
1171 * malloc/Makefile: Likewise.
1172 * misc/Makefile: Likewise.
1173 * iconv/Makefile: Likewise.
1174 * nscd/Makefile: Likewise.
1175 * hurd/Makefile: Likewise.
1176 * manual/Makefile: Likewise.
1177 * locale/Makefile: Likewise.
1178 * intl/Makefile: Likewise.
1179 * conform/Makefile: Likewise.
1180 * nss/Makefile: Likewise.
1181 * time/Makefile: Likewise.
1182 * soft-fp/Makefile: Likewise.
1183 * dirent/Makefile: Likewise.
1184 * gmon/Makefile: Likewise.
1185 * po/Makefile: Likewise.
1186 * rt/Makefile: Likewise.
1187 * socket/Makefile: Likewise.
1188 * math/Makefile: Likewise.
1189 * signal/Makefile: Likewise.
1190 * debug/Makefile: Likewise.
1191 * elf/Makefile: Likewise.
1192 * timezone/Makefile: Likewise.
1193 * stdlib/Makefile: Likewise.
1194 * iconvdata/Makefile: Likewise.
1195 * sunrpc/Makefile: Likewise.
1196 * io/Makefile: Likewise.
1197 * argp/Makefile: Likewise.
1198 * inet/Makefile: Likewise.
1199 * hesiod/Makefile: Likewise.
1200 * grp/Makefile: Likewise.
1201 * csu/Makefile: Likewise.
1202 * wctype/Makefile: Likewise.
1203 * crypt/Makefile: Likewise.
1204 * libio/Makefile: Likewise.
1205 * string/Makefile: Likewise.
1206 * nis/Makefile: Likewise.
1207 * resolv/Makefile: Likewise.
1208 * stdio-common/Makefile: Likewise.
1209 * wcsmbs/Makefile: Likewise.
1210 * dlfcn/Makefile: Likewise.
1211 * posix/Makefile: Likewise.
1213 * timezone/Makefile: Don't install timezone files, just the programs
1216 2012-03-06 Ulrich Drepper <drepper@gmail.com>
1218 * nss/databases.def: Add missing gshadow entry.
1220 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1222 2012-03-06 Marek Polacek <polacek@redhat.com>
1225 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1226 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1227 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1228 * stdio-common/tst-long-dbl-fphex.c: New file.
1230 2012-03-06 David S. Miller <davem@davemloft.net>
1232 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1233 (set_obp_int): New function.
1234 (get_obp_int): New function.
1235 (__get_clockfreq_via_dev_openprom): Likewise.
1236 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1237 Avoid unused variable warnings on 'val' and use builtin_expect.
1238 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1240 (INLINE_CLONE_SYSCALL): Likewise.
1242 2012-03-05 David S. Miller <davem@davemloft.net>
1244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1246 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1250 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1252 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1254 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
1256 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1257 Replace gettimeofday with __vdso_gettimeofday.
1259 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1260 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1261 __vdso_clock_gettime and __vdso_getcpu.
1263 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1264 time with __vdso_time.
1266 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1268 * manual/lang.texi (size_t): Note types to which size_t may be
1269 equivalent with the GNU C Library, but do not describe when
1270 differences between them are significant.
1272 2012-03-05 Andreas Jaeger <aj@suse.de>
1274 * sysdeps/i386/fpu/libm-test-ulps: Update.
1276 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1279 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1280 (__ieee754_pow): Save and restore rounding mode and use
1281 round-to-nearest for main computations.
1282 * math/libm-test.inc (pow_test_tonearest): New function.
1283 (pow_test_towardzero): Likewise.
1284 (pow_test_downward): Likewise.
1285 (pow_test_upward): Likewise.
1286 (main): Call the new functions.
1287 * sysdeps/i386/fpu/libm-test-ulps: Update.
1288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1291 * math/libm-test.inc (cosh_test_tonearest): New function.
1292 (cosh_test_towardzero): Likewise.
1293 (cosh_test_downward): Likewise.
1294 (cosh_test_upward): Likewise.
1295 (sinh_test_tonearest): Likewise.
1296 (sinh_test_towardzero): Likewise.
1297 (sinh_test_downward): Likewise.
1298 (sinh_test_upward): Likewise.
1299 (main): Call the new functions.
1300 * sysdeps/i386/fpu/libm-test-ulps: Update.
1301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1303 2012-03-05 Tom de Vries <tom@codesourcery.com>
1305 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1306 default stack guard is set in last bytes.
1307 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1309 2012-03-05 Kees Cook <keescook@chromium.org>
1311 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
1314 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1315 possibly allocate from heap instead of stack.
1316 * stdio-common/bug-vfprintf-nargs.c: New file.
1317 * stdio-common/Makefile (tests): Add nargs overflow test.
1319 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1323 2012-03-03 Marek Polacek <polacek@redhat.com>
1325 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1326 * math/math_private.h: Likewise.
1327 * stdlib/tst-strtod.c: Likewise.
1328 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1329 * sysdeps/x86_64/bits/atomic.h: Likewise.
1331 2012-03-02 David S. Miller <davem@davemloft.net>
1333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1337 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1338 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1339 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1340 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1342 2012-03-02 Roland McGrath <roland@hack.frob.com>
1345 * manual/examples/README: New file, says the example source files
1346 can be used under GPL>=2.
1347 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1348 line containing just "*/".
1349 * manual/examples/add.c: Add copyright header (GPL>=2).
1350 * manual/examples/argp-ex1.c: Likewise.
1351 * manual/examples/argp-ex2.c: Likewise.
1352 * manual/examples/argp-ex3.c: Likewise.
1353 * manual/examples/argp-ex4.c: Likewise.
1354 * manual/examples/atexit.c: Likewise.
1355 * manual/examples/db.c: Likewise.
1356 * manual/examples/dir.c: Likewise.
1357 * manual/examples/dir2.c: Likewise.
1358 * manual/examples/execinfo.c: Likewise.
1359 * manual/examples/filecli.c: Likewise.
1360 * manual/examples/filesrv.c: Likewise.
1361 * manual/examples/fmtmsgexpl.c: Likewise.
1362 * manual/examples/genpass.c: Likewise.
1363 * manual/examples/inetcli.c: Likewise.
1364 * manual/examples/inetsrv.c: Likewise.
1365 * manual/examples/isockad.c: Likewise.
1366 * manual/examples/longopt.c: Likewise.
1367 * manual/examples/memopen.c: Likewise.
1368 * manual/examples/memstrm.c: Likewise.
1369 * manual/examples/mkfsock.c: Likewise.
1370 * manual/examples/mkisock.c: Likewise.
1371 * manual/examples/mygetpass.c: Likewise.
1372 * manual/examples/pipe.c: Likewise.
1373 * manual/examples/popen.c: Likewise.
1374 * manual/examples/rprintf.c: Likewise.
1375 * manual/examples/search.c: Likewise.
1376 * manual/examples/select.c: Likewise.
1377 * manual/examples/setjmp.c: Likewise.
1378 * manual/examples/sigh1.c: Likewise.
1379 * manual/examples/sigusr.c: Likewise.
1380 * manual/examples/stpcpy.c: Likewise.
1381 * manual/examples/strdupa.c: Likewise.
1382 * manual/examples/strftim.c: Likewise.
1383 * manual/examples/strncat.c: Likewise.
1384 * manual/examples/subopt.c: Likewise.
1385 * manual/examples/swapcontext.c: Likewise.
1386 * manual/examples/termios.c: Likewise.
1387 * manual/examples/testopt.c: Likewise.
1388 * manual/examples/testpass.c: Likewise.
1389 * manual/examples/timeval_subtract.c: Likewise.
1392 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1394 * manual/timeval_subtract.c.texi: ... here, new file.
1396 2012-03-02 David S. Miller <davem@davemloft.net>
1398 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1400 2012-03-02 Joseph Myers <joseph@codesourcery.com>
1403 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1404 (__sin): Save and restore rounding mode and use round-to-nearest
1405 for all computations.
1406 (__cos): Save and restore rounding mode and use round-to-nearest
1407 for all computations.
1408 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1410 (tan): Save and restore rounding mode and use round-to-nearest for
1412 * math/libm-test.inc (cos_test_tonearest): New function.
1413 (cos_test_towardzero): Likewise.
1414 (cos_test_downward): Likewise.
1415 (cos_test_upward): Likewise.
1416 (sin_test_tonearest): Likewise.
1417 (sin_test_towardzero): Likewise.
1418 (sin_test_downward): Likewise.
1419 (sin_test_upward): Likewise.
1420 (tan_test_tonearest): Likewise.
1421 (tan_test_towardzero): Likewise.
1422 (tan_test_downward): Likewise.
1423 (tan_test_upward): Likewise.
1424 (main): Call the new functions.
1425 * sysdeps/i386/fpu/libm-test-ulps: Update.
1426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1429 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1430 small n, then large n, before computing and testing k+n.
1431 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1432 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1434 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1436 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1437 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1438 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1439 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1440 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1441 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1442 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1443 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1444 * math/libm-test.inc (scalbn_test): Add more tests.
1445 (scalbln_test): Likewise.
1447 * manual/filesys.texi (mode_t): Describe constraints on size and
1448 signedness, not exact equivalence to a particular type.
1450 (ino64_t): Likewise.
1452 (nlink_t): Likewise.
1453 (blkcnt_t): Likewise.
1454 (blkcnt64_t): Likewise.
1455 * manual/llio.texi (off_t): Likewise.
1458 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1459 (__ieee754_exp): Save and restore rounding mode and use
1460 round-to-nearest for all computations.
1461 * math/libm-test.inc (exp_test_tonearest): New function.
1462 (exp_test_towardzero): Likewise.
1463 (exp_test_downward): Likewise.
1464 (exp_test_upward): Likewise.
1465 (main): Call the new functions.
1466 * sysdeps/i386/fpu/libm-test-ulps: Update.
1467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1469 2012-03-01 Chris Demetriou <cgd@google.com>
1471 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1472 have predictable order.
1474 2012-03-01 David S. Miller <davem@davemloft.net>
1476 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1478 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1479 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1480 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1481 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1483 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1484 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1485 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1487 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1488 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1489 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1490 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1491 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1495 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1496 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1497 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1499 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1500 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1501 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1502 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1503 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1504 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1505 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1506 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1507 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1508 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1509 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1510 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1511 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1512 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1513 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1514 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1515 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1516 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1517 * sysdeps/sparc/elf/configure: Regenerated.
1519 2012-03-01 Joseph Myers <joseph@codesourcery.com>
1521 * configure.in (AS, LD): Require binutils 2.20 or later.
1522 * configure: Regenerated.
1523 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1524 as required minimum version.
1525 * INSTALL: Regenerated.
1529 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1530 before squaring exponent.
1531 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1532 bottom long double and 27 bits of top long double before squaring
1534 * math/libm-test.inc (erfc_test): Add more tests.
1535 * sysdeps/i386/fpu/libm-test-ulps: Update.
1536 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1539 2012-03-01 Kai Tietz <ktietz@redhat.com>
1541 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1542 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1543 containing bit-fields.
1544 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1545 * soft-fp/single.h (_FP_UNION_S): Likewise.
1546 * soft-fp/double.h (_FP_UNION_D): Likewise.
1548 2012-02-29 Joseph Myers <joseph@codesourcery.com>
1551 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1552 not include ../strcmp.S.
1553 [USE_AS_STRNCASECMP_L]: Likewise.
1554 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1555 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1556 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1557 (__strncasecmp_l_ia32): Define as alias to
1558 __strncasecmp_l_nonascii.
1561 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1562 * sysdeps/i386/fpu/libm-test-ulps: Update.
1563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1565 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1568 2012-02-29 Jeff Law <law@redhat.com>
1570 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1573 2012-02-29 Marek Polacek <polacek@redhat.com>
1576 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1577 * elf/Makefile: Add rules to run tst-unused-dep.out.
1579 2012-02-28 David S. Miller <davem@davemloft.net>
1581 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1582 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1583 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1584 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1585 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1586 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1588 2012-02-29 Joseph Myers <joseph@codesourcery.com>
1590 * math/libm-test.inc (llround_test): Move one test from
1591 lround_test. Use TEST_f_L in moved test.
1592 (lround_test): Move misplaced test to llround_test. Add testcase
1595 2012-02-28 Ulrich Drepper <drepper@gmail.com>
1597 * sysdeps/x86_64/fpu/e_expf.S: New file.
1598 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1600 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1603 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1604 of remain_len that may cause incomplete multi-byte character and
1606 * posix/bug-regex33.c: New file.
1607 * posix/Makefile (tests): Add bug-regex33.
1609 2012-02-28 Joseph Myers <joseph@codesourcery.com>
1611 * manual/macros.texi: New file.
1612 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1613 * manual/libc.texinfo: Include macros.texi.
1614 * manual/creatute.texi: Likewise.
1615 * manual/install.texi: Likewise.
1616 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1617 @glibcadj{} in references to the GNU C Library.
1618 * manual/charset.texi: Likewise.
1619 * manual/conf.texi: Likewise.
1620 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1621 when not using those macros.
1622 * manual/creature.texi: Likewise.
1623 * manual/crypt.texi: Likewise.
1624 * manual/errno.texi: Likewise.
1625 * manual/filesys.texi: Likewise.
1626 * manual/header.texi: Likewise.
1627 * manual/install.texi: Likewise.
1628 * manual/intro.texi: Likewise.
1629 * manual/io.texi: Likewise.
1630 * manual/job.texi: Likewise.
1631 * manual/lang.texi: Likewise.
1632 * manual/libc.texiinfo: Likewise.
1633 * manual/llio.texi: Likewise.
1634 * manual/locale.texi: Likewise.
1635 * manual/maint.texi: Likewise.
1636 * manual/math.texi: Likewise.
1637 * manual/memory.texi: Likewise.
1638 * manual/message.texi: Likewise.
1639 * manual/nss.texi: Likewise.
1640 * manual/pattern.texi: Likewise.
1641 * manual/process.texi: Likewise.
1642 * manual/resource.texi: Likewise.
1643 * manual/search.texi: Likewise.
1644 * manual/setjmp.texi: Likewise.
1645 * manual/signal.texi: Likewise.
1646 * manual/socket.texi: Likewise.
1647 * manual/startup.texi: Likewise.
1648 * manual/stdio.texi: Likewise.
1649 * manual/string.texi: Likewise.
1650 * manual/sysinfo.texi: Likewise.
1651 * manual/syslog.texi: Likewise.
1652 * manual/terminal.texi: Likewise.
1653 * manual/time.texi: Likewise.
1654 * manual/users.texi: Likewise.
1655 * INSTALL: Regenerated.
1656 * NOTES: Regenerated.
1657 * sysdeps/gnu/errlist.c: Regenerated.
1659 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1661 * include/dirent.h: Include <dirstream.h> before
1664 2012-02-28 David S. Miller <davem@davemloft.net>
1666 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1667 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1668 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1669 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1671 2012-02-27 David S. Miller <davem@davemloft.net>
1673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1675 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1676 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1679 frame pointer instead of stack pointer relative arg slot.
1680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1681 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1682 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1684 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1687 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1689 2012-02-27 David S. Miller <davem@davemloft.net>
1691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1695 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1696 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1697 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1698 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1700 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1702 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1703 later. Allow versions 5-9.
1704 * configure: Regenerated.
1705 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1706 required minimum version and 4.6 as recommended version. Do not
1707 mention bugs in GCC 2.7 and 2.8.
1708 * INSTALL: Regenerated.
1710 2012-02-27 David S. Miller <davem@davemloft.net>
1712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1716 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1717 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1718 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1719 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1721 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1722 manipulate bits before adding and subtracting TWO112[sx].
1723 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1725 2012-02-27 Roland McGrath <roland@hack.frob.com>
1728 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1729 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1730 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1731 being in POSIX, because they are in 1003.1-2008.
1733 * rt/tst-aio.c: Include <fcntl.h>.
1734 * rt/tst-aio7.c: Likewise.
1735 * rt/tst-aio64.c: Likewise.
1737 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1739 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1741 * manual/install.texi (--with-headers): Describe headers as
1742 interface headers, not private headers.
1743 (Specific advice for GNU/Linux systems): Describe use of headers
1744 from "make headers_install", not private headers from older
1746 * INSTALL: Regenerated.
1747 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1749 * sysdeps/unix/sysv/linux/configure: Regenerated.
1751 * manual/llio.texi (fclean): Remove documentation.
1753 * manual/Makefile (libc-texi-generated): New variable. Include
1755 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1756 $(libc-texi-generated), not duplicated list of files.
1757 (version.texi, stamp-version): New rules.
1758 (realclean): Remove $(libc-texi-generated), not individual files
1759 from that list. Do not remove dir-add.texinfo.
1760 * manual/libc.texinfo: Comment out uses of edition numbers and
1761 references to printed manual. Remove last-updated dates.
1762 (EDITION): Comment out.
1764 (VERSION, UPDATED): Remove.
1765 (version.texi): Include.
1767 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1769 * sysdeps/posix/spawni.c: Include <signal.h>.
1770 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1771 * sysdeps/pthread/aio_fsync.c: Likewise.
1773 2012-02-26 Ulrich Drepper <drepper@gmail.com>
1775 * conform/Makefile (tests): Run only when not cross-compiling and
1776 when fast-check is not defined.
1778 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1779 * conform/data/limits.h-data: Fixes for POSIX2008.
1780 * conform/run-conformtest.sh: Run all tests.
1781 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1783 * include/bits/dlfcn.h: Likewise.
1784 * include/langinfo.h: Likewise.
1785 * include/monetary.h: Likewise.
1786 * include/sys/poll.h: Likewise.
1788 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1790 * posix/spawn.h: Define __need_sigset_t.
1791 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1792 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1793 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1794 to get sigevent_t only.
1795 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1797 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1798 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1799 process_vm_writev only for __USE_GNU.
1800 * termios/termios.h: Declare tcgetsid also for POSIX2008.
1802 * conform/Makefile: For now ignore errors from run-conformtest.
1803 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1804 POSIX to avoid namespace pollution. Don't prepend headers.
1805 * conform/data/aio.h-data: Fixes for POSIX testing.
1806 * conform/data/fcntl.h-data: Likewise.
1807 * conform/data/glob.h-data: Likewise.
1808 * conform/data/grp.h-data: Likewise.
1809 * conform/data/pthread.h-data: Likewise.
1810 * conform/data/pwd.h-data: Likewise.
1811 * conform/data/signal.h-data: Likewise.
1812 * conform/data/spawn.h-data: Likewise.
1813 * conform/data/stdio.h-data: Likewise.
1814 * conform/data/stdlib.h-data: Likewise.
1815 * conform/data/stropts.h-data: Likewise.
1816 * conform/data/sys/mman.h-data: Likewise.
1817 * conform/data/sys/stat.h-data: Likewise.
1818 * conform/data/sys/types.h-data: Likewise.
1819 * conform/data/sys/wait.h-data: Likewise.
1820 * conform/data/time.h-data: Likewise.
1821 * conform/data/unistd.h-data: Likewise.
1822 * conform/data/utime.h-data: Likewise.
1824 * io/sys/stat.h: fchmod was always in POSIX.
1825 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1826 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1827 * rt/aio.h: Define __need_timespec before including <time.h>.
1828 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1829 struct. Add forward declaration of pthread_attr_t and use it in
1831 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1832 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1833 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1834 always remove CLK_TCK definition.
1836 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1838 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1840 2012-02-25 Ulrich Drepper <drepper@gmail.com>
1842 * conform/run-conformtest.sh: New file.
1843 * conform/Makefile: Run run-conformtest for tests.
1844 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1847 * conform/data/uchar.h-data: New file.
1848 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1849 * conform/data/arpa/inet.h-data: Likewise.
1850 * conform/data/assert.h-data: Likewise.
1851 * conform/data/complex.h-data: Likewise.
1852 * conform/data/cpio.h-data: Likewise.
1853 * conform/data/ctype.h-data: Likewise.
1854 * conform/data/dirent.h-data: Likewise.
1855 * conform/data/dlfcn.h-data: Likewise.
1856 * conform/data/errno.h-data: Likewise.
1857 * conform/data/fcntl.h-data: Likewise.
1858 * conform/data/float.h-data: Likewise.
1859 * conform/data/fmtmsg.h-data: Likewise.
1860 * conform/data/fnmatch.h-data: Likewise.
1861 * conform/data/ftw.h-data: Likewise.
1862 * conform/data/glob.h-data: Likewise.
1863 * conform/data/grp.h-data: Likewise.
1864 * conform/data/iconv.h-data: Likewise.
1865 * conform/data/inttypes.h-data: Likewise.
1866 * conform/data/langinfo.h-data: Likewise.
1867 * conform/data/libgen.h-data: Likewise.
1868 * conform/data/limits.h-data: Likewise.
1869 * conform/data/locale.h-data: Likewise.
1870 * conform/data/math.h-data: Likewise.
1871 * conform/data/monetary.h-data: Likewise.
1872 * conform/data/mqueue.h-data: Likewise.
1873 * conform/data/ndbm.h-data: Likewise.
1874 * conform/data/net/if.h-data: Likewise.
1875 * conform/data/netdb.h-data: Likewise.
1876 * conform/data/netinet/in.h-data: Likewise.
1877 * conform/data/nl_types.h-data: Likewise.
1878 * conform/data/poll.h-data: Likewise.
1879 * conform/data/pthread.h-data: Likewise.
1880 * conform/data/pwd.h-data: Likewise.
1881 * conform/data/regex.h-data: Likewise.
1882 * conform/data/sched.h-data: Likewise.
1883 * conform/data/search.h-data: Likewise.
1884 * conform/data/semaphore.h-data: Likewise.
1885 * conform/data/setjmp.h-data: Likewise.
1886 * conform/data/signal.h-data: Likewise.
1887 * conform/data/spawn.h-data: Likewise.
1888 * conform/data/stdarg.h-data: Likewise.
1889 * conform/data/stdio.h-data: Likewise.
1890 * conform/data/stdlib.h-data: Likewise.
1891 * conform/data/string.h-data: Likewise.
1892 * conform/data/strings.h-data: Likewise.
1893 * conform/data/stropts.h-data: Likewise.
1894 * conform/data/sys/ipc.h-data: Likewise.
1895 * conform/data/sys/mman.h-data: Likewise.
1896 * conform/data/sys/msg.h-data: Likewise.
1897 * conform/data/sys/resource.h-data: Likewise.
1898 * conform/data/sys/select.h-data: Likewise.
1899 * conform/data/sys/sem.h-data: Likewise.
1900 * conform/data/sys/shm.h-data: Likewise.
1901 * conform/data/sys/socket.h-data: Likewise.
1902 * conform/data/sys/stat.h-data: Likewise.
1903 * conform/data/sys/statvfs.h-data: Likewise.
1904 * conform/data/sys/time.h-data: Likewise.
1905 * conform/data/sys/timeb.h-data: Likewise.
1906 * conform/data/sys/times.h-data: Likewise.
1907 * conform/data/sys/types.h-data: Likewise.
1908 * conform/data/sys/uio.h-data: Likewise.
1909 * conform/data/sys/un.h-data: Likewise.
1910 * conform/data/sys/utsname.h-data: Likewise.
1911 * conform/data/sys/wait.h-data: Likewise.
1912 * conform/data/syslog.h-data: Likewise.
1913 * conform/data/tar.h-data: Likewise.
1914 * conform/data/termios.h-data: Likewise.
1915 * conform/data/utime.h-data: Likewise.
1916 * conform/data/utmpx.h-data: Likewise.
1917 * conform/data/varargs.h-data: Likewise.
1918 * conform/data/wchar.h-data: Likewise.
1919 * conform/data/wctype.h-data: Likewise.
1920 * conform/data/wordexp.h-data: Likewise.
1922 * include/stropts.h: New file.
1923 * include/uchar.h: New file.
1924 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1925 * include/assert.h: Likewise.
1926 * include/ctype.h: Likewise.
1927 * include/dirent.h: Likewise.
1928 * include/dlfcn.h: Likewise.
1929 * include/fcntl.h: Likewise.
1930 * include/fnmatch.h: Likewise.
1931 * include/glob.h: Likewise.
1932 * include/grp.h: Likewise.
1933 * include/libio.h: Likewise.
1934 * include/locale.h: Likewise.
1935 * include/math.h: Likewise.
1936 * include/net/if.h: Likewise.
1937 * include/netdb.h: Likewise.
1938 * include/netinet/in.h: Likewise.
1939 * include/pthread.h: Likewise.
1940 * include/pwd.h: Likewise.
1941 * include/regex.h: Likewise.
1942 * include/sched.h: Likewise.
1943 * include/search.h: Likewise.
1944 * include/setjmp.h: Likewise.
1945 * include/signal.h: Likewise.
1946 * include/stdio.h: Likewise.
1947 * include/stdlib.h: Likewise.
1948 * include/string.h: Likewise.
1949 * include/sys/cdefs.h: Likewise.
1950 * include/sys/mman.h: Likewise.
1951 * include/sys/msg.h: Likewise.
1952 * include/sys/resource.h: Likewise.
1953 * include/sys/select.h: Likewise.
1954 * include/sys/socket.h: Likewise.
1955 * include/sys/stat.h: Likewise.
1956 * include/sys/statvfs.h: Likewise.
1957 * include/sys/time.h: Likewise.
1958 * include/sys/times.h: Likewise.
1959 * include/sys/uio.h: Likewise.
1960 * include/sys/utsname.h: Likewise.
1961 * include/sys/wait.h: Likewise.
1962 * include/termios.h: Likewise.
1963 * include/time.h: Likewise.
1964 * include/ulimit.h: Likewise.
1965 * include/unistd.h: Likewise.
1966 * include/utime.h: Likewise.
1967 * include/wchar.h: Likewise.
1968 * include/wctype.h: Likewise.
1969 * include/wordexp.h: Likewise.
1971 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1973 * time/time.h: TIME_UTC must be a macro.
1974 Make timespec_get available for ISO C11 only as well.
1976 2012-02-24 Ulrich Drepper <drepper@gmail.com>
1978 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1979 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1981 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1983 * configure.in: Use -o not -a in test for unsupported multi-arch.
1985 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1987 * manual/texinfo.tex: Update to version 2012-01-19.16.
1989 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1991 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1993 2012-02-24 Roland McGrath <roland@hack.frob.com>
1996 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1997 * manual/fdl-1.3.texi: New file.
1998 * manual/fdl-1.1.texi: File removed.
2001 * manual/libc.texinfo (FDL_VERSION): New @set.
2002 Use it for mention of FDL in cover text.
2003 (Documentation License): Use it in @include file name.
2005 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2006 Roland McGrath <roland@hack.frob.com>
2009 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2010 not LONG_LONG_MAX and LONG_LONG_MIN.
2011 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2012 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2014 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2016 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2020 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2021 manipulate bits before adding and subtracting TWO23[sx].
2022 * math/libm-test.inc (nearbyint_test): Add more tests.
2024 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2027 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2028 bits before adding and subtracting TWO23[sx].
2029 * math/libm-test.inc (rint_test): Add more tests.
2030 (rint_test_tonearest): Likewise.
2031 (rint_test_towardzero): Likewise.
2032 (rint_test_downward): Likewise.
2033 (rint_test_upward: Likewise.
2035 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2038 * include/stdc-predef.h: New file. Extracted from features.h.
2039 * include/features.h: Include stdc-predef.h.
2040 * Makefile (headers): Add stdc-predef.h.
2041 * CONFORMANCE (Compiler limitations): Update.
2043 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2045 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2047 2012-02-21 David S. Miller <davem@davemloft.net>
2049 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2050 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2052 2012-02-20 David S. Miller <davem@davemloft.net>
2054 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2055 using a normal save/restore sequence, rather than allocating a
2056 dummy stack frame just to store a frame pointer and restore.
2057 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2059 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2061 * manual/install.texi: Fix stray word in line-wrapped comment.
2063 2012-02-20 David S. Miller <davem@davemloft.net>
2065 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2066 both binutils and gcc support GOTDATA.
2068 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2069 "rd %pc" in the PIC register setup sequences.
2071 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2072 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2073 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2074 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2075 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2077 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2078 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2080 (SYSCALL_ERROR_HANDLER): Likewise.
2081 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2082 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2083 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2084 (SYSCALL_ERROR_HANDLER): Likewise.
2086 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2087 (HAVE_GCC_GOTDATA): New.
2088 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2089 relocation support in both binutils and gcc.
2090 * sysdeps/sparc/elf/configure: Regenerate.
2092 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2093 * sysdeps/sparc/sparc32/elf/configure: Delete.
2094 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2095 * sysdeps/sparc/sparc64/elf/configure: Delete.
2096 * sysdeps/sparc/elf/configure.in: New file.
2097 * sysdeps/sparc/elf/configure: Generate.
2099 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2100 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2101 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2102 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2103 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2105 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2107 * manual/install.texi: Do not mention specific glibc version
2109 * manual/libc.texinfo (VERSION, UPDATED): Update.
2110 (@copying): Use @copyright{} and range of years.
2112 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2115 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2116 [crti.S not in sysdirs] (generated): Do not append.
2117 [crti.S not in sysdirs] (omit-deps): Likewise.
2118 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2119 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2120 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2121 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2122 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2124 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2125 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2126 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2127 * csu/defs.awk: Remove file.
2128 * sysdeps/generic/initfini.c: Likewise.
2129 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2131 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2134 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2136 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2137 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2138 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2139 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2140 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2141 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2143 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2144 (__EPOLL_PACKED): Define to empty if not defined by
2146 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2147 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2150 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2152 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2153 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2154 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2155 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2157 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2158 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2161 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2163 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2165 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2166 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2167 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2170 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2172 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2173 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2175 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2177 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2178 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2180 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2182 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2185 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2187 * math/w_acos.c: Use non-signaling floating-point comparisons.
2188 * math/w_acosf.c: Likewise.
2189 * math/w_acosh.c: Likewise.
2190 * math/w_acoshf.c: Likewise.
2191 * math/w_acoshl.c: Likewise.
2192 * math/w_acosl.c: Likewise.
2193 * math/w_asin.c: Likewise.
2194 * math/w_asinf.c: Likewise.
2195 * math/w_asinl.c: Likewise.
2196 * math/w_atanh.c: Likewise.
2197 * math/w_atanhf.c: Likewise.
2198 * math/w_atanhl.c: Likewise.
2199 * math/w_exp2.c: Likewise.
2200 * math/w_exp2f.c: Likewise.
2201 * math/w_exp2l.c: Likewise.
2202 * math/w_j0.c: Likewise.
2203 * math/w_j0f.c: Likewise.
2204 * math/w_j0l.c: Likewise.
2205 * math/w_j1.c: Likewise.
2206 * math/w_j1f.c: Likewise.
2207 * math/w_j1l.c: Likewise.
2208 * math/w_jn.c: Likewise.
2209 * math/w_jnf.c: Likewise.
2210 * math/w_log.c: Likewise.
2211 * math/w_log10.c: Likewise.
2212 * math/w_log10f.c: Likewise.
2213 * math/w_log10l.c: Likewise.
2214 * math/w_log2.c: Likewise.
2215 * math/w_log2f.c: Likewise.
2216 * math/w_log2l.c: Likewise.
2217 * math/w_logf.c: Likewise.
2218 * math/w_logl.c: Likewise.
2219 * math/w_sqrt.c: Likewise.
2220 * math/w_sqrtf.c: Likewise.
2221 * math/w_sqrtl.c: Likewise.
2222 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2223 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2224 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2225 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2226 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2228 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2231 * manual/string.texi (strnlen): Use correct parameter name in
2232 equivalent expression.
2234 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2237 * manual/users.texi (seteuid): Consistently use neweuid for
2240 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2243 * manual/nss.texi (Services in the NSS configuration): Correct
2244 list of services in example configuration file.
2246 2012-02-19 Nick Bowler <nbowler@draconx.ca>
2249 * manual/arith.texi: Remove statements about negative zero
2250 behaving identically to zero.
2252 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2255 * manual/install.texi: Do not document upgrading from libc5.
2257 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2260 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2262 2012-02-18 David S. Miller <davem@davemloft.net>
2264 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2265 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2266 %o7 across the call.
2267 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2269 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2272 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2273 * sysdeps/sparc/crtn.S: Likewise.
2275 2012-02-17 Ulrich Drepper <drepper@gmail.com>
2277 * aout/Makefile: Remove.
2279 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2282 * manual/examples/argp-ex1.c (main): Format definition in GNU
2284 * manual/examples/argp-ex2.c (main): Likewise.
2285 * manual/examples/argp-ex3.c (main): Likewise.
2286 * manual/examples/argp-ex4.c (main): Likewise.
2287 * manual/examples/longopt.c (main): Use new-style prototype
2289 * manual/examples/strncat.c (main): Specify return type and use
2290 (void) for arguments.
2291 * manual/examples/subopt.c (main): Use char **argv argument.
2293 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2296 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2299 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2302 * manual/string.texi (strchr): Change when strchrnul is
2305 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2308 * manual/locale.texi (setlocale): Document LOCPATH.
2310 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2313 * manual/process.texi (execle): Move @dots{} before last argument.
2315 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
2318 * manual/charset.texi (Generic Charset Conversion): Fix typo
2319 (LC_TYPE -> LC_CTYPE).
2321 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2324 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2325 (scalbnf): Likewise.
2326 (scalbnl): Likewise.
2327 (scalbln): Likewise.
2328 (scalblnf): Likewise.
2329 (scalblnl): Likewise.
2330 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2334 * manual/filesys.texi (telldir): Use braces around return type.
2335 * manual/llio.texi (mmap): Add space after comma.
2337 * manual/math.texi (jn): Use @var{} on parameter names.
2343 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2345 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2347 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2348 (sched_get_priority_max): Likewise.
2349 * manual/signal.texi (sigvec): Add space after comma.
2350 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2352 (if_indextoname): Likewise.
2353 (if_freenameindex): Likewise.
2354 (sendto): Use ',' instead of '.' in prototype.
2355 * manual/startup.texi (syscall): Use @dots{} instead of literal
2357 * manual/stdio.texi (__fpending): Separate initial words of
2358 paragraph from @deftypefun line.
2359 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2361 (vsyslog): Use @var{} on parameter names.
2362 * manual/terminal.texi (stty): Use @var{} on parameter names.
2363 * manual/users.texi (getutmp): Use @var{} on parameter names.
2364 (getutmpx): Likewise.
2366 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2369 * manual/stdio.texi (fopen): Fix typos in description of
2372 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2375 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2376 get clock_id definition.
2378 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
2381 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2382 (madvise): Cast every argument to void on its own.
2384 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2387 * manual/startup.texi (Exit Status): Fix typo.
2389 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2392 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2393 * manual/examples/argp-ex2.c: Likewise.
2394 * manual/examples/argp-ex3.c: Likewise.
2396 2012-02-16 Richard Henderson <rth@redhat.com>
2398 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2399 * sysdeps/s390/s390-32/initfini.c: Remove.
2400 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2401 * sysdeps/s390/s390-64/initfini.c: Remove.
2403 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2405 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2406 compiler output for sysdeps/generic/initfini.c.
2407 * sysdeps/sh/elf/initfini.c: Remove file.
2409 2012-02-16 David S. Miller <davem@davemloft.net>
2412 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2414 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2415 * sysdeps/sparc/crti.S: New file.
2416 * sysdeps/sparc/crtn.S: New file.
2417 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2418 * sysdeps/sparc/sparc64/Makefile: Likewise.
2420 2012-02-15 Mike Frysinger <vapier@gentoo.org>
2423 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2425 2012-02-15 Roland McGrath <roland@hack.frob.com>
2428 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2430 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2431 (write, read, close): Likewise.
2432 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2434 2012-02-15 Joseph Myers <joseph@codesourcery.com>
2436 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2437 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2438 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2439 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2441 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2445 2012-02-14 Marek Polacek <polacek@redhat.com>
2447 * sysdeps/x86_64/crti.S: New file.
2448 * sysdeps/x86_64/crtn.S: New file.
2449 * sysdeps/x86_64/elf/initfini.c: Remove file.
2451 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2453 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2454 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2455 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2456 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2458 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2462 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2464 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2465 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2466 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2467 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2469 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2473 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2475 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2476 __feraiseexcept instead of feraiseexcept.
2478 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2479 nanosleep invocations.
2480 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2481 strings, and add error checking for a nanosleep invocations.
2483 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2485 Replace FSF snail mail address with URLs, as per GNU coding standards.
2486 Most of the snail mail addresses were wrong anyway, and omitting
2487 them makes the source code easier to maintain. Almost all of the
2488 changes are to license notices and to locale LC_IDENTIFICATION
2489 addresses, except for this one:
2490 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2491 not its snail mail address.
2493 2012-02-09 Richard Henderson <rth@twiddle.net>
2495 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2496 of kernel-features.h.
2498 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2500 2012-02-08 Marek Polacek <polacek@redhat.com>
2502 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2503 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2504 * sysdeps/gnu/_G_config.h: Likewise.
2505 * sysdeps/generic/_G_config.h: Likewise.
2507 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2509 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2513 * sysdeps/powerpc/powerpc32/crti.S: New file.
2514 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2515 * sysdeps/powerpc/powerpc64/crti.S: New file.
2516 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2518 * Makeconfig (have-initfini): Don't set.
2519 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2520 * configure.in (nopic_initfini): Don't substitute.
2521 * config.h.in (HAVE_INITFINI): Don't #undef.
2522 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2523 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2525 2012-02-08 Joseph Myers <joseph@codesourcery.com>
2527 Support crti.S and crtn.S provided directly by architectures.
2528 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2529 [crti.S in sysdirs] (omit-deps): Likewise.
2530 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2531 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2532 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2533 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2534 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2535 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2536 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2537 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2538 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2539 compiler output for sysdeps/generic/initfini.c.
2540 * sysdeps/i386/elf/Makefile: Remove file.
2541 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2543 2012-02-07 Marek Polacek <polacek@redhat.com>
2545 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2546 * sysdeps/gnu/_G_config.h: Likewise.
2547 * sysdeps/mach/hurd/_G_config.h: Likewise.
2549 2012-02-07 Marek Polacek <polacek@redhat.com>
2551 * math/Makefile (tests): Add tst-CMPLX2.
2552 * math/tst-CMPLX2.c: New file.
2554 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2556 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2558 * math/libm-test.inc (jn_test): Add missing L suffix.
2560 2012-02-06 Marek Polacek <polacek@redhat.com>
2562 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2563 * sysdeps/i386/fpu/e_powf.S: Likewise.
2564 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2565 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2566 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2567 * sysdeps/i386/fpu/e_pow.S: Likewise.
2568 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2569 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2570 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2571 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2572 * sysdeps/i386/fpu/e_log2.S: Likewise.
2573 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2574 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2575 * sysdeps/i386/fpu/e_powl.S: Likewise.
2576 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2577 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2578 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2579 * sysdeps/i386/fpu/e_logl.S: Likewise.
2580 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2581 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2582 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2583 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2584 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2585 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2586 * sysdeps/i386/fpu/e_log.S: Likewise.
2587 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2588 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2589 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2590 * sysdeps/i386/fpu/e_logf.S: Likewise.
2591 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2592 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2593 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2594 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2595 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2596 * sysdeps/i386/fpu/e_log10.S: Likewise.
2597 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2598 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2599 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2600 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2601 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2602 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2603 * sysdeps/i386/asm-syntax.h: Likewise.
2604 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2605 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2606 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2607 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2608 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2609 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2610 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2611 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2612 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2613 * sysdeps/powerpc/sysdep.h: Likewise.
2614 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2615 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2617 2012-02-06 Joseph Myers <joseph@codesourcery.com>
2620 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2622 2012-02-06 Joseph Myers <joseph@codesourcery.com>
2624 * sysdeps/i386/sysdep.h: Include <features.h>.
2625 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2628 2012-02-05 Joseph Myers <joseph@codesourcery.com>
2630 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2632 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2635 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2637 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2638 (SETUP_PIC_REG): Use GET_PC_THUNK.
2639 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2642 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2644 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2645 for non-PIC compilation.
2646 (SETUP_PIC_REG): Add .p2align directive.
2647 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2648 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2649 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2650 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2651 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2652 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2653 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2654 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2655 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2656 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2657 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2658 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2659 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2660 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2661 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2662 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2663 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2664 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2665 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2666 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2667 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2668 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2669 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2670 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2671 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2672 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2673 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2674 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2675 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2676 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2677 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2678 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2679 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2680 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2681 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2682 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2683 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2684 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2685 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2686 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2687 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2689 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2691 * math/tst-CMPLX.c: Include <stdio.h>.
2693 2012-01-31 Joseph Myers <joseph@codesourcery.com>
2695 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2697 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2698 * sysdeps/sparc/bits/mathdef.h: Likewise.
2700 2012-01-31 Marek Polacek <polacek@redhat.com>
2702 * libio/libio.h: Don't define _PARAMS.
2703 * locale/programs/config.h: Don't define PARAMS.
2704 * stdlib/strtol_l.c: Likewise.
2705 (__strtol_l): Remove PARAMS from the prototype.
2707 2012-01-31 Ulrich Drepper <drepper@gmail.com>
2709 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2710 names. Just use the correct names. Remove unnecessary wrapper
2712 * malloc/arena.c: Likewise.
2713 * malloc/hooks.c: Likewise.
2715 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2716 ARENA_TEST says not to. Simplify test for creation of a new arena.
2717 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2719 2012-01-30 Ulrich Drepper <drepper@gmail.com>
2721 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2723 (update_get_addr): New function.
2724 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2725 GET_ADDR_MODULE parameter.
2727 2012-01-30 Joseph Myers <joseph@codesourcery.com>
2729 * crypt/cert.c: Remove __STDC__ conditionals.
2730 * crypt/crypt-entry.c: Likewise.
2731 * crypt/crypt_util.c: Likewise.
2732 * libio/filedoalloc.c: Likewise.
2733 * libio/fileops.c: Likewise.
2734 * libio/genops.c: Likewise.
2735 * libio/iofclose.c: Likewise.
2736 * libio/iofdopen.c: Likewise.
2737 * libio/iofopen.c: Likewise.
2738 * libio/iofopen64.c: Likewise.
2739 * libio/iogetdelim.c: Likewise.
2740 * libio/iopopen.c: Likewise.
2741 * libio/obprintf.c: Likewise.
2742 * libio/oldfileops.c: Likewise.
2743 * libio/oldiofclose.c: Likewise.
2744 * libio/oldiofdopen.c: Likewise.
2745 * libio/oldiofopen.c: Likewise.
2746 * libio/oldiopopen.c: Likewise.
2747 * libio/wfiledoalloc.c: Likewise.
2748 * libio/wgenops.c: Likewise.
2749 * locale/programs/xmalloc.c: Likewise.
2750 * misc/syslog.c: Likewise.
2751 * stdio-common/xbug.c: Likewise.
2752 * string/memchr.c: Likewise.
2753 * string/memcmp.c: Likewise.
2754 * string/memrchr.c: Likewise.
2755 * string/rawmemchr.c: Likewise.
2756 * sysdeps/posix/getcwd.c: Likewise.
2757 * time/strftime_l.c: Likewise.
2759 2012-01-30 Joseph Myers <joseph@codesourcery.com>
2761 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
2762 * config.make.in (config-cflags-sse2avx): Define.
2763 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2766 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2768 * scripts/config.guess: Update from upstream config git repository.
2769 * scripts/config.sub: Likewise.
2771 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2773 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2775 (R_TILEPRO_*, R_TILEGX_*): New macros.
2777 * scripts/firstversions.awk: Fix bug in version range handling.
2779 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2781 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2783 * include/sys/epoll.h: New file.
2784 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2787 2012-01-28 Ulrich Drepper <drepper@gmail.com>
2789 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2790 Avoid unnecessary __WORDSIZE == 64 test.
2791 (fmaxf): Use VEX format if possible.
2796 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2797 * math/math_private.h: Remove libc_fegetround* and
2799 * sysdeps/i386/configure.in: Check for -msse2avx.
2800 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2801 also if SSE2AVX is defined.
2802 Remove libc_fegetround* and libc_fesetround*.
2803 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2804 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2805 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2807 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2808 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2809 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2810 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2811 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2813 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2815 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2817 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2819 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2821 2012-01-27 Ulrich Drepper <drepper@gmail.com>
2824 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2826 * Makeconfig (libm): Define.
2827 * elf/Makefile: Add rules to build and run tst-relsort1.
2828 * elf/tst-relsort1.c: New file.
2829 * elf/tst-relsort1mod1.c: New file.
2830 * elf/tst-relsort1mod2.c: New file.
2832 2012-01-27 Joseph Myers <joseph@codesourcery.com>
2834 * math/s_ldexp.c: Remove __STDC__ conditionals.
2835 * math/s_ldexpf.c: Likewise.
2836 * math/s_ldexpl.c: Likewise.
2837 * math/s_nextafter.c: Likewise.
2838 * math/s_nexttowardf.c: Likewise.
2839 * math/s_significand.c: Likewise.
2840 * math/s_significandf.c: Likewise.
2841 * math/s_significandl.c: Likewise.
2842 * math/w_jnl.c: Likewise.
2843 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2844 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2845 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2846 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2847 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2848 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2849 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2850 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2851 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2852 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2853 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2854 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2855 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2856 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2857 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2858 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2859 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2860 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2862 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2863 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2864 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2865 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2866 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2867 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2868 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2869 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2870 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2871 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2872 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2873 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2874 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2875 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2876 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2877 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2878 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2879 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2880 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2881 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2882 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2883 * sysdeps/ieee754/k_standard.c: Likewise.
2884 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2885 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2886 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2887 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2888 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2889 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2890 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2891 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2892 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2893 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2894 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2895 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2896 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2897 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2898 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2899 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2900 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2901 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2902 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2903 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2904 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2905 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2906 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2907 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2908 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2909 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2910 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2911 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2912 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2913 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2914 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2915 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2916 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2917 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2923 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2924 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2925 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2926 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2927 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2928 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2929 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2930 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2931 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2932 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2933 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2934 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2935 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2936 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2937 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2938 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2939 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2940 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2941 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2942 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2943 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2944 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2945 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2946 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2947 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2948 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2949 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2950 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2951 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2952 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2953 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2954 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2955 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2956 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2957 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2958 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2959 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2960 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2961 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2962 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2963 * sysdeps/ieee754/s_matherr.c: Likewise.
2964 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2965 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2966 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2967 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2969 2012-01-26 Joseph Myers <joseph@codesourcery.com>
2971 * crypt/md5.h: Remove __STDC__ conditionals.
2972 * libio/libioP.h: Likewise.
2973 * locale/programs/config.h: Likewise.
2974 * sysdeps/generic/sysdep.h: Likewise.
2975 * sysdeps/i386/asm-syntax.h: Likewise.
2976 * sysdeps/s390/asm-syntax.h: Likewise.
2977 * sysdeps/unix/sysdep.h: Likewise.
2978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2981 2012-01-26 Joseph Myers <joseph@codesourcery.com>
2983 * libio/libio.h: Remove __STDC__ conditionals.
2984 * malloc/obstack.h: Likewise.
2985 * math/complex.h: Likewise.
2986 * math/math.h: Likewise.
2987 * sysdeps/generic/_G_config.h: Likewise.
2988 * sysdeps/gnu/_G_config.h: Likewise.
2989 * sysdeps/mach/hurd/_G_config.h: Likewise.
2990 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2991 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2992 * sysdeps/sparc/bits/mathdef.h: Likewise.
2994 2012-01-26 Ulrich Drepper <drepper@gmail.com>
2997 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
2998 Clean up HAS_* macros.
2999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3000 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3002 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3004 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3005 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3006 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3007 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3008 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3010 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3012 * elf/tst-unique3.cc (gets): Remove declaration.
3013 * elf/tst-unique3lib.cc (gets): Likewise.
3014 * elf/tst-unique3lib2.cc (gets): Likewise.
3015 * elf/tst-unique4.cc (gets): Likewise.
3017 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3019 * include/stdio.h: Add C++ protection. Add gets declarations and
3021 * debug/tst-chk1.c: Don't declare gets here.
3022 * stdio-common/tst-gets.c: Likewise.
3024 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3026 * posix/glob: Remove directory.
3028 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3030 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3032 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3034 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3035 of the non-standard EPFNOSUPPORT.
3037 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3039 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3040 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3041 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3043 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3045 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3047 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3049 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3051 * nscd/grpcache.c (cache_addgr): Likewise.
3052 * nscd/hstcache.c (cache_addhst): Likewise.
3053 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3054 * nscd/pwdcache.c (cache_addpw): Likewise.
3055 * nscd/servicescache.c (cache_addserv): Likewise.
3057 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3059 * malloc/malloc.c: Various cleanups.
3060 * malloc/hooks.c: Likewise.
3062 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3063 * stdlib/bug-fmtmsg1.c: New file.
3065 * stdlib/fmtmsg.c (init): Add missing unlock.
3066 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3068 2012-01-12 Marek Polacek <polacek@redhat.com>
3070 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3073 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3075 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3076 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3077 macro to ensure uniqueness of label name.
3078 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3079 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3081 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3083 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3085 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3086 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3087 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3090 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3092 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3094 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3095 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3096 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3098 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3100 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3101 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3102 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3103 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3105 * math/bits/math-finite.h: Add ldexp support.
3107 2012-01-10 Marek Polacek <polacek@redhat.com>
3109 * locale/programs/localedef.h (show_archive_content): Add noreturn
3112 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3114 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3116 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3118 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3120 * io/Makefile (headers): Add bits/poll2.h.
3122 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3125 typo #include statement.
3127 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3129 * include/sys/cdefs.h: Define __attribute_alloc_size.
3130 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3131 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3132 * elf/pldd.c: Likewise.
3133 * iconv/iconv_charmap.c: Likewise.
3134 * iconv/iconvconfig.c: Likewise.
3135 * iconv/strtab.c: Likewise.
3136 * locale/programs/locale.c: Likewise.
3137 * locale/programs/localedef.h: Likewise.
3138 * locale/programs/simple-hash.c: Likewise.
3139 * nscd/nscd.h: Likewise.
3140 * nss/makedb.c: Likewise.
3141 * sysdeps/generic/ldconfig.h: Likewise.
3142 * locale/programs/localedef.c: Remove xmalloc prototype.
3143 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3145 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3147 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3150 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3152 * math/Makefile (tests): Add tst-CMPLX.
3153 * math/tst-CMPLX.c: New file.
3155 * math/complex.h (CMPLXL): Fix typo.
3157 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3158 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3160 * debug/tst-chk1.c: Add poll and ppoll tests.
3161 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3162 * include/sys/poll.h: Add hidden proto for ppoll.
3163 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3164 * sysdeps/mach/hurd/ppoll.c: Likewise.
3165 * io/ppoll.c: Likewise.
3166 * debug/poll_chk.c: New file.
3167 * debug/ppoll_chk.c: New file.
3168 * include/bits/poll2.h: New file.
3169 * io/bits/poll2.h: New file.
3172 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3174 * configure.in: static is always set to yes. Remove.
3175 * config.make.in: Don't set build-static.
3176 * Makeconfig: Remove use of build-static.
3177 * dlfcn/Makefile: Likewise.
3178 * elf/Makefile: Likewise.
3179 * math/Makefile: Likewise.
3180 * misc/Makefile: Likewise.
3181 * nptl/Makefile: Likewise.
3182 * sysdeps/mach/hurd/Makefile: Likewise.
3184 * configure.in: PWD_P is not used anymore.
3185 * config.make.in: Remove PWD_P entry.
3187 * configure.in: Remove last remnants of RANLIB.
3188 No need to check for signed size_t anymore.
3189 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3191 Remove __builtin_expect test because we require at least gcc 3.4.
3192 * aclocal.m4: Likewise.
3194 * wcsmbs/mbrtoc16.c: Implement using towc function.
3195 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3196 * wcsmbs/wcsmbsload.c: Likewise.
3197 * iconv/gconv_simple.c: Likewise.
3198 * iconv/gconv_int.h: Likewise.
3199 * iconv/gconv_builtin.h: Likewise.
3200 * iconv/iconv_prog.c: Remove CHAR16 handling.
3202 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3204 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3206 * configure.in: Remove --with-elf and --enable-bounded options.
3207 Dont set base_machine for ia64. More non-ELF conditions removed.
3208 Remove testing and setting of leading underscore information.
3209 * config.make.in (build-bounded): Set to no.
3210 * config.h.in: Remove NO_UNDERSCORES entry.
3211 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3213 * csu/start.c: Remove !NO_UNDERSCORE code.
3214 * locale/localeinfo.h: Likewise.
3215 * sysdeps/generic/machine-gmon.h: Likewise.
3216 * sysdeps/generic/sysdep.h: Likewise.
3217 * sysdeps/i386/sysdep.h: Likewise.
3218 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3219 * sysdeps/mach/sysdep.h: Likewise.
3220 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3221 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3222 * sysdeps/sh/sysdep.h: Likewise.
3223 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3224 * sysdeps/unix/i386/sysdep.S: Likewise.
3225 * sysdeps/unix/sparc/start.c: Likewise.
3226 * sysdeps/unix/sparc/sysdep.S: Likewise.
3227 * sysdeps/unix/sparc/sysdep.h: Likewise.
3228 * sysdeps/unix/start.c: Likewise.
3229 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3230 * sysdeps/x86_64/sysdep.h: Likewise.
3232 2012-01-07 Ulrich Drepper <drepper@gmail.com>
3235 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3237 * argp/argp-fmtstream.h: Use const instead __const.
3238 * argp/argp.h: Likewise.
3239 * assert/assert.h: Likewise.
3240 * bits/fenv.h: Likewise.
3241 * bits/sched.h: Likewise.
3242 * bits/sigset.h: Likewise.
3243 * bits/sigthread.h: Likewise.
3244 * catgets/nl_types.h: Likewise.
3245 * conform/data/pthread.h-data: Likewise.
3246 * crypt/crypt-private.h: Likewise.
3247 * crypt/crypt.h: Likewise.
3248 * crypt/crypt_util.c: Likewise.
3249 * ctype/ctype.h: Likewise.
3250 * debug/execinfo.h: Likewise.
3251 * debug/mbsnrtowcs_chk.c: Likewise.
3252 * debug/mbsrtowcs_chk.c: Likewise.
3253 * debug/wcsnrtombs_chk.c: Likewise.
3254 * debug/wcsrtombs_chk.c: Likewise.
3255 * debug/wcstombs_chk.c: Likewise.
3256 * dirent/dirent.h: Likewise.
3257 * dlfcn/dlfcn.h: Likewise.
3258 * elf/neededtest4.c: Likewise.
3259 * grp/grp.h: Likewise.
3260 * gshadow/gshadow.h: Likewise.
3261 * iconv/gconv.h: Likewise.
3262 * iconv/gconv_int.h: Likewise.
3263 * iconv/gconv_simple.c: Likewise.
3264 * iconv/iconv.h: Likewise.
3265 * iconv/loop.c: Likewise.
3266 * iconv/skeleton.c: Likewise.
3267 * include/aio.h: Likewise.
3268 * include/aliases.h: Likewise.
3269 * include/argz.h: Likewise.
3270 * include/arpa/inet.h: Likewise.
3271 * include/assert.h: Likewise.
3272 * include/dirent.h: Likewise.
3273 * include/dlfcn.h: Likewise.
3274 * include/execinfo.h: Likewise.
3275 * include/fcntl.h: Likewise.
3276 * include/fenv.h: Likewise.
3277 * include/glob.h: Likewise.
3278 * include/grp.h: Likewise.
3279 * include/libintl.h: Likewise.
3280 * include/mntent.h: Likewise.
3281 * include/netdb.h: Likewise.
3282 * include/pwd.h: Likewise.
3283 * include/rpc/netdb.h: Likewise.
3284 * include/sched.h: Likewise.
3285 * include/search.h: Likewise.
3286 * include/shadow.h: Likewise.
3287 * include/signal.h: Likewise.
3288 * include/stdio.h: Likewise.
3289 * include/stdlib.h: Likewise.
3290 * include/string.h: Likewise.
3291 * include/sys/socket.h: Likewise.
3292 * include/sys/stat.h: Likewise.
3293 * include/sys/statfs.h: Likewise.
3294 * include/sys/statvfs.h: Likewise.
3295 * include/sys/syslog.h: Likewise.
3296 * include/sys/time.h: Likewise.
3297 * include/sys/uio.h: Likewise.
3298 * include/time.h: Likewise.
3299 * include/unistd.h: Likewise.
3300 * include/utmp.h: Likewise.
3301 * include/wchar.h: Likewise.
3302 * include/wctype.h: Likewise.
3303 * inet/aliases.h: Likewise.
3304 * inet/arpa/inet.h: Likewise.
3305 * inet/netinet/ether.h: Likewise.
3306 * inet/netinet/in.h: Likewise.
3307 * intl/libintl.h: Likewise.
3308 * io/bits/fcntl2.h: Likewise.
3309 * io/fcntl.h: Likewise.
3310 * io/ftw.h: Likewise.
3311 * io/sys/poll.h: Likewise.
3312 * io/sys/stat.h: Likewise.
3313 * io/sys/statfs.h: Likewise.
3314 * io/sys/statvfs.h: Likewise.
3315 * io/utime.h: Likewise.
3316 * libio/bits/stdio.h: Likewise.
3317 * libio/bits/stdio2.h: Likewise.
3318 * libio/libio.h: Likewise.
3319 * libio/libioP.h: Likewise.
3320 * libio/stdio.h: Likewise.
3321 * locale/lc-ctype.c: Likewise.
3322 * locale/locale.h: Likewise.
3323 * login/utmp.h: Likewise.
3324 * malloc/arena.c: Likewise.
3325 * malloc/malloc.c: Likewise.
3326 * malloc/malloc.h: Likewise.
3327 * malloc/mcheck.c: Likewise.
3328 * malloc/mtrace.c: Likewise.
3329 * math/bits/mathcalls.h: Likewise.
3330 * math/fenv.h: Likewise.
3331 * math/math_private.h: Likewise.
3332 * misc/bits/error.h: Likewise.
3333 * misc/bits/syslog.h: Likewise.
3334 * misc/err.h: Likewise.
3335 * misc/error.h: Likewise.
3336 * misc/fstab.h: Likewise.
3337 * misc/mntent.h: Likewise.
3338 * misc/regexp.h: Likewise.
3339 * misc/search.h: Likewise.
3340 * misc/sgtty.h: Likewise.
3341 * misc/sys/mman.h: Likewise.
3342 * misc/sys/syslog.h: Likewise.
3343 * misc/sys/uio.h: Likewise.
3344 * misc/sys/xattr.h: Likewise.
3345 * misc/ttyent.h: Likewise.
3346 * nis/rpcsvc/ypclnt.h: Likewise.
3347 * nss/nss.h: Likewise.
3348 * posix/bits/unistd.h: Likewise.
3349 * posix/fnmatch.h: Likewise.
3350 * posix/glob.h: Likewise.
3351 * posix/sched.h: Likewise.
3352 * posix/spawn.h: Likewise.
3353 * posix/sys/wait.h: Likewise.
3354 * posix/unistd.h: Likewise.
3355 * posix/wordexp.h: Likewise.
3356 * pwd/pwd.h: Likewise.
3357 * resolv/netdb.h: Likewise.
3358 * resource/sys/resource.h: Likewise.
3359 * rt/aio.h: Likewise.
3360 * rt/bits/mqueue2.h: Likewise.
3361 * rt/mqueue.h: Likewise.
3362 * shadow/shadow.h: Likewise.
3363 * signal/signal.h: Likewise.
3364 * socket/send.c: Likewise.
3365 * socket/sendto.c: Likewise.
3366 * socket/sys/socket.h: Likewise.
3367 * stdio-common/printf.h: Likewise.
3368 * stdlib/bits/stdlib.h: Likewise.
3369 * stdlib/fmtmsg.h: Likewise.
3370 * stdlib/monetary.h: Likewise.
3371 * stdlib/stdlib.h: Likewise.
3372 * stdlib/ucontext.h: Likewise.
3373 * streams/stropts.h: Likewise.
3374 * string/argz.h: Likewise.
3375 * string/bits/string2.h: Likewise.
3376 * string/string.h: Likewise.
3377 * string/strings.h: Likewise.
3378 * sunrpc/rpc/auth.h: Likewise.
3379 * sunrpc/rpc/auth_des.h: Likewise.
3380 * sunrpc/rpc/clnt.h: Likewise.
3381 * sunrpc/rpc/netdb.h: Likewise.
3382 * sunrpc/rpc/pmap_clnt.h: Likewise.
3383 * sunrpc/rpc/xdr.h: Likewise.
3384 * sysdeps/generic/inttypes.h: Likewise.
3385 * sysdeps/generic/net/if.h: Likewise.
3386 * sysdeps/generic/sys/swap.h: Likewise.
3387 * sysdeps/gnu/net/if.h: Likewise.
3388 * sysdeps/gnu/utmpx.h: Likewise.
3389 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3390 * sysdeps/i386/i486/bits/string.h: Likewise.
3391 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3392 * sysdeps/s390/bits/string.h: Likewise.
3393 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3394 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3395 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3396 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3397 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3398 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3399 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3400 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3401 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3402 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3403 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3404 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3405 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3406 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3407 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3408 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3409 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3410 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3411 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3412 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3413 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3414 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3415 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3416 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3417 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3418 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3419 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3420 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3421 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3422 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3423 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3424 * sysvipc/sys/ipc.h: Likewise.
3425 * sysvipc/sys/msg.h: Likewise.
3426 * sysvipc/sys/sem.h: Likewise.
3427 * sysvipc/sys/shm.h: Likewise.
3428 * termios/termios.h: Likewise.
3429 * time/sys/time.h: Likewise.
3430 * time/time.h: Likewise.
3431 * wcsmbs/bits/wchar2.h: Likewise.
3432 * wcsmbs/uchar.h: Likewise.
3433 * wcsmbs/wchar.h: Likewise.
3434 * wctype/wctype.h: Likewise.
3437 * Makeconfig: Remove all but ELF support including AIX support.
3438 * Makerules: Likewise.
3439 * config.h.in: Likewise.
3440 * config.make.in: Likewise.
3441 * configure: Likewise.
3442 * configure.in: Likewise.
3443 * csu/Makefile: Likewise.
3444 * csu/version.c: Likewise.
3445 * debug/Makefile: Likewise.
3446 * dlfcn/Makefile: Likewise.
3447 * elf/Makefile: Likewise.
3448 * extra-lib.mk: Likewise.
3449 * iconv/Makefile: Likewise.
3450 * include/libc-symbols.h: Likewise.
3451 * include/shlib-compat.h: Likewise.
3452 * resolv/Makefile: Likewise.
3453 * resolv/res_libc.c: Likewise.
3454 * rt/Makefile: Likewise.
3455 * sysdeps/i386/asm-syntax.h: Likewise.
3456 * sysdeps/i386/sysdep.h: Likewise.
3457 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3458 * sysdeps/mach/sysdep.h: Likewise.
3459 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3460 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3461 * sysdeps/s390/asm-syntax.h: Likewise.
3462 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3463 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3464 * sysdeps/sh/sysdep.h: Likewise.
3465 * sysdeps/unix/sparc/sysdep.h: Likewise.
3466 * sysdeps/wordsize-32/divdi3.c: Likewise.
3467 * sysdeps/x86_64/sysdep.h: Likewise.
3469 * argp/Versions: Remove _argp_unlock_xxx.
3472 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3473 * abilist/libBrokenLocale.abilist: Likewise.
3474 * abilist/libanl.abilist: Likewise.
3475 * abilist/libc.abilist: Likewise.
3476 * abilist/libcrypt.abilist: Likewise.
3477 * abilist/libdl.abilist: Likewise.
3478 * abilist/libm.abilist: Likewise.
3479 * abilist/libnsl.abilist: Likewise.
3480 * abilist/libpthread.abilist: Likewise.
3481 * abilist/libresolv.abilist: Likewise.
3482 * abilist/librt.abilist: Likewise.
3483 * abilist/libthread_db.abilist: Likewise.
3484 * abilist/libutil.abilist: Likewise.
3485 * abilist/libnss_db.abilist: New file.
3487 * scripts/abilist.awk: Add support for indirect functions.
3489 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3491 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3493 * shlib-versions: Remove entries for ports architectures.
3495 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3497 * elf/stackguard-macros.h: Remove support for IA-64.
3498 * elf/tst-auditmod1.c: Likewise.
3499 * sysdeps/generic/ldsodefs.h: Likewise.
3501 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3502 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3506 * configure.in: Remove --enable-omitfp support.
3508 * config.make.in: Likewise.
3509 * Makeconfig: Likewise.
3510 * manual/install.texi: Likewise.
3512 In case anyone cares, the IA-64 architecture could move to ports.
3513 * sysdeps/ia64/*: Removed.
3514 * sysdeps/unix/sysv/linux/ia64/*: Removed.
3515 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
3518 * configure.in: Remove entries for unsupported architectures.
3521 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3522 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3524 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3525 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3526 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3527 fall back to using wcrtomb.
3528 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3529 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3531 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3532 * wcsmbs/tst-c16c32-1.c: New file.
3534 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3537 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3539 * elf/tst-unique3.cc: Add explicit declaration of gets.
3540 * elf/tst-unique3lib.cc: Likewise.
3541 * elf/tst-unique3lib2.cc: Likewise.
3542 * elf/tst-unique4.cc: Likewise.
3544 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3546 2012-01-06 Joseph Myers <joseph@codesourcery.com>
3549 * assert/assert.h (static_assert): Don't define for C++.
3550 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3551 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3553 2012-01-03 Ulrich Drepper <drepper@gmail.com>
3555 * iconv/loop.c (single loop): Fix assertion in storing of
3558 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3560 2012-01-01 Ulrich Drepper <drepper@gmail.com>
3562 * posix/getconf.c: Update copyright year.
3563 * nss/getent.c: Likewise.
3564 * nss/makedb.c: Likewise.
3565 * iconv/iconvconfig.c: Likewise.
3566 * iconv/iconv_prog.c: Likewise.
3567 * elf/ldconfig.c: Likewise.
3568 * elf/pldd.c: Likewise.
3569 * elf/sotruss.ksh: Likewise.
3570 * catgets/gencat.c: Likewise.
3571 * csu/version.c: Likewise.
3572 * elf/ldd.bash.in: Likewise.
3573 * elf/sprof.c (print_version): Likewise.
3574 * locale/programs/locale.c: Likewise.
3575 * locale/programs/localedef.c: Likewise.
3576 * login/programs/pt_chown.c: Likewise.
3577 * nscd/nscd.c (print_version): Likewise.
3578 * debug/xtrace.sh: Likewise.
3579 * malloc/memusage.sh: Likewise.
3580 * malloc/mtrace.pl: Likewise.
3581 * debug/catchsegv.sh: Likewise.
3583 2011-12-30 Jakub Jelinek <jakub@redhat.com>
3585 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3588 2011-12-24 Ulrich Drepper <drepper@gmail.com>
3591 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3592 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3594 * iconv/gconv_int.h: Likewise.
3595 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3596 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3597 from libc for GLIBC_2.16.
3598 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3599 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3600 * wcsmbs/uchar.h: Really define mbstate_t.
3601 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3602 * wcsmbs/c16rtomb.c: New file.
3603 * wcsmbs/mbrtoc16.c: New file.
3604 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3606 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3607 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3609 * wcsmbs/wchar.h: Add missing __restrict.
3611 2011-12-23 Ulrich Drepper <drepper@gmail.com>
3614 * time/Makefile (routines): Add timespec_get.
3615 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3616 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3617 timespec for ISO C11.
3618 * time/timespec_get.c: New file.
3619 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3620 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3623 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3624 * stdlib/stdlib.h: Declare aligned_alloc.
3625 * Versions.def: Add GLIBC_2.16 for libc.
3626 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3629 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3632 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
3636 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3639 * assert/assert.h (static_assert): Define.
3641 * version.h: Update for 2.16 development version.
3644 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3647 * version.h (RELEASE): Bump for 2.15 release.
3648 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3650 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3651 Patch by Marek Polacek <mpolacek@redhat.com>.
3653 * bits/byteswap.h: Protect long long constants with __extension__.
3654 * sysdeps/i386/bits/byteswap.h: Likewise.
3655 * sysdeps/ia64/bits/byteswap.h: Likewise.
3656 * sysdeps/s390/bits/byteswap.h: Likewise.
3657 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3659 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3662 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3664 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3666 2011-12-23 Marek Polacek <polacek@redhat.com>
3668 * elf/dl-addr.c (determine_info): Add inline keyword.
3669 * elf/tst-auditmod4b.c (check_avx): Likewise.
3670 * elf/tst-auditmod6b.c (check_avx): Likewise.
3671 * elf/tst-auditmod6c.c (check_avx): Likewise.
3672 * elf/tst-auditmod7b.c (check_avx): Likewise.
3674 2011-12-23 Ulrich Drepper <drepper@gmail.com>
3676 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3679 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3682 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3683 processing for last bytes.
3685 2011-08-06 Bruno Haible <bruno@clisp.org>
3688 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3689 U+0385, not to U+1FEE.
3692 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3693 entry for U+00A5 U+0301.
3695 2011-12-22 Ulrich Drepper <drepper@gmail.com>
3698 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3699 buffer for the output is too small.
3701 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3705 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3706 SSE flags if possible.
3708 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3711 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3712 processing for last bytes.
3714 2011-12-22 Joseph Myers <joseph@codesourcery.com>
3716 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3717 (syscall-list-default-options, syscall-list-default-condition)
3718 (syscall-list-includes): Define.
3719 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3720 list of ABIs and options and #if conditions for each ABI. Do not
3721 handle common syscalls between ABIs specially.
3722 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3724 (syscall-list-variants, syscall-list-32bit-options)
3725 (syscall-list-32bit-condition, syscall-list-64bit-options)
3726 (syscall-list-64bit-condition): Define.
3727 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3728 (syscall-list-variants, syscall-list-32bit-options)
3729 (syscall-list-32bit-condition, syscall-list-64bit-options)
3730 (syscall-list-64bit-condition): Define.
3731 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3733 (syscall-list-variants, syscall-list-32bit-options)
3734 (syscall-list-32bit-condition, syscall-list-64bit-options)
3735 (syscall-list-64bit-condition): Define.
3736 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3738 (syscall-list-variants, syscall-list-32bit-options)
3739 (syscall-list-32bit-condition, syscall-list-64bit-options)
3740 (syscall-list-64bit-condition): Define.
3742 2011-12-22 Ulrich Drepper <drepper@gmail.com>
3744 * locale/iso-639.def: Add brx entry.
3747 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3748 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3750 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3751 __feraiseexcept_renamed.
3753 2011-12-21 Ulrich Drepper <drepper@gmail.com>
3756 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3757 EPOLLET with unsigned values.
3758 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3759 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3761 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3762 to large cancellation.
3763 * math/s_cacoshf.c: Likewise.
3764 * math/s_cacoshl.c: Likewise.
3766 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3770 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3771 * math/s_cacoshf.c: Likewise.
3772 * math/s_cacoshl.c: Likewise.
3774 2011-12-21 Ulrich Drepper <drepper@gmail.com>
3777 * iconv/gconv.h: Define __GCONV_SWAP.
3778 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3779 * iconvdata/utf-16.c: Likewise.
3780 * iconvdata/utf-32.c: Likewise.
3782 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3785 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3786 numerator after shifting it by one limb.
3788 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3790 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3791 under [__USE_EXTERN_INLINES].
3793 2011-12-17 Ulrich Drepper <drepper@gmail.com>
3796 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3798 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3800 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3801 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3803 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3804 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3805 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3806 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3807 for strncasecmp/strncasecmp_l compilation.
3808 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3809 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3811 2011-12-08 Marek Polacek <mpolacek@redhat.com>
3814 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3817 2011-12-17 Ulrich Drepper <drepper@gmail.com>
3820 * time/tzfile.c (__tzfile_read): Check values from file header.
3822 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3824 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3825 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3826 * powerpc/powerpc32/dl-start.S: Likewise.
3827 * powerpc/powerpc32/elf/start.S: Likewise.
3828 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3829 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3830 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3831 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3832 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3833 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3834 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3835 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3836 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3837 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3838 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3839 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3840 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3841 * powerpc/powerpc32/memset.S: Likewise.
3842 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3843 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3844 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3845 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3846 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3847 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3848 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3849 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3850 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3851 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3852 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3853 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3854 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3856 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3858 * math/libm-test.inc: Added more nearbyint tests.
3859 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3860 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3861 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3862 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3864 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3866 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3869 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3871 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3872 Add wcscpy-ssse3 wcscpy-c.
3873 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3874 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3875 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3876 * sysdeps/x86_64/wcschr.S: New file.
3877 * sysdeps/x86_64/wcsrchr.S: New file.
3878 * string/test-strcmp.c: Remove checking of wcscmp function for
3880 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3881 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3882 wcsrchr-sse2 wcsrchr-c.
3883 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3884 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3885 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3886 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3887 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3888 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3889 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3890 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3891 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3892 * wcsmbc/wcschr.c (WCSCHR): New macro.
3894 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3896 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3897 * wcsmbs/test-wcsrchr.c: New file.
3898 * string/test-strrchr.c: Add wcsrchr support.
3900 * wcsmbs/test-wcscpy.c: New file.
3901 * string/test-strcpy.c: Add wcscpy support.
3904 2011-12-10 Ulrich Drepper <drepper@gmail.com>
3906 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3909 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3912 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3914 2011-12-04 Ulrich Drepper <drepper@gmail.com>
3916 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
3917 Minor optimizations.
3919 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3920 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3921 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3923 2011-12-03 Ulrich Drepper <drepper@gmail.com>
3925 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3926 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3927 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3928 for gcc to avoid warnings.
3929 * inet/Makefile (tests): Add tst-checks.
3930 * inet/tst-checks.c: New file.
3932 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3935 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3938 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3939 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3941 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3943 2011-12-02 Ulrich Drepper <drepper@gmail.com>
3945 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3948 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3950 2011-11-29 Joseph Myers <joseph@codesourcery.com>
3952 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3953 conditional on GCC version.
3954 (__arch_compare_and_exchange_val_8_acq)
3955 (__arch_compare_and_exchange_val_16_acq)
3956 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3957 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3958 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3960 2011-12-02 Joseph Myers <joseph@codesourcery.com>
3962 * sysdeps/sh/backtrace.c: New file.
3964 2011-12-02 Andreas Schwab <schwab@redhat.com>
3966 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3969 2011-12-01 Andreas Schwab <schwab@redhat.com>
3971 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3972 falling back to utime.
3974 2011-11-30 Andreas Schwab <schwab@redhat.com>
3976 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3977 expectations for float.
3979 2011-11-29 Andreas Schwab <schwab@redhat.com>
3981 * locale/weight.h (findidx): Add parameter len.
3982 * locale/weightwc.h (findidx): Likewise.
3983 * posix/fnmatch_loop.c (FCT): Adjust caller.
3984 * posix/regcomp.c (build_equiv_class): Likewise.
3985 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3986 * posix/regexec.c (check_node_accept_bytes): Likewise.
3987 * string/strcoll_l.c (STRCOLL): Likewise.
3988 * string/strxfrm_l.c (STRXFRM): Likewise.
3990 2011-11-17 Ulrich Drepper <drepper@gmail.com>
3992 * Makefile.in: Remove CVSOPT handling.
3993 * configure.in: Remove use of AC_REVISION.
3994 * iconvdata/Makefile (distribute): No need to filter out CVS.
3995 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3998 2011-11-16 Andreas Schwab <schwab@redhat.com>
4000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4001 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4002 [USE_AS_STRNCASECMP_L]: Likewise.
4003 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4004 NO_TLS_DIRECT_SEG_REFS.
4005 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4006 Fix argument offsets for non-PIC.
4007 [USE_AS_STRNCASECMP_L]: Likewise.
4008 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4009 NO_TLS_DIRECT_SEG_REFS.
4011 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4013 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4015 * locale/loadlocale.c (_nl_load_locale): Likewise.
4017 2011-11-15 Andreas Schwab <schwab@redhat.com>
4019 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4020 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4021 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4022 (SYSCALL_GETTIME): Set errno on error.
4024 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4025 count references to noai6ai_cached.
4027 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4029 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4031 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4032 FD_CLOEXEC for /proc/self/maps.
4034 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4035 FD_CLOEXEC for /proc/meminfo.
4037 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4040 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4041 FD_CLOEXEC for given file.
4043 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4045 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4046 FD_CLOEXEC for /etc/hosts.
4047 (_gethtent): Likewise.
4049 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4051 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4052 cancellation and set FD_CLOEXEC for /etc/netgroup.
4054 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4055 reading /etc/publickey.
4057 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4058 allow cancellation when reading /etc/group.
4060 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4062 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4064 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4065 when using data file.
4067 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4069 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4070 (write_nis_obj): Use "c" and "e" in fopen.
4072 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4074 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4076 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4078 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4080 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4083 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4085 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4087 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4089 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4090 file parsing and set FD_CLOEXEC.
4092 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4094 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4096 2011-11-14 Andreas Schwab <schwab@redhat.com>
4098 * malloc/arena.c (arena_get2): Don't call reused_arena when
4099 _int_new_arena failed.
4101 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4103 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4104 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4105 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4106 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4107 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4108 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4109 to compile strcasecmp and strncasecmp.
4110 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4111 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4113 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4115 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4117 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4118 locale-defines.sym to gen-as-const-headers.
4119 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4120 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4121 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4122 to compile strcasecmp and strncasecmp.
4123 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4124 strcasecmp_l and strncasecmp_l.
4125 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4126 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4127 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4128 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4129 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4130 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4131 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4132 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4133 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4134 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4135 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4137 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4139 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4140 result of SYSDEP_GETTIME_CPU to retval.
4141 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4142 parameter list to macro. Remove trailing semicolon. Adjust users.
4144 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4147 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4149 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4151 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4152 from unused variable.
4154 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4156 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4159 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4162 * sunrpc/rpc_prot.c (rejected): Fix case value.
4164 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4165 unsigned long long int to avoid warnings in shift.
4167 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4169 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4172 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4173 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4174 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4176 * nis/nis_table.c (nis_list): Use variable of correct type for
4177 result of __follow_path call.
4179 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4181 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4182 of math functions ceil, trunc, floor, round, and sqrt, when
4183 avaliable on the platform.
4184 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4186 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4187 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4188 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4190 2011-10-30 Marek Polacek <mpolacek@redhat.com>
4192 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4193 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4195 2011-11-11 Roland McGrath <roland@hack.frob.com>
4197 * include/unistd.h: Fix __readlink return type.
4198 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4200 2011-11-11 Ulrich Drepper <drepper@gmail.com>
4202 * stdlib/ucontext.h: Undo last change for makecontext.
4204 2011-11-11 Andreas Schwab <schwab@redhat.com>
4206 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4208 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4209 * setjmp/setjmp.h: Mark functions as non-leaf.
4210 * setjmp/bits/setjmp2.h: Likewise.
4211 * stdlib/ucontext.h: Likewise.
4213 2011-11-10 Andreas Schwab <schwab@redhat.com>
4215 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4216 (reused_arena): Don't check arena limit.
4217 (arena_get2): Atomically check arena limit.
4219 2011-11-08 Ulrich Drepper <drepper@gmail.com>
4221 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4222 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4227 2011-11-07 Andreas Schwab <schwab@redhat.com>
4229 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4230 handler when locking.
4232 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4233 Fix size of allocated buffer.
4235 2011-11-04 Andreas Schwab <schwab@redhat.com>
4238 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4239 declarations for long double functions.
4240 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4242 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4244 2011-11-03 Andreas Schwab <schwab@redhat.com>
4246 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4249 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4252 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4254 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4256 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4258 * include/alloca.h (stackinfo_alloca_round): Define.
4259 (extend_alloca): Use it.
4260 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4261 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4264 * scripts/check-local-headers.sh: Ignore libaudit.h.
4266 * nscd/Makefile (extra-objs): Make recursively expanded.
4268 2011-11-01 Ulrich Drepper <drepper@gmail.com>
4270 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4271 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4273 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4274 * posix/tst-rfc3484-2.c: Likewise.
4275 * posix/tst-rfc3484-3.c: Likewise.
4277 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4279 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4281 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4282 process_vm_writev from libc using GLIBC_2.15 version.
4284 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4286 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4288 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4291 2011-10-31 Ulrich Drepper <drepper@gmail.com>
4294 * nss/getent.c (initgroups_keys): Show error message in case no group
4297 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4298 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4299 __bump_nl_timestamp.
4300 * nscd/connections (nscd_init): When host database is served open
4301 netlink socket and request notification about configuration changes.
4302 (main_loop_poll): Track netlink file descriptor and bump timestamp
4303 in case data becomes available.
4304 (main_loop_epoll): Likewise.
4305 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4306 (database_pers_head): Add extra_data fileds.
4307 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4308 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4309 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4311 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4312 in6ai data, call __free_in6ai.
4313 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4315 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4316 interface information. Reuse previous data if netlink timestamp
4318 (__bump_nl_timestamp): New function.
4319 (__free_in6ai): New function.
4321 2011-10-30 Ulrich Drepper <drepper@gmail.com>
4323 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4324 close_not_cancel_no_status here.
4325 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4327 2011-10-29 Ulrich Drepper <drepper@gmail.com>
4330 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4333 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
4334 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4335 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4337 2011-07-03 Andreas Jaeger <aj@suse.de>
4340 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4341 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4342 * math/libm-test.inc (sin_test): Add test case.
4344 2011-10-29 Ulrich Drepper <drepper@gmail.com>
4347 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4348 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4350 * elf/chroot_canon.c (chroot_canon): Cleanups.
4352 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4355 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4356 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4358 * string/test-strchr.c: Make usable for strchrnul testing.
4359 * string/test-strchrnul.c: New file.
4360 * string/Makefile (strop-tests): Add strchrnul.
4362 * po/it.po: Update from translation team.
4363 * po/es.po: Likewise.
4365 2011-10-28 Ulrich Drepper <drepper@gmail.com>
4367 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4368 the three constants needed as parameters. Drop the others.
4369 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4370 __m128i_strloadu_tolower.
4371 Create and initialize variable zero and use it in all the places
4372 where _mm_setzero_si128 was used.
4374 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4375 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4376 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4377 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4379 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4380 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4381 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4382 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4383 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4384 __mpranred, __mptan.
4385 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4386 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4387 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4388 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4389 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4390 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4391 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4392 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4393 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4395 2011-10-28 Andreas Schwab <schwab@redhat.com>
4397 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4399 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4402 wide char related routines to wcsmbs subdir.
4404 2011-10-27 Andreas Schwab <schwab@redhat.com>
4407 * misc/sys/cdefs.h (__THROWNL): Define.
4408 * posix/unistd.h: Use __THREADNL instead of __THREAD
4409 for memory synchronization functions.
4411 2011-10-26 Roland McGrath <roland@hack.frob.com>
4414 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4416 * manual/stdio.texi (Obstack Streams): Node removed.
4418 2011-10-26 Andreas Schwab <schwab@redhat.com>
4420 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4421 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4422 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4424 * math/math_private.h (math_force_eval): Allow non-addressable
4426 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4428 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4430 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4433 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4434 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4435 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4436 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4437 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4438 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4439 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4440 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4442 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4443 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4444 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4445 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4446 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4447 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4448 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4449 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4450 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4451 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4452 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4453 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4454 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4455 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4456 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4457 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4458 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4459 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4460 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4462 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4463 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4465 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4466 place. Use VEX encoding when compiling for AVX.
4468 2011-10-25 Andreas Schwab <schwab@redhat.com>
4470 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4471 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4473 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4475 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4477 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
4478 useless if() expression.
4479 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4484 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4487 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4488 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4489 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4490 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4491 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4492 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4493 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4494 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4495 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4496 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4497 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4499 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4501 2011-10-25 Andreas Schwab <schwab@redhat.com>
4503 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4505 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4507 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4509 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4510 .text section. Avoid duplicate constants.
4511 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4512 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4513 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4515 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4518 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4519 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4520 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4521 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4522 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4523 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4524 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4525 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4526 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4527 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4528 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4529 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4530 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4531 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4532 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4533 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4534 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4535 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4536 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4537 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4538 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4539 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4540 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4541 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4542 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4543 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4544 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4545 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4546 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4547 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4548 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4549 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4550 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4551 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4552 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4553 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4554 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4555 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4557 2011-10-24 Ulrich Drepper <drepper@gmail.com>
4559 * sysdeps/x86_64/dla.h: Move to ...
4560 * sysdeps/x86_64/fpu/dla.h: ...here.
4561 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4562 situations. Use __builtin_fma only for gcc 4.6 and up.
4564 * config.make.in: Add have-mfma4 entry.
4565 * configure.in: Substitute libc_cv_cc_fma4.
4566 * math/Makefile (dbl-only-routines): Add sincostab.
4567 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4568 Use __sincostab not sincos.
4569 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4571 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4572 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4573 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4574 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4576 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4577 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4578 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4579 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4581 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4582 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4584 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4585 define aliases when function name is a macro.
4586 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4587 sysdeps/ieee754/dbl-64/sincos.tbl.
4588 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4589 fma4-enabled routines.
4590 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4591 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4592 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4593 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4594 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4595 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4596 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4597 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4598 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4599 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4600 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4601 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4602 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4603 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4604 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4605 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4606 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4607 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4608 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4609 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4610 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4611 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4612 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4613 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4614 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4615 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4616 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4617 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4618 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4619 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4621 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4623 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4624 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4626 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4627 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4628 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4629 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4630 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4632 2011-10-24 Andreas Schwab <schwab@redhat.com>
4634 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4636 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4638 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4640 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4642 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4644 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4645 Remove unused variable magic_bits.
4646 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4648 * string/strnlen.c: Define and use STRNLEN macro.
4649 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4650 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4651 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4652 * wcsmbs/wcslen.c: Define and use WCSLEN.
4653 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4654 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4655 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4656 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4657 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4658 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4659 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4661 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4664 strnlen-sse2-no-bsf.
4665 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4666 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4667 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4668 Add strnlen support.
4669 (USE_AS_STRNLEN): New macro.
4670 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4671 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4672 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4673 * sysdeps/x86_64/wcslen.S: New file.
4675 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4678 XMM-moves are used for copying on small sizes.
4680 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4682 * wcsmbs/Makefile (strop-tests): Add wcschr.
4683 * wcsmbs/test-wcschr.c: New file.
4684 * string/test-strchr.c: Update.
4688 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4690 * wcsmbs/Makefile (strop-tests): Add wcslen.
4691 * wcsmbs/test-wcslen.c: New file.
4692 * string/test-strlen.c: Update.
4696 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4698 * po/it.po: Update from translation team.
4700 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4702 * sysdeps/x86_64/wcscmp.S: Update.
4703 Fix wrong comparison semantics.
4704 wcscmp shall use signed comparison not unsigned.
4705 Don't use substraction to avoid overflow bug.
4706 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4707 * wcsmbc/wcscmp.c: Likewise.
4708 * string/test-strcmp.c: Likewise.
4709 Add new tests to check cases with negative values.
4711 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4713 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4714 * sysdeps/x86_64/dla.h: ...here. New file.
4715 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4716 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4717 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4718 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4719 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4720 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4722 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4723 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4725 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4727 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4728 __ynl_finite aliases.
4730 2011-10-22 Ulrich Drepper <drepper@gmail.com>
4732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4734 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4736 [DLA_FMA] (EMULV): Use DLA_FMA.
4737 [DLA_FMA] (MUL12): Use EMULV.
4738 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4739 that are not needed.
4740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4741 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4744 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4745 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4748 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4750 * math/s_nan.c: Undef __nan.
4751 * math/s_nanf.c: Undef __nanf.
4752 * math/s_nanl.c: Undef __nanl.
4753 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4756 2011-10-22 Ulrich Drepper <drepper@gmail.com>
4758 * math/s_catan.c: Add branch predictions.
4759 * math/s_catanf.c: Likewise.
4760 * math/s_catanh.c: Likewise.
4761 * math/s_catanhf.c: Likewise.
4762 * math/s_catanhl.c: Likewise.
4763 * math/s_catanl.c: Likewise.
4764 * math/s_cexp.c: Likewise.
4765 * math/s_cexpf.c: Likewise.
4766 * math/s_cexpl.c: Likewise.
4767 * math/s_clog.c: Likewise.
4768 * math/s_clog10.c: Likewise.
4769 * math/s_clog10f.c: Likewise.
4770 * math/s_clog10l.c: Likewise.
4771 * math/s_clogf.c: Likewise.
4772 * math/s_clogl.c: Likewise.
4773 * math/s_csqrt.c: Likewise.
4774 * math/s_csqrtf.c: Likewise.
4775 * math/s_csqrtl.c: Likewise.
4776 * math/s_ctanf.c: Likewise.
4777 * math/s_ctanh.c: Likewise.
4778 * math/s_ctanhf.c: Likewise.
4779 * math/s_ctanhl.c: Likewise.
4780 * math/s_ctanl.c: Likewise.
4782 * math/math_private.h: Define __nan, __nanf, __nanl.
4783 * math/s_cacosh.c: Include <math_private.h>.
4784 * math/s_cacoshl.c: Likewise.
4785 * math/s_casinh.c: Likewise.
4786 * math/s_casinhf.c: Likewise.
4787 * math/s_casinhl.c: Likewise.
4788 * math/s_ccos.c: Rely entire on ccosh.
4789 * math/s_ccosf.c: Rely entire on ccoshf.
4790 * math/s_ccosl.c: Rely entirely on ccoshl.
4791 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4792 Remove tests for FE_INVALID.
4793 * math/s_ccoshf.c: Likewise.
4794 * math/s_ccoshl.c: Likewise.
4795 * math/s_csin.c: Likewise.
4796 * math/s_csinf.c: Likewise.
4797 * math/s_csinh.c Likewise.
4798 * math/s_csinhf.c: Likewise.
4799 * math/s_csinhl.c: Likewise.
4800 * math/s_csinl.c: Likewise.
4801 * math/s_ctan.c: Likewise.
4802 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4803 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4804 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4806 2011-10-21 Ulrich Drepper <drepper@gmail.com>
4808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4809 compilation problems.
4811 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4814 2011-10-20 Ulrich Drepper <drepper@gmail.com>
4816 * sysdeps/i386/configure.in: Test for -mfma4 option.
4817 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4818 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4819 COMMON_CPUID_INDEX_80000001.
4820 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4821 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4822 use it if FMA3 is not supported.
4823 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4825 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4826 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4828 2011-10-20 Andreas Schwab <schwab@redhat.com>
4831 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4832 it would create a cycle with a link time dependency.
4834 2011-10-19 Ulrich Drepper <drepper@gmail.com>
4836 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4838 * string/Makefile (strop-tests): Add rawmemchr.
4839 * string/test-rawmemchr.c: New file.
4841 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4842 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4843 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4844 when compiling str{,n}casecmp and when AVX is available. Hook up
4845 new optimized code in initializers.
4847 2011-10-19 Andreas Schwab <schwab@redhat.com>
4849 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4850 __feraiseexcept instead of feraiseexcept.
4852 2011-10-18 Ulrich Drepper <drepper@gmail.com>
4854 * math/math_private.h: Define defaults for libc_fetestexcept and
4856 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4857 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4858 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4859 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4860 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4861 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4862 libc_fetestexcept and libc_feupdateenv.
4864 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4865 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4866 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4867 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4868 libc_feholdexcept_setround.
4870 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4871 Add s_nearbyint-c and s_nearbyintf-c.
4872 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4874 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4875 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4876 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4877 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4879 * math/math_private.h: Define defaults for libc_fegetround,
4880 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4881 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4882 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4883 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4884 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4886 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4887 Remove comments and hacks for old compiler versions.
4888 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4889 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4892 2011-10-18 Andreas Schwab <schwab@redhat.com>
4894 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
4895 (__feraiseexcept_renamed): Add __NTH.
4896 (feraiseexcept): Add __NTH. Rename local variables to fix
4897 namespace violations.
4899 2011-10-17 Ulrich Drepper <drepper@gmail.com>
4901 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4903 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4905 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4906 recently added interfaces.
4907 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4909 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4910 about macro parameter expansion.
4912 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4913 __NO_MATH_INLINES is defined. Cleanups.
4915 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4916 and __floorf is target has SSE4.1.
4917 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4918 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4919 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4920 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4922 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4926 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4928 2011-10-17 Andreas Schwab <schwab@redhat.com>
4930 * misc/sys/cdefs.h: Fix last change.
4932 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4935 2011-10-16 Ulrich Drepper <drepper@gmail.com>
4937 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4939 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4940 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4941 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4942 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4943 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4944 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4945 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4946 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4947 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4948 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4949 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4950 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4951 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4952 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4953 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4954 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4955 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4956 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4957 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4958 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4959 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4960 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4962 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4963 ceil, ceilf, floor, floorf.
4965 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4966 Perform IRELATIVE relocations last.
4968 * elf/do-rel.h: Add another parameter nrelative, replacing the
4969 local variable with the same name. Change name of the function
4970 to end in Rel or Rela (uppercase).
4971 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4972 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4973 elf_dynamic_do_##reloc function.
4975 2011-10-15 Ulrich Drepper <drepper@gmail.com>
4977 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4978 is sufficient, at least on modern CPUs.
4980 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4982 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4983 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4985 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4987 * math/bits/math-finite.h: Add entries for exp.
4988 * math/e_expl.c: Add __*_finite alias.
4989 * sysdeps/i386/fpu/e_exp.S: Likewise.
4990 * sysdeps/i386/fpu/e_expf.S: Likewise.
4991 * sysdeps/i386/fpu/e_expl.c: Likewise.
4992 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4993 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4994 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4995 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4996 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4997 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4998 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5000 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5001 is sufficient, at least on modern CPUs.
5003 * ctype/ctype-info.c (__ctype_init): Define.
5004 * include/ctype.h (__ctype_init): Declare.
5005 (__ctype_b_loc): The variable is always initialized.
5006 (__ctype_toupper_loc): Likewise.
5007 (__ctype_tolower_loc): Likewise.
5008 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5009 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5011 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5013 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5015 * configure.in: Also look in $cxxmachine/include for C++ system
5018 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5020 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5021 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5022 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5023 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5024 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5025 (USE_AS_WMEMCMP): New macro.
5027 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5028 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5029 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5030 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5031 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5032 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5033 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5034 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5035 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5036 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5037 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5038 (USE_AS_WMEMCMP): New macro.
5039 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5040 * sysdeps/string/test-memcmp.c: Update.
5043 * wcsmbs/wmemcmp.c: Update.
5044 (WMEMCMP): New macro.
5047 2011-10-12 Andreas Jaeger <aj@suse.de>
5050 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5052 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5054 * libio/iofwide.c (do_length): Avoid warning.
5056 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5058 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5060 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5062 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5063 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5064 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5065 * sysdeps/i386/i686/fpu/e_log.S: New file.
5066 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5067 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5069 * ctype/ctype.h: Add support for inlined isXXX functions when
5072 2011-10-14 Andreas Schwab <schwab@redhat.com>
5074 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5076 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5078 2011-10-13 Roland McGrath <roland@hack.frob.com>
5081 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5083 2011-10-13 Andreas Schwab <schwab@redhat.com>
5085 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5086 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5089 * sysdeps/x86_64/memrchr.S: Check for zero size.
5091 * string/stratcliff.c: Add memrchr tests.
5093 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5096 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5097 rawmemchr-sse2 rawmemchr-sse2-bsf.
5098 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5099 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5100 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5101 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5102 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5103 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5104 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5105 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5106 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5107 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5108 * string/memrchr.c (MEMRCHR): New macro.
5110 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5112 Add integration with gcc's -ffinite-math-only and optimize wrapper
5114 * Versions.def: Define GLIBC_2.15 version for libm.
5115 * math/Makefile (headers): Add bits/math-finite.h.
5116 * math/bits/math-finite.h: New file.
5117 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5118 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5119 * math/e_acoshl.c: Add __*_finite alias.
5120 * math/e_acosl.c: Likewise.
5121 * math/e_asinl.c: Likewise.
5122 * math/e_atan2l.c: Likewise.
5123 * math/e_atanhl.c: Likewise.
5124 * math/e_coshl.c: Likewise.
5125 * math/e_exp10.c: Likewise.
5126 * math/e_exp10f.c: Likewise.
5127 * math/e_exp10l.c: Likewise.
5128 * math/e_exp2l.c: Likewise.
5129 * math/e_fmodl.c: Likewise.
5130 * math/e_gammal_r.c: Likewise.
5131 * math/e_hypotl.c: Likewise.
5132 * math/e_j0l.c: Likewise.
5133 * math/e_j1l.c: Likewise.
5134 * math/e_jnl.c: Likewise.
5135 * math/e_lgammal_r.c: Likewise.
5136 * math/e_log10l.c: Likewise.
5137 * math/e_log2l.c: Likewise.
5138 * math/e_logl.c: Likewise.
5139 * math/e_powl.c: Likewise.
5140 * math/e_sinhl.c: Likewise.
5141 * math/e_sqrtl.c: Likewise.
5142 * math/e_scalb.c: Completely rewritten and optimized.
5143 * math/e_scalbf.c: Likewise.
5144 * math/e_scalbl.c: Likewise.
5145 * math/w_acos.c: Likewise.
5146 * math/w_acosf.c: Likewise.
5147 * math/w_acosl.c: Likewise.
5148 * math/w_acosh.c: Likewise.
5149 * math/w_acoshf.c: Likewise.
5150 * math/w_acoshl.c: Likewise.
5151 * math/w_asin.c: Likewise.
5152 * math/w_asinf.c: Likewise.
5153 * math/w_asinl.c: Likewise.
5154 * math/w_atan2.c: Likewise.
5155 * math/w_atan2f.c: Likewise.
5156 * math/w_atan2l.c: Likewise.
5157 * math/w_atanh.c: Likewise.
5158 * math/w_atanhf.c: Likewise.
5159 * math/w_atanhl.c: Likewise.
5160 * math/w_exp10.c: Likewise.
5161 * math/w_exp10f.c: Likewise.
5162 * math/w_exp10l.c: Likewise.
5163 * math/w_fmod.c: Likewise.
5164 * math/w_fmodf.c: Likewise.
5165 * math/w_fmodl.c: Likewise.
5166 * math/w_j0.c: Likewise.
5167 * math/w_j0f.c: Likewise.
5168 * math/w_j0l.c: Likewise.
5169 * math/w_j1.c: Likewise.
5170 * math/w_j1f.c: Likewise.
5171 * math/w_j1l.c: Likewise.
5172 * math/w_jn.c: Likewise.
5173 * math/w_jnf.c: Likewise.
5174 * math/w_log.c: Likewise.
5175 * math/w_logf.c: Likewise.
5176 * math/w_logl.c: Likewise.
5177 * math/w_log10.c: Likewise.
5178 * math/w_log10f.c: Likewise.
5179 * math/w_log10l.c: Likewise.
5180 * math/w_log2.c: Likewise.
5181 * math/w_log2f.c: Likewise.
5182 * math/w_log2l.c: Likewise.
5183 * math/w_pow.c: Likewise.
5184 * math/w_powf.c: Likewise.
5185 * math/w_powl.c: Likewise.
5186 * math/w_remainder.c: Likewise.
5187 * math/w_remainderf.c: Likewise.
5188 * math/w_remainderl.c: Likewise.
5189 * math/w_scalb.c: Likewise.
5190 * math/w_scalbf.c: Likewise.
5191 * math/w_scalbl.c: Likewise.
5192 * math/w_sqrt.c: Likewise.
5193 * math/w_sqrtf.c: Likewise.
5194 * math/w_sqrtl.c: Likewise.
5195 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5196 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5198 * math/math_private.h: Declare __kernel_standard_f.
5199 * math/w_cosh.c: Remove cruft and optimize a bit.
5200 * math/w_coshf.c: Likewise.
5201 * math/w_coshl.c: Likewise.
5202 * math/w_exp2.c: Likewise.
5203 * math/w_exp2f.c: Likewise.
5204 * math/w_exp2l.c: Likewise.
5205 * math/w_hypot.c: Likewise.
5206 * math/w_hypotf.c: Likewise.
5207 * math/w_hypotl.c: Likewise.
5208 * math/w_lgamma.c: Likewise.
5209 * math/w_lgamma_r.c: Likewise.
5210 * math/w_lgammaf.c: Likewise.
5211 * math/w_lgammaf_r.c: Likewise.
5212 * math/w_lgammal.c: Likewise.
5213 * math/w_lgammal_r.c: Likewise.
5214 * math/w_sinh.c: Likewise.
5215 * math/w_sinhf.c: Likewise.
5216 * math/w_sinhl.c: Likewise.
5217 * math/w_tgamma.c: Likewise.
5218 * math/w_tgammaf.c: Likewise.
5219 * math/w_tgammal.c: Likewise.
5220 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5221 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5222 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5223 Minor optimizations. Pretty printing. Remove cruft.
5224 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5225 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5226 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5227 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5228 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5229 * sysdeps/i386/fpu/e_asin.S: Likewise.
5230 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5231 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5232 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5233 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5234 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5235 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5236 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5237 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5238 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5239 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5240 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5241 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5242 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5243 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5244 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5245 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5246 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5247 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5248 * sysdeps/i386/fpu/e_log.S: Likewise.
5249 * sysdeps/i386/fpu/e_log10.S: Likewise.
5250 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5251 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5252 * sysdeps/i386/fpu/e_log2.S: Likewise.
5253 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5254 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5255 * sysdeps/i386/fpu/e_logf.S: Likewise.
5256 * sysdeps/i386/fpu/e_logl.S: Likewise.
5257 * sysdeps/i386/fpu/e_pow.S: Likewise.
5258 * sysdeps/i386/fpu/e_powf.S: Likewise.
5259 * sysdeps/i386/fpu/e_powl.S: Likewise.
5260 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5261 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5262 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5263 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5264 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5265 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5266 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5267 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5268 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5269 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5270 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5272 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5273 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5274 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5275 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5276 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5277 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5278 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5279 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5280 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5281 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5282 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5283 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5285 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5286 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5287 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5288 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5289 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5290 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5291 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5292 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5293 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5294 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5295 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5296 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5297 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5298 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5299 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5300 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5301 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5302 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5303 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5304 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5305 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5306 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5307 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5308 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5309 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5310 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5311 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5312 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5313 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5314 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5315 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5316 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5317 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5318 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5319 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5320 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5321 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5322 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5323 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5324 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5325 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5326 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5327 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5328 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5329 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5330 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5331 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5332 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5333 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5334 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5335 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5336 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5338 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5339 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5340 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5341 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5342 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5343 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5344 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5345 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5346 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5347 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5348 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5349 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5350 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5351 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5352 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5353 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5354 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5355 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5356 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5357 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5358 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5359 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5360 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5361 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5362 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5363 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5364 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5365 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5366 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5367 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5368 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5369 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5370 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5371 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5372 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5373 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5374 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5375 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5376 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5377 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5378 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5379 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5380 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5381 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5382 (__isnanf): Likewise.
5383 (__isinf_ns): Likewise.
5384 (__isinf_nsf): Likewise.
5385 (__finite): Likewise.
5386 (__finitef): Likewise.
5387 (__ieee754_sqrt): Define as macro.
5388 (__ieee754_sqrtf): Define as macro.
5389 (__ieee754_sqrtl): Define as macro.
5390 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5392 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5393 __FINITE_MATH_ONLY__ consistent.
5394 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5396 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5398 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5401 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5403 2011-10-09 Ulrich Drepper <drepper@gmail.com>
5405 * po/ja.po: Update from translation team.
5407 2011-10-08 Roland McGrath <roland@hack.frob.com>
5409 * locale/programs/locarchive.c (prepare_address_space): New function.
5410 (create_archive, enlarge_archive, open_archive): Use it.
5412 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5413 inside [SHARED], where it is used.
5415 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5417 * nss/getent.c (netgroup_keys): Remove unused variable.
5418 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5420 2011-10-08 Ulrich Drepper <drepper@gmail.com>
5422 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5423 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5424 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5425 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5426 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5427 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5428 * math/Makefile (libm-calls): Add s_isinf_ns.
5429 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5430 * math/multc3.c: Likewise.
5431 * math/s_casin.c: Likewise.
5432 * math/s_casinf.c: Likewise.
5433 * math/s_casinl.c: Likewise.
5434 * math/s_ccos.c: Likewise.
5435 * math/s_ccosf.c: Likewise.
5436 * math/s_ccosl.c: Likewise.
5437 * math/s_ctan.c: Likewise.
5438 * math/s_ctanf.c: Likewise.
5439 * math/s_ctanh.c: Likewise.
5440 * math/s_ctanhf.c: Likewise.
5441 * math/s_ctanhl.c: Likewise.
5442 * math/s_ctanl.c: Likewise.
5443 * math/w_fmod.c: Likewise.
5444 * math/w_fmodf.c: Likewise.
5445 * math/w_fmodl.c: Likewise.
5446 * math/w_remainder.c: Likewise.
5447 * math/w_remainderf.c: Likewise.
5448 * math/w_remainderl.c: Likewise.
5449 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5450 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5451 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5452 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5453 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5454 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5455 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5456 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5458 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5460 * stdio-common/printf_fphex.c: Likewise.
5461 * stdio-common/printf_size.c: Likewise.
5463 * math/e_exp10.c: Include math_private.h using <...> not "...".
5464 * math/e_exp10f.c: Likewise.
5465 * math/e_exp10l.c: Likewise.
5466 * math/e_exp2l.c: Likewise.
5467 * math/e_j0l.c: Likewise.
5468 * math/e_j1l.c: Likewise.
5469 * math/e_jnl.c: Likewise.
5470 * math/e_lgammal_r.c: Likewise.
5471 * math/e_rem_pio2l.c: Likewise.
5472 * math/e_scalb.c: Likewise.
5473 * math/e_scalbf.c: Likewise.
5474 * math/e_scalbl.c: Likewise.
5475 * math/k_cosl.c: Likewise.
5476 * math/k_sinl.c: Likewise.
5477 * math/k_tanl.c: Likewise.
5478 * math/s_cacoshf.c: Likewise.
5479 * math/s_catan.c: Likewise.
5480 * math/s_catanf.c: Likewise.
5481 * math/s_catanh.c: Likewise.
5482 * math/s_catanhf.c: Likewise.
5483 * math/s_catanhl.c: Likewise.
5484 * math/s_catanl.c: Likewise.
5485 * math/s_ccosh.c: Likewise.
5486 * math/s_ccoshf.c: Likewise.
5487 * math/s_ccoshl.c: Likewise.
5488 * math/s_cexp.c: Likewise.
5489 * math/s_cexpf.c: Likewise.
5490 * math/s_cexpl.c: Likewise.
5491 * math/s_clog.c: Likewise.
5492 * math/s_clog10.c: Likewise.
5493 * math/s_clog10f.c: Likewise.
5494 * math/s_clog10l.c: Likewise.
5495 * math/s_clogf.c: Likewise.
5496 * math/s_clogl.c: Likewise.
5497 * math/s_csin.c: Likewise.
5498 * math/s_csinf.c: Likewise.
5499 * math/s_csinh.c: Likewise.
5500 * math/s_csinhf.c: Likewise.
5501 * math/s_csinhl.c: Likewise.
5502 * math/s_csinl.c: Likewise.
5503 * math/s_csqrt.c: Likewise.
5504 * math/s_csqrtf.c: Likewise.
5505 * math/s_csqrtl.c: Likewise.
5506 * math/s_ctan.c: Likewise.
5507 * math/s_ctanf.c: Likewise.
5508 * math/s_ctanh.c: Likewise.
5509 * math/s_ctanhf.c: Likewise.
5510 * math/s_ctanhl.c: Likewise.
5511 * math/s_ctanl.c: Likewise.
5512 * math/s_ldexp.c: Likewise.
5513 * math/s_ldexpf.c: Likewise.
5514 * math/s_ldexpl.c: Likewise.
5515 * math/s_significand.c: Likewise.
5516 * math/s_significandf.c: Likewise.
5517 * math/s_significandl.c: Likewise.
5518 * math/w_acos.c: Likewise.
5519 * math/w_acosf.c: Likewise.
5520 * math/w_acosh.c: Likewise.
5521 * math/w_acoshf.c: Likewise.
5522 * math/w_acoshl.c: Likewise.
5523 * math/w_acosl.c: Likewise.
5524 * math/w_asin.c: Likewise.
5525 * math/w_asinf.c: Likewise.
5526 * math/w_asinl.c: Likewise.
5527 * math/w_atan2.c: Likewise.
5528 * math/w_atan2f.c: Likewise.
5529 * math/w_atan2l.c: Likewise.
5530 * math/w_atanh.c: Likewise.
5531 * math/w_atanhf.c: Likewise.
5532 * math/w_atanhl.c: Likewise.
5533 * math/w_cosh.c: Likewise.
5534 * math/w_coshf.c: Likewise.
5535 * math/w_coshl.c: Likewise.
5536 * math/w_dremf.c: Likewise.
5537 * math/w_exp10.c: Likewise.
5538 * math/w_exp10f.c: Likewise.
5539 * math/w_exp10l.c: Likewise.
5540 * math/w_exp2.c: Likewise.
5541 * math/w_exp2f.c: Likewise.
5542 * math/w_fmod.c: Likewise.
5543 * math/w_fmodf.c: Likewise.
5544 * math/w_fmodl.c: Likewise.
5545 * math/w_hypot.c: Likewise.
5546 * math/w_hypotf.c: Likewise.
5547 * math/w_hypotl.c: Likewise.
5548 * math/w_j0.c: Likewise.
5549 * math/w_j0f.c: Likewise.
5550 * math/w_j0l.c: Likewise.
5551 * math/w_j1.c: Likewise.
5552 * math/w_j1f.c: Likewise.
5553 * math/w_j1l.c: Likewise.
5554 * math/w_jn.c: Likewise.
5555 * math/w_jnf.c: Likewise.
5556 * math/w_jnl.c: Likewise.
5557 * math/w_lgamma.c: Likewise.
5558 * math/w_lgamma_r.c: Likewise.
5559 * math/w_lgammaf.c: Likewise.
5560 * math/w_lgammaf_r.c: Likewise.
5561 * math/w_lgammal.c: Likewise.
5562 * math/w_lgammal_r.c: Likewise.
5563 * math/w_log.c: Likewise.
5564 * math/w_log10.c: Likewise.
5565 * math/w_log10f.c: Likewise.
5566 * math/w_log10l.c: Likewise.
5567 * math/w_log2.c: Likewise.
5568 * math/w_log2f.c: Likewise.
5569 * math/w_log2l.c: Likewise.
5570 * math/w_logf.c: Likewise.
5571 * math/w_logl.c: Likewise.
5572 * math/w_pow.c: Likewise.
5573 * math/w_powf.c: Likewise.
5574 * math/w_powl.c: Likewise.
5575 * math/w_remainder.c: Likewise.
5576 * math/w_remainderf.c: Likewise.
5577 * math/w_remainderl.c: Likewise.
5578 * math/w_scalb.c: Likewise.
5579 * math/w_scalbf.c: Likewise.
5580 * math/w_scalbl.c: Likewise.
5581 * math/w_sinh.c: Likewise.
5582 * math/w_sinhf.c: Likewise.
5583 * math/w_sinhl.c: Likewise.
5584 * math/w_sqrt.c: Likewise.
5585 * math/w_sqrtf.c: Likewise.
5586 * math/w_sqrtl.c: Likewise.
5587 * math/w_tgamma.c: Likewise.
5588 * math/w_tgammaf.c: Likewise.
5589 * math/w_tgammal.c: Likewise.
5591 * po/ja.po: Update from translation team.
5593 2011-09-29 Andreas Jaeger <aj@suse.de>
5596 * sunrpc/netname.c (netname2host): Fix logic.
5600 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5602 * math/w_remainder.c (__remainder): Likewise.
5603 * math/w_remainderf.c (__remainderf): Likewise.
5604 * math/libm-test.inc (remainder_test): Add test cases.
5606 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5608 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5611 2011-10-07 Ulrich Drepper <drepper@gmail.com>
5613 * string/test-memcmp.c: Avoid unncessary #defines.
5614 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5616 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5618 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5619 Use new sse2 version for core i3 - i7 as it's faster
5621 (bit_Prefer_PMINUB_for_stringop): New.
5622 * sysdeps/x86_64/rawmemchr.S: Update.
5623 Replace with faster SSE2 version.
5624 * sysdeps/x86_64/memrchr.S: New file.
5625 * sysdeps/x86_64/memchr.S: Update.
5626 Replace with faster SSE2 version.
5628 2011-09-12 Marek Polacek <mpolacek@redhat.com>
5630 * elf/dl-load.c (lose): Add cast to avoid warning.
5632 2011-10-07 Ulrich Drepper <drepper@gmail.com>
5634 * po/ca.po: Update from translation team.
5636 * inet/getnetgrent_r.c: Hook up nscd.
5637 * nscd/Makefile (routines): Add nscd_netgroup.
5638 (nscd-modules): Add netgroupcache.
5639 (CFLAGS-netgroupcache.c): Define.
5640 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5641 (cache_search): Add const to second parameter.
5642 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5644 (dbs): Add netgrdb entry.
5645 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5646 (verify_persistent_db): Handle netgrdb.
5647 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5648 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5650 (netgroup_response_header): Define.
5651 (innetgroup_response_header): Define.
5652 (datahead): Add netgroup_response_header and innetgroup_response_header
5654 * nscd/nscd.conf: Add entries for netgroup cache.
5655 * nscd/nscd.h (dbtype): Add netgrdb.
5656 (_PATH_NSCD_NETGROUP_DB): Define.
5657 (netgroup_iov_disabled): Declare.
5658 (xmalloc, xcalloc, xrealloc): Move declarations here.
5659 (cache_search): Adjust prototype.
5660 Add netgroup-related prototypes.
5661 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5662 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5663 (__nscd_innetgr): Declare.
5664 * nscd/selinux.c (perms): Use access_vector_t as element type and
5665 add netgroup-related initializers.
5666 * nscd/netgroupcache.c: New file.
5667 * nscd/nscd_netgroup.c: New file.
5668 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5669 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5670 For four parameters use innetgr.
5671 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5672 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5673 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5674 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5676 * nscd/connections.c (register_traced_file): Don't register file
5677 for disabled databases.
5679 2011-10-06 Ulrich Drepper <drepper@gmail.com>
5681 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5683 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5684 from tree and freeing node.
5686 2011-09-25 Jiri Olsa <jolsa@redhat.com>
5688 * nss/nsswitch.c (__nss_database_lookup): Handle
5689 nss_parse_service_list out of memory case.
5691 2011-09-15 Jiri Olsa <jolsa@redhat.com>
5693 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5696 2011-10-04 Andreas Schwab <schwab@redhat.com>
5698 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5699 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5701 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5702 elf_machine_rela, elf_machine_lazy_rel.
5703 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5704 (ELF_DYNAMIC_DO_REL): Likewise.
5705 (ELF_DYNAMIC_DO_RELA): Likewise.
5706 (ELF_DYNAMIC_RELOCATE): Likewise.
5707 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5708 to ELF_DYNAMIC_DO_REL.
5709 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5710 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5711 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5713 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5714 skip_ifunc, don't call ifunc function if non-zero.
5715 (elf_machine_rela): Likewise.
5716 (elf_machine_lazy_rel): Likewise.
5717 (elf_machine_lazy_rela): Likewise.
5718 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5719 (elf_machine_lazy_rel): Likewise.
5720 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5722 (elf_machine_lazy_rel): Likewise.
5723 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5725 (elf_machine_lazy_rel): Likewise.
5726 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5727 (elf_machine_lazy_rel): Likewise.
5728 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5729 (elf_machine_lazy_rel): Likewise.
5730 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5731 (elf_machine_lazy_rel): Likewise.
5732 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5733 (elf_machine_lazy_rel): Likewise.
5734 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5735 (elf_machine_lazy_rel): Likewise.
5736 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5737 (elf_machine_lazy_rel): Likewise.
5739 2011-09-28 Ulrich Drepper <drepper@gmail.com>
5741 * nss/nss_files/files-init.c (_nss_files_init): Use static
5742 initialization for all the *_traced_file variables.
5744 2011-09-28 Andreas Schwab <schwab@redhat.com>
5746 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5748 2011-09-27 Roland McGrath <roland@hack.frob.com>
5751 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5753 2011-09-27 Andreas Schwab <schwab@redhat.com>
5755 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5756 Reread the line before reparsing it.
5758 2011-09-26 Andreas Schwab <schwab@redhat.com>
5760 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5762 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5763 Maxim Kuvyrkov <maxim@codesourcery.com>
5764 Joseph Myers <joseph@codesourcery.com>
5766 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5767 if needed for __stack_chk_guard.
5769 2011-09-19 Roland McGrath <roland@hack.frob.com>
5771 * sysdeps/posix/spawni.c (script_execute): Always define it.
5772 It will be optimized away if unused.
5773 (maybe_script_execute): New function.
5774 (__spawni): Call it.
5776 * Makerules: Don't include tls.make.
5777 (config-tls): Always set to thread.
5778 * tls.make.c: File removed.
5780 2011-09-19 Mike Frysinger <vapier@gentoo.org>
5782 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5783 * config.make.in (CPPFLAGS-config): New substituted variable.
5785 2011-09-15 Ulrich Drepper <drepper@gmail.com>
5787 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5790 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5791 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5793 2011-09-15 Roland McGrath <roland@hack.frob.com>
5795 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5796 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5797 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5798 (CALL_FAIL): Likewise.
5799 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5800 (CALL_FAIL): Macro removed.
5801 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5803 2011-09-15 Ulrich Drepper <drepper@gmail.com>
5805 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5806 for __FINITE_MATH_ONLY__ == 1.
5808 2011-09-15 Andreas Schwab <schwab@redhat.com>
5810 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5811 __ieee754_sqrt instead of sqrt.
5812 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5813 __ieee754_sqrtf instead of sqrtf.
5814 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5815 __floorf instead of floorf.
5816 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5817 __floorf, __truncf instead of floorf, truncf.
5819 2011-09-14 Ulrich Drepper <drepper@gmail.com>
5821 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5823 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5824 __extern_always_inline.
5825 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5828 2011-09-14 Andreas Schwab <schwab@redhat.com>
5830 * elf/rtld.c (dl_main): Also relocate in dependency order when
5831 doing symbol dependency testing.
5833 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5835 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5836 Always define `refsym'.
5838 2011-09-13 Andreas Schwab <schwab@redhat.com>
5840 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5841 (__FD_ELT): Renamed from __FDELT.
5842 * misc/bits/select2.h (__FD_ELT): Likewise.
5843 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5844 __FD_MASK instead of __FDELT, __FDMASK.
5845 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5847 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5850 * elf/Makefile (gen-ldd): Fix pattern.
5852 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5853 (init_tls): Likewise.
5855 2011-09-12 Ulrich Drepper <drepper@gmail.com>
5857 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5859 2011-09-12 Andreas Schwab <schwab@redhat.com>
5861 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5862 `struct cmsghdr *' instead of `void *'.
5863 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5866 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5868 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5870 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5873 2011-09-11 Ulrich Drepper <drepper@gmail.com>
5875 * configure.in: Remove --with-tls option.
5876 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5877 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5878 out in case it is missing.
5879 * sysdeps/ia64/elf/configure.in: Likewise.
5880 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5881 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5882 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5883 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5884 * sysdeps/sh/elf/configure.in: Likewise.
5885 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5886 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5887 * sysdeps/x86_64/elf/configure.in: Likewise.
5888 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5889 * sysdeps/mach/hurd/tls.h: Likewise.
5892 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5895 * configure.in: Fix use of AC_INIT.
5897 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5899 2011-09-10 Ulrich Drepper <drepper@gmail.com>
5901 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5903 * malloc/hooks.c: Likewise.
5906 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5907 variables statically.
5908 (narenas): Initialize.
5909 (list_lock): Initialize.
5910 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5911 initializtion of main_arena and list_lock. Small cleanups.
5912 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5913 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5914 Add initializers to main_arena and mp_.
5915 (malloc_state): Remove pagesize member. Change all users to use
5918 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5919 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5920 is always initialized.
5922 * malloc/malloc.c: Removed unused configurations and dead code.
5923 * malloc/arena.c: Likewise.
5924 * malloc/hooks.c: Likewise.
5925 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
5927 * include/tls.h: Removed. USE___THREAD must always be defined.
5928 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5929 * elf/dl-libc.c: Likewise.
5930 * elf/dl-tsd.c: Likewise.
5931 * include/errno.h: Likewise.
5932 * include/netdb.h: Likewise.
5933 * include/resolv.h: Likewise.
5934 * inet/herrno-loc.c: Likewise.
5935 * inet/herrno.c: Likewise.
5936 * malloc/arena.c: Likewise.
5937 * malloc/hooks.c: Likewise.
5938 * malloc/malloc.c: Likewise.
5939 * resolv/res-state.c: Likewise.
5940 * resolv/res_libc.c: Likewise.
5941 * sysdeps/i386/dl-machine.h: Likewise.
5942 * sysdeps/ia64/dl-machine.h: Likewise.
5943 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5944 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5945 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5946 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5947 * sysdeps/sh/dl-machine.h: Likewise.
5948 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5949 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5950 * sysdeps/unix/i386/sysdep.S: Likewise.
5951 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5952 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5953 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5955 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5956 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5957 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5958 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5959 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5961 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5962 * sysdeps/x86_64/dl-machine.h: Likewise.
5963 * tls.make.c: Likewise.
5965 * configure.in: Remove --with-__thread option. Make tests for
5966 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5967 tls_model attribute fail if no support is available. Remove
5969 * Makeconfig: Adjust for dropped configure option. All features are
5971 * Makerules: Likewise.
5972 * Versions.def: Likewise.
5973 * argp/argp-fmtstream.c: Likewise.
5974 * argp/argp-fmtstream.h: Likewise.
5975 * argp/argp-help.c: Likewise.
5976 * assert/assert.c: Likewise.
5977 * config.h.in: Likewise.
5978 * config.make.in: Likewise.
5979 * configure: Likewise.
5980 * configure.in: Likewise.
5981 * csu/Versions: Likewise.
5982 * csu/init.c: Likewise.
5983 * elf/tst-audit2.c: Likewise.
5984 * elf/tst-tls10.c: Likewise.
5985 * elf/tst-tls10.h: Likewise.
5986 * elf/tst-tls11.c: Likewise.
5987 * elf/tst-tls12.c: Likewise.
5988 * elf/tst-tls14.c: Likewise.
5989 * elf/tst-tlsmod11.c: Likewise.
5990 * elf/tst-tlsmod12.c: Likewise.
5991 * elf/tst-tlsmod13.c: Likewise.
5992 * elf/tst-tlsmod13a.c: Likewise.
5993 * elf/tst-tlsmod14a.c: Likewise.
5994 * elf/tst-tlsmod15b.c: Likewise.
5995 * elf/tst-tlsmod16a.c: Likewise.
5996 * elf/tst-tlsmod16b.c: Likewise.
5997 * elf/tst-tlsmod7.c: Likewise.
5998 * elf/tst-tlsmod8.c: Likewise.
5999 * elf/tst-tlsmod9.c: Likewise.
6000 * gmon/gmon.c: Likewise.
6001 * grp/fgetgrent_r.c: Likewise.
6002 * grp/putgrent.c: Likewise.
6003 * hurd/fopenport.c: Likewise.
6004 * include/libc-symbols.h: Likewise.
6005 * include/tls.h: Likewise.
6006 * intl/gettextP.h: Likewise.
6007 * intl/loadinfo.h: Likewise.
6008 * locale/global-locale.c: Likewise.
6009 * locale/localeinfo.h: Likewise.
6010 * mach/devstream.c: Likewise.
6011 * malloc/arena.c: Likewise.
6012 * malloc/set-freeres.c: Likewise.
6013 * misc/err.c: Likewise.
6014 * misc/getttyent.c: Likewise.
6015 * misc/mntent_r.c: Likewise.
6016 * posix/getopt.c: Likewise.
6017 * posix/wordexp.c: Likewise.
6018 * pwd/fgetpwent_r.c: Likewise.
6019 * resolv/Versions: Likewise.
6020 * resolv/res_hconf.c: Likewise.
6021 * shadow/fgetspent_r.c: Likewise.
6022 * shadow/putspent.c: Likewise.
6023 * stdio-common/printf_fphex.c: Likewise.
6024 * stdio-common/tmpfile.c: Likewise.
6025 * stdlib/abort.c: Likewise.
6026 * stdlib/fmtmsg.c: Likewise.
6027 * sunrpc/auth_unix.c: Likewise.
6028 * sunrpc/clnt_perr.c: Likewise.
6029 * sunrpc/clnt_tcp.c: Likewise.
6030 * sunrpc/clnt_udp.c: Likewise.
6031 * sunrpc/clnt_unix.c: Likewise.
6032 * sunrpc/openchild.c: Likewise.
6033 * sunrpc/svc_simple.c: Likewise.
6034 * sunrpc/svc_tcp.c: Likewise.
6035 * sunrpc/svc_udp.c: Likewise.
6036 * sunrpc/svc_unix.c: Likewise.
6037 * sunrpc/xdr.c: Likewise.
6038 * sunrpc/xdr_array.c: Likewise.
6039 * sunrpc/xdr_rec.c: Likewise.
6040 * sunrpc/xdr_ref.c: Likewise.
6041 * sunrpc/xdr_stdio.c: Likewise.
6043 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6045 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6047 2011-07-03 Andreas Jaeger <aj@suse.de>
6049 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6050 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6051 regenerate with gen-libm-tests.pl.
6053 2010-05-12 Petr Baudis <pasky@suse.cz>
6056 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6057 around j0() zero points by switching to j1().
6058 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6059 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6061 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6063 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6065 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6067 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6069 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6070 Patch in part by Pavel Roskin <proski@gnu.org>.
6073 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6075 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6076 Free memory block if necessary.
6079 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6080 be NULL. Don't lock in this case.
6082 2011-09-09 Roland McGrath <roland@hack.frob.com>
6084 * elf/elf.h (ELFOSABI_GNU): New macro.
6085 (ELFOSABI_LINUX): Define to that.
6087 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6089 * string/strncat.c (strncat): Undef the symbol in case it has been
6090 defined in bits/string.h.
6092 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6094 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6096 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6099 2011-08-17 Andreas Jaeger <aj@suse.de>
6101 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6103 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6104 Ian Lance Taylor <iant@google.com>
6106 * math/libm-test.inc (lround_test): New testcase.
6107 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6109 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6111 * Makefile: Remove support for automatic cvs check-ins.
6112 * Makerules: Likewise.
6113 * config.make.in: Likewise.
6114 * configure.in: Likewise.
6115 * intl/Makefile: Likewise.
6116 * locale/Makefile: Likewise.
6117 * po/Makefile: Likewise.
6118 * posix/Makefile: Likewise.
6119 * sysdeps/gnu/Makefile: Likewise.
6120 * sysdeps/mach/hurd/Makefile: Likewise.
6121 * sysdeps/sparc/sparc32/Makefile: Likewise.
6124 * posix/Makefile (bug-regex32-ENV): Define.
6125 Patch by John Stanley <jpsinthemix@verizon.net>.
6127 * misc/Makefile (headers): Add bits/select2.h.
6128 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6129 * misc/bits/select2.h: New file.
6130 * include/bits/select2.h: New file.
6131 * debug/Makefile (routines): Add fdelt_chk.
6132 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6133 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6135 * debug/fdelt_chk.c: New file.
6137 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6138 * wcsmbs/test-wmemcmp.c: Likewise.
6139 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6140 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6142 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6144 * string/Makefile (strop-tests): Add memcmp.
6145 * string/test-wmemcmp.c: New file.
6146 * string/test-memcmp.c: Add wmemcmp support.
6148 2011-09-08 Roland McGrath <roland@hack.frob.com>
6151 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6154 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6155 garbage value in a __mach_port_mod_refs call in the cases of the
6156 task-self and thread-self ports.
6158 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6160 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6162 2011-09-08 Andreas Schwab <schwab@redhat.com>
6164 * elf/dl-load.c (lose): Check for non-null L.
6166 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6168 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6170 * elf/dl-libc.c (dlerror_run): Pass back error code from
6174 * elf/dl-load.c (lose): Free l_origin if it is valid.
6176 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6178 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6179 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6180 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6181 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6182 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6183 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6185 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6187 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6188 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6189 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6190 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6191 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6192 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6193 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6194 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6195 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6196 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6198 2011-08-15 Alan Modra <amodra@gmail.com>
6201 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6202 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6203 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6204 ppc_mcount to static-only-routines.
6205 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6207 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6208 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6210 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6212 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6213 for finite and infinity parameters.
6215 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6217 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6218 and add nop instructions for throughput optimization.
6219 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6221 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6223 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6224 aligned copy for power7 with vector-scalar instructions.
6225 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6227 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6229 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6232 2011-09-07 Andreas Schwab <schwab@redhat.com>
6235 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6238 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6240 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6241 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6242 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6243 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6246 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6248 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6249 Forgot to demangle the pointer.
6251 * sysdeps/i386/sysdep.h: Define atom_text_section.
6252 * sysdeps/x86_64/sysdep.h: Likewise.
6253 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6254 section with atom_text_section.
6255 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6256 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6257 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6258 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6259 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6261 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6262 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6263 already be defined. Change to take two parameters and don't assign
6264 result to variable. Adjust all users.
6265 Define INTERNAL_GETTIME if not already defined.
6266 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6269 HAVE_CLOCK_GETTIME_VSYSCALL.
6270 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6272 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6273 gettimeofday vsyscall, just use time.
6275 2011-09-06 Andreas Schwab <schwab@redhat.com>
6277 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6280 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6282 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6284 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6286 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6287 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6288 syscall if possible.
6290 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6292 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6293 e_ident. Don't pass to find_mapsXX.
6294 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6296 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6299 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6300 * sysdeps/x86_64/multiarch/strchr.S: Update.
6301 Check bit_slow_BSF bit.
6302 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6303 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6304 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6306 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6309 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6312 (__spawni): Change last parameter to be flag. Test
6313 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6314 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6315 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6316 * posix/spawni.c: Likewise.
6317 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6318 * posix/spawnp.c: Likewise. Change normal version to use
6319 SPAWN_XFLAGS_USE_PATH.
6320 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6321 SPAWN_XFLAGS_TRY_SHELL.
6324 * posix/glob.h: Remove gcc 1.x support.
6327 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6329 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6331 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6332 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6334 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6335 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6336 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6337 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6338 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6339 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6341 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6343 * sysdeps/x86_64/wcscmp.S: New file.
6345 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6346 wcscmp-c wcscmp-sse2
6347 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6348 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6349 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6350 * wcsmbs/wcscmp.c: Allow renaming.
6352 2011-09-05 David S. Miller <davem@davemloft.net>
6354 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6355 stack slot, rather than the struct return pointer slot.
6356 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6357 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6359 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6361 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6363 * po/ja.po: Update from translation team.
6366 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6367 kernel in 64-bit binaries.
6369 2011-09-01 David S. Miller <davem@davemloft.net>
6371 * elf/elf.h (HWCAP_SPARC_*): Move to..
6372 * sysdeps/sparc/sysdep.h: this new file and add new values.
6373 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6374 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6375 _DL_HWCAP_COUNT to 24.
6376 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6378 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6379 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6380 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6381 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6382 instead of magic constants.
6383 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6385 2011-08-31 David S. Miller <davem@davemloft.net>
6387 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6389 Reimplement to do errno handling inline.
6390 (SYSCALL_ERROR_HANDLER): New macro.
6391 (__SYSCALL_STRING): Do not do errno handling in asm.
6392 (__CLONE_SYSCALL_STRING): Delete.
6393 (__INTERNAL_SYSCALL_STRING): Delete.
6394 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6395 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6396 (PSEUDO): Reimplement to do errno handling inline.
6397 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6398 (SYSCALL_ERROR_HANDLER): New macro.
6399 (__SYSCALL_STRING): Do not do errno handling in asm.
6400 (__CLONE_SYSCALL_STRING): Delete.
6401 (__INTERNAL_SYSCALL_STRING): Delete.
6402 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6403 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6405 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6406 (inline_syscall*): Add 'err' argument.
6407 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6408 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6409 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6410 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6412 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6413 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6415 2011-08-30 Andreas Schwab <schwab@redhat.com>
6417 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6419 2011-08-29 Jiri Olsa <jolsa@redhat.com>
6421 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6424 2011-08-24 David S. Miller <davem@davemloft.net>
6426 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6428 2011-08-24 Andreas Schwab <schwab@redhat.com>
6430 * elf/Makefile: Add rules to build and run unload8 test.
6431 * elf/unload8.c: New file.
6432 * elf/unload8mod1.c: New file.
6433 * elf/unload8mod1x.c: New file.
6434 * elf/unload8mod2.c: New file.
6435 * elf/unload8mod3.c: New file.
6437 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6440 2011-08-23 David S. Miller <davem@davemloft.net>
6442 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6443 subtract stack bias.
6444 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6445 %sp not %fp in calculations.
6446 (_JMPBUF_UNWINDS_ADJ): Likewise.
6448 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6449 (aio_suspend): Call it to force an exception region around the
6450 AIO_MISC_WAIT() invocation.
6452 2011-08-23 Andreas Schwab <schwab@redhat.com>
6454 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6457 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6459 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6461 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6463 (Elf64_FuncDesc): Remove.
6465 2011-08-22 David S. Miller <davem@davemloft.net>
6467 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6468 sigaltstack check, add missing cfi directives.
6469 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6470 missing cfi directives, and sigaltstack handling.
6472 2011-08-16 Andreas Schwab <schwab@redhat.com>
6475 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6476 object is seen twice.
6477 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6479 * elf/Makefile (distribute): Add tst-initorder2.c.
6480 (tests): Add tst-initorder2.
6481 (modules-names): Add tst-initorder2a tst-initorder2b
6482 tst-initorder2c tst-initorder2d. Add rules to build them.
6483 ($(objpfx)tst-initorder2.out): New rule.
6484 * elf/tst-initorder2.c: New file.
6485 * elf/tst-initorder2.exp: New file.
6487 2011-08-22 Andreas Schwab <schwab@redhat.com>
6489 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6491 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6492 dependencies back to end of function.
6494 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6497 2011-08-21 Ulrich Drepper <drepper@gmail.com>
6499 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6500 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6502 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6503 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6504 of __vdso_gettimeofday.
6505 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6506 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6508 (_libc_vdso_platform_setup): Remove initialization of
6509 __vdso_gettimeofday and __vdso_time.
6511 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6513 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6515 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6518 * elf/dl-open.c (add_to_global): Report additions to the global scope
6519 for LD_DEBUG=scopes.
6520 (dl_open_worker): Also print scope of newly loaded dependencies.
6521 (_dl_show_scope): Indicate if there is no scope.
6524 * stdio-common/Makefile (tests): Add bug24.
6525 * stdio-common/bug24.c: New file.
6527 2011-08-19 Andreas Jaeger <aj@suse.de>
6530 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6531 non-existant file when using close-on-exec mode.
6533 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6536 the very first instruction.
6538 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6539 the CFI state in the end.
6540 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6541 inclusion of dl-trampoline.h.
6542 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6544 2011-08-19 Andreas Schwab <schwab@redhat.com>
6546 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6547 expectations for long double.
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6550 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6552 2011-08-14 David S. Miller <davem@davemloft.net>
6554 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6555 artificual limit depends upon the system page size.
6557 2011-08-17 Ulrich Drepper <drepper@gmail.com>
6559 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6560 * resolv/Makefile: Define CFLAGS-libresolv.
6562 2011-08-17 Andreas Schwab <schwab@redhat.com>
6564 * nss/makedb.c (compute_tables): Make variables used in nested
6567 2011-08-17 Ulrich Drepper <drepper@gmail.com>
6569 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6570 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6571 if buffer was too small.
6573 * elf/pldd.c (main): Attach to all threads in the process.
6574 Rewrite /proc handling to use *at functions.
6576 2011-08-16 Ulrich Drepper <drepper@gmail.com>
6578 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6579 specifies first scope to show.
6580 (dl_open_worker): Update callers. Move printing scope of new
6581 object to before the relocation.
6582 * elf/rtld.c (dl_main): Update _dl_show_scope call.
6583 * sysdeps/generic/ldsodefs.h: Update declaration.
6585 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6586 string for the scope number.
6588 2011-08-14 Ulrich Drepper <drepper@gmail.com>
6590 * nscd/servicescache.c (cache_addserv): Make sure written is always
6593 2011-08-14 Roland McGrath <roland@hack.frob.com>
6595 * sysdeps/i386/i486/bits/atomic.h
6596 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6597 statement expression, so as to suppress "set but not used" warning.
6598 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6600 * string/strncat.c (STRNCAT): Use prototype definition.
6602 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6603 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6605 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6606 (localedef-modules): Add localedef.
6607 (locale-modules): Add locale.
6609 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6610 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6613 2011-08-14 David S. Miller <davem@davemloft.net>
6615 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6616 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6618 2011-08-13 Ulrich Drepper <drepper@gmail.com>
6620 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
6621 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6622 * elf/rtld.c (dl_main): Set l_name of vDSO.
6623 Call _dl_show_scope when DL_DEBUG_SCOPES.
6624 (process_dl_debug): Recognize scopes flag and also set it for all.
6625 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6626 Declare _dl_show_scope.
6628 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6629 (do_dlopen): Pass caller_dlopen to dl_open.
6630 (__libc_dlopen_mode): Initialize caller_dlopen.
6632 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6633 of libc. Make tolower call locale-independent. Optimize a bit by
6634 using isdigit instead of isalnum.
6635 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6637 2011-08-12 Ulrich Drepper <drepper@gmail.com>
6639 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6640 was a dependency or dynamically loaded.
6642 2011-08-11 Ulrich Drepper <drepper@gmail.com>
6644 * intl/l10nflist.c: Allow architecture-specific pop function.
6645 * sysdeps/x86_64/l10nflist.c: New file.
6647 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6650 2011-08-10 Andreas Schwab <schwab@redhat.com>
6652 * include/dirent.h: Add libc_hidden_proto for scandirat and
6653 scandirat64. Don't declare __scandirat64.
6654 * dirent/scandirat.c: Add libc_hidden_def.
6655 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6656 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6658 2011-08-10 David S. Miller <davem@davemloft.net>
6660 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6662 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6663 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6664 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6666 2011-08-09 Ulrich Drepper <drepper@gmail.com>
6668 * Versions.def [libc]: Add GLIBC_2.15.
6669 * dirent/Makefile (routines): Add scandirat and scandirat64.
6670 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6672 * dirent/dirent.h: Declare scandirat and scandirat64.
6673 * dirent/scandirat.c: New file.
6674 * dirent/scandirat64.c: New file.
6675 * sysdeps/wordsize-64/scandirat.c: New file.
6676 * sysdeps/wordsize-64/scandirat64.c: New file.
6677 * dirent/opendir.c: Define opendirat.
6678 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6680 * dirent/scandir64.c: Adjust for scandir.c change.
6681 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6682 __scandirat64, and __scandir_cancel_handler.
6683 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6684 additional parameter and use openat instead of open (outside of ld.so).
6685 Add new __opendir as wrapper around __opendirat.
6686 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6687 here without requiring old scandirat implementation.
6689 2011-08-08 Ulrich Drepper <drepper@gmail.com>
6691 * dirent/scandir.c (cancel_handler): Renamed to
6692 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6693 defined. Adjust users.
6694 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6695 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6697 2011-08-04 Ulrich Drepper <drepper@gmail.com>
6699 * string/test-string.h (IMPL): Use __STRING to expand name and then
6702 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6705 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6707 * string/Makefile: Update.
6708 (strop-tests): Append strncat.
6709 * string/test-wcscmp.c: New file.
6710 New comprehensive test for wcscmp.
6711 * string/test-strcmp.c: Update.
6714 2011-07-22 Andreas Schwab <schwab@redhat.com>
6716 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6719 2011-07-26 Andreas Schwab <schwab@redhat.com>
6721 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6722 encoding to ACE if AI_IDN.
6724 2011-08-01 Jakub Jelinek <jakub@redhat.com>
6726 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6727 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6729 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6731 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6732 Fix overflow bug in strncat.
6733 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6735 * string/test-strncat.c: Update.
6736 Add new tests for checking overflow bugs.
6738 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6741 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6742 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6743 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6744 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6745 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6746 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6747 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6748 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6750 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6751 (USE_AS_STRCAT): Define.
6752 Add strcat and strncat support.
6753 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6755 2011-07-25 Andreas Schwab <schwab@redhat.com>
6757 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6758 __n bigger than INT_MAX+1.
6759 (__strncmp_g): Likewise.
6761 2011-07-23 Ulrich Drepper <drepper@gmail.com>
6763 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6764 * libio/stido.h: Likewise.
6766 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6771 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6772 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6773 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6774 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6778 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6781 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6783 (_dl_x86_64_save_sse): Likewise.
6785 2011-07-22 Ulrich Drepper <drepper@gmail.com>
6787 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6789 (_dl_x86_64_save_sse): Likewise.
6791 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6793 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6795 2011-07-21 Andreas Schwab <schwab@redhat.com>
6797 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6799 (_dl_x86_64_save_sse): Use correct AVX check.
6801 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6803 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6804 bug in strncpy/strncat.
6805 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6807 2011-07-21 Ulrich Drepper <drepper@gmail.com>
6809 * string/tester.c (test_strcat): Add tests for different alignments
6810 of source and destination.
6811 (test_strncat): Likewise.
6813 2011-07-20 Ulrich Drepper <drepper@gmail.com>
6816 * posix/glob.c (glob): Check passed in values before using them in
6817 expressions to avoid some overflows.
6818 (glob_in_dir): Likewise.
6821 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6822 check for AVX enablement so that we don't crash with old kernels and
6824 * elf/tst-audit4.c: Add same checks here.
6825 * elf/tst-audit6.c: Likewise.
6827 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6829 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6831 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6833 2011-07-20 Ulrich Drepper <drepper@gmail.com>
6835 * po/cs.po: Update from translation team.
6836 * po/bg.po: Likewise.
6838 2011-07-12 Marek Polacek <mpolacek@redhat.com>
6840 * misc/sys/cdefs.h: Add support for const attribute.
6841 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6842 to gnu_dev_{major,minor,makedev} functions.
6844 2011-07-20 Marek Polacek <mpolacek@redhat.com>
6846 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6848 2011-07-20 Andreas Schwab <schwab@redhat.com>
6850 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6853 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6855 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6856 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6857 register in order to avoid conflicts with the soft frame pointer
6858 being held in r11 when necessary.
6859 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6860 (INTERNAL_VSYSCALL_NCS): Likewise.
6862 2011-07-14 Marek Polacek <mpolacek@redhat.com>
6864 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6865 * elf/dl-fini.c (_dl_fini): Adjust caller.
6866 * elf/dl-close.c (_dl_close_worker): Likewise.
6867 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6869 2011-07-15 Marek Polacek <mpolacek@redhat.com>
6871 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6872 "aux_cache->nlibs < 0".
6874 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6875 in the reload-count case.
6877 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6880 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6881 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6882 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6883 * sysdeps/x86_64/multiarch/strcat.S: New file.
6884 * sysdeps/x86_64/multiarch/strncat.S: New file.
6885 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6886 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6887 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6888 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6889 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6890 (USE_AS_STRCAT): Define.
6891 Add strcat and strncat support.
6892 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6893 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6894 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6895 * string/strncat.c: Update.
6896 (USE_AS_STRNCAT): Define.
6897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6898 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6900 * sysdeps/x86_64/multiarch/init-arch.h
6901 (bit_Prefer_PMINUB_for_stringop): New.
6902 (index_Prefer_PMINUB_for_stringop): Likewise.
6903 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6904 bit_Prefer_PMINUB_for_stringop.
6906 2011-07-19 Ulrich Drepper <drepper@gmail.com>
6908 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6910 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6911 of casting of buffer.
6912 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6913 buffer32 and buffer64.
6914 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6915 writes instead of casting of buffer.
6916 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6918 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6921 2011-07-19 Andreas Schwab <schwab@redhat.com>
6923 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6925 2011-07-19 Ulrich Drepper <drepper@gmail.com>
6927 * nscd/nscd.c (termination_handler): Don't do anything for a database
6928 if it has not yet been initialized.
6930 2011-07-18 Ulrich Drepper <drepper@gmail.com>
6932 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6934 2011-07-15 Marek Polacek <mpolacek@redhat.com>
6936 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6938 2011-07-18 Ulrich Drepper <drepper@gmail.com>
6940 * po/nl.po: Update from translation team.
6941 * po/sv.po: Likewise.
6943 2011-07-16 Roland McGrath <roland@hack.frob.com>
6945 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6946 now disallowed by GCC.
6948 * configure.in (use-default-link): Default to yes if a test -shared
6949 link meets our qualifications.
6950 * configure: Regenerated.
6952 * config.make.in (output-format): New variable.
6953 * configure.in: Check for ld --print-output-format support.
6954 * configure: Regenerated.
6955 * Makerules ($(common-objpfx)format.lds)
6956 [$(output-format) != unknown]: Just use $(output-format),
6957 instead of the linker-script munging.
6959 2011-07-14 Roland McGrath <roland@hack.frob.com>
6961 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6962 of $(common-objpfx)shlib.lds.
6963 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6965 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6966 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6968 * configure.in (-z relro check): Adjust test code to add a large
6969 writable data section after it.
6970 * configure: Regenerated.
6972 2011-07-11 Roland McGrath <roland@hack.frob.com>
6974 * configure.in (-z relro check): Fix test code to make the variable
6976 * configure: Regenerated.
6978 2011-07-11 Ulrich Drepper <drepper@gmail.com>
6980 * nscd/nscd.h (struct traced_file): Define.
6981 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6982 elements. Add traced_files.
6983 (inotify_fd): Declare.
6984 (register_traced_file): Declare.
6985 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6986 (inotify_fd): Export.
6987 (resolv_conf_descr): Remove.
6988 (nscd_init): Move inotify descriptor creation to main.
6989 Don't register files for notification here.
6990 (register_traced_file): New function.
6991 (invalidate_cache): Don't use reset_res to determine whether to call
6992 res_init, go through the list of registered files.
6993 (main_loop_poll): The inotify descriptors are now stored in the
6994 structures for the traced files.
6995 (main_loop_epoll): Likewise
6996 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6997 to __nss_disable_nscd.
6998 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6999 for a database anymore. Check the records for all the registered
7001 * nss/Makefile (libnss_files-routines): Add files-init.
7002 (libnss_db-routines): Add db-init.
7003 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7004 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7005 * nss/nss_db/db-init.c: New file.
7006 * nss/nss_files/files-init.c: New file.
7007 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7008 __nss_lookup_function.
7009 (__nss_lookup_function): Call nss_load_library.
7010 (nss_load_all_libraries): New function.
7011 (__nss_disable_nscd): Take parameter with callback function for files
7012 to register. Set is_nscd. Load all the DSOs for the NSS modules
7013 used for the cached services.
7014 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7015 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7016 options for features to all the files in nscd.
7018 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7020 2011-07-10 Roland McGrath <roland@hack.frob.com>
7022 * csu/elf-init.c (__libc_csu_init): Comment typo.
7024 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7026 * po/pl.po: Update from translation team.
7027 * po/ja.po: Likewise.
7028 * po/ru.po: Likewise.
7029 * po/ko.po: Likewise.
7030 * po/fr.po: Likewise.
7032 2011-07-09 Roland McGrath <roland@hack.frob.com>
7034 * configure.in (.ctors/.dtors header and trailer check):
7035 Use an empirical test on a built program.
7036 * configure: Regenerated.
7038 * configure.in (-z relro check): Use an empirical test on a built DSO.
7039 Detect, but do not require, on ia64.
7040 * configure: Regenerated.
7042 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7043 Update tests that use readelf to use $READELF instead.
7044 * configure: Regenerated.
7046 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7048 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7049 if the result is not used.
7051 2011-07-05 Andreas Jaeger <aj@suse.de>
7054 * stdlib/tst-strtod.c: Add testcase.
7056 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7058 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7059 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7060 The latter has a higher limit. Take additional parameter to pass to
7062 (__pathconf): Pass file to __statfs_link_max.
7063 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7065 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7069 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7070 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7072 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7073 (__statfs_filesize_max): Likewise.
7074 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7076 2011-07-05 Andreas Jaeger <aj@suse.de>
7078 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7080 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7082 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7084 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7087 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7089 * Makefile (strop-tests): Add strncat.
7090 * string/test-strncat.c: New file.
7092 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7094 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7096 2011-06-21 Andreas Jaeger <aj@suse.de>
7098 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7099 Copy rule from iconvdata/Makefile.
7101 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7104 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7105 but no long options are defined, just return 'W'.
7107 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7110 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7112 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7114 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7116 (innetgr): Likewise.
7118 2011-07-05 Roland McGrath <roland@hack.frob.com>
7120 * config.make.in (install_root): Default to $(DESTDIR).
7122 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7124 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7126 2011-07-02 Roland McGrath <roland@hack.frob.com>
7128 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7130 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7131 containing directory rather than embedding absolute directory names.
7133 * scripts/check-local-headers.sh: Rewritten using awk.
7134 Match by word, not by line. Print error messages for matches.
7135 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7137 * Makerules [shlib-lds-flags empty]:
7138 ($(common-objpfx)libc_pic.opts): New target.
7139 ($(common-objpfx)libc_pic.os.clean): New target.
7140 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7142 * config.make.in (OBJCOPY): New variable.
7143 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7144 * configure: Regenerated.
7146 * config.make.in (use-default-link): New variable.
7147 * configure.in (use_default_link): Grok --with-default-link to set it.
7148 * configure: Regenerated.
7149 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7150 (shlib-lds, shlib-lds-flags): Define to empty.
7152 * Makerules (shlib-lds): New variable.
7153 (shlib-lds-flags): New variable.
7154 (build-shlib, build-moduile, build-module-asneeded): Use it.
7155 ($(common-objpfx)libc.so): Use $(shlib-lds).
7156 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7157 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7159 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7160 DT_FLAGS/DT_FLAGS_1 with zero flags.
7162 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7163 linker script munging.
7165 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7167 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7169 * crypt/sha512.c (sha512_process_block): Perform total addition using
7170 128-bit if possible.
7171 (__sha512_finish_ctx): Likewise.
7172 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7174 * crypt/sha256.c (SWAP64): Define.
7175 (sha256_process_block): Perform total addition using 64-bit if
7177 (__sha256_finish_ctx): Likewise.
7179 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7181 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7182 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7183 * nscd/hstcache.c (cache_addhst): Likewise.
7184 * nscd/grpcache.c (cache_addgr): Likewise.
7185 * nscd/aicache.c (addhstaiX): Likewise
7186 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7188 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7190 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7191 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7192 * nscd/hstcache.c (cache_addhst): Likewise.
7193 * nscd/grpcache.c (cache_addgr): Likewise.
7194 * nscd/aicache.c (addhstaiX): Likewise
7196 2011-07-01 Andreas Schwab <schwab@redhat.com>
7198 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7199 domain only when needed.
7201 2011-06-30 Andreas Schwab <schwab@redhat.com>
7203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7206 2011-06-29 Ulrich Drepper <drepper@gmail.com>
7208 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7209 are re-adding the entry.
7210 * nscd/servicescache.c (cache_addserv): Likewise.
7212 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7214 * sysdeps/generic/dl-irel.h: fix protection against multiple
7216 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7218 2011-06-28 Ulrich Drepper <drepper@gmail.com>
7221 * malloc/memusage.sh: Fix quoting in message.
7222 * debug/xtrace.sh: Likewise.
7224 * configure.in: Remove support for --experimental-malloc option, make
7226 * config.make.in: Likewise.
7227 * malloc/Makefile: Likewise.
7229 2011-06-27 Andreas Schwab <schwab@redhat.com>
7231 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7232 two-byte characters.
7234 2011-06-27 Roland McGrath <roland@hack.frob.com>
7236 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7237 AC_CACHE_CHECK invocation.
7238 * configure: Regenerated.
7240 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7242 2011-06-27 Ulrich Drepper <drepper@gmail.com>
7245 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7246 bit from old_res_options.
7248 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7250 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7251 value type for setfct.
7253 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7255 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7256 __gettimeofday instead of gettimeofday.
7258 2011-06-26 Ulrich Drepper <drepper@gmail.com>
7260 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7262 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7264 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7266 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7269 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7272 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7273 strcpy-sse2-unaligned strncpy-sse2-unaligned
7274 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7275 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7276 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7277 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7278 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7279 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7280 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7281 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7282 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7283 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7284 (STRCPY): Support SSE2 and SSSE3 versions.
7286 2011-06-24 Ulrich Drepper <drepper@gmail.com>
7289 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7290 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7291 kernels which artificially limit size of requests.
7293 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7295 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7296 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7297 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7298 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7299 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7300 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7301 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7302 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7303 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7304 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7305 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7306 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7307 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7308 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7309 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7310 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7311 Enable unaligned load optimization for Intel Core i3, i5 and i7
7313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7315 (index_Fast_Unaligned_Load): Define.
7316 (HAS_FAST_UNALIGNED_LOAD): Define.
7318 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7320 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7322 2011-06-22 Ulrich Drepper <drepper@gmail.com>
7325 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7326 until it is clear that the information is realy needed.
7327 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7329 2011-06-22 Andreas Schwab <schwab@redhat.com>
7331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7333 2011-06-22 Ulrich Drepper <drepper@gmail.com>
7335 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7336 /sys/devices/system/cpu/online if it is usable.
7338 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7339 reading the information from the /proc filesystem to once a second.
7341 2011-06-21 Andreas Jaeger <aj@suse.de>
7343 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7344 NULL after inclusion of kernel headers.
7346 2011-06-21 Ulrich Drepper <drepper@gmail.com>
7348 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7349 calls to internal_setent.
7352 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7353 addresses using gethostbyname4_r ignore IPv4 addresses.
7355 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7356 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7358 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7360 2011-06-20 David S. Miller <davem@davemloft.net>
7362 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7364 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7366 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7368 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7369 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7370 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7371 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7372 * sysdeps/x86_64/dl-irel.h: Likewise.
7374 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7375 * elf/dl-sym.c: Likewise.
7377 2011-06-15 Ulrich Drepper <drepper@gmail.com>
7379 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7380 need to dereference resplen2.
7382 2011-06-14 Andreas Schwab <schwab@redhat.com>
7384 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7386 2011-06-15 Ulrich Drepper <drepper@gmail.com>
7388 * Makeconfig: Define vardbdir and inst_vardbdir.
7389 * nss/Makefile: Add rules to install db-Makefile.
7391 * nss/nss_db/db-XXX.c: Cleanup.
7393 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7394 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7396 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7397 * nss/makedb.c: Implement -g option to specify that value strings
7398 are generated and should not be added to table iterated over for
7400 * nss/nss_db/db-initgroups.c: New file.
7402 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7405 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7406 (internal_getgrouplist): Adjust to name change.
7407 Update use_initgroups_entry if this is not the first call.
7408 * nss/databases.def: Add initgroups entry.
7410 * nss/makedb.c (compute_tables): Check result of multiple hash table
7411 sizes to minimize maximum chain length.
7413 2011-06-14 Ulrich Drepper <drepper@gmail.com>
7415 * Versions.def: Add entry for libnss_db.
7416 * shlib-versions: Likewise.
7417 * nss/Makefile: Add rules to build libnss_db.
7418 * nss/Versions: Add libnss_db information. Organize libnss_files
7420 * nss/db-Makefile: Add gshadow support. Change rules for the new
7421 makedb progra. Some minor improvements to generate smaller files.
7422 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7424 * nss/makedb.c: ...here.
7425 Improve database format to be smaller and require less memory at
7427 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7429 * nss/nss_db/db-netgrp.c: Likewise.
7430 * nss/nss_db/db-open.c: Likewise.
7431 * nss/nss_files/flies-XXX.x: Adjust comments.
7432 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7433 * nss/nss_files/files-grp.c: Likewise.
7434 * nss/nss_files/files-hosts.c: Likewise.
7435 * nss/nss_files/files-network.c: Likewise.
7436 * nss/nss_files/files-proto.c: Likewise.
7437 * nss/nss_files/files-pwd.c: Likewise.
7438 * nss/nss_files/files-rpc.c: Likewise.
7439 * nss/nss_files/files-service.c: Likewise.
7440 * nss/nss_files/files-sgrp.c: Likewise.
7441 * nss/nss_files/files-spwd.c: Likewise.
7442 * nss/nss_db/db-alias.c: Removed.
7443 * nss/nss_db/dummy-db.h: Removed.
7445 2011-06-02 Ulrich Drepper <drepper@gmail.com>
7447 * nss/makedb.c: Rewritten to not use database library.
7448 * nss/Makefile: Update to build new makedb program.
7450 2011-06-14 Andreas Jaeger <aj@suse.de>
7452 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7455 2011-06-10 Andreas Schwab <schwab@redhat.com>
7457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7460 2011-06-10 Roland McGrath <roland@hack.frob.com>
7462 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7463 * elf/Makefile ($(objpfx)ld.so): Likewise.
7465 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7466 Don't list ld.so twice in dependencies.
7468 * posix/bug-regex31.c: Include <stdlib.h>.
7470 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7472 * nis/nss_compat/compat-spwd.c
7473 (getspent_next_nss_netgr): Remove unused variable.
7474 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7476 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7477 nonmembers" output to use the right array.
7479 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7481 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7483 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7484 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7485 * catgets/gencat.c (read_input_file): Likewise.
7486 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7488 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7489 variable definition inside #if's controlling its use.
7491 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7493 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7495 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7497 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7500 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7502 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7503 * configure: Regenerated.
7505 * Makerules: Revert last change.
7506 * elf/Makefile: Likewise.
7508 2011-06-09 Roland McGrath <roland@hack.frob.com>
7510 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7511 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7512 (reloc-link): Likewise.
7514 2011-06-09 Ulrich Drepper <drepper@gmail.com>
7516 * elf/Makefile: Add rules to build pldd.
7517 * elf/pldd.c: New file.
7518 * elf/pldd-xx.c: New file.
7520 2011-06-07 Ulrich Drepper <drepper@gmail.com>
7522 * version.h: Update for 2.15 development version.
7524 2011-06-07 David S. Miller <davem@davemloft.net>
7526 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7528 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7529 elf_machine_lazy_rel): Likewise.
7530 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7531 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7532 elf_machine_lazy_rel): Likewise.
7533 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7534 dl_hwcap via passed in argument.
7535 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7538 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7540 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7542 2011-06-06 Roland McGrath <roland@hack.frob.com>
7545 * manual/fdl-1.1.texi: New file, verbatim from:
7546 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7547 * manual/lgpl-2.1.texi: New file, verbatim from:
7548 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7549 * manual/Makefile (licenses): New variable, list those new file names.
7551 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7553 * manual/fdl.texi: File removed.
7554 * manual/lesser.texi: File removed.
7555 * manual/libc.texinfo (Copying, Documentation License):
7556 Use new @include file names, put @appendix directive before @include.
7558 2011-06-04 Jakub Jelinek <jakub@redhat.com>
7561 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7562 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7563 (mq_open): Add __NTH.
7565 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7568 Assume Intel Core i3/i5/i7 processor if AVX is available.
7570 2011-05-31 Ulrich Drepper <drepper@gmail.com>
7572 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7575 2011-05-31 Andreas Schwab <schwab@redhat.com>
7577 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7578 memory. Use alloca_account. Fix memory leak when retrying.
7580 2011-05-31 Ulrich Drepper <drepper@gmail.com>
7582 * version.h (RELEASE): Bump for 2.14 release.
7583 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7585 * config.make.in (RANLIB): Remove entry.
7587 2011-05-30 Ulrich Drepper <drepper@gmail.com>
7589 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7590 (libc.pot): Work around missing support for .ksh extension in xgettext.
7593 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7594 if both request failed.
7595 (send_dg): In case of server errors clear resplen or *resplen2.
7598 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7599 when there are multiple maps.
7600 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7601 (_dl_fini): Remove test here.
7603 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7605 2011-05-29 Ulrich Drepper <drepper@gmail.com>
7608 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7609 bit from old_res_options.
7610 (gaih_inet): Likewise.
7613 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
7616 * resolv/res_init.c (res_setoptions): Make the code more compact.
7619 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7623 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7625 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7628 * malloc/malloc.h: Declare malloc hook variables as volatile.
7630 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7634 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
7635 raise in the comment.
7636 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7637 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7638 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7640 2011-05-28 Ulrich Drepper <drepper@gmail.com>
7643 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7644 grow the buffers more if it already has to be sufficient.
7645 (build_wcs_upper_buffer): Likewise.
7646 * posix/regexec.c (check_matching): Likewise.
7647 (clean_state_log_if_needed): Likewise.
7648 (extend_buffers): Don't enlarge buffers beyond size of the input
7650 Patches mostly by Emil Wojak <emil@wojak.eu>.
7651 * posix/bug-regex32.c: New file.
7652 * posix/Makefile (tests): Add bug-regex32.
7654 * locale/findlocale.c (_nl_find_locale): Return right away if
7655 _nl_explode_name failed.
7656 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7658 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7660 * debug/xtrace.sh: Unify messages.
7661 * malloc/memusage.sh: Likewise.
7664 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7665 time symbol from vDSO. Substitute with vsyscall if not available.
7666 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7669 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7670 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7671 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7672 Add sendmmsg and internal_sendmmsg.
7673 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7674 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7675 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7677 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7678 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7679 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7681 2011-05-27 Ulrich Drepper <drepper@gmail.com>
7684 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7685 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7687 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7691 * iconvdata/Makefile (tests): Add bug-iconv9.
7692 * iconvdata/bug-iconv9.c: New file.
7694 2011-05-27 Andreas Schwab <schwab@redhat.com>
7697 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7699 2011-05-25 Jakub Jelinek <jakub@redhat.com>
7701 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7702 (struct user_regs_struct): Change intcs field back to cs.
7704 2011-05-25 Ulrich Drepper <drepper@gmail.com>
7706 * po/ja.po: Update from translation team.
7708 2011-05-23 Ulrich Drepper <drepper@gmail.com>
7711 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7712 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7714 2011-05-20 Andreas Schwab <schwab@redhat.com>
7716 * stdlib/longlong.h: Update from GCC.
7718 2011-05-23 Andreas Schwab <schwab@redhat.com>
7720 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7722 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7724 (__sysconf): Pass it down.
7726 2011-05-22 Ulrich Drepper <drepper@gmail.com>
7729 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7731 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7732 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7733 add in in __libc_use_alloca calls. Adjust callers.
7734 (glob): Use malloc in some situations.
7736 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7737 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7740 2011-05-21 Ulrich Drepper <drepper@gmail.com>
7742 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7743 and CLOCK_BOOTTIME_ALARM.
7746 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7749 * string/_strerror.c (__strerror_r): Print negative errors as signed
7753 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7754 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7755 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7757 * configure.in: Fix typo in redirection and correct removal of test
7761 * locale/setlocale.c (new_composite_name): Fix test to check for
7762 identical name of all categories.
7765 * libio/filedoalloc.c (local_isatty): New function.
7766 (_IO_file_doallocate): Use local_isatty.
7767 * stdio-common/perror.c (perror): In case a new stream is used
7768 forward the stream error.
7769 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7772 2011-05-20 Ulrich Drepper <drepper@gmail.com>
7775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7777 * include/alloca.h (extend_alloca_account): Define.
7780 * posix/regex.h: Fix comments with documentation of user-accessible
7781 fields after compilation and describe correct free'ing of pattern
7782 after re_compile_pattern.
7783 Patch by Reuben Thomas <rrt@sc3d.org>.
7785 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7787 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7788 and -mno-altivec to prevent the compiler from using Altivec and/or
7789 VSX instructions when the corresponding registers are not available.
7791 2011-05-19 Andreas Schwab <schwab@redhat.com>
7793 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7795 2011-05-19 Ulrich Drepper <drepper@gmail.com>
7797 * libio/freopen.c (freopen): Use __dup2, not dup2.
7798 * libio/freopen64.c (freopen64): Likewise.
7800 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7803 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7804 * math/Makefile (tests): Add test-powl.
7805 (CFLAGS-test-powl.c): Define.
7806 * math/test-powl.c: New file.
7808 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7810 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7812 2011-05-17 Ulrich Drepper <drepper@gmail.com>
7815 * iconvdata/gb18030.c: Update to GB18020-2005.
7817 2011-05-16 Ulrich Drepper <drepper@gmail.com>
7819 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7820 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7821 Patch by Aharon Robbins <arnold@skeeve.com>.
7824 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7828 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7832 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7833 point to strings before performing equality test for error_one_per_line
7837 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7840 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7841 (struct user_fpregs_struct): Avoid __uint*_t types.
7844 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7845 symbol info. Use it instead of calling _dl_addr locally.
7846 (lock_and_info): New function.
7847 (tr_freehook): Call lock_and_info and pass symbol info as additional
7848 parameter to tr_where.
7849 (tr_mallochook): Likewise.
7850 (tr_reallochook): Likewise.
7851 (tr_memalignhook): Likewise.
7853 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7854 used and couldn't be at all thread-safe.
7856 2011-05-15 Ulrich Drepper <drepper@gmail.com>
7858 * libio/freopen.c (freopen): Don't close old file descriptor
7859 before the new one is opened. Instead dup the new file descriptor
7860 to the old one after the new stream is created.
7861 * libio/freopen64.c (freopen64): Likewise.
7862 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7863 * libio/fileops.c (_IO_new_file_close_it): Handle new
7864 _IO_FLAGS2_NOCLOSE flag.
7865 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7866 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7867 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7868 _IO_FLAGS2_NOCLOSE flag.
7869 * include/unistd.h: Add hidden_proto for dup3.
7871 * io/dup3.c: Define hidden symbol.
7872 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7875 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7876 when an incomplete long option is used.
7877 * posix/tst-getopt_long1.c: New file.
7878 * posix/Makefile (tests): Add tst-getopt_long1.
7881 * scripts/config.guess: Update from autoconf-2.68.
7882 * scripts/config.sub: Likewise.
7885 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7887 (has_cpuclock): ...this. New function.
7888 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7889 macro here based on has_cpuclock code.
7892 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7893 First byte (not low byte) is now always NUL.
7894 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7897 Use non-cancelable interfaces.
7900 * locale/iso-639.def: Add entry for Sorani.
7903 * include/stdlib.h: Move include protection to the right place.
7904 Define abort_msg_s. Declare __abort_msg with it.
7905 * stdlib/abort.c (__abort_msg): Adjust type.
7906 * assert/assert.c (__assert_fail_base): New function. Majority
7907 of code from __assert_fail. Allocate memory for __abort_msg with
7909 (__assert_fail): Now call __assert_fail_base.
7910 * assert/assert-perr.c: Remove bulk of implementation. Use
7912 * include/assert.hL Declare __assert_fail_base.
7913 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7915 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7917 2011-05-14 Ulrich Drepper <drepper@gmail.com>
7921 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7922 until all modules are registered in the DTV.
7923 * elf/Makefile: Add rules to build and run tst-tls19.
7924 * elf/tst-tls19.c: New file.
7925 * elf/tst-tls19mod1.c: New file.
7926 * elf/tst-tls19mod2.c: New file.
7927 * elf/tst-tls19mod3.c: New file.
7928 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7931 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7935 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7936 two-byte sequence errors.
7937 * iconvdata/Makefile (tests): Add bug-iconv8.
7938 * iconvdata/bug-iconv8.c: New file.
7941 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7944 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7947 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7948 (dummy_getcfa): New function.
7949 (init): Get _Unwind_GetCFA address, use dummy if not found.
7950 (backtrace_helper): In recursion check, also check whether CFA changes.
7951 (__backtrace): Completely initialize arg.
7953 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
7954 storing incomplete byte sequence in state object. Avoid testing for
7955 guaranteed too small input if we know there is enough data available.
7957 2011-05-11 Andreas Schwab <schwab@redhat.com>
7959 * Makeconfig (+link-pie): Indent.
7960 * Rules (binaries-pie): Define if $(have-fpie) and
7962 (binaries-shared): Also filter out $(binaries-pie).
7963 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7964 * nscd/Makefile (others-pie): Add nscd.
7965 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7966 ($(objpfx)nscd): Remove command override.
7967 * login/Makefile (others-pie): Add pt_chown.
7968 ($(objpfx)pt_chown): Remove command override.
7969 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7970 remove command overrides.
7972 2011-05-13 Ulrich Drepper <drepper@gmail.com>
7974 * libio/tst_putwc.c: Fix error messages.
7977 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7978 currently writing and seek to current position when not.
7979 * libio/Makefile (tests): Add bug-fclose1.
7980 * libio/bug-fclose1.c: New file.
7982 2011-05-12 Ulrich Drepper <drepper@gmail.com>
7985 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7986 don't set DF_1_NODELETE here.
7987 (do_lookup_x): When entering new entry test for copy relocation
7988 and if necessary set DF_1_NODELETE flag.
7989 * elf/tst-unique4.cc: New file.
7990 * elf/tst-unique4.h: New file.
7991 * elf/tst-unique4lib.cc: New file.
7992 * elf/Makefile: Add rules to build and run tst-unique4.
7993 Patch by Piotr Bury <pbury@goahead.com>.
7995 2011-05-11 Ulrich Drepper <drepper@gmail.com>
7998 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8001 * misc/mntent_r.c (addmntent): Flush the stream after the output
8004 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8005 (is_trusted_path_normalize): Skip initial colon. Append slash
8006 to empty buffer. Duplicate is_trusted_path code but allow
8007 constructed patch to be prefix.
8008 (is_dst): Allow $ORIGIN followed by /.
8009 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8010 Correct testing of result of is_trusted_path_normalize
8011 (decompose_rpath): Fix warning.
8013 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8016 * grp/initgroups.c (internal_getgrouplist): When we found the service
8017 list through the initgroups entry in nsswitch.conf do not always
8018 continue on a successful lookup. Don't always use the
8019 __nss_group_database value if it is set.
8020 * nss/nsswitch.conf (initgroups): Change action for successful db
8021 lookup to continue for compatibility.
8023 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8026 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8028 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8030 * iconvdata/tst-tables.sh: Likewise.
8031 * iconvdata/cp770.c: New file.
8032 * iconvdata/cp771.c: New file.
8033 * iconvdata/cp772.c: New file.
8034 * iconvdata/cp773.c: New file.
8035 * iconvdata/cp774.c: New file.
8036 * iconvdata/testdata/CP770: New file.
8037 * iconvdata/testdata/CP770..UTF8: New file.
8038 * iconvdata/testdata/CP771: New file.
8039 * iconvdata/testdata/CP771..UTF8: New file.
8040 * iconvdata/testdata/CP772: New file.
8041 * iconvdata/testdata/CP772..UTF8: New file.
8042 * iconvdata/testdata/CP773: New file.
8043 * iconvdata/testdata/CP773..UTF8: New file.
8044 * iconvdata/testdata/CP774: New file.
8045 * iconvdata/testdata/CP774..UTF8: New file.
8047 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8049 * iconvdata/gen-8bit-gap.sh: Likewise.
8050 * iconvdata/gen-8bit.sh: Likewise.
8052 * locale/iso-639.def: Add ary entry.
8055 * locale/C-translit.h.in: Add U20A1 transliteration.
8058 * locale/iso-639.def: Add wae entry.
8059 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8062 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8066 * locale/C-translit.h.in: Add entry for U20B9.
8067 Patch by pravin.d.s@gmail.com.
8069 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8072 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8073 ENAMETOOLONG use generic getcwd.
8074 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8075 in rtld. Use *stat64.
8076 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8077 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8078 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8079 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8080 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8081 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8082 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8084 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8085 * dirent/rewinddir.c: Add libc_hidden_def.
8086 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8087 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8089 * include/dirent.h (__alloc_dir): Add flags parameter.
8090 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8091 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8093 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8094 from fdopendir if O_CLOEXEC is already set.
8096 2011-03-15 Alan Modra <amodra@gmail.com>
8098 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8099 l_tls_firstbyte_offset non-zero. Save padding offset in
8100 l_tls_firstbyte_offset for later use.
8101 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8102 freeing static tls block.
8104 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8106 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8107 where #ifdef was intended. The intent is to prevent ARG_MAX from
8108 being defined by the kernel headers.
8110 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8113 * resolv/resolv.h: Define RES_NOTLDQUERY.
8114 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8115 no-tld-query and set RES_NOTLDQUERY.
8116 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8117 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8118 modern BIND to search name as TLD unless forbidden.
8120 2011-05-07 Petr Baudis <pasky@suse.cz>
8121 Ulrich Drepper <drepper@gmail.com>
8124 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8125 (is_trusted_path): ...to here.
8126 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8127 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8128 using is_trusted_path_normalize() in setuid scripts.
8130 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8132 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8133 __BEGIN/__END_DECLS.
8135 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8137 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8138 NSS_STATUS_NOTFOUND if no record was found.
8140 2011-05-05 Andreas Schwab <schwab@redhat.com>
8142 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8143 (headers-not-in-tirpc): Remove rpc/netdb.h
8144 * resolv/netdb.h: Revert last change.
8146 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8148 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8149 circular dependency between libgcc.a and libc.a.
8151 2011-05-05 Andreas Schwab <schwab@redhat.com>
8153 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8154 * nis/Makefile: Don't install rpcsvc/*.
8155 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8156 instead of <rpc/types.h>.
8157 (MAXHOSTNAMELEN): Define.
8159 2011-05-03 Andreas Schwab <schwab@redhat.com>
8161 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8163 2011-04-28 Maciej Babinski <mbabinski@google.com>
8166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8167 gethostbyname4_r when IPv6 results are possible.
8169 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8172 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8173 _PC_PIPE_BUF handling.
8175 2011-04-30 Bruno Haible <bruno@clisp.org>
8178 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8179 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8181 * inet/getnameinfo.c (getnameinfo): Likewise.
8183 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8185 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8186 to groups setting in database lookup.
8187 * nss/nsswitch.conf: Add initgroups entry.
8189 2011-04-22 Ulrich Drepper <drepper@gmail.com>
8192 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8194 Patch by Eric Blake <eblake@redhat.com>.
8196 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8198 * sunrpc/Makefile (need-export-routines): Add svc_run.
8199 (routines): Remove svc_run.
8200 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8201 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8202 * sunrpc/svc_run.c (svc_run): Likewise.
8203 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8205 2011-04-21 Ulrich Drepper <drepper@gmail.com>
8207 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8208 problem in reallocation in last patch.
8210 2011-04-20 Ulrich Drepper <drepper@gmail.com>
8212 * sunrpc/Makefile: Move inclusion of Rules.
8214 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8216 * nss/nss_files/files-initgroups.c: New file.
8217 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8218 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8219 _nss_files_initgroups_dyn.
8221 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8223 * elf/elf.h (R_ARM_IRELATIVE): Define.
8225 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8227 * po/ru.po: Update from translation team.
8229 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8231 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8234 2011-02-06 Mike Frysinger <vapier@gentoo.org>
8237 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8238 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8239 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8240 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8241 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8243 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8245 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8247 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8248 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8249 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8251 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8254 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8256 * stdlib/bug-getcontext.c: New file.
8257 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8259 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8261 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8262 instructions into .machine "z9-109".
8263 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8264 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8266 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8268 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8269 between environment variables and auxiliary vector.
8271 2011-04-16 Ulrich Drepper <drepper@gmail.com>
8273 * Makefile: Add rules to build linkobj/libc.so.
8274 * include/libc-symbols.h: Define libc_hidden_nolink.
8275 * include/rpc/auth.h: Mark functions which are to be hidden.
8276 * include/rpc/auth_des.h: Likewise.
8277 * include/rpc/auth_unix.h: Likewise.
8278 * include/rpc/clnt.h: Likewise.
8279 * include/rpc/des_crypt.h: Likewise.
8280 * include/rpc/key_prot.h: Likewise.
8281 * include/rpc/pmap_clnt.h: Likewise.
8282 * include/rpc/pmap_prot.h: Likewise.
8283 * include/rpc/pmap_rmt.h: Likewise.
8284 * include/rpc/rpc_msg.h: Likewise.
8285 * include/rpc/svc.h: Likewise.
8286 * include/rpc/svc_auth.h: Likewise.
8287 * include/rpc/xdr.h: Likewise.
8288 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8289 * nss/Makefile: Likewise.
8290 * sunrpc/Makefile: Don't install headers. Build library with normal
8291 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8292 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8293 for the compat linking library. Remove use of INTDEF/INTUSE.
8294 * sunrpc/auth_none.c: Likewise.
8295 * sunrpc/auth_unix.c: Likewise.
8296 * sunrpc/authdes_prot.c: Likewise.
8297 * sunrpc/authuxprot.c: Likewise.
8298 * sunrpc/clnt_gen.c: Likewise.
8299 * sunrpc/clnt_perr.c: Likewise.
8300 * sunrpc/clnt_raw.c: Likewise.
8301 * sunrpc/clnt_simp.c: Likewise.
8302 * sunrpc/clnt_tcp.c: Likewise.
8303 * sunrpc/clnt_udp.c: Likewise.
8304 * sunrpc/clnt_unix.c: Likewise.
8305 * sunrpc/des_crypt.c: Likewise.
8306 * sunrpc/des_soft.c: Likewise.
8307 * sunrpc/get_myaddr.c: Likewise.
8308 * sunrpc/key_call.c: Likewise.
8309 * sunrpc/key_prot.c: Likewise.
8310 * sunrpc/netname.c: Likewise.
8311 * sunrpc/pm_getmaps.c: Likewise.
8312 * sunrpc/pm_getport.c: Likewise.
8313 * sunrpc/pmap_clnt.c: Likewise.
8314 * sunrpc/pmap_prot.c: Likewise.
8315 * sunrpc/pmap_prot2.c: Likewise.
8316 * sunrpc/pmap_rmt.c: Likewise.
8317 * sunrpc/publickey.c: Likewise.
8318 * sunrpc/rpc_cmsg.c: Likewise.
8319 * sunrpc/rpc_common.c: Likewise.
8320 * sunrpc/rpc_dtable.c: Likewise.
8321 * sunrpc/rpc_prot.c: Likewise.
8322 * sunrpc/rpc_thread.c: Likewise.
8323 * sunrpc/rtime.c: Likewise.
8324 * sunrpc/svc.c: Likewise.
8325 * sunrpc/svc_auth.c: Likewise.
8326 * sunrpc/svc_authux.c: Likewise.
8327 * sunrpc/svc_raw.c: Likewise.
8328 * sunrpc/svc_run.c: Likewise.
8329 * sunrpc/svc_simple.c: Likewise.
8330 * sunrpc/svc_tcp.c: Likewise.
8331 * sunrpc/svc_udp.c: Likewise.
8332 * sunrpc/svc_unix.c: Likewise.
8333 * sunrpc/svcauth_des.c: Likewise.
8334 * sunrpc/xcrypt.c: Likewise.
8335 * sunrpc/xdr.c: Likewise.
8336 * sunrpc/xdr_array.c: Likewise.
8337 * sunrpc/xdr_float.c: Likewise.
8338 * sunrpc/xdr_intXX_t.c: Likewise.
8339 * sunrpc/xdr_mem.c: Likewise.
8340 * sunrpc/xdr_rec.c: Likewise.
8341 * sunrpc/xdr_ref.c: Likewise.
8342 * sunrpc/xdr_sizeof.c: Likewise.
8343 * sunrpc/xdr_stdio.c: Likewise.
8345 2011-04-10 Ulrich Drepper <drepper@gmail.com>
8348 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8349 * sysdeps/ia64/dl-tls.h: Likewise.
8350 * sysdeps/powerpc/dl-tls.h: Likewise.
8351 * sysdeps/s390/dl-tls.h: Likewise.
8352 * sysdeps/sh/dl-tls.h: Likewise.
8353 * sysdeps/sparc/dl-tls.h: Likewise.
8354 * sysdeps/x86_64/dl-tls.h: Likewise.
8355 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8357 2011-03-14 Andreas Schwab <schwab@redhat.com>
8359 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8360 rpath element also skip the following colon.
8361 (expand_dynamic_string_token): Add is_path parameter and pass
8362 down to DL_DST_REQUIRED and _dl_dst_substitute.
8363 (decompose_rpath): Call expand_dynamic_string_token with
8364 non-zero is_path. Ignore empty rpaths.
8365 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8368 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8373 2011-04-09 Ulrich Drepper <drepper@gmail.com>
8376 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8377 Patch by Filipe David Manana <fdmanana@apache.org>.
8379 2011-04-07 Andreas Schwab <schwab@redhat.com>
8381 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8382 Maintain aligned stack.
8383 (CHECK_RSP): Remove unused macro.
8385 2011-04-03 Ulrich Drepper <drepper@gmail.com>
8387 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8388 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8390 2011-04-02 Ulrich Drepper <drepper@gmail.com>
8392 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8394 * include/features.h: Mention __USE_XOPEN2K8 in comment.
8396 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8399 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8400 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8401 * sysdeps/x86_64/memmove.c: New file.
8402 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8403 (memcpy): Renamed to ...
8404 (__new_memcpy): This.
8405 (memcpy): Provide GLIBC_2_14 memcpy.
8406 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8407 (memcpy): Provide GLIBC_2_2_5 memcpy.
8409 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8412 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8414 2011-03-30 Andreas Schwab <schwab@redhat.com>
8416 * misc/syncfs.c: New file.
8417 * misc/Makefile (routines): Add syncfs.
8418 * posix/unistd.h: Declare syncfs.
8419 * sysdeps/unix/syscalls.list: Add syncfs.
8421 2011-04-01 Andreas Schwab <schwab@redhat.com>
8423 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8425 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8426 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8428 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8430 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8431 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8433 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8435 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8436 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8437 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8438 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8439 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8440 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8441 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8443 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8444 sync_file_range.c with -fexceptions.
8445 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8446 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8447 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8448 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8449 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8450 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8451 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
8452 sync_file_range as cancellation point
8453 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8454 now a wrapper around __call_sync_file_range with cancellation handling.
8455 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8456 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8457 function name to __call_sync_file_range.
8458 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8459 Add call_sync_file_range.
8461 2011-04-01 Andreas Schwab <schwab@redhat.com>
8463 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8466 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8468 * iconv/iconv.h: Fix typo in comment.
8469 * io/fcntl.h: Likewise.
8470 * libio/stdio.h: Likewise.
8471 * posix/spawn.h: Likewise.
8472 * posix/unistd.h: Likewise.
8473 * stdlib/stdlib.h: Likewise.
8474 * time/time.h: Likewise.
8475 * wcsmbs/wchar.h: Likewise.
8477 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8478 open_by_handle): Add.
8479 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8480 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8481 Augment a few comments.
8482 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8483 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8484 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8486 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8487 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8490 * io/fcntl.h (AT_EMPTY_PATH): Define.
8492 2011-03-30 Ulrich Drepper <drepper@gmail.com>
8494 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8495 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8496 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8498 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
8499 * Versions.def: Add GLIBC_2.14.
8500 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8503 2011-03-22 Ulrich Drepper <drepper@gmail.com>
8505 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8507 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8509 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8512 * string/test-strncmp.c (do_page_test): New function.
8514 (test_main): Call check2.
8515 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8517 2011-03-20 Ulrich Drepper <drepper@gmail.com>
8520 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8521 Handle cache information in CPU leaf 4.
8522 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8524 2011-03-18 Ulrich Drepper <drepper@gmail.com>
8527 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8528 character representation.
8529 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8531 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8533 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8534 END(__isnan) to END(__isnanf) to match function entry point/label
8535 EALIGN(__isnanf,...).
8537 2011-03-10 Jakub Jelinek <jakub@redhat.com>
8539 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8541 2011-03-10 Ulrich Drepper <drepper@gmail.com>
8544 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8545 copy from the symbol referenced in the relocation to initialize the
8547 Patch by Piotr Bury <pbury@goahead.com>.
8548 * elf/Makefile: Add rules to build and tst-unique3.
8549 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8550 * elf/tst-unique3.cc: New file.
8551 * elf/tst-unique3.h: New file.
8552 * elf/tst-unique3lib.cc: New file.
8553 * elf/tst-unique3lib2.cc: New file.
8555 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8557 2011-03-10 Mike Frysinger <vapier@gentoo.org>
8559 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8560 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8563 2011-03-06 Ulrich Drepper <drepper@gmail.com>
8565 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8566 to-be-loaded object along a path to loader is ld.so.
8568 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8569 Ulrich Drepper <drepper@gmail.com>
8571 * sysdeps/x86_64/memset.S: After aligning destination, code
8572 branches to different locations depending on the value of
8573 misalignment, when multiarch is enabled. Fix this.
8575 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8577 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8578 Set _x86_64_preferred_memory_instruction for AMD processsors.
8579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8580 Set bit_Prefer_SSE_for_memop for AMD processors.
8582 2011-03-04 Ulrich Drepper <drepper@gmail.com>
8584 * libio/fmemopen.c (fmemopen): Optimize a bit.
8586 2011-03-03 Andreas Schwab <schwab@redhat.com>
8588 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8590 2011-03-03 Roland McGrath <roland@redhat.com>
8592 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8594 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8596 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
8597 __bzero_ultra1 instead of __memset_ultra1.
8599 2011-02-23 Andreas Schwab <schwab@redhat.com>
8600 Ulrich Drepper <drepper@gmail.com>
8603 * include/link.h (struct link_map): Add l_orig_initfini.
8604 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8605 returning unsuccessfully.
8606 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8607 close of a file loaded at startup, restore the original l_initfini
8609 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8610 list, store the pointer.
8611 * elf/Makefile ($(objpfx)noload-mem): New rule.
8612 (noload-ENV): Define.
8613 (tests): Add $(objpfx)noload-mem.
8614 * elf/noload.c: Include <memcheck.h>.
8615 (main): Call mtrace. Close all opened handles.
8617 2011-02-17 Andreas Schwab <schwab@redhat.com>
8620 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8621 dependencies are missing.
8623 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8625 Fix __if_freereq crash: Unlike the generic version which uses free,
8627 * sysdeps/mach/hurd/ifreq.h: New file.
8629 2011-01-27 Petr Baudis <pasky@suse.cz>
8630 Ulrich Drepper <drepper@gmail.com>
8633 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8635 * stdio-common/bug23.c: New file.
8636 * stdio-common/Makefile (tests): Add bug23.
8638 2010-09-28 Andreas Schwab <schwab@redhat.com>
8639 Ulrich Drepper <drepper@gmail.com>
8642 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8643 before performing relro protection. At old place add assertion
8644 to make sure nothing changed.
8646 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8647 Glauber de Oliveira Costa <glommer@gmail.com>
8649 * elf/elf.h: Add new ARM TLS relocs.
8651 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8654 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8656 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8658 * sysdeps/wordsize-64/tst-writev.c: New file.
8660 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8662 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8663 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8664 insns in _dl_start to prevent a TOC reference before relocs are
8667 2011-02-15 Ulrich Drepper <drepper@gmail.com>
8670 * Makeconfig: Remove RANLIB definition.
8671 * Makerules: Don't use RANLIB.
8672 * aclocal.m4: Remove ranlib test.
8673 * configure.in: No need to check for ranlib.
8674 * elf/rtld-Rules: Don't use RANLIB.
8676 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8678 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8680 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8681 inclusion protection macro.
8683 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8684 SIGRTMIN and SIGRTMAX and print information in that case only when
8685 SIGRTMIN is defined.
8687 2011-02-11 Jakub Jelinek <jakub@redhat.com>
8689 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8690 arginfo fn returning -1.
8692 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8693 and thousands string is zero terminated.
8695 2011-02-03 Andreas Schwab <schwab@redhat.com>
8697 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8698 sysdeps/unix/sysv/linux/bits/socket.h.
8700 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8702 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8703 (__CPU_COUNT): Remove old macros.
8704 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8705 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8706 (__CPU_ALLOC, __CPU_FREE): Add macros.
8707 (__sched_cpualloc, __sched_cpufree): Add declarations.
8709 2011-02-05 Ulrich Drepper <drepper@gmail.com>
8711 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8712 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8713 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8714 (readdhstai): Return value of addhstaiX call.
8715 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8716 (addgrbyX): Return value returned by cache_addgr.
8717 (readdgrbyname): Return value returned by addgrbyX.
8718 (readdgrbygid): Likewise.
8719 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8720 (addpwbyX): Return value returned by cache_addpw.
8721 (readdpwbyname): Return value returned by addhstbyX.
8722 (readdpwbyuid): Likewise.
8723 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8724 (addservbyX): Return value returned by cache_addserv.
8725 (readdservbyname): Return value returned by addservbyX:
8726 (readdservbyport): Likewise.
8727 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8728 (addhstbyX): Return value returned by cache_addhst.
8729 (readdhstbyname): Return value returned by addhstbyX.
8730 (readdhstbyaddr): Likewise.
8731 (readdhstbynamev6): Likewise.
8732 (readdhstbyaddrv6): Likewise.
8733 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8734 (readdinitgroups): Return value returned by addinitgroupsX.
8735 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8736 (prune_cache): Keep track of timeout value of re-added entries.
8737 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8738 * nscd/nscd.h: Adjust prototypes of readd* functions.
8740 2011-02-04 Roland McGrath <roland@redhat.com>
8742 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8743 (nis_stats): Likewise.
8744 * nis/nis_modify.c (nis_modify): Likewise.
8745 * nis/nis_remove.c (nis_remove): Likewise.
8746 * nis/nis_add.c (nis_add): Likewise.
8748 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8750 * posix/fnmatch_loop.c: Add some consts.
8752 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8754 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8757 * config.make.in (config-cflags-novzeroupper): Define.
8758 * configure.in: Substitute libc_cv_cc_novzeroupper.
8759 * elf/Makefile (AVX-CFLAGS): Define.
8760 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8761 (CFLAGS-tst-auditmod4a.c): Likewise.
8762 (CFLAGS-tst-auditmod4b.c): Likewise.
8763 (CFLAGS-tst-auditmod6b.c): Likewise.
8764 (CFLAGS-tst-auditmod6c.c): Likewise.
8765 (CFLAGS-tst-auditmod7b.c): Likewise.
8766 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8768 2011-02-02 Ulrich Drepper <drepper@gmail.com>
8770 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8771 function to the callback.
8772 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8774 2011-02-02 Andreas Schwab <schwab@redhat.com>
8776 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8779 2011-01-19 Ulrich Drepper <drepper@gmail.com>
8782 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8784 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8786 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8789 * elf/Makefile: Add rules to build and run new test.
8790 * elf/tst-initorder.c: New file.
8791 * elf/tst-initorder.exp: New file.
8792 * elf/tst-initordera1.c: New file.
8793 * elf/tst-initordera2.c: New file.
8794 * elf/tst-initordera3.c: New file.
8795 * elf/tst-initordera4.c: New file.
8796 * elf/tst-initorderb1.c: New file.
8797 * elf/tst-initorderb2.c: New file.
8798 * elf/tst-order-a1.c: New file.
8799 * elf/tst-order-a2.c: New file.
8800 * elf/tst-order-a3.c: New file.
8801 * elf/tst-order-a4.c: New file.
8802 * elf/tst-order-b1.c: New file.
8803 * elf/tst-order-b2.c: New file.
8804 * elf/tst-order-main.c: New file.
8805 New test case by George Gensure <werkt0@gmail.com>.
8807 2010-10-01 Andreas Schwab <schwab@redhat.com>
8809 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8810 decoding ACE if AI_CANONIDN.
8812 2011-01-18 Ulrich Drepper <drepper@gmail.com>
8814 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8816 2011-01-17 Ulrich Drepper <drepper@gmail.com>
8818 * version.h (RELEASE): Bump for 2.13 release.
8819 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8821 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8823 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8825 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8826 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8827 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8828 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8829 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8830 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8832 * posix/getconf.c: Update copyright year.
8833 * catgets/gencat.c: Likewise.
8834 * csu/version.c: Likewise.
8835 * debug/catchsegv.sh: Likewise.
8836 * debug/xtrace.sh: Likewise.
8837 * elf/ldconfig.c: Likewise.
8838 * elf/ldd.bash.in: Likewise.
8839 * elf/sprof.c (print_version): Likewise.
8840 * iconv/iconv_prog.c: Likewise.
8841 * iconv/iconvconfig.c: Likewise.
8842 * locale/programs/locale.c: Likewise.
8843 * locale/programs/localedef.c: Likewise.
8844 * malloc/memusage.sh: Likewise.
8845 * malloc/mtrace.pl: Likewise.
8846 * nscd/nscd.c (print_version): Likewise.
8847 * nss/getent.c: Likewise.
8849 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8850 PF_CAIF, and PF_ALG.
8851 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8853 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8855 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8856 (modules-names): Use them.
8857 (ifunc-test-modules, ifunc-pie-tests): Define.
8858 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8859 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8860 (test-extras): Likewise.
8861 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8862 $(compile-command.c).
8863 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8864 (all-built-dso): Define.
8865 (check-textrel.out, check-execstack.out): Depend on it.
8867 * configure.in: Don't override --enable-multi-arch.
8869 2011-01-15 Ulrich Drepper <drepper@gmail.com>
8872 * nscd/hstcache.c (tryagain): Define.
8873 (cache_addhst): Return tryagain not notfound for temporary errors.
8874 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8877 2011-01-14 Ulrich Drepper <drepper@gmail.com>
8880 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8881 to make the syscall.
8882 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8885 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8886 and fall back to matching as normal character if the string ends before
8887 the matching ']' is found. This is what POSIX requires.
8888 * posix/testfnm.c: Adjust test result.
8889 * posix/globtest.sh: Adjust test result. Add new test.
8890 * posix/tst-fnmatch.input: Likewise.
8891 * posix/tst-fnmatch2.c: Add new test.
8893 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8895 * elf/Makefile (check-execstack): Revert last change. Depend on
8897 (check-execstack.h): New target.
8898 (generated): Add check-execstack.h.
8899 * elf/check-execstack.c: Include "check-execstack.h".
8900 (main): Revert last change.
8901 (handle_file): Return zero if GNU_STACK is absent and
8902 DEFAULT_STACK_PERMS doesn't include PF_X.
8904 2011-01-13 Ulrich Drepper <drepper@gmail.com>
8906 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8907 in child fails because the descriptor is already closed.
8908 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8909 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8910 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8913 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8917 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8918 temporary buffer used to handle multi lookups locally.
8919 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
8921 2011-01-12 Ulrich Drepper <drepper@gmail.com>
8923 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8926 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8928 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8931 2011-01-12 Ulrich Drepper <drepper@gmail.com>
8934 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8935 characters. When rounding increased number of integer digits recompute
8937 * stdio-common/tst-grouping.c: New file.
8938 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8940 2011-01-09 Ulrich Drepper <drepper@gmail.com>
8942 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8943 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8945 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8947 * bits/select.h: Likewise.
8949 2011-01-08 Ulrich Drepper <drepper@gmail.com>
8951 * po/ja.po: Update from translation team.
8953 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
8956 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8957 implementation just like for lxstat, fxstatat, et al.
8959 2010-12-27 Jim Meyering <meyering@redhat.com>
8962 * posix/regexec.c (build_trtable): Return failure indication upon
8963 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8965 2010-12-25 Ulrich Drepper <drepper@gmail.com>
8968 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8969 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8970 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8971 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8974 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8977 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8978 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8980 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8982 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8983 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8984 script has SORT_BY_INIT_PRIORITY.
8985 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8986 NO_CTORS_DTORS_SECTIONS is defined.
8987 * elf/soinit.c: Likewise.
8988 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8989 NO_CTORS_DTORS_SECTIONS is defined.
8990 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8991 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8992 * sysdeps/sh/init-first.c: Likewise.
8993 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8995 2010-12-24 Ulrich Drepper <drepper@gmail.com>
8997 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8998 always use the slow path.
9000 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9002 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9003 similar rule which adds the sysdep directories to the header search in
9004 order to pick up the correct platform stackinfo.h.
9005 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9006 perform test if it is, otherwise return successfully without testing.
9007 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9008 DEFAULT_STACK_PERMS define in stackinfo.h.
9009 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9010 defined in stackinfo.h.
9011 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9012 DEFAULT_STACK_PERMS defined in stackinfo.h.
9013 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9014 * sysdeps/ia64/stackinfo.h: Likewise.
9015 * sysdeps/s390/stackinfo.h: Likewise.
9016 * sysdeps/sh/stackinfo.h: Likewise.
9017 * sysdeps/sparc/stackinfo.h: Likewise.
9018 * sysdeps/x86_64/stackinfo.h: Likewise.
9019 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9020 PF_X for powerpc64. Retain PF_X for powerpc32.
9022 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9024 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9026 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9027 GETDENTS_64BIT_ALIGNED.
9029 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9031 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9033 2010-12-10 Andreas Schwab <schwab@redhat.com>
9035 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9038 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9039 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9041 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9042 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9044 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9047 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9050 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9052 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9054 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9056 * po/it.po: Update from translation team.
9058 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9060 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9063 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9065 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9067 2010-11-24 Andreas Schwab <schwab@redhat.com>
9069 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9071 (gaih_getanswer_slice): Likewise.
9073 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9075 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9077 2010-05-31 Petr Baudis <pasky@suse.cz>
9080 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9081 silently even in the chroot mode.
9083 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9085 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9086 last patch a bit. Pretty printing
9088 2010-05-31 Petr Baudis <pasky@suse.cz>
9091 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9092 initialization of skip_initgroups_dyn.
9094 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9096 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9097 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9099 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9101 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9103 2010-11-11 Andreas Schwab <schwab@redhat.com>
9105 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9106 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9107 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9108 ($(objpfx)tst-fnmatch-mem): New rule.
9109 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9110 * posix/tst-fnmatch.c (main): Call mtrace.
9112 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9114 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9115 Support Intel processor model 6 and model 0x2c.
9117 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9119 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9122 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9125 * string/test-strncasecmp.c (check_result): New function.
9126 (do_one_test): Use it.
9127 (check1): New function.
9128 (test_main): Use it.
9129 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9130 Support strcasecmp and strncasecmp.
9132 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9135 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9136 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9138 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9140 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9144 * sysdeps/x86_64/multiarch/bzero.S: New file.
9145 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9146 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9147 * sysdeps/x86_64/multiarch/memset.S: New file.
9148 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9150 Set bit_Prefer_SSE_for_memop for Intel processors.
9151 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9153 (index_Prefer_SSE_for_memop): Define.
9154 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9156 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9158 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9159 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9161 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9164 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9165 (__x86_64_raw_data_cache_size_half): Likewise.
9166 (__x86_64_raw_shared_cache_size): Likewise.
9167 (__x86_64_raw_shared_cache_size_half): Likewise.
9169 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9170 (__x86_64_raw_data_cache_size_half): Likewise.
9171 (__x86_64_raw_shared_cache_size): Likewise.
9172 (__x86_64_raw_shared_cache_size_half): Likewise.
9173 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9174 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9175 and __x86_64_raw_shared_cache_size_half. Round
9176 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9177 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9178 to multiple of 256 bytes.
9180 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9183 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9184 of inacessible symlinks. Verify result of symlink before returning it.
9185 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9186 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9188 2010-10-28 Erich Ritz <erichritz@gmail.com>
9190 * math/math.h (isinf): Fix typo in comment.
9192 2010-11-01 Ulrich Drepper <drepper@gmail.com>
9194 * po/da.po: Update from translation team.
9196 2010-10-26 Ulrich Drepper <drepper@gmail.com>
9198 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9199 is added to the list.
9201 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9202 Ulrich Drepper <drepper@gmail.com>
9204 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9205 the global list here. Move code to...
9206 (_dl_add_to_namespace_list): ...here. New function.
9207 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9208 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9209 * elf/dl-load.c (lose): Don't remove the element from the list.
9210 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9211 (_dl_map_object): Likewise.
9213 2010-10-25 Ulrich Drepper <drepper@gmail.com>
9216 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9217 into all bytes of SSE register.
9218 Patch by Richard Li <richardpku@gmail.com>.
9220 2010-10-24 Ulrich Drepper <drepper@gmail.com>
9223 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9226 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9228 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9229 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9230 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9231 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9236 2010-10-22 Andreas Schwab <schwab@redhat.com>
9238 * include/dlfcn.h (__RTLD_SECURE): Define.
9239 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9240 mode & __RTLD_SECURE instead.
9241 (open_path): Rename preloaded parameter to secure.
9242 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9243 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9244 * elf/dl-deps.c (openaux): Likewise.
9245 * elf/rtld.c (struct map_args): Remove is_preloaded.
9246 (map_doit): Don't use it.
9247 (dl_main): Likewise.
9248 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9249 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9251 2010-09-09 Andreas Schwab <schwab@redhat.com>
9253 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9254 (sysd-rules-targets): Remove duplicates.
9255 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9256 rtld-%.$o dependency.
9258 2010-10-18 Andreas Schwab <schwab@redhat.com>
9260 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9261 _dl_map_object do it.
9263 2010-10-19 Ulrich Drepper <drepper@gmail.com>
9265 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9266 fast fma builtins, define the macros in the C99 standard.
9267 (FP_FAST_FMAF): Likewise.
9268 (FP_FAST_FMAL): Likewise.
9269 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9271 * bits/mathdef.h: Update copyright year.
9272 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9274 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9276 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9277 builtins, define the macros in the C99 standard.
9278 (FP_FAST_FMAF): Likewise.
9279 (FP_FAST_FMAL): Likewise.
9280 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9282 (FP_FAST_FMAF): Likewise.
9284 2010-10-15 Jakub Jelinek <jakub@redhat.com>
9287 * math/libm-test.inc (fma_test): Some new testcases.
9288 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9289 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9290 y and infinite z. Do multiplication by C already in long double.
9291 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9292 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9293 y and infinite z. Do bitwise or of inexact bit into u.d.
9294 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9295 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9296 * sysdeps/i386/fpu/s_fma.S: Removed.
9297 * sysdeps/i386/fpu/s_fmal.S: Removed.
9299 2010-10-16 Jakub Jelinek <jakub@redhat.com>
9302 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9304 computation is not scheduled after fetestexcept. Fix value
9305 of minimum denormal long double.
9307 2010-10-14 Jakub Jelinek <jakub@redhat.com>
9310 * math/libm-test.inc (fma_test): Add some more tests.
9311 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9314 2010-10-15 Andreas Schwab <schwab@redhat.com>
9316 * scripts/data/localplt-s390-linux-gnu.data: New file.
9317 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9319 2010-10-13 Jakub Jelinek <jakub@redhat.com>
9322 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9323 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9325 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9327 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9329 if one of x and y is very large and the other is subnormal.
9330 * sysdeps/s390/fpu/s_fmaf.c: New file.
9331 * sysdeps/s390/fpu/s_fma.c: New file.
9332 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9333 * sysdeps/powerpc/fpu/s_fma.S: New file.
9334 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9335 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9336 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9338 2010-10-12 Jakub Jelinek <jakub@redhat.com>
9341 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9343 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9344 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9345 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9346 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9347 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9348 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9349 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9351 2010-10-12 Ulrich Drepper <drepper@redhat.com>
9354 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9355 * posix/bug-regex31.input: Add test case.
9357 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9359 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9360 * posix/bug-regex31.input: New file.
9363 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9364 (parse_sub_exp): Fix last change, use postorder.
9366 * posix/bug-regex31.c: New file.
9367 * posix/Makefile: Add rules to build and run bug-regex31.
9369 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9372 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9375 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9376 to have entries in sys_siglist.
9379 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9382 2010-10-07 Jakub Jelinek <jakub@redhat.com>
9385 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9386 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9387 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9388 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9389 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9390 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9391 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9392 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9393 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9394 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9395 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9396 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9397 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9398 * math/ftestexcept.c (fetestexcept): Likewise.
9399 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9400 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9401 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9402 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9403 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9404 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9405 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9407 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9410 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9413 2010-10-06 Ulrich Drepper <drepper@gmail.com>
9415 * string/bug-strstr1.c: New file.
9416 * string/Makefile: Add rules to build and run bug-strstr1.
9418 2010-10-05 Eric Blake <eblake@redhat.com>
9421 * string/str-two-way.h (two_way_long_needle): Always clear memory
9422 when skipping input due to the shift table.
9424 2010-10-03 Ulrich Drepper <drepper@gmail.com>
9427 * malloc/mcheck.c: Handle large requests.
9430 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9431 for strncmp and strncasecmp.
9432 * string/stratcliff.c: Add tests for strcmp and strncmp.
9433 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9435 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9437 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9440 2010-09-30 Andreas Jaeger <aj@suse.de>
9442 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9443 (CGROUP_SUPER_MAGIC): Define.
9444 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9445 Handle btrfs and cgroup file systems.
9446 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9449 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
9451 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9452 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9454 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9457 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9458 trying to locate the ELF header.
9460 2010-09-27 Andreas Schwab <schwab@redhat.com>
9463 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9464 Mask out sign-bit copies when constructing f_fsid.
9466 2010-09-24 Petr Baudis <pasky@suse.cz>
9468 * debug/stack_chk_fail_local.c: Add missing licence exception.
9469 * debug/warning-nop.c: Likewise.
9471 2010-09-15 Joseph Myers <joseph@codesourcery.com>
9473 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9474 implementing getdents64 using getdents syscall, set d_type if
9475 __ASSUME_GETDENTS32_D_TYPE.
9477 2010-09-16 Andreas Schwab <schwab@redhat.com>
9479 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9480 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9482 2010-09-21 Ulrich Drepper <drepper@redhat.com>
9485 * posix/unistd.h: Undo change of feature selection for ftruncate from
9488 2010-09-20 Ulrich Drepper <drepper@redhat.com>
9490 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
9493 2010-09-20 Andreas Schwab <schwab@redhat.com>
9495 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9497 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9499 2010-09-14 Andreas Schwab <schwab@redhat.com>
9501 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9502 variables after CHECK_SP call.
9503 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9505 2010-09-13 Andreas Schwab <schwab@redhat.com>
9506 Ulrich Drepper <drepper@redhat.com>
9508 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9509 re-relocationg ld.so.
9510 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9511 _dl_init_paths call.
9512 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9515 2010-09-14 Ulrich Drepper <drepper@redhat.com>
9517 * resolv/res_init.c (__res_vinit): Count the default server we added.
9519 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9520 Ulrich Drepper <drepper@redhat.com>
9523 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9524 (____longjmp_chk): Use %ebx for saving value across system call.
9527 2010-09-06 Andreas Schwab <schwab@redhat.com>
9529 * manual/Makefile: Don't mix pattern rules with normal rules.
9531 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9533 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9535 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9536 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9537 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9538 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9539 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9542 2010-09-04 Ulrich Drepper <drepper@redhat.com>
9545 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9546 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9548 2010-09-02 Ulrich Drepper <drepper@redhat.com>
9550 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9551 * sysdeps/x86_64/addmul_1.S: Likewise.
9552 * sysdeps/x86_64/lshift.S: Likewise.
9553 * sysdeps/x86_64/mul_1.S: Likewise.
9554 * sysdeps/x86_64/rshift.S: Likewise.
9555 * sysdeps/x86_64/sub_n.S: Likewise.
9556 * sysdeps/x86_64/submul_1.S: Likewise.
9558 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9560 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9561 Define __sched_param instead of SCHED_* and sched_param when
9562 <bits/sched.h> is included with __need_schedparam defined.
9563 * bits/sched.h [__need_schedparam]
9564 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
9565 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9566 (__defined_schedparam): Define to 1.
9567 (__sched_param): New structure, identical to sched_param.
9568 (__need_schedparam): Undefine.
9570 2010-08-31 Mike Frysinger <vapier@gentoo.org>
9572 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9573 (epoll_create1): Declare.
9575 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9577 2010-08-31 Andreas Schwab <schwab@redhat.com>
9580 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9581 shifting retval into place.
9583 2010-09-01 Ulrich Drepper <drepper@redhat.com>
9585 * nis/rpcsvc/nis.h: Update copyright notice.
9586 * nis/rpcsvc/nis.x: Likewise.
9587 * nis/rpcsvc/nis_callback.h: Likewise.
9588 * nis/rpcsvc/nis_callback.x: Likewise.
9589 * nis/rpcsvc/nis_object.x: Likewise.
9590 * nis/rpcsvc/nis_tags.h: Likewise.
9591 * nis/rpcsvc/yp.h: Likewise.
9592 * nis/rpcsvc/yp.x: Likewise.
9593 * nis/rpcsvc/ypupd.h: Likewise.
9594 * nis/yp_xdr.c: Likewise.
9595 * nis/ypupdate_xdr.c: Likewise.
9597 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9598 mainly the body of pmap_getport. Add parameters to specify timeouts.
9599 (pmap_getport): Use __libc_rpc_getport.
9600 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9601 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9602 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9604 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9609 2010-08-27 Roland McGrath <roland@redhat.com>
9611 * sysdeps/i386/i686/multiarch/Makefile
9612 (CFLAGS-varshift.c): New variable.
9614 2010-08-27 Ulrich Drepper <drepper@redhat.com>
9616 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9617 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9619 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9621 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9623 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9625 * sysdeps/x86_64/strlen.S: Unroll the loop.
9626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9627 strlen-sse2 strlen-sse2-bsf.
9628 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9629 __strlen_no_bsf if bit_Slow_BSF is set.
9630 (__strlen_sse42): Removed.
9631 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9632 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9634 2010-08-25 Roland McGrath <roland@redhat.com>
9636 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9637 * sysdeps/x86_64/multiarch/varshift.c: New file.
9638 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9639 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9640 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9641 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9643 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9646 strlen-sse2 strlen-sse2-bsf.
9647 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9648 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9649 (__strlen_sse2): Removed.
9650 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9651 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9653 bit_Slow_BSF for Atom.
9654 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9655 (index_Slow_BSF): Define.
9656 (HAS_SLOW_BSF): Define.
9658 2010-08-25 Ulrich Drepper <drepper@redhat.com>
9661 * resolv/res_init.c (__res_vinit): When no server address at all
9662 is given default to loopback.
9664 2010-08-24 Roland McGrath <roland@redhat.com>
9666 * configure.in: Remove config-name.h generation.
9667 * configure: Regenerated.
9668 * config-name.in: File removed.
9669 * scripts/config-uname.sh: New file.
9670 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9671 ($(objdir)config-name.h): New target.
9673 * sunrpc/rpc_parse.h: Avoid nested comment.
9675 2010-08-24 Richard Henderson <rth@redhat.com>
9676 Ulrich Drepper <drepper@redhat.com>
9677 H.J. Lu <hongjiu.lu@intel.com>
9679 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9681 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9682 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9683 _mm_alignr_epi8 with _mm_loadu_si128.
9684 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9685 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9686 (__m128i_shift_right): Removed.
9687 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9688 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9689 * sysdeps/x86_64/multiarch/varshift.h: New file.
9690 * sysdeps/x86_64/multiarch/varshift.S: New file.
9692 2010-08-21 Mike Frysinger <vapier@gentoo.org>
9694 * configure.in: Move assembler checks to before sysdep dir checking.
9696 2010-08-20 Petr Baudis <pasky@suse.cz>
9698 * LICENSES: Sync the sunrpc license.
9700 2010-08-19 Ulrich Drepper <drepper@redhat.com>
9702 * sunrpc/auth_des.c: Update copyright notice once again.
9703 * sunrpc/auth_none.c: Likewise.
9704 * sunrpc/auth_unix.c: Likewise.
9705 * sunrpc/authdes_prot.c: Likewise.
9706 * sunrpc/authuxprot.c: Likewise.
9707 * sunrpc/bindrsvprt.c: Likewise.
9708 * sunrpc/clnt_gen.c: Likewise.
9709 * sunrpc/clnt_perr.c: Likewise.
9710 * sunrpc/clnt_raw.c: Likewise.
9711 * sunrpc/clnt_simp.c: Likewise.
9712 * sunrpc/clnt_tcp.c: Likewise.
9713 * sunrpc/clnt_udp.c: Likewise.
9714 * sunrpc/clnt_unix.c: Likewise.
9715 * sunrpc/des_crypt.c: Likewise.
9716 * sunrpc/des_soft.c: Likewise.
9717 * sunrpc/get_myaddr.c: Likewise.
9718 * sunrpc/getrpcport.c: Likewise.
9719 * sunrpc/key_call.c: Likewise.
9720 * sunrpc/key_prot.c: Likewise.
9721 * sunrpc/openchild.c: Likewise.
9722 * sunrpc/pm_getmaps.c: Likewise.
9723 * sunrpc/pm_getport.c: Likewise.
9724 * sunrpc/pmap_clnt.c: Likewise.
9725 * sunrpc/pmap_prot.c: Likewise.
9726 * sunrpc/pmap_prot2.c: Likewise.
9727 * sunrpc/pmap_rmt.c: Likewise.
9728 * sunrpc/rpc/auth.h: Likewise.
9729 * sunrpc/rpc/auth_unix.h: Likewise.
9730 * sunrpc/rpc/clnt.h: Likewise.
9731 * sunrpc/rpc/des_crypt.h: Likewise.
9732 * sunrpc/rpc/key_prot.h: Likewise.
9733 * sunrpc/rpc/netdb.h: Likewise.
9734 * sunrpc/rpc/pmap_clnt.h: Likewise.
9735 * sunrpc/rpc/pmap_prot.h: Likewise.
9736 * sunrpc/rpc/pmap_rmt.h: Likewise.
9737 * sunrpc/rpc/rpc.h: Likewise.
9738 * sunrpc/rpc/rpc_des.h: Likewise.
9739 * sunrpc/rpc/rpc_msg.h: Likewise.
9740 * sunrpc/rpc/svc.h: Likewise.
9741 * sunrpc/rpc/svc_auth.h: Likewise.
9742 * sunrpc/rpc/types.h: Likewise.
9743 * sunrpc/rpc/xdr.h: Likewise.
9744 * sunrpc/rpc_clntout.c: Likewise.
9745 * sunrpc/rpc_cmsg.c: Likewise.
9746 * sunrpc/rpc_common.c: Likewise.
9747 * sunrpc/rpc_cout.c: Likewise.
9748 * sunrpc/rpc_dtable.c: Likewise.
9749 * sunrpc/rpc_hout.c: Likewise.
9750 * sunrpc/rpc_main.c: Likewise.
9751 * sunrpc/rpc_parse.c: Likewise.
9752 * sunrpc/rpc_parse.h: Likewise.
9753 * sunrpc/rpc_prot.c: Likewise.
9754 * sunrpc/rpc_sample.c: Likewise.
9755 * sunrpc/rpc_scan.c: Likewise.
9756 * sunrpc/rpc_scan.h: Likewise.
9757 * sunrpc/rpc_svcout.c: Likewise.
9758 * sunrpc/rpc_tblout.c: Likewise.
9759 * sunrpc/rpc_util.c: Likewise.
9760 * sunrpc/rpc_util.h: Likewise.
9761 * sunrpc/rpcinfo.c: Likewise.
9762 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9763 * sunrpc/rpcsvc/key_prot.x: Likewise.
9764 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9765 * sunrpc/rpcsvc/mount.x: Likewise.
9766 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9767 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9768 * sunrpc/rpcsvc/rex.x: Likewise.
9769 * sunrpc/rpcsvc/rstat.x: Likewise.
9770 * sunrpc/rpcsvc/rusers.x: Likewise.
9771 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9772 * sunrpc/rpcsvc/spray.x: Likewise.
9773 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9774 * sunrpc/rtime.c: Likewise.
9775 * sunrpc/svc.c: Likewise.
9776 * sunrpc/svc_auth.c: Likewise.
9777 * sunrpc/svc_authux.c: Likewise.
9778 * sunrpc/svc_raw.c: Likewise.
9779 * sunrpc/svc_run.c: Likewise.
9780 * sunrpc/svc_simple.c: Likewise.
9781 * sunrpc/svc_tcp.c: Likewise.
9782 * sunrpc/svc_udp.c: Likewise.
9783 * sunrpc/svc_unix.c: Likewise.
9784 * sunrpc/svcauth_des.c: Likewise.
9785 * sunrpc/xcrypt.c: Likewise.
9786 * sunrpc/xdr.c: Likewise.
9787 * sunrpc/xdr_array.c: Likewise.
9788 * sunrpc/xdr_float.c: Likewise.
9789 * sunrpc/xdr_mem.c: Likewise.
9790 * sunrpc/xdr_rec.c: Likewise.
9791 * sunrpc/xdr_ref.c: Likewise.
9792 * sunrpc/xdr_sizeof.c: Likewise.
9793 * sunrpc/xdr_stdio.c: Likewise.
9795 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9798 2010-08-19 Andreas Schwab <schwab@redhat.com>
9800 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9802 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
9804 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9805 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9806 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9807 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9808 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9809 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9810 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9811 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9812 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9813 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9814 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9815 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9816 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9817 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9819 2010-07-26 Anton Blanchard <anton@samba.org>
9821 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9822 * malloc/arena.c (heap_trim): Likewise.
9824 2010-08-16 Ulrich Drepper <drepper@redhat.com>
9826 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9829 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9831 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9833 * sysdeps/i386/elf/Makefile: New file.
9835 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9837 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9839 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9840 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9842 2010-08-15 Ulrich Drepper <drepper@redhat.com>
9844 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9846 * sysdeps/multiarch/strcmp.S: Likewise.
9848 2010-08-14 Ulrich Drepper <drepper@redhat.com>
9850 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9851 strncase_l-nonascii.
9852 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9853 Add strncase_l-ssse3.
9854 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9855 * sysdeps/x86_64/strcmp.S: Likewise.
9856 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9857 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9858 * sysdeps/x86_64/strncase.S: New file.
9859 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9860 * sysdeps/x86_64/strncase_l.S: New file.
9861 * string/Makefile (strop-tests): Add strncasecmp.
9862 * string/test-strncasecmp.c: New file.
9864 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9867 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9868 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9870 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9872 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9874 2010-08-12 Ulrich Drepper <drepper@redhat.com>
9876 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9877 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9878 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9880 2010-05-01 Alan Modra <amodra@gmail.com>
9882 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9883 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9884 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9885 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9886 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9887 tidying. Don't tail-call __sigjmp_save for static lib.
9888 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9890 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9891 (CALL_MCOUNT): Add eh info, and nop after bl.
9892 (TAIL_CALL_SYSCALL_ERROR): New macro.
9893 (PSEUDO_RET): Use it.
9894 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9895 Correct save location of integer regs and cr.
9896 (_dl_profile_resolve): Correct cr save location. Delete nops
9897 after bl when SHARED. Reduce cfi size a little by better
9898 placement of cfi directives.
9899 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9900 make a stack frame. Instead use parm save area as a temp.
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9902 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9904 Don't make a stack frame for parent, use parm save area.
9905 Increase child stack frame to 112 bytes. Don't save unused reg,
9906 and adjust reg usage. Set up cfi on error recovery and
9907 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9909 (__makecontext): Add dummy nop after jump to exit.
9910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9911 Use correct parm save area and cr save, reduce stack frame.
9912 Correct cfi for possible PSEUDO_RET frame setup.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9914 Branch to local label emitted by PSEUDO_RET rather than
9917 2010-08-12 Andreas Schwab <schwab@redhat.com>
9920 * locale/programs/locale.c (print_assignment): New function.
9921 (show_locale_vars): Use it.
9923 2010-08-11 Ulrich Drepper <drepper@redhat.com>
9925 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9927 (struct statfs64): Likewise.
9928 (_STATFS_F_FLAGS): Define.
9929 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9930 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9931 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9932 (ST_VALID): Define locally.
9933 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9934 __statvfs_getflags, use the provided value.
9935 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9936 __ASSUME_STATFS_F_FLAGS.
9938 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9940 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9942 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9943 fanotify_mask for GLIBC_2.13.
9944 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9945 fanotify_init and fanotify_mark.
9946 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9947 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9949 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9951 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9952 prlimit64 for GLIBC_2.13.
9953 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9955 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9958 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9959 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9960 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9961 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9963 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9966 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9967 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9969 * nss/Makefile: Add rules to build and run tst-nss-test1.
9970 * shlib-versions: Add entry for libnss_test1.
9971 * nss/nss_test1.c: New file.
9972 * nss/tst-nss-test1.c: New file.
9974 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9975 (__nss_configure_lookup): Set appropriate entry in
9976 __nss_configure_lookup to true.
9977 * nss/nsswitch.h: Define enum with indeces of databases in
9978 databases and __nss_database_custom arrays. Declare
9979 __nss_database_custom.
9980 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9981 to avoid using nscd when custom rules are installed.
9982 * nss/getXXbyYY_r.c: Likewise.
9983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9985 * nss/nss_files/files-parse.c: Whitespace fixes.
9987 2010-08-09 Ulrich Drepper <drepper@redhat.com>
9990 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9991 * posix/fnmatch_loop.c: Likewise.
9993 2010-07-17 Andi Kleen <ak@linux.intel.com>
9995 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9996 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9997 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9998 * Versions.def [GLIBC_2.13]: Add.
10000 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10002 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10003 Also fail if tpwd after pwuid call is NULL.
10005 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10007 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10008 when converting to ms.
10010 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10012 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10013 EOPNOTSUPP errors with ENOTTY.
10014 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10015 EOPNOTSUPP errors with ENOTTY.
10017 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10019 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10020 Add strcasecmp_l-ssse3.
10021 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10023 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10024 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10025 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10027 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10029 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10031 * string/Makefile (strop-tests): Add strcasecmp.
10032 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10033 strcasecmp_l-nonascii.
10034 (gen-as-const-headers): Add locale-defines.sym.
10035 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10036 * sysdeps/x86_64/strcasecmp.S: New file.
10037 * sysdeps/x86_64/strcasecmp_l.S: New file.
10038 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10039 * sysdeps/x86_64/locale-defines.sym: New file.
10040 * string/test-strcasecmp.c: New file.
10042 * string/test-strcasestr.c: Test both ends of the range of characters.
10043 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10045 2010-07-29 Roland McGrath <roland@redhat.com>
10048 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10050 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10052 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10055 2010-07-27 Andreas Schwab <schwab@redhat.com>
10057 * manual/memory.texi (Malloc Tunable Parameters): Document
10060 2010-07-26 Roland McGrath <roland@redhat.com>
10063 * configure.in (-fgnu89-inline check): Set and substitute
10064 gnu89_inline, not libc_cv_gnu89_inline.
10065 * configure: Regenerated.
10066 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10068 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10070 * string/test-strnlen.c: New file.
10071 * string/Makefile (strop-tests): Add strnlen.
10072 * string/tester.c (test_strnlen): Add a few more test cases.
10073 * string/tst-strlen.c: Better error reporting.
10075 * sysdeps/x86_64/strnlen.S: New file.
10077 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10079 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10080 lower-latency instructions.
10082 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10084 * string/test-strcasestr.c: New file.
10085 * string/test-strstr.c: New file.
10086 * string/Makefile (strop-tests): Add strstr and strcasestr.
10087 * string/str-two-way.h: Don't undefine MAX.
10088 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10090 2010-07-21 Andreas Schwab <schwab@redhat.com>
10092 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10093 strcasestr-nonascii.
10094 (CFLAGS-strcasestr-nonascii.c): Define.
10095 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10096 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10097 Remove unused attribute.
10099 2010-07-20 Roland McGrath <roland@redhat.com>
10101 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10102 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10103 ld.so.cache was broken. With it, there is no way to disable dsocaps
10104 like LD_HWCAP_MASK can disable hwcaps.
10106 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10108 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10110 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10112 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10113 call in strcasestr.
10114 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10115 __strcasestr_sse42_nonascii.
10116 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10117 strcasestr-nonascii.c.
10118 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10120 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10122 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10123 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10124 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10125 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10127 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10129 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10132 2010-07-06 Andreas Schwab <schwab@redhat.com>
10135 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10138 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10140 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10141 _PC_PIPE_BUF using F_GETPIPE_SZ.
10143 2010-07-05 Roland McGrath <roland@redhat.com>
10145 * manual/arith.texi (Rounding Functions): Fix rint description
10146 implicit in round description.
10148 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10150 * elf/Makefile: Fix linking for a few tests to make recent linker
10153 2010-06-30 Andreas Schwab <schwab@redhat.com>
10155 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10156 $(common-objpfx)libc_nonshared.a.
10158 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10160 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10161 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10162 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10163 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10164 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10165 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10166 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10167 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10182 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10183 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10184 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10185 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10186 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10187 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10188 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10189 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10190 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10191 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10192 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10193 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10209 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10211 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10212 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10213 * string/memmove.c (memmove): Renamed to ...
10214 (MEMMOVE): ...this. Default to memmove.
10215 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10216 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10219 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10220 mempcpy-ssse3-back memmove-ssse3-back.
10221 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10222 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10223 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10224 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10225 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10226 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10227 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10228 * sysdeps/x86_64/multiarch/memmove.c: New file.
10229 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10230 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10231 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10232 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10233 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10234 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10236 (index_Fast_Copy_Backward): Define.
10237 (HAS_ARCH_FEATURE): Define.
10238 (HAS_FAST_REP_STRING): Define.
10239 (HAS_FAST_COPY_BACKWARD): Define.
10241 2010-06-21 Andreas Schwab <schwab@redhat.com>
10243 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10244 Restore proper fallback handling.
10246 2010-06-19 Ulrich Drepper <drepper@redhat.com>
10249 * posix/group_member.c (__group_member): Correct checking loop.
10251 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10252 OOM in getpwuid_r correctly. Return error number when the caller
10253 should return, otherwise -1.
10254 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10255 call returning > 0 value.
10256 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10258 2010-06-07 Andreas Schwab <schwab@redhat.com>
10260 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10261 libc_nonshared.a from targets in modules-names.
10263 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10265 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10268 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
10270 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10271 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10272 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10273 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10275 2010-06-02 Andreas Schwab <schwab@redhat.com>
10277 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10279 2010-06-14 Ulrich Drepper <drepper@redhat.com>
10281 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10283 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10285 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10286 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10287 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10288 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10290 2010-06-14 Roland McGrath <roland@redhat.com>
10292 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10294 2010-06-07 Jakub Jelinek <jakub@redhat.com>
10296 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10297 __REDIRECT followed by __THROW.
10298 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10299 * posix/getopt.h (getopt): Likewise.
10301 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10303 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10304 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10305 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10307 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10308 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10310 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
10312 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10314 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10317 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10318 Properly check family and model.
10320 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10322 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10324 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
10326 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10328 2010-05-21 Ulrich Drepper <drepper@redhat.com>
10330 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10333 2010-05-19 Andreas Schwab <schwab@redhat.com>
10335 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10338 2010-05-21 Andreas Schwab <schwab@redhat.com>
10340 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10341 and internal_recvmmsg.
10342 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10343 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10344 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10345 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10347 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10348 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10349 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10351 2010-05-20 Andreas Schwab <schwab@redhat.com>
10353 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10355 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
10357 POWER7 optimizations.
10358 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10359 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10361 2010-05-19 Ulrich Drepper <drepper@redhat.com>
10363 * version.h: Update for 2.13 development version.
10365 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
10367 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10368 exceptions. Return 0.
10370 2010-05-07 Roland McGrath <roland@redhat.com>
10372 * elf/ldconfig.c (main): Add a const.
10374 2010-05-06 Ulrich Drepper <drepper@redhat.com>
10376 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10377 (args_options): Add no-idn option.
10378 (ahosts_keys_int): Add idn_flags to ai_flags.
10379 (parse_option): Handle 'i' option to clear idn_flags.
10381 * malloc/malloc.c (_int_free): Possible race in the most recently
10382 added check. Only act on the data if no current modification
10385 See ChangeLog.17 for earlier changes.