1 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5 (__lround): Renamed to ...
6 (__llround): This. Replace long int with long long int.
7 Define lround functions as aliases of llround functions.
8 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
10 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
12 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
14 adresses to uintptr_t. Replace "long int" and "unsigned long
15 int" with "greg_t" on va_arg.
17 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
19 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
20 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
22 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23 Move e_machine check before EI_CLASS check. Handle x32
24 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26 SKIP_EM_IA_64 and include
27 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
29 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31 (add_system_dir): New macro.
33 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49 * math/w_j0f.c (j0f): Likewise.
51 * math/w_j0l.c (__j0l): Likewise.
53 * math/w_j1.c (j1): Likewise.
55 * math/w_j1f.c (j1f): Likewise.
57 * math/w_j1l.c (__j1l): Likewise.
59 * math/w_jn.c (jn): Likewise.
61 * math/w_jnf.c (jnf): Likewise.
63 * math/w_jnl.c (__jnl): Likewise.
65 * math/libm-test.inc (j0_test): Add more tests.
67 (jn_test): Likewise. Add trailing semicolon to existing test.
70 * sysdeps/i386/fpu/libm-test-ulps: Update.
71 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
76 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
77 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
78 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
79 (__tanl): Set errno for infinite argument.
80 * sysdeps/i386/fpu/mptan.c: Remove.
81 * sysdeps/i386/fpu/s_tan.S: Likewise.
82 * sysdeps/i386/fpu/s_tanl.S: Likewise.
83 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
84 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
85 * math/libm-test.inc (tan_test): Add more tests and enable more
86 tests for double and long double.
87 * sysdeps/i386/fpu/libm-test-ulps: Update.
88 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
90 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
92 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
93 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
95 2012-03-16 Roland McGrath <roland@hack.frob.com>
97 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
98 * configure.in: Use it for both main tree and add-ons.
99 * configure: Regenerated.
101 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
103 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
105 2012-03-16 Joseph Myers <joseph@codesourcery.com>
107 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
111 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
112 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
113 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
114 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
115 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
117 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
118 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
120 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
121 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
122 * sysdeps/i386/fpu/s_cosl.S: Likewise.
123 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
124 * sysdeps/i386/fpu/s_sinl.S: Likewise.
125 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
126 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
127 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
128 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
129 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
130 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
131 * math/libm-test.inc (cos_test): Add more tests and enable more
132 tests for long double.
133 (sin_test): Likewise.
134 (sincos_test): Likewise.
135 * sysdeps/i386/fpu/libm-test-ulps: Update.
136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
138 2012-03-16 David S. Miller <davem@davemloft.net>
140 * sysdeps/sparc/fpu/math_private.h: New file.
142 2012-03-15 David S. Miller <davem@davemloft.net>
144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
154 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
158 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
159 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
161 * sysdeps/sparc/sparc-ifunc.h: New file.
162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
188 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
189 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
190 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
200 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
201 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
202 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
203 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
204 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
207 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
209 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
211 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
213 2012-03-15 Andreas Jaeger <aj@suse.de>
216 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
217 ieee754/flt-32 implementation for sin, cos and sincos.
218 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
219 * sysdeps/i386/fpu/s_cosf.S: Likewise.
220 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
221 * sysdeps/i386/fpu/s_sinf.S: Likewise.
222 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
223 ieee754/flt-32 implementation for tan.
225 * math/libm-test.inc (cos_test): Enable some large input tests for
227 (sin_test): Likewise.
228 (sincos_test): Likewise.
229 (tan_test): Add tests for large input.
231 * sysdeps/i386/fpu/libm-test-ulps: Update.
233 2012-03-15 Andreas Jaeger <aj@suse.de>
236 * math/libm-test.inc (cos_test): Add more test cases.
237 (sin_test): Likewise.
238 (sincos_test): Likewise.
240 2012-03-15 Andreas Jaeger <aj@suse.de>
243 * math/libm-test.inc (cos_test): Add a test case for large input
245 (sin_test): Likewise.
246 (sincos_test): Likewise.
248 2012-03-15 Andreas Jaeger <aj@suse.de>,
249 Joseph Myers <joseph@codesourcery.com>
252 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
253 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
254 * sysdeps/i386/fpu/branred.c: Likewise.
255 * sysdeps/i386/fpu/dosincos.c: Likewise.
256 * sysdeps/i386/fpu/mpa.c: Likewise.
257 * sysdeps/i386/fpu/s_cos.S: Likewise.
258 * sysdeps/i386/fpu/s_sin.S: Likewise.
259 * sysdeps/i386/fpu/s_sincos.S: Likewise.
260 * sysdeps/i386/fpu/sincos32.c: Likewise.
262 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
264 (libc_feupdateenv_53bit): Define.
265 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
267 (libc_feupdateenv_53bit): Define.
269 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
270 53 bit (without extend i386 double precision).
272 * math/libm-test.inc (sincos_test): Add tests for large input.
276 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
278 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
282 2012-03-15 David S. Miller <davem@davemloft.net>
284 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
285 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
286 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
287 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
292 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
293 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
311 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
312 fmin/fmax sysdep routines.
313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
315 2012-03-14 David S. Miller <davem@davemloft.net>
317 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
318 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
321 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
322 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
323 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
326 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
329 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
330 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
337 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
338 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
340 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
341 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
342 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
344 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
345 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
389 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
394 * sysdeps/sparc/configure.in: New file.
395 * sysdeps/sparc/configure: Generate.
396 * configure.in (libc_cv_sparc_as_vis3): Substitute.
397 * configure: Regenerate.
398 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
399 * config.make.in (have-as-vis3): New.
400 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
401 available use -Av9d instead of -Av9a.
402 * sysdeps/sparc/sparc64/Makefile: Likewise.
403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
412 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
413 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
414 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
416 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
418 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
419 fzeros/fnegs to load 0x80000000 into a float register instead of
421 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
423 2012-03-14 Joseph Myers <joseph@codesourcery.com>
425 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
427 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
428 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
429 ($(inst_includedir)/bits/syscall.h): Remove rule.
430 ($(objpfx)bits/syscall.d): Include instead of
431 $(objpfx)syscall-list.d.
432 (generated): Change syscall-list.h and syscall-list.d to
433 bits/syscall.h and bits/syscall.d.
435 2012-03-14 Roland McGrath <roland@hack.frob.com>
438 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
440 2012-03-14 Joseph Myers <joseph@codesourcery.com>
443 * math/s_csqrt.c: Include <float.h>.
444 (__csqrt): Scale large or subnormal inputs.
445 * math/s_csqrtf.c: Likewise.
446 * math/s_csqrtl.c: Likewise.
447 * math/libm-test.inc (csqrt_test): Add more tests.
448 * sysdeps/i386/fpu/libm-test-ulps: Update.
449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
452 * math/libm-test.inc (hypot_test): Add more tests.
454 2012-03-13 David S. Miller <davem@davemloft.net>
457 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
458 double-precision for the calculation instead of scaling.
460 2012-03-13 Joseph Myers <joseph@codesourcery.com>
462 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
463 manipulate bits before adding and subtracting TWO52[sx].
464 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
465 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
467 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
469 2012-03-13 David S. Miller <davem@davemloft.net>
471 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
472 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
473 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
474 rtld-global-offsets.h
475 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
477 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
480 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
482 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
483 'err' in the ifdef scope in which it is actually used.
485 * nss/nss_db/db-init.c: Include string.h
487 2012-03-12 David S. Miller <davem@davemloft.net>
489 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
490 masking out of the most significant byte of random value used.
491 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
492 Fix coding style in previous change.
494 * sysdeps/unix/sysv/linux/kernel-features.h
495 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
496 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
498 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
501 2012-03-11 David S. Miller <davem@davemloft.net>
503 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
504 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
505 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
506 for 'resultvar' otherwise things get truncated on 64-bit.
508 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
509 Fix masking out of the most significant byte of random value used.
511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
513 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
515 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
517 2012-03-09 David S. Miller <davem@davemloft.net>
519 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
520 variables with appropriate CPP guards.
521 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
522 frame pointer, not the stack pointer. Correct layout comments. Fix test
523 on resulting framesize and the management of the outregs buffer for pltexit.
524 Preserve floating point return values across _dl_call_pltexit call.
525 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
526 framesize and the management of the outregs buffer for pltexit.
527 Preserve floating point return values across _dl_call_pltexit
529 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
530 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
531 (print_exit): Fix format string for return register value.
533 2012-03-10 Joseph Myers <joseph@codesourcery.com>
535 * sunrpc/Makefile (others): Add rpcgen.
536 ($(objpfx)rpcgen): Remove special build rule and dependency on
538 * sunrpc/rpcgen.c: New file.
540 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
543 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
544 * stdio-common/bug-vfprintf-nargs.c: Likewise.
545 * sysdeps/i386/crti.S: Likewise.
546 * sysdeps/i386/crtn.S: Likewise.
547 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
548 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
549 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
550 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
551 * sysdeps/sh/crti.S: Likewise.
552 * sysdeps/sh/crtn.S: Likewise.
553 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
556 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
558 * locale/programs/locfile-kw.gperf: Likewise.
559 * locale/programs/charmap-kw.h: Regenerated.
560 * locale/programs/locfile-kw.h: Likewise.
563 * intl/plural.y: Replace FSF snail mail address with URL.
564 * intl/plural.c: Regenerated.
566 2012-03-09 Richard Henderson <rth@twiddle.net>
568 * include/math_private.h: Remove file.
569 * math/math_private.h: Move file ...
570 * sysdeps/generic/math_private.h: ... here.
572 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
573 * sysdeps/powerpc/fpu/math_private.h: Likewise.
574 * sysdeps/x86_64/fpu/math_private.h: Likewise.
576 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
577 and <math_private.h>.
578 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
579 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
580 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
581 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
582 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
583 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
584 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
586 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
587 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
588 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
589 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
590 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
591 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
592 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
593 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
594 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
595 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
596 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
597 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
599 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
600 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
602 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
603 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
604 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
605 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
606 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
607 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
608 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
610 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
611 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
612 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
613 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
614 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
615 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
616 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
617 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
618 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
619 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
620 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
621 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
622 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
623 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
624 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
625 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
626 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
627 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
628 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
629 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
630 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
631 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
632 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
633 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
635 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
636 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
637 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
638 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
639 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
640 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
641 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
642 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
643 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
644 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
645 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
646 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
647 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
648 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
649 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
650 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
651 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
652 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
653 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
654 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
655 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
656 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
657 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
658 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
659 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
660 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
661 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
662 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
663 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
664 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
665 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
666 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
667 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
668 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
669 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
670 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
671 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
672 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
673 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
674 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
675 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
676 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
677 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
678 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
679 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
680 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
681 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
682 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
683 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
684 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
685 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
686 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
687 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
688 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
689 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
690 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
691 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
692 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
693 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
694 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
695 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
696 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
697 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
698 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
699 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
700 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
701 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
702 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
703 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
704 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
705 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
706 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
707 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
708 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
709 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
710 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
711 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
712 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
713 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
714 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
715 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
716 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
717 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
718 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
719 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
720 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
721 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
722 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
723 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
724 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
725 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
726 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
727 * sysdeps/ieee754/k_standard.c: Likewise.
728 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
729 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
730 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
731 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
732 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
733 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
734 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
735 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
736 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
737 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
738 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
739 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
740 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
741 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
742 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
743 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
744 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
745 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
746 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
747 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
748 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
749 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
750 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
751 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
752 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
753 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
754 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
755 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
756 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
757 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
758 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
759 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
760 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
761 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
762 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
763 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
764 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
765 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
766 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
767 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
768 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
769 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
770 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
771 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
772 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
773 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
774 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
775 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
776 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
777 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
778 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
779 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
780 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
781 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
782 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
783 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
784 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
785 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
786 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
787 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
788 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
789 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
790 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
791 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
792 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
793 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
794 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
795 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
796 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
797 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
798 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
800 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
801 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
802 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
803 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
804 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
805 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
806 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
807 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
808 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
809 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
810 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
811 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
812 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
813 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
814 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
815 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
816 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
817 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
818 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
819 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
820 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
821 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
822 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
823 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
824 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
825 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
826 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
827 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
828 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
829 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
830 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
831 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
832 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
833 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
834 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
835 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
836 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
837 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
838 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
839 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
840 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
841 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
842 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
843 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
844 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
845 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
846 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
847 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
848 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
849 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
850 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
851 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
852 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
853 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
854 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
855 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
856 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
857 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
858 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
859 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
860 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
861 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
862 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
863 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
864 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
865 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
866 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
867 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
868 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
869 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
870 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
871 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
872 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
873 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
874 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
875 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
876 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
877 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
878 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
879 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
880 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
881 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
882 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
883 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
884 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
885 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
886 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
887 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
888 * sysdeps/ieee754/s_lib_version.c: Likewise.
889 * sysdeps/ieee754/s_matherr.c: Likewise.
890 * sysdeps/ieee754/s_signgam.c: Likewise.
891 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
892 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
893 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
894 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
895 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
896 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
897 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
898 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
899 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
900 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
901 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
902 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
903 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
904 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
905 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
906 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
907 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
908 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
909 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
910 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
911 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
913 2012-03-09 Joseph Myers <joseph@codesourcery.com>
915 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
916 * sunrpc/rpc_main.c: Likewise.
917 * sunrpc/rpc_svcout.c: Likewise.
919 2012-03-09 David S. Miller <davem@davemloft.net>
921 * include/math_private.h: New file.
923 2012-03-09 Joseph Myers <joseph@codesourcery.com>
925 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
926 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
927 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
928 from <bits/socket_type.h>.
929 (enum __socket_type): Don't define here.
930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
935 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
938 * Makerules ($(inst_includedir)/%.h): New rule.
939 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
940 (install-others): Remove variable setting.
941 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
943 2012-03-08 Richard Henderson <rth@twiddle.net>
945 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
946 from macro to inline function; merge with the
947 !__LIBC_INTERNAL_MATH_INLINES version.
948 (__ieee754_sqrtf): Likewise.
950 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
952 (__rintf, __floor, __floorf): Likewise.
954 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
955 macro to inline function.
956 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
958 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
959 not <math/math_private.h>.
961 2012-03-08 David S. Miller <davem@davemloft.net>
963 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
965 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
967 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
969 * resolv/gai_misc.c (handle_requests): Fix struct timespec
971 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
972 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
974 2012-03-08 Ulrich Drepper <drepper@gmail.com>
976 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
977 be defined individually, they must be defined as a block. Define
978 S for printing a string instead of hidint the different by using a
979 macro for adding the 'l'.
980 * stdio-common/tst-fphex-wide.c: Adjust.
982 2012-03-07 Marek Polacek <polacek@redhat.com>
984 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
986 2012-03-08 Marek Polacek <polacek@redhat.com>
989 * stdio-common/Makefile (tests): Add tst-fphex-wide.
990 * stdio-common/tst-fphex.c: Define a few macros to make the
991 test reusable. Use them.
992 * stdio-common/tst-fphex-wide.c: New file.
994 2012-03-08 Joseph Myers <joseph@codesourcery.com>
997 * manual/macros.texi (gnusystems): New macro.
998 (nongnusystems): Likewise.
999 (gnulinuxhurdsystems): Likewise.
1000 (gnuhurdsystems): Likewise..
1001 (gnulinuxsystems): Likewise.
1002 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1003 variants of the GNU system, not "GNU system".
1004 * manual/conf.texi: Likewise.
1005 * manual/errno.texi: Likewise. Update example of errno macro
1007 * manual/filesys.texi: Likewise.
1008 (getumask): Document as specific to GNU/Hurd.
1009 * manual/install.texi: Likewise. Reword some references to
1011 * manual/intro.texi: Likewise.
1012 * manual/io.texi: Likewise.
1013 (File Name Portability): Detail which constraints are inapplicable
1014 to all GNU systems and which are only inapplicable to GNU/Hurd.
1015 * manual/job.texi: Likewise.
1016 * manual/llio.texi: Likewise.
1017 (O_NOCTTY): Document as present on GNU/Linux.
1018 * manual/maint.texi: Likewise.
1019 * manual/memory.texi: Likewise.
1020 * manual/pattern.texi: Likewise.
1021 * manual/pipe.texi: Likewise.
1022 * manual/process.texi: Likewise.
1023 * manual/resource.texi: Likewise.
1024 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1026 * manual/setjmp.texi: Likewise.
1027 * manual/signal.texi: Likewise.
1028 * manual/startup.texi: Likewise.
1029 * manual/stdio.texi: Likewise.
1030 * manual/terminal.texi: Likewise.
1031 (ONLCR): Document as POSIX.
1032 (OXTABS): Document availability on GNU/Linux as XTABS.
1033 (ONOEOT): Document availability separately from other bits.
1034 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1035 * manual/time.texi: Likewise.
1036 * manual/users.texi: Likewise.
1037 * INSTALL: Regenerated.
1038 * sysdeps/gnu/errlist.c: Regenerated.
1040 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1041 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1042 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1044 * configure: Regenerated.
1046 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1048 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1049 default includes instead of AC_HEADER_CHECK.
1050 * sysdeps/i386/configure: Regenerated.
1053 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1054 * math/s_cacoshf.c (__cacoshf): Likewise.
1055 * math/s_cacoshl.c (__cacoshl): Likewise.
1056 * math/s_casinh.c (__casinh): Set signs of result from argument.
1057 * math/s_casinhf.c (__casinhf): Likewise.
1058 * math/s_casinhl.c (__casinhl): Likewise.
1059 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1060 (casinh_test): Add more tests.
1061 * sysdeps/i386/fpu/libm-test-ulps: Update.
1062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1064 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1066 * po/zh_TW.po: Update from translation team.
1068 * login/Makefile (distribute): Remove variable.
1069 * catgets/Makefile: Likewise.
1070 * mach/Makefile: Likewise.
1071 * malloc/Makefile: Likewise.
1072 * misc/Makefile: Likewise.
1073 * iconv/Makefile: Likewise.
1074 * nscd/Makefile: Likewise.
1075 * hurd/Makefile: Likewise.
1076 * manual/Makefile: Likewise.
1077 * locale/Makefile: Likewise.
1078 * intl/Makefile: Likewise.
1079 * conform/Makefile: Likewise.
1080 * nss/Makefile: Likewise.
1081 * time/Makefile: Likewise.
1082 * soft-fp/Makefile: Likewise.
1083 * dirent/Makefile: Likewise.
1084 * gmon/Makefile: Likewise.
1085 * po/Makefile: Likewise.
1086 * rt/Makefile: Likewise.
1087 * socket/Makefile: Likewise.
1088 * math/Makefile: Likewise.
1089 * signal/Makefile: Likewise.
1090 * debug/Makefile: Likewise.
1091 * elf/Makefile: Likewise.
1092 * timezone/Makefile: Likewise.
1093 * stdlib/Makefile: Likewise.
1094 * iconvdata/Makefile: Likewise.
1095 * sunrpc/Makefile: Likewise.
1096 * io/Makefile: Likewise.
1097 * argp/Makefile: Likewise.
1098 * inet/Makefile: Likewise.
1099 * hesiod/Makefile: Likewise.
1100 * grp/Makefile: Likewise.
1101 * csu/Makefile: Likewise.
1102 * wctype/Makefile: Likewise.
1103 * crypt/Makefile: Likewise.
1104 * libio/Makefile: Likewise.
1105 * string/Makefile: Likewise.
1106 * nis/Makefile: Likewise.
1107 * resolv/Makefile: Likewise.
1108 * stdio-common/Makefile: Likewise.
1109 * wcsmbs/Makefile: Likewise.
1110 * dlfcn/Makefile: Likewise.
1111 * posix/Makefile: Likewise.
1113 * timezone/Makefile: Don't install timezone files, just the programs
1116 2012-03-06 Ulrich Drepper <drepper@gmail.com>
1118 * nss/databases.def: Add missing gshadow entry.
1120 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1122 2012-03-06 Marek Polacek <polacek@redhat.com>
1125 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
1126 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1127 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
1128 * stdio-common/tst-long-dbl-fphex.c: New file.
1130 2012-03-06 David S. Miller <davem@davemloft.net>
1132 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1133 (set_obp_int): New function.
1134 (get_obp_int): New function.
1135 (__get_clockfreq_via_dev_openprom): Likewise.
1136 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
1137 Avoid unused variable warnings on 'val' and use builtin_expect.
1138 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
1140 (INLINE_CLONE_SYSCALL): Likewise.
1142 2012-03-05 David S. Miller <davem@davemloft.net>
1144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1146 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
1148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1150 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
1152 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1154 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
1156 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
1157 Replace gettimeofday with __vdso_gettimeofday.
1159 * sysdeps/unix/sysv/linux/x86_64/init-first.c
1160 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
1161 __vdso_clock_gettime and __vdso_getcpu.
1163 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
1164 time with __vdso_time.
1166 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1168 * manual/lang.texi (size_t): Note types to which size_t may be
1169 equivalent with the GNU C Library, but do not describe when
1170 differences between them are significant.
1172 2012-03-05 Andreas Jaeger <aj@suse.de>
1174 * sysdeps/i386/fpu/libm-test-ulps: Update.
1176 2012-03-05 Joseph Myers <joseph@codesourcery.com>
1179 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
1180 (__ieee754_pow): Save and restore rounding mode and use
1181 round-to-nearest for main computations.
1182 * math/libm-test.inc (pow_test_tonearest): New function.
1183 (pow_test_towardzero): Likewise.
1184 (pow_test_downward): Likewise.
1185 (pow_test_upward): Likewise.
1186 (main): Call the new functions.
1187 * sysdeps/i386/fpu/libm-test-ulps: Update.
1188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1191 * math/libm-test.inc (cosh_test_tonearest): New function.
1192 (cosh_test_towardzero): Likewise.
1193 (cosh_test_downward): Likewise.
1194 (cosh_test_upward): Likewise.
1195 (sinh_test_tonearest): Likewise.
1196 (sinh_test_towardzero): Likewise.
1197 (sinh_test_downward): Likewise.
1198 (sinh_test_upward): Likewise.
1199 (main): Call the new functions.
1200 * sysdeps/i386/fpu/libm-test-ulps: Update.
1201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1203 2012-03-05 Tom de Vries <tom@codesourcery.com>
1205 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
1206 default stack guard is set in last bytes.
1207 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
1209 2012-03-05 Kees Cook <keescook@chromium.org>
1211 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
1214 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
1215 possibly allocate from heap instead of stack.
1216 * stdio-common/bug-vfprintf-nargs.c: New file.
1217 * stdio-common/Makefile (tests): Add nargs overflow test.
1219 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
1221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1223 2012-03-03 Marek Polacek <polacek@redhat.com>
1225 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
1226 * math/math_private.h: Likewise.
1227 * stdlib/tst-strtod.c: Likewise.
1228 * sysdeps/i386/i486/bits/atomic.h: Likewise.
1229 * sysdeps/x86_64/bits/atomic.h: Likewise.
1231 2012-03-02 David S. Miller <davem@davemloft.net>
1233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
1234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
1235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
1236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
1237 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
1238 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
1239 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
1240 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
1242 2012-03-02 Roland McGrath <roland@hack.frob.com>
1245 * manual/examples/README: New file, says the example source files
1246 can be used under GPL>=2.
1247 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
1248 line containing just "*/".
1249 * manual/examples/add.c: Add copyright header (GPL>=2).
1250 * manual/examples/argp-ex1.c: Likewise.
1251 * manual/examples/argp-ex2.c: Likewise.
1252 * manual/examples/argp-ex3.c: Likewise.
1253 * manual/examples/argp-ex4.c: Likewise.
1254 * manual/examples/atexit.c: Likewise.
1255 * manual/examples/db.c: Likewise.
1256 * manual/examples/dir.c: Likewise.
1257 * manual/examples/dir2.c: Likewise.
1258 * manual/examples/execinfo.c: Likewise.
1259 * manual/examples/filecli.c: Likewise.
1260 * manual/examples/filesrv.c: Likewise.
1261 * manual/examples/fmtmsgexpl.c: Likewise.
1262 * manual/examples/genpass.c: Likewise.
1263 * manual/examples/inetcli.c: Likewise.
1264 * manual/examples/inetsrv.c: Likewise.
1265 * manual/examples/isockad.c: Likewise.
1266 * manual/examples/longopt.c: Likewise.
1267 * manual/examples/memopen.c: Likewise.
1268 * manual/examples/memstrm.c: Likewise.
1269 * manual/examples/mkfsock.c: Likewise.
1270 * manual/examples/mkisock.c: Likewise.
1271 * manual/examples/mygetpass.c: Likewise.
1272 * manual/examples/pipe.c: Likewise.
1273 * manual/examples/popen.c: Likewise.
1274 * manual/examples/rprintf.c: Likewise.
1275 * manual/examples/search.c: Likewise.
1276 * manual/examples/select.c: Likewise.
1277 * manual/examples/setjmp.c: Likewise.
1278 * manual/examples/sigh1.c: Likewise.
1279 * manual/examples/sigusr.c: Likewise.
1280 * manual/examples/stpcpy.c: Likewise.
1281 * manual/examples/strdupa.c: Likewise.
1282 * manual/examples/strftim.c: Likewise.
1283 * manual/examples/strncat.c: Likewise.
1284 * manual/examples/subopt.c: Likewise.
1285 * manual/examples/swapcontext.c: Likewise.
1286 * manual/examples/termios.c: Likewise.
1287 * manual/examples/testopt.c: Likewise.
1288 * manual/examples/testpass.c: Likewise.
1289 * manual/examples/timeval_subtract.c: Likewise.
1292 * manual/time.texi (Elapsed Time): Move timeval_subtract example
1294 * manual/timeval_subtract.c.texi: ... here, new file.
1296 2012-03-02 David S. Miller <davem@davemloft.net>
1298 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
1300 2012-03-02 Joseph Myers <joseph@codesourcery.com>
1303 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
1304 (__sin): Save and restore rounding mode and use round-to-nearest
1305 for all computations.
1306 (__cos): Save and restore rounding mode and use round-to-nearest
1307 for all computations.
1308 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
1310 (tan): Save and restore rounding mode and use round-to-nearest for
1312 * math/libm-test.inc (cos_test_tonearest): New function.
1313 (cos_test_towardzero): Likewise.
1314 (cos_test_downward): Likewise.
1315 (cos_test_upward): Likewise.
1316 (sin_test_tonearest): Likewise.
1317 (sin_test_towardzero): Likewise.
1318 (sin_test_downward): Likewise.
1319 (sin_test_upward): Likewise.
1320 (tan_test_tonearest): Likewise.
1321 (tan_test_towardzero): Likewise.
1322 (tan_test_downward): Likewise.
1323 (tan_test_upward): Likewise.
1324 (main): Call the new functions.
1325 * sysdeps/i386/fpu/libm-test-ulps: Update.
1326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1329 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
1330 small n, then large n, before computing and testing k+n.
1331 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1332 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
1334 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
1336 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
1337 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
1338 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
1339 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
1340 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1341 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1342 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
1343 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
1344 * math/libm-test.inc (scalbn_test): Add more tests.
1345 (scalbln_test): Likewise.
1347 * manual/filesys.texi (mode_t): Describe constraints on size and
1348 signedness, not exact equivalence to a particular type.
1350 (ino64_t): Likewise.
1352 (nlink_t): Likewise.
1353 (blkcnt_t): Likewise.
1354 (blkcnt64_t): Likewise.
1355 * manual/llio.texi (off_t): Likewise.
1358 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
1359 (__ieee754_exp): Save and restore rounding mode and use
1360 round-to-nearest for all computations.
1361 * math/libm-test.inc (exp_test_tonearest): New function.
1362 (exp_test_towardzero): Likewise.
1363 (exp_test_downward): Likewise.
1364 (exp_test_upward): Likewise.
1365 (main): Call the new functions.
1366 * sysdeps/i386/fpu/libm-test-ulps: Update.
1367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1369 2012-03-01 Chris Demetriou <cgd@google.com>
1371 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
1372 have predictable order.
1374 2012-03-01 David S. Miller <davem@davemloft.net>
1376 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
1378 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
1379 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
1380 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
1381 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
1383 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
1384 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
1385 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
1386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
1387 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
1388 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
1389 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
1390 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
1391 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
1393 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1395 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
1396 * sysdeps/sparc/fpu/libm-test-ulps: to here.
1397 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
1399 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
1400 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1401 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1402 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
1403 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
1404 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
1405 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
1406 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1407 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1408 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
1409 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
1410 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1411 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1412 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1413 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1414 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1415 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
1416 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
1417 * sysdeps/sparc/elf/configure: Regenerated.
1419 2012-03-01 Joseph Myers <joseph@codesourcery.com>
1421 * configure.in (AS, LD): Require binutils 2.20 or later.
1422 * configure: Regenerated.
1423 * manual/install.texi (Tools for Compilation): Give binutils 2.20
1424 as required minimum version.
1425 * INSTALL: Regenerated.
1429 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
1430 before squaring exponent.
1431 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
1432 bottom long double and 27 bits of top long double before squaring
1434 * math/libm-test.inc (erfc_test): Add more tests.
1435 * sysdeps/i386/fpu/libm-test-ulps: Update.
1436 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1439 2012-03-01 Kai Tietz <ktietz@redhat.com>
1441 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
1442 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
1443 containing bit-fields.
1444 * soft-fp/extended.h (_FP_UNION_E): Likewise.
1445 * soft-fp/single.h (_FP_UNION_S): Likewise.
1446 * soft-fp/double.h (_FP_UNION_D): Likewise.
1448 2012-02-29 Joseph Myers <joseph@codesourcery.com>
1451 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
1452 not include ../strcmp.S.
1453 [USE_AS_STRNCASECMP_L]: Likewise.
1454 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
1455 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
1456 * sysdeps/i386/i686/multiarch/strncase_l-c.c
1457 (__strncasecmp_l_ia32): Define as alias to
1458 __strncasecmp_l_nonascii.
1461 * math/libm-test.inc (expm1_test): Add test for bug 5794.
1462 * sysdeps/i386/fpu/libm-test-ulps: Update.
1463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1465 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
1466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1468 2012-02-29 Jeff Law <law@redhat.com>
1470 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
1473 2012-02-29 Marek Polacek <polacek@redhat.com>
1476 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
1477 * elf/Makefile: Add rules to run tst-unused-dep.out.
1479 2012-02-28 David S. Miller <davem@davemloft.net>
1481 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
1482 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
1483 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
1484 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
1485 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
1486 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
1488 2012-02-29 Joseph Myers <joseph@codesourcery.com>
1490 * math/libm-test.inc (llround_test): Move one test from
1491 lround_test. Use TEST_f_L in moved test.
1492 (lround_test): Move misplaced test to llround_test. Add testcase
1495 2012-02-28 Ulrich Drepper <drepper@gmail.com>
1497 * sysdeps/x86_64/fpu/e_expf.S: New file.
1498 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
1500 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
1503 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
1504 of remain_len that may cause incomplete multi-byte character and
1506 * posix/bug-regex33.c: New file.
1507 * posix/Makefile (tests): Add bug-regex33.
1509 2012-02-28 Joseph Myers <joseph@codesourcery.com>
1511 * manual/macros.texi: New file.
1512 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
1513 * manual/libc.texinfo: Include macros.texi.
1514 * manual/creatute.texi: Likewise.
1515 * manual/install.texi: Likewise.
1516 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
1517 @glibcadj{} in references to the GNU C Library.
1518 * manual/charset.texi: Likewise.
1519 * manual/conf.texi: Likewise.
1520 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
1521 when not using those macros.
1522 * manual/creature.texi: Likewise.
1523 * manual/crypt.texi: Likewise.
1524 * manual/errno.texi: Likewise.
1525 * manual/filesys.texi: Likewise.
1526 * manual/header.texi: Likewise.
1527 * manual/install.texi: Likewise.
1528 * manual/intro.texi: Likewise.
1529 * manual/io.texi: Likewise.
1530 * manual/job.texi: Likewise.
1531 * manual/lang.texi: Likewise.
1532 * manual/libc.texiinfo: Likewise.
1533 * manual/llio.texi: Likewise.
1534 * manual/locale.texi: Likewise.
1535 * manual/maint.texi: Likewise.
1536 * manual/math.texi: Likewise.
1537 * manual/memory.texi: Likewise.
1538 * manual/message.texi: Likewise.
1539 * manual/nss.texi: Likewise.
1540 * manual/pattern.texi: Likewise.
1541 * manual/process.texi: Likewise.
1542 * manual/resource.texi: Likewise.
1543 * manual/search.texi: Likewise.
1544 * manual/setjmp.texi: Likewise.
1545 * manual/signal.texi: Likewise.
1546 * manual/socket.texi: Likewise.
1547 * manual/startup.texi: Likewise.
1548 * manual/stdio.texi: Likewise.
1549 * manual/string.texi: Likewise.
1550 * manual/sysinfo.texi: Likewise.
1551 * manual/syslog.texi: Likewise.
1552 * manual/terminal.texi: Likewise.
1553 * manual/time.texi: Likewise.
1554 * manual/users.texi: Likewise.
1555 * INSTALL: Regenerated.
1556 * NOTES: Regenerated.
1557 * sysdeps/gnu/errlist.c: Regenerated.
1559 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
1561 * include/dirent.h: Include <dirstream.h> before
1564 2012-02-28 David S. Miller <davem@davemloft.net>
1566 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
1567 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
1568 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
1569 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
1571 2012-02-27 David S. Miller <davem@davemloft.net>
1573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
1574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
1575 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
1576 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
1578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
1579 frame pointer instead of stack pointer relative arg slot.
1580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1581 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1582 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1584 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
1587 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
1589 2012-02-27 David S. Miller <davem@davemloft.net>
1591 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
1592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
1595 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1596 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1597 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
1598 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
1600 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1602 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
1603 later. Allow versions 5-9.
1604 * configure: Regenerated.
1605 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
1606 required minimum version and 4.6 as recommended version. Do not
1607 mention bugs in GCC 2.7 and 2.8.
1608 * INSTALL: Regenerated.
1610 2012-02-27 David S. Miller <davem@davemloft.net>
1612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
1613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
1614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
1615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
1616 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
1617 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
1618 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
1619 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
1621 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
1622 manipulate bits before adding and subtracting TWO112[sx].
1623 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1625 2012-02-27 Roland McGrath <roland@hack.frob.com>
1628 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
1629 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
1630 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
1631 being in POSIX, because they are in 1003.1-2008.
1633 * rt/tst-aio.c: Include <fcntl.h>.
1634 * rt/tst-aio7.c: Likewise.
1635 * rt/tst-aio64.c: Likewise.
1637 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
1639 2012-02-27 Joseph Myers <joseph@codesourcery.com>
1641 * manual/install.texi (--with-headers): Describe headers as
1642 interface headers, not private headers.
1643 (Specific advice for GNU/Linux systems): Describe use of headers
1644 from "make headers_install", not private headers from older
1646 * INSTALL: Regenerated.
1647 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
1649 * sysdeps/unix/sysv/linux/configure: Regenerated.
1651 * manual/llio.texi (fclean): Remove documentation.
1653 * manual/Makefile (libc-texi-generated): New variable. Include
1655 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
1656 $(libc-texi-generated), not duplicated list of files.
1657 (version.texi, stamp-version): New rules.
1658 (realclean): Remove $(libc-texi-generated), not individual files
1659 from that list. Do not remove dir-add.texinfo.
1660 * manual/libc.texinfo: Comment out uses of edition numbers and
1661 references to printed manual. Remove last-updated dates.
1662 (EDITION): Comment out.
1664 (VERSION, UPDATED): Remove.
1665 (version.texi): Include.
1667 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
1669 * sysdeps/posix/spawni.c: Include <signal.h>.
1670 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
1671 * sysdeps/pthread/aio_fsync.c: Likewise.
1673 2012-02-26 Ulrich Drepper <drepper@gmail.com>
1675 * conform/Makefile (tests): Run only when not cross-compiling and
1676 when fast-check is not defined.
1678 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
1679 * conform/data/limits.h-data: Fixes for POSIX2008.
1680 * conform/run-conformtest.sh: Run all tests.
1681 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
1683 * include/bits/dlfcn.h: Likewise.
1684 * include/langinfo.h: Likewise.
1685 * include/monetary.h: Likewise.
1686 * include/sys/poll.h: Likewise.
1688 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
1690 * posix/spawn.h: Define __need_sigset_t.
1691 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
1692 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
1693 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
1694 to get sigevent_t only.
1695 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
1697 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
1698 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
1699 process_vm_writev only for __USE_GNU.
1700 * termios/termios.h: Declare tcgetsid also for POSIX2008.
1702 * conform/Makefile: For now ignore errors from run-conformtest.
1703 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
1704 POSIX to avoid namespace pollution. Don't prepend headers.
1705 * conform/data/aio.h-data: Fixes for POSIX testing.
1706 * conform/data/fcntl.h-data: Likewise.
1707 * conform/data/glob.h-data: Likewise.
1708 * conform/data/grp.h-data: Likewise.
1709 * conform/data/pthread.h-data: Likewise.
1710 * conform/data/pwd.h-data: Likewise.
1711 * conform/data/signal.h-data: Likewise.
1712 * conform/data/spawn.h-data: Likewise.
1713 * conform/data/stdio.h-data: Likewise.
1714 * conform/data/stdlib.h-data: Likewise.
1715 * conform/data/stropts.h-data: Likewise.
1716 * conform/data/sys/mman.h-data: Likewise.
1717 * conform/data/sys/stat.h-data: Likewise.
1718 * conform/data/sys/types.h-data: Likewise.
1719 * conform/data/sys/wait.h-data: Likewise.
1720 * conform/data/time.h-data: Likewise.
1721 * conform/data/unistd.h-data: Likewise.
1722 * conform/data/utime.h-data: Likewise.
1724 * io/sys/stat.h: fchmod was always in POSIX.
1725 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
1726 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
1727 * rt/aio.h: Define __need_timespec before including <time.h>.
1728 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
1729 struct. Add forward declaration of pthread_attr_t and use it in
1731 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
1732 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1733 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
1734 always remove CLK_TCK definition.
1736 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
1738 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
1740 2012-02-25 Ulrich Drepper <drepper@gmail.com>
1742 * conform/run-conformtest.sh: New file.
1743 * conform/Makefile: Run run-conformtest for tests.
1744 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
1747 * conform/data/uchar.h-data: New file.
1748 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
1749 * conform/data/arpa/inet.h-data: Likewise.
1750 * conform/data/assert.h-data: Likewise.
1751 * conform/data/complex.h-data: Likewise.
1752 * conform/data/cpio.h-data: Likewise.
1753 * conform/data/ctype.h-data: Likewise.
1754 * conform/data/dirent.h-data: Likewise.
1755 * conform/data/dlfcn.h-data: Likewise.
1756 * conform/data/errno.h-data: Likewise.
1757 * conform/data/fcntl.h-data: Likewise.
1758 * conform/data/float.h-data: Likewise.
1759 * conform/data/fmtmsg.h-data: Likewise.
1760 * conform/data/fnmatch.h-data: Likewise.
1761 * conform/data/ftw.h-data: Likewise.
1762 * conform/data/glob.h-data: Likewise.
1763 * conform/data/grp.h-data: Likewise.
1764 * conform/data/iconv.h-data: Likewise.
1765 * conform/data/inttypes.h-data: Likewise.
1766 * conform/data/langinfo.h-data: Likewise.
1767 * conform/data/libgen.h-data: Likewise.
1768 * conform/data/limits.h-data: Likewise.
1769 * conform/data/locale.h-data: Likewise.
1770 * conform/data/math.h-data: Likewise.
1771 * conform/data/monetary.h-data: Likewise.
1772 * conform/data/mqueue.h-data: Likewise.
1773 * conform/data/ndbm.h-data: Likewise.
1774 * conform/data/net/if.h-data: Likewise.
1775 * conform/data/netdb.h-data: Likewise.
1776 * conform/data/netinet/in.h-data: Likewise.
1777 * conform/data/nl_types.h-data: Likewise.
1778 * conform/data/poll.h-data: Likewise.
1779 * conform/data/pthread.h-data: Likewise.
1780 * conform/data/pwd.h-data: Likewise.
1781 * conform/data/regex.h-data: Likewise.
1782 * conform/data/sched.h-data: Likewise.
1783 * conform/data/search.h-data: Likewise.
1784 * conform/data/semaphore.h-data: Likewise.
1785 * conform/data/setjmp.h-data: Likewise.
1786 * conform/data/signal.h-data: Likewise.
1787 * conform/data/spawn.h-data: Likewise.
1788 * conform/data/stdarg.h-data: Likewise.
1789 * conform/data/stdio.h-data: Likewise.
1790 * conform/data/stdlib.h-data: Likewise.
1791 * conform/data/string.h-data: Likewise.
1792 * conform/data/strings.h-data: Likewise.
1793 * conform/data/stropts.h-data: Likewise.
1794 * conform/data/sys/ipc.h-data: Likewise.
1795 * conform/data/sys/mman.h-data: Likewise.
1796 * conform/data/sys/msg.h-data: Likewise.
1797 * conform/data/sys/resource.h-data: Likewise.
1798 * conform/data/sys/select.h-data: Likewise.
1799 * conform/data/sys/sem.h-data: Likewise.
1800 * conform/data/sys/shm.h-data: Likewise.
1801 * conform/data/sys/socket.h-data: Likewise.
1802 * conform/data/sys/stat.h-data: Likewise.
1803 * conform/data/sys/statvfs.h-data: Likewise.
1804 * conform/data/sys/time.h-data: Likewise.
1805 * conform/data/sys/timeb.h-data: Likewise.
1806 * conform/data/sys/times.h-data: Likewise.
1807 * conform/data/sys/types.h-data: Likewise.
1808 * conform/data/sys/uio.h-data: Likewise.
1809 * conform/data/sys/un.h-data: Likewise.
1810 * conform/data/sys/utsname.h-data: Likewise.
1811 * conform/data/sys/wait.h-data: Likewise.
1812 * conform/data/syslog.h-data: Likewise.
1813 * conform/data/tar.h-data: Likewise.
1814 * conform/data/termios.h-data: Likewise.
1815 * conform/data/utime.h-data: Likewise.
1816 * conform/data/utmpx.h-data: Likewise.
1817 * conform/data/varargs.h-data: Likewise.
1818 * conform/data/wchar.h-data: Likewise.
1819 * conform/data/wctype.h-data: Likewise.
1820 * conform/data/wordexp.h-data: Likewise.
1822 * include/stropts.h: New file.
1823 * include/uchar.h: New file.
1824 * include/aio.h: Changes to allow conformtest.pl to use the headers.
1825 * include/assert.h: Likewise.
1826 * include/ctype.h: Likewise.
1827 * include/dirent.h: Likewise.
1828 * include/dlfcn.h: Likewise.
1829 * include/fcntl.h: Likewise.
1830 * include/fnmatch.h: Likewise.
1831 * include/glob.h: Likewise.
1832 * include/grp.h: Likewise.
1833 * include/libio.h: Likewise.
1834 * include/locale.h: Likewise.
1835 * include/math.h: Likewise.
1836 * include/net/if.h: Likewise.
1837 * include/netdb.h: Likewise.
1838 * include/netinet/in.h: Likewise.
1839 * include/pthread.h: Likewise.
1840 * include/pwd.h: Likewise.
1841 * include/regex.h: Likewise.
1842 * include/sched.h: Likewise.
1843 * include/search.h: Likewise.
1844 * include/setjmp.h: Likewise.
1845 * include/signal.h: Likewise.
1846 * include/stdio.h: Likewise.
1847 * include/stdlib.h: Likewise.
1848 * include/string.h: Likewise.
1849 * include/sys/cdefs.h: Likewise.
1850 * include/sys/mman.h: Likewise.
1851 * include/sys/msg.h: Likewise.
1852 * include/sys/resource.h: Likewise.
1853 * include/sys/select.h: Likewise.
1854 * include/sys/socket.h: Likewise.
1855 * include/sys/stat.h: Likewise.
1856 * include/sys/statvfs.h: Likewise.
1857 * include/sys/time.h: Likewise.
1858 * include/sys/times.h: Likewise.
1859 * include/sys/uio.h: Likewise.
1860 * include/sys/utsname.h: Likewise.
1861 * include/sys/wait.h: Likewise.
1862 * include/termios.h: Likewise.
1863 * include/time.h: Likewise.
1864 * include/ulimit.h: Likewise.
1865 * include/unistd.h: Likewise.
1866 * include/utime.h: Likewise.
1867 * include/wchar.h: Likewise.
1868 * include/wctype.h: Likewise.
1869 * include/wordexp.h: Likewise.
1871 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
1873 * time/time.h: TIME_UTC must be a macro.
1874 Make timespec_get available for ISO C11 only as well.
1876 2012-02-24 Ulrich Drepper <drepper@gmail.com>
1878 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
1879 Reported by Peng Haitao <penght@cn.fujitsu.com>.
1881 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1883 * configure.in: Use -o not -a in test for unsupported multi-arch.
1885 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1887 * manual/texinfo.tex: Update to version 2012-01-19.16.
1889 2012-02-24 Joseph Myers <joseph@codesourcery.com>
1891 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
1893 2012-02-24 Roland McGrath <roland@hack.frob.com>
1896 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
1897 * manual/fdl-1.3.texi: New file.
1898 * manual/fdl-1.1.texi: File removed.
1901 * manual/libc.texinfo (FDL_VERSION): New @set.
1902 Use it for mention of FDL in cover text.
1903 (Documentation License): Use it in @include file name.
1905 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1906 Roland McGrath <roland@hack.frob.com>
1909 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
1910 not LONG_LONG_MAX and LONG_LONG_MIN.
1911 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
1912 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
1914 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
1916 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1920 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
1921 manipulate bits before adding and subtracting TWO23[sx].
1922 * math/libm-test.inc (nearbyint_test): Add more tests.
1924 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1927 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
1928 bits before adding and subtracting TWO23[sx].
1929 * math/libm-test.inc (rint_test): Add more tests.
1930 (rint_test_tonearest): Likewise.
1931 (rint_test_towardzero): Likewise.
1932 (rint_test_downward): Likewise.
1933 (rint_test_upward: Likewise.
1935 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1938 * include/stdc-predef.h: New file. Extracted from features.h.
1939 * include/features.h: Include stdc-predef.h.
1940 * Makefile (headers): Add stdc-predef.h.
1941 * CONFORMANCE (Compiler limitations): Update.
1943 2012-02-22 Joseph Myers <joseph@codesourcery.com>
1945 * manual/libc.texinfo (VERSION, UPDATED): Revert.
1947 2012-02-21 David S. Miller <davem@davemloft.net>
1949 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
1950 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
1952 2012-02-20 David S. Miller <davem@davemloft.net>
1954 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
1955 using a normal save/restore sequence, rather than allocating a
1956 dummy stack frame just to store a frame pointer and restore.
1957 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1959 2012-02-21 Joseph Myers <joseph@codesourcery.com>
1961 * manual/install.texi: Fix stray word in line-wrapped comment.
1963 2012-02-20 David S. Miller <davem@davemloft.net>
1965 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
1966 both binutils and gcc support GOTDATA.
1968 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
1969 "rd %pc" in the PIC register setup sequences.
1971 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
1972 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1973 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
1974 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1975 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
1976 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1977 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1978 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
1979 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
1980 (SYSCALL_ERROR_HANDLER): Likewise.
1981 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
1982 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
1984 (SYSCALL_ERROR_HANDLER): Likewise.
1986 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
1987 (HAVE_GCC_GOTDATA): New.
1988 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
1989 relocation support in both binutils and gcc.
1990 * sysdeps/sparc/elf/configure: Regenerate.
1992 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
1993 * sysdeps/sparc/sparc32/elf/configure: Delete.
1994 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
1995 * sysdeps/sparc/sparc64/elf/configure: Delete.
1996 * sysdeps/sparc/elf/configure.in: New file.
1997 * sysdeps/sparc/elf/configure: Generate.
1999 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2000 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2001 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2002 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2003 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2005 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2007 * manual/install.texi: Do not mention specific glibc version
2009 * manual/libc.texinfo (VERSION, UPDATED): Update.
2010 (@copying): Use @copyright{} and range of years.
2012 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2015 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2016 [crti.S not in sysdirs] (generated): Do not append.
2017 [crti.S not in sysdirs] (omit-deps): Likewise.
2018 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2019 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2020 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2021 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2022 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2024 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2025 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2026 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2027 * csu/defs.awk: Remove file.
2028 * sysdeps/generic/initfini.c: Likewise.
2029 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2031 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2034 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2036 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2037 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2038 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2039 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2040 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2041 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2043 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2044 (__EPOLL_PACKED): Define to empty if not defined by
2046 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2047 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2050 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2052 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2053 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2054 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2055 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2057 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2061 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2063 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2065 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2066 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2067 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2070 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2072 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2073 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2075 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2077 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2078 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2080 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2082 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2085 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2087 * math/w_acos.c: Use non-signaling floating-point comparisons.
2088 * math/w_acosf.c: Likewise.
2089 * math/w_acosh.c: Likewise.
2090 * math/w_acoshf.c: Likewise.
2091 * math/w_acoshl.c: Likewise.
2092 * math/w_acosl.c: Likewise.
2093 * math/w_asin.c: Likewise.
2094 * math/w_asinf.c: Likewise.
2095 * math/w_asinl.c: Likewise.
2096 * math/w_atanh.c: Likewise.
2097 * math/w_atanhf.c: Likewise.
2098 * math/w_atanhl.c: Likewise.
2099 * math/w_exp2.c: Likewise.
2100 * math/w_exp2f.c: Likewise.
2101 * math/w_exp2l.c: Likewise.
2102 * math/w_j0.c: Likewise.
2103 * math/w_j0f.c: Likewise.
2104 * math/w_j0l.c: Likewise.
2105 * math/w_j1.c: Likewise.
2106 * math/w_j1f.c: Likewise.
2107 * math/w_j1l.c: Likewise.
2108 * math/w_jn.c: Likewise.
2109 * math/w_jnf.c: Likewise.
2110 * math/w_log.c: Likewise.
2111 * math/w_log10.c: Likewise.
2112 * math/w_log10f.c: Likewise.
2113 * math/w_log10l.c: Likewise.
2114 * math/w_log2.c: Likewise.
2115 * math/w_log2f.c: Likewise.
2116 * math/w_log2l.c: Likewise.
2117 * math/w_logf.c: Likewise.
2118 * math/w_logl.c: Likewise.
2119 * math/w_sqrt.c: Likewise.
2120 * math/w_sqrtf.c: Likewise.
2121 * math/w_sqrtl.c: Likewise.
2122 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2123 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2124 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2125 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2126 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2128 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2131 * manual/string.texi (strnlen): Use correct parameter name in
2132 equivalent expression.
2134 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2137 * manual/users.texi (seteuid): Consistently use neweuid for
2140 2012-02-19 Joseph Myers <joseph@codesourcery.com>
2143 * manual/nss.texi (Services in the NSS configuration): Correct
2144 list of services in example configuration file.
2146 2012-02-19 Nick Bowler <nbowler@draconx.ca>
2149 * manual/arith.texi: Remove statements about negative zero
2150 behaving identically to zero.
2152 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2155 * manual/install.texi: Do not document upgrading from libc5.
2157 2012-02-18 Joseph Myers <joseph@codesourcery.com>
2160 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
2162 2012-02-18 David S. Miller <davem@davemloft.net>
2164 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
2165 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
2166 %o7 across the call.
2167 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
2169 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
2171 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2172 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
2173 * sysdeps/sparc/crtn.S: Likewise.
2175 2012-02-17 Ulrich Drepper <drepper@gmail.com>
2177 * aout/Makefile: Remove.
2179 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
2182 * manual/examples/argp-ex1.c (main): Format definition in GNU
2184 * manual/examples/argp-ex2.c (main): Likewise.
2185 * manual/examples/argp-ex3.c (main): Likewise.
2186 * manual/examples/argp-ex4.c (main): Likewise.
2187 * manual/examples/longopt.c (main): Use new-style prototype
2189 * manual/examples/strncat.c (main): Specify return type and use
2190 (void) for arguments.
2191 * manual/examples/subopt.c (main): Use char **argv argument.
2193 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2196 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
2199 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
2202 * manual/string.texi (strchr): Change when strchrnul is
2205 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
2208 * manual/locale.texi (setlocale): Document LOCPATH.
2210 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2213 * manual/process.texi (execle): Move @dots{} before last argument.
2215 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
2218 * manual/charset.texi (Generic Charset Conversion): Fix typo
2219 (LC_TYPE -> LC_CTYPE).
2221 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
2224 * manual/arith.texi (scalbn): Use @var{} on parameter names.
2225 (scalbnf): Likewise.
2226 (scalbnl): Likewise.
2227 (scalbln): Likewise.
2228 (scalblnf): Likewise.
2229 (scalblnl): Likewise.
2230 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
2234 * manual/filesys.texi (telldir): Use braces around return type.
2235 * manual/llio.texi (mmap): Add space after comma.
2237 * manual/math.texi (jn): Use @var{} on parameter names.
2243 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
2245 * manual/resource.texi (ulimit): Use @dots{} instead of literal
2247 (sched_get_priority_min): Remove semicolon on @deftypefun line.
2248 (sched_get_priority_max): Likewise.
2249 * manual/signal.texi (sigvec): Add space after comma.
2250 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
2252 (if_indextoname): Likewise.
2253 (if_freenameindex): Likewise.
2254 (sendto): Use ',' instead of '.' in prototype.
2255 * manual/startup.texi (syscall): Use @dots{} instead of literal
2257 * manual/stdio.texi (__fpending): Separate initial words of
2258 paragraph from @deftypefun line.
2259 * manual/syslog.texi (syslog): Use @dots{} instead of literal
2261 (vsyslog): Use @var{} on parameter names.
2262 * manual/terminal.texi (stty): Use @var{} on parameter names.
2263 * manual/users.texi (getutmp): Use @var{} on parameter names.
2264 (getutmpx): Likewise.
2266 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2269 * manual/stdio.texi (fopen): Fix typos in description of
2272 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
2275 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
2276 get clock_id definition.
2278 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
2281 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
2282 (madvise): Cast every argument to void on its own.
2284 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2287 * manual/startup.texi (Exit Status): Fix typo.
2289 2012-02-17 Joseph Myers <joseph@codesourcery.com>
2292 * manual/examples/argp-ex1.c: Include <stdlib.h>.
2293 * manual/examples/argp-ex2.c: Likewise.
2294 * manual/examples/argp-ex3.c: Likewise.
2296 2012-02-16 Richard Henderson <rth@redhat.com>
2298 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
2299 * sysdeps/s390/s390-32/initfini.c: Remove.
2300 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
2301 * sysdeps/s390/s390-64/initfini.c: Remove.
2303 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2305 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
2306 compiler output for sysdeps/generic/initfini.c.
2307 * sysdeps/sh/elf/initfini.c: Remove file.
2309 2012-02-16 David S. Miller <davem@davemloft.net>
2312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
2314 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
2315 * sysdeps/sparc/crti.S: New file.
2316 * sysdeps/sparc/crtn.S: New file.
2317 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
2318 * sysdeps/sparc/sparc64/Makefile: Likewise.
2320 2012-02-15 Mike Frysinger <vapier@gentoo.org>
2323 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
2325 2012-02-15 Roland McGrath <roland@hack.frob.com>
2328 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
2330 * mach/devstream.c (cookie_io_functions_t): Macro removed.
2331 (write, read, close): Likewise.
2332 Patch by Aurelien Jarno <aurelien@aurel32.net>.
2334 2012-02-15 Joseph Myers <joseph@codesourcery.com>
2336 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
2337 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
2338 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
2339 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
2341 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
2342 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2345 2012-02-14 Marek Polacek <polacek@redhat.com>
2347 * sysdeps/x86_64/crti.S: New file.
2348 * sysdeps/x86_64/crtn.S: New file.
2349 * sysdeps/x86_64/elf/initfini.c: Remove file.
2351 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2353 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
2354 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
2355 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
2356 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
2358 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
2359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2362 2012-02-13 Joseph Myers <joseph@codesourcery.com>
2364 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
2365 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
2366 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
2367 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
2369 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
2370 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2373 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
2375 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
2376 __feraiseexcept instead of feraiseexcept.
2378 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
2379 nanosleep invocations.
2380 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
2381 strings, and add error checking for a nanosleep invocations.
2383 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
2385 Replace FSF snail mail address with URLs, as per GNU coding standards.
2386 Most of the snail mail addresses were wrong anyway, and omitting
2387 them makes the source code easier to maintain. Almost all of the
2388 changes are to license notices and to locale LC_IDENTIFICATION
2389 addresses, except for this one:
2390 * manual/libc.texinfo: In "Published by", give the FSF's URL,
2391 not its snail mail address.
2393 2012-02-09 Richard Henderson <rth@twiddle.net>
2395 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
2396 of kernel-features.h.
2398 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
2400 2012-02-08 Marek Polacek <polacek@redhat.com>
2402 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
2403 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
2404 * sysdeps/gnu/_G_config.h: Likewise.
2405 * sysdeps/generic/_G_config.h: Likewise.
2407 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
2409 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
2411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2413 * sysdeps/powerpc/powerpc32/crti.S: New file.
2414 * sysdeps/powerpc/powerpc32/crtn.S: New file.
2415 * sysdeps/powerpc/powerpc64/crti.S: New file.
2416 * sysdeps/powerpc/powerpc64/crtn.S: New file.
2418 * Makeconfig (have-initfini): Don't set.
2419 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
2420 * configure.in (nopic_initfini): Don't substitute.
2421 * config.h.in (HAVE_INITFINI): Don't #undef.
2422 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
2423 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
2425 2012-02-08 Joseph Myers <joseph@codesourcery.com>
2427 Support crti.S and crtn.S provided directly by architectures.
2428 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
2429 [crti.S in sysdirs] (omit-deps): Likewise.
2430 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
2431 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
2432 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
2433 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
2434 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
2435 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
2436 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
2437 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
2438 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
2439 compiler output for sysdeps/generic/initfini.c.
2440 * sysdeps/i386/elf/Makefile: Remove file.
2441 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
2443 2012-02-07 Marek Polacek <polacek@redhat.com>
2445 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
2446 * sysdeps/gnu/_G_config.h: Likewise.
2447 * sysdeps/mach/hurd/_G_config.h: Likewise.
2449 2012-02-07 Marek Polacek <polacek@redhat.com>
2451 * math/Makefile (tests): Add tst-CMPLX2.
2452 * math/tst-CMPLX2.c: New file.
2454 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
2456 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2458 * math/libm-test.inc (jn_test): Add missing L suffix.
2460 2012-02-06 Marek Polacek <polacek@redhat.com>
2462 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
2463 * sysdeps/i386/fpu/e_powf.S: Likewise.
2464 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
2465 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2466 * sysdeps/i386/fpu/e_acosh.S: Likewise.
2467 * sysdeps/i386/fpu/e_pow.S: Likewise.
2468 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
2469 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
2470 * sysdeps/i386/fpu/s_expm1.S: Likewise.
2471 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
2472 * sysdeps/i386/fpu/e_log2.S: Likewise.
2473 * sysdeps/i386/fpu/e_log2l.S: Likewise.
2474 * sysdeps/i386/fpu/e_scalb.S: Likewise.
2475 * sysdeps/i386/fpu/e_powl.S: Likewise.
2476 * sysdeps/i386/fpu/s_log1p.S: Likewise.
2477 * sysdeps/i386/fpu/e_log10f.S: Likewise.
2478 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
2479 * sysdeps/i386/fpu/e_logl.S: Likewise.
2480 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
2481 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
2482 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
2483 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
2484 * sysdeps/i386/fpu/e_log2f.S: Likewise.
2485 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
2486 * sysdeps/i386/fpu/e_log.S: Likewise.
2487 * sysdeps/i386/fpu/s_cexp.S: Likewise.
2488 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
2489 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
2490 * sysdeps/i386/fpu/e_logf.S: Likewise.
2491 * sysdeps/i386/fpu/e_log10l.S: Likewise.
2492 * sysdeps/i386/fpu/e_atanh.S: Likewise.
2493 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
2494 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
2495 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2496 * sysdeps/i386/fpu/e_log10.S: Likewise.
2497 * sysdeps/i386/fpu/s_frexp.S: Likewise.
2498 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
2499 * sysdeps/i386/fpu/s_asinh.S: Likewise.
2500 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
2501 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
2502 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
2503 * sysdeps/i386/asm-syntax.h: Likewise.
2504 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
2505 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2506 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
2507 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
2508 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
2509 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
2510 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
2511 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
2512 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
2513 * sysdeps/powerpc/sysdep.h: Likewise.
2514 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
2515 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2517 2012-02-06 Joseph Myers <joseph@codesourcery.com>
2520 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
2522 2012-02-06 Joseph Myers <joseph@codesourcery.com>
2524 * sysdeps/i386/sysdep.h: Include <features.h>.
2525 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
2528 2012-02-05 Joseph Myers <joseph@codesourcery.com>
2530 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
2532 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
2535 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2537 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
2538 (SETUP_PIC_REG): Use GET_PC_THUNK.
2539 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
2542 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2544 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
2545 for non-PIC compilation.
2546 (SETUP_PIC_REG): Add .p2align directive.
2547 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
2548 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2549 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2550 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2551 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2552 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2553 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2554 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2555 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2556 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2557 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2558 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2559 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2560 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2561 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2562 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2563 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2564 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2565 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2566 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2567 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2568 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2569 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2570 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2571 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2572 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2573 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2574 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2575 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2576 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2577 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2578 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2579 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2580 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2581 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2582 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2583 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2584 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2585 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2586 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2587 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2589 2012-02-03 Joseph Myers <joseph@codesourcery.com>
2591 * math/tst-CMPLX.c: Include <stdio.h>.
2593 2012-01-31 Joseph Myers <joseph@codesourcery.com>
2595 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
2597 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2598 * sysdeps/sparc/bits/mathdef.h: Likewise.
2600 2012-01-31 Marek Polacek <polacek@redhat.com>
2602 * libio/libio.h: Don't define _PARAMS.
2603 * locale/programs/config.h: Don't define PARAMS.
2604 * stdlib/strtol_l.c: Likewise.
2605 (__strtol_l): Remove PARAMS from the prototype.
2607 2012-01-31 Ulrich Drepper <drepper@gmail.com>
2609 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
2610 names. Just use the correct names. Remove unnecessary wrapper
2612 * malloc/arena.c: Likewise.
2613 * malloc/hooks.c: Likewise.
2615 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
2616 ARENA_TEST says not to. Simplify test for creation of a new arena.
2617 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
2619 2012-01-30 Ulrich Drepper <drepper@gmail.com>
2621 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
2623 (update_get_addr): New function.
2624 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
2625 GET_ADDR_MODULE parameter.
2627 2012-01-30 Joseph Myers <joseph@codesourcery.com>
2629 * crypt/cert.c: Remove __STDC__ conditionals.
2630 * crypt/crypt-entry.c: Likewise.
2631 * crypt/crypt_util.c: Likewise.
2632 * libio/filedoalloc.c: Likewise.
2633 * libio/fileops.c: Likewise.
2634 * libio/genops.c: Likewise.
2635 * libio/iofclose.c: Likewise.
2636 * libio/iofdopen.c: Likewise.
2637 * libio/iofopen.c: Likewise.
2638 * libio/iofopen64.c: Likewise.
2639 * libio/iogetdelim.c: Likewise.
2640 * libio/iopopen.c: Likewise.
2641 * libio/obprintf.c: Likewise.
2642 * libio/oldfileops.c: Likewise.
2643 * libio/oldiofclose.c: Likewise.
2644 * libio/oldiofdopen.c: Likewise.
2645 * libio/oldiofopen.c: Likewise.
2646 * libio/oldiopopen.c: Likewise.
2647 * libio/wfiledoalloc.c: Likewise.
2648 * libio/wgenops.c: Likewise.
2649 * locale/programs/xmalloc.c: Likewise.
2650 * misc/syslog.c: Likewise.
2651 * stdio-common/xbug.c: Likewise.
2652 * string/memchr.c: Likewise.
2653 * string/memcmp.c: Likewise.
2654 * string/memrchr.c: Likewise.
2655 * string/rawmemchr.c: Likewise.
2656 * sysdeps/posix/getcwd.c: Likewise.
2657 * time/strftime_l.c: Likewise.
2659 2012-01-30 Joseph Myers <joseph@codesourcery.com>
2661 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
2662 * config.make.in (config-cflags-sse2avx): Define.
2663 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
2666 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
2668 * scripts/config.guess: Update from upstream config git repository.
2669 * scripts/config.sub: Likewise.
2671 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
2673 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
2675 (R_TILEPRO_*, R_TILEGX_*): New macros.
2677 * scripts/firstversions.awk: Fix bug in version range handling.
2679 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
2681 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
2683 * include/sys/epoll.h: New file.
2684 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
2687 2012-01-28 Ulrich Drepper <drepper@gmail.com>
2689 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
2690 Avoid unnecessary __WORDSIZE == 64 test.
2691 (fmaxf): Use VEX format if possible.
2696 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
2697 * math/math_private.h: Remove libc_fegetround* and
2699 * sysdeps/i386/configure.in: Check for -msse2avx.
2700 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
2701 also if SSE2AVX is defined.
2702 Remove libc_fegetround* and libc_fesetround*.
2703 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
2704 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
2705 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
2707 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2708 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2709 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2710 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2711 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2713 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
2715 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2717 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
2719 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
2721 2012-01-27 Ulrich Drepper <drepper@gmail.com>
2724 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
2726 * Makeconfig (libm): Define.
2727 * elf/Makefile: Add rules to build and run tst-relsort1.
2728 * elf/tst-relsort1.c: New file.
2729 * elf/tst-relsort1mod1.c: New file.
2730 * elf/tst-relsort1mod2.c: New file.
2732 2012-01-27 Joseph Myers <joseph@codesourcery.com>
2734 * math/s_ldexp.c: Remove __STDC__ conditionals.
2735 * math/s_ldexpf.c: Likewise.
2736 * math/s_ldexpl.c: Likewise.
2737 * math/s_nextafter.c: Likewise.
2738 * math/s_nexttowardf.c: Likewise.
2739 * math/s_significand.c: Likewise.
2740 * math/s_significandf.c: Likewise.
2741 * math/s_significandl.c: Likewise.
2742 * math/w_jnl.c: Likewise.
2743 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2744 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2745 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2746 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2747 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2748 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2749 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
2750 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2751 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2752 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2753 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2754 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2755 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2756 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2757 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2758 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2759 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2760 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2761 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2762 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2763 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2764 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2765 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2766 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2767 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2768 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2769 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2770 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2771 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2772 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2773 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2774 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2775 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2776 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2777 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2778 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2779 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2780 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2781 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2782 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2783 * sysdeps/ieee754/k_standard.c: Likewise.
2784 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2785 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2786 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2787 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2788 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2789 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2790 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2791 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2792 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2793 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2794 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2795 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2796 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2797 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2798 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2799 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2800 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2801 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2802 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2803 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2804 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2805 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2806 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2807 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2808 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2809 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2812 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2813 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2814 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2815 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
2816 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2817 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2818 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2819 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2820 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
2821 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2822 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2823 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
2824 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
2825 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2826 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2827 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
2828 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2831 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2832 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2833 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2834 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
2835 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2836 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2837 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2838 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2839 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2840 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
2841 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2842 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2843 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2844 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2845 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2846 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2847 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2848 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2849 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2850 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2851 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2852 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2853 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2854 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2855 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2856 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2857 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2858 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2859 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2860 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2862 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2863 * sysdeps/ieee754/s_matherr.c: Likewise.
2864 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2865 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2866 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2867 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2869 2012-01-26 Joseph Myers <joseph@codesourcery.com>
2871 * crypt/md5.h: Remove __STDC__ conditionals.
2872 * libio/libioP.h: Likewise.
2873 * locale/programs/config.h: Likewise.
2874 * sysdeps/generic/sysdep.h: Likewise.
2875 * sysdeps/i386/asm-syntax.h: Likewise.
2876 * sysdeps/s390/asm-syntax.h: Likewise.
2877 * sysdeps/unix/sysdep.h: Likewise.
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2881 2012-01-26 Joseph Myers <joseph@codesourcery.com>
2883 * libio/libio.h: Remove __STDC__ conditionals.
2884 * malloc/obstack.h: Likewise.
2885 * math/complex.h: Likewise.
2886 * math/math.h: Likewise.
2887 * sysdeps/generic/_G_config.h: Likewise.
2888 * sysdeps/gnu/_G_config.h: Likewise.
2889 * sysdeps/mach/hurd/_G_config.h: Likewise.
2890 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2891 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2892 * sysdeps/sparc/bits/mathdef.h: Likewise.
2894 2012-01-26 Ulrich Drepper <drepper@gmail.com>
2897 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
2898 Clean up HAS_* macros.
2899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
2900 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
2902 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
2904 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2905 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2906 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2907 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2908 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2910 2012-01-25 Joseph Myers <joseph@codesourcery.com>
2912 * elf/tst-unique3.cc (gets): Remove declaration.
2913 * elf/tst-unique3lib.cc (gets): Likewise.
2914 * elf/tst-unique3lib2.cc (gets): Likewise.
2915 * elf/tst-unique4.cc (gets): Likewise.
2917 2012-01-24 Ulrich Drepper <drepper@gmail.com>
2919 * include/stdio.h: Add C++ protection. Add gets declarations and
2921 * debug/tst-chk1.c: Don't declare gets here.
2922 * stdio-common/tst-gets.c: Likewise.
2924 2012-01-24 Joseph Myers <joseph@codesourcery.com>
2926 * posix/glob: Remove directory.
2928 2012-01-24 Joseph Myers <joseph@codesourcery.com>
2930 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
2932 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
2934 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
2935 of the non-standard EPFNOSUPPORT.
2937 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
2939 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
2940 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
2941 ANYWHERE set to 1 only on KERN_NO_SPACE error.
2943 2012-01-21 Ulrich Drepper <drepper@gmail.com>
2945 * wcsmbs/uchar.h: Test __STDC_VERSION__.
2947 2012-01-20 Ulrich Drepper <drepper@gmail.com>
2949 * nscd/aicache.c (addhstaiX): Do not cache negative results of
2951 * nscd/grpcache.c (cache_addgr): Likewise.
2952 * nscd/hstcache.c (cache_addhst): Likewise.
2953 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2954 * nscd/pwdcache.c (cache_addpw): Likewise.
2955 * nscd/servicescache.c (cache_addserv): Likewise.
2957 2012-01-16 Ulrich Drepper <drepper@gmail.com>
2959 * malloc/malloc.c: Various cleanups.
2960 * malloc/hooks.c: Likewise.
2962 * stdlib/Makefile (tests): Add bug-fmtmsg1.
2963 * stdlib/bug-fmtmsg1.c: New file.
2965 * stdlib/fmtmsg.c (init): Add missing unlock.
2966 Patch by Peng Haitao <penght@cn.fujitsu.com>.
2968 2012-01-12 Marek Polacek <polacek@redhat.com>
2970 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
2973 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
2975 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
2976 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
2977 macro to ensure uniqueness of label name.
2978 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
2979 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
2981 2012-01-11 Ulrich Drepper <drepper@gmail.com>
2983 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
2985 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
2986 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2987 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
2990 2012-01-10 Ulrich Drepper <drepper@gmail.com>
2992 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
2994 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
2995 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2996 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2998 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3000 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3001 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3002 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3003 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3005 * math/bits/math-finite.h: Add ldexp support.
3007 2012-01-10 Marek Polacek <polacek@redhat.com>
3009 * locale/programs/localedef.h (show_archive_content): Add noreturn
3012 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3014 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3016 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3018 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3020 * io/Makefile (headers): Add bits/poll2.h.
3022 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3025 typo #include statement.
3027 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3029 * include/sys/cdefs.h: Define __attribute_alloc_size.
3030 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3031 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3032 * elf/pldd.c: Likewise.
3033 * iconv/iconv_charmap.c: Likewise.
3034 * iconv/iconvconfig.c: Likewise.
3035 * iconv/strtab.c: Likewise.
3036 * locale/programs/locale.c: Likewise.
3037 * locale/programs/localedef.h: Likewise.
3038 * locale/programs/simple-hash.c: Likewise.
3039 * nscd/nscd.h: Likewise.
3040 * nss/makedb.c: Likewise.
3041 * sysdeps/generic/ldconfig.h: Likewise.
3042 * locale/programs/localedef.c: Remove xmalloc prototype.
3043 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3045 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3047 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3050 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3052 * math/Makefile (tests): Add tst-CMPLX.
3053 * math/tst-CMPLX.c: New file.
3055 * math/complex.h (CMPLXL): Fix typo.
3057 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3058 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3060 * debug/tst-chk1.c: Add poll and ppoll tests.
3061 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3062 * include/sys/poll.h: Add hidden proto for ppoll.
3063 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3064 * sysdeps/mach/hurd/ppoll.c: Likewise.
3065 * io/ppoll.c: Likewise.
3066 * debug/poll_chk.c: New file.
3067 * debug/ppoll_chk.c: New file.
3068 * include/bits/poll2.h: New file.
3069 * io/bits/poll2.h: New file.
3072 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3074 * configure.in: static is always set to yes. Remove.
3075 * config.make.in: Don't set build-static.
3076 * Makeconfig: Remove use of build-static.
3077 * dlfcn/Makefile: Likewise.
3078 * elf/Makefile: Likewise.
3079 * math/Makefile: Likewise.
3080 * misc/Makefile: Likewise.
3081 * nptl/Makefile: Likewise.
3082 * sysdeps/mach/hurd/Makefile: Likewise.
3084 * configure.in: PWD_P is not used anymore.
3085 * config.make.in: Remove PWD_P entry.
3087 * configure.in: Remove last remnants of RANLIB.
3088 No need to check for signed size_t anymore.
3089 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3091 Remove __builtin_expect test because we require at least gcc 3.4.
3092 * aclocal.m4: Likewise.
3094 * wcsmbs/mbrtoc16.c: Implement using towc function.
3095 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3096 * wcsmbs/wcsmbsload.c: Likewise.
3097 * iconv/gconv_simple.c: Likewise.
3098 * iconv/gconv_int.h: Likewise.
3099 * iconv/gconv_builtin.h: Likewise.
3100 * iconv/iconv_prog.c: Remove CHAR16 handling.
3102 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3104 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3106 * configure.in: Remove --with-elf and --enable-bounded options.
3107 Dont set base_machine for ia64. More non-ELF conditions removed.
3108 Remove testing and setting of leading underscore information.
3109 * config.make.in (build-bounded): Set to no.
3110 * config.h.in: Remove NO_UNDERSCORES entry.
3111 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3113 * csu/start.c: Remove !NO_UNDERSCORE code.
3114 * locale/localeinfo.h: Likewise.
3115 * sysdeps/generic/machine-gmon.h: Likewise.
3116 * sysdeps/generic/sysdep.h: Likewise.
3117 * sysdeps/i386/sysdep.h: Likewise.
3118 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3119 * sysdeps/mach/sysdep.h: Likewise.
3120 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3121 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3122 * sysdeps/sh/sysdep.h: Likewise.
3123 * sysdeps/sparc/sparc32/alloca.S: Likewise.
3124 * sysdeps/unix/i386/sysdep.S: Likewise.
3125 * sysdeps/unix/sparc/start.c: Likewise.
3126 * sysdeps/unix/sparc/sysdep.S: Likewise.
3127 * sysdeps/unix/sparc/sysdep.h: Likewise.
3128 * sysdeps/unix/start.c: Likewise.
3129 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3130 * sysdeps/x86_64/sysdep.h: Likewise.
3132 2012-01-07 Ulrich Drepper <drepper@gmail.com>
3135 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
3137 * argp/argp-fmtstream.h: Use const instead __const.
3138 * argp/argp.h: Likewise.
3139 * assert/assert.h: Likewise.
3140 * bits/fenv.h: Likewise.
3141 * bits/sched.h: Likewise.
3142 * bits/sigset.h: Likewise.
3143 * bits/sigthread.h: Likewise.
3144 * catgets/nl_types.h: Likewise.
3145 * conform/data/pthread.h-data: Likewise.
3146 * crypt/crypt-private.h: Likewise.
3147 * crypt/crypt.h: Likewise.
3148 * crypt/crypt_util.c: Likewise.
3149 * ctype/ctype.h: Likewise.
3150 * debug/execinfo.h: Likewise.
3151 * debug/mbsnrtowcs_chk.c: Likewise.
3152 * debug/mbsrtowcs_chk.c: Likewise.
3153 * debug/wcsnrtombs_chk.c: Likewise.
3154 * debug/wcsrtombs_chk.c: Likewise.
3155 * debug/wcstombs_chk.c: Likewise.
3156 * dirent/dirent.h: Likewise.
3157 * dlfcn/dlfcn.h: Likewise.
3158 * elf/neededtest4.c: Likewise.
3159 * grp/grp.h: Likewise.
3160 * gshadow/gshadow.h: Likewise.
3161 * iconv/gconv.h: Likewise.
3162 * iconv/gconv_int.h: Likewise.
3163 * iconv/gconv_simple.c: Likewise.
3164 * iconv/iconv.h: Likewise.
3165 * iconv/loop.c: Likewise.
3166 * iconv/skeleton.c: Likewise.
3167 * include/aio.h: Likewise.
3168 * include/aliases.h: Likewise.
3169 * include/argz.h: Likewise.
3170 * include/arpa/inet.h: Likewise.
3171 * include/assert.h: Likewise.
3172 * include/dirent.h: Likewise.
3173 * include/dlfcn.h: Likewise.
3174 * include/execinfo.h: Likewise.
3175 * include/fcntl.h: Likewise.
3176 * include/fenv.h: Likewise.
3177 * include/glob.h: Likewise.
3178 * include/grp.h: Likewise.
3179 * include/libintl.h: Likewise.
3180 * include/mntent.h: Likewise.
3181 * include/netdb.h: Likewise.
3182 * include/pwd.h: Likewise.
3183 * include/rpc/netdb.h: Likewise.
3184 * include/sched.h: Likewise.
3185 * include/search.h: Likewise.
3186 * include/shadow.h: Likewise.
3187 * include/signal.h: Likewise.
3188 * include/stdio.h: Likewise.
3189 * include/stdlib.h: Likewise.
3190 * include/string.h: Likewise.
3191 * include/sys/socket.h: Likewise.
3192 * include/sys/stat.h: Likewise.
3193 * include/sys/statfs.h: Likewise.
3194 * include/sys/statvfs.h: Likewise.
3195 * include/sys/syslog.h: Likewise.
3196 * include/sys/time.h: Likewise.
3197 * include/sys/uio.h: Likewise.
3198 * include/time.h: Likewise.
3199 * include/unistd.h: Likewise.
3200 * include/utmp.h: Likewise.
3201 * include/wchar.h: Likewise.
3202 * include/wctype.h: Likewise.
3203 * inet/aliases.h: Likewise.
3204 * inet/arpa/inet.h: Likewise.
3205 * inet/netinet/ether.h: Likewise.
3206 * inet/netinet/in.h: Likewise.
3207 * intl/libintl.h: Likewise.
3208 * io/bits/fcntl2.h: Likewise.
3209 * io/fcntl.h: Likewise.
3210 * io/ftw.h: Likewise.
3211 * io/sys/poll.h: Likewise.
3212 * io/sys/stat.h: Likewise.
3213 * io/sys/statfs.h: Likewise.
3214 * io/sys/statvfs.h: Likewise.
3215 * io/utime.h: Likewise.
3216 * libio/bits/stdio.h: Likewise.
3217 * libio/bits/stdio2.h: Likewise.
3218 * libio/libio.h: Likewise.
3219 * libio/libioP.h: Likewise.
3220 * libio/stdio.h: Likewise.
3221 * locale/lc-ctype.c: Likewise.
3222 * locale/locale.h: Likewise.
3223 * login/utmp.h: Likewise.
3224 * malloc/arena.c: Likewise.
3225 * malloc/malloc.c: Likewise.
3226 * malloc/malloc.h: Likewise.
3227 * malloc/mcheck.c: Likewise.
3228 * malloc/mtrace.c: Likewise.
3229 * math/bits/mathcalls.h: Likewise.
3230 * math/fenv.h: Likewise.
3231 * math/math_private.h: Likewise.
3232 * misc/bits/error.h: Likewise.
3233 * misc/bits/syslog.h: Likewise.
3234 * misc/err.h: Likewise.
3235 * misc/error.h: Likewise.
3236 * misc/fstab.h: Likewise.
3237 * misc/mntent.h: Likewise.
3238 * misc/regexp.h: Likewise.
3239 * misc/search.h: Likewise.
3240 * misc/sgtty.h: Likewise.
3241 * misc/sys/mman.h: Likewise.
3242 * misc/sys/syslog.h: Likewise.
3243 * misc/sys/uio.h: Likewise.
3244 * misc/sys/xattr.h: Likewise.
3245 * misc/ttyent.h: Likewise.
3246 * nis/rpcsvc/ypclnt.h: Likewise.
3247 * nss/nss.h: Likewise.
3248 * posix/bits/unistd.h: Likewise.
3249 * posix/fnmatch.h: Likewise.
3250 * posix/glob.h: Likewise.
3251 * posix/sched.h: Likewise.
3252 * posix/spawn.h: Likewise.
3253 * posix/sys/wait.h: Likewise.
3254 * posix/unistd.h: Likewise.
3255 * posix/wordexp.h: Likewise.
3256 * pwd/pwd.h: Likewise.
3257 * resolv/netdb.h: Likewise.
3258 * resource/sys/resource.h: Likewise.
3259 * rt/aio.h: Likewise.
3260 * rt/bits/mqueue2.h: Likewise.
3261 * rt/mqueue.h: Likewise.
3262 * shadow/shadow.h: Likewise.
3263 * signal/signal.h: Likewise.
3264 * socket/send.c: Likewise.
3265 * socket/sendto.c: Likewise.
3266 * socket/sys/socket.h: Likewise.
3267 * stdio-common/printf.h: Likewise.
3268 * stdlib/bits/stdlib.h: Likewise.
3269 * stdlib/fmtmsg.h: Likewise.
3270 * stdlib/monetary.h: Likewise.
3271 * stdlib/stdlib.h: Likewise.
3272 * stdlib/ucontext.h: Likewise.
3273 * streams/stropts.h: Likewise.
3274 * string/argz.h: Likewise.
3275 * string/bits/string2.h: Likewise.
3276 * string/string.h: Likewise.
3277 * string/strings.h: Likewise.
3278 * sunrpc/rpc/auth.h: Likewise.
3279 * sunrpc/rpc/auth_des.h: Likewise.
3280 * sunrpc/rpc/clnt.h: Likewise.
3281 * sunrpc/rpc/netdb.h: Likewise.
3282 * sunrpc/rpc/pmap_clnt.h: Likewise.
3283 * sunrpc/rpc/xdr.h: Likewise.
3284 * sysdeps/generic/inttypes.h: Likewise.
3285 * sysdeps/generic/net/if.h: Likewise.
3286 * sysdeps/generic/sys/swap.h: Likewise.
3287 * sysdeps/gnu/net/if.h: Likewise.
3288 * sysdeps/gnu/utmpx.h: Likewise.
3289 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
3290 * sysdeps/i386/i486/bits/string.h: Likewise.
3291 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
3292 * sysdeps/s390/bits/string.h: Likewise.
3293 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
3294 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
3295 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
3296 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
3297 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
3298 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
3299 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
3300 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
3301 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
3302 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
3303 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
3304 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
3305 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
3306 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
3307 * sysdeps/unix/sysv/linux/readv.c: Likewise.
3308 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
3309 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3310 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3311 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3312 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3313 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3314 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
3315 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
3316 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
3317 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
3318 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
3319 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
3320 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3321 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
3322 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
3323 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
3324 * sysvipc/sys/ipc.h: Likewise.
3325 * sysvipc/sys/msg.h: Likewise.
3326 * sysvipc/sys/sem.h: Likewise.
3327 * sysvipc/sys/shm.h: Likewise.
3328 * termios/termios.h: Likewise.
3329 * time/sys/time.h: Likewise.
3330 * time/time.h: Likewise.
3331 * wcsmbs/bits/wchar2.h: Likewise.
3332 * wcsmbs/uchar.h: Likewise.
3333 * wcsmbs/wchar.h: Likewise.
3334 * wctype/wctype.h: Likewise.
3337 * Makeconfig: Remove all but ELF support including AIX support.
3338 * Makerules: Likewise.
3339 * config.h.in: Likewise.
3340 * config.make.in: Likewise.
3341 * configure: Likewise.
3342 * configure.in: Likewise.
3343 * csu/Makefile: Likewise.
3344 * csu/version.c: Likewise.
3345 * debug/Makefile: Likewise.
3346 * dlfcn/Makefile: Likewise.
3347 * elf/Makefile: Likewise.
3348 * extra-lib.mk: Likewise.
3349 * iconv/Makefile: Likewise.
3350 * include/libc-symbols.h: Likewise.
3351 * include/shlib-compat.h: Likewise.
3352 * resolv/Makefile: Likewise.
3353 * resolv/res_libc.c: Likewise.
3354 * rt/Makefile: Likewise.
3355 * sysdeps/i386/asm-syntax.h: Likewise.
3356 * sysdeps/i386/sysdep.h: Likewise.
3357 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3358 * sysdeps/mach/sysdep.h: Likewise.
3359 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
3360 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
3361 * sysdeps/s390/asm-syntax.h: Likewise.
3362 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3363 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3364 * sysdeps/sh/sysdep.h: Likewise.
3365 * sysdeps/unix/sparc/sysdep.h: Likewise.
3366 * sysdeps/wordsize-32/divdi3.c: Likewise.
3367 * sysdeps/x86_64/sysdep.h: Likewise.
3369 * argp/Versions: Remove _argp_unlock_xxx.
3372 * abilist/ld.abilist: Update. Adjust for removal of tls option.
3373 * abilist/libBrokenLocale.abilist: Likewise.
3374 * abilist/libanl.abilist: Likewise.
3375 * abilist/libc.abilist: Likewise.
3376 * abilist/libcrypt.abilist: Likewise.
3377 * abilist/libdl.abilist: Likewise.
3378 * abilist/libm.abilist: Likewise.
3379 * abilist/libnsl.abilist: Likewise.
3380 * abilist/libpthread.abilist: Likewise.
3381 * abilist/libresolv.abilist: Likewise.
3382 * abilist/librt.abilist: Likewise.
3383 * abilist/libthread_db.abilist: Likewise.
3384 * abilist/libutil.abilist: Likewise.
3385 * abilist/libnss_db.abilist: New file.
3387 * scripts/abilist.awk: Add support for indirect functions.
3389 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
3391 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
3393 * shlib-versions: Remove entries for ports architectures.
3395 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
3397 * elf/stackguard-macros.h: Remove support for IA-64.
3398 * elf/tst-auditmod1.c: Likewise.
3399 * sysdeps/generic/ldsodefs.h: Likewise.
3401 * sysdeps/unix/sysv/linux/configure.in: Ports should define
3402 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
3406 * configure.in: Remove --enable-omitfp support.
3408 * config.make.in: Likewise.
3409 * Makeconfig: Likewise.
3410 * manual/install.texi: Likewise.
3412 In case anyone cares, the IA-64 architecture could move to ports.
3413 * sysdeps/ia64/*: Removed.
3414 * sysdeps/unix/sysv/linux/ia64/*: Removed.
3415 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
3418 * configure.in: Remove entries for unsupported architectures.
3421 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
3422 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
3424 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
3425 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
3426 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
3427 fall back to using wcrtomb.
3428 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
3429 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
3431 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
3432 * wcsmbs/tst-c16c32-1.c: New file.
3434 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
3437 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
3439 * elf/tst-unique3.cc: Add explicit declaration of gets.
3440 * elf/tst-unique3lib.cc: Likewise.
3441 * elf/tst-unique3lib2.cc: Likewise.
3442 * elf/tst-unique4.cc: Likewise.
3444 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
3446 2012-01-06 Joseph Myers <joseph@codesourcery.com>
3449 * assert/assert.h (static_assert): Don't define for C++.
3450 * libio/stdio.h (gets): Do declare for C++ <= C++11.
3451 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
3453 2012-01-03 Ulrich Drepper <drepper@gmail.com>
3455 * iconv/loop.c (single loop): Fix assertion in storing of
3458 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
3460 2012-01-01 Ulrich Drepper <drepper@gmail.com>
3462 * posix/getconf.c: Update copyright year.
3463 * nss/getent.c: Likewise.
3464 * nss/makedb.c: Likewise.
3465 * iconv/iconvconfig.c: Likewise.
3466 * iconv/iconv_prog.c: Likewise.
3467 * elf/ldconfig.c: Likewise.
3468 * elf/pldd.c: Likewise.
3469 * elf/sotruss.ksh: Likewise.
3470 * catgets/gencat.c: Likewise.
3471 * csu/version.c: Likewise.
3472 * elf/ldd.bash.in: Likewise.
3473 * elf/sprof.c (print_version): Likewise.
3474 * locale/programs/locale.c: Likewise.
3475 * locale/programs/localedef.c: Likewise.
3476 * login/programs/pt_chown.c: Likewise.
3477 * nscd/nscd.c (print_version): Likewise.
3478 * debug/xtrace.sh: Likewise.
3479 * malloc/memusage.sh: Likewise.
3480 * malloc/mtrace.pl: Likewise.
3481 * debug/catchsegv.sh: Likewise.
3483 2011-12-30 Jakub Jelinek <jakub@redhat.com>
3485 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
3488 2011-12-24 Ulrich Drepper <drepper@gmail.com>
3491 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
3492 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
3494 * iconv/gconv_int.h: Likewise.
3495 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
3496 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
3497 from libc for GLIBC_2.16.
3498 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
3499 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
3500 * wcsmbs/uchar.h: Really define mbstate_t.
3501 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
3502 * wcsmbs/c16rtomb.c: New file.
3503 * wcsmbs/mbrtoc16.c: New file.
3504 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
3506 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
3507 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
3509 * wcsmbs/wchar.h: Add missing __restrict.
3511 2011-12-23 Ulrich Drepper <drepper@gmail.com>
3514 * time/Makefile (routines): Add timespec_get.
3515 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
3516 * time/time.h: Define TIME_UTC and declare timespec_get. Define
3517 timespec for ISO C11.
3518 * time/timespec_get.c: New file.
3519 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
3520 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
3523 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
3524 * stdlib/stdlib.h: Declare aligned_alloc.
3525 * Versions.def: Add GLIBC_2.16 for libc.
3526 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
3529 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
3532 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
3536 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
3539 * assert/assert.h (static_assert): Define.
3541 * version.h: Update for 2.16 development version.
3544 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
3547 * version.h (RELEASE): Bump for 2.15 release.
3548 * include/features.h (__GLIBC_MINOR__): Bump to 15.
3550 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
3551 Patch by Marek Polacek <mpolacek@redhat.com>.
3553 * bits/byteswap.h: Protect long long constants with __extension__.
3554 * sysdeps/i386/bits/byteswap.h: Likewise.
3555 * sysdeps/ia64/bits/byteswap.h: Likewise.
3556 * sysdeps/s390/bits/byteswap.h: Likewise.
3557 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3559 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3562 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
3564 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3566 2011-12-23 Marek Polacek <polacek@redhat.com>
3568 * elf/dl-addr.c (determine_info): Add inline keyword.
3569 * elf/tst-auditmod4b.c (check_avx): Likewise.
3570 * elf/tst-auditmod6b.c (check_avx): Likewise.
3571 * elf/tst-auditmod6c.c (check_avx): Likewise.
3572 * elf/tst-auditmod7b.c (check_avx): Likewise.
3574 2011-12-23 Ulrich Drepper <drepper@gmail.com>
3576 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
3579 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3582 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
3583 processing for last bytes.
3585 2011-08-06 Bruno Haible <bruno@clisp.org>
3588 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
3589 U+0385, not to U+1FEE.
3592 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
3593 entry for U+00A5 U+0301.
3595 2011-12-22 Ulrich Drepper <drepper@gmail.com>
3598 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
3599 buffer for the output is too small.
3601 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
3605 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
3606 SSE flags if possible.
3608 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3611 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
3612 processing for last bytes.
3614 2011-12-22 Joseph Myers <joseph@codesourcery.com>
3616 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
3617 (syscall-list-default-options, syscall-list-default-condition)
3618 (syscall-list-includes): Define.
3619 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
3620 list of ABIs and options and #if conditions for each ABI. Do not
3621 handle common syscalls between ABIs specially.
3622 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
3624 (syscall-list-variants, syscall-list-32bit-options)
3625 (syscall-list-32bit-condition, syscall-list-64bit-options)
3626 (syscall-list-64bit-condition): Define.
3627 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
3628 (syscall-list-variants, syscall-list-32bit-options)
3629 (syscall-list-32bit-condition, syscall-list-64bit-options)
3630 (syscall-list-64bit-condition): Define.
3631 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
3633 (syscall-list-variants, syscall-list-32bit-options)
3634 (syscall-list-32bit-condition, syscall-list-64bit-options)
3635 (syscall-list-64bit-condition): Define.
3636 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
3638 (syscall-list-variants, syscall-list-32bit-options)
3639 (syscall-list-32bit-condition, syscall-list-64bit-options)
3640 (syscall-list-64bit-condition): Define.
3642 2011-12-22 Ulrich Drepper <drepper@gmail.com>
3644 * locale/iso-639.def: Add brx entry.
3647 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
3648 Proposed by Mariusz_Cukr <marcukr@op.pl>.
3650 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
3651 __feraiseexcept_renamed.
3653 2011-12-21 Ulrich Drepper <drepper@gmail.com>
3656 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
3657 EPOLLET with unsigned values.
3658 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3659 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
3661 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
3662 to large cancellation.
3663 * math/s_cacoshf.c: Likewise.
3664 * math/s_cacoshl.c: Likewise.
3666 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
3670 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
3671 * math/s_cacoshf.c: Likewise.
3672 * math/s_cacoshl.c: Likewise.
3674 2011-12-21 Ulrich Drepper <drepper@gmail.com>
3677 * iconv/gconv.h: Define __GCONV_SWAP.
3678 * iconvdata/unicode.c: The swap bit must be stored in __flags.
3679 * iconvdata/utf-16.c: Likewise.
3680 * iconvdata/utf-32.c: Likewise.
3682 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
3685 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
3686 numerator after shifting it by one limb.
3688 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
3690 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
3691 under [__USE_EXTERN_INLINES].
3693 2011-12-17 Ulrich Drepper <drepper@gmail.com>
3696 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
3698 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3700 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
3701 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
3703 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
3704 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
3705 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
3706 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
3707 for strncasecmp/strncasecmp_l compilation.
3708 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
3709 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
3711 2011-12-08 Marek Polacek <mpolacek@redhat.com>
3714 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
3717 2011-12-17 Ulrich Drepper <drepper@gmail.com>
3720 * time/tzfile.c (__tzfile_read): Check values from file header.
3722 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
3724 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
3725 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
3726 * powerpc/powerpc32/dl-start.S: Likewise.
3727 * powerpc/powerpc32/elf/start.S: Likewise.
3728 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3729 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
3730 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
3731 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
3732 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3733 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
3734 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
3735 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
3736 * powerpc/powerpc32/fpu/s_round.S: Likewise.
3737 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3738 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3739 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3740 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3741 * powerpc/powerpc32/memset.S: Likewise.
3742 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3743 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3744 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3745 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3746 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3747 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3748 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3749 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3750 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
3751 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
3752 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
3753 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3754 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3756 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3758 * math/libm-test.inc: Added more nearbyint tests.
3759 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
3760 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
3761 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
3762 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
3764 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
3766 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
3769 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3771 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
3772 Add wcscpy-ssse3 wcscpy-c.
3773 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
3774 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
3775 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
3776 * sysdeps/x86_64/wcschr.S: New file.
3777 * sysdeps/x86_64/wcsrchr.S: New file.
3778 * string/test-strcmp.c: Remove checking of wcscmp function for
3780 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
3781 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
3782 wcsrchr-sse2 wcsrchr-c.
3783 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
3784 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
3785 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
3786 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
3787 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
3788 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
3789 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
3790 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
3791 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
3792 * wcsmbc/wcschr.c (WCSCHR): New macro.
3794 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3796 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
3797 * wcsmbs/test-wcsrchr.c: New file.
3798 * string/test-strrchr.c: Add wcsrchr support.
3800 * wcsmbs/test-wcscpy.c: New file.
3801 * string/test-strcpy.c: Add wcscpy support.
3804 2011-12-10 Ulrich Drepper <drepper@gmail.com>
3806 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
3809 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
3812 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
3814 2011-12-04 Ulrich Drepper <drepper@gmail.com>
3816 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
3817 Minor optimizations.
3819 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
3820 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
3821 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
3823 2011-12-03 Ulrich Drepper <drepper@gmail.com>
3825 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
3826 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
3827 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
3828 for gcc to avoid warnings.
3829 * inet/Makefile (tests): Add tst-checks.
3830 * inet/tst-checks.c: New file.
3832 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
3835 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
3838 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
3839 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
3841 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
3843 2011-12-02 Ulrich Drepper <drepper@gmail.com>
3845 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
3848 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
3850 2011-11-29 Joseph Myers <joseph@codesourcery.com>
3852 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
3853 conditional on GCC version.
3854 (__arch_compare_and_exchange_val_8_acq)
3855 (__arch_compare_and_exchange_val_16_acq)
3856 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
3857 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
3858 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
3860 2011-12-02 Joseph Myers <joseph@codesourcery.com>
3862 * sysdeps/sh/backtrace.c: New file.
3864 2011-12-02 Andreas Schwab <schwab@redhat.com>
3866 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
3869 2011-12-01 Andreas Schwab <schwab@redhat.com>
3871 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
3872 falling back to utime.
3874 2011-11-30 Andreas Schwab <schwab@redhat.com>
3876 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
3877 expectations for float.
3879 2011-11-29 Andreas Schwab <schwab@redhat.com>
3881 * locale/weight.h (findidx): Add parameter len.
3882 * locale/weightwc.h (findidx): Likewise.
3883 * posix/fnmatch_loop.c (FCT): Adjust caller.
3884 * posix/regcomp.c (build_equiv_class): Likewise.
3885 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
3886 * posix/regexec.c (check_node_accept_bytes): Likewise.
3887 * string/strcoll_l.c (STRCOLL): Likewise.
3888 * string/strxfrm_l.c (STRXFRM): Likewise.
3890 2011-11-17 Ulrich Drepper <drepper@gmail.com>
3892 * Makefile.in: Remove CVSOPT handling.
3893 * configure.in: Remove use of AC_REVISION.
3894 * iconvdata/Makefile (distribute): No need to filter out CVS.
3895 * scripts/list-sources.sh: Remove CVS, subversion and monotone
3898 2011-11-16 Andreas Schwab <schwab@redhat.com>
3900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
3901 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
3902 [USE_AS_STRNCASECMP_L]: Likewise.
3903 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
3904 NO_TLS_DIRECT_SEG_REFS.
3905 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
3906 Fix argument offsets for non-PIC.
3907 [USE_AS_STRNCASECMP_L]: Likewise.
3908 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
3909 NO_TLS_DIRECT_SEG_REFS.
3911 2011-11-15 Ulrich Drepper <drepper@gmail.com>
3913 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
3915 * locale/loadlocale.c (_nl_load_locale): Likewise.
3917 2011-11-15 Andreas Schwab <schwab@redhat.com>
3919 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
3920 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
3921 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
3922 (SYSCALL_GETTIME): Set errno on error.
3924 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
3925 count references to noai6ai_cached.
3927 2011-11-15 Ulrich Drepper <drepper@gmail.com>
3929 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
3931 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
3932 FD_CLOEXEC for /proc/self/maps.
3934 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
3935 FD_CLOEXEC for /proc/meminfo.
3937 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
3940 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
3941 FD_CLOEXEC for given file.
3943 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
3945 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
3946 FD_CLOEXEC for /etc/hosts.
3947 (_gethtent): Likewise.
3949 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
3951 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
3952 cancellation and set FD_CLOEXEC for /etc/netgroup.
3954 * nss/nss_files/files-key.c (search): Don't allow cancellation when
3955 reading /etc/publickey.
3957 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
3958 allow cancellation when reading /etc/group.
3960 * nss/nss_files/files-alias.c (internal_setent): Don't allow
3962 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
3964 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
3965 when using data file.
3967 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
3969 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
3970 (write_nis_obj): Use "c" and "e" in fopen.
3972 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
3974 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
3976 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
3978 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
3980 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
3983 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
3985 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
3987 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
3989 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
3990 file parsing and set FD_CLOEXEC.
3992 2011-11-14 Ulrich Drepper <drepper@gmail.com>
3994 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
3996 2011-11-14 Andreas Schwab <schwab@redhat.com>
3998 * malloc/arena.c (arena_get2): Don't call reused_arena when
3999 _int_new_arena failed.
4001 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4003 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4004 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4005 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4006 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4007 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4008 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4009 to compile strcasecmp and strncasecmp.
4010 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4011 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4013 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4015 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4017 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4018 locale-defines.sym to gen-as-const-headers.
4019 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4020 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4021 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4022 to compile strcasecmp and strncasecmp.
4023 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4024 strcasecmp_l and strncasecmp_l.
4025 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4026 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4027 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4028 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4029 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4030 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4031 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4032 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4033 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4034 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4035 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4037 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4039 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4040 result of SYSDEP_GETTIME_CPU to retval.
4041 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4042 parameter list to macro. Remove trailing semicolon. Adjust users.
4044 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4047 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4049 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4051 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4052 from unused variable.
4054 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4056 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4059 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4062 * sunrpc/rpc_prot.c (rejected): Fix case value.
4064 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4065 unsigned long long int to avoid warnings in shift.
4067 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4069 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4072 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4073 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4074 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4076 * nis/nis_table.c (nis_list): Use variable of correct type for
4077 result of __follow_path call.
4079 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4081 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4082 of math functions ceil, trunc, floor, round, and sqrt, when
4083 avaliable on the platform.
4084 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4086 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4087 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4088 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4090 2011-10-30 Marek Polacek <mpolacek@redhat.com>
4092 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4093 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4095 2011-11-11 Roland McGrath <roland@hack.frob.com>
4097 * include/unistd.h: Fix __readlink return type.
4098 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4100 2011-11-11 Ulrich Drepper <drepper@gmail.com>
4102 * stdlib/ucontext.h: Undo last change for makecontext.
4104 2011-11-11 Andreas Schwab <schwab@redhat.com>
4106 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4108 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4109 * setjmp/setjmp.h: Mark functions as non-leaf.
4110 * setjmp/bits/setjmp2.h: Likewise.
4111 * stdlib/ucontext.h: Likewise.
4113 2011-11-10 Andreas Schwab <schwab@redhat.com>
4115 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4116 (reused_arena): Don't check arena limit.
4117 (arena_get2): Atomically check arena limit.
4119 2011-11-08 Ulrich Drepper <drepper@gmail.com>
4121 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4122 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4124 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
4127 2011-11-07 Andreas Schwab <schwab@redhat.com>
4129 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
4130 handler when locking.
4132 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
4133 Fix size of allocated buffer.
4135 2011-11-04 Andreas Schwab <schwab@redhat.com>
4138 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
4139 declarations for long double functions.
4140 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
4142 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
4144 2011-11-03 Andreas Schwab <schwab@redhat.com>
4146 * nscd/nscd.c (main): Don't start AVC thread until credentials are
4149 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
4152 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4154 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
4156 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
4158 * include/alloca.h (stackinfo_alloca_round): Define.
4159 (extend_alloca): Use it.
4160 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
4161 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
4164 * scripts/check-local-headers.sh: Ignore libaudit.h.
4166 * nscd/Makefile (extra-objs): Make recursively expanded.
4168 2011-11-01 Ulrich Drepper <drepper@gmail.com>
4170 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
4171 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4173 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
4174 * posix/tst-rfc3484-2.c: Likewise.
4175 * posix/tst-rfc3484-3.c: Likewise.
4177 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4179 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
4181 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
4182 process_vm_writev from libc using GLIBC_2.15 version.
4184 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
4186 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
4188 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
4191 2011-10-31 Ulrich Drepper <drepper@gmail.com>
4194 * nss/getent.c (initgroups_keys): Show error message in case no group
4197 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
4198 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
4199 __bump_nl_timestamp.
4200 * nscd/connections (nscd_init): When host database is served open
4201 netlink socket and request notification about configuration changes.
4202 (main_loop_poll): Track netlink file descriptor and bump timestamp
4203 in case data becomes available.
4204 (main_loop_epoll): Likewise.
4205 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
4206 (database_pers_head): Add extra_data fileds.
4207 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
4208 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
4209 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
4211 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
4212 in6ai data, call __free_in6ai.
4213 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
4215 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
4216 interface information. Reuse previous data if netlink timestamp
4218 (__bump_nl_timestamp): New function.
4219 (__free_in6ai): New function.
4221 2011-10-30 Ulrich Drepper <drepper@gmail.com>
4223 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
4224 close_not_cancel_no_status here.
4225 (__check_pf): Reorganize code a bit to not call close twice if OOM.
4227 2011-10-29 Ulrich Drepper <drepper@gmail.com>
4230 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
4233 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
4234 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
4235 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
4237 2011-07-03 Andreas Jaeger <aj@suse.de>
4240 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
4241 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
4242 * math/libm-test.inc (sin_test): Add test case.
4244 2011-10-29 Ulrich Drepper <drepper@gmail.com>
4247 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
4248 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4250 * elf/chroot_canon.c (chroot_canon): Cleanups.
4252 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
4255 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
4256 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
4258 * string/test-strchr.c: Make usable for strchrnul testing.
4259 * string/test-strchrnul.c: New file.
4260 * string/Makefile (strop-tests): Add strchrnul.
4262 * po/it.po: Update from translation team.
4263 * po/es.po: Likewise.
4265 2011-10-28 Ulrich Drepper <drepper@gmail.com>
4267 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
4268 the three constants needed as parameters. Drop the others.
4269 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
4270 __m128i_strloadu_tolower.
4271 Create and initialize variable zero and use it in all the places
4272 where _mm_setzero_si128 was used.
4274 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
4275 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
4276 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
4277 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
4279 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
4280 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
4281 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
4282 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
4283 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
4284 __mpranred, __mptan.
4285 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
4286 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
4287 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
4288 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
4289 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
4290 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
4291 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
4292 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
4293 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
4295 2011-10-28 Andreas Schwab <schwab@redhat.com>
4297 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
4299 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
4301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
4302 wide char related routines to wcsmbs subdir.
4304 2011-10-27 Andreas Schwab <schwab@redhat.com>
4307 * misc/sys/cdefs.h (__THROWNL): Define.
4308 * posix/unistd.h: Use __THREADNL instead of __THREAD
4309 for memory synchronization functions.
4311 2011-10-26 Roland McGrath <roland@hack.frob.com>
4314 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
4316 * manual/stdio.texi (Obstack Streams): Node removed.
4318 2011-10-26 Andreas Schwab <schwab@redhat.com>
4320 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
4321 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4322 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4324 * math/math_private.h (math_force_eval): Allow non-addressable
4326 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
4328 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4330 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
4333 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
4334 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
4335 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4336 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4337 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4338 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4339 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4340 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
4342 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
4343 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
4344 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
4345 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
4346 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
4347 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
4348 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
4349 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
4350 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
4351 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
4352 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
4353 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
4354 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
4355 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
4356 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
4357 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
4358 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
4359 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
4360 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
4362 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
4363 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
4365 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
4366 place. Use VEX encoding when compiling for AVX.
4368 2011-10-25 Andreas Schwab <schwab@redhat.com>
4370 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
4371 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4373 * string/test-strchr.c (do_test): Don't generate NUL bytes.
4375 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4377 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
4378 useless if() expression.
4379 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4380 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4381 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4382 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4383 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4384 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4385 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4386 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4387 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4388 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4389 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4390 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4391 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4392 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4393 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4394 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4395 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4397 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4399 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
4401 2011-10-25 Andreas Schwab <schwab@redhat.com>
4403 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
4405 * elf/dl-fini.c (_dl_sort_fini): Likewise.
4407 2011-10-25 Ulrich Drepper <drepper@gmail.com>
4409 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
4410 .text section. Avoid duplicate constants.
4411 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4412 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4413 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4414 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4415 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4416 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4418 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4419 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4420 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
4421 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4422 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4423 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4424 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4425 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4426 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4427 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4428 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4429 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4430 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4431 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4432 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4433 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4434 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
4435 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
4436 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
4437 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
4438 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
4439 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
4440 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
4441 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
4442 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
4443 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4444 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
4445 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
4446 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
4447 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
4448 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
4449 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
4450 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
4451 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
4452 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
4453 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
4454 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
4455 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
4457 2011-10-24 Ulrich Drepper <drepper@gmail.com>
4459 * sysdeps/x86_64/dla.h: Move to ...
4460 * sysdeps/x86_64/fpu/dla.h: ...here.
4461 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
4462 situations. Use __builtin_fma only for gcc 4.6 and up.
4464 * config.make.in: Add have-mfma4 entry.
4465 * configure.in: Substitute libc_cv_cc_fma4.
4466 * math/Makefile (dbl-only-routines): Add sincostab.
4467 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
4468 Use __sincostab not sincos.
4469 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
4471 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
4476 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
4477 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
4478 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
4479 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
4481 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
4482 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
4484 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
4485 define aliases when function name is a macro.
4486 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
4487 sysdeps/ieee754/dbl-64/sincos.tbl.
4488 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
4489 fma4-enabled routines.
4490 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
4491 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
4492 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
4493 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
4494 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
4495 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
4496 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
4497 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
4498 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
4499 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
4500 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
4501 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
4502 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
4503 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
4504 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
4505 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
4506 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
4507 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
4508 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
4509 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
4510 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
4511 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
4512 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
4513 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
4514 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
4515 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
4516 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
4517 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
4518 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
4519 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
4521 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
4523 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4528 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4529 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4530 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4532 2011-10-24 Andreas Schwab <schwab@redhat.com>
4534 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
4536 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4538 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
4540 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
4542 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
4544 * string/strnlen.c: Don't define STRNLEN, reverse logic.
4545 Remove unused variable magic_bits.
4546 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
4548 * string/strnlen.c: Define and use STRNLEN macro.
4549 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
4550 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
4551 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
4552 * wcsmbs/wcslen.c: Define and use WCSLEN.
4553 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
4554 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
4555 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
4556 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
4557 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
4558 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
4559 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
4561 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4563 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4564 strnlen-sse2-no-bsf.
4565 Rename strlen-no-bsf to strlen-sse2-no-bsf.
4566 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
4567 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
4568 Add strnlen support.
4569 (USE_AS_STRNLEN): New macro.
4570 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
4571 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
4572 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
4573 * sysdeps/x86_64/wcslen.S: New file.
4575 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
4577 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4578 XMM-moves are used for copying on small sizes.
4580 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4582 * wcsmbs/Makefile (strop-tests): Add wcschr.
4583 * wcsmbs/test-wcschr.c: New file.
4584 * string/test-strchr.c: Update.
4588 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4590 * wcsmbs/Makefile (strop-tests): Add wcslen.
4591 * wcsmbs/test-wcslen.c: New file.
4592 * string/test-strlen.c: Update.
4596 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4598 * po/it.po: Update from translation team.
4600 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4602 * sysdeps/x86_64/wcscmp.S: Update.
4603 Fix wrong comparison semantics.
4604 wcscmp shall use signed comparison not unsigned.
4605 Don't use substraction to avoid overflow bug.
4606 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4607 * wcsmbc/wcscmp.c: Likewise.
4608 * string/test-strcmp.c: Likewise.
4609 Add new tests to check cases with negative values.
4611 2011-10-23 Ulrich Drepper <drepper@gmail.com>
4613 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
4614 * sysdeps/x86_64/dla.h: ...here. New file.
4615 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
4616 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4617 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4618 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4620 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4622 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4623 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4625 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
4627 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
4628 __ynl_finite aliases.
4630 2011-10-22 Ulrich Drepper <drepper@gmail.com>
4632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4634 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
4636 [DLA_FMA] (EMULV): Use DLA_FMA.
4637 [DLA_FMA] (MUL12): Use EMULV.
4638 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
4639 that are not needed.
4640 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4641 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4642 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4644 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4645 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4646 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4648 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
4650 * math/s_nan.c: Undef __nan.
4651 * math/s_nanf.c: Undef __nanf.
4652 * math/s_nanl.c: Undef __nanl.
4653 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
4656 2011-10-22 Ulrich Drepper <drepper@gmail.com>
4658 * math/s_catan.c: Add branch predictions.
4659 * math/s_catanf.c: Likewise.
4660 * math/s_catanh.c: Likewise.
4661 * math/s_catanhf.c: Likewise.
4662 * math/s_catanhl.c: Likewise.
4663 * math/s_catanl.c: Likewise.
4664 * math/s_cexp.c: Likewise.
4665 * math/s_cexpf.c: Likewise.
4666 * math/s_cexpl.c: Likewise.
4667 * math/s_clog.c: Likewise.
4668 * math/s_clog10.c: Likewise.
4669 * math/s_clog10f.c: Likewise.
4670 * math/s_clog10l.c: Likewise.
4671 * math/s_clogf.c: Likewise.
4672 * math/s_clogl.c: Likewise.
4673 * math/s_csqrt.c: Likewise.
4674 * math/s_csqrtf.c: Likewise.
4675 * math/s_csqrtl.c: Likewise.
4676 * math/s_ctanf.c: Likewise.
4677 * math/s_ctanh.c: Likewise.
4678 * math/s_ctanhf.c: Likewise.
4679 * math/s_ctanhl.c: Likewise.
4680 * math/s_ctanl.c: Likewise.
4682 * math/math_private.h: Define __nan, __nanf, __nanl.
4683 * math/s_cacosh.c: Include <math_private.h>.
4684 * math/s_cacoshl.c: Likewise.
4685 * math/s_casinh.c: Likewise.
4686 * math/s_casinhf.c: Likewise.
4687 * math/s_casinhl.c: Likewise.
4688 * math/s_ccos.c: Rely entire on ccosh.
4689 * math/s_ccosf.c: Rely entire on ccoshf.
4690 * math/s_ccosl.c: Rely entirely on ccoshl.
4691 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
4692 Remove tests for FE_INVALID.
4693 * math/s_ccoshf.c: Likewise.
4694 * math/s_ccoshl.c: Likewise.
4695 * math/s_csin.c: Likewise.
4696 * math/s_csinf.c: Likewise.
4697 * math/s_csinh.c Likewise.
4698 * math/s_csinhf.c: Likewise.
4699 * math/s_csinhl.c: Likewise.
4700 * math/s_csinl.c: Likewise.
4701 * math/s_ctan.c: Likewise.
4702 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
4703 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
4704 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
4706 2011-10-21 Ulrich Drepper <drepper@gmail.com>
4708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
4709 compilation problems.
4711 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
4714 2011-10-20 Ulrich Drepper <drepper@gmail.com>
4716 * sysdeps/i386/configure.in: Test for -mfma4 option.
4717 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
4718 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
4719 COMMON_CPUID_INDEX_80000001.
4720 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
4721 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
4722 use it if FMA3 is not supported.
4723 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
4725 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
4726 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
4728 2011-10-20 Andreas Schwab <schwab@redhat.com>
4731 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
4732 it would create a cycle with a link time dependency.
4734 2011-10-19 Ulrich Drepper <drepper@gmail.com>
4736 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
4738 * string/Makefile (strop-tests): Add rawmemchr.
4739 * string/test-rawmemchr.c: New file.
4741 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
4742 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
4743 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
4744 when compiling str{,n}casecmp and when AVX is available. Hook up
4745 new optimized code in initializers.
4747 2011-10-19 Andreas Schwab <schwab@redhat.com>
4749 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
4750 __feraiseexcept instead of feraiseexcept.
4752 2011-10-18 Ulrich Drepper <drepper@gmail.com>
4754 * math/math_private.h: Define defaults for libc_fetestexcept and
4756 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
4757 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
4758 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
4759 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4760 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4761 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4762 libc_fetestexcept and libc_feupdateenv.
4764 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
4765 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
4766 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
4767 * sysdeps/x86_64/fpu/math_private.h: Define special version of
4768 libc_feholdexcept_setround.
4770 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
4771 Add s_nearbyint-c and s_nearbyintf-c.
4772 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
4774 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
4775 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
4776 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
4777 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
4779 * math/math_private.h: Define defaults for libc_fegetround,
4780 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
4781 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
4782 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
4783 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
4784 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
4786 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4787 Remove comments and hacks for old compiler versions.
4788 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
4789 libc_fegetround, libc_fesetround, libc_feholdexcept, and
4792 2011-10-18 Andreas Schwab <schwab@redhat.com>
4794 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
4795 (__feraiseexcept_renamed): Add __NTH.
4796 (feraiseexcept): Add __NTH. Rename local variables to fix
4797 namespace violations.
4799 2011-10-17 Ulrich Drepper <drepper@gmail.com>
4801 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
4803 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
4805 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
4806 recently added interfaces.
4807 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
4809 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
4810 about macro parameter expansion.
4812 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
4813 __NO_MATH_INLINES is defined. Cleanups.
4815 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
4816 and __floorf is target has SSE4.1.
4817 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
4818 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
4819 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
4820 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
4822 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
4826 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
4828 2011-10-17 Andreas Schwab <schwab@redhat.com>
4830 * misc/sys/cdefs.h: Fix last change.
4832 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
4835 2011-10-16 Ulrich Drepper <drepper@gmail.com>
4837 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
4839 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
4840 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4841 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4842 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4843 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4844 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4845 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4846 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4847 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4848 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
4849 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
4850 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
4851 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
4852 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
4853 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
4854 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
4855 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
4856 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
4857 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
4858 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
4859 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
4860 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
4862 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
4863 ceil, ceilf, floor, floorf.
4865 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
4866 Perform IRELATIVE relocations last.
4868 * elf/do-rel.h: Add another parameter nrelative, replacing the
4869 local variable with the same name. Change name of the function
4870 to end in Rel or Rela (uppercase).
4871 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
4872 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
4873 elf_dynamic_do_##reloc function.
4875 2011-10-15 Ulrich Drepper <drepper@gmail.com>
4877 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
4878 is sufficient, at least on modern CPUs.
4880 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
4882 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
4883 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
4885 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
4887 * math/bits/math-finite.h: Add entries for exp.
4888 * math/e_expl.c: Add __*_finite alias.
4889 * sysdeps/i386/fpu/e_exp.S: Likewise.
4890 * sysdeps/i386/fpu/e_expf.S: Likewise.
4891 * sysdeps/i386/fpu/e_expl.c: Likewise.
4892 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4893 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
4894 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4895 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4896 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
4897 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4898 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4900 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
4901 is sufficient, at least on modern CPUs.
4903 * ctype/ctype-info.c (__ctype_init): Define.
4904 * include/ctype.h (__ctype_init): Declare.
4905 (__ctype_b_loc): The variable is always initialized.
4906 (__ctype_toupper_loc): Likewise.
4907 (__ctype_tolower_loc): Likewise.
4908 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
4909 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
4911 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
4913 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
4915 * configure.in: Also look in $cxxmachine/include for C++ system
4918 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4920 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
4921 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
4922 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
4923 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
4924 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
4925 (USE_AS_WMEMCMP): New macro.
4927 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
4928 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
4929 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
4930 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
4931 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4932 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
4933 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
4934 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
4935 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
4936 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
4937 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
4938 (USE_AS_WMEMCMP): New macro.
4939 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
4940 * sysdeps/string/test-memcmp.c: Update.
4943 * wcsmbs/wmemcmp.c: Update.
4944 (WMEMCMP): New macro.
4947 2011-10-12 Andreas Jaeger <aj@suse.de>
4950 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
4952 2011-10-15 Ulrich Drepper <drepper@gmail.com>
4954 * libio/iofwide.c (do_length): Avoid warning.
4956 * ctype/ctype.h (__isctype_f): Add missing __THROW.
4958 2011-10-14 Ulrich Drepper <drepper@gmail.com>
4960 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
4962 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
4963 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
4964 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
4965 * sysdeps/i386/i686/fpu/e_log.S: New file.
4966 * sysdeps/i386/i686/fpu/e_logf.S: New file.
4967 * sysdeps/i386/i686/fpu/e_logl.S: New file.
4969 * ctype/ctype.h: Add support for inlined isXXX functions when
4972 2011-10-14 Andreas Schwab <schwab@redhat.com>
4974 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4976 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
4978 2011-10-13 Roland McGrath <roland@hack.frob.com>
4981 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
4983 2011-10-13 Andreas Schwab <schwab@redhat.com>
4985 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
4986 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
4989 * sysdeps/x86_64/memrchr.S: Check for zero size.
4991 * string/stratcliff.c: Add memrchr tests.
4993 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4995 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
4996 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
4997 rawmemchr-sse2 rawmemchr-sse2-bsf.
4998 * sysdeps/i386/i686/multiarch/memchr.S: New file.
4999 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5000 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5001 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5002 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5003 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5004 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5005 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5006 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5007 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5008 * string/memrchr.c (MEMRCHR): New macro.
5010 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5012 Add integration with gcc's -ffinite-math-only and optimize wrapper
5014 * Versions.def: Define GLIBC_2.15 version for libm.
5015 * math/Makefile (headers): Add bits/math-finite.h.
5016 * math/bits/math-finite.h: New file.
5017 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5018 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5019 * math/e_acoshl.c: Add __*_finite alias.
5020 * math/e_acosl.c: Likewise.
5021 * math/e_asinl.c: Likewise.
5022 * math/e_atan2l.c: Likewise.
5023 * math/e_atanhl.c: Likewise.
5024 * math/e_coshl.c: Likewise.
5025 * math/e_exp10.c: Likewise.
5026 * math/e_exp10f.c: Likewise.
5027 * math/e_exp10l.c: Likewise.
5028 * math/e_exp2l.c: Likewise.
5029 * math/e_fmodl.c: Likewise.
5030 * math/e_gammal_r.c: Likewise.
5031 * math/e_hypotl.c: Likewise.
5032 * math/e_j0l.c: Likewise.
5033 * math/e_j1l.c: Likewise.
5034 * math/e_jnl.c: Likewise.
5035 * math/e_lgammal_r.c: Likewise.
5036 * math/e_log10l.c: Likewise.
5037 * math/e_log2l.c: Likewise.
5038 * math/e_logl.c: Likewise.
5039 * math/e_powl.c: Likewise.
5040 * math/e_sinhl.c: Likewise.
5041 * math/e_sqrtl.c: Likewise.
5042 * math/e_scalb.c: Completely rewritten and optimized.
5043 * math/e_scalbf.c: Likewise.
5044 * math/e_scalbl.c: Likewise.
5045 * math/w_acos.c: Likewise.
5046 * math/w_acosf.c: Likewise.
5047 * math/w_acosl.c: Likewise.
5048 * math/w_acosh.c: Likewise.
5049 * math/w_acoshf.c: Likewise.
5050 * math/w_acoshl.c: Likewise.
5051 * math/w_asin.c: Likewise.
5052 * math/w_asinf.c: Likewise.
5053 * math/w_asinl.c: Likewise.
5054 * math/w_atan2.c: Likewise.
5055 * math/w_atan2f.c: Likewise.
5056 * math/w_atan2l.c: Likewise.
5057 * math/w_atanh.c: Likewise.
5058 * math/w_atanhf.c: Likewise.
5059 * math/w_atanhl.c: Likewise.
5060 * math/w_exp10.c: Likewise.
5061 * math/w_exp10f.c: Likewise.
5062 * math/w_exp10l.c: Likewise.
5063 * math/w_fmod.c: Likewise.
5064 * math/w_fmodf.c: Likewise.
5065 * math/w_fmodl.c: Likewise.
5066 * math/w_j0.c: Likewise.
5067 * math/w_j0f.c: Likewise.
5068 * math/w_j0l.c: Likewise.
5069 * math/w_j1.c: Likewise.
5070 * math/w_j1f.c: Likewise.
5071 * math/w_j1l.c: Likewise.
5072 * math/w_jn.c: Likewise.
5073 * math/w_jnf.c: Likewise.
5074 * math/w_log.c: Likewise.
5075 * math/w_logf.c: Likewise.
5076 * math/w_logl.c: Likewise.
5077 * math/w_log10.c: Likewise.
5078 * math/w_log10f.c: Likewise.
5079 * math/w_log10l.c: Likewise.
5080 * math/w_log2.c: Likewise.
5081 * math/w_log2f.c: Likewise.
5082 * math/w_log2l.c: Likewise.
5083 * math/w_pow.c: Likewise.
5084 * math/w_powf.c: Likewise.
5085 * math/w_powl.c: Likewise.
5086 * math/w_remainder.c: Likewise.
5087 * math/w_remainderf.c: Likewise.
5088 * math/w_remainderl.c: Likewise.
5089 * math/w_scalb.c: Likewise.
5090 * math/w_scalbf.c: Likewise.
5091 * math/w_scalbl.c: Likewise.
5092 * math/w_sqrt.c: Likewise.
5093 * math/w_sqrtf.c: Likewise.
5094 * math/w_sqrtl.c: Likewise.
5095 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5096 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5098 * math/math_private.h: Declare __kernel_standard_f.
5099 * math/w_cosh.c: Remove cruft and optimize a bit.
5100 * math/w_coshf.c: Likewise.
5101 * math/w_coshl.c: Likewise.
5102 * math/w_exp2.c: Likewise.
5103 * math/w_exp2f.c: Likewise.
5104 * math/w_exp2l.c: Likewise.
5105 * math/w_hypot.c: Likewise.
5106 * math/w_hypotf.c: Likewise.
5107 * math/w_hypotl.c: Likewise.
5108 * math/w_lgamma.c: Likewise.
5109 * math/w_lgamma_r.c: Likewise.
5110 * math/w_lgammaf.c: Likewise.
5111 * math/w_lgammaf_r.c: Likewise.
5112 * math/w_lgammal.c: Likewise.
5113 * math/w_lgammal_r.c: Likewise.
5114 * math/w_sinh.c: Likewise.
5115 * math/w_sinhf.c: Likewise.
5116 * math/w_sinhl.c: Likewise.
5117 * math/w_tgamma.c: Likewise.
5118 * math/w_tgammaf.c: Likewise.
5119 * math/w_tgammal.c: Likewise.
5120 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5121 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5122 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5123 Minor optimizations. Pretty printing. Remove cruft.
5124 * sysdeps/i386/fpu/e_acosf.S: Likewise.
5125 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5126 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5127 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5128 * sysdeps/i386/fpu/e_acosl.c: Likewise.
5129 * sysdeps/i386/fpu/e_asin.S: Likewise.
5130 * sysdeps/i386/fpu/e_asinf.S: Likewise.
5131 * sysdeps/i386/fpu/e_atan2.S: Likewise.
5132 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
5133 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
5134 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5135 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5136 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5137 * sysdeps/i386/fpu/e_exp10.S: Likewise.
5138 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
5139 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
5140 * sysdeps/i386/fpu/e_exp2.S: Likewise.
5141 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
5142 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
5143 * sysdeps/i386/fpu/e_fmod.S: Likewise.
5144 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
5145 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
5146 * sysdeps/i386/fpu/e_hypot.S: Likewise.
5147 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
5148 * sysdeps/i386/fpu/e_log.S: Likewise.
5149 * sysdeps/i386/fpu/e_log10.S: Likewise.
5150 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5151 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5152 * sysdeps/i386/fpu/e_log2.S: Likewise.
5153 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5154 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5155 * sysdeps/i386/fpu/e_logf.S: Likewise.
5156 * sysdeps/i386/fpu/e_logl.S: Likewise.
5157 * sysdeps/i386/fpu/e_pow.S: Likewise.
5158 * sysdeps/i386/fpu/e_powf.S: Likewise.
5159 * sysdeps/i386/fpu/e_powl.S: Likewise.
5160 * sysdeps/i386/fpu/e_remainder.S: Likewise.
5161 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
5162 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
5163 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5164 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5165 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5166 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
5167 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
5168 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
5169 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
5170 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5172 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
5173 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5174 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
5175 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
5176 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
5177 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5178 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5179 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5180 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
5181 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5182 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
5183 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
5184 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5185 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
5186 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
5187 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5188 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5189 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
5190 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
5191 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5192 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5193 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
5194 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
5195 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5196 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
5197 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
5198 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
5199 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5200 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5201 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5202 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
5203 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
5204 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
5205 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
5206 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
5207 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
5208 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
5209 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
5210 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
5211 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
5212 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5213 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5214 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5215 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5216 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5217 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
5218 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5219 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5220 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5221 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5222 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5223 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5224 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5225 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5226 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5227 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5228 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5229 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5230 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
5231 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5232 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5233 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
5234 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
5235 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
5236 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
5237 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
5238 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
5239 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
5240 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
5241 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
5242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
5243 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
5244 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5245 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
5246 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
5247 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5248 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
5249 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5250 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
5251 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
5252 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5253 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5254 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5255 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5256 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
5257 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
5258 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
5259 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5260 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5261 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5262 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5263 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5264 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5265 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5266 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5267 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5268 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5269 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
5270 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
5271 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
5272 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
5273 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5274 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5275 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5276 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5277 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
5278 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5279 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
5280 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
5281 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
5282 (__isnanf): Likewise.
5283 (__isinf_ns): Likewise.
5284 (__isinf_nsf): Likewise.
5285 (__finite): Likewise.
5286 (__finitef): Likewise.
5287 (__ieee754_sqrt): Define as macro.
5288 (__ieee754_sqrtf): Define as macro.
5289 (__ieee754_sqrtl): Define as macro.
5290 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
5292 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
5293 __FINITE_MATH_ONLY__ consistent.
5294 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
5296 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
5298 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
5301 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
5303 2011-10-09 Ulrich Drepper <drepper@gmail.com>
5305 * po/ja.po: Update from translation team.
5307 2011-10-08 Roland McGrath <roland@hack.frob.com>
5309 * locale/programs/locarchive.c (prepare_address_space): New function.
5310 (create_archive, enlarge_archive, open_archive): Use it.
5312 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
5313 inside [SHARED], where it is used.
5315 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
5317 * nss/getent.c (netgroup_keys): Remove unused variable.
5318 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
5320 2011-10-08 Ulrich Drepper <drepper@gmail.com>
5322 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
5323 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
5324 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
5325 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
5326 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
5327 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
5328 * math/Makefile (libm-calls): Add s_isinf_ns.
5329 * math/divtc3.c: Use __isinf_nsl instead of isinf.
5330 * math/multc3.c: Likewise.
5331 * math/s_casin.c: Likewise.
5332 * math/s_casinf.c: Likewise.
5333 * math/s_casinl.c: Likewise.
5334 * math/s_ccos.c: Likewise.
5335 * math/s_ccosf.c: Likewise.
5336 * math/s_ccosl.c: Likewise.
5337 * math/s_ctan.c: Likewise.
5338 * math/s_ctanf.c: Likewise.
5339 * math/s_ctanh.c: Likewise.
5340 * math/s_ctanhf.c: Likewise.
5341 * math/s_ctanhl.c: Likewise.
5342 * math/s_ctanl.c: Likewise.
5343 * math/w_fmod.c: Likewise.
5344 * math/w_fmodf.c: Likewise.
5345 * math/w_fmodl.c: Likewise.
5346 * math/w_remainder.c: Likewise.
5347 * math/w_remainderf.c: Likewise.
5348 * math/w_remainderl.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
5350 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
5351 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
5352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
5353 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
5354 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
5355 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
5356 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
5358 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
5360 * stdio-common/printf_fphex.c: Likewise.
5361 * stdio-common/printf_size.c: Likewise.
5363 * math/e_exp10.c: Include math_private.h using <...> not "...".
5364 * math/e_exp10f.c: Likewise.
5365 * math/e_exp10l.c: Likewise.
5366 * math/e_exp2l.c: Likewise.
5367 * math/e_j0l.c: Likewise.
5368 * math/e_j1l.c: Likewise.
5369 * math/e_jnl.c: Likewise.
5370 * math/e_lgammal_r.c: Likewise.
5371 * math/e_rem_pio2l.c: Likewise.
5372 * math/e_scalb.c: Likewise.
5373 * math/e_scalbf.c: Likewise.
5374 * math/e_scalbl.c: Likewise.
5375 * math/k_cosl.c: Likewise.
5376 * math/k_sinl.c: Likewise.
5377 * math/k_tanl.c: Likewise.
5378 * math/s_cacoshf.c: Likewise.
5379 * math/s_catan.c: Likewise.
5380 * math/s_catanf.c: Likewise.
5381 * math/s_catanh.c: Likewise.
5382 * math/s_catanhf.c: Likewise.
5383 * math/s_catanhl.c: Likewise.
5384 * math/s_catanl.c: Likewise.
5385 * math/s_ccosh.c: Likewise.
5386 * math/s_ccoshf.c: Likewise.
5387 * math/s_ccoshl.c: Likewise.
5388 * math/s_cexp.c: Likewise.
5389 * math/s_cexpf.c: Likewise.
5390 * math/s_cexpl.c: Likewise.
5391 * math/s_clog.c: Likewise.
5392 * math/s_clog10.c: Likewise.
5393 * math/s_clog10f.c: Likewise.
5394 * math/s_clog10l.c: Likewise.
5395 * math/s_clogf.c: Likewise.
5396 * math/s_clogl.c: Likewise.
5397 * math/s_csin.c: Likewise.
5398 * math/s_csinf.c: Likewise.
5399 * math/s_csinh.c: Likewise.
5400 * math/s_csinhf.c: Likewise.
5401 * math/s_csinhl.c: Likewise.
5402 * math/s_csinl.c: Likewise.
5403 * math/s_csqrt.c: Likewise.
5404 * math/s_csqrtf.c: Likewise.
5405 * math/s_csqrtl.c: Likewise.
5406 * math/s_ctan.c: Likewise.
5407 * math/s_ctanf.c: Likewise.
5408 * math/s_ctanh.c: Likewise.
5409 * math/s_ctanhf.c: Likewise.
5410 * math/s_ctanhl.c: Likewise.
5411 * math/s_ctanl.c: Likewise.
5412 * math/s_ldexp.c: Likewise.
5413 * math/s_ldexpf.c: Likewise.
5414 * math/s_ldexpl.c: Likewise.
5415 * math/s_significand.c: Likewise.
5416 * math/s_significandf.c: Likewise.
5417 * math/s_significandl.c: Likewise.
5418 * math/w_acos.c: Likewise.
5419 * math/w_acosf.c: Likewise.
5420 * math/w_acosh.c: Likewise.
5421 * math/w_acoshf.c: Likewise.
5422 * math/w_acoshl.c: Likewise.
5423 * math/w_acosl.c: Likewise.
5424 * math/w_asin.c: Likewise.
5425 * math/w_asinf.c: Likewise.
5426 * math/w_asinl.c: Likewise.
5427 * math/w_atan2.c: Likewise.
5428 * math/w_atan2f.c: Likewise.
5429 * math/w_atan2l.c: Likewise.
5430 * math/w_atanh.c: Likewise.
5431 * math/w_atanhf.c: Likewise.
5432 * math/w_atanhl.c: Likewise.
5433 * math/w_cosh.c: Likewise.
5434 * math/w_coshf.c: Likewise.
5435 * math/w_coshl.c: Likewise.
5436 * math/w_dremf.c: Likewise.
5437 * math/w_exp10.c: Likewise.
5438 * math/w_exp10f.c: Likewise.
5439 * math/w_exp10l.c: Likewise.
5440 * math/w_exp2.c: Likewise.
5441 * math/w_exp2f.c: Likewise.
5442 * math/w_fmod.c: Likewise.
5443 * math/w_fmodf.c: Likewise.
5444 * math/w_fmodl.c: Likewise.
5445 * math/w_hypot.c: Likewise.
5446 * math/w_hypotf.c: Likewise.
5447 * math/w_hypotl.c: Likewise.
5448 * math/w_j0.c: Likewise.
5449 * math/w_j0f.c: Likewise.
5450 * math/w_j0l.c: Likewise.
5451 * math/w_j1.c: Likewise.
5452 * math/w_j1f.c: Likewise.
5453 * math/w_j1l.c: Likewise.
5454 * math/w_jn.c: Likewise.
5455 * math/w_jnf.c: Likewise.
5456 * math/w_jnl.c: Likewise.
5457 * math/w_lgamma.c: Likewise.
5458 * math/w_lgamma_r.c: Likewise.
5459 * math/w_lgammaf.c: Likewise.
5460 * math/w_lgammaf_r.c: Likewise.
5461 * math/w_lgammal.c: Likewise.
5462 * math/w_lgammal_r.c: Likewise.
5463 * math/w_log.c: Likewise.
5464 * math/w_log10.c: Likewise.
5465 * math/w_log10f.c: Likewise.
5466 * math/w_log10l.c: Likewise.
5467 * math/w_log2.c: Likewise.
5468 * math/w_log2f.c: Likewise.
5469 * math/w_log2l.c: Likewise.
5470 * math/w_logf.c: Likewise.
5471 * math/w_logl.c: Likewise.
5472 * math/w_pow.c: Likewise.
5473 * math/w_powf.c: Likewise.
5474 * math/w_powl.c: Likewise.
5475 * math/w_remainder.c: Likewise.
5476 * math/w_remainderf.c: Likewise.
5477 * math/w_remainderl.c: Likewise.
5478 * math/w_scalb.c: Likewise.
5479 * math/w_scalbf.c: Likewise.
5480 * math/w_scalbl.c: Likewise.
5481 * math/w_sinh.c: Likewise.
5482 * math/w_sinhf.c: Likewise.
5483 * math/w_sinhl.c: Likewise.
5484 * math/w_sqrt.c: Likewise.
5485 * math/w_sqrtf.c: Likewise.
5486 * math/w_sqrtl.c: Likewise.
5487 * math/w_tgamma.c: Likewise.
5488 * math/w_tgammaf.c: Likewise.
5489 * math/w_tgammal.c: Likewise.
5491 * po/ja.po: Update from translation team.
5493 2011-09-29 Andreas Jaeger <aj@suse.de>
5496 * sunrpc/netname.c (netname2host): Fix logic.
5500 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
5502 * math/w_remainder.c (__remainder): Likewise.
5503 * math/w_remainderf.c (__remainderf): Likewise.
5504 * math/libm-test.inc (remainder_test): Add test cases.
5506 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5508 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
5511 2011-10-07 Ulrich Drepper <drepper@gmail.com>
5513 * string/test-memcmp.c: Avoid unncessary #defines.
5514 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5516 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5518 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
5519 Use new sse2 version for core i3 - i7 as it's faster
5521 (bit_Prefer_PMINUB_for_stringop): New.
5522 * sysdeps/x86_64/rawmemchr.S: Update.
5523 Replace with faster SSE2 version.
5524 * sysdeps/x86_64/memrchr.S: New file.
5525 * sysdeps/x86_64/memchr.S: Update.
5526 Replace with faster SSE2 version.
5528 2011-09-12 Marek Polacek <mpolacek@redhat.com>
5530 * elf/dl-load.c (lose): Add cast to avoid warning.
5532 2011-10-07 Ulrich Drepper <drepper@gmail.com>
5534 * po/ca.po: Update from translation team.
5536 * inet/getnetgrent_r.c: Hook up nscd.
5537 * nscd/Makefile (routines): Add nscd_netgroup.
5538 (nscd-modules): Add netgroupcache.
5539 (CFLAGS-netgroupcache.c): Define.
5540 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
5541 (cache_search): Add const to second parameter.
5542 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
5544 (dbs): Add netgrdb entry.
5545 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
5546 (verify_persistent_db): Handle netgrdb.
5547 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
5548 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
5550 (netgroup_response_header): Define.
5551 (innetgroup_response_header): Define.
5552 (datahead): Add netgroup_response_header and innetgroup_response_header
5554 * nscd/nscd.conf: Add entries for netgroup cache.
5555 * nscd/nscd.h (dbtype): Add netgrdb.
5556 (_PATH_NSCD_NETGROUP_DB): Define.
5557 (netgroup_iov_disabled): Declare.
5558 (xmalloc, xcalloc, xrealloc): Move declarations here.
5559 (cache_search): Adjust prototype.
5560 Add netgroup-related prototypes.
5561 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
5562 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
5563 (__nscd_innetgr): Declare.
5564 * nscd/selinux.c (perms): Use access_vector_t as element type and
5565 add netgroup-related initializers.
5566 * nscd/netgroupcache.c: New file.
5567 * nscd/nscd_netgroup.c: New file.
5568 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
5569 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
5570 For four parameters use innetgr.
5571 * nss/nss_files/files-init.c: Add definition and callback for netgr.
5572 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
5573 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
5574 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
5576 * nscd/connections.c (register_traced_file): Don't register file
5577 for disabled databases.
5579 2011-10-06 Ulrich Drepper <drepper@gmail.com>
5581 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
5583 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
5584 from tree and freeing node.
5586 2011-09-25 Jiri Olsa <jolsa@redhat.com>
5588 * nss/nsswitch.c (__nss_database_lookup): Handle
5589 nss_parse_service_list out of memory case.
5591 2011-09-15 Jiri Olsa <jolsa@redhat.com>
5593 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
5596 2011-10-04 Andreas Schwab <schwab@redhat.com>
5598 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
5599 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
5601 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
5602 elf_machine_rela, elf_machine_lazy_rel.
5603 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
5604 (ELF_DYNAMIC_DO_REL): Likewise.
5605 (ELF_DYNAMIC_DO_RELA): Likewise.
5606 (ELF_DYNAMIC_RELOCATE): Likewise.
5607 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
5608 to ELF_DYNAMIC_DO_REL.
5609 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
5610 (dl_main): In trace mode always set __RTLD_NOIFUNC.
5611 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
5613 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
5614 skip_ifunc, don't call ifunc function if non-zero.
5615 (elf_machine_rela): Likewise.
5616 (elf_machine_lazy_rel): Likewise.
5617 (elf_machine_lazy_rela): Likewise.
5618 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
5619 (elf_machine_lazy_rel): Likewise.
5620 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
5622 (elf_machine_lazy_rel): Likewise.
5623 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5625 (elf_machine_lazy_rel): Likewise.
5626 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
5627 (elf_machine_lazy_rel): Likewise.
5628 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
5629 (elf_machine_lazy_rel): Likewise.
5630 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5631 (elf_machine_lazy_rel): Likewise.
5632 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
5633 (elf_machine_lazy_rel): Likewise.
5634 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
5635 (elf_machine_lazy_rel): Likewise.
5636 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5637 (elf_machine_lazy_rel): Likewise.
5639 2011-09-28 Ulrich Drepper <drepper@gmail.com>
5641 * nss/nss_files/files-init.c (_nss_files_init): Use static
5642 initialization for all the *_traced_file variables.
5644 2011-09-28 Andreas Schwab <schwab@redhat.com>
5646 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5648 2011-09-27 Roland McGrath <roland@hack.frob.com>
5651 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
5653 2011-09-27 Andreas Schwab <schwab@redhat.com>
5655 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5656 Reread the line before reparsing it.
5658 2011-09-26 Andreas Schwab <schwab@redhat.com>
5660 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
5662 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
5663 Maxim Kuvyrkov <maxim@codesourcery.com>
5664 Joseph Myers <joseph@codesourcery.com>
5666 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
5667 if needed for __stack_chk_guard.
5669 2011-09-19 Roland McGrath <roland@hack.frob.com>
5671 * sysdeps/posix/spawni.c (script_execute): Always define it.
5672 It will be optimized away if unused.
5673 (maybe_script_execute): New function.
5674 (__spawni): Call it.
5676 * Makerules: Don't include tls.make.
5677 (config-tls): Always set to thread.
5678 * tls.make.c: File removed.
5680 2011-09-19 Mike Frysinger <vapier@gentoo.org>
5682 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
5683 * config.make.in (CPPFLAGS-config): New substituted variable.
5685 2011-09-15 Ulrich Drepper <drepper@gmail.com>
5687 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
5690 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
5691 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
5693 2011-09-15 Roland McGrath <roland@hack.frob.com>
5695 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
5696 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
5697 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
5698 (CALL_FAIL): Likewise.
5699 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
5700 (CALL_FAIL): Macro removed.
5701 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
5703 2011-09-15 Ulrich Drepper <drepper@gmail.com>
5705 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
5706 for __FINITE_MATH_ONLY__ == 1.
5708 2011-09-15 Andreas Schwab <schwab@redhat.com>
5710 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
5711 __ieee754_sqrt instead of sqrt.
5712 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
5713 __ieee754_sqrtf instead of sqrtf.
5714 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
5715 __floorf instead of floorf.
5716 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
5717 __floorf, __truncf instead of floorf, truncf.
5719 2011-09-14 Ulrich Drepper <drepper@gmail.com>
5721 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
5723 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
5724 __extern_always_inline.
5725 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
5728 2011-09-14 Andreas Schwab <schwab@redhat.com>
5730 * elf/rtld.c (dl_main): Also relocate in dependency order when
5731 doing symbol dependency testing.
5733 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
5735 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5736 Always define `refsym'.
5738 2011-09-13 Andreas Schwab <schwab@redhat.com>
5740 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
5741 (__FD_ELT): Renamed from __FDELT.
5742 * misc/bits/select2.h (__FD_ELT): Likewise.
5743 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
5744 __FD_MASK instead of __FDELT, __FDMASK.
5745 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5747 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
5750 * elf/Makefile (gen-ldd): Fix pattern.
5752 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
5753 (init_tls): Likewise.
5755 2011-09-12 Ulrich Drepper <drepper@gmail.com>
5757 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
5759 2011-09-12 Andreas Schwab <schwab@redhat.com>
5761 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
5762 `struct cmsghdr *' instead of `void *'.
5763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
5766 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
5768 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
5770 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
5773 2011-09-11 Ulrich Drepper <drepper@gmail.com>
5775 * configure.in: Remove --with-tls option.
5776 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
5777 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
5778 out in case it is missing.
5779 * sysdeps/ia64/elf/configure.in: Likewise.
5780 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
5781 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
5782 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
5783 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
5784 * sysdeps/sh/elf/configure.in: Likewise.
5785 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
5786 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5787 * sysdeps/x86_64/elf/configure.in: Likewise.
5788 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
5789 * sysdeps/mach/hurd/tls.h: Likewise.
5792 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
5795 * configure.in: Fix use of AC_INIT.
5797 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
5799 2011-09-10 Ulrich Drepper <drepper@gmail.com>
5801 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
5803 * malloc/hooks.c: Likewise.
5806 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
5807 variables statically.
5808 (narenas): Initialize.
5809 (list_lock): Initialize.
5810 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
5811 initializtion of main_arena and list_lock. Small cleanups.
5812 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
5813 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
5814 Add initializers to main_arena and mp_.
5815 (malloc_state): Remove pagesize member. Change all users to use
5818 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
5819 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
5820 is always initialized.
5822 * malloc/malloc.c: Removed unused configurations and dead code.
5823 * malloc/arena.c: Likewise.
5824 * malloc/hooks.c: Likewise.
5825 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
5827 * include/tls.h: Removed. USE___THREAD must always be defined.
5828 * bits/libc-tsd.h: Don't handle !USE___THREAD.
5829 * elf/dl-libc.c: Likewise.
5830 * elf/dl-tsd.c: Likewise.
5831 * include/errno.h: Likewise.
5832 * include/netdb.h: Likewise.
5833 * include/resolv.h: Likewise.
5834 * inet/herrno-loc.c: Likewise.
5835 * inet/herrno.c: Likewise.
5836 * malloc/arena.c: Likewise.
5837 * malloc/hooks.c: Likewise.
5838 * malloc/malloc.c: Likewise.
5839 * resolv/res-state.c: Likewise.
5840 * resolv/res_libc.c: Likewise.
5841 * sysdeps/i386/dl-machine.h: Likewise.
5842 * sysdeps/ia64/dl-machine.h: Likewise.
5843 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5844 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5845 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5846 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5847 * sysdeps/sh/dl-machine.h: Likewise.
5848 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5849 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5850 * sysdeps/unix/i386/sysdep.S: Likewise.
5851 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5852 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5853 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5854 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5855 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5856 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5857 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5858 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5859 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5861 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5862 * sysdeps/x86_64/dl-machine.h: Likewise.
5863 * tls.make.c: Likewise.
5865 * configure.in: Remove --with-__thread option. Make tests for
5866 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
5867 tls_model attribute fail if no support is available. Remove
5869 * Makeconfig: Adjust for dropped configure option. All features are
5871 * Makerules: Likewise.
5872 * Versions.def: Likewise.
5873 * argp/argp-fmtstream.c: Likewise.
5874 * argp/argp-fmtstream.h: Likewise.
5875 * argp/argp-help.c: Likewise.
5876 * assert/assert.c: Likewise.
5877 * config.h.in: Likewise.
5878 * config.make.in: Likewise.
5879 * configure: Likewise.
5880 * configure.in: Likewise.
5881 * csu/Versions: Likewise.
5882 * csu/init.c: Likewise.
5883 * elf/tst-audit2.c: Likewise.
5884 * elf/tst-tls10.c: Likewise.
5885 * elf/tst-tls10.h: Likewise.
5886 * elf/tst-tls11.c: Likewise.
5887 * elf/tst-tls12.c: Likewise.
5888 * elf/tst-tls14.c: Likewise.
5889 * elf/tst-tlsmod11.c: Likewise.
5890 * elf/tst-tlsmod12.c: Likewise.
5891 * elf/tst-tlsmod13.c: Likewise.
5892 * elf/tst-tlsmod13a.c: Likewise.
5893 * elf/tst-tlsmod14a.c: Likewise.
5894 * elf/tst-tlsmod15b.c: Likewise.
5895 * elf/tst-tlsmod16a.c: Likewise.
5896 * elf/tst-tlsmod16b.c: Likewise.
5897 * elf/tst-tlsmod7.c: Likewise.
5898 * elf/tst-tlsmod8.c: Likewise.
5899 * elf/tst-tlsmod9.c: Likewise.
5900 * gmon/gmon.c: Likewise.
5901 * grp/fgetgrent_r.c: Likewise.
5902 * grp/putgrent.c: Likewise.
5903 * hurd/fopenport.c: Likewise.
5904 * include/libc-symbols.h: Likewise.
5905 * include/tls.h: Likewise.
5906 * intl/gettextP.h: Likewise.
5907 * intl/loadinfo.h: Likewise.
5908 * locale/global-locale.c: Likewise.
5909 * locale/localeinfo.h: Likewise.
5910 * mach/devstream.c: Likewise.
5911 * malloc/arena.c: Likewise.
5912 * malloc/set-freeres.c: Likewise.
5913 * misc/err.c: Likewise.
5914 * misc/getttyent.c: Likewise.
5915 * misc/mntent_r.c: Likewise.
5916 * posix/getopt.c: Likewise.
5917 * posix/wordexp.c: Likewise.
5918 * pwd/fgetpwent_r.c: Likewise.
5919 * resolv/Versions: Likewise.
5920 * resolv/res_hconf.c: Likewise.
5921 * shadow/fgetspent_r.c: Likewise.
5922 * shadow/putspent.c: Likewise.
5923 * stdio-common/printf_fphex.c: Likewise.
5924 * stdio-common/tmpfile.c: Likewise.
5925 * stdlib/abort.c: Likewise.
5926 * stdlib/fmtmsg.c: Likewise.
5927 * sunrpc/auth_unix.c: Likewise.
5928 * sunrpc/clnt_perr.c: Likewise.
5929 * sunrpc/clnt_tcp.c: Likewise.
5930 * sunrpc/clnt_udp.c: Likewise.
5931 * sunrpc/clnt_unix.c: Likewise.
5932 * sunrpc/openchild.c: Likewise.
5933 * sunrpc/svc_simple.c: Likewise.
5934 * sunrpc/svc_tcp.c: Likewise.
5935 * sunrpc/svc_udp.c: Likewise.
5936 * sunrpc/svc_unix.c: Likewise.
5937 * sunrpc/xdr.c: Likewise.
5938 * sunrpc/xdr_array.c: Likewise.
5939 * sunrpc/xdr_rec.c: Likewise.
5940 * sunrpc/xdr_ref.c: Likewise.
5941 * sunrpc/xdr_stdio.c: Likewise.
5943 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5945 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5947 2011-07-03 Andreas Jaeger <aj@suse.de>
5949 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
5950 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
5951 regenerate with gen-libm-tests.pl.
5953 2010-05-12 Petr Baudis <pasky@suse.cz>
5956 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
5957 around j0() zero points by switching to j1().
5958 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5959 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5960 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5961 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5963 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5965 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
5967 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
5969 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5970 Patch in part by Pavel Roskin <proski@gnu.org>.
5973 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
5975 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
5976 Free memory block if necessary.
5979 * libio/genops.c (INTDEF): For string streams the _lock pointer can
5980 be NULL. Don't lock in this case.
5982 2011-09-09 Roland McGrath <roland@hack.frob.com>
5984 * elf/elf.h (ELFOSABI_GNU): New macro.
5985 (ELFOSABI_LINUX): Define to that.
5987 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
5989 * string/strncat.c (strncat): Undef the symbol in case it has been
5990 defined in bits/string.h.
5992 2011-09-09 Ulrich Drepper <drepper@gmail.com>
5994 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
5996 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
5999 2011-08-17 Andreas Jaeger <aj@suse.de>
6001 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6003 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6004 Ian Lance Taylor <iant@google.com>
6006 * math/libm-test.inc (lround_test): New testcase.
6007 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6009 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6011 * Makefile: Remove support for automatic cvs check-ins.
6012 * Makerules: Likewise.
6013 * config.make.in: Likewise.
6014 * configure.in: Likewise.
6015 * intl/Makefile: Likewise.
6016 * locale/Makefile: Likewise.
6017 * po/Makefile: Likewise.
6018 * posix/Makefile: Likewise.
6019 * sysdeps/gnu/Makefile: Likewise.
6020 * sysdeps/mach/hurd/Makefile: Likewise.
6021 * sysdeps/sparc/sparc32/Makefile: Likewise.
6024 * posix/Makefile (bug-regex32-ENV): Define.
6025 Patch by John Stanley <jpsinthemix@verizon.net>.
6027 * misc/Makefile (headers): Add bits/select2.h.
6028 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6029 * misc/bits/select2.h: New file.
6030 * include/bits/select2.h: New file.
6031 * debug/Makefile (routines): Add fdelt_chk.
6032 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6033 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6035 * debug/fdelt_chk.c: New file.
6037 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6038 * wcsmbs/test-wmemcmp.c: Likewise.
6039 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6040 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6042 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6044 * string/Makefile (strop-tests): Add memcmp.
6045 * string/test-wmemcmp.c: New file.
6046 * string/test-memcmp.c: Add wmemcmp support.
6048 2011-09-08 Roland McGrath <roland@hack.frob.com>
6051 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6054 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6055 garbage value in a __mach_port_mod_refs call in the cases of the
6056 task-self and thread-self ports.
6058 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6060 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6062 2011-09-08 Andreas Schwab <schwab@redhat.com>
6064 * elf/dl-load.c (lose): Check for non-null L.
6066 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6068 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6070 * elf/dl-libc.c (dlerror_run): Pass back error code from
6074 * elf/dl-load.c (lose): Free l_origin if it is valid.
6076 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6078 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6079 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6080 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6081 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6082 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6083 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6085 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6087 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6088 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6089 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6090 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6091 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6092 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6093 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6094 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6095 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6096 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6098 2011-08-15 Alan Modra <amodra@gmail.com>
6101 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6102 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6103 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6104 ppc_mcount to static-only-routines.
6105 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6107 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6108 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6110 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6112 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6113 for finite and infinity parameters.
6115 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6118 and add nop instructions for throughput optimization.
6119 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6121 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6123 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
6124 aligned copy for power7 with vector-scalar instructions.
6125 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6127 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
6129 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
6132 2011-09-07 Andreas Schwab <schwab@redhat.com>
6135 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
6138 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6140 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6141 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
6142 syscall wrapper around clock_gettime in __vdso_clock_gettime.
6143 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
6146 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6148 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
6149 Forgot to demangle the pointer.
6151 * sysdeps/i386/sysdep.h: Define atom_text_section.
6152 * sysdeps/x86_64/sysdep.h: Likewise.
6153 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
6154 section with atom_text_section.
6155 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6156 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6157 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
6158 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6159 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
6161 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
6162 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
6163 already be defined. Change to take two parameters and don't assign
6164 result to variable. Adjust all users.
6165 Define INTERNAL_GETTIME if not already defined.
6166 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
6168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
6169 HAVE_CLOCK_GETTIME_VSYSCALL.
6170 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
6172 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
6173 gettimeofday vsyscall, just use time.
6175 2011-09-06 Andreas Schwab <schwab@redhat.com>
6177 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
6180 2011-09-06 Ulrich Drepper <drepper@gmail.com>
6182 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
6184 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
6186 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6187 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
6188 syscall if possible.
6190 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6192 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
6193 e_ident. Don't pass to find_mapsXX.
6194 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
6196 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6198 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6199 strchr-sse2-no-bsf strrchr-sse2-no-bsf
6200 * sysdeps/x86_64/multiarch/strchr.S: Update.
6201 Check bit_slow_BSF bit.
6202 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6203 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
6204 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
6206 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6209 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
6212 (__spawni): Change last parameter to be flag. Test
6213 SPAWN_XFLAGS_USE_PATH flag to use path or not.
6214 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
6215 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
6216 * posix/spawni.c: Likewise.
6217 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
6218 * posix/spawnp.c: Likewise. Change normal version to use
6219 SPAWN_XFLAGS_USE_PATH.
6220 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
6221 SPAWN_XFLAGS_TRY_SHELL.
6224 * posix/glob.h: Remove gcc 1.x support.
6227 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
6229 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6231 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6232 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
6234 * sysdeps/i386/i686/multiarch/strchr.S: New file.
6235 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
6236 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
6237 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
6238 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
6239 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
6241 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6243 * sysdeps/x86_64/wcscmp.S: New file.
6245 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
6246 wcscmp-c wcscmp-sse2
6247 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
6248 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
6249 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
6250 * wcsmbs/wcscmp.c: Allow renaming.
6252 2011-09-05 David S. Miller <davem@davemloft.net>
6254 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
6255 stack slot, rather than the struct return pointer slot.
6256 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
6257 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
6258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
6259 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
6261 2011-09-05 Ulrich Drepper <drepper@gmail.com>
6263 * po/ja.po: Update from translation team.
6266 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
6267 kernel in 64-bit binaries.
6269 2011-09-01 David S. Miller <davem@davemloft.net>
6271 * elf/elf.h (HWCAP_SPARC_*): Move to..
6272 * sysdeps/sparc/sysdep.h: this new file and add new values.
6273 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
6274 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
6275 _DL_HWCAP_COUNT to 24.
6276 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
6278 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
6279 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
6280 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
6281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
6282 instead of magic constants.
6283 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6285 2011-08-31 David S. Miller <davem@davemloft.net>
6287 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
6288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
6289 Reimplement to do errno handling inline.
6290 (SYSCALL_ERROR_HANDLER): New macro.
6291 (__SYSCALL_STRING): Do not do errno handling in asm.
6292 (__CLONE_SYSCALL_STRING): Delete.
6293 (__INTERNAL_SYSCALL_STRING): Delete.
6294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
6295 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
6296 (PSEUDO): Reimplement to do errno handling inline.
6297 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
6298 (SYSCALL_ERROR_HANDLER): New macro.
6299 (__SYSCALL_STRING): Do not do errno handling in asm.
6300 (__CLONE_SYSCALL_STRING): Delete.
6301 (__INTERNAL_SYSCALL_STRING): Delete.
6302 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
6303 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
6305 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
6306 (inline_syscall*): Add 'err' argument.
6307 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
6308 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
6309 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
6310 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
6312 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
6313 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
6315 2011-08-30 Andreas Schwab <schwab@redhat.com>
6317 * elf/rtld.c (dl_main): Relocate objects in dependency order.
6319 2011-08-29 Jiri Olsa <jolsa@redhat.com>
6321 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
6324 2011-08-24 David S. Miller <davem@davemloft.net>
6326 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
6328 2011-08-24 Andreas Schwab <schwab@redhat.com>
6330 * elf/Makefile: Add rules to build and run unload8 test.
6331 * elf/unload8.c: New file.
6332 * elf/unload8mod1.c: New file.
6333 * elf/unload8mod1x.c: New file.
6334 * elf/unload8mod2.c: New file.
6335 * elf/unload8mod3.c: New file.
6337 * elf/dl-close.c (_dl_close_worker): Reset private search list if
6340 2011-08-23 David S. Miller <davem@davemloft.net>
6342 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
6343 subtract stack bias.
6344 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
6345 %sp not %fp in calculations.
6346 (_JMPBUF_UNWINDS_ADJ): Likewise.
6348 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
6349 (aio_suspend): Call it to force an exception region around the
6350 AIO_MISC_WAIT() invocation.
6352 2011-08-23 Andreas Schwab <schwab@redhat.com>
6354 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
6357 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
6359 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
6361 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
6363 (Elf64_FuncDesc): Remove.
6365 2011-08-22 David S. Miller <davem@davemloft.net>
6367 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
6368 sigaltstack check, add missing cfi directives.
6369 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
6370 missing cfi directives, and sigaltstack handling.
6372 2011-08-16 Andreas Schwab <schwab@redhat.com>
6375 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
6376 object is seen twice.
6377 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6379 * elf/Makefile (distribute): Add tst-initorder2.c.
6380 (tests): Add tst-initorder2.
6381 (modules-names): Add tst-initorder2a tst-initorder2b
6382 tst-initorder2c tst-initorder2d. Add rules to build them.
6383 ($(objpfx)tst-initorder2.out): New rule.
6384 * elf/tst-initorder2.c: New file.
6385 * elf/tst-initorder2.exp: New file.
6387 2011-08-22 Andreas Schwab <schwab@redhat.com>
6389 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
6391 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
6392 dependencies back to end of function.
6394 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
6397 2011-08-21 Ulrich Drepper <drepper@gmail.com>
6399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
6400 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
6401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
6402 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
6403 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
6404 of __vdso_gettimeofday.
6405 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
6406 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
6408 (_libc_vdso_platform_setup): Remove initialization of
6409 __vdso_gettimeofday and __vdso_time.
6411 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6413 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
6415 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
6418 * elf/dl-open.c (add_to_global): Report additions to the global scope
6419 for LD_DEBUG=scopes.
6420 (dl_open_worker): Also print scope of newly loaded dependencies.
6421 (_dl_show_scope): Indicate if there is no scope.
6424 * stdio-common/Makefile (tests): Add bug24.
6425 * stdio-common/bug24.c: New file.
6427 2011-08-19 Andreas Jaeger <aj@suse.de>
6430 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
6431 non-existant file when using close-on-exec mode.
6433 2011-08-20 Ulrich Drepper <drepper@gmail.com>
6435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
6436 the very first instruction.
6438 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
6439 the CFI state in the end.
6440 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
6441 inclusion of dl-trampoline.h.
6442 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
6444 2011-08-19 Andreas Schwab <schwab@redhat.com>
6446 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
6447 expectations for long double.
6449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
6450 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
6452 2011-08-14 David S. Miller <davem@davemloft.net>
6454 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
6455 artificual limit depends upon the system page size.
6457 2011-08-17 Ulrich Drepper <drepper@gmail.com>
6459 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
6460 * resolv/Makefile: Define CFLAGS-libresolv.
6462 2011-08-17 Andreas Schwab <schwab@redhat.com>
6464 * nss/makedb.c (compute_tables): Make variables used in nested
6467 2011-08-17 Ulrich Drepper <drepper@gmail.com>
6469 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
6470 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
6471 if buffer was too small.
6473 * elf/pldd.c (main): Attach to all threads in the process.
6474 Rewrite /proc handling to use *at functions.
6476 2011-08-16 Ulrich Drepper <drepper@gmail.com>
6478 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
6479 specifies first scope to show.
6480 (dl_open_worker): Update callers. Move printing scope of new
6481 object to before the relocation.
6482 * elf/rtld.c (dl_main): Update _dl_show_scope call.
6483 * sysdeps/generic/ldsodefs.h: Update declaration.
6485 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
6486 string for the scope number.
6488 2011-08-14 Ulrich Drepper <drepper@gmail.com>
6490 * nscd/servicescache.c (cache_addserv): Make sure written is always
6493 2011-08-14 Roland McGrath <roland@hack.frob.com>
6495 * sysdeps/i386/i486/bits/atomic.h
6496 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
6497 statement expression, so as to suppress "set but not used" warning.
6498 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
6500 * string/strncat.c (STRNCAT): Use prototype definition.
6502 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
6503 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
6505 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
6506 (localedef-modules): Add localedef.
6507 (locale-modules): Add locale.
6509 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
6510 * elf/rtld.c (dl_main): Invert order of assignment in last change,
6513 2011-08-14 David S. Miller <davem@davemloft.net>
6515 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
6516 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
6518 2011-08-13 Ulrich Drepper <drepper@gmail.com>
6520 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
6521 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
6522 * elf/rtld.c (dl_main): Set l_name of vDSO.
6523 Call _dl_show_scope when DL_DEBUG_SCOPES.
6524 (process_dl_debug): Recognize scopes flag and also set it for all.
6525 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
6526 Declare _dl_show_scope.
6528 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
6529 (do_dlopen): Pass caller_dlopen to dl_open.
6530 (__libc_dlopen_mode): Initialize caller_dlopen.
6532 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
6533 of libc. Make tolower call locale-independent. Optimize a bit by
6534 using isdigit instead of isalnum.
6535 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
6537 2011-08-12 Ulrich Drepper <drepper@gmail.com>
6539 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
6540 was a dependency or dynamically loaded.
6542 2011-08-11 Ulrich Drepper <drepper@gmail.com>
6544 * intl/l10nflist.c: Allow architecture-specific pop function.
6545 * sysdeps/x86_64/l10nflist.c: New file.
6547 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
6550 2011-08-10 Andreas Schwab <schwab@redhat.com>
6552 * include/dirent.h: Add libc_hidden_proto for scandirat and
6553 scandirat64. Don't declare __scandirat64.
6554 * dirent/scandirat.c: Add libc_hidden_def.
6555 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
6556 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
6558 2011-08-10 David S. Miller <davem@davemloft.net>
6560 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
6562 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6563 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6564 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6566 2011-08-09 Ulrich Drepper <drepper@gmail.com>
6568 * Versions.def [libc]: Add GLIBC_2.15.
6569 * dirent/Makefile (routines): Add scandirat and scandirat64.
6570 * dirent/Versions [libc]: Export scandirat and scandirat64 for
6572 * dirent/dirent.h: Declare scandirat and scandirat64.
6573 * dirent/scandirat.c: New file.
6574 * dirent/scandirat64.c: New file.
6575 * sysdeps/wordsize-64/scandirat.c: New file.
6576 * sysdeps/wordsize-64/scandirat64.c: New file.
6577 * dirent/opendir.c: Define opendirat.
6578 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
6580 * dirent/scandir64.c: Adjust for scandir.c change.
6581 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
6582 __scandirat64, and __scandir_cancel_handler.
6583 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
6584 additional parameter and use openat instead of open (outside of ld.so).
6585 Add new __opendir as wrapper around __opendirat.
6586 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
6587 here without requiring old scandirat implementation.
6589 2011-08-08 Ulrich Drepper <drepper@gmail.com>
6591 * dirent/scandir.c (cancel_handler): Renamed to
6592 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
6593 defined. Adjust users.
6594 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
6595 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
6597 2011-08-04 Ulrich Drepper <drepper@gmail.com>
6599 * string/test-string.h (IMPL): Use __STRING to expand name and then
6602 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
6605 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6607 * string/Makefile: Update.
6608 (strop-tests): Append strncat.
6609 * string/test-wcscmp.c: New file.
6610 New comprehensive test for wcscmp.
6611 * string/test-strcmp.c: Update.
6614 2011-07-22 Andreas Schwab <schwab@redhat.com>
6616 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
6619 2011-07-26 Andreas Schwab <schwab@redhat.com>
6621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
6622 encoding to ACE if AI_IDN.
6624 2011-08-01 Jakub Jelinek <jakub@redhat.com>
6626 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
6627 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
6629 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6631 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
6632 Fix overflow bug in strncat.
6633 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6635 * string/test-strncat.c: Update.
6636 Add new tests for checking overflow bugs.
6638 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6640 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6641 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
6642 * sysdeps/i386/i686/multiarch/strcat.S: New file.
6643 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
6644 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
6645 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
6646 * sysdeps/i386/i686/multiarch/strncat.S: New file.
6647 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
6648 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
6650 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
6651 (USE_AS_STRCAT): Define.
6652 Add strcat and strncat support.
6653 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6655 2011-07-25 Andreas Schwab <schwab@redhat.com>
6657 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
6658 __n bigger than INT_MAX+1.
6659 (__strncmp_g): Likewise.
6661 2011-07-23 Ulrich Drepper <drepper@gmail.com>
6663 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
6664 * libio/stido.h: Likewise.
6666 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
6668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
6671 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
6672 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6673 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6674 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6675 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6678 * scripts/test-installation.pl: Don't expect libnss_test1 to be
6681 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
6683 (_dl_x86_64_save_sse): Likewise.
6685 2011-07-22 Ulrich Drepper <drepper@gmail.com>
6687 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
6689 (_dl_x86_64_save_sse): Likewise.
6691 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
6693 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
6695 2011-07-21 Andreas Schwab <schwab@redhat.com>
6697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
6699 (_dl_x86_64_save_sse): Use correct AVX check.
6701 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6703 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
6704 bug in strncpy/strncat.
6705 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
6707 2011-07-21 Ulrich Drepper <drepper@gmail.com>
6709 * string/tester.c (test_strcat): Add tests for different alignments
6710 of source and destination.
6711 (test_strncat): Likewise.
6713 2011-07-20 Ulrich Drepper <drepper@gmail.com>
6716 * posix/glob.c (glob): Check passed in values before using them in
6717 expressions to avoid some overflows.
6718 (glob_in_dir): Likewise.
6721 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
6722 check for AVX enablement so that we don't crash with old kernels and
6724 * elf/tst-audit4.c: Add same checks here.
6725 * elf/tst-audit6.c: Likewise.
6727 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6729 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
6731 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
6733 2011-07-20 Ulrich Drepper <drepper@gmail.com>
6735 * po/cs.po: Update from translation team.
6736 * po/bg.po: Likewise.
6738 2011-07-12 Marek Polacek <mpolacek@redhat.com>
6740 * misc/sys/cdefs.h: Add support for const attribute.
6741 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
6742 to gnu_dev_{major,minor,makedev} functions.
6744 2011-07-20 Marek Polacek <mpolacek@redhat.com>
6746 * intl/dcigettext.c (get_output_charset): Add missing bracket.
6748 2011-07-20 Andreas Schwab <schwab@redhat.com>
6750 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
6753 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6755 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6756 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
6757 register in order to avoid conflicts with the soft frame pointer
6758 being held in r11 when necessary.
6759 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6760 (INTERNAL_VSYSCALL_NCS): Likewise.
6762 2011-07-14 Marek Polacek <mpolacek@redhat.com>
6764 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
6765 * elf/dl-fini.c (_dl_fini): Adjust caller.
6766 * elf/dl-close.c (_dl_close_worker): Likewise.
6767 * sysdeps/generic/ldsodefs.h: Adjust declaration.
6769 2011-07-15 Marek Polacek <mpolacek@redhat.com>
6771 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
6772 "aux_cache->nlibs < 0".
6774 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
6775 in the reload-count case.
6777 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6779 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6780 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
6781 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
6782 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
6783 * sysdeps/x86_64/multiarch/strcat.S: New file.
6784 * sysdeps/x86_64/multiarch/strncat.S: New file.
6785 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
6786 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
6787 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
6788 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
6789 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
6790 (USE_AS_STRCAT): Define.
6791 Add strcat and strncat support.
6792 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
6793 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6794 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
6795 * string/strncat.c: Update.
6796 (USE_AS_STRNCAT): Define.
6797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6798 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
6800 * sysdeps/x86_64/multiarch/init-arch.h
6801 (bit_Prefer_PMINUB_for_stringop): New.
6802 (index_Prefer_PMINUB_for_stringop): Likewise.
6803 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
6804 bit_Prefer_PMINUB_for_stringop.
6806 2011-07-19 Ulrich Drepper <drepper@gmail.com>
6808 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
6810 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
6811 of casting of buffer.
6812 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
6813 buffer32 and buffer64.
6814 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
6815 writes instead of casting of buffer.
6816 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
6818 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
6821 2011-07-19 Andreas Schwab <schwab@redhat.com>
6823 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
6825 2011-07-19 Ulrich Drepper <drepper@gmail.com>
6827 * nscd/nscd.c (termination_handler): Don't do anything for a database
6828 if it has not yet been initialized.
6830 2011-07-18 Ulrich Drepper <drepper@gmail.com>
6832 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6834 2011-07-15 Marek Polacek <mpolacek@redhat.com>
6836 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
6838 2011-07-18 Ulrich Drepper <drepper@gmail.com>
6840 * po/nl.po: Update from translation team.
6841 * po/sv.po: Likewise.
6843 2011-07-16 Roland McGrath <roland@hack.frob.com>
6845 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
6846 now disallowed by GCC.
6848 * configure.in (use-default-link): Default to yes if a test -shared
6849 link meets our qualifications.
6850 * configure: Regenerated.
6852 * config.make.in (output-format): New variable.
6853 * configure.in: Check for ld --print-output-format support.
6854 * configure: Regenerated.
6855 * Makerules ($(common-objpfx)format.lds)
6856 [$(output-format) != unknown]: Just use $(output-format),
6857 instead of the linker-script munging.
6859 2011-07-14 Roland McGrath <roland@hack.frob.com>
6861 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
6862 of $(common-objpfx)shlib.lds.
6863 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
6865 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
6866 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
6868 * configure.in (-z relro check): Adjust test code to add a large
6869 writable data section after it.
6870 * configure: Regenerated.
6872 2011-07-11 Roland McGrath <roland@hack.frob.com>
6874 * configure.in (-z relro check): Fix test code to make the variable
6876 * configure: Regenerated.
6878 2011-07-11 Ulrich Drepper <drepper@gmail.com>
6880 * nscd/nscd.h (struct traced_file): Define.
6881 (struct database_dyn): Remove inotify_descr, reset_res, and filename
6882 elements. Add traced_files.
6883 (inotify_fd): Declare.
6884 (register_traced_file): Declare.
6885 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
6886 (inotify_fd): Export.
6887 (resolv_conf_descr): Remove.
6888 (nscd_init): Move inotify descriptor creation to main.
6889 Don't register files for notification here.
6890 (register_traced_file): New function.
6891 (invalidate_cache): Don't use reset_res to determine whether to call
6892 res_init, go through the list of registered files.
6893 (main_loop_poll): The inotify descriptors are now stored in the
6894 structures for the traced files.
6895 (main_loop_epoll): Likewise
6896 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
6897 to __nss_disable_nscd.
6898 * nscd/cache.c (prune_cache): There is no single inotify descriptor
6899 for a database anymore. Check the records for all the registered
6901 * nss/Makefile (libnss_files-routines): Add files-init.
6902 (libnss_db-routines): Add db-init.
6903 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
6904 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
6905 * nss/nss_db/db-init.c: New file.
6906 * nss/nss_files/files-init.c: New file.
6907 * nss/nsswitch.c (nss_load_library): New function. Broken out of
6908 __nss_lookup_function.
6909 (__nss_lookup_function): Call nss_load_library.
6910 (nss_load_all_libraries): New function.
6911 (__nss_disable_nscd): Take parameter with callback function for files
6912 to register. Set is_nscd. Load all the DSOs for the NSS modules
6913 used for the cached services.
6914 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
6915 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
6916 options for features to all the files in nscd.
6918 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
6920 2011-07-10 Roland McGrath <roland@hack.frob.com>
6922 * csu/elf-init.c (__libc_csu_init): Comment typo.
6924 2011-07-09 Ulrich Drepper <drepper@gmail.com>
6926 * po/pl.po: Update from translation team.
6927 * po/ja.po: Likewise.
6928 * po/ru.po: Likewise.
6929 * po/ko.po: Likewise.
6930 * po/fr.po: Likewise.
6932 2011-07-09 Roland McGrath <roland@hack.frob.com>
6934 * configure.in (.ctors/.dtors header and trailer check):
6935 Use an empirical test on a built program.
6936 * configure: Regenerated.
6938 * configure.in (-z relro check): Use an empirical test on a built DSO.
6939 Detect, but do not require, on ia64.
6940 * configure: Regenerated.
6942 * configure.in (READELF): Find it with AC_CHECK_TOOL.
6943 Update tests that use readelf to use $READELF instead.
6944 * configure: Regenerated.
6946 2011-07-08 Ulrich Drepper <drepper@gmail.com>
6948 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
6949 if the result is not used.
6951 2011-07-05 Andreas Jaeger <aj@suse.de>
6954 * stdlib/tst-strtod.c: Add testcase.
6956 2011-07-07 Ulrich Drepper <drepper@gmail.com>
6958 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
6959 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
6960 The latter has a higher limit. Take additional parameter to pass to
6962 (__pathconf): Pass file to __statfs_link_max.
6963 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
6965 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
6969 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
6970 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6972 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
6973 (__statfs_filesize_max): Likewise.
6974 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
6976 2011-07-05 Andreas Jaeger <aj@suse.de>
6978 * resolv/res_comp.c (dn_skipname): Remove unused variable.
6980 2011-07-06 Marek Polacek <mpolacek@redhat.com>
6982 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
6984 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
6987 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
6989 * Makefile (strop-tests): Add strncat.
6990 * string/test-strncat.c: New file.
6992 2011-06-30 Marek Polacek <mpolacek@redhat.com>
6994 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
6996 2011-06-21 Andreas Jaeger <aj@suse.de>
6998 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
6999 Copy rule from iconvdata/Makefile.
7001 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7004 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7005 but no long options are defined, just return 'W'.
7007 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7010 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7012 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7014 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7016 (innetgr): Likewise.
7018 2011-07-05 Roland McGrath <roland@hack.frob.com>
7020 * config.make.in (install_root): Default to $(DESTDIR).
7022 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7024 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7026 2011-07-02 Roland McGrath <roland@hack.frob.com>
7028 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7030 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7031 containing directory rather than embedding absolute directory names.
7033 * scripts/check-local-headers.sh: Rewritten using awk.
7034 Match by word, not by line. Print error messages for matches.
7035 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7037 * Makerules [shlib-lds-flags empty]:
7038 ($(common-objpfx)libc_pic.opts): New target.
7039 ($(common-objpfx)libc_pic.os.clean): New target.
7040 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7042 * config.make.in (OBJCOPY): New variable.
7043 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7044 * configure: Regenerated.
7046 * config.make.in (use-default-link): New variable.
7047 * configure.in (use_default_link): Grok --with-default-link to set it.
7048 * configure: Regenerated.
7049 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7050 (shlib-lds, shlib-lds-flags): Define to empty.
7052 * Makerules (shlib-lds): New variable.
7053 (shlib-lds-flags): New variable.
7054 (build-shlib, build-moduile, build-module-asneeded): Use it.
7055 ($(common-objpfx)libc.so): Use $(shlib-lds).
7056 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7057 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7059 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7060 DT_FLAGS/DT_FLAGS_1 with zero flags.
7062 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7063 linker script munging.
7065 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7067 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7069 * crypt/sha512.c (sha512_process_block): Perform total addition using
7070 128-bit if possible.
7071 (__sha512_finish_ctx): Likewise.
7072 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7074 * crypt/sha256.c (SWAP64): Define.
7075 (sha256_process_block): Perform total addition using 64-bit if
7077 (__sha256_finish_ctx): Likewise.
7079 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7081 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7082 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7083 * nscd/hstcache.c (cache_addhst): Likewise.
7084 * nscd/grpcache.c (cache_addgr): Likewise.
7085 * nscd/aicache.c (addhstaiX): Likewise
7086 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7088 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7090 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7091 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7092 * nscd/hstcache.c (cache_addhst): Likewise.
7093 * nscd/grpcache.c (cache_addgr): Likewise.
7094 * nscd/aicache.c (addhstaiX): Likewise
7096 2011-07-01 Andreas Schwab <schwab@redhat.com>
7098 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7099 domain only when needed.
7101 2011-06-30 Andreas Schwab <schwab@redhat.com>
7103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7106 2011-06-29 Ulrich Drepper <drepper@gmail.com>
7108 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7109 are re-adding the entry.
7110 * nscd/servicescache.c (cache_addserv): Likewise.
7112 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7114 * sysdeps/generic/dl-irel.h: fix protection against multiple
7116 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7118 2011-06-28 Ulrich Drepper <drepper@gmail.com>
7121 * malloc/memusage.sh: Fix quoting in message.
7122 * debug/xtrace.sh: Likewise.
7124 * configure.in: Remove support for --experimental-malloc option, make
7126 * config.make.in: Likewise.
7127 * malloc/Makefile: Likewise.
7129 2011-06-27 Andreas Schwab <schwab@redhat.com>
7131 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
7132 two-byte characters.
7134 2011-06-27 Roland McGrath <roland@hack.frob.com>
7136 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
7137 AC_CACHE_CHECK invocation.
7138 * configure: Regenerated.
7140 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
7142 2011-06-27 Ulrich Drepper <drepper@gmail.com>
7145 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
7146 bit from old_res_options.
7148 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
7150 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
7151 value type for setfct.
7153 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
7155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7156 __gettimeofday instead of gettimeofday.
7158 2011-06-26 Ulrich Drepper <drepper@gmail.com>
7160 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
7162 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
7164 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
7166 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
7169 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7171 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7172 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7173 strcpy-sse2-unaligned strncpy-sse2-unaligned
7174 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
7175 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
7176 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
7177 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
7178 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
7179 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
7180 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
7181 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
7182 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
7183 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
7184 (STRCPY): Support SSE2 and SSSE3 versions.
7186 2011-06-24 Ulrich Drepper <drepper@gmail.com>
7189 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
7190 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
7191 kernels which artificially limit size of requests.
7193 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
7195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7196 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
7197 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
7198 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
7199 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
7200 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
7201 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
7202 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
7203 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
7204 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
7205 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
7206 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
7207 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
7208 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
7209 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
7210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7211 Enable unaligned load optimization for Intel Core i3, i5 and i7
7213 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
7215 (index_Fast_Unaligned_Load): Define.
7216 (HAS_FAST_UNALIGNED_LOAD): Define.
7218 2011-06-23 Marek Polacek <mpolacek@redhat.com>
7220 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
7222 2011-06-22 Ulrich Drepper <drepper@gmail.com>
7225 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
7226 until it is clear that the information is realy needed.
7227 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
7229 2011-06-22 Andreas Schwab <schwab@redhat.com>
7231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
7233 2011-06-22 Ulrich Drepper <drepper@gmail.com>
7235 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
7236 /sys/devices/system/cpu/online if it is usable.
7238 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
7239 reading the information from the /proc filesystem to once a second.
7241 2011-06-21 Andreas Jaeger <aj@suse.de>
7243 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
7244 NULL after inclusion of kernel headers.
7246 2011-06-21 Ulrich Drepper <drepper@gmail.com>
7248 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
7249 calls to internal_setent.
7252 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
7253 addresses using gethostbyname4_r ignore IPv4 addresses.
7255 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
7256 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
7258 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
7260 2011-06-20 David S. Miller <davem@davemloft.net>
7262 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
7264 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
7266 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
7268 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
7269 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
7270 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
7271 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
7272 * sysdeps/x86_64/dl-irel.h: Likewise.
7274 * elf/dl-runtime.c: Use elf_ifunc_invoke.
7275 * elf/dl-sym.c: Likewise.
7277 2011-06-15 Ulrich Drepper <drepper@gmail.com>
7279 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
7280 need to dereference resplen2.
7282 2011-06-14 Andreas Schwab <schwab@redhat.com>
7284 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
7286 2011-06-15 Ulrich Drepper <drepper@gmail.com>
7288 * Makeconfig: Define vardbdir and inst_vardbdir.
7289 * nss/Makefile: Add rules to install db-Makefile.
7291 * nss/nss_db/db-XXX.c: Cleanup.
7293 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
7294 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
7296 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
7297 * nss/makedb.c: Implement -g option to specify that value strings
7298 are generated and should not be added to table iterated over for
7300 * nss/nss_db/db-initgroups.c: New file.
7302 * nss/getent.c: Add support for initgroups lookups through getgrouplist
7305 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
7306 (internal_getgrouplist): Adjust to name change.
7307 Update use_initgroups_entry if this is not the first call.
7308 * nss/databases.def: Add initgroups entry.
7310 * nss/makedb.c (compute_tables): Check result of multiple hash table
7311 sizes to minimize maximum chain length.
7313 2011-06-14 Ulrich Drepper <drepper@gmail.com>
7315 * Versions.def: Add entry for libnss_db.
7316 * shlib-versions: Likewise.
7317 * nss/Makefile: Add rules to build libnss_db.
7318 * nss/Versions: Add libnss_db information. Organize libnss_files
7320 * nss/db-Makefile: Add gshadow support. Change rules for the new
7321 makedb progra. Some minor improvements to generate smaller files.
7322 * nss/nss_db/nss_db.h: Move NSS database header data structures to
7324 * nss/makedb.c: ...here.
7325 Improve database format to be smaller and require less memory at
7327 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
7329 * nss/nss_db/db-netgrp.c: Likewise.
7330 * nss/nss_db/db-open.c: Likewise.
7331 * nss/nss_files/flies-XXX.x: Adjust comments.
7332 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
7333 * nss/nss_files/files-grp.c: Likewise.
7334 * nss/nss_files/files-hosts.c: Likewise.
7335 * nss/nss_files/files-network.c: Likewise.
7336 * nss/nss_files/files-proto.c: Likewise.
7337 * nss/nss_files/files-pwd.c: Likewise.
7338 * nss/nss_files/files-rpc.c: Likewise.
7339 * nss/nss_files/files-service.c: Likewise.
7340 * nss/nss_files/files-sgrp.c: Likewise.
7341 * nss/nss_files/files-spwd.c: Likewise.
7342 * nss/nss_db/db-alias.c: Removed.
7343 * nss/nss_db/dummy-db.h: Removed.
7345 2011-06-02 Ulrich Drepper <drepper@gmail.com>
7347 * nss/makedb.c: Rewritten to not use database library.
7348 * nss/Makefile: Update to build new makedb program.
7350 2011-06-14 Andreas Jaeger <aj@suse.de>
7352 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
7355 2011-06-10 Andreas Schwab <schwab@redhat.com>
7357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
7360 2011-06-10 Roland McGrath <roland@hack.frob.com>
7362 * Makerules (shlib.lds): Fail if the linker script comes out empty.
7363 * elf/Makefile ($(objpfx)ld.so): Likewise.
7365 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
7366 Don't list ld.so twice in dependencies.
7368 * posix/bug-regex31.c: Include <stdlib.h>.
7370 * nscd/hstcache.c (cache_addhst): Remove unused variable.
7372 * nis/nss_compat/compat-spwd.c
7373 (getspent_next_nss_netgr): Remove unused variable.
7374 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
7376 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
7377 nonmembers" output to use the right array.
7379 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
7381 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
7383 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
7384 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
7385 * catgets/gencat.c (read_input_file): Likewise.
7386 * locale/programs/locarchive.c (enlarge_archive): Likewise.
7388 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
7389 variable definition inside #if's controlling its use.
7391 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
7393 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
7395 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
7397 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
7400 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
7402 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
7403 * configure: Regenerated.
7405 * Makerules: Revert last change.
7406 * elf/Makefile: Likewise.
7408 2011-06-09 Roland McGrath <roland@hack.frob.com>
7410 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
7411 * elf/Makefile ($(objpfx)librtld.os): Likewise.
7412 (reloc-link): Likewise.
7414 2011-06-09 Ulrich Drepper <drepper@gmail.com>
7416 * elf/Makefile: Add rules to build pldd.
7417 * elf/pldd.c: New file.
7418 * elf/pldd-xx.c: New file.
7420 2011-06-07 Ulrich Drepper <drepper@gmail.com>
7422 * version.h: Update for 2.15 development version.
7424 2011-06-07 David S. Miller <davem@davemloft.net>
7426 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
7428 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
7429 elf_machine_lazy_rel): Likewise.
7430 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7431 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
7432 elf_machine_lazy_rel): Likewise.
7433 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
7434 dl_hwcap via passed in argument.
7435 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
7438 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7440 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
7442 2011-06-06 Roland McGrath <roland@hack.frob.com>
7445 * manual/fdl-1.1.texi: New file, verbatim from:
7446 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
7447 * manual/lgpl-2.1.texi: New file, verbatim from:
7448 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
7449 * manual/Makefile (licenses): New variable, list those new file names.
7451 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
7453 * manual/fdl.texi: File removed.
7454 * manual/lesser.texi: File removed.
7455 * manual/libc.texinfo (Copying, Documentation License):
7456 Use new @include file names, put @appendix directive before @include.
7458 2011-06-04 Jakub Jelinek <jakub@redhat.com>
7461 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
7462 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
7463 (mq_open): Add __NTH.
7465 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
7467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7468 Assume Intel Core i3/i5/i7 processor if AVX is available.
7470 2011-05-31 Ulrich Drepper <drepper@gmail.com>
7472 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7475 2011-05-31 Andreas Schwab <schwab@redhat.com>
7477 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
7478 memory. Use alloca_account. Fix memory leak when retrying.
7480 2011-05-31 Ulrich Drepper <drepper@gmail.com>
7482 * version.h (RELEASE): Bump for 2.14 release.
7483 * include/features.h (__GLIBC_MINOR__): Bump to 14.
7485 * config.make.in (RANLIB): Remove entry.
7487 2011-05-30 Ulrich Drepper <drepper@gmail.com>
7489 * po/Makefile (po-sed-cmd): Add ksh to extensions.
7490 (libc.pot): Work around missing support for .ksh extension in xgettext.
7493 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
7494 if both request failed.
7495 (send_dg): In case of server errors clear resplen or *resplen2.
7498 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
7499 when there are multiple maps.
7500 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
7501 (_dl_fini): Remove test here.
7503 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
7505 2011-05-29 Ulrich Drepper <drepper@gmail.com>
7508 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
7509 bit from old_res_options.
7510 (gaih_inet): Likewise.
7513 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
7516 * resolv/res_init.c (res_setoptions): Make the code more compact.
7519 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
7523 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
7525 * malloc/malloc.h: Mark malloc hook variables as deprecated.
7528 * malloc/malloc.h: Declare malloc hook variables as volatile.
7530 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
7534 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
7535 raise in the comment.
7536 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7537 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7538 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
7540 2011-05-28 Ulrich Drepper <drepper@gmail.com>
7543 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
7544 grow the buffers more if it already has to be sufficient.
7545 (build_wcs_upper_buffer): Likewise.
7546 * posix/regexec.c (check_matching): Likewise.
7547 (clean_state_log_if_needed): Likewise.
7548 (extend_buffers): Don't enlarge buffers beyond size of the input
7550 Patches mostly by Emil Wojak <emil@wojak.eu>.
7551 * posix/bug-regex32.c: New file.
7552 * posix/Makefile (tests): Add bug-regex32.
7554 * locale/findlocale.c (_nl_find_locale): Return right away if
7555 _nl_explode_name failed.
7556 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
7558 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
7560 * debug/xtrace.sh: Unify messages.
7561 * malloc/memusage.sh: Likewise.
7564 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
7565 time symbol from vDSO. Substitute with vsyscall if not available.
7566 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
7569 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
7570 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
7571 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
7572 Add sendmmsg and internal_sendmmsg.
7573 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
7574 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
7575 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
7577 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
7578 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
7579 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
7581 2011-05-27 Ulrich Drepper <drepper@gmail.com>
7584 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
7585 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
7587 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
7591 * iconvdata/Makefile (tests): Add bug-iconv9.
7592 * iconvdata/bug-iconv9.c: New file.
7594 2011-05-27 Andreas Schwab <schwab@redhat.com>
7597 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
7599 2011-05-25 Jakub Jelinek <jakub@redhat.com>
7601 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7602 (struct user_regs_struct): Change intcs field back to cs.
7604 2011-05-25 Ulrich Drepper <drepper@gmail.com>
7606 * po/ja.po: Update from translation team.
7608 2011-05-23 Ulrich Drepper <drepper@gmail.com>
7611 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
7612 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
7614 2011-05-20 Andreas Schwab <schwab@redhat.com>
7616 * stdlib/longlong.h: Update from GCC.
7618 2011-05-23 Andreas Schwab <schwab@redhat.com>
7620 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
7622 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
7624 (__sysconf): Pass it down.
7626 2011-05-22 Ulrich Drepper <drepper@gmail.com>
7629 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
7631 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7632 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
7633 add in in __libc_use_alloca calls. Adjust callers.
7634 (glob): Use malloc in some situations.
7636 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
7637 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
7640 2011-05-21 Ulrich Drepper <drepper@gmail.com>
7642 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
7643 and CLOCK_BOOTTIME_ALARM.
7646 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
7649 * string/_strerror.c (__strerror_r): Print negative errors as signed
7653 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
7654 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
7655 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
7657 * configure.in: Fix typo in redirection and correct removal of test
7661 * locale/setlocale.c (new_composite_name): Fix test to check for
7662 identical name of all categories.
7665 * libio/filedoalloc.c (local_isatty): New function.
7666 (_IO_file_doallocate): Use local_isatty.
7667 * stdio-common/perror.c (perror): In case a new stream is used
7668 forward the stream error.
7669 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
7672 2011-05-20 Ulrich Drepper <drepper@gmail.com>
7675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
7677 * include/alloca.h (extend_alloca_account): Define.
7680 * posix/regex.h: Fix comments with documentation of user-accessible
7681 fields after compilation and describe correct free'ing of pattern
7682 after re_compile_pattern.
7683 Patch by Reuben Thomas <rrt@sc3d.org>.
7685 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
7687 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
7688 and -mno-altivec to prevent the compiler from using Altivec and/or
7689 VSX instructions when the corresponding registers are not available.
7691 2011-05-19 Andreas Schwab <schwab@redhat.com>
7693 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
7695 2011-05-19 Ulrich Drepper <drepper@gmail.com>
7697 * libio/freopen.c (freopen): Use __dup2, not dup2.
7698 * libio/freopen64.c (freopen64): Likewise.
7700 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
7703 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
7704 * math/Makefile (tests): Add test-powl.
7705 (CFLAGS-test-powl.c): Define.
7706 * math/test-powl.c: New file.
7708 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
7710 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
7712 2011-05-17 Ulrich Drepper <drepper@gmail.com>
7715 * iconvdata/gb18030.c: Update to GB18020-2005.
7717 2011-05-16 Ulrich Drepper <drepper@gmail.com>
7719 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
7720 RE_SYNTAX_POSIX_AWK): Update to match recent development.
7721 Patch by Aharon Robbins <arnold@skeeve.com>.
7724 * stdlib/putenv.c (putenv): Don't always create copy of the variable
7728 * misc/pselect.c (__pselect): Handle timeout value errors hidden
7732 * misc/error.c (error_at_line): Ensure file_name and old_file_name
7733 point to strings before performing equality test for error_one_per_line
7737 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
7740 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
7741 (struct user_fpregs_struct): Avoid __uint*_t types.
7744 * malloc/mtrace.c (tr_where): Add additional parameter to point to
7745 symbol info. Use it instead of calling _dl_addr locally.
7746 (lock_and_info): New function.
7747 (tr_freehook): Call lock_and_info and pass symbol info as additional
7748 parameter to tr_where.
7749 (tr_mallochook): Likewise.
7750 (tr_reallochook): Likewise.
7751 (tr_memalignhook): Likewise.
7753 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
7754 used and couldn't be at all thread-safe.
7756 2011-05-15 Ulrich Drepper <drepper@gmail.com>
7758 * libio/freopen.c (freopen): Don't close old file descriptor
7759 before the new one is opened. Instead dup the new file descriptor
7760 to the old one after the new stream is created.
7761 * libio/freopen64.c (freopen64): Likewise.
7762 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
7763 * libio/fileops.c (_IO_new_file_close_it): Handle new
7764 _IO_FLAGS2_NOCLOSE flag.
7765 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
7766 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
7767 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
7768 _IO_FLAGS2_NOCLOSE flag.
7769 * include/unistd.h: Add hidden_proto for dup3.
7771 * io/dup3.c: Define hidden symbol.
7772 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
7775 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
7776 when an incomplete long option is used.
7777 * posix/tst-getopt_long1.c: New file.
7778 * posix/Makefile (tests): Add tst-getopt_long1.
7781 * scripts/config.guess: Update from autoconf-2.68.
7782 * scripts/config.sub: Likewise.
7785 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
7787 (has_cpuclock): ...this. New function.
7788 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
7789 macro here based on has_cpuclock code.
7792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7793 First byte (not low byte) is now always NUL.
7794 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
7796 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7797 Use non-cancelable interfaces.
7800 * locale/iso-639.def: Add entry for Sorani.
7803 * include/stdlib.h: Move include protection to the right place.
7804 Define abort_msg_s. Declare __abort_msg with it.
7805 * stdlib/abort.c (__abort_msg): Adjust type.
7806 * assert/assert.c (__assert_fail_base): New function. Majority
7807 of code from __assert_fail. Allocate memory for __abort_msg with
7809 (__assert_fail): Now call __assert_fail_base.
7810 * assert/assert-perr.c: Remove bulk of implementation. Use
7812 * include/assert.hL Declare __assert_fail_base.
7813 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
7815 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
7817 2011-05-14 Ulrich Drepper <drepper@gmail.com>
7821 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
7822 until all modules are registered in the DTV.
7823 * elf/Makefile: Add rules to build and run tst-tls19.
7824 * elf/tst-tls19.c: New file.
7825 * elf/tst-tls19mod1.c: New file.
7826 * elf/tst-tls19mod2.c: New file.
7827 * elf/tst-tls19mod3.c: New file.
7828 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
7831 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
7835 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
7836 two-byte sequence errors.
7837 * iconvdata/Makefile (tests): Add bug-iconv8.
7838 * iconvdata/bug-iconv8.c: New file.
7841 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
7844 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
7847 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
7848 (dummy_getcfa): New function.
7849 (init): Get _Unwind_GetCFA address, use dummy if not found.
7850 (backtrace_helper): In recursion check, also check whether CFA changes.
7851 (__backtrace): Completely initialize arg.
7853 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
7854 storing incomplete byte sequence in state object. Avoid testing for
7855 guaranteed too small input if we know there is enough data available.
7857 2011-05-11 Andreas Schwab <schwab@redhat.com>
7859 * Makeconfig (+link-pie): Indent.
7860 * Rules (binaries-pie): Define if $(have-fpie) and
7862 (binaries-shared): Also filter out $(binaries-pie).
7863 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
7864 * nscd/Makefile (others-pie): Add nscd.
7865 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
7866 ($(objpfx)nscd): Remove command override.
7867 * login/Makefile (others-pie): Add pt_chown.
7868 ($(objpfx)pt_chown): Remove command override.
7869 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
7870 remove command overrides.
7872 2011-05-13 Ulrich Drepper <drepper@gmail.com>
7874 * libio/tst_putwc.c: Fix error messages.
7877 * libio/fileops.c (_IO_new_file_close_it): Always flush when
7878 currently writing and seek to current position when not.
7879 * libio/Makefile (tests): Add bug-fclose1.
7880 * libio/bug-fclose1.c: New file.
7882 2011-05-12 Ulrich Drepper <drepper@gmail.com>
7885 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
7886 don't set DF_1_NODELETE here.
7887 (do_lookup_x): When entering new entry test for copy relocation
7888 and if necessary set DF_1_NODELETE flag.
7889 * elf/tst-unique4.cc: New file.
7890 * elf/tst-unique4.h: New file.
7891 * elf/tst-unique4lib.cc: New file.
7892 * elf/Makefile: Add rules to build and run tst-unique4.
7893 Patch by Piotr Bury <pbury@goahead.com>.
7895 2011-05-11 Ulrich Drepper <drepper@gmail.com>
7898 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
7901 * misc/mntent_r.c (addmntent): Flush the stream after the output
7904 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
7905 (is_trusted_path_normalize): Skip initial colon. Append slash
7906 to empty buffer. Duplicate is_trusted_path code but allow
7907 constructed patch to be prefix.
7908 (is_dst): Allow $ORIGIN followed by /.
7909 (_dl_dst_substitute): Correct clearing of check_for_trusted.
7910 Correct testing of result of is_trusted_path_normalize
7911 (decompose_rpath): Fix warning.
7913 2011-05-10 Ulrich Drepper <drepper@gmail.com>
7916 * grp/initgroups.c (internal_getgrouplist): When we found the service
7917 list through the initgroups entry in nsswitch.conf do not always
7918 continue on a successful lookup. Don't always use the
7919 __nss_group_database value if it is set.
7920 * nss/nsswitch.conf (initgroups): Change action for successful db
7921 lookup to continue for compatibility.
7923 2011-05-09 Ulrich Drepper <drepper@gmail.com>
7926 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
7928 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
7930 * iconvdata/tst-tables.sh: Likewise.
7931 * iconvdata/cp770.c: New file.
7932 * iconvdata/cp771.c: New file.
7933 * iconvdata/cp772.c: New file.
7934 * iconvdata/cp773.c: New file.
7935 * iconvdata/cp774.c: New file.
7936 * iconvdata/testdata/CP770: New file.
7937 * iconvdata/testdata/CP770..UTF8: New file.
7938 * iconvdata/testdata/CP771: New file.
7939 * iconvdata/testdata/CP771..UTF8: New file.
7940 * iconvdata/testdata/CP772: New file.
7941 * iconvdata/testdata/CP772..UTF8: New file.
7942 * iconvdata/testdata/CP773: New file.
7943 * iconvdata/testdata/CP773..UTF8: New file.
7944 * iconvdata/testdata/CP774: New file.
7945 * iconvdata/testdata/CP774..UTF8: New file.
7947 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
7949 * iconvdata/gen-8bit-gap.sh: Likewise.
7950 * iconvdata/gen-8bit.sh: Likewise.
7952 * locale/iso-639.def: Add ary entry.
7955 * locale/C-translit.h.in: Add U20A1 transliteration.
7958 * locale/iso-639.def: Add wae entry.
7959 Patch by Kevin Bortis <bortis@translate-wae.ch>.
7962 * locale/programs/localedef.c (construct_output_path): Use ssize_t
7966 * locale/C-translit.h.in: Add entry for U20B9.
7967 Patch by pravin.d.s@gmail.com.
7969 2011-05-08 Ulrich Drepper <drepper@gmail.com>
7972 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
7973 ENAMETOOLONG use generic getcwd.
7974 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
7975 in rtld. Use *stat64.
7976 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
7977 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7978 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
7979 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
7980 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
7981 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
7982 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
7984 * include/dirent.h: Add libc_hidden_proto for rewinddir.
7985 * dirent/rewinddir.c: Add libc_hidden_def.
7986 * sysdeps/mach/hurd/rewinddir.c: Likewise.
7987 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7989 * include/dirent.h (__alloc_dir): Add flags parameter.
7990 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
7991 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
7993 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
7994 from fdopendir if O_CLOEXEC is already set.
7996 2011-03-15 Alan Modra <amodra@gmail.com>
7998 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
7999 l_tls_firstbyte_offset non-zero. Save padding offset in
8000 l_tls_firstbyte_offset for later use.
8001 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8002 freeing static tls block.
8004 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8006 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8007 where #ifdef was intended. The intent is to prevent ARG_MAX from
8008 being defined by the kernel headers.
8010 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8013 * resolv/resolv.h: Define RES_NOTLDQUERY.
8014 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8015 no-tld-query and set RES_NOTLDQUERY.
8016 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8017 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8018 modern BIND to search name as TLD unless forbidden.
8020 2011-05-07 Petr Baudis <pasky@suse.cz>
8021 Ulrich Drepper <drepper@gmail.com>
8024 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8025 (is_trusted_path): ...to here.
8026 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8027 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8028 using is_trusted_path_normalize() in setuid scripts.
8030 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8032 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8033 __BEGIN/__END_DECLS.
8035 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8037 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8038 NSS_STATUS_NOTFOUND if no record was found.
8040 2011-05-05 Andreas Schwab <schwab@redhat.com>
8042 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8043 (headers-not-in-tirpc): Remove rpc/netdb.h
8044 * resolv/netdb.h: Revert last change.
8046 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8048 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8049 circular dependency between libgcc.a and libc.a.
8051 2011-05-05 Andreas Schwab <schwab@redhat.com>
8053 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8054 * nis/Makefile: Don't install rpcsvc/*.
8055 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8056 instead of <rpc/types.h>.
8057 (MAXHOSTNAMELEN): Define.
8059 2011-05-03 Andreas Schwab <schwab@redhat.com>
8061 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8063 2011-04-28 Maciej Babinski <mbabinski@google.com>
8066 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8067 gethostbyname4_r when IPv6 results are possible.
8069 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8072 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8073 _PC_PIPE_BUF handling.
8075 2011-04-30 Bruno Haible <bruno@clisp.org>
8078 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8079 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8081 * inet/getnameinfo.c (getnameinfo): Likewise.
8083 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8085 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8086 to groups setting in database lookup.
8087 * nss/nsswitch.conf: Add initgroups entry.
8089 2011-04-22 Ulrich Drepper <drepper@gmail.com>
8092 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8094 Patch by Eric Blake <eblake@redhat.com>.
8096 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8098 * sunrpc/Makefile (need-export-routines): Add svc_run.
8099 (routines): Remove svc_run.
8100 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8101 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8102 * sunrpc/svc_run.c (svc_run): Likewise.
8103 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8105 2011-04-21 Ulrich Drepper <drepper@gmail.com>
8107 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8108 problem in reallocation in last patch.
8110 2011-04-20 Ulrich Drepper <drepper@gmail.com>
8112 * sunrpc/Makefile: Move inclusion of Rules.
8114 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8116 * nss/nss_files/files-initgroups.c: New file.
8117 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8118 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8119 _nss_files_initgroups_dyn.
8121 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8123 * elf/elf.h (R_ARM_IRELATIVE): Define.
8125 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8127 * po/ru.po: Update from translation team.
8129 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8131 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
8134 2011-02-06 Mike Frysinger <vapier@gentoo.org>
8137 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
8138 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
8139 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8140 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8141 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8143 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
8145 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
8147 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8148 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8149 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8151 2011-04-17 Ulrich Drepper <drepper@gmail.com>
8154 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
8156 * stdlib/bug-getcontext.c: New file.
8157 * stdlib/Makefile: Add rules to build and run bug-getcontext.
8159 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8161 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
8162 instructions into .machine "z9-109".
8163 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8164 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8166 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8168 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
8169 between environment variables and auxiliary vector.
8171 2011-04-16 Ulrich Drepper <drepper@gmail.com>
8173 * Makefile: Add rules to build linkobj/libc.so.
8174 * include/libc-symbols.h: Define libc_hidden_nolink.
8175 * include/rpc/auth.h: Mark functions which are to be hidden.
8176 * include/rpc/auth_des.h: Likewise.
8177 * include/rpc/auth_unix.h: Likewise.
8178 * include/rpc/clnt.h: Likewise.
8179 * include/rpc/des_crypt.h: Likewise.
8180 * include/rpc/key_prot.h: Likewise.
8181 * include/rpc/pmap_clnt.h: Likewise.
8182 * include/rpc/pmap_prot.h: Likewise.
8183 * include/rpc/pmap_rmt.h: Likewise.
8184 * include/rpc/rpc_msg.h: Likewise.
8185 * include/rpc/svc.h: Likewise.
8186 * include/rpc/svc_auth.h: Likewise.
8187 * include/rpc/xdr.h: Likewise.
8188 * nis/Makefile: Link all DSOs against linkobj/libc.so.
8189 * nss/Makefile: Likewise.
8190 * sunrpc/Makefile: Don't install headers. Build library with normal
8191 entry points. Don't build rpcinfo. Link RPC tests appropriately.
8192 * sunrpc/auth_des.c: Hide exported symbols by default, export some
8193 for the compat linking library. Remove use of INTDEF/INTUSE.
8194 * sunrpc/auth_none.c: Likewise.
8195 * sunrpc/auth_unix.c: Likewise.
8196 * sunrpc/authdes_prot.c: Likewise.
8197 * sunrpc/authuxprot.c: Likewise.
8198 * sunrpc/clnt_gen.c: Likewise.
8199 * sunrpc/clnt_perr.c: Likewise.
8200 * sunrpc/clnt_raw.c: Likewise.
8201 * sunrpc/clnt_simp.c: Likewise.
8202 * sunrpc/clnt_tcp.c: Likewise.
8203 * sunrpc/clnt_udp.c: Likewise.
8204 * sunrpc/clnt_unix.c: Likewise.
8205 * sunrpc/des_crypt.c: Likewise.
8206 * sunrpc/des_soft.c: Likewise.
8207 * sunrpc/get_myaddr.c: Likewise.
8208 * sunrpc/key_call.c: Likewise.
8209 * sunrpc/key_prot.c: Likewise.
8210 * sunrpc/netname.c: Likewise.
8211 * sunrpc/pm_getmaps.c: Likewise.
8212 * sunrpc/pm_getport.c: Likewise.
8213 * sunrpc/pmap_clnt.c: Likewise.
8214 * sunrpc/pmap_prot.c: Likewise.
8215 * sunrpc/pmap_prot2.c: Likewise.
8216 * sunrpc/pmap_rmt.c: Likewise.
8217 * sunrpc/publickey.c: Likewise.
8218 * sunrpc/rpc_cmsg.c: Likewise.
8219 * sunrpc/rpc_common.c: Likewise.
8220 * sunrpc/rpc_dtable.c: Likewise.
8221 * sunrpc/rpc_prot.c: Likewise.
8222 * sunrpc/rpc_thread.c: Likewise.
8223 * sunrpc/rtime.c: Likewise.
8224 * sunrpc/svc.c: Likewise.
8225 * sunrpc/svc_auth.c: Likewise.
8226 * sunrpc/svc_authux.c: Likewise.
8227 * sunrpc/svc_raw.c: Likewise.
8228 * sunrpc/svc_run.c: Likewise.
8229 * sunrpc/svc_simple.c: Likewise.
8230 * sunrpc/svc_tcp.c: Likewise.
8231 * sunrpc/svc_udp.c: Likewise.
8232 * sunrpc/svc_unix.c: Likewise.
8233 * sunrpc/svcauth_des.c: Likewise.
8234 * sunrpc/xcrypt.c: Likewise.
8235 * sunrpc/xdr.c: Likewise.
8236 * sunrpc/xdr_array.c: Likewise.
8237 * sunrpc/xdr_float.c: Likewise.
8238 * sunrpc/xdr_intXX_t.c: Likewise.
8239 * sunrpc/xdr_mem.c: Likewise.
8240 * sunrpc/xdr_rec.c: Likewise.
8241 * sunrpc/xdr_ref.c: Likewise.
8242 * sunrpc/xdr_sizeof.c: Likewise.
8243 * sunrpc/xdr_stdio.c: Likewise.
8245 2011-04-10 Ulrich Drepper <drepper@gmail.com>
8248 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
8249 * sysdeps/ia64/dl-tls.h: Likewise.
8250 * sysdeps/powerpc/dl-tls.h: Likewise.
8251 * sysdeps/s390/dl-tls.h: Likewise.
8252 * sysdeps/sh/dl-tls.h: Likewise.
8253 * sysdeps/sparc/dl-tls.h: Likewise.
8254 * sysdeps/x86_64/dl-tls.h: Likewise.
8255 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
8257 2011-03-14 Andreas Schwab <schwab@redhat.com>
8259 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
8260 rpath element also skip the following colon.
8261 (expand_dynamic_string_token): Add is_path parameter and pass
8262 down to DL_DST_REQUIRED and _dl_dst_substitute.
8263 (decompose_rpath): Call expand_dynamic_string_token with
8264 non-zero is_path. Ignore empty rpaths.
8265 (_dl_map_object_from_fd): Call expand_dynamic_string_token
8268 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
8270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
8273 2011-04-09 Ulrich Drepper <drepper@gmail.com>
8276 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
8277 Patch by Filipe David Manana <fdmanana@apache.org>.
8279 2011-04-07 Andreas Schwab <schwab@redhat.com>
8281 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
8282 Maintain aligned stack.
8283 (CHECK_RSP): Remove unused macro.
8285 2011-04-03 Ulrich Drepper <drepper@gmail.com>
8287 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
8288 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
8290 2011-04-02 Ulrich Drepper <drepper@gmail.com>
8292 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
8294 * include/features.h: Mention __USE_XOPEN2K8 in comment.
8296 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
8299 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
8300 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
8301 * sysdeps/x86_64/memmove.c: New file.
8302 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
8303 (memcpy): Renamed to ...
8304 (__new_memcpy): This.
8305 (memcpy): Provide GLIBC_2_14 memcpy.
8306 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
8307 (memcpy): Provide GLIBC_2_2_5 memcpy.
8309 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8312 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
8314 2011-03-30 Andreas Schwab <schwab@redhat.com>
8316 * misc/syncfs.c: New file.
8317 * misc/Makefile (routines): Add syncfs.
8318 * posix/unistd.h: Declare syncfs.
8319 * sysdeps/unix/syscalls.list: Add syncfs.
8321 2011-04-01 Andreas Schwab <schwab@redhat.com>
8323 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
8325 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
8326 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8327 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8328 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8329 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8330 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8333 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8335 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
8336 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8337 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
8338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8339 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8343 * io/Makefile: Compile fallocate.c, fallocate64.c, and
8344 sync_file_range.c with -fexceptions.
8345 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
8346 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
8347 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8348 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8349 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8350 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
8351 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
8352 sync_file_range as cancellation point
8353 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
8354 now a wrapper around __call_sync_file_range with cancellation handling.
8355 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
8356 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
8357 function name to __call_sync_file_range.
8358 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
8359 Add call_sync_file_range.
8361 2011-04-01 Andreas Schwab <schwab@redhat.com>
8363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8366 2011-04-01 Ulrich Drepper <drepper@gmail.com>
8368 * iconv/iconv.h: Fix typo in comment.
8369 * io/fcntl.h: Likewise.
8370 * libio/stdio.h: Likewise.
8371 * posix/spawn.h: Likewise.
8372 * posix/unistd.h: Likewise.
8373 * stdlib/stdlib.h: Likewise.
8374 * time/time.h: Likewise.
8375 * wcsmbs/wchar.h: Likewise.
8377 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
8378 open_by_handle): Add.
8379 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
8380 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
8381 Augment a few comments.
8382 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
8383 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
8384 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
8385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8386 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
8387 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
8390 * io/fcntl.h (AT_EMPTY_PATH): Define.
8392 2011-03-30 Ulrich Drepper <drepper@gmail.com>
8394 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
8395 * sysdeps/unix/sysv/linux/bits/time.h: New file.
8396 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
8398 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
8399 * Versions.def: Add GLIBC_2.14.
8400 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
8403 2011-03-22 Ulrich Drepper <drepper@gmail.com>
8405 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
8407 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8409 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
8412 * string/test-strncmp.c (do_page_test): New function.
8414 (test_main): Call check2.
8415 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
8417 2011-03-20 Ulrich Drepper <drepper@gmail.com>
8420 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
8421 Handle cache information in CPU leaf 4.
8422 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
8424 2011-03-18 Ulrich Drepper <drepper@gmail.com>
8427 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
8428 character representation.
8429 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
8431 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
8433 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
8434 END(__isnan) to END(__isnanf) to match function entry point/label
8435 EALIGN(__isnanf,...).
8437 2011-03-10 Jakub Jelinek <jakub@redhat.com>
8439 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
8441 2011-03-10 Ulrich Drepper <drepper@gmail.com>
8444 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
8445 copy from the symbol referenced in the relocation to initialize the
8447 Patch by Piotr Bury <pbury@goahead.com>.
8448 * elf/Makefile: Add rules to build and tst-unique3.
8449 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
8450 * elf/tst-unique3.cc: New file.
8451 * elf/tst-unique3.h: New file.
8452 * elf/tst-unique3lib.cc: New file.
8453 * elf/tst-unique3lib2.cc: New file.
8455 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
8457 2011-03-10 Mike Frysinger <vapier@gentoo.org>
8459 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
8460 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
8463 2011-03-06 Ulrich Drepper <drepper@gmail.com>
8465 * elf/dl-load.c (_dl_map_object): If we are looking for the first
8466 to-be-loaded object along a path to loader is ld.so.
8468 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8469 Ulrich Drepper <drepper@gmail.com>
8471 * sysdeps/x86_64/memset.S: After aligning destination, code
8472 branches to different locations depending on the value of
8473 misalignment, when multiarch is enabled. Fix this.
8475 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
8477 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
8478 Set _x86_64_preferred_memory_instruction for AMD processsors.
8479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8480 Set bit_Prefer_SSE_for_memop for AMD processors.
8482 2011-03-04 Ulrich Drepper <drepper@gmail.com>
8484 * libio/fmemopen.c (fmemopen): Optimize a bit.
8486 2011-03-03 Andreas Schwab <schwab@redhat.com>
8488 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
8490 2011-03-03 Roland McGrath <roland@redhat.com>
8492 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
8494 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
8496 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
8497 __bzero_ultra1 instead of __memset_ultra1.
8499 2011-02-23 Andreas Schwab <schwab@redhat.com>
8500 Ulrich Drepper <drepper@gmail.com>
8503 * include/link.h (struct link_map): Add l_orig_initfini.
8504 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
8505 returning unsuccessfully.
8506 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
8507 close of a file loaded at startup, restore the original l_initfini
8509 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
8510 list, store the pointer.
8511 * elf/Makefile ($(objpfx)noload-mem): New rule.
8512 (noload-ENV): Define.
8513 (tests): Add $(objpfx)noload-mem.
8514 * elf/noload.c: Include <memcheck.h>.
8515 (main): Call mtrace. Close all opened handles.
8517 2011-02-17 Andreas Schwab <schwab@redhat.com>
8520 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
8521 dependencies are missing.
8523 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
8525 Fix __if_freereq crash: Unlike the generic version which uses free,
8527 * sysdeps/mach/hurd/ifreq.h: New file.
8529 2011-01-27 Petr Baudis <pasky@suse.cz>
8530 Ulrich Drepper <drepper@gmail.com>
8533 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
8535 * stdio-common/bug23.c: New file.
8536 * stdio-common/Makefile (tests): Add bug23.
8538 2010-09-28 Andreas Schwab <schwab@redhat.com>
8539 Ulrich Drepper <drepper@gmail.com>
8542 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
8543 before performing relro protection. At old place add assertion
8544 to make sure nothing changed.
8546 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
8547 Glauber de Oliveira Costa <glommer@gmail.com>
8549 * elf/elf.h: Add new ARM TLS relocs.
8551 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
8553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8554 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
8556 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
8558 * sysdeps/wordsize-64/tst-writev.c: New file.
8560 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
8562 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
8563 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
8564 insns in _dl_start to prevent a TOC reference before relocs are
8567 2011-02-15 Ulrich Drepper <drepper@gmail.com>
8570 * Makeconfig: Remove RANLIB definition.
8571 * Makerules: Don't use RANLIB.
8572 * aclocal.m4: Remove ranlib test.
8573 * configure.in: No need to check for ranlib.
8574 * elf/rtld-Rules: Don't use RANLIB.
8576 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
8578 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
8580 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
8581 inclusion protection macro.
8583 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
8584 SIGRTMIN and SIGRTMAX and print information in that case only when
8585 SIGRTMIN is defined.
8587 2011-02-11 Jakub Jelinek <jakub@redhat.com>
8589 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
8590 arginfo fn returning -1.
8592 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
8593 and thousands string is zero terminated.
8595 2011-02-03 Andreas Schwab <schwab@redhat.com>
8597 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
8598 sysdeps/unix/sysv/linux/bits/socket.h.
8600 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
8602 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
8603 (__CPU_COUNT): Remove old macros.
8604 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
8605 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
8606 (__CPU_ALLOC, __CPU_FREE): Add macros.
8607 (__sched_cpualloc, __sched_cpufree): Add declarations.
8609 2011-02-05 Ulrich Drepper <drepper@gmail.com>
8611 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
8612 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
8613 * nscd/aicache.c (addhstaiX): Return timeout of added value.
8614 (readdhstai): Return value of addhstaiX call.
8615 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
8616 (addgrbyX): Return value returned by cache_addgr.
8617 (readdgrbyname): Return value returned by addgrbyX.
8618 (readdgrbygid): Likewise.
8619 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
8620 (addpwbyX): Return value returned by cache_addpw.
8621 (readdpwbyname): Return value returned by addhstbyX.
8622 (readdpwbyuid): Likewise.
8623 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
8624 (addservbyX): Return value returned by cache_addserv.
8625 (readdservbyname): Return value returned by addservbyX:
8626 (readdservbyport): Likewise.
8627 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
8628 (addhstbyX): Return value returned by cache_addhst.
8629 (readdhstbyname): Return value returned by addhstbyX.
8630 (readdhstbyaddr): Likewise.
8631 (readdhstbynamev6): Likewise.
8632 (readdhstbyaddrv6): Likewise.
8633 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
8634 (readdinitgroups): Return value returned by addinitgroupsX.
8635 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
8636 (prune_cache): Keep track of timeout value of re-added entries.
8637 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
8638 * nscd/nscd.h: Adjust prototypes of readd* functions.
8640 2011-02-04 Roland McGrath <roland@redhat.com>
8642 * nis/nis_server.c (nis_servstate): Use the right name for 0.
8643 (nis_stats): Likewise.
8644 * nis/nis_modify.c (nis_modify): Likewise.
8645 * nis/nis_remove.c (nis_remove): Likewise.
8646 * nis/nis_add.c (nis_add): Likewise.
8648 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
8650 * posix/fnmatch_loop.c: Add some consts.
8652 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
8654 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
8657 * config.make.in (config-cflags-novzeroupper): Define.
8658 * configure.in: Substitute libc_cv_cc_novzeroupper.
8659 * elf/Makefile (AVX-CFLAGS): Define.
8660 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
8661 (CFLAGS-tst-auditmod4a.c): Likewise.
8662 (CFLAGS-tst-auditmod4b.c): Likewise.
8663 (CFLAGS-tst-auditmod6b.c): Likewise.
8664 (CFLAGS-tst-auditmod6c.c): Likewise.
8665 (CFLAGS-tst-auditmod7b.c): Likewise.
8666 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
8668 2011-02-02 Ulrich Drepper <drepper@gmail.com>
8670 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
8671 function to the callback.
8672 Patch partly by Jiri Olsa <jolsa@redhat.com>.
8674 2011-02-02 Andreas Schwab <schwab@redhat.com>
8676 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
8679 2011-01-19 Ulrich Drepper <drepper@gmail.com>
8682 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
8684 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
8686 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
8689 * elf/Makefile: Add rules to build and run new test.
8690 * elf/tst-initorder.c: New file.
8691 * elf/tst-initorder.exp: New file.
8692 * elf/tst-initordera1.c: New file.
8693 * elf/tst-initordera2.c: New file.
8694 * elf/tst-initordera3.c: New file.
8695 * elf/tst-initordera4.c: New file.
8696 * elf/tst-initorderb1.c: New file.
8697 * elf/tst-initorderb2.c: New file.
8698 * elf/tst-order-a1.c: New file.
8699 * elf/tst-order-a2.c: New file.
8700 * elf/tst-order-a3.c: New file.
8701 * elf/tst-order-a4.c: New file.
8702 * elf/tst-order-b1.c: New file.
8703 * elf/tst-order-b2.c: New file.
8704 * elf/tst-order-main.c: New file.
8705 New test case by George Gensure <werkt0@gmail.com>.
8707 2010-10-01 Andreas Schwab <schwab@redhat.com>
8709 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8710 decoding ACE if AI_CANONIDN.
8712 2011-01-18 Ulrich Drepper <drepper@gmail.com>
8714 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
8716 2011-01-17 Ulrich Drepper <drepper@gmail.com>
8718 * version.h (RELEASE): Bump for 2.13 release.
8719 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
8721 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
8723 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
8725 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
8726 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
8727 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8728 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8729 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8730 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8732 * posix/getconf.c: Update copyright year.
8733 * catgets/gencat.c: Likewise.
8734 * csu/version.c: Likewise.
8735 * debug/catchsegv.sh: Likewise.
8736 * debug/xtrace.sh: Likewise.
8737 * elf/ldconfig.c: Likewise.
8738 * elf/ldd.bash.in: Likewise.
8739 * elf/sprof.c (print_version): Likewise.
8740 * iconv/iconv_prog.c: Likewise.
8741 * iconv/iconvconfig.c: Likewise.
8742 * locale/programs/locale.c: Likewise.
8743 * locale/programs/localedef.c: Likewise.
8744 * malloc/memusage.sh: Likewise.
8745 * malloc/mtrace.pl: Likewise.
8746 * nscd/nscd.c (print_version): Likewise.
8747 * nss/getent.c: Likewise.
8749 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
8750 PF_CAIF, and PF_ALG.
8751 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8753 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
8755 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
8756 (modules-names): Use them.
8757 (ifunc-test-modules, ifunc-pie-tests): Define.
8758 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
8759 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
8760 (test-extras): Likewise.
8761 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
8762 $(compile-command.c).
8763 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
8764 (all-built-dso): Define.
8765 (check-textrel.out, check-execstack.out): Depend on it.
8767 * configure.in: Don't override --enable-multi-arch.
8769 2011-01-15 Ulrich Drepper <drepper@gmail.com>
8772 * nscd/hstcache.c (tryagain): Define.
8773 (cache_addhst): Return tryagain not notfound for temporary errors.
8774 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
8777 2011-01-14 Ulrich Drepper <drepper@gmail.com>
8780 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
8781 to make the syscall.
8782 * sysdeps/unix/sysv/linux/setgroups.c: New file.
8785 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
8786 and fall back to matching as normal character if the string ends before
8787 the matching ']' is found. This is what POSIX requires.
8788 * posix/testfnm.c: Adjust test result.
8789 * posix/globtest.sh: Adjust test result. Add new test.
8790 * posix/tst-fnmatch.input: Likewise.
8791 * posix/tst-fnmatch2.c: Add new test.
8793 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
8795 * elf/Makefile (check-execstack): Revert last change. Depend on
8797 (check-execstack.h): New target.
8798 (generated): Add check-execstack.h.
8799 * elf/check-execstack.c: Include "check-execstack.h".
8800 (main): Revert last change.
8801 (handle_file): Return zero if GNU_STACK is absent and
8802 DEFAULT_STACK_PERMS doesn't include PF_X.
8804 2011-01-13 Ulrich Drepper <drepper@gmail.com>
8806 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
8807 in child fails because the descriptor is already closed.
8808 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
8809 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
8810 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8813 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
8817 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
8818 temporary buffer used to handle multi lookups locally.
8819 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
8821 2011-01-12 Ulrich Drepper <drepper@gmail.com>
8823 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
8826 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
8828 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
8831 2011-01-12 Ulrich Drepper <drepper@gmail.com>
8834 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
8835 characters. When rounding increased number of integer digits recompute
8837 * stdio-common/tst-grouping.c: New file.
8838 * stdio-common/Makefile: Add rules to build and run tst-grouping.
8840 2011-01-09 Ulrich Drepper <drepper@gmail.com>
8842 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
8843 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
8845 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
8847 * bits/select.h: Likewise.
8849 2011-01-08 Ulrich Drepper <drepper@gmail.com>
8851 * po/ja.po: Update from translation team.
8853 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
8856 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
8857 implementation just like for lxstat, fxstatat, et al.
8859 2010-12-27 Jim Meyering <meyering@redhat.com>
8862 * posix/regexec.c (build_trtable): Return failure indication upon
8863 calloc failure. Otherwise, re_search_internal could infloop on OOM.
8865 2010-12-25 Ulrich Drepper <drepper@gmail.com>
8868 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
8869 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
8870 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
8871 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
8874 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
8877 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
8878 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
8880 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
8882 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
8883 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
8884 script has SORT_BY_INIT_PRIORITY.
8885 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
8886 NO_CTORS_DTORS_SECTIONS is defined.
8887 * elf/soinit.c: Likewise.
8888 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
8889 NO_CTORS_DTORS_SECTIONS is defined.
8890 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
8891 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
8892 * sysdeps/sh/init-first.c: Likewise.
8893 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
8895 2010-12-24 Ulrich Drepper <drepper@gmail.com>
8897 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
8898 always use the slow path.
8900 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
8902 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
8903 similar rule which adds the sysdep directories to the header search in
8904 order to pick up the correct platform stackinfo.h.
8905 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
8906 perform test if it is, otherwise return successfully without testing.
8907 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
8908 DEFAULT_STACK_PERMS define in stackinfo.h.
8909 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
8910 defined in stackinfo.h.
8911 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
8912 DEFAULT_STACK_PERMS defined in stackinfo.h.
8913 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
8914 * sysdeps/ia64/stackinfo.h: Likewise.
8915 * sysdeps/s390/stackinfo.h: Likewise.
8916 * sysdeps/sh/stackinfo.h: Likewise.
8917 * sysdeps/sparc/stackinfo.h: Likewise.
8918 * sysdeps/x86_64/stackinfo.h: Likewise.
8919 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
8920 PF_X for powerpc64. Retain PF_X for powerpc32.
8922 2010-12-19 Ulrich Drepper <drepper@gmail.com>
8924 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
8926 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
8927 GETDENTS_64BIT_ALIGNED.
8929 2010-12-14 Ulrich Drepper <dreper@gmail.com>
8931 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
8933 2010-12-10 Andreas Schwab <schwab@redhat.com>
8935 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
8938 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
8939 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
8941 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
8942 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
8944 2010-12-09 Ulrich Drepper <drepper@gmail.com>
8947 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
8950 2010-12-09 Jakub Jelinek <jakub@redhat.com>
8952 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
8954 2010-12-03 Ulrich Drepper <drepper@gmail.com>
8956 * po/it.po: Update from translation team.
8958 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
8960 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
8963 2010-11-30 Ulrich Drepper <drepper@gmail.com>
8965 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
8967 2010-11-24 Andreas Schwab <schwab@redhat.com>
8969 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
8971 (gaih_getanswer_slice): Likewise.
8973 2010-10-20 Jakub Jelinek <jakub@redhat.com>
8975 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
8977 2010-05-31 Petr Baudis <pasky@suse.cz>
8980 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
8981 silently even in the chroot mode.
8983 2010-11-22 Ulrich Drepper <drepper@gmail.com>
8985 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
8986 last patch a bit. Pretty printing
8988 2010-05-31 Petr Baudis <pasky@suse.cz>
8991 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
8992 initialization of skip_initgroups_dyn.
8994 2010-11-19 Ulrich Drepper <drepper@gmail.com>
8996 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
8997 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
8999 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9001 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9003 2010-11-11 Andreas Schwab <schwab@redhat.com>
9005 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9006 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9007 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9008 ($(objpfx)tst-fnmatch-mem): New rule.
9009 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9010 * posix/tst-fnmatch.c (main): Call mtrace.
9012 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9014 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9015 Support Intel processor model 6 and model 0x2c.
9017 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9019 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9022 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9025 * string/test-strncasecmp.c (check_result): New function.
9026 (do_one_test): Use it.
9027 (check1): New function.
9028 (test_main): Use it.
9029 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9030 Support strcasecmp and strncasecmp.
9032 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9035 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9036 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9038 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9040 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9044 * sysdeps/x86_64/multiarch/bzero.S: New file.
9045 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9046 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9047 * sysdeps/x86_64/multiarch/memset.S: New file.
9048 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9049 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9050 Set bit_Prefer_SSE_for_memop for Intel processors.
9051 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9053 (index_Prefer_SSE_for_memop): Define.
9054 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9056 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9058 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9059 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9061 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9064 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9065 (__x86_64_raw_data_cache_size_half): Likewise.
9066 (__x86_64_raw_shared_cache_size): Likewise.
9067 (__x86_64_raw_shared_cache_size_half): Likewise.
9069 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9070 (__x86_64_raw_data_cache_size_half): Likewise.
9071 (__x86_64_raw_shared_cache_size): Likewise.
9072 (__x86_64_raw_shared_cache_size_half): Likewise.
9073 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9074 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9075 and __x86_64_raw_shared_cache_size_half. Round
9076 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9077 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9078 to multiple of 256 bytes.
9080 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9083 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9084 of inacessible symlinks. Verify result of symlink before returning it.
9085 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9086 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9088 2010-10-28 Erich Ritz <erichritz@gmail.com>
9090 * math/math.h (isinf): Fix typo in comment.
9092 2010-11-01 Ulrich Drepper <drepper@gmail.com>
9094 * po/da.po: Update from translation team.
9096 2010-10-26 Ulrich Drepper <drepper@gmail.com>
9098 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9099 is added to the list.
9101 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9102 Ulrich Drepper <drepper@gmail.com>
9104 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9105 the global list here. Move code to...
9106 (_dl_add_to_namespace_list): ...here. New function.
9107 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9108 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9109 * elf/dl-load.c (lose): Don't remove the element from the list.
9110 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9111 (_dl_map_object): Likewise.
9113 2010-10-25 Ulrich Drepper <drepper@gmail.com>
9116 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9117 into all bytes of SSE register.
9118 Patch by Richard Li <richardpku@gmail.com>.
9120 2010-10-24 Ulrich Drepper <drepper@gmail.com>
9123 * malloc/malloc.c (_int_free): Fill correct number of bytes when
9126 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
9128 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
9129 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
9130 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
9131 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
9134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
9136 2010-10-22 Andreas Schwab <schwab@redhat.com>
9138 * include/dlfcn.h (__RTLD_SECURE): Define.
9139 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
9140 mode & __RTLD_SECURE instead.
9141 (open_path): Rename preloaded parameter to secure.
9142 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
9143 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
9144 * elf/dl-deps.c (openaux): Likewise.
9145 * elf/rtld.c (struct map_args): Remove is_preloaded.
9146 (map_doit): Don't use it.
9147 (dl_main): Likewise.
9148 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
9149 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
9151 2010-09-09 Andreas Schwab <schwab@redhat.com>
9153 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
9154 (sysd-rules-targets): Remove duplicates.
9155 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
9156 rtld-%.$o dependency.
9158 2010-10-18 Andreas Schwab <schwab@redhat.com>
9160 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
9161 _dl_map_object do it.
9163 2010-10-19 Ulrich Drepper <drepper@gmail.com>
9165 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
9166 fast fma builtins, define the macros in the C99 standard.
9167 (FP_FAST_FMAF): Likewise.
9168 (FP_FAST_FMAL): Likewise.
9169 * sysdeps/x86_64/bits/mathdef.h: Likewise.
9171 * bits/mathdef.h: Update copyright year.
9172 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9174 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
9176 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
9177 builtins, define the macros in the C99 standard.
9178 (FP_FAST_FMAF): Likewise.
9179 (FP_FAST_FMAL): Likewise.
9180 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
9182 (FP_FAST_FMAF): Likewise.
9184 2010-10-15 Jakub Jelinek <jakub@redhat.com>
9187 * math/libm-test.inc (fma_test): Some new testcases.
9188 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
9189 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
9190 y and infinite z. Do multiplication by C already in long double.
9191 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
9192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
9193 y and infinite z. Do bitwise or of inexact bit into u.d.
9194 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
9195 * sysdeps/i386/fpu/s_fmaf.S: Removed.
9196 * sysdeps/i386/fpu/s_fma.S: Removed.
9197 * sysdeps/i386/fpu/s_fmal.S: Removed.
9199 2010-10-16 Jakub Jelinek <jakub@redhat.com>
9202 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
9203 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
9204 computation is not scheduled after fetestexcept. Fix value
9205 of minimum denormal long double.
9207 2010-10-14 Jakub Jelinek <jakub@redhat.com>
9210 * math/libm-test.inc (fma_test): Add some more tests.
9211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
9214 2010-10-15 Andreas Schwab <schwab@redhat.com>
9216 * scripts/data/localplt-s390-linux-gnu.data: New file.
9217 * scripts/data/localplt-s390x-linux-gnu.data: New file.
9219 2010-10-13 Jakub Jelinek <jakub@redhat.com>
9222 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
9223 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
9225 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
9227 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
9228 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
9229 if one of x and y is very large and the other is subnormal.
9230 * sysdeps/s390/fpu/s_fmaf.c: New file.
9231 * sysdeps/s390/fpu/s_fma.c: New file.
9232 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
9233 * sysdeps/powerpc/fpu/s_fma.S: New file.
9234 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
9235 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
9236 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
9238 2010-10-12 Jakub Jelinek <jakub@redhat.com>
9241 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
9243 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
9244 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
9245 * sysdeps/i386/i686/multiarch/s_fma.c: Include
9246 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
9247 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
9248 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
9249 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
9251 2010-10-12 Ulrich Drepper <drepper@redhat.com>
9254 * posix/regcomp.c (parse_branch): One more memory leak plugged.
9255 * posix/bug-regex31.input: Add test case.
9257 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9259 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
9260 * posix/bug-regex31.input: New file.
9263 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
9264 (parse_sub_exp): Fix last change, use postorder.
9266 * posix/bug-regex31.c: New file.
9267 * posix/Makefile: Add rules to build and run bug-regex31.
9269 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
9272 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
9275 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
9276 to have entries in sys_siglist.
9279 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
9282 2010-10-07 Jakub Jelinek <jakub@redhat.com>
9285 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
9286 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
9287 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
9288 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
9289 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
9290 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
9291 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
9292 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
9293 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
9294 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
9295 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
9296 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
9297 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
9298 * math/ftestexcept.c (fetestexcept): Likewise.
9299 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
9300 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
9301 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9302 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
9303 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
9304 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
9305 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
9307 2010-10-11 Ulrich Drepper <drepper@gmail.com>
9310 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
9313 2010-10-06 Ulrich Drepper <drepper@gmail.com>
9315 * string/bug-strstr1.c: New file.
9316 * string/Makefile: Add rules to build and run bug-strstr1.
9318 2010-10-05 Eric Blake <eblake@redhat.com>
9321 * string/str-two-way.h (two_way_long_needle): Always clear memory
9322 when skipping input due to the shift table.
9324 2010-10-03 Ulrich Drepper <drepper@gmail.com>
9327 * malloc/mcheck.c: Handle large requests.
9330 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
9331 for strncmp and strncasecmp.
9332 * string/stratcliff.c: Add tests for strcmp and strncmp.
9333 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
9335 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
9337 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
9340 2010-09-30 Andreas Jaeger <aj@suse.de>
9342 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
9343 (CGROUP_SUPER_MAGIC): Define.
9344 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9345 Handle btrfs and cgroup file systems.
9346 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9349 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
9351 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
9352 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
9354 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9357 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
9358 trying to locate the ELF header.
9360 2010-09-27 Andreas Schwab <schwab@redhat.com>
9363 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
9364 Mask out sign-bit copies when constructing f_fsid.
9366 2010-09-24 Petr Baudis <pasky@suse.cz>
9368 * debug/stack_chk_fail_local.c: Add missing licence exception.
9369 * debug/warning-nop.c: Likewise.
9371 2010-09-15 Joseph Myers <joseph@codesourcery.com>
9373 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
9374 implementing getdents64 using getdents syscall, set d_type if
9375 __ASSUME_GETDENTS32_D_TYPE.
9377 2010-09-16 Andreas Schwab <schwab@redhat.com>
9379 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
9380 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
9382 2010-09-21 Ulrich Drepper <drepper@redhat.com>
9385 * posix/unistd.h: Undo change of feature selection for ftruncate from
9388 2010-09-20 Ulrich Drepper <drepper@redhat.com>
9390 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
9393 2010-09-20 Andreas Schwab <schwab@redhat.com>
9395 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
9397 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9399 2010-09-14 Andreas Schwab <schwab@redhat.com>
9401 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
9402 variables after CHECK_SP call.
9403 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
9405 2010-09-13 Andreas Schwab <schwab@redhat.com>
9406 Ulrich Drepper <drepper@redhat.com>
9408 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
9409 re-relocationg ld.so.
9410 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
9411 _dl_init_paths call.
9412 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
9415 2010-09-14 Ulrich Drepper <drepper@redhat.com>
9417 * resolv/res_init.c (__res_vinit): Count the default server we added.
9419 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
9420 Ulrich Drepper <drepper@redhat.com>
9423 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9424 (____longjmp_chk): Use %ebx for saving value across system call.
9427 2010-09-06 Andreas Schwab <schwab@redhat.com>
9429 * manual/Makefile: Don't mix pattern rules with normal rules.
9431 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
9433 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
9435 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
9436 * libio/iofopncook.c (_IO_cookie_init): Likewise.
9437 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
9438 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
9439 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9442 2010-09-04 Ulrich Drepper <drepper@redhat.com>
9445 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
9446 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
9448 2010-09-02 Ulrich Drepper <drepper@redhat.com>
9450 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
9451 * sysdeps/x86_64/addmul_1.S: Likewise.
9452 * sysdeps/x86_64/lshift.S: Likewise.
9453 * sysdeps/x86_64/mul_1.S: Likewise.
9454 * sysdeps/x86_64/rshift.S: Likewise.
9455 * sysdeps/x86_64/sub_n.S: Likewise.
9456 * sysdeps/x86_64/submul_1.S: Likewise.
9458 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
9460 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
9461 Define __sched_param instead of SCHED_* and sched_param when
9462 <bits/sched.h> is included with __need_schedparam defined.
9463 * bits/sched.h [__need_schedparam]
9464 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
9465 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
9466 (__defined_schedparam): Define to 1.
9467 (__sched_param): New structure, identical to sched_param.
9468 (__need_schedparam): Undefine.
9470 2010-08-31 Mike Frysinger <vapier@gentoo.org>
9472 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
9473 (epoll_create1): Declare.
9475 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
9477 2010-08-31 Andreas Schwab <schwab@redhat.com>
9480 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
9481 shifting retval into place.
9483 2010-09-01 Ulrich Drepper <drepper@redhat.com>
9485 * nis/rpcsvc/nis.h: Update copyright notice.
9486 * nis/rpcsvc/nis.x: Likewise.
9487 * nis/rpcsvc/nis_callback.h: Likewise.
9488 * nis/rpcsvc/nis_callback.x: Likewise.
9489 * nis/rpcsvc/nis_object.x: Likewise.
9490 * nis/rpcsvc/nis_tags.h: Likewise.
9491 * nis/rpcsvc/yp.h: Likewise.
9492 * nis/rpcsvc/yp.x: Likewise.
9493 * nis/rpcsvc/ypupd.h: Likewise.
9494 * nis/yp_xdr.c: Likewise.
9495 * nis/ypupdate_xdr.c: Likewise.
9497 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
9498 mainly the body of pmap_getport. Add parameters to specify timeouts.
9499 (pmap_getport): Use __libc_rpc_getport.
9500 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
9501 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
9502 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
9504 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
9509 2010-08-27 Roland McGrath <roland@redhat.com>
9511 * sysdeps/i386/i686/multiarch/Makefile
9512 (CFLAGS-varshift.c): New variable.
9514 2010-08-27 Ulrich Drepper <drepper@redhat.com>
9516 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
9517 * sysdeps/i386/i686/multiarch/varshift.c: New file.
9519 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
9521 * sysdeps/x86_64/strlen.S: Minimal code improvement.
9523 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
9525 * sysdeps/x86_64/strlen.S: Unroll the loop.
9526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9527 strlen-sse2 strlen-sse2-bsf.
9528 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
9529 __strlen_no_bsf if bit_Slow_BSF is set.
9530 (__strlen_sse42): Removed.
9531 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
9532 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
9534 2010-08-25 Roland McGrath <roland@redhat.com>
9536 * sysdeps/x86_64/multiarch/varshift.S: File removed.
9537 * sysdeps/x86_64/multiarch/varshift.c: New file.
9538 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
9539 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
9540 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
9541 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9543 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
9545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9546 strlen-sse2 strlen-sse2-bsf.
9547 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
9548 __strlen_sse2_bsf if bit_Slow_BSF is unset.
9549 (__strlen_sse2): Removed.
9550 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
9551 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
9552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
9553 bit_Slow_BSF for Atom.
9554 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
9555 (index_Slow_BSF): Define.
9556 (HAS_SLOW_BSF): Define.
9558 2010-08-25 Ulrich Drepper <drepper@redhat.com>
9561 * resolv/res_init.c (__res_vinit): When no server address at all
9562 is given default to loopback.
9564 2010-08-24 Roland McGrath <roland@redhat.com>
9566 * configure.in: Remove config-name.h generation.
9567 * configure: Regenerated.
9568 * config-name.in: File removed.
9569 * scripts/config-uname.sh: New file.
9570 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
9571 ($(objdir)config-name.h): New target.
9573 * sunrpc/rpc_parse.h: Avoid nested comment.
9575 2010-08-24 Richard Henderson <rth@redhat.com>
9576 Ulrich Drepper <drepper@redhat.com>
9577 H.J. Lu <hongjiu.lu@intel.com>
9579 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
9580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
9581 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
9582 Replace _mm_srli_si128 with __m128i_shift_right. Replace
9583 _mm_alignr_epi8 with _mm_loadu_si128.
9584 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
9585 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
9586 (__m128i_shift_right): Removed.
9587 * sysdeps/i386/i686/multiarch/varshift.h: New file.
9588 * sysdeps/i386/i686/multiarch/varshift.S: New file.
9589 * sysdeps/x86_64/multiarch/varshift.h: New file.
9590 * sysdeps/x86_64/multiarch/varshift.S: New file.
9592 2010-08-21 Mike Frysinger <vapier@gentoo.org>
9594 * configure.in: Move assembler checks to before sysdep dir checking.
9596 2010-08-20 Petr Baudis <pasky@suse.cz>
9598 * LICENSES: Sync the sunrpc license.
9600 2010-08-19 Ulrich Drepper <drepper@redhat.com>
9602 * sunrpc/auth_des.c: Update copyright notice once again.
9603 * sunrpc/auth_none.c: Likewise.
9604 * sunrpc/auth_unix.c: Likewise.
9605 * sunrpc/authdes_prot.c: Likewise.
9606 * sunrpc/authuxprot.c: Likewise.
9607 * sunrpc/bindrsvprt.c: Likewise.
9608 * sunrpc/clnt_gen.c: Likewise.
9609 * sunrpc/clnt_perr.c: Likewise.
9610 * sunrpc/clnt_raw.c: Likewise.
9611 * sunrpc/clnt_simp.c: Likewise.
9612 * sunrpc/clnt_tcp.c: Likewise.
9613 * sunrpc/clnt_udp.c: Likewise.
9614 * sunrpc/clnt_unix.c: Likewise.
9615 * sunrpc/des_crypt.c: Likewise.
9616 * sunrpc/des_soft.c: Likewise.
9617 * sunrpc/get_myaddr.c: Likewise.
9618 * sunrpc/getrpcport.c: Likewise.
9619 * sunrpc/key_call.c: Likewise.
9620 * sunrpc/key_prot.c: Likewise.
9621 * sunrpc/openchild.c: Likewise.
9622 * sunrpc/pm_getmaps.c: Likewise.
9623 * sunrpc/pm_getport.c: Likewise.
9624 * sunrpc/pmap_clnt.c: Likewise.
9625 * sunrpc/pmap_prot.c: Likewise.
9626 * sunrpc/pmap_prot2.c: Likewise.
9627 * sunrpc/pmap_rmt.c: Likewise.
9628 * sunrpc/rpc/auth.h: Likewise.
9629 * sunrpc/rpc/auth_unix.h: Likewise.
9630 * sunrpc/rpc/clnt.h: Likewise.
9631 * sunrpc/rpc/des_crypt.h: Likewise.
9632 * sunrpc/rpc/key_prot.h: Likewise.
9633 * sunrpc/rpc/netdb.h: Likewise.
9634 * sunrpc/rpc/pmap_clnt.h: Likewise.
9635 * sunrpc/rpc/pmap_prot.h: Likewise.
9636 * sunrpc/rpc/pmap_rmt.h: Likewise.
9637 * sunrpc/rpc/rpc.h: Likewise.
9638 * sunrpc/rpc/rpc_des.h: Likewise.
9639 * sunrpc/rpc/rpc_msg.h: Likewise.
9640 * sunrpc/rpc/svc.h: Likewise.
9641 * sunrpc/rpc/svc_auth.h: Likewise.
9642 * sunrpc/rpc/types.h: Likewise.
9643 * sunrpc/rpc/xdr.h: Likewise.
9644 * sunrpc/rpc_clntout.c: Likewise.
9645 * sunrpc/rpc_cmsg.c: Likewise.
9646 * sunrpc/rpc_common.c: Likewise.
9647 * sunrpc/rpc_cout.c: Likewise.
9648 * sunrpc/rpc_dtable.c: Likewise.
9649 * sunrpc/rpc_hout.c: Likewise.
9650 * sunrpc/rpc_main.c: Likewise.
9651 * sunrpc/rpc_parse.c: Likewise.
9652 * sunrpc/rpc_parse.h: Likewise.
9653 * sunrpc/rpc_prot.c: Likewise.
9654 * sunrpc/rpc_sample.c: Likewise.
9655 * sunrpc/rpc_scan.c: Likewise.
9656 * sunrpc/rpc_scan.h: Likewise.
9657 * sunrpc/rpc_svcout.c: Likewise.
9658 * sunrpc/rpc_tblout.c: Likewise.
9659 * sunrpc/rpc_util.c: Likewise.
9660 * sunrpc/rpc_util.h: Likewise.
9661 * sunrpc/rpcinfo.c: Likewise.
9662 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
9663 * sunrpc/rpcsvc/key_prot.x: Likewise.
9664 * sunrpc/rpcsvc/klm_prot.x: Likewise.
9665 * sunrpc/rpcsvc/mount.x: Likewise.
9666 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
9667 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
9668 * sunrpc/rpcsvc/rex.x: Likewise.
9669 * sunrpc/rpcsvc/rstat.x: Likewise.
9670 * sunrpc/rpcsvc/rusers.x: Likewise.
9671 * sunrpc/rpcsvc/sm_inter.x: Likewise.
9672 * sunrpc/rpcsvc/spray.x: Likewise.
9673 * sunrpc/rpcsvc/yppasswd.x: Likewise.
9674 * sunrpc/rtime.c: Likewise.
9675 * sunrpc/svc.c: Likewise.
9676 * sunrpc/svc_auth.c: Likewise.
9677 * sunrpc/svc_authux.c: Likewise.
9678 * sunrpc/svc_raw.c: Likewise.
9679 * sunrpc/svc_run.c: Likewise.
9680 * sunrpc/svc_simple.c: Likewise.
9681 * sunrpc/svc_tcp.c: Likewise.
9682 * sunrpc/svc_udp.c: Likewise.
9683 * sunrpc/svc_unix.c: Likewise.
9684 * sunrpc/svcauth_des.c: Likewise.
9685 * sunrpc/xcrypt.c: Likewise.
9686 * sunrpc/xdr.c: Likewise.
9687 * sunrpc/xdr_array.c: Likewise.
9688 * sunrpc/xdr_float.c: Likewise.
9689 * sunrpc/xdr_mem.c: Likewise.
9690 * sunrpc/xdr_rec.c: Likewise.
9691 * sunrpc/xdr_ref.c: Likewise.
9692 * sunrpc/xdr_sizeof.c: Likewise.
9693 * sunrpc/xdr_stdio.c: Likewise.
9695 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
9698 2010-08-19 Andreas Schwab <schwab@redhat.com>
9700 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
9702 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
9704 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
9705 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
9706 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
9707 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
9708 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
9709 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
9710 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
9711 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
9712 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
9713 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
9714 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
9715 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
9716 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
9717 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
9719 2010-07-26 Anton Blanchard <anton@samba.org>
9721 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
9722 * malloc/arena.c (heap_trim): Likewise.
9724 2010-08-16 Ulrich Drepper <drepper@redhat.com>
9726 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
9728 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
9729 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
9731 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
9733 * sysdeps/i386/elf/Makefile: New file.
9735 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9737 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
9739 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
9740 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9742 2010-08-15 Ulrich Drepper <drepper@redhat.com>
9744 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
9746 * sysdeps/multiarch/strcmp.S: Likewise.
9748 2010-08-14 Ulrich Drepper <drepper@redhat.com>
9750 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9751 strncase_l-nonascii.
9752 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9753 Add strncase_l-ssse3.
9754 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
9755 * sysdeps/x86_64/strcmp.S: Likewise.
9756 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
9757 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
9758 * sysdeps/x86_64/strncase.S: New file.
9759 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
9760 * sysdeps/x86_64/strncase_l.S: New file.
9761 * string/Makefile (strop-tests): Add strncasecmp.
9762 * string/test-strncasecmp.c: New file.
9764 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
9767 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
9768 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
9770 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
9772 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
9774 2010-08-12 Ulrich Drepper <drepper@redhat.com>
9776 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
9777 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
9778 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
9780 2010-05-01 Alan Modra <amodra@gmail.com>
9782 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
9783 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
9784 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
9785 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
9786 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
9787 tidying. Don't tail-call __sigjmp_save for static lib.
9788 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
9790 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
9791 (CALL_MCOUNT): Add eh info, and nop after bl.
9792 (TAIL_CALL_SYSCALL_ERROR): New macro.
9793 (PSEUDO_RET): Use it.
9794 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
9795 Correct save location of integer regs and cr.
9796 (_dl_profile_resolve): Correct cr save location. Delete nops
9797 after bl when SHARED. Reduce cfi size a little by better
9798 placement of cfi directives.
9799 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
9800 make a stack frame. Instead use parm save area as a temp.
9801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
9802 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
9803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9804 Don't make a stack frame for parent, use parm save area.
9805 Increase child stack frame to 112 bytes. Don't save unused reg,
9806 and adjust reg usage. Set up cfi on error recovery and
9807 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
9808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9809 (__makecontext): Add dummy nop after jump to exit.
9810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
9811 Use correct parm save area and cr save, reduce stack frame.
9812 Correct cfi for possible PSEUDO_RET frame setup.
9813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
9814 Branch to local label emitted by PSEUDO_RET rather than
9817 2010-08-12 Andreas Schwab <schwab@redhat.com>
9820 * locale/programs/locale.c (print_assignment): New function.
9821 (show_locale_vars): Use it.
9823 2010-08-11 Ulrich Drepper <drepper@redhat.com>
9825 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
9827 (struct statfs64): Likewise.
9828 (_STATFS_F_FLAGS): Define.
9829 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
9830 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9831 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
9832 (ST_VALID): Define locally.
9833 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
9834 __statvfs_getflags, use the provided value.
9835 * sysdeps/unix/sysv/linux/kernel-features.h: Define
9836 __ASSUME_STATFS_F_FLAGS.
9838 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
9840 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
9842 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
9843 fanotify_mask for GLIBC_2.13.
9844 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
9845 fanotify_init and fanotify_mark.
9846 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9847 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
9849 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
9851 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
9852 prlimit64 for GLIBC_2.13.
9853 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
9855 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
9857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
9858 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
9859 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
9860 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
9861 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
9863 * sysdeps/unix/sysv/linux/prlimit.c: New file.
9866 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
9867 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
9869 * nss/Makefile: Add rules to build and run tst-nss-test1.
9870 * shlib-versions: Add entry for libnss_test1.
9871 * nss/nss_test1.c: New file.
9872 * nss/tst-nss-test1.c: New file.
9874 * nss/nsswitch.c (__nss_database_custom): Define new variable.
9875 (__nss_configure_lookup): Set appropriate entry in
9876 __nss_configure_lookup to true.
9877 * nss/nsswitch.h: Define enum with indeces of databases in
9878 databases and __nss_database_custom arrays. Declare
9879 __nss_database_custom.
9880 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
9881 to avoid using nscd when custom rules are installed.
9882 * nss/getXXbyYY_r.c: Likewise.
9883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9885 * nss/nss_files/files-parse.c: Whitespace fixes.
9887 2010-08-09 Ulrich Drepper <drepper@redhat.com>
9890 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
9891 * posix/fnmatch_loop.c: Likewise.
9893 2010-07-17 Andi Kleen <ak@linux.intel.com>
9895 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
9896 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
9897 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
9898 * Versions.def [GLIBC_2.13]: Add.
9900 2010-08-06 Ulrich Drepper <drepper@redhat.com>
9902 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
9903 Also fail if tpwd after pwuid call is NULL.
9905 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
9907 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
9908 when converting to ms.
9910 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9912 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
9913 EOPNOTSUPP errors with ENOTTY.
9914 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
9915 EOPNOTSUPP errors with ENOTTY.
9917 2010-07-31 Ulrich Drepper <drepper@redhat.com>
9919 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
9920 Add strcasecmp_l-ssse3.
9921 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
9923 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
9924 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
9925 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
9927 2010-07-30 Ulrich Drepper <drepper@redhat.com>
9929 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
9931 * string/Makefile (strop-tests): Add strcasecmp.
9932 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
9933 strcasecmp_l-nonascii.
9934 (gen-as-const-headers): Add locale-defines.sym.
9935 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
9936 * sysdeps/x86_64/strcasecmp.S: New file.
9937 * sysdeps/x86_64/strcasecmp_l.S: New file.
9938 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
9939 * sysdeps/x86_64/locale-defines.sym: New file.
9940 * string/test-strcasecmp.c: New file.
9942 * string/test-strcasestr.c: Test both ends of the range of characters.
9943 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
9945 2010-07-29 Roland McGrath <roland@redhat.com>
9948 * manual/locale.texi (Yes-or-No Questions): Fix example code.
9950 2010-07-27 Ulrich Drepper <drepper@redhat.com>
9952 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
9955 2010-07-27 Andreas Schwab <schwab@redhat.com>
9957 * manual/memory.texi (Malloc Tunable Parameters): Document
9960 2010-07-26 Roland McGrath <roland@redhat.com>
9963 * configure.in (-fgnu89-inline check): Set and substitute
9964 gnu89_inline, not libc_cv_gnu89_inline.
9965 * configure: Regenerated.
9966 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
9968 2010-07-26 Ulrich Drepper <drepper@redhat.com>
9970 * string/test-strnlen.c: New file.
9971 * string/Makefile (strop-tests): Add strnlen.
9972 * string/tester.c (test_strnlen): Add a few more test cases.
9973 * string/tst-strlen.c: Better error reporting.
9975 * sysdeps/x86_64/strnlen.S: New file.
9977 2010-07-24 Ulrich Drepper <drepper@redhat.com>
9979 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
9980 lower-latency instructions.
9982 2010-07-23 Ulrich Drepper <drepper@redhat.com>
9984 * string/test-strcasestr.c: New file.
9985 * string/test-strstr.c: New file.
9986 * string/Makefile (strop-tests): Add strstr and strcasestr.
9987 * string/str-two-way.h: Don't undefine MAX.
9988 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
9990 2010-07-21 Andreas Schwab <schwab@redhat.com>
9992 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9993 strcasestr-nonascii.
9994 (CFLAGS-strcasestr-nonascii.c): Define.
9995 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
9996 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
9997 Remove unused attribute.
9999 2010-07-20 Roland McGrath <roland@redhat.com>
10001 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10002 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10003 ld.so.cache was broken. With it, there is no way to disable dsocaps
10004 like LD_HWCAP_MASK can disable hwcaps.
10006 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10008 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10010 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10012 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10013 call in strcasestr.
10014 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10015 __strcasestr_sse42_nonascii.
10016 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10017 strcasestr-nonascii.c.
10018 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10020 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10022 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10023 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10024 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10025 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10027 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10029 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10032 2010-07-06 Andreas Schwab <schwab@redhat.com>
10035 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10038 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10040 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10041 _PC_PIPE_BUF using F_GETPIPE_SZ.
10043 2010-07-05 Roland McGrath <roland@redhat.com>
10045 * manual/arith.texi (Rounding Functions): Fix rint description
10046 implicit in round description.
10048 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10050 * elf/Makefile: Fix linking for a few tests to make recent linker
10053 2010-06-30 Andreas Schwab <schwab@redhat.com>
10055 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10056 $(common-objpfx)libc_nonshared.a.
10058 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10060 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10061 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10062 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10063 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10064 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10065 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10066 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10067 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10082 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10083 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10084 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10085 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10086 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10087 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10088 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10089 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10090 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10091 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10092 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10093 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10109 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10111 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10112 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10113 * string/memmove.c (memmove): Renamed to ...
10114 (MEMMOVE): ...this. Default to memmove.
10115 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10116 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10119 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10120 mempcpy-ssse3-back memmove-ssse3-back.
10121 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10122 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10123 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
10124 * sysdeps/x86_64/multiarch/memcpy.S: New file.
10125 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
10126 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
10127 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
10128 * sysdeps/x86_64/multiarch/memmove.c: New file.
10129 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
10130 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
10131 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
10132 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
10133 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
10134 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
10136 (index_Fast_Copy_Backward): Define.
10137 (HAS_ARCH_FEATURE): Define.
10138 (HAS_FAST_REP_STRING): Define.
10139 (HAS_FAST_COPY_BACKWARD): Define.
10141 2010-06-21 Andreas Schwab <schwab@redhat.com>
10143 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10144 Restore proper fallback handling.
10146 2010-06-19 Ulrich Drepper <drepper@redhat.com>
10149 * posix/group_member.c (__group_member): Correct checking loop.
10151 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
10152 OOM in getpwuid_r correctly. Return error number when the caller
10153 should return, otherwise -1.
10154 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
10155 call returning > 0 value.
10156 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
10158 2010-06-07 Andreas Schwab <schwab@redhat.com>
10160 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
10161 libc_nonshared.a from targets in modules-names.
10163 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
10165 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
10168 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
10170 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
10171 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
10172 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
10173 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
10175 2010-06-02 Andreas Schwab <schwab@redhat.com>
10177 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
10179 2010-06-14 Ulrich Drepper <drepper@redhat.com>
10181 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
10183 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10184 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10185 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10187 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10188 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
10190 2010-06-14 Roland McGrath <roland@redhat.com>
10192 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
10194 2010-06-07 Jakub Jelinek <jakub@redhat.com>
10196 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
10197 __REDIRECT followed by __THROW.
10198 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
10199 * posix/getopt.h (getopt): Likewise.
10201 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10203 * hurd/lookup-at.c (__file_name_lookup_at): Accept
10204 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
10205 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
10207 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
10208 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
10210 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
10212 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
10214 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
10217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10218 Properly check family and model.
10220 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
10222 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
10224 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
10226 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
10228 2010-05-21 Ulrich Drepper <drepper@redhat.com>
10230 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
10233 2010-05-19 Andreas Schwab <schwab@redhat.com>
10235 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
10238 2010-05-21 Andreas Schwab <schwab@redhat.com>
10240 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
10241 and internal_recvmmsg.
10242 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
10243 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
10244 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
10245 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
10247 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
10248 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10249 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10251 2010-05-20 Andreas Schwab <schwab@redhat.com>
10253 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
10255 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
10257 POWER7 optimizations.
10258 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
10259 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
10261 2010-05-19 Ulrich Drepper <drepper@redhat.com>
10263 * version.h: Update for 2.13 development version.
10265 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
10267 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
10268 exceptions. Return 0.
10270 2010-05-07 Roland McGrath <roland@redhat.com>
10272 * elf/ldconfig.c (main): Add a const.
10274 2010-05-06 Ulrich Drepper <drepper@redhat.com>
10276 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
10277 (args_options): Add no-idn option.
10278 (ahosts_keys_int): Add idn_flags to ai_flags.
10279 (parse_option): Handle 'i' option to clear idn_flags.
10281 * malloc/malloc.c (_int_free): Possible race in the most recently
10282 added check. Only act on the data if no current modification
10285 See ChangeLog.17 for earlier changes.