]> sourceware.org Git - glibc.git/blob - ChangeLog
Comment fixes for mmsghdr
[glibc.git] / ChangeLog
1 2012-03-30 Ulrich Drepper <drepper@gmail.com>
2
3 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4 comments for sendmmsg.
5
6 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7
8 [BZ #13691]
9 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
10 with only 1 character between 0x0041 and 0x01b0.
11 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12 * wcsmbs/tst-mbsnrtowcs.c: New file.
13
14 2012-03-29 David S. Miller <davem@davemloft.net>
15
16 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
17 small copies by hand.
18
19 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20
21 [BZ #13761]
22 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23 _nss_compat_initgroups_dyn): Fall back to malloc/free
24 for large group memberships.
25
26 2012-03-28 David S. Miller <davem@davemloft.net>
27
28 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29 that branches into memcpy.
30 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35 bits.
36 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
37 implementation too.
38 * sysdeps/sparc/mempcpy.S: New file.
39
40 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41 the IFUNC routine in the libc case.
42 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43
44 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
51 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
52
53 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54 loop to 256 bytes instead of 64 bytes and fix test signedness.
55
56 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
57 * sysdeps/sparc/sparc32/Makefile: rather than here...
58 * sysdeps/sparc/sparc64/Makefile: and here.
59
60 2012-03-28 Ulrich Drepper <drepper@gmail.com>
61
62 * malloc/mallocbug.c: Avoid warnings about unused variables.
63
64 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
65
66 [BZ #13760]
67 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68 in the right place. Discard and retry query if response is
69 larger than input buffer size.
70
71 2012-03-28 Joseph Myers <joseph@codesourcery.com>
72
73 [BZ #369]
74 [BZ #2678]
75 [BZ #3866]
76 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
77 x for large integer exponent.
78 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
80 sign of result as needed afterwards.
81 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
82 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
83 result for underflowing pow the same as for overflow.
84 (__kernel_standard_l): Handle powl overflow and underflow here
85 rather than calling __kernel_standard.
86 * math/libm-test.inc (pow_test): Add more tests.
87
88 [BZ #3868]
89 [BZ #13879]
90 [BZ #13910]
91 [BZ #13911]
92 [BZ #13912]
93 [BZ #13913]
94 [BZ #13915]
95 [BZ #13916]
96 [BZ #13917]
97 [BZ #13918]
98 [BZ #13919]
99 [BZ #13920]
100 [BZ #13921]
101 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
102 * sysdeps/ieee754/k_standard.c: Include <float.h>.
103 (__kernel_standard_l): New function.
104 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
105 __kernel_standard.
106 * math/w_acosl.c (__acosl): Likewise.
107 * math/w_asinl.c (__asinl): Likewise.
108 * math/w_atan2l.c (__atan2l): Likewise.
109 * math/w_atanhl.c (__atanhl): Likewise.
110 * math/w_coshl.c (__coshl): Likewise.
111 * math/w_exp10l.c (__exp10l): Likewise.
112 * math/w_exp2l.c (__exp2l): Likewise.
113 * math/w_fmodl.c (__fmodl): Likewise.
114 * math/w_hypotl.c (__hypotl): Likewise.
115 * math/w_j0l.c (__j0l, __y0l): Likewise.
116 * math/w_j1l.c (__j1l, __y1l): Likewise.
117 * math/w_jnl.c (__jnl, __ynl): Likewise.
118 * math/w_lgammal.c (__lgammal): Likewise.
119 * math/w_log10l.c (__log10l): Likewise.
120 * math/w_log2l.c (__log2l): Likewise.
121 * math/w_logl.c (__logl): Likewise.
122 * math/w_powl.c (__powl): Likewise.
123 * math/w_remainderl.c (__remainderl): Likewise.
124 * math/w_scalbl.c (sysv_scalbl): Likewise.
125 * math/w_sinhl.c (__sinhl): Likewise.
126 * math/w_sqrtl.c (__sqrtl): Likewise.
127 * math/w_tgammal.c (__tgammal): Likewise.
128 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
129 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
130 * math/libm-test.inc (acos_test): Add more tests.
131 (acosh_test): Likewise.
132 (asin_test): Likewise.
133 (atanh_test): Likewise.
134 (exp_test): Likewise.
135 (exp10_test): Likewise.
136 (exp2_test): Likewise.
137 (expm1_test): Likewise.
138 (lgamma_test): Likewise.
139 (log_test): Likewise.
140 (log10_test): Likewise.
141 (log1p_test): Likewise.
142 (log2_test): Likewise.
143 (pow_test): Do not allow some spurious overflow exceptions.
144 (sqrt_test): Add more tests.
145 (tgamma_test): Likewise.
146 (y0_test): Likewise.
147 (y1_test): Likewise.
148 (yn_test): Likewise.
149
150 2012-03-27 Anton Blanchard <anton@samba.org>
151
152 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
153 MAP_HUGETLB.
154 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
155 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
156 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
157
158 2012-03-27 David S. Miller <davem@davemloft.net>
159
160 * conform/Makefile: Run run-conformtest.sh using $(BASH).
161
162 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
163 have-as-vis3 check.
164
165 2012-03-27 Andreas Jaeger <aj@suse.de>
166
167 * sysdeps/x86_64/elf/configure.in: Moved to ...
168 * sysdeps/x86_64/configure.in: ... here.
169 * sysdeps/x86_64/elf/start.S: Moved to ...
170 * sysdeps/x86_64/start.S: ... here.
171 * sysdeps/x86_64/elf/configure: Delete.
172
173 * sysdeps/x86_64/configure.in: Merge contents from
174 sysdeps/i386/configure.in (without i686 check).
175
176 * sysdeps/i386/elf/Versions: Merge into ...
177 * sysdeps/i386/Versions: ... this.
178 * sysdeps/i386/elf/Versions: Delete file.
179 * sysdeps/i386/elf/start.S: Moved to ...
180 * sysdeps/i386/start.S: ...here.
181 * sysdeps/i386/elf/configure.in: Merge into...
182 * sysdeps/i386/configure.in: ...here.
183 * sysdeps/i386/elf/configure.in: Delete file.
184 * sysdeps/i386/elf/configure: Delete file.
185
186 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
187 * debug/backtracesyms.c: ... here.
188 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
189 * debug/backtracesymsfd.c: ... here.
190 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
191 * sysdeps/generic/ifunc-sel.h: ... here.
192
193 * sysdeps/unix/i386/start.c: Delete file.
194 * sysdeps/unix/sparc/start.c: Delete file.
195 * sysdeps/unix/start.c: Delete file.
196
197 * sysdeps/sh/elf/configure.in: Moved to ...
198 * sysdeps/sh/configure.in: ... here.
199 * sysdeps/sh/elf/start.S: Moved to ...
200 * sysdeps/sh/start.S: ... here.
201 * sysdeps/sh/elf/configure: Delete file.
202
203 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
204 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
205 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
206 * sysdeps/powerpc/powerpc64/entry.h: ... here.
207 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
208 * sysdeps/powerpc/powerpc64/start.S: here.
209 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
210 * sysdeps/powerpc/powerpc64/Makefile: ... this.
211 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
212 * sysdeps/powerpc/powerpc64/configure.in: ... this.
213 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
214
215 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
216 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
217 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
218 * sysdeps/powerpc/powerpc32/start.S: ... here.
219 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
220 * sysdeps/powerpc/powerpc32/configure.in: ... this.
221 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
222
223 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
224 * sysdeps/powerpc/ifunc-sel.h: ... here.
225 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
226 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
227
228 * sysdeps/sparc/elf/configure.in: Moved to ...
229 * sysdeps/sparc/configure.in: ... here.
230 * sysdeps/sparc/elf/configure: Delete file.
231 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
232 * sysdeps/sparc/sparc32/start.S: ... here.
233 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
234 * sysdeps/sparc/sparc64/start.S: ... here.
235 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
236 * sysdeps/sparc/sparc32/Makefile: ... this.
237 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
238 * sysdeps/sparc/sparc64/Makefile: ... this.
239
240 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
241 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
242 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
243 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
244 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
245 * sysdeps/s390/s390-32/setjmp.S: ... here.
246 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
247 * sysdeps/s390/s390-32/configure.in: ... here.
248 * sysdeps/s390/s390-32/elf/configure: Delete file.
249 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
250 * sysdeps/s390/s390-32/start.S: ... here.
251
252 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
253 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
254 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
255 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
256 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
257 * sysdeps/s390/s390-64/setjmp.S: ... here.
258 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
259 * sysdeps/s390/s390-64/configure.in: ... here
260 * sysdeps/s390/s390-64/elf/configure: Delete file.
261 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
262 * sysdeps/s390/s390-64/start.S: ... here.
263 * sysdeps/s390/s390-64/elf/configure: Delete.
264
265 * configure.in: Remove support for elf directories in sysdeps.
266
267 * configure: Regenerated.
268 * sysdeps/i386/configure: Regenerated.
269 * sysdeps/powerpc/powerpc32/configure: Regenerated.
270 * sysdeps/powerpc/powerpc64/configure: Regenerated.
271 * sysdeps/s390/s390-32/configure: Regenerated.
272 * sysdeps/s390/s390-64/configure: Regenerated.
273 * sysdeps/sh/configure: Regenerated.
274 * sysdeps/sparc/configure: Regenerated.
275 * sysdeps/x86_64/configure: Regenerated.
276
277 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
278
279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
280
281 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
282 denormal result into account.
283
284 2012-03-25 Roland McGrath <roland@hack.frob.com>
285
286 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
287 Reported by Allan McRae <allan@archlinux.org>.
288
289 2012-03-23 Jeff Law <law@redhat.com>
290
291 * nss/getnssent.c (__nss_getent): Fix typo.
292
293 2012-03-23 David S. Miller <davem@davemloft.net>
294
295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
296
297 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
298
299 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
300 to pad to uint64_t for each field.
301 (dl_tls_index): Replace unsigned long with uint64_t.
302
303 2012-03-23 Daniel Jacobowitz <dmj@google.com>
304 Paul Pluzhnikov <ppluzhnikov@google.com>
305
306 [BZ #6528]
307 * grp/Makefile (otherlibs): Don't set it.
308 * inet/Makefile (otherlibs): Likewise.
309 * login/Makefile (otherlibs): Likewise.
310 * nscd/Makefile (otherlibs): Likewise.
311 * posix/Makefile (otherlibs): Likewise.
312 * pwd/Makefile (otherlibs): Likewise.
313 * rt/Makefile (otherlibs): Likewise.
314 * sunrpc/Makefile (otherlibs): Likewise.
315 * nss/Makefile (otherlibs): Likewise.
316 Add libnss_files to routines and static-only-routines.
317 ($(objpfx)getent): Remove rule.
318 * resolv/Makefile: Add libnss_dns and libresolv to routines and
319 static-only-routines.
320
321 2012-03-22 Joseph Myers <joseph@codesourcery.com>
322
323 [BZ #13892]
324 * math/s_cexp.c: Include <float.h>.
325 (__cexp): Handle exp result overflowing not necessarily
326 overflowing both real and imaginary parts of result.
327 * math/s_cexpf.c: Likewise.
328 * math/s_cexpl.c: Likewise.
329 * math/libm-test.inc (cexp_test): Add more tests.
330 * sysdeps/i386/fpu/libm-test-ulps: Update.
331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
332
333 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
334
335 * include/link.h (ELFW): New macro.
336 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
337 Replace ELF64_R_TYPE with ELFW(R_TYPE).
338
339 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
340
341 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
342 with uint64_t.
343
344 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
345
346 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
347 declaration.
348 (struct La_x32_retval): Likewise.
349
350 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
351
352 * sysdeps/x86_64/preconfigure.in: New file.
353 * sysdeps/x86_64/preconfigure: New generated file.
354
355 2012-03-22 Joseph Myers <joseph@codesourcery.com>
356
357 [BZ #13824]
358 * math/e_exp2l.c: Include <float.h>.
359 (__ieee754_exp2l): Handle overflow and underflow cases
360 separately. Only pass fractional part of argument to
361 __ieee754_expl.
362 * math/libm-test.inc (exp2_test): Add more tests.
363
364 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
365 negating x to take absolute value.
366 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
367 Likewise.
368 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
369 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
370 Likewise.
371 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
372 computing low part if x was negated.
373 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
374
375 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
376
377 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
378 la_x32_gnu_pltexit.
379 (pltexit): Cast int_retval to ptrdiff_t.
380 * elf/tst-auditmod3b.c: Likewise.
381 * elf/tst-auditmod4b.c: Likewise.
382 * elf/tst-auditmod5b.c: Likewise.
383 * elf/tst-auditmod6b.c: Likewise.
384 * elf/tst-auditmod6c.c: Likewise.
385 * elf/tst-auditmod7b.c: Likewise.
386
387 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
388 and x32_gnu_pltexit.
389
390 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
391 __ELF_NATIVE_CLASS.
392 (La_x32_regs): New macro.
393 (La_x32_retval): Likewise.
394 (la_x32_gnu_pltenter): New function prototype.
395 (la_x32_gnu_pltexit): Likewise.
396
397 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
398
399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
400 exponent.
401
402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
403
404 * configure.in (libc_cv_cc_nofma): Check for option to disable
405 generation of FMA instructions.
406 * configure: Regenerate.
407 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
408 * sysdeps/ieee754/dbl-64/Makefile: New file.
409 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
410 Remove brandred-fma4.
411 (CFLAGS-brandred-fma4.c): Remove.
412 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
413 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
414 define.
415 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
416 define.
417
418 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
419
420 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
421 LLONG_MAX != LONG_MAX.
422 (_itoa_word): Use _ITOA_WORD_TYPE on value.
423 (_fitoa_word): Likewise.
424 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
425 LLONG_MAX != LONG_MAX.
426 * stdio-common/_itowa.h: Include <_itoa.h>.
427 (_itowa_word): Use _ITOA_WORD_TYPE on value.
428 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
429 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
430 only if not defined.
431 (_ITOA_WORD_TYPE): Likewise.
432 (_itoa_word): Use _ITOA_WORD_TYPE on value.
433 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
434
435 2012-03-21 David S. Miller <davem@davemloft.net>
436
437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
438
439 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
440
441 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
442 of x86_64 when setting libc_cv_slibdir, libdir and
443 libc_cv_localedir.
444 * sysdeps/unix/sysv/linux/configure: Regenerated.
445
446 2012-03-21 Joseph Myers <joseph@codesourcery.com>
447
448 * manual/lang.texi (Old Varargs): Remove section.
449 (How Variadic): Update menu.
450 (va_start): Do not mention varargs.h.
451
452 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
453 Joseph Myers <joseph@codesourcery.com>
454
455 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
456 link test.
457 * configure: Regenerated.
458
459 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
460
461 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
462 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
463 conformtest.pl
464
465 2012-03-21 Joseph Myers <joseph@codesourcery.com>
466
467 * NOTES: Remove.
468 * Makefile (files-for-dist): Remove NOTES.
469 (NOTES): Remove rule.
470 * README: Don't refer to NOTES.
471 * manual/creature.texi: Don't include macros.texi.
472 * manual/intro.texi (creature.texi): Remove comment referring to
473 NOTES.
474
475 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
476 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
477 * configure: Regenerated.
478 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
479 LIBC_TRY_CC_OPTION.
480 (libc_cv_as_i686): Likewise.
481 (libc_cv_cc_avx): Likewise.
482 (libc_cv_cc_sse2avx): Likewise.
483 (libc_cv_cc_fma4): Likewise.
484 (libc_cv_cc_novzeroupper): Likewise.
485 * sysdeps/i386/configure: Regenerated.
486
487 [BZ #13883]
488 * sysdeps/i386/fpu/s_cexp.S: Remove.
489 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
490 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
491 * math/libm-test.inc (cexp_test): Add more tests.
492 * sysdeps/i386/fpu/libm-test-ulps: Update.
493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
494
495 2012-03-21 Allan McRae <allan@archlinux.org>
496
497 * timezone/Makefile: Do not install iso3166.tab and zone.tab
498
499 2012-03-21 Joseph Myers <joseph@codesourcery.com>
500
501 [BZ #13871]
502 * math/w_exp2.c: Do not include <float.h>.
503 (o_threshold, u_threshold): Remove.
504 (__exp2): Calculate result before checking finiteness and calling
505 __kernel_standard.
506 * math/w_exp2f.c: Likewise.
507 * math/w_exp2l.c: Likewise.
508 * math/libm-test.inc (exp2_test): Require overflow exception for
509 1e6 input.
510
511 [BZ #3866]
512 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
513 range of signed 64-bit integers before using fistpll. Remove
514 checks for whether integers fit in mantissa bits.
515 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
516 the range of signed 32-bit integers before using fistpl. Remove
517 checks for whether integers fit in mantissa bits.
518 * sysdeps/i386/fpu/e_powl.S (p64): New object.
519 (__ieee754_powl): Test for y outside the range of signed 64-bit
520 integers before using fistpll. Reduce 64-bit values to 63-bit
521 ones as needed.
522 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
523 divide-by-zero is raised for zero to large negative powers.
524 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
525 (__ieee754_powl): Test for y outside the range of signed 64-bit
526 integers before using fistpll. Reduce 64-bit values to 63-bit
527 ones as needed.
528 * math/libm-test.inc (pow_test): Add more tests.
529
530 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
531
532 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
533 <stdio-common/_itoa.h>.
534 * debug/segfault.c: Likewise.
535 * elf/dl-cache.c: Likewise.
536 * elf/dl-minimal.c: Likewise.
537 * elf/dl-misc.c: Likewise.
538 * elf/dl-sysdep.c: Likewise.
539 * elf/dl-version.c: Likewise.
540 * elf/rtld.c: Likewise.
541 * hurd/hurdsock.c: Likewise.
542 * hurd/lookup-retry.c: Likewise.
543 * malloc/malloc.c: Likewise.
544 * malloc/mtrace.c: Likewise.
545 * nscd/nscd_getgr_r.c: Likewise.
546 * nscd/nscd_getpw_r.c: Likewise.
547 * nscd/nscd_getserv_r.c: Likewise.
548 * posix/getopt_init.c: Likewise.
549 * posix/wordexp.c: Likewise.
550 * stdio-common/_itoa.c: Likewise.
551 * stdio-common/printf_fphex.c: Likewise.
552 * stdio-common/vfprintf.c: Likewise.
553 * string/_strerror.c: Likewise.
554 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
555 * sysdeps/i386/i686/hp-timing.h: Likewise.
556 * sysdeps/mach/_strerror.c: Likewise.
557 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
558 * sysdeps/mach/hurd/sethostid.c: Likewise.
559 * sysdeps/mach/hurd/xmknodat.c: Likewise.
560 * sysdeps/mach/xpg-strerror.c: Likewise.
561 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
562 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
563 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
564 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
565 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
566 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
567 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
568 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
569 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
570 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
571 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
572 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
573 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
574 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
575 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
576 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
577 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
578 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
579 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
580 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
581 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
582
583 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
584
585 * stdio-common/_itoa.h: Moved to ...
586 * sysdeps/generic/_itoa.h: Here.
587
588 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
589
590 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
591 instead of "_itoa.h" and "_itowa.h".
592 * stdio-common/vfprintf.: Likewise.
593
594 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
595
596 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
597 <bits/wordsize.h>.
598 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
599 (__signbit): Likwise.
600 (llrintf): Likwise.
601 (llrint): Likwise.
602
603 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
604
605 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
606 __WORDSIZE != 64.
607
608 2012-03-20 Joseph Myers <joseph@codesourcery.com>
609
610 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
611 OVERFLOW_EXCEPTION_OK.
612 * math/libm-test.inc ("Philosophy"): Update comment about
613 exception testing.
614 (OVERFLOW_EXCEPTION): Define.
615 (OVERFLOW_EXCEPTION_OK): Likewise.
616 (INVALID_EXCEPTION_OK): Renumber.
617 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
618 (IGNORE_ZERO_INF_SIGN): Likewise.
619 (test_exceptions): Handle FE_OVERFLOW.
620 (exp10_test): Expect overflow exceptions.
621 (exp2_test): Likewise.
622 (expm1_test): Likewise.
623 (nextafter_test): Likewise.
624 (pow_test): Likewise.
625 (scalbn_test): Likewise.
626 (scalbln_test): Likewise.
627
628 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
629
630 * sysdeps/x86_64/bits/atomic.h
631 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
632 64bit integer.
633 (atomic_exchange_acq): Likewise.
634 (__arch_exchange_and_add_body): Likewise.
635 (__arch_add_body): Likewise.
636 (atomic_add_negative): Likewise.
637 (atomic_add_zero): Likewise.
638
639 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
640
641 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
642 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
643
644 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
645
646 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
647 Check __x86_64__ instead of __WORDSIZE.
648
649 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
650
651 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
652
653 2012-03-19 David S. Miller <davem@davemloft.net>
654
655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
656
657 * sysdeps/sparc/fpu/fenv_private.h: New file.
658 * sysdeps/sparc/fpu/math_private.h: Use it.
659 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
660 Remove.
661 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
662 (libc_feholdexcept_setroundl): Remove.
663 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
664 Remove.
665 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
666 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
667
668 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
669
670 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
671 int64_t instead of long int.
672 (INSERT_WORDS64): Likwise.
673
674 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
675
676 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
677 _Unwind_GetCFA return to _Unwind_Ptr first.
678
679 2012-03-19 Joseph Myers <joseph@codesourcery.com>
680
681 [BZ #13629]
682 * math/s_clog.c: Include <float.h>.
683 (__clog): Scale large or subnormal inputs.
684 * math/s_clogf.c: Likewise.
685 * math/s_clogl.c: Likewise.
686 * math/s_clog10.c: Include <float.h>.
687 (M_LOG10_2): Define.
688 (__clog10): Scale large or subnormal inputs.
689 * math/s_clog10f.c: Likewise.
690 * math/s_clog10l.c: Likewise.
691 * math/libm-test.inc (clog_test): Add more tests.
692 (clog10_test): Likewise.
693 * sysdeps/i386/fpu/libm-test-ulps: Update.
694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
695
696 [BZ #11451]
697 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
698 x and y.
699 * math/libm-test.inc (atan2_test): Add another test.
700
701 * Makerules (common-objdir-compile): Remove.
702 * sysdeps/unix/Makefile (config-generated): Do not add
703 $(unix-generated) to variable.
704 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
705 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
706 Remove rule.
707 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
708 Likewise.
709 [generic bits/local_lim.h] (before-compile): Do not append to
710 variable.
711 [generic bits/local_lim.h] (common-generated): Likewise.
712 [generic sys/param.h] (before-compile): Do not append to variable.
713 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
714 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
715 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
716 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
717 include.
718 [generic sys/param.h] (sys/param.h-includes): Remove variable.
719 [generic sys/param.h] (sys/param.h-includes): Remove rule.
720 [generic sys/param.h] ($(addprefix
721 $(common-objpfx),$(sys/param.h-includes))): Likewise.
722 [generic sys/param.h] (common-generated): Do not append to
723 variable.
724 [generic sys/param.h] (sysdep_headers): Likewise.
725 [generic bits/errno.h] (before-compile): Do not append to
726 variable.
727 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
728 rule.
729 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
730 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
731 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
732 [generic bits/errno.h] (common-generated): Do not append to
733 variable.
734 [generic bits/ioctls.h] (before-compile): Do not append to
735 variable.
736 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
737 rule.
738 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
739 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
740 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
741 rule.
742 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
743 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
744 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
745 [generic bits/ioctls.h] (common-generated): Do not append to
746 variable.
747 [generic sys/syscall.h] (syscall.h): Remove variable.
748 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
749 rule.
750 [generic sys/syscall.h] (before-compile): Do not append to
751 variable.
752 [generic sys/syscall.h] (common-generated): Likewise.
753 * sysdeps/unix/errnos-tmpl.c: Remove file.
754 * sysdeps/unix/errnos.awk: Likewise.
755 * sysdeps/unix/ioctls-tmpl.c: Likewise.
756 * sysdeps/unix/ioctls.awk: Likewise.
757 * sysdeps/unix/mk-local_lim.c: Likewise.
758 * sysdeps/unix/snarf-ioctls: Likewise.
759
760 2012-03-19 Richard Henderson <rth@twiddle.net>
761
762 * sysdeps/i386/fpu/fenv_private.h: New file.
763 * sysdeps/i386/fpu/math_private.h: Use it.
764 (math_opt_barrier, math_force_eval): Remove.
765 (libc_feholdexcept_setround_53bit): Remove.
766 (libc_feupdateenv_53bit): Remove.
767 * sysdeps/x86_64/fpu/math_private.h: Likewise.
768 (math_opt_barrier, math_force_eval): Remove.
769 (libc_feholdexcept): Remove.
770 (libc_feholdexcept_setround): Remove.
771 (libc_fetestexcept, libc_fesetenv): Remove.
772 (libc_feupdateenv_test): Remove.
773 (libc_feupdateenv, libc_feholdsetround): Remove.
774 (libc_feresetround): Remove.
775
776 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
777 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
778
779 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
780 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
781 (libc_feupdateenv_testl): New.
782 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
783 (libc_feupdateenv_testf): New.
784 (libc_feupdateenv): Use libc_feupdateenv_test.
785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
787
788 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
789 (libc_feholdsetroundf, libc_feholdsetroundl): New.
790 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
791 (libc_feresetround_noex): New.
792 (libc_feresetround_noexf): New.
793 (libc_feresetround_noexl): New.
794 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
795 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
796 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
797 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
798 SET_RESTORE_ROUND.
799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
800 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
801 (__cos): Likewise.
802 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
803 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
804 SET_RESTORE_ROUND_NOEX.
805 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
806 SET_RESTORE_ROUND_NOEXF.
807 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
808 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
809 (libc_feholdsetroundf): New.
810 (libc_feresetround, libc_feresetroundf): New.
811
812 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
813 (libc_feholdexcept_setround_53bit): Convert from macro to function.
814 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
815
816 * sysdeps/generic/math_private.h: Include <fenv.h>.
817 (default_libc_feholdexcept): New.
818 (default_libc_feholdexcept_setround): New.
819 (default_libc_fesetenv, default_libc_feupdateenv): New.
820 (libc_feholdexcept): Only define if undefined.
821 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
822 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
823 (libc_feholdexcept_setroundl): Likewise.
824 (libc_feholdexcept_setround_53bit): Likewise.
825 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
826 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
827 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
828 (libc_feupdateenv_53bit): Likewise.
829 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
830 (libc_feholdexcept): Convert from macro to inline function.
831 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
832 (libc_fesetenv, libc_feupdateenv): Likewise.
833
834 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
835 not previously defined.
836 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
837 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
838 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
839 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
840 * sysdeps/ieee754/flt-32/math_private.h: New file.
841 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
842 math_private.h below SET_FLOAT_WORD.
843 (__isnan, __isinf_ns, __finite): Remove.
844 (__isnanf, __isinf_nsf, __finitef): Remove.
845
846 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
847
848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
849
850 2012-03-17 David S. Miller <davem@davemloft.net>
851
852 [BZ #6471]
853 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
854 for 2.16.
855
856 2012-03-16 David S. Miller <davem@davemloft.net>
857
858 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
859 warnings.
860
861 [BZ #6471]
862 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
863 properly.
864 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
865 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
866 sysdep_routines when subdir is sysvipc.
867 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
868 __getshmlba helper.
869
870 * sysdeps/sparc/fpu/libm-test/ulps: Update.
871
872 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
873
874 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
875 [__LP64__].
876
877 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
878
879 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
880 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
881 (__lround): Renamed to ...
882 (__llround): This. Replace long int with long long int.
883 Define lround functions as aliases of llround functions.
884 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
885
886 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
887
888 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
889 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
890 adresses to uintptr_t. Replace "long int" and "unsigned long
891 int" with "greg_t" on va_arg.
892
893 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
894
895 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
896 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
897
898 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
899 Move e_machine check before EI_CLASS check. Handle x32
900 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
901 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
902 SKIP_EM_IA_64 and include
903 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
904
905 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
906 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
907 (add_system_dir): New macro.
908
909 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
910 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
911
912 2012-03-16 Joseph Myers <joseph@codesourcery.com>
913
914 [BZ #2551]
915 [BZ #2552]
916 [BZ #2553]
917 [BZ #2554]
918 [BZ #2562]
919 [BZ #2563]
920 [BZ #2565]
921 [BZ #2566]
922 [BZ #2576]
923 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
924 (y0): Likewise.
925 * math/w_j0f.c (j0f): Likewise.
926 (y0f): Likewise.
927 * math/w_j0l.c (__j0l): Likewise.
928 (__y0l): Likewise.
929 * math/w_j1.c (j1): Likewise.
930 (y1): Likewise.
931 * math/w_j1f.c (j1f): Likewise.
932 (y1f): Likewise.
933 * math/w_j1l.c (__j1l): Likewise.
934 (__y1l): Likewise.
935 * math/w_jn.c (jn): Likewise.
936 (yn): Likewise.
937 * math/w_jnf.c (jnf): Likewise.
938 (ynf): Likewise.
939 * math/w_jnl.c (__jnl): Likewise.
940 (__ynl): Likewise.
941 * math/libm-test.inc (j0_test): Add more tests.
942 (j1_test): Likewise.
943 (jn_test): Likewise. Add trailing semicolon to existing test.
944 (y0_test): Likewise.
945 (y1_test): Likewise.
946 * sysdeps/i386/fpu/libm-test-ulps: Update.
947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
948
949 [BZ #13851]
950 [BZ #13854]
951 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
952 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
953 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
954 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
955 (__tanl): Set errno for infinite argument.
956 * sysdeps/i386/fpu/mptan.c: Remove.
957 * sysdeps/i386/fpu/s_tan.S: Likewise.
958 * sysdeps/i386/fpu/s_tanl.S: Likewise.
959 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
960 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
961 * math/libm-test.inc (tan_test): Add more tests and enable more
962 tests for double and long double.
963 * sysdeps/i386/fpu/libm-test-ulps: Update.
964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
965
966 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
967
968 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
969 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
970
971 2012-03-16 Roland McGrath <roland@hack.frob.com>
972
973 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
974 * configure.in: Use it for both main tree and add-ons.
975 * configure: Regenerated.
976
977 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
978
979 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
980
981 2012-03-16 Joseph Myers <joseph@codesourcery.com>
982
983 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
984 in comment.
985
986 [BZ #13851]
987 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
988 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
989 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
990 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
991 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
992 infinite argument.
993 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
995 != 0 for prec == 2.
996 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
997 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
998 * sysdeps/i386/fpu/s_cosl.S: Likewise.
999 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1000 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1001 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1002 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1003 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1004 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1005 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1006 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1007 * math/libm-test.inc (cos_test): Add more tests and enable more
1008 tests for long double.
1009 (sin_test): Likewise.
1010 (sincos_test): Likewise.
1011 * sysdeps/i386/fpu/libm-test-ulps: Update.
1012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1013
1014 2012-03-16 David S. Miller <davem@davemloft.net>
1015
1016 * sysdeps/sparc/fpu/math_private.h: New file.
1017
1018 2012-03-15 David S. Miller <davem@davemloft.net>
1019
1020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1021 file.
1022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1024 file.
1025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1030 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1031 sysdep routines.
1032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1033
1034 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1035 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1036
1037 * sysdeps/sparc/sparc-ifunc.h: New file.
1038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1039 sparc-ifunc.h
1040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1042 Likewise.
1043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1044 Likewise.
1045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1049 Likewise.
1050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1055 Likewise.
1056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1057 Likewise.
1058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1064 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1067 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1080 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1081 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1082
1083 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1084
1085 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1086 scaling.
1087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1088
1089 2012-03-15 Andreas Jaeger <aj@suse.de>
1090
1091 [BZ #13852]
1092 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1093 ieee754/flt-32 implementation for sin, cos and sincos.
1094 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1095 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1096 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1097 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1098 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1099 ieee754/flt-32 implementation for tan.
1100
1101 * math/libm-test.inc (cos_test): Enable some large input tests for
1102 float as well
1103 (sin_test): Likewise.
1104 (sincos_test): Likewise.
1105 (tan_test): Add tests for large input.
1106
1107 * sysdeps/i386/fpu/libm-test-ulps: Update.
1108
1109 2012-03-15 Andreas Jaeger <aj@suse.de>
1110
1111 [BZ #13658]
1112 * math/libm-test.inc (cos_test): Add more test cases.
1113 (sin_test): Likewise.
1114 (sincos_test): Likewise.
1115
1116 2012-03-15 Andreas Jaeger <aj@suse.de>
1117
1118 [BZ #13837]
1119 * math/libm-test.inc (cos_test): Add a test case for large input
1120 value.
1121 (sin_test): Likewise.
1122 (sincos_test): Likewise.
1123
1124 2012-03-15 Andreas Jaeger <aj@suse.de>,
1125 Joseph Myers <joseph@codesourcery.com>
1126
1127 [BZ #13658]
1128 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1129 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1130 * sysdeps/i386/fpu/branred.c: Likewise.
1131 * sysdeps/i386/fpu/dosincos.c: Likewise.
1132 * sysdeps/i386/fpu/mpa.c: Likewise.
1133 * sysdeps/i386/fpu/s_cos.S: Likewise.
1134 * sysdeps/i386/fpu/s_sin.S: Likewise.
1135 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1136 * sysdeps/i386/fpu/sincos32.c: Likewise.
1137
1138 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1139 Define.
1140 (libc_feupdateenv_53bit): Define.
1141 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1142 Define.
1143 (libc_feupdateenv_53bit): Define.
1144
1145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1146 53 bit (without extend i386 double precision).
1147
1148 * math/libm-test.inc (sincos_test): Add tests for large input.
1149 (sin): Likewise.
1150 (cos): Likewise.
1151
1152 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1153
1154 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1155
1156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1157
1158 2012-03-15 David S. Miller <davem@davemloft.net>
1159
1160 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1161 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1162 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1163 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1176 file.
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1179 file.
1180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1182 file.
1183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1185 file.
1186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1188 fmin/fmax sysdep routines.
1189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1190
1191 2012-03-14 David S. Miller <davem@davemloft.net>
1192
1193 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1194 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1195 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1197 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1198 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1199 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1201 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1214 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1215 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1217 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1218 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1219 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1222 routines.
1223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1224 file.
1225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1227 file.
1228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1230 file.
1231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1233 file.
1234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1236 file.
1237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1239 file.
1240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1241 file.
1242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1243 file.
1244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1245 file.
1246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1247 New file.
1248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1249 file.
1250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1251 file.
1252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1254 file.
1255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1257 file.
1258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1260 file.
1261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1263 VIS3 routines.
1264
1265 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1266 New file.
1267
1268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1269
1270 * sysdeps/sparc/configure.in: New file.
1271 * sysdeps/sparc/configure: Generate.
1272 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1273 * configure: Regenerate.
1274 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1275 * config.make.in (have-as-vis3): New.
1276 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1277 available use -Av9d instead of -Av9a.
1278 * sysdeps/sparc/sparc64/Makefile: Likewise.
1279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1281 New file.
1282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1283 file.
1284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1285 New file.
1286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1287 file.
1288 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1289 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1290 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1291 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1293
1294 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1295 fzeros/fnegs to load 0x80000000 into a float register instead of
1296 using the stack.
1297 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1298
1299 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1300
1301 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1302 bits/syscall.h.
1303 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1304 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1305 ($(inst_includedir)/bits/syscall.h): Remove rule.
1306 ($(objpfx)bits/syscall.d): Include instead of
1307 $(objpfx)syscall-list.d.
1308 (generated): Change syscall-list.h and syscall-list.d to
1309 bits/syscall.h and bits/syscall.d.
1310
1311 2012-03-14 Roland McGrath <roland@hack.frob.com>
1312
1313 [BZ #13846]
1314 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1315
1316 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1317
1318 [BZ #13841]
1319 * math/s_csqrt.c: Include <float.h>.
1320 (__csqrt): Scale large or subnormal inputs.
1321 * math/s_csqrtf.c: Likewise.
1322 * math/s_csqrtl.c: Likewise.
1323 * math/libm-test.inc (csqrt_test): Add more tests.
1324 * sysdeps/i386/fpu/libm-test-ulps: Update.
1325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1326
1327 [BZ #13840]
1328 * math/libm-test.inc (hypot_test): Add more tests.
1329
1330 2012-03-13 David S. Miller <davem@davemloft.net>
1331
1332 [BZ #13840]
1333 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1334 double-precision for the calculation instead of scaling.
1335
1336 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1337
1338 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1339 manipulate bits before adding and subtracting TWO52[sx].
1340 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1341 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1342 Likewise.
1343 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1344
1345 2012-03-13 David S. Miller <davem@davemloft.net>
1346
1347 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1348 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1350 rtld-global-offsets.h
1351 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1352
1353 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1354 large parameters.
1355
1356 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1357
1358 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1359 'err' in the ifdef scope in which it is actually used.
1360
1361 * nss/nss_db/db-init.c: Include string.h
1362
1363 2012-03-12 David S. Miller <davem@davemloft.net>
1364
1365 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1366 masking out of the most significant byte of random value used.
1367 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1368 Fix coding style in previous change.
1369
1370 * sysdeps/unix/sysv/linux/kernel-features.h
1371 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1372 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1373 expression.
1374 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1375 later.
1376
1377 2012-03-11 David S. Miller <davem@davemloft.net>
1378
1379 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1380 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1381 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1382 for 'resultvar' otherwise things get truncated on 64-bit.
1383
1384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1385 Fix masking out of the most significant byte of random value used.
1386
1387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1388
1389 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1390
1391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1392
1393 2012-03-09 David S. Miller <davem@davemloft.net>
1394
1395 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1396 variables with appropriate CPP guards.
1397 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1398 frame pointer, not the stack pointer. Correct layout comments. Fix test
1399 on resulting framesize and the management of the outregs buffer for pltexit.
1400 Preserve floating point return values across _dl_call_pltexit call.
1401 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1402 framesize and the management of the outregs buffer for pltexit.
1403 Preserve floating point return values across _dl_call_pltexit
1404 call.
1405 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1406 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1407 (print_exit): Fix format string for return register value.
1408
1409 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1410
1411 * sunrpc/Makefile (others): Add rpcgen.
1412 ($(objpfx)rpcgen): Remove special build rule and dependency on
1413 libc.
1414 * sunrpc/rpcgen.c: New file.
1415
1416 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1417
1418 [BZ #13673]
1419 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1420 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1421 * sysdeps/i386/crti.S: Likewise.
1422 * sysdeps/i386/crtn.S: Likewise.
1423 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1424 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1425 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1426 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1427 * sysdeps/sh/crti.S: Likewise.
1428 * sysdeps/sh/crtn.S: Likewise.
1429 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1430
1431 [BZ #13673]
1432 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1433 with URL.
1434 * locale/programs/locfile-kw.gperf: Likewise.
1435 * locale/programs/charmap-kw.h: Regenerated.
1436 * locale/programs/locfile-kw.h: Likewise.
1437
1438 [BZ #13673]
1439 * intl/plural.y: Replace FSF snail mail address with URL.
1440 * intl/plural.c: Regenerated.
1441
1442 2012-03-09 Richard Henderson <rth@twiddle.net>
1443
1444 * include/math_private.h: Remove file.
1445 * math/math_private.h: Move file ...
1446 * sysdeps/generic/math_private.h: ... here.
1447
1448 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1449 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1450 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1451
1452 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1453 and <math_private.h>.
1454 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1455 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1456 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1457 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1458 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1459 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1460 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1461 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1462 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1463 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1464 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1466 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1467 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1468 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1469 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1470 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1471 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1472 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1473 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1474 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1475 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1476 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1478 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1479 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1480 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1481 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1482 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1484 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1485 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1486 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1487 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1488 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1489 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1490 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1491 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1492 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1501 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1504 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1505 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1506 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1507 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1508 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1509 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1511 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1512 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1513 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1514 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1515 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1517 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1518 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1519 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1520 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1521 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1522 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1523 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1524 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1525 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1526 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1527 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1528 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1529 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1530 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1533 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1534 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1535 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1536 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1537 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1538 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1540 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1541 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1542 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1543 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1544 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1545 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1547 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1548 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1549 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1550 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1551 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1552 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1553 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1554 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1555 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1556 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1557 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1558 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1559 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1560 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1561 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1562 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1563 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1564 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1565 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1566 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1567 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1568 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1569 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1570 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1571 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1572 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1573 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1574 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1575 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1576 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1577 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1578 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1579 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1580 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1581 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1582 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1583 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1584 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1585 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1586 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1587 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1588 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1589 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1590 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1591 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1592 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1593 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1594 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1595 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1596 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1597 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1598 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1599 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1600 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1601 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1602 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1603 * sysdeps/ieee754/k_standard.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1610 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1611 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1612 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1613 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1614 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1615 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1616 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1617 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1618 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1619 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1620 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1621 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1625 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1629 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1630 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1631 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1632 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1633 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1634 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1635 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1636 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1637 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1677 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1678 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1681 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1683 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1688 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1689 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1690 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1694 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1695 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1697 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1705 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1707 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1709 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1711 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1712 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1713 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1717 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1718 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1719 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1720 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1721 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1723 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1724 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1726 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1728 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1729 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1731 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1736 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1742 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1743 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1749 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1750 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1752 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1753 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1754 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1757 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1761 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1762 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1763 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1764 * sysdeps/ieee754/s_lib_version.c: Likewise.
1765 * sysdeps/ieee754/s_matherr.c: Likewise.
1766 * sysdeps/ieee754/s_signgam.c: Likewise.
1767 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1768 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1769 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1770 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1771 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1772 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1773 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1774 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1775 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1776 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1777 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1778 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1779 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1780 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1781 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1782 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1783 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1784 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1785 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1787 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1788
1789 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1790
1791 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1792 * sunrpc/rpc_main.c: Likewise.
1793 * sunrpc/rpc_svcout.c: Likewise.
1794
1795 2012-03-09 David S. Miller <davem@davemloft.net>
1796
1797 * include/math_private.h: New file.
1798
1799 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1800
1801 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1802 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1803 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1804 from <bits/socket_type.h>.
1805 (enum __socket_type): Don't define here.
1806 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1807 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1808 bits/socket_type.h.
1809
1810 [BZ #13566]
1811 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1812 checking __USE_GNU.
1813
1814 * Makerules ($(inst_includedir)/%.h): New rule.
1815 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1816 (install-others): Remove variable setting.
1817 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1818
1819 2012-03-08 Richard Henderson <rth@twiddle.net>
1820
1821 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1822 from macro to inline function; merge with the
1823 !__LIBC_INTERNAL_MATH_INLINES version.
1824 (__ieee754_sqrtf): Likewise.
1825
1826 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1827 to inline function.
1828 (__rintf, __floor, __floorf): Likewise.
1829
1830 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1831 macro to inline function.
1832 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1833
1834 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1835 not <math/math_private.h>.
1836
1837 2012-03-08 David S. Miller <davem@davemloft.net>
1838
1839 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1840 copyright year.
1841 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1842
1843 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1844
1845 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1846 normalization.
1847 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1848 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1849
1850 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1851
1852 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1853 be defined individually, they must be defined as a block. Define
1854 S for printing a string instead of hidint the different by using a
1855 macro for adding the 'l'.
1856 * stdio-common/tst-fphex-wide.c: Adjust.
1857
1858 2012-03-07 Marek Polacek <polacek@redhat.com>
1859
1860 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1861
1862 2012-03-08 Marek Polacek <polacek@redhat.com>
1863
1864 [BZ #13806]
1865 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1866 * stdio-common/tst-fphex.c: Define a few macros to make the
1867 test reusable. Use them.
1868 * stdio-common/tst-fphex-wide.c: New file.
1869
1870 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1871
1872 [BZ #6911]
1873 * manual/macros.texi (gnusystems): New macro.
1874 (nongnusystems): Likewise.
1875 (gnulinuxhurdsystems): Likewise.
1876 (gnuhurdsystems): Likewise..
1877 (gnulinuxsystems): Likewise.
1878 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1879 variants of the GNU system, not "GNU system".
1880 * manual/conf.texi: Likewise.
1881 * manual/errno.texi: Likewise. Update example of errno macro
1882 expansion.
1883 * manual/filesys.texi: Likewise.
1884 (getumask): Document as specific to GNU/Hurd.
1885 * manual/install.texi: Likewise. Reword some references to
1886 GNU/Linux.
1887 * manual/intro.texi: Likewise.
1888 * manual/io.texi: Likewise.
1889 (File Name Portability): Detail which constraints are inapplicable
1890 to all GNU systems and which are only inapplicable to GNU/Hurd.
1891 * manual/job.texi: Likewise.
1892 * manual/llio.texi: Likewise.
1893 (O_NOCTTY): Document as present on GNU/Linux.
1894 * manual/maint.texi: Likewise.
1895 * manual/memory.texi: Likewise.
1896 * manual/pattern.texi: Likewise.
1897 * manual/pipe.texi: Likewise.
1898 * manual/process.texi: Likewise.
1899 * manual/resource.texi: Likewise.
1900 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1901 child on GNU/Hurd.
1902 * manual/setjmp.texi: Likewise.
1903 * manual/signal.texi: Likewise.
1904 * manual/startup.texi: Likewise.
1905 * manual/stdio.texi: Likewise.
1906 * manual/terminal.texi: Likewise.
1907 (ONLCR): Document as POSIX.
1908 (OXTABS): Document availability on GNU/Linux as XTABS.
1909 (ONOEOT): Document availability separately from other bits.
1910 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1911 * manual/time.texi: Likewise.
1912 * manual/users.texi: Likewise.
1913 * INSTALL: Regenerated.
1914 * sysdeps/gnu/errlist.c: Regenerated.
1915
1916 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1917 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1918 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1919 puts.
1920 * configure: Regenerated.
1921
1922 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1923
1924 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1925 default includes instead of AC_HEADER_CHECK.
1926 * sysdeps/i386/configure: Regenerated.
1927
1928 [BZ #10716]
1929 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1930 * math/s_cacoshf.c (__cacoshf): Likewise.
1931 * math/s_cacoshl.c (__cacoshl): Likewise.
1932 * math/s_casinh.c (__casinh): Set signs of result from argument.
1933 * math/s_casinhf.c (__casinhf): Likewise.
1934 * math/s_casinhl.c (__casinhl): Likewise.
1935 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1936 (casinh_test): Add more tests.
1937 * sysdeps/i386/fpu/libm-test-ulps: Update.
1938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1939
1940 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1941
1942 * po/zh_TW.po: Update from translation team.
1943
1944 * login/Makefile (distribute): Remove variable.
1945 * catgets/Makefile: Likewise.
1946 * mach/Makefile: Likewise.
1947 * malloc/Makefile: Likewise.
1948 * misc/Makefile: Likewise.
1949 * iconv/Makefile: Likewise.
1950 * nscd/Makefile: Likewise.
1951 * hurd/Makefile: Likewise.
1952 * manual/Makefile: Likewise.
1953 * locale/Makefile: Likewise.
1954 * intl/Makefile: Likewise.
1955 * conform/Makefile: Likewise.
1956 * nss/Makefile: Likewise.
1957 * time/Makefile: Likewise.
1958 * soft-fp/Makefile: Likewise.
1959 * dirent/Makefile: Likewise.
1960 * gmon/Makefile: Likewise.
1961 * po/Makefile: Likewise.
1962 * rt/Makefile: Likewise.
1963 * socket/Makefile: Likewise.
1964 * math/Makefile: Likewise.
1965 * signal/Makefile: Likewise.
1966 * debug/Makefile: Likewise.
1967 * elf/Makefile: Likewise.
1968 * timezone/Makefile: Likewise.
1969 * stdlib/Makefile: Likewise.
1970 * iconvdata/Makefile: Likewise.
1971 * sunrpc/Makefile: Likewise.
1972 * io/Makefile: Likewise.
1973 * argp/Makefile: Likewise.
1974 * inet/Makefile: Likewise.
1975 * hesiod/Makefile: Likewise.
1976 * grp/Makefile: Likewise.
1977 * csu/Makefile: Likewise.
1978 * wctype/Makefile: Likewise.
1979 * crypt/Makefile: Likewise.
1980 * libio/Makefile: Likewise.
1981 * string/Makefile: Likewise.
1982 * nis/Makefile: Likewise.
1983 * resolv/Makefile: Likewise.
1984 * stdio-common/Makefile: Likewise.
1985 * wcsmbs/Makefile: Likewise.
1986 * dlfcn/Makefile: Likewise.
1987 * posix/Makefile: Likewise.
1988
1989 * timezone/Makefile: Don't install timezone files, just the programs
1990 and scripts.
1991
1992 2012-03-06 Ulrich Drepper <drepper@gmail.com>
1993
1994 * nss/databases.def: Add missing gshadow entry.
1995
1996 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
1997
1998 2012-03-06 Marek Polacek <polacek@redhat.com>
1999
2000 [BZ #13726]
2001 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2002 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2003 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2004 * stdio-common/tst-long-dbl-fphex.c: New file.
2005
2006 2012-03-06 David S. Miller <davem@davemloft.net>
2007
2008 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2009 (set_obp_int): New function.
2010 (get_obp_int): New function.
2011 (__get_clockfreq_via_dev_openprom): Likewise.
2012 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2013 Avoid unused variable warnings on 'val' and use builtin_expect.
2014 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2015 __builtin_expect.
2016 (INLINE_CLONE_SYSCALL): Likewise.
2017
2018 2012-03-05 David S. Miller <davem@davemloft.net>
2019
2020 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2021
2022 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2023
2024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2025
2026 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2027 only for |x| >= 40.
2028 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2029
2030 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2031
2032 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2033 Replace gettimeofday with __vdso_gettimeofday.
2034
2035 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2036 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2037 __vdso_clock_gettime and __vdso_getcpu.
2038
2039 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2040 time with __vdso_time.
2041
2042 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2043
2044 * manual/lang.texi (size_t): Note types to which size_t may be
2045 equivalent with the GNU C Library, but do not describe when
2046 differences between them are significant.
2047
2048 2012-03-05 Andreas Jaeger <aj@suse.de>
2049
2050 * sysdeps/i386/fpu/libm-test-ulps: Update.
2051
2052 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2053
2054 [BZ #3976]
2055 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2056 (__ieee754_pow): Save and restore rounding mode and use
2057 round-to-nearest for main computations.
2058 * math/libm-test.inc (pow_test_tonearest): New function.
2059 (pow_test_towardzero): Likewise.
2060 (pow_test_downward): Likewise.
2061 (pow_test_upward): Likewise.
2062 (main): Call the new functions.
2063 * sysdeps/i386/fpu/libm-test-ulps: Update.
2064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2065
2066 [BZ #3976]
2067 * math/libm-test.inc (cosh_test_tonearest): New function.
2068 (cosh_test_towardzero): Likewise.
2069 (cosh_test_downward): Likewise.
2070 (cosh_test_upward): Likewise.
2071 (sinh_test_tonearest): Likewise.
2072 (sinh_test_towardzero): Likewise.
2073 (sinh_test_downward): Likewise.
2074 (sinh_test_upward): Likewise.
2075 (main): Call the new functions.
2076 * sysdeps/i386/fpu/libm-test-ulps: Update.
2077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2078
2079 2012-03-05 Tom de Vries <tom@codesourcery.com>
2080
2081 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2082 default stack guard is set in last bytes.
2083 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2084
2085 2012-03-05 Kees Cook <keescook@chromium.org>
2086
2087 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2088
2089 [BZ #13656]
2090 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2091 possibly allocate from heap instead of stack.
2092 * stdio-common/bug-vfprintf-nargs.c: New file.
2093 * stdio-common/Makefile (tests): Add nargs overflow test.
2094
2095 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2096
2097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2098
2099 2012-03-03 Marek Polacek <polacek@redhat.com>
2100
2101 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2102 * math/math_private.h: Likewise.
2103 * stdlib/tst-strtod.c: Likewise.
2104 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2105 * sysdeps/x86_64/bits/atomic.h: Likewise.
2106
2107 2012-03-02 David S. Miller <davem@davemloft.net>
2108
2109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2113 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2114 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2115 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2116 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2117
2118 2012-03-02 Roland McGrath <roland@hack.frob.com>
2119
2120 [BZ #13792]
2121 * manual/examples/README: New file, says the example source files
2122 can be used under GPL>=2.
2123 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2124 line containing just "*/".
2125 * manual/examples/add.c: Add copyright header (GPL>=2).
2126 * manual/examples/argp-ex1.c: Likewise.
2127 * manual/examples/argp-ex2.c: Likewise.
2128 * manual/examples/argp-ex3.c: Likewise.
2129 * manual/examples/argp-ex4.c: Likewise.
2130 * manual/examples/atexit.c: Likewise.
2131 * manual/examples/db.c: Likewise.
2132 * manual/examples/dir.c: Likewise.
2133 * manual/examples/dir2.c: Likewise.
2134 * manual/examples/execinfo.c: Likewise.
2135 * manual/examples/filecli.c: Likewise.
2136 * manual/examples/filesrv.c: Likewise.
2137 * manual/examples/fmtmsgexpl.c: Likewise.
2138 * manual/examples/genpass.c: Likewise.
2139 * manual/examples/inetcli.c: Likewise.
2140 * manual/examples/inetsrv.c: Likewise.
2141 * manual/examples/isockad.c: Likewise.
2142 * manual/examples/longopt.c: Likewise.
2143 * manual/examples/memopen.c: Likewise.
2144 * manual/examples/memstrm.c: Likewise.
2145 * manual/examples/mkfsock.c: Likewise.
2146 * manual/examples/mkisock.c: Likewise.
2147 * manual/examples/mygetpass.c: Likewise.
2148 * manual/examples/pipe.c: Likewise.
2149 * manual/examples/popen.c: Likewise.
2150 * manual/examples/rprintf.c: Likewise.
2151 * manual/examples/search.c: Likewise.
2152 * manual/examples/select.c: Likewise.
2153 * manual/examples/setjmp.c: Likewise.
2154 * manual/examples/sigh1.c: Likewise.
2155 * manual/examples/sigusr.c: Likewise.
2156 * manual/examples/stpcpy.c: Likewise.
2157 * manual/examples/strdupa.c: Likewise.
2158 * manual/examples/strftim.c: Likewise.
2159 * manual/examples/strncat.c: Likewise.
2160 * manual/examples/subopt.c: Likewise.
2161 * manual/examples/swapcontext.c: Likewise.
2162 * manual/examples/termios.c: Likewise.
2163 * manual/examples/testopt.c: Likewise.
2164 * manual/examples/testpass.c: Likewise.
2165 * manual/examples/timeval_subtract.c: Likewise.
2166
2167 [BZ #13792]
2168 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2169 function to ...
2170 * manual/timeval_subtract.c.texi: ... here, new file.
2171
2172 2012-03-02 David S. Miller <davem@davemloft.net>
2173
2174 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2175
2176 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2177
2178 [BZ #3976]
2179 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2180 (__sin): Save and restore rounding mode and use round-to-nearest
2181 for all computations.
2182 (__cos): Save and restore rounding mode and use round-to-nearest
2183 for all computations.
2184 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2185 <fenv.h>.
2186 (tan): Save and restore rounding mode and use round-to-nearest for
2187 all computations.
2188 * math/libm-test.inc (cos_test_tonearest): New function.
2189 (cos_test_towardzero): Likewise.
2190 (cos_test_downward): Likewise.
2191 (cos_test_upward): Likewise.
2192 (sin_test_tonearest): Likewise.
2193 (sin_test_towardzero): Likewise.
2194 (sin_test_downward): Likewise.
2195 (sin_test_upward): Likewise.
2196 (tan_test_tonearest): Likewise.
2197 (tan_test_towardzero): Likewise.
2198 (tan_test_downward): Likewise.
2199 (tan_test_upward): Likewise.
2200 (main): Call the new functions.
2201 * sysdeps/i386/fpu/libm-test-ulps: Update.
2202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2203
2204 [BZ #10135]
2205 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2206 small n, then large n, before computing and testing k+n.
2207 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2208 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2209 Likewise.
2210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2211 Likewise.
2212 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2213 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2214 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2215 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2216 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2217 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2218 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2219 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2220 * math/libm-test.inc (scalbn_test): Add more tests.
2221 (scalbln_test): Likewise.
2222
2223 * manual/filesys.texi (mode_t): Describe constraints on size and
2224 signedness, not exact equivalence to a particular type.
2225 (ino_t): Likewise.
2226 (ino64_t): Likewise.
2227 (dev_t): Likewise.
2228 (nlink_t): Likewise.
2229 (blkcnt_t): Likewise.
2230 (blkcnt64_t): Likewise.
2231 * manual/llio.texi (off_t): Likewise.
2232
2233 [BZ #3976]
2234 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2235 (__ieee754_exp): Save and restore rounding mode and use
2236 round-to-nearest for all computations.
2237 * math/libm-test.inc (exp_test_tonearest): New function.
2238 (exp_test_towardzero): Likewise.
2239 (exp_test_downward): Likewise.
2240 (exp_test_upward): Likewise.
2241 (main): Call the new functions.
2242 * sysdeps/i386/fpu/libm-test-ulps: Update.
2243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2244
2245 2012-03-01 Chris Demetriou <cgd@google.com>
2246
2247 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2248 have predictable order.
2249
2250 2012-03-01 David S. Miller <davem@davemloft.net>
2251
2252 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2253
2254 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2255 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2256 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2257 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2258
2259 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2260 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2261 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2263 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2264 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2265 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2266 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2267 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2268
2269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2270
2271 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2272 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2273 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2274
2275 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2276 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2277 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2278 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2279 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2280 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2281 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2282 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2283 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2284 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2285 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2286 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2288 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2289 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2290 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2291 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2292 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2293 * sysdeps/sparc/elf/configure: Regenerated.
2294
2295 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2296
2297 * configure.in (AS, LD): Require binutils 2.20 or later.
2298 * configure: Regenerated.
2299 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2300 as required minimum version.
2301 * INSTALL: Regenerated.
2302
2303 [BZ #2541]
2304 [BZ #4108]
2305 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2306 before squaring exponent.
2307 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2308 bottom long double and 27 bits of top long double before squaring
2309 exponent.
2310 * math/libm-test.inc (erfc_test): Add more tests.
2311 * sysdeps/i386/fpu/libm-test-ulps: Update.
2312 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2314
2315 2012-03-01 Kai Tietz <ktietz@redhat.com>
2316
2317 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2318 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2319 containing bit-fields.
2320 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2321 * soft-fp/single.h (_FP_UNION_S): Likewise.
2322 * soft-fp/double.h (_FP_UNION_D): Likewise.
2323
2324 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2325
2326 [BZ #13786]
2327 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2328 not include ../strcmp.S.
2329 [USE_AS_STRNCASECMP_L]: Likewise.
2330 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2331 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2332 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2333 (__strncasecmp_l_ia32): Define as alias to
2334 __strncasecmp_l_nonascii.
2335
2336 [BZ #5794]
2337 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2338 * sysdeps/i386/fpu/libm-test-ulps: Update.
2339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2340
2341 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2343
2344 2012-02-29 Jeff Law <law@redhat.com>
2345
2346 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2347 out of bounds read.
2348
2349 2012-02-29 Marek Polacek <polacek@redhat.com>
2350
2351 [BZ #13706]
2352 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2353 * elf/Makefile: Add rules to run tst-unused-dep.out.
2354
2355 2012-02-28 David S. Miller <davem@davemloft.net>
2356
2357 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2358 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2359 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2361 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2362 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2363
2364 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2365
2366 * math/libm-test.inc (llround_test): Move one test from
2367 lround_test. Use TEST_f_L in moved test.
2368 (lround_test): Move misplaced test to llround_test. Add testcase
2369 from bug 2561.
2370
2371 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2372
2373 * sysdeps/x86_64/fpu/e_expf.S: New file.
2374 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2375
2376 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2377
2378 [BZ #13637]
2379 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2380 of remain_len that may cause incomplete multi-byte character and
2381 false match.
2382 * posix/bug-regex33.c: New file.
2383 * posix/Makefile (tests): Add bug-regex33.
2384
2385 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2386
2387 * manual/macros.texi: New file.
2388 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2389 * manual/libc.texinfo: Include macros.texi.
2390 * manual/creatute.texi: Likewise.
2391 * manual/install.texi: Likewise.
2392 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2393 @glibcadj{} in references to the GNU C Library.
2394 * manual/charset.texi: Likewise.
2395 * manual/conf.texi: Likewise.
2396 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2397 when not using those macros.
2398 * manual/creature.texi: Likewise.
2399 * manual/crypt.texi: Likewise.
2400 * manual/errno.texi: Likewise.
2401 * manual/filesys.texi: Likewise.
2402 * manual/header.texi: Likewise.
2403 * manual/install.texi: Likewise.
2404 * manual/intro.texi: Likewise.
2405 * manual/io.texi: Likewise.
2406 * manual/job.texi: Likewise.
2407 * manual/lang.texi: Likewise.
2408 * manual/libc.texiinfo: Likewise.
2409 * manual/llio.texi: Likewise.
2410 * manual/locale.texi: Likewise.
2411 * manual/maint.texi: Likewise.
2412 * manual/math.texi: Likewise.
2413 * manual/memory.texi: Likewise.
2414 * manual/message.texi: Likewise.
2415 * manual/nss.texi: Likewise.
2416 * manual/pattern.texi: Likewise.
2417 * manual/process.texi: Likewise.
2418 * manual/resource.texi: Likewise.
2419 * manual/search.texi: Likewise.
2420 * manual/setjmp.texi: Likewise.
2421 * manual/signal.texi: Likewise.
2422 * manual/socket.texi: Likewise.
2423 * manual/startup.texi: Likewise.
2424 * manual/stdio.texi: Likewise.
2425 * manual/string.texi: Likewise.
2426 * manual/sysinfo.texi: Likewise.
2427 * manual/syslog.texi: Likewise.
2428 * manual/terminal.texi: Likewise.
2429 * manual/time.texi: Likewise.
2430 * manual/users.texi: Likewise.
2431 * INSTALL: Regenerated.
2432 * NOTES: Regenerated.
2433 * sysdeps/gnu/errlist.c: Regenerated.
2434
2435 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2436
2437 * include/dirent.h: Include <dirstream.h> before
2438 <dirent/dirent.h>.
2439
2440 2012-02-28 David S. Miller <davem@davemloft.net>
2441
2442 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2443 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2444 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2445 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2446
2447 2012-02-27 David S. Miller <davem@davemloft.net>
2448
2449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2451 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2452 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2453
2454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2455 frame pointer instead of stack pointer relative arg slot.
2456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2457 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2458 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2459
2460 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2461
2462 [BZ #3992]
2463 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2464
2465 2012-02-27 David S. Miller <davem@davemloft.net>
2466
2467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2471 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2472 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2473 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2474 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2475
2476 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2477
2478 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2479 later. Allow versions 5-9.
2480 * configure: Regenerated.
2481 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2482 required minimum version and 4.6 as recommended version. Do not
2483 mention bugs in GCC 2.7 and 2.8.
2484 * INSTALL: Regenerated.
2485
2486 2012-02-27 David S. Miller <davem@davemloft.net>
2487
2488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2492 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2493 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2494 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2495 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2496
2497 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2498 manipulate bits before adding and subtracting TWO112[sx].
2499 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2500
2501 2012-02-27 Roland McGrath <roland@hack.frob.com>
2502
2503 [BZ #13775]
2504 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2505 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2506 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2507 being in POSIX, because they are in 1003.1-2008.
2508
2509 * rt/tst-aio.c: Include <fcntl.h>.
2510 * rt/tst-aio7.c: Likewise.
2511 * rt/tst-aio64.c: Likewise.
2512
2513 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2514
2515 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2516
2517 * manual/install.texi (--with-headers): Describe headers as
2518 interface headers, not private headers.
2519 (Specific advice for GNU/Linux systems): Describe use of headers
2520 from "make headers_install", not private headers from older
2521 kernels.
2522 * INSTALL: Regenerated.
2523 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2524 Change to 2.6.19.
2525 * sysdeps/unix/sysv/linux/configure: Regenerated.
2526
2527 * manual/llio.texi (fclean): Remove documentation.
2528
2529 * manual/Makefile (libc-texi-generated): New variable. Include
2530 version.texi.
2531 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2532 $(libc-texi-generated), not duplicated list of files.
2533 (version.texi, stamp-version): New rules.
2534 (realclean): Remove $(libc-texi-generated), not individual files
2535 from that list. Do not remove dir-add.texinfo.
2536 * manual/libc.texinfo: Comment out uses of edition numbers and
2537 references to printed manual. Remove last-updated dates.
2538 (EDITION): Comment out.
2539 (ISBN): Likewise.
2540 (VERSION, UPDATED): Remove.
2541 (version.texi): Include.
2542
2543 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2544
2545 * sysdeps/posix/spawni.c: Include <signal.h>.
2546 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2547 * sysdeps/pthread/aio_fsync.c: Likewise.
2548
2549 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2550
2551 * conform/Makefile (tests): Run only when not cross-compiling and
2552 when fast-check is not defined.
2553
2554 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2555 * conform/data/limits.h-data: Fixes for POSIX2008.
2556 * conform/run-conformtest.sh: Run all tests.
2557 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2558 headers.
2559 * include/bits/dlfcn.h: Likewise.
2560 * include/langinfo.h: Likewise.
2561 * include/monetary.h: Likewise.
2562 * include/sys/poll.h: Likewise.
2563
2564 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2565 for __USE_GNU.
2566 * posix/spawn.h: Define __need_sigset_t.
2567 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2568 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2569 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2570 to get sigevent_t only.
2571 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2572 only for __USE_GNU.
2573 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2574 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2575 process_vm_writev only for __USE_GNU.
2576 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2577
2578 * conform/Makefile: For now ignore errors from run-conformtest.
2579 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2580 POSIX to avoid namespace pollution. Don't prepend headers.
2581 * conform/data/aio.h-data: Fixes for POSIX testing.
2582 * conform/data/fcntl.h-data: Likewise.
2583 * conform/data/glob.h-data: Likewise.
2584 * conform/data/grp.h-data: Likewise.
2585 * conform/data/pthread.h-data: Likewise.
2586 * conform/data/pwd.h-data: Likewise.
2587 * conform/data/signal.h-data: Likewise.
2588 * conform/data/spawn.h-data: Likewise.
2589 * conform/data/stdio.h-data: Likewise.
2590 * conform/data/stdlib.h-data: Likewise.
2591 * conform/data/stropts.h-data: Likewise.
2592 * conform/data/sys/mman.h-data: Likewise.
2593 * conform/data/sys/stat.h-data: Likewise.
2594 * conform/data/sys/types.h-data: Likewise.
2595 * conform/data/sys/wait.h-data: Likewise.
2596 * conform/data/time.h-data: Likewise.
2597 * conform/data/unistd.h-data: Likewise.
2598 * conform/data/utime.h-data: Likewise.
2599
2600 * io/sys/stat.h: fchmod was always in POSIX.
2601 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2602 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2603 * rt/aio.h: Define __need_timespec before including <time.h>.
2604 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2605 struct. Add forward declaration of pthread_attr_t and use it in
2606 sigevent.
2607 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2608 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2609 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2610 always remove CLK_TCK definition.
2611
2612 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2613
2614 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2615
2616 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2617
2618 * conform/run-conformtest.sh: New file.
2619 * conform/Makefile: Run run-conformtest for tests.
2620 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2621 support.
2622
2623 * conform/data/uchar.h-data: New file.
2624 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2625 * conform/data/arpa/inet.h-data: Likewise.
2626 * conform/data/assert.h-data: Likewise.
2627 * conform/data/complex.h-data: Likewise.
2628 * conform/data/cpio.h-data: Likewise.
2629 * conform/data/ctype.h-data: Likewise.
2630 * conform/data/dirent.h-data: Likewise.
2631 * conform/data/dlfcn.h-data: Likewise.
2632 * conform/data/errno.h-data: Likewise.
2633 * conform/data/fcntl.h-data: Likewise.
2634 * conform/data/float.h-data: Likewise.
2635 * conform/data/fmtmsg.h-data: Likewise.
2636 * conform/data/fnmatch.h-data: Likewise.
2637 * conform/data/ftw.h-data: Likewise.
2638 * conform/data/glob.h-data: Likewise.
2639 * conform/data/grp.h-data: Likewise.
2640 * conform/data/iconv.h-data: Likewise.
2641 * conform/data/inttypes.h-data: Likewise.
2642 * conform/data/langinfo.h-data: Likewise.
2643 * conform/data/libgen.h-data: Likewise.
2644 * conform/data/limits.h-data: Likewise.
2645 * conform/data/locale.h-data: Likewise.
2646 * conform/data/math.h-data: Likewise.
2647 * conform/data/monetary.h-data: Likewise.
2648 * conform/data/mqueue.h-data: Likewise.
2649 * conform/data/ndbm.h-data: Likewise.
2650 * conform/data/net/if.h-data: Likewise.
2651 * conform/data/netdb.h-data: Likewise.
2652 * conform/data/netinet/in.h-data: Likewise.
2653 * conform/data/nl_types.h-data: Likewise.
2654 * conform/data/poll.h-data: Likewise.
2655 * conform/data/pthread.h-data: Likewise.
2656 * conform/data/pwd.h-data: Likewise.
2657 * conform/data/regex.h-data: Likewise.
2658 * conform/data/sched.h-data: Likewise.
2659 * conform/data/search.h-data: Likewise.
2660 * conform/data/semaphore.h-data: Likewise.
2661 * conform/data/setjmp.h-data: Likewise.
2662 * conform/data/signal.h-data: Likewise.
2663 * conform/data/spawn.h-data: Likewise.
2664 * conform/data/stdarg.h-data: Likewise.
2665 * conform/data/stdio.h-data: Likewise.
2666 * conform/data/stdlib.h-data: Likewise.
2667 * conform/data/string.h-data: Likewise.
2668 * conform/data/strings.h-data: Likewise.
2669 * conform/data/stropts.h-data: Likewise.
2670 * conform/data/sys/ipc.h-data: Likewise.
2671 * conform/data/sys/mman.h-data: Likewise.
2672 * conform/data/sys/msg.h-data: Likewise.
2673 * conform/data/sys/resource.h-data: Likewise.
2674 * conform/data/sys/select.h-data: Likewise.
2675 * conform/data/sys/sem.h-data: Likewise.
2676 * conform/data/sys/shm.h-data: Likewise.
2677 * conform/data/sys/socket.h-data: Likewise.
2678 * conform/data/sys/stat.h-data: Likewise.
2679 * conform/data/sys/statvfs.h-data: Likewise.
2680 * conform/data/sys/time.h-data: Likewise.
2681 * conform/data/sys/timeb.h-data: Likewise.
2682 * conform/data/sys/times.h-data: Likewise.
2683 * conform/data/sys/types.h-data: Likewise.
2684 * conform/data/sys/uio.h-data: Likewise.
2685 * conform/data/sys/un.h-data: Likewise.
2686 * conform/data/sys/utsname.h-data: Likewise.
2687 * conform/data/sys/wait.h-data: Likewise.
2688 * conform/data/syslog.h-data: Likewise.
2689 * conform/data/tar.h-data: Likewise.
2690 * conform/data/termios.h-data: Likewise.
2691 * conform/data/utime.h-data: Likewise.
2692 * conform/data/utmpx.h-data: Likewise.
2693 * conform/data/varargs.h-data: Likewise.
2694 * conform/data/wchar.h-data: Likewise.
2695 * conform/data/wctype.h-data: Likewise.
2696 * conform/data/wordexp.h-data: Likewise.
2697
2698 * include/stropts.h: New file.
2699 * include/uchar.h: New file.
2700 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2701 * include/assert.h: Likewise.
2702 * include/ctype.h: Likewise.
2703 * include/dirent.h: Likewise.
2704 * include/dlfcn.h: Likewise.
2705 * include/fcntl.h: Likewise.
2706 * include/fnmatch.h: Likewise.
2707 * include/glob.h: Likewise.
2708 * include/grp.h: Likewise.
2709 * include/libio.h: Likewise.
2710 * include/locale.h: Likewise.
2711 * include/math.h: Likewise.
2712 * include/net/if.h: Likewise.
2713 * include/netdb.h: Likewise.
2714 * include/netinet/in.h: Likewise.
2715 * include/pthread.h: Likewise.
2716 * include/pwd.h: Likewise.
2717 * include/regex.h: Likewise.
2718 * include/sched.h: Likewise.
2719 * include/search.h: Likewise.
2720 * include/setjmp.h: Likewise.
2721 * include/signal.h: Likewise.
2722 * include/stdio.h: Likewise.
2723 * include/stdlib.h: Likewise.
2724 * include/string.h: Likewise.
2725 * include/sys/cdefs.h: Likewise.
2726 * include/sys/mman.h: Likewise.
2727 * include/sys/msg.h: Likewise.
2728 * include/sys/resource.h: Likewise.
2729 * include/sys/select.h: Likewise.
2730 * include/sys/socket.h: Likewise.
2731 * include/sys/stat.h: Likewise.
2732 * include/sys/statvfs.h: Likewise.
2733 * include/sys/time.h: Likewise.
2734 * include/sys/times.h: Likewise.
2735 * include/sys/uio.h: Likewise.
2736 * include/sys/utsname.h: Likewise.
2737 * include/sys/wait.h: Likewise.
2738 * include/termios.h: Likewise.
2739 * include/time.h: Likewise.
2740 * include/ulimit.h: Likewise.
2741 * include/unistd.h: Likewise.
2742 * include/utime.h: Likewise.
2743 * include/wchar.h: Likewise.
2744 * include/wctype.h: Likewise.
2745 * include/wordexp.h: Likewise.
2746
2747 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2748
2749 * time/time.h: TIME_UTC must be a macro.
2750 Make timespec_get available for ISO C11 only as well.
2751
2752 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2753
2754 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2755 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2756
2757 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2758
2759 * configure.in: Use -o not -a in test for unsupported multi-arch.
2760
2761 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2762
2763 * manual/texinfo.tex: Update to version 2012-01-19.16.
2764
2765 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2766
2767 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2768
2769 2012-02-24 Roland McGrath <roland@hack.frob.com>
2770
2771 [BZ #13738]
2772 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2773 * manual/fdl-1.3.texi: New file.
2774 * manual/fdl-1.1.texi: File removed.
2775
2776 [BZ #13738]
2777 * manual/libc.texinfo (FDL_VERSION): New @set.
2778 Use it for mention of FDL in cover text.
2779 (Documentation License): Use it in @include file name.
2780
2781 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2782 Roland McGrath <roland@hack.frob.com>
2783
2784 [BZ #5461]
2785 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2786 not LONG_LONG_MAX and LONG_LONG_MIN.
2787 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2788 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2789 name.
2790 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2791
2792 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2793
2794 [BZ #2547]
2795 [BZ #11365]
2796 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2797 manipulate bits before adding and subtracting TWO23[sx].
2798 * math/libm-test.inc (nearbyint_test): Add more tests.
2799
2800 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2801
2802 [BZ #2548]
2803 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2804 bits before adding and subtracting TWO23[sx].
2805 * math/libm-test.inc (rint_test): Add more tests.
2806 (rint_test_tonearest): Likewise.
2807 (rint_test_towardzero): Likewise.
2808 (rint_test_downward): Likewise.
2809 (rint_test_upward: Likewise.
2810
2811 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2812
2813 [BZ #10110]
2814 * include/stdc-predef.h: New file. Extracted from features.h.
2815 * include/features.h: Include stdc-predef.h.
2816 * Makefile (headers): Add stdc-predef.h.
2817 * CONFORMANCE (Compiler limitations): Update.
2818
2819 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2820
2821 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2822
2823 2012-02-21 David S. Miller <davem@davemloft.net>
2824
2825 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2826 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2827
2828 2012-02-20 David S. Miller <davem@davemloft.net>
2829
2830 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2831 using a normal save/restore sequence, rather than allocating a
2832 dummy stack frame just to store a frame pointer and restore.
2833 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2834
2835 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2836
2837 * manual/install.texi: Fix stray word in line-wrapped comment.
2838
2839 2012-02-20 David S. Miller <davem@davemloft.net>
2840
2841 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2842 both binutils and gcc support GOTDATA.
2843
2844 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2845 "rd %pc" in the PIC register setup sequences.
2846
2847 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2848 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2849 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2850 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2851 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2852 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2853 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2854 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2855 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2856 (SYSCALL_ERROR_HANDLER): Likewise.
2857 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2858 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2859 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2860 (SYSCALL_ERROR_HANDLER): Likewise.
2861
2862 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2863 (HAVE_GCC_GOTDATA): New.
2864 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2865 relocation support in both binutils and gcc.
2866 * sysdeps/sparc/elf/configure: Regenerate.
2867
2868 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2869 * sysdeps/sparc/sparc32/elf/configure: Delete.
2870 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2871 * sysdeps/sparc/sparc64/elf/configure: Delete.
2872 * sysdeps/sparc/elf/configure.in: New file.
2873 * sysdeps/sparc/elf/configure: Generate.
2874
2875 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2876 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2877 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2878 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2879 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2880
2881 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2882
2883 * manual/install.texi: Do not mention specific glibc version
2884 numbers.
2885 * manual/libc.texinfo (VERSION, UPDATED): Update.
2886 (@copying): Use @copyright{} and range of years.
2887
2888 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2889
2890 [BZ #13695]
2891 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2892 [crti.S not in sysdirs] (generated): Do not append.
2893 [crti.S not in sysdirs] (omit-deps): Likewise.
2894 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2895 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2896 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2897 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2898 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2899 Likewise.
2900 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2901 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2902 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2903 * csu/defs.awk: Remove file.
2904 * sysdeps/generic/initfini.c: Likewise.
2905 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2906 variable.
2907 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2908 Likewise.
2909
2910 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2911
2912 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2913 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2914 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2915 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2916 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2917 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2918 <bits/epoll.h>.
2919 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2920 (__EPOLL_PACKED): Define to empty if not defined by
2921 <bits/epoll.h>.
2922 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2923 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2924 bits/epoll.h.
2925
2926 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2927
2928 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2929 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2930 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2931 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2932 <bits/timerfd.h>.
2933 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2935 bits/timerfd.h.
2936
2937 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2938
2939 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2940 in C locale.
2941 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2942 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2943 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2945
2946 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2947
2948 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2949 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2950
2951 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2952
2953 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2954 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2955 defined.
2956 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2957 Likewise.
2958 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2959 entry for 2.16.
2960
2961 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2962
2963 * math/w_acos.c: Use non-signaling floating-point comparisons.
2964 * math/w_acosf.c: Likewise.
2965 * math/w_acosh.c: Likewise.
2966 * math/w_acoshf.c: Likewise.
2967 * math/w_acoshl.c: Likewise.
2968 * math/w_acosl.c: Likewise.
2969 * math/w_asin.c: Likewise.
2970 * math/w_asinf.c: Likewise.
2971 * math/w_asinl.c: Likewise.
2972 * math/w_atanh.c: Likewise.
2973 * math/w_atanhf.c: Likewise.
2974 * math/w_atanhl.c: Likewise.
2975 * math/w_exp2.c: Likewise.
2976 * math/w_exp2f.c: Likewise.
2977 * math/w_exp2l.c: Likewise.
2978 * math/w_j0.c: Likewise.
2979 * math/w_j0f.c: Likewise.
2980 * math/w_j0l.c: Likewise.
2981 * math/w_j1.c: Likewise.
2982 * math/w_j1f.c: Likewise.
2983 * math/w_j1l.c: Likewise.
2984 * math/w_jn.c: Likewise.
2985 * math/w_jnf.c: Likewise.
2986 * math/w_log.c: Likewise.
2987 * math/w_log10.c: Likewise.
2988 * math/w_log10f.c: Likewise.
2989 * math/w_log10l.c: Likewise.
2990 * math/w_log2.c: Likewise.
2991 * math/w_log2f.c: Likewise.
2992 * math/w_log2l.c: Likewise.
2993 * math/w_logf.c: Likewise.
2994 * math/w_logl.c: Likewise.
2995 * math/w_sqrt.c: Likewise.
2996 * math/w_sqrtf.c: Likewise.
2997 * math/w_sqrtl.c: Likewise.
2998 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2999 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3000 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3001 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3002 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3003
3004 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3005
3006 [BZ #9739]
3007 * manual/string.texi (strnlen): Use correct parameter name in
3008 equivalent expression.
3009
3010 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3011
3012 [BZ #11174]
3013 * manual/users.texi (seteuid): Consistently use neweuid for
3014 argument name.
3015
3016 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3017
3018 [BZ #13704]
3019 * manual/nss.texi (Services in the NSS configuration): Correct
3020 list of services in example configuration file.
3021
3022 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3023
3024 [BZ #11322]
3025 * manual/arith.texi: Remove statements about negative zero
3026 behaving identically to zero.
3027
3028 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3029
3030 [BZ #5993]
3031 * manual/install.texi: Do not document upgrading from libc5.
3032
3033 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3034
3035 [BZ #4596]
3036 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3037
3038 2012-02-18 David S. Miller <davem@davemloft.net>
3039
3040 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3041 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3042 %o7 across the call.
3043 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3044 instead.
3045 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3046 SETUP_PIC_REG_LEAF.
3047 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3048 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3049 * sysdeps/sparc/crtn.S: Likewise.
3050
3051 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3052
3053 * aout/Makefile: Remove.
3054
3055 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3056
3057 [BZ #13058]
3058 * manual/examples/argp-ex1.c (main): Format definition in GNU
3059 style.
3060 * manual/examples/argp-ex2.c (main): Likewise.
3061 * manual/examples/argp-ex3.c (main): Likewise.
3062 * manual/examples/argp-ex4.c (main): Likewise.
3063 * manual/examples/longopt.c (main): Use new-style prototype
3064 definition.
3065 * manual/examples/strncat.c (main): Specify return type and use
3066 (void) for arguments.
3067 * manual/examples/subopt.c (main): Use char **argv argument.
3068
3069 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3070
3071 [BZ #5077]
3072 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3073 rounding modes.
3074
3075 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3076
3077 [BZ #6907]
3078 * manual/string.texi (strchr): Change when strchrnul is
3079 recommended.
3080
3081 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3082
3083 [BZ #174]
3084 * manual/locale.texi (setlocale): Document LOCPATH.
3085
3086 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3087
3088 [BZ #10210]
3089 * manual/process.texi (execle): Move @dots{} before last argument.
3090
3091 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3092
3093 [BZ #12047]
3094 * manual/charset.texi (Generic Charset Conversion): Fix typo
3095 (LC_TYPE -> LC_CTYPE).
3096
3097 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3098
3099 [BZ #5805]
3100 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3101 (scalbnf): Likewise.
3102 (scalbnl): Likewise.
3103 (scalbln): Likewise.
3104 (scalblnf): Likewise.
3105 (scalblnl): Likewise.
3106 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3107 (vwarnx): Likewise.
3108 (verr): Likewise.
3109 (verrx): Likewise.
3110 * manual/filesys.texi (telldir): Use braces around return type.
3111 * manual/llio.texi (mmap): Add space after comma.
3112 (mmap64): Likewise.
3113 * manual/math.texi (jn): Use @var{} on parameter names.
3114 (jnf): Likewise.
3115 (jnl): Likewise.
3116 (yn): Likewise.
3117 (ynf): Likewise.
3118 (ynl): Likewise.
3119 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3120 line.
3121 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3122 "...".
3123 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3124 (sched_get_priority_max): Likewise.
3125 * manual/signal.texi (sigvec): Add space after comma.
3126 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3127 names.
3128 (if_indextoname): Likewise.
3129 (if_freenameindex): Likewise.
3130 (sendto): Use ',' instead of '.' in prototype.
3131 * manual/startup.texi (syscall): Use @dots{} instead of literal
3132 "...".
3133 * manual/stdio.texi (__fpending): Separate initial words of
3134 paragraph from @deftypefun line.
3135 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3136 "...".
3137 (vsyslog): Use @var{} on parameter names.
3138 * manual/terminal.texi (stty): Use @var{} on parameter names.
3139 * manual/users.texi (getutmp): Use @var{} on parameter names.
3140 (getutmpx): Likewise.
3141
3142 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3143
3144 [BZ #6884]
3145 * manual/stdio.texi (fopen): Fix typos in description of
3146 ",ccs=STRING".
3147
3148 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3149
3150 [BZ #4026]
3151 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3152 get clock_id definition.
3153
3154 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3155
3156 [BZ #4822]
3157 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3158 (madvise): Cast every argument to void on its own.
3159
3160 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3161
3162 [BZ #9902]
3163 * manual/startup.texi (Exit Status): Fix typo.
3164
3165 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3166
3167 [BZ #10140]
3168 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3169 * manual/examples/argp-ex2.c: Likewise.
3170 * manual/examples/argp-ex3.c: Likewise.
3171
3172 2012-02-16 Richard Henderson <rth@redhat.com>
3173
3174 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3175 * sysdeps/s390/s390-32/initfini.c: Remove.
3176 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3177 * sysdeps/s390/s390-64/initfini.c: Remove.
3178
3179 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3180
3181 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3182 compiler output for sysdeps/generic/initfini.c.
3183 * sysdeps/sh/elf/initfini.c: Remove file.
3184
3185 2012-02-16 David S. Miller <davem@davemloft.net>
3186
3187 [BZ #11494]
3188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3189
3190 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3191 * sysdeps/sparc/crti.S: New file.
3192 * sysdeps/sparc/crtn.S: New file.
3193 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3194 * sysdeps/sparc/sparc64/Makefile: Likewise.
3195
3196 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3197
3198 [BZ #3335]
3199 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3200
3201 2012-02-15 Roland McGrath <roland@hack.frob.com>
3202
3203 [BZ #4822]
3204 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3205
3206 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3207 (write, read, close): Likewise.
3208 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3209
3210 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3211
3212 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3213 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3214 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3215 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3216 <bits/signalfd.h>.
3217 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3218 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3219 bits/signalfd.h.
3220
3221 2012-02-14 Marek Polacek <polacek@redhat.com>
3222
3223 * sysdeps/x86_64/crti.S: New file.
3224 * sysdeps/x86_64/crtn.S: New file.
3225 * sysdeps/x86_64/elf/initfini.c: Remove file.
3226
3227 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3228
3229 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3230 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3231 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3232 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3233 <bits/inotify.h>.
3234 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3235 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3236 bits/inotify.h.
3237
3238 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3239
3240 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3241 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3242 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3243 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3244 <bits/eventfd.h>.
3245 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3247 bits/eventfd.h.
3248
3249 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3250
3251 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3252 __feraiseexcept instead of feraiseexcept.
3253
3254 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3255 nanosleep invocations.
3256 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3257 strings, and add error checking for a nanosleep invocations.
3258
3259 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3260
3261 Replace FSF snail mail address with URLs, as per GNU coding standards.
3262 Most of the snail mail addresses were wrong anyway, and omitting
3263 them makes the source code easier to maintain. Almost all of the
3264 changes are to license notices and to locale LC_IDENTIFICATION
3265 addresses, except for this one:
3266 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3267 not its snail mail address.
3268
3269 2012-02-09 Richard Henderson <rth@twiddle.net>
3270
3271 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3272 of kernel-features.h.
3273
3274 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3275
3276 2012-02-08 Marek Polacek <polacek@redhat.com>
3277
3278 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3279 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3280 * sysdeps/gnu/_G_config.h: Likewise.
3281 * sysdeps/generic/_G_config.h: Likewise.
3282
3283 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3284
3285 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3286 tests.
3287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3288
3289 * sysdeps/powerpc/powerpc32/crti.S: New file.
3290 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3291 * sysdeps/powerpc/powerpc64/crti.S: New file.
3292 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3293
3294 * Makeconfig (have-initfini): Don't set.
3295 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3296 * configure.in (nopic_initfini): Don't substitute.
3297 * config.h.in (HAVE_INITFINI): Don't #undef.
3298 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3299 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3300
3301 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3302
3303 Support crti.S and crtn.S provided directly by architectures.
3304 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3305 [crti.S in sysdirs] (omit-deps): Likewise.
3306 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3307 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3308 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3309 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3310 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3311 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3312 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3313 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3314 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3315 compiler output for sysdeps/generic/initfini.c.
3316 * sysdeps/i386/elf/Makefile: Remove file.
3317 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3318
3319 2012-02-07 Marek Polacek <polacek@redhat.com>
3320
3321 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3322 * sysdeps/gnu/_G_config.h: Likewise.
3323 * sysdeps/mach/hurd/_G_config.h: Likewise.
3324
3325 2012-02-07 Marek Polacek <polacek@redhat.com>
3326
3327 * math/Makefile (tests): Add tst-CMPLX2.
3328 * math/tst-CMPLX2.c: New file.
3329
3330 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3331
3332 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3333
3334 * math/libm-test.inc (jn_test): Add missing L suffix.
3335
3336 2012-02-06 Marek Polacek <polacek@redhat.com>
3337
3338 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3339 * sysdeps/i386/fpu/e_powf.S: Likewise.
3340 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3341 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3342 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3343 * sysdeps/i386/fpu/e_pow.S: Likewise.
3344 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3345 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3346 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3347 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3348 * sysdeps/i386/fpu/e_log2.S: Likewise.
3349 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3350 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3351 * sysdeps/i386/fpu/e_powl.S: Likewise.
3352 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3353 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3354 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3355 * sysdeps/i386/fpu/e_logl.S: Likewise.
3356 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3357 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3358 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3359 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3360 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3361 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3362 * sysdeps/i386/fpu/e_log.S: Likewise.
3363 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3364 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3365 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3366 * sysdeps/i386/fpu/e_logf.S: Likewise.
3367 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3368 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3369 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3370 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3371 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3372 * sysdeps/i386/fpu/e_log10.S: Likewise.
3373 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3374 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3375 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3376 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3377 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3378 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3379 * sysdeps/i386/asm-syntax.h: Likewise.
3380 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3381 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3382 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3383 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3384 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3385 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3386 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3387 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3388 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3389 * sysdeps/powerpc/sysdep.h: Likewise.
3390 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3391 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3392
3393 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3394
3395 [BZ #411]
3396 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3397
3398 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3399
3400 * sysdeps/i386/sysdep.h: Include <features.h>.
3401 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3402 version.
3403
3404 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3405
3406 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3407 Define.
3408 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3409 LOAD_PIC_REG_STR.
3410
3411 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3412
3413 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3414 (SETUP_PIC_REG): Use GET_PC_THUNK.
3415 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3416 macro.
3417
3418 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3419
3420 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3421 for non-PIC compilation.
3422 (SETUP_PIC_REG): Add .p2align directive.
3423 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3424 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3425 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3426 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3427 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3428 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3429 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3430 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3431 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3432 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3433 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3434 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3435 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3436 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3437 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3438 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3439 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3440 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3441 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3442 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3443 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3444 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3445 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3446 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3447 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3449 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3450 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3451 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3452 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3453 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3454 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3455 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3456 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3457 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3458 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3459 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3460 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3461 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3462 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3463 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3464
3465 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3466
3467 * math/tst-CMPLX.c: Include <stdio.h>.
3468
3469 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3470
3471 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3472 float.
3473 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3474 * sysdeps/sparc/bits/mathdef.h: Likewise.
3475
3476 2012-01-31 Marek Polacek <polacek@redhat.com>
3477
3478 * libio/libio.h: Don't define _PARAMS.
3479 * locale/programs/config.h: Don't define PARAMS.
3480 * stdlib/strtol_l.c: Likewise.
3481 (__strtol_l): Remove PARAMS from the prototype.
3482
3483 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3484
3485 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3486 names. Just use the correct names. Remove unnecessary wrapper
3487 functions.
3488 * malloc/arena.c: Likewise.
3489 * malloc/hooks.c: Likewise.
3490
3491 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3492 ARENA_TEST says not to. Simplify test for creation of a new arena.
3493 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3494
3495 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3496
3497 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3498 into tail calls.
3499 (update_get_addr): New function.
3500 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3501 GET_ADDR_MODULE parameter.
3502
3503 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3504
3505 * crypt/cert.c: Remove __STDC__ conditionals.
3506 * crypt/crypt-entry.c: Likewise.
3507 * crypt/crypt_util.c: Likewise.
3508 * libio/filedoalloc.c: Likewise.
3509 * libio/fileops.c: Likewise.
3510 * libio/genops.c: Likewise.
3511 * libio/iofclose.c: Likewise.
3512 * libio/iofdopen.c: Likewise.
3513 * libio/iofopen.c: Likewise.
3514 * libio/iofopen64.c: Likewise.
3515 * libio/iogetdelim.c: Likewise.
3516 * libio/iopopen.c: Likewise.
3517 * libio/obprintf.c: Likewise.
3518 * libio/oldfileops.c: Likewise.
3519 * libio/oldiofclose.c: Likewise.
3520 * libio/oldiofdopen.c: Likewise.
3521 * libio/oldiofopen.c: Likewise.
3522 * libio/oldiopopen.c: Likewise.
3523 * libio/wfiledoalloc.c: Likewise.
3524 * libio/wgenops.c: Likewise.
3525 * locale/programs/xmalloc.c: Likewise.
3526 * misc/syslog.c: Likewise.
3527 * stdio-common/xbug.c: Likewise.
3528 * string/memchr.c: Likewise.
3529 * string/memcmp.c: Likewise.
3530 * string/memrchr.c: Likewise.
3531 * string/rawmemchr.c: Likewise.
3532 * sysdeps/posix/getcwd.c: Likewise.
3533 * time/strftime_l.c: Likewise.
3534
3535 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3536
3537 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3538 * config.make.in (config-cflags-sse2avx): Define.
3539 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3540 Fix typo.
3541
3542 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3543
3544 * scripts/config.guess: Update from upstream config git repository.
3545 * scripts/config.sub: Likewise.
3546
3547 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3548
3549 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3550 (EM_NUM): Update.
3551 (R_TILEPRO_*, R_TILEGX_*): New macros.
3552
3553 * scripts/firstversions.awk: Fix bug in version range handling.
3554
3555 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3556
3557 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3558
3559 * include/sys/epoll.h: New file.
3560 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3561 libc_hidden_def.
3562
3563 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3564
3565 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3566 Avoid unnecessary __WORDSIZE == 64 test.
3567 (fmaxf): Use VEX format if possible.
3568 (fmax): Likewise.
3569 (fminf): Likewise.
3570 (fmin): Likewise.
3571
3572 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3573 * math/math_private.h: Remove libc_fegetround* and
3574 libc_fesetround*.
3575 * sysdeps/i386/configure.in: Check for -msse2avx.
3576 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3577 also if SSE2AVX is defined.
3578 Remove libc_fegetround* and libc_fesetround*.
3579 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3580 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3581 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3582 of HAS_YMM_USABLE.
3583 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3584 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3585 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3586 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3587 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3588
3589 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3590
3591 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3592
3593 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3594 size is not set.
3595 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3596
3597 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3598
3599 [BZ #13618]
3600 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3601 relocation.
3602 * Makeconfig (libm): Define.
3603 * elf/Makefile: Add rules to build and run tst-relsort1.
3604 * elf/tst-relsort1.c: New file.
3605 * elf/tst-relsort1mod1.c: New file.
3606 * elf/tst-relsort1mod2.c: New file.
3607
3608 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3609
3610 * math/s_ldexp.c: Remove __STDC__ conditionals.
3611 * math/s_ldexpf.c: Likewise.
3612 * math/s_ldexpl.c: Likewise.
3613 * math/s_nextafter.c: Likewise.
3614 * math/s_nexttowardf.c: Likewise.
3615 * math/s_significand.c: Likewise.
3616 * math/s_significandf.c: Likewise.
3617 * math/s_significandl.c: Likewise.
3618 * math/w_jnl.c: Likewise.
3619 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3620 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3621 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3622 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3623 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3624 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3625 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3626 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3627 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3628 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3629 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3630 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3631 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3632 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3633 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3634 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3635 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3636 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3637 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3638 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3639 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3640 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3641 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3642 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3643 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3644 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3645 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3646 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3647 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3648 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3649 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3650 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3651 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3652 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3653 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3654 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3655 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3656 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3657 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3658 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3659 * sysdeps/ieee754/k_standard.c: Likewise.
3660 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3661 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3662 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3663 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3664 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3665 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3666 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3667 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3668 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3669 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3670 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3671 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3672 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3673 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3674 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3675 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3676 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3677 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3678 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3679 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3680 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3681 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3682 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3683 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3684 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3685 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3686 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3687 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3689 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3690 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3691 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3692 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3693 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3708 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3721 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3722 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3725 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3726 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3728 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3729 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3731 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3734 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3735 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3739 * sysdeps/ieee754/s_matherr.c: Likewise.
3740 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3741 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3742 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3743 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3744
3745 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3746
3747 * crypt/md5.h: Remove __STDC__ conditionals.
3748 * libio/libioP.h: Likewise.
3749 * locale/programs/config.h: Likewise.
3750 * sysdeps/generic/sysdep.h: Likewise.
3751 * sysdeps/i386/asm-syntax.h: Likewise.
3752 * sysdeps/s390/asm-syntax.h: Likewise.
3753 * sysdeps/unix/sysdep.h: Likewise.
3754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3756
3757 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3758
3759 * libio/libio.h: Remove __STDC__ conditionals.
3760 * malloc/obstack.h: Likewise.
3761 * math/complex.h: Likewise.
3762 * math/math.h: Likewise.
3763 * sysdeps/generic/_G_config.h: Likewise.
3764 * sysdeps/gnu/_G_config.h: Likewise.
3765 * sysdeps/mach/hurd/_G_config.h: Likewise.
3766 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3767 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3768 * sysdeps/sparc/bits/mathdef.h: Likewise.
3769
3770 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3771
3772 [BZ #13583]
3773 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3774 Clean up HAS_* macros.
3775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3776 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3777 possible.
3778 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3779 HAS_AVX.
3780 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3781 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3782 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3783 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3784 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3785
3786 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3787
3788 * elf/tst-unique3.cc (gets): Remove declaration.
3789 * elf/tst-unique3lib.cc (gets): Likewise.
3790 * elf/tst-unique3lib2.cc (gets): Likewise.
3791 * elf/tst-unique4.cc (gets): Likewise.
3792
3793 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3794
3795 * include/stdio.h: Add C++ protection. Add gets declarations and
3796 definitions.
3797 * debug/tst-chk1.c: Don't declare gets here.
3798 * stdio-common/tst-gets.c: Likewise.
3799
3800 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3801
3802 * posix/glob: Remove directory.
3803
3804 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3805
3806 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3807
3808 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3809
3810 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3811 of the non-standard EPFNOSUPPORT.
3812
3813 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3814
3815 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3816 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3817 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3818
3819 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3820
3821 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3822
3823 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3824
3825 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3826 transient errors.
3827 * nscd/grpcache.c (cache_addgr): Likewise.
3828 * nscd/hstcache.c (cache_addhst): Likewise.
3829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3830 * nscd/pwdcache.c (cache_addpw): Likewise.
3831 * nscd/servicescache.c (cache_addserv): Likewise.
3832
3833 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3834
3835 * malloc/malloc.c: Various cleanups.
3836 * malloc/hooks.c: Likewise.
3837
3838 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3839 * stdlib/bug-fmtmsg1.c: New file.
3840
3841 * stdlib/fmtmsg.c (init): Add missing unlock.
3842 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3843
3844 2012-01-12 Marek Polacek <polacek@redhat.com>
3845
3846 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3847 and _GNU_SOURCE.
3848
3849 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3850
3851 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3852 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3853 macro to ensure uniqueness of label name.
3854 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3855 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3856
3857 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3858
3859 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3860
3861 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3862 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3863 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3864 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3865
3866 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3867
3868 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3869
3870 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3871 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3872 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3873
3874 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3875
3876 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3877 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3878 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3880
3881 * math/bits/math-finite.h: Add ldexp support.
3882
3883 2012-01-10 Marek Polacek <polacek@redhat.com>
3884
3885 * locale/programs/localedef.h (show_archive_content): Add noreturn
3886 attribute.
3887
3888 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3889
3890 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3891
3892 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3893
3894 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3895
3896 * io/Makefile (headers): Add bits/poll2.h.
3897
3898 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3899
3900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3901 typo #include statement.
3902
3903 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3904
3905 * include/sys/cdefs.h: Define __attribute_alloc_size.
3906 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3907 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3908 * elf/pldd.c: Likewise.
3909 * iconv/iconv_charmap.c: Likewise.
3910 * iconv/iconvconfig.c: Likewise.
3911 * iconv/strtab.c: Likewise.
3912 * locale/programs/locale.c: Likewise.
3913 * locale/programs/localedef.h: Likewise.
3914 * locale/programs/simple-hash.c: Likewise.
3915 * nscd/nscd.h: Likewise.
3916 * nss/makedb.c: Likewise.
3917 * sysdeps/generic/ldconfig.h: Likewise.
3918 * locale/programs/localedef.c: Remove xmalloc prototype.
3919 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3920
3921 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3922
3923 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3924 appropriate.
3925
3926 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3927
3928 * math/Makefile (tests): Add tst-CMPLX.
3929 * math/tst-CMPLX.c: New file.
3930
3931 * math/complex.h (CMPLXL): Fix typo.
3932
3933 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3934 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3935 GLIBC_2.16.
3936 * debug/tst-chk1.c: Add poll and ppoll tests.
3937 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3938 * include/sys/poll.h: Add hidden proto for ppoll.
3939 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3940 * sysdeps/mach/hurd/ppoll.c: Likewise.
3941 * io/ppoll.c: Likewise.
3942 * debug/poll_chk.c: New file.
3943 * debug/ppoll_chk.c: New file.
3944 * include/bits/poll2.h: New file.
3945 * io/bits/poll2.h: New file.
3946
3947 [BZ #1350]
3948 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3949
3950 * configure.in: static is always set to yes. Remove.
3951 * config.make.in: Don't set build-static.
3952 * Makeconfig: Remove use of build-static.
3953 * dlfcn/Makefile: Likewise.
3954 * elf/Makefile: Likewise.
3955 * math/Makefile: Likewise.
3956 * misc/Makefile: Likewise.
3957 * nptl/Makefile: Likewise.
3958 * sysdeps/mach/hurd/Makefile: Likewise.
3959
3960 * configure.in: PWD_P is not used anymore.
3961 * config.make.in: Remove PWD_P entry.
3962
3963 * configure.in: Remove last remnants of RANLIB.
3964 No need to check for signed size_t anymore.
3965 Don't set libc_commonpagesize and libc_relro_required here for Alpha
3966 and IA-64.
3967 Remove __builtin_expect test because we require at least gcc 3.4.
3968 * aclocal.m4: Likewise.
3969
3970 * wcsmbs/mbrtoc16.c: Implement using towc function.
3971 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
3972 * wcsmbs/wcsmbsload.c: Likewise.
3973 * iconv/gconv_simple.c: Likewise.
3974 * iconv/gconv_int.h: Likewise.
3975 * iconv/gconv_builtin.h: Likewise.
3976 * iconv/iconv_prog.c: Remove CHAR16 handling.
3977
3978 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
3979
3980 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
3981
3982 * configure.in: Remove --with-elf and --enable-bounded options.
3983 Dont set base_machine for ia64. More non-ELF conditions removed.
3984 Remove testing and setting of leading underscore information.
3985 * config.make.in (build-bounded): Set to no.
3986 * config.h.in: Remove NO_UNDERSCORES entry.
3987 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
3988 them.
3989 * csu/start.c: Remove !NO_UNDERSCORE code.
3990 * locale/localeinfo.h: Likewise.
3991 * sysdeps/generic/machine-gmon.h: Likewise.
3992 * sysdeps/generic/sysdep.h: Likewise.
3993 * sysdeps/i386/sysdep.h: Likewise.
3994 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
3995 * sysdeps/mach/sysdep.h: Likewise.
3996 * sysdeps/s390/s390-32/sysdep.h: Likewise.
3997 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3998 * sysdeps/sh/sysdep.h: Likewise.
3999 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4000 * sysdeps/unix/i386/sysdep.S: Likewise.
4001 * sysdeps/unix/sparc/start.c: Likewise.
4002 * sysdeps/unix/sparc/sysdep.S: Likewise.
4003 * sysdeps/unix/sparc/sysdep.h: Likewise.
4004 * sysdeps/unix/start.c: Likewise.
4005 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4006 * sysdeps/x86_64/sysdep.h: Likewise.
4007
4008 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4009
4010 [BZ #13553]
4011 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4012 for non-gcc.
4013 * argp/argp-fmtstream.h: Use const instead __const.
4014 * argp/argp.h: Likewise.
4015 * assert/assert.h: Likewise.
4016 * bits/fenv.h: Likewise.
4017 * bits/sched.h: Likewise.
4018 * bits/sigset.h: Likewise.
4019 * bits/sigthread.h: Likewise.
4020 * catgets/nl_types.h: Likewise.
4021 * conform/data/pthread.h-data: Likewise.
4022 * crypt/crypt-private.h: Likewise.
4023 * crypt/crypt.h: Likewise.
4024 * crypt/crypt_util.c: Likewise.
4025 * ctype/ctype.h: Likewise.
4026 * debug/execinfo.h: Likewise.
4027 * debug/mbsnrtowcs_chk.c: Likewise.
4028 * debug/mbsrtowcs_chk.c: Likewise.
4029 * debug/wcsnrtombs_chk.c: Likewise.
4030 * debug/wcsrtombs_chk.c: Likewise.
4031 * debug/wcstombs_chk.c: Likewise.
4032 * dirent/dirent.h: Likewise.
4033 * dlfcn/dlfcn.h: Likewise.
4034 * elf/neededtest4.c: Likewise.
4035 * grp/grp.h: Likewise.
4036 * gshadow/gshadow.h: Likewise.
4037 * iconv/gconv.h: Likewise.
4038 * iconv/gconv_int.h: Likewise.
4039 * iconv/gconv_simple.c: Likewise.
4040 * iconv/iconv.h: Likewise.
4041 * iconv/loop.c: Likewise.
4042 * iconv/skeleton.c: Likewise.
4043 * include/aio.h: Likewise.
4044 * include/aliases.h: Likewise.
4045 * include/argz.h: Likewise.
4046 * include/arpa/inet.h: Likewise.
4047 * include/assert.h: Likewise.
4048 * include/dirent.h: Likewise.
4049 * include/dlfcn.h: Likewise.
4050 * include/execinfo.h: Likewise.
4051 * include/fcntl.h: Likewise.
4052 * include/fenv.h: Likewise.
4053 * include/glob.h: Likewise.
4054 * include/grp.h: Likewise.
4055 * include/libintl.h: Likewise.
4056 * include/mntent.h: Likewise.
4057 * include/netdb.h: Likewise.
4058 * include/pwd.h: Likewise.
4059 * include/rpc/netdb.h: Likewise.
4060 * include/sched.h: Likewise.
4061 * include/search.h: Likewise.
4062 * include/shadow.h: Likewise.
4063 * include/signal.h: Likewise.
4064 * include/stdio.h: Likewise.
4065 * include/stdlib.h: Likewise.
4066 * include/string.h: Likewise.
4067 * include/sys/socket.h: Likewise.
4068 * include/sys/stat.h: Likewise.
4069 * include/sys/statfs.h: Likewise.
4070 * include/sys/statvfs.h: Likewise.
4071 * include/sys/syslog.h: Likewise.
4072 * include/sys/time.h: Likewise.
4073 * include/sys/uio.h: Likewise.
4074 * include/time.h: Likewise.
4075 * include/unistd.h: Likewise.
4076 * include/utmp.h: Likewise.
4077 * include/wchar.h: Likewise.
4078 * include/wctype.h: Likewise.
4079 * inet/aliases.h: Likewise.
4080 * inet/arpa/inet.h: Likewise.
4081 * inet/netinet/ether.h: Likewise.
4082 * inet/netinet/in.h: Likewise.
4083 * intl/libintl.h: Likewise.
4084 * io/bits/fcntl2.h: Likewise.
4085 * io/fcntl.h: Likewise.
4086 * io/ftw.h: Likewise.
4087 * io/sys/poll.h: Likewise.
4088 * io/sys/stat.h: Likewise.
4089 * io/sys/statfs.h: Likewise.
4090 * io/sys/statvfs.h: Likewise.
4091 * io/utime.h: Likewise.
4092 * libio/bits/stdio.h: Likewise.
4093 * libio/bits/stdio2.h: Likewise.
4094 * libio/libio.h: Likewise.
4095 * libio/libioP.h: Likewise.
4096 * libio/stdio.h: Likewise.
4097 * locale/lc-ctype.c: Likewise.
4098 * locale/locale.h: Likewise.
4099 * login/utmp.h: Likewise.
4100 * malloc/arena.c: Likewise.
4101 * malloc/malloc.c: Likewise.
4102 * malloc/malloc.h: Likewise.
4103 * malloc/mcheck.c: Likewise.
4104 * malloc/mtrace.c: Likewise.
4105 * math/bits/mathcalls.h: Likewise.
4106 * math/fenv.h: Likewise.
4107 * math/math_private.h: Likewise.
4108 * misc/bits/error.h: Likewise.
4109 * misc/bits/syslog.h: Likewise.
4110 * misc/err.h: Likewise.
4111 * misc/error.h: Likewise.
4112 * misc/fstab.h: Likewise.
4113 * misc/mntent.h: Likewise.
4114 * misc/regexp.h: Likewise.
4115 * misc/search.h: Likewise.
4116 * misc/sgtty.h: Likewise.
4117 * misc/sys/mman.h: Likewise.
4118 * misc/sys/syslog.h: Likewise.
4119 * misc/sys/uio.h: Likewise.
4120 * misc/sys/xattr.h: Likewise.
4121 * misc/ttyent.h: Likewise.
4122 * nis/rpcsvc/ypclnt.h: Likewise.
4123 * nss/nss.h: Likewise.
4124 * posix/bits/unistd.h: Likewise.
4125 * posix/fnmatch.h: Likewise.
4126 * posix/glob.h: Likewise.
4127 * posix/sched.h: Likewise.
4128 * posix/spawn.h: Likewise.
4129 * posix/sys/wait.h: Likewise.
4130 * posix/unistd.h: Likewise.
4131 * posix/wordexp.h: Likewise.
4132 * pwd/pwd.h: Likewise.
4133 * resolv/netdb.h: Likewise.
4134 * resource/sys/resource.h: Likewise.
4135 * rt/aio.h: Likewise.
4136 * rt/bits/mqueue2.h: Likewise.
4137 * rt/mqueue.h: Likewise.
4138 * shadow/shadow.h: Likewise.
4139 * signal/signal.h: Likewise.
4140 * socket/send.c: Likewise.
4141 * socket/sendto.c: Likewise.
4142 * socket/sys/socket.h: Likewise.
4143 * stdio-common/printf.h: Likewise.
4144 * stdlib/bits/stdlib.h: Likewise.
4145 * stdlib/fmtmsg.h: Likewise.
4146 * stdlib/monetary.h: Likewise.
4147 * stdlib/stdlib.h: Likewise.
4148 * stdlib/ucontext.h: Likewise.
4149 * streams/stropts.h: Likewise.
4150 * string/argz.h: Likewise.
4151 * string/bits/string2.h: Likewise.
4152 * string/string.h: Likewise.
4153 * string/strings.h: Likewise.
4154 * sunrpc/rpc/auth.h: Likewise.
4155 * sunrpc/rpc/auth_des.h: Likewise.
4156 * sunrpc/rpc/clnt.h: Likewise.
4157 * sunrpc/rpc/netdb.h: Likewise.
4158 * sunrpc/rpc/pmap_clnt.h: Likewise.
4159 * sunrpc/rpc/xdr.h: Likewise.
4160 * sysdeps/generic/inttypes.h: Likewise.
4161 * sysdeps/generic/net/if.h: Likewise.
4162 * sysdeps/generic/sys/swap.h: Likewise.
4163 * sysdeps/gnu/net/if.h: Likewise.
4164 * sysdeps/gnu/utmpx.h: Likewise.
4165 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4166 * sysdeps/i386/i486/bits/string.h: Likewise.
4167 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4168 * sysdeps/s390/bits/string.h: Likewise.
4169 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4170 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4171 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4172 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4173 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4174 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4175 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4176 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4177 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4178 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4179 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4180 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4181 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4182 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4183 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4184 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4185 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4187 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4188 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4189 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4190 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4191 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4192 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4193 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4194 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4195 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4196 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4197 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4198 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4199 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4200 * sysvipc/sys/ipc.h: Likewise.
4201 * sysvipc/sys/msg.h: Likewise.
4202 * sysvipc/sys/sem.h: Likewise.
4203 * sysvipc/sys/shm.h: Likewise.
4204 * termios/termios.h: Likewise.
4205 * time/sys/time.h: Likewise.
4206 * time/time.h: Likewise.
4207 * wcsmbs/bits/wchar2.h: Likewise.
4208 * wcsmbs/uchar.h: Likewise.
4209 * wcsmbs/wchar.h: Likewise.
4210 * wctype/wctype.h: Likewise.
4211
4212 [BZ #13551]
4213 * Makeconfig: Remove all but ELF support including AIX support.
4214 * Makerules: Likewise.
4215 * config.h.in: Likewise.
4216 * config.make.in: Likewise.
4217 * configure: Likewise.
4218 * configure.in: Likewise.
4219 * csu/Makefile: Likewise.
4220 * csu/version.c: Likewise.
4221 * debug/Makefile: Likewise.
4222 * dlfcn/Makefile: Likewise.
4223 * elf/Makefile: Likewise.
4224 * extra-lib.mk: Likewise.
4225 * iconv/Makefile: Likewise.
4226 * include/libc-symbols.h: Likewise.
4227 * include/shlib-compat.h: Likewise.
4228 * resolv/Makefile: Likewise.
4229 * resolv/res_libc.c: Likewise.
4230 * rt/Makefile: Likewise.
4231 * sysdeps/i386/asm-syntax.h: Likewise.
4232 * sysdeps/i386/sysdep.h: Likewise.
4233 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4234 * sysdeps/mach/sysdep.h: Likewise.
4235 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4236 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4237 * sysdeps/s390/asm-syntax.h: Likewise.
4238 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4239 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4240 * sysdeps/sh/sysdep.h: Likewise.
4241 * sysdeps/unix/sparc/sysdep.h: Likewise.
4242 * sysdeps/wordsize-32/divdi3.c: Likewise.
4243 * sysdeps/x86_64/sysdep.h: Likewise.
4244
4245 * argp/Versions: Remove _argp_unlock_xxx.
4246
4247 [BZ #13559]
4248 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4249 * abilist/libBrokenLocale.abilist: Likewise.
4250 * abilist/libanl.abilist: Likewise.
4251 * abilist/libc.abilist: Likewise.
4252 * abilist/libcrypt.abilist: Likewise.
4253 * abilist/libdl.abilist: Likewise.
4254 * abilist/libm.abilist: Likewise.
4255 * abilist/libnsl.abilist: Likewise.
4256 * abilist/libpthread.abilist: Likewise.
4257 * abilist/libresolv.abilist: Likewise.
4258 * abilist/librt.abilist: Likewise.
4259 * abilist/libthread_db.abilist: Likewise.
4260 * abilist/libutil.abilist: Likewise.
4261 * abilist/libnss_db.abilist: New file.
4262
4263 * scripts/abilist.awk: Add support for indirect functions.
4264
4265 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4266
4267 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4268
4269 * shlib-versions: Remove entries for ports architectures.
4270
4271 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4272 files in ports.
4273 * elf/stackguard-macros.h: Remove support for IA-64.
4274 * elf/tst-auditmod1.c: Likewise.
4275 * sysdeps/generic/ldsodefs.h: Likewise.
4276
4277 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4278 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4279 configure files.
4280
4281 [BZ #13552]
4282 * configure.in: Remove --enable-omitfp support.
4283 * FAQ.in: Adjust.
4284 * config.make.in: Likewise.
4285 * Makeconfig: Likewise.
4286 * manual/install.texi: Likewise.
4287
4288 In case anyone cares, the IA-64 architecture could move to ports.
4289 * sysdeps/ia64/*: Removed.
4290 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4291 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4292
4293 [BZ #13555]
4294 * configure.in: Remove entries for unsupported architectures.
4295
4296 [BZ #13533]
4297 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4298 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4299 routines.
4300 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4301 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4302 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4303 fall back to using wcrtomb.
4304 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4305 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4306 renaming.
4307 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4308 * wcsmbs/tst-c16c32-1.c: New file.
4309
4310 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4311 local variable.
4312
4313 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4314
4315 * elf/tst-unique3.cc: Add explicit declaration of gets.
4316 * elf/tst-unique3lib.cc: Likewise.
4317 * elf/tst-unique3lib2.cc: Likewise.
4318 * elf/tst-unique4.cc: Likewise.
4319
4320 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4321
4322 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4323
4324 [BZ #13566]
4325 * assert/assert.h (static_assert): Don't define for C++.
4326 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4327 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4328
4329 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4330
4331 * iconv/loop.c (single loop): Fix assertion in storing of
4332 remaining bytes.
4333
4334 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4335
4336 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4337
4338 * posix/getconf.c: Update copyright year.
4339 * nss/getent.c: Likewise.
4340 * nss/makedb.c: Likewise.
4341 * iconv/iconvconfig.c: Likewise.
4342 * iconv/iconv_prog.c: Likewise.
4343 * elf/ldconfig.c: Likewise.
4344 * elf/pldd.c: Likewise.
4345 * elf/sotruss.ksh: Likewise.
4346 * catgets/gencat.c: Likewise.
4347 * csu/version.c: Likewise.
4348 * elf/ldd.bash.in: Likewise.
4349 * elf/sprof.c (print_version): Likewise.
4350 * locale/programs/locale.c: Likewise.
4351 * locale/programs/localedef.c: Likewise.
4352 * login/programs/pt_chown.c: Likewise.
4353 * nscd/nscd.c (print_version): Likewise.
4354 * debug/xtrace.sh: Likewise.
4355 * malloc/memusage.sh: Likewise.
4356 * malloc/mtrace.pl: Likewise.
4357 * debug/catchsegv.sh: Likewise.
4358
4359 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4360
4361 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4362 pure attribute.
4363
4364 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4365
4366 [BZ #13533]
4367 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4368 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4369 transformations.
4370 * iconv/gconv_int.h: Likewise.
4371 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4372 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4373 from libc for GLIBC_2.16.
4374 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4375 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4376 * wcsmbs/uchar.h: Really define mbstate_t.
4377 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4378 * wcsmbs/c16rtomb.c: New file.
4379 * wcsmbs/mbrtoc16.c: New file.
4380 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4381 for C/POSIX locale.
4382 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4383 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4384
4385 * wcsmbs/wchar.h: Add missing __restrict.
4386
4387 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4388
4389 [BZ #13532]
4390 * time/Makefile (routines): Add timespec_get.
4391 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4392 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4393 timespec for ISO C11.
4394 * time/timespec_get.c: New file.
4395 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4396 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4397
4398 [BZ #13531]
4399 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4400 * stdlib/stdlib.h: Declare aligned_alloc.
4401 * Versions.def: Add GLIBC_2.16 for libc.
4402 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4403
4404 [BZ 13527]
4405 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4406 ISO C11.
4407
4408 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4409 code.
4410
4411 [BZ #13528]
4412 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4413
4414 [BZ #13529]
4415 * assert/assert.h (static_assert): Define.
4416
4417 * version.h: Update for 2.16 development version.
4418
4419 [BZ #13526]
4420 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4421 _ISOC11_SOURCE.
4422
4423 * version.h (RELEASE): Bump for 2.15 release.
4424 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4425
4426 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4427 Patch by Marek Polacek <mpolacek@redhat.com>.
4428
4429 * bits/byteswap.h: Protect long long constants with __extension__.
4430 * sysdeps/i386/bits/byteswap.h: Likewise.
4431 * sysdeps/ia64/bits/byteswap.h: Likewise.
4432 * sysdeps/s390/bits/byteswap.h: Likewise.
4433 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4434
4435 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4436
4437 [BZ #13540]
4438 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4439 destination buffer.
4440 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4441
4442 2011-12-23 Marek Polacek <polacek@redhat.com>
4443
4444 * elf/dl-addr.c (determine_info): Add inline keyword.
4445 * elf/tst-auditmod4b.c (check_avx): Likewise.
4446 * elf/tst-auditmod6b.c (check_avx): Likewise.
4447 * elf/tst-auditmod6c.c (check_avx): Likewise.
4448 * elf/tst-auditmod7b.c (check_avx): Likewise.
4449
4450 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4451
4452 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4453 !__SSE_MATH__.
4454
4455 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4456
4457 [BZ #13540]
4458 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4459 processing for last bytes.
4460
4461 2011-08-06 Bruno Haible <bruno@clisp.org>
4462
4463 [BZ #13061]
4464 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4465 U+0385, not to U+1FEE.
4466
4467 [BZ #13062]
4468 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4469 entry for U+00A5 U+0301.
4470
4471 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4472
4473 [BZ #13166]
4474 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4475 buffer for the output is too small.
4476
4477 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4478 optimization.
4479
4480 [BZ #13185]
4481 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4482 SSE flags if possible.
4483
4484 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4485
4486 [BZ #13540]
4487 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4488 processing for last bytes.
4489
4490 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4491
4492 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4493 (syscall-list-default-options, syscall-list-default-condition)
4494 (syscall-list-includes): Define.
4495 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4496 list of ABIs and options and #if conditions for each ABI. Do not
4497 handle common syscalls between ABIs specially.
4498 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4499 Remove.
4500 (syscall-list-variants, syscall-list-32bit-options)
4501 (syscall-list-32bit-condition, syscall-list-64bit-options)
4502 (syscall-list-64bit-condition): Define.
4503 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4504 (syscall-list-variants, syscall-list-32bit-options)
4505 (syscall-list-32bit-condition, syscall-list-64bit-options)
4506 (syscall-list-64bit-condition): Define.
4507 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4508 Remove.
4509 (syscall-list-variants, syscall-list-32bit-options)
4510 (syscall-list-32bit-condition, syscall-list-64bit-options)
4511 (syscall-list-64bit-condition): Define.
4512 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4513 Remove.
4514 (syscall-list-variants, syscall-list-32bit-options)
4515 (syscall-list-32bit-condition, syscall-list-64bit-options)
4516 (syscall-list-64bit-condition): Define.
4517
4518 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4519
4520 * locale/iso-639.def: Add brx entry.
4521
4522 [BZ #13328]
4523 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4524 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4525
4526 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4527 __feraiseexcept_renamed.
4528
4529 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4530
4531 [BZ #13538]
4532 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4533 EPOLLET with unsigned values.
4534 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4535 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4536
4537 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4538 to large cancellation.
4539 * math/s_cacoshf.c: Likewise.
4540 * math/s_cacoshl.c: Likewise.
4541
4542 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4543
4544 [BZ #13305]
4545 [BZ #12786]
4546 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4547 * math/s_cacoshf.c: Likewise.
4548 * math/s_cacoshl.c: Likewise.
4549
4550 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4551
4552 [BZ #13439]
4553 * iconv/gconv.h: Define __GCONV_SWAP.
4554 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4555 * iconvdata/utf-16.c: Likewise.
4556 * iconvdata/utf-32.c: Likewise.
4557
4558 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4559
4560 [BZ #13524]
4561 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4562 numerator after shifting it by one limb.
4563
4564 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4565
4566 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4567 under [__USE_EXTERN_INLINES].
4568
4569 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4570
4571 [BZ #13446]
4572 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4573
4574 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4575
4576 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4577 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4578 optimized code.
4579 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4580 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4581 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4582 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4583 for strncasecmp/strncasecmp_l compilation.
4584 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4585 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4586
4587 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4588
4589 [BZ #13484]
4590 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4591 of __asm__.
4592
4593 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4594
4595 [BZ #13506]
4596 * time/tzfile.c (__tzfile_read): Check values from file header.
4597
4598 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4599
4600 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4601 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4602 * powerpc/powerpc32/dl-start.S: Likewise.
4603 * powerpc/powerpc32/elf/start.S: Likewise.
4604 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4605 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4606 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4607 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4608 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4609 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4610 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4611 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4612 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4613 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4614 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4615 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4616 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4617 * powerpc/powerpc32/memset.S: Likewise.
4618 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4619 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4620 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4621 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4622 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4623 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4624 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4625 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4626 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4627 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4628 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4629 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4630 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4631
4632 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4633
4634 * math/libm-test.inc: Added more nearbyint tests.
4635 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4636 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4637 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4638 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4639
4640 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4641
4642 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4643 FD_CLOEXEC.
4644
4645 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4646
4647 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4648 Add wcscpy-ssse3 wcscpy-c.
4649 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4650 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4651 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4652 * sysdeps/x86_64/wcschr.S: New file.
4653 * sysdeps/x86_64/wcsrchr.S: New file.
4654 * string/test-strcmp.c: Remove checking of wcscmp function for
4655 wrong alignments.
4656 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4657 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4658 wcsrchr-sse2 wcsrchr-c.
4659 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4660 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4661 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4662 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4663 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4664 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4665 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4666 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4667 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4668 * wcsmbc/wcschr.c (WCSCHR): New macro.
4669
4670 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4671
4672 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4673 * wcsmbs/test-wcsrchr.c: New file.
4674 * string/test-strrchr.c: Add wcsrchr support.
4675 (WIDE): New macro.
4676 * wcsmbs/test-wcscpy.c: New file.
4677 * string/test-strcpy.c: Add wcscpy support.
4678 (WIDE): New macro.
4679
4680 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4681
4682 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4683 the inner loop.
4684
4685 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4686
4687 [BZ #13472]
4688 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4689
4690 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4691
4692 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4693 Minor optimizations.
4694
4695 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4696 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4697 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4698
4699 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4700
4701 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4702 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4703 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4704 for gcc to avoid warnings.
4705 * inet/Makefile (tests): Add tst-checks.
4706 * inet/tst-checks.c: New file.
4707
4708 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4709 warning.
4710
4711 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4712 __wmemcmp_sse2.
4713
4714 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4715 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4716
4717 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4718
4719 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4720
4721 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4722 problem.
4723
4724 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4725
4726 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4727
4728 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4729 conditional on GCC version.
4730 (__arch_compare_and_exchange_val_8_acq)
4731 (__arch_compare_and_exchange_val_16_acq)
4732 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4733 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4734 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4735
4736 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4737
4738 * sysdeps/sh/backtrace.c: New file.
4739
4740 2011-12-02 Andreas Schwab <schwab@redhat.com>
4741
4742 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4743 parenthesis.
4744
4745 2011-12-01 Andreas Schwab <schwab@redhat.com>
4746
4747 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4748 falling back to utime.
4749
4750 2011-11-30 Andreas Schwab <schwab@redhat.com>
4751
4752 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4753 expectations for float.
4754
4755 2011-11-29 Andreas Schwab <schwab@redhat.com>
4756
4757 * locale/weight.h (findidx): Add parameter len.
4758 * locale/weightwc.h (findidx): Likewise.
4759 * posix/fnmatch_loop.c (FCT): Adjust caller.
4760 * posix/regcomp.c (build_equiv_class): Likewise.
4761 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4762 * posix/regexec.c (check_node_accept_bytes): Likewise.
4763 * string/strcoll_l.c (STRCOLL): Likewise.
4764 * string/strxfrm_l.c (STRXFRM): Likewise.
4765
4766 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4767
4768 * Makefile.in: Remove CVSOPT handling.
4769 * configure.in: Remove use of AC_REVISION.
4770 * iconvdata/Makefile (distribute): No need to filter out CVS.
4771 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4772 handling.
4773
4774 2011-11-16 Andreas Schwab <schwab@redhat.com>
4775
4776 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4777 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4778 [USE_AS_STRNCASECMP_L]: Likewise.
4779 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4780 NO_TLS_DIRECT_SEG_REFS.
4781 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4782 Fix argument offsets for non-PIC.
4783 [USE_AS_STRNCASECMP_L]: Likewise.
4784 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4785 NO_TLS_DIRECT_SEG_REFS.
4786
4787 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4788
4789 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4790 O_CLOEXEC.
4791 * locale/loadlocale.c (_nl_load_locale): Likewise.
4792
4793 2011-11-15 Andreas Schwab <schwab@redhat.com>
4794
4795 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4796 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4797 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4798 (SYSCALL_GETTIME): Set errno on error.
4799
4800 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4801 count references to noai6ai_cached.
4802
4803 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4804
4805 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4806
4807 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4808 FD_CLOEXEC for /proc/self/maps.
4809
4810 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4811 FD_CLOEXEC for /proc/meminfo.
4812
4813 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4814 gai.conf.
4815
4816 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4817 FD_CLOEXEC for given file.
4818
4819 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4820
4821 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4822 FD_CLOEXEC for /etc/hosts.
4823 (_gethtent): Likewise.
4824
4825 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4826
4827 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4828 cancellation and set FD_CLOEXEC for /etc/netgroup.
4829
4830 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4831 reading /etc/publickey.
4832
4833 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4834 allow cancellation when reading /etc/group.
4835
4836 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4837 cancellation.
4838 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4839
4840 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4841 when using data file.
4842
4843 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4844
4845 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4846 (write_nis_obj): Use "c" and "e" in fopen.
4847
4848 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4849
4850 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4851
4852 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4853
4854 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4855
4856 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4857 locale.alias.
4858
4859 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4860
4861 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4862
4863 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4864
4865 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4866 file parsing and set FD_CLOEXEC.
4867
4868 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4869
4870 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4871
4872 2011-11-14 Andreas Schwab <schwab@redhat.com>
4873
4874 * malloc/arena.c (arena_get2): Don't call reused_arena when
4875 _int_new_arena failed.
4876
4877 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4878
4879 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4880 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4881 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4882 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4883 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4884 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4885 to compile strcasecmp and strncasecmp.
4886 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4887 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4888
4889 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4890
4891 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4892
4893 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4894 locale-defines.sym to gen-as-const-headers.
4895 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4896 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4897 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4898 to compile strcasecmp and strncasecmp.
4899 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4900 strcasecmp_l and strncasecmp_l.
4901 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4902 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4903 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4904 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4905 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4906 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4907 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4908 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4909 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4910 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4911 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4912
4913 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4914
4915 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4916 result of SYSDEP_GETTIME_CPU to retval.
4917 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4918 parameter list to macro. Remove trailing semicolon. Adjust users.
4919
4920 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4921 variable.
4922
4923 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4924 mantissa words.
4925 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4926
4927 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4928 from unused variable.
4929
4930 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4931 DWARF definitions.
4932 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4933 for assembling.
4934
4935 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4936 over namespaces.
4937
4938 * sunrpc/rpc_prot.c (rejected): Fix case value.
4939
4940 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4941 unsigned long long int to avoid warnings in shift.
4942
4943 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4944 of use of trans.
4945 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4946 variable tmp.
4947
4948 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4949 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4950 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4951
4952 * nis/nis_table.c (nis_list): Use variable of correct type for
4953 result of __follow_path call.
4954
4955 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4956
4957 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4958 of math functions ceil, trunc, floor, round, and sqrt, when
4959 avaliable on the platform.
4960 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4961 name clash.
4962 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4963 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4964 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4965
4966 2011-10-30 Marek Polacek <mpolacek@redhat.com>
4967
4968 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
4969 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
4970
4971 2011-11-11 Roland McGrath <roland@hack.frob.com>
4972
4973 * include/unistd.h: Fix __readlink return type.
4974 Reported by Chris Metcalf <cmetcalf@tilera.com>.
4975
4976 2011-11-11 Ulrich Drepper <drepper@gmail.com>
4977
4978 * stdlib/ucontext.h: Undo last change for makecontext.
4979
4980 2011-11-11 Andreas Schwab <schwab@redhat.com>
4981
4982 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
4983
4984 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
4985 * setjmp/setjmp.h: Mark functions as non-leaf.
4986 * setjmp/bits/setjmp2.h: Likewise.
4987 * stdlib/ucontext.h: Likewise.
4988
4989 2011-11-10 Andreas Schwab <schwab@redhat.com>
4990
4991 * malloc/arena.c (_int_new_arena): Don't increment narenas.
4992 (reused_arena): Don't check arena limit.
4993 (arena_get2): Atomically check arena limit.
4994
4995 2011-11-08 Ulrich Drepper <drepper@gmail.com>
4996
4997 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
4998 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
4999
5000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5001 instructions.
5002
5003 2011-11-07 Andreas Schwab <schwab@redhat.com>
5004
5005 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5006 handler when locking.
5007
5008 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5009 Fix size of allocated buffer.
5010
5011 2011-11-04 Andreas Schwab <schwab@redhat.com>
5012
5013 [BZ #10103]
5014 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5015 declarations for long double functions.
5016 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5017
5018 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5019
5020 2011-11-03 Andreas Schwab <schwab@redhat.com>
5021
5022 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5023 installed.
5024
5025 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5026 is disabled.
5027
5028 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5029
5030 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5031
5032 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5033
5034 * include/alloca.h (stackinfo_alloca_round): Define.
5035 (extend_alloca): Use it.
5036 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5037 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5038 here.
5039
5040 * scripts/check-local-headers.sh: Ignore libaudit.h.
5041
5042 * nscd/Makefile (extra-objs): Make recursively expanded.
5043
5044 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5045
5046 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5047 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5048
5049 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5050 * posix/tst-rfc3484-2.c: Likewise.
5051 * posix/tst-rfc3484-3.c: Likewise.
5052
5053 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5054 process_vm_writev.
5055 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5056 process_vm_writev.
5057 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5058 process_vm_writev from libc using GLIBC_2.15 version.
5059
5060 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5061
5062 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5063
5064 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5065 stack usage.
5066
5067 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5068
5069 [BZ #13367]
5070 * nss/getent.c (initgroups_keys): Show error message in case no group
5071 names are given.
5072
5073 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5074 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5075 __bump_nl_timestamp.
5076 * nscd/connections (nscd_init): When host database is served open
5077 netlink socket and request notification about configuration changes.
5078 (main_loop_poll): Track netlink file descriptor and bump timestamp
5079 in case data becomes available.
5080 (main_loop_epoll): Likewise.
5081 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5082 (database_pers_head): Add extra_data fileds.
5083 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5084 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5085 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5086 Adjust caller.
5087 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5088 in6ai data, call __free_in6ai.
5089 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5090 Add -DHAVE_NETLINK.
5091 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5092 interface information. Reuse previous data if netlink timestamp
5093 is not changed.
5094 (__bump_nl_timestamp): New function.
5095 (__free_in6ai): New function.
5096
5097 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5098
5099 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5100 close_not_cancel_no_status here.
5101 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5102
5103 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5104
5105 [BZ #13276]
5106 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5107 return value.
5108
5109 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5110 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5111 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5112
5113 2011-07-03 Andreas Jaeger <aj@suse.de>
5114
5115 [BZ #10709]
5116 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5117 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5118 * math/libm-test.inc (sin_test): Add test case.
5119
5120 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5121
5122 [BZ #13337]
5123 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5124 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5125
5126 * elf/chroot_canon.c (chroot_canon): Cleanups.
5127
5128 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5129
5130 [BZ #13335]
5131 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5132 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5133
5134 * string/test-strchr.c: Make usable for strchrnul testing.
5135 * string/test-strchrnul.c: New file.
5136 * string/Makefile (strop-tests): Add strchrnul.
5137
5138 * po/it.po: Update from translation team.
5139 * po/es.po: Likewise.
5140
5141 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5142
5143 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5144 the three constants needed as parameters. Drop the others.
5145 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5146 __m128i_strloadu_tolower.
5147 Create and initialize variable zero and use it in all the places
5148 where _mm_setzero_si128 was used.
5149
5150 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5151 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5152 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5153 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5154 anymore.
5155 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5156 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5157 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5158 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5159 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5160 __mpranred, __mptan.
5161 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5162 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5163 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5164 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5165 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5166 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5167 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5168 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5169 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5170
5171 2011-10-28 Andreas Schwab <schwab@redhat.com>
5172
5173 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5174 redefine if SHARED.
5175 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5176
5177 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5178 wide char related routines to wcsmbs subdir.
5179
5180 2011-10-27 Andreas Schwab <schwab@redhat.com>
5181
5182 [BZ #13344]
5183 * misc/sys/cdefs.h (__THROWNL): Define.
5184 * posix/unistd.h: Use __THREADNL instead of __THREAD
5185 for memory synchronization functions.
5186
5187 2011-10-26 Roland McGrath <roland@hack.frob.com>
5188
5189 [BZ #13349]
5190 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5191 doesn't exist.
5192 * manual/stdio.texi (Obstack Streams): Node removed.
5193
5194 2011-10-26 Andreas Schwab <schwab@redhat.com>
5195
5196 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5197 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5198 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5199
5200 * math/math_private.h (math_force_eval): Allow non-addressable
5201 arguments.
5202 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5203
5204 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5205
5206 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5207 file is not needed.
5208
5209 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5210 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5211 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5212 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5213 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5214 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5215 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5216 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5217 Add AVX variants.
5218 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5219 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5220 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5221 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5222 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5223 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5224 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5225 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5226 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5227 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5228 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5229 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5230 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5231 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5232 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5233 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5234 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5235 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5236 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5237
5238 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5239 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5240
5241 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5242 place. Use VEX encoding when compiling for AVX.
5243
5244 2011-10-25 Andreas Schwab <schwab@redhat.com>
5245
5246 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5247 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5248
5249 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5250
5251 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5252
5253 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5254 useless if() expression.
5255 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5256 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5257 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5258 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5259 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5260 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5261 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5262 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5263 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5264 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5265 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5266 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5267 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5268 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5269 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5270 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5271 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5272 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5273 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5274
5275 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5276
5277 2011-10-25 Andreas Schwab <schwab@redhat.com>
5278
5279 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5280 condition.
5281 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5282
5283 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5284
5285 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5286 .text section. Avoid duplicate constants.
5287 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5288 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5289 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5291 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5292 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5293 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5294 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5295 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5296 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5297 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5298 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5299 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5300 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5301 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5302 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5303 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5304 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5305 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5306 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5307 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5308 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5309 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5310 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5311 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5312 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5313 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5314 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5315 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5316 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5317 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5318 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5319 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5320 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5321 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5322 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5323 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5324 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5325 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5326 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5327 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5328 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5329 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5330 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5331 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5332
5333 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5334
5335 * sysdeps/x86_64/dla.h: Move to ...
5336 * sysdeps/x86_64/fpu/dla.h: ...here.
5337 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5338 situations. Use __builtin_fma only for gcc 4.6 and up.
5339
5340 * config.make.in: Add have-mfma4 entry.
5341 * configure.in: Substitute libc_cv_cc_fma4.
5342 * math/Makefile (dbl-only-routines): Add sincostab.
5343 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5344 Use __sincostab not sincos.
5345 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5346 name is a macro.
5347 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5348 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5349 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5351 using __copysign.
5352 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5353 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5354 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5355 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5356 and __inv.
5357 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5358 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5359 __copysign.
5360 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5361 define aliases when function name is a macro.
5362 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5363 sysdeps/ieee754/dbl-64/sincos.tbl.
5364 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5365 fma4-enabled routines.
5366 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5367 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5368 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5369 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5370 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5371 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5372 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5373 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5374 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5375 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5376 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5377 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5378 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5379 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5380 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5381 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5382 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5383 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5384 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5385 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5386 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5387 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5388 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5389 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5390 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5391 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5392 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5393 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5394 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5395 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5396
5397 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5398 rename.
5399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5400 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5402 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5407
5408 2011-10-24 Andreas Schwab <schwab@redhat.com>
5409
5410 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5411
5412 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5413
5414 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5415
5416 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5417 prediction.
5418 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5419
5420 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5421 Remove unused variable magic_bits.
5422 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5423
5424 * string/strnlen.c: Define and use STRNLEN macro.
5425 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5426 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5427 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5428 * wcsmbs/wcslen.c: Define and use WCSLEN.
5429 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5430 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5431 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5432 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5433 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5434 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5435 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5436
5437 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5438
5439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5440 strnlen-sse2-no-bsf.
5441 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5442 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5443 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5444 Add strnlen support.
5445 (USE_AS_STRNLEN): New macro.
5446 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5447 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5448 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5449 * sysdeps/x86_64/wcslen.S: New file.
5450
5451 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5452
5453 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5454 XMM-moves are used for copying on small sizes.
5455
5456 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5457
5458 * wcsmbs/Makefile (strop-tests): Add wcschr.
5459 * wcsmbs/test-wcschr.c: New file.
5460 * string/test-strchr.c: Update.
5461 Add wcschr support.
5462 (WIDE): New macro.
5463
5464 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5465
5466 * wcsmbs/Makefile (strop-tests): Add wcslen.
5467 * wcsmbs/test-wcslen.c: New file.
5468 * string/test-strlen.c: Update.
5469 Add wcslen support.
5470 (WIDE): New macro.
5471
5472 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5473
5474 * po/it.po: Update from translation team.
5475
5476 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5477
5478 * sysdeps/x86_64/wcscmp.S: Update.
5479 Fix wrong comparison semantics.
5480 wcscmp shall use signed comparison not unsigned.
5481 Don't use substraction to avoid overflow bug.
5482 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5483 * wcsmbc/wcscmp.c: Likewise.
5484 * string/test-strcmp.c: Likewise.
5485 Add new tests to check cases with negative values.
5486
5487 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5488
5489 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5490 * sysdeps/x86_64/dla.h: ...here. New file.
5491 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5493 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5494 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5495 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5496 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5497 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5498 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5499 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5500
5501 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5502
5503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5504 __ynl_finite aliases.
5505
5506 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5507
5508 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5509
5510 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5511 define DLA_FMA.
5512 [DLA_FMA] (EMULV): Use DLA_FMA.
5513 [DLA_FMA] (MUL12): Use EMULV.
5514 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5515 that are not needed.
5516 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5518 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5523
5524 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5525
5526 * math/s_nan.c: Undef __nan.
5527 * math/s_nanf.c: Undef __nanf.
5528 * math/s_nanl.c: Undef __nanl.
5529 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5530 "math_private.h".
5531
5532 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5533
5534 * math/s_catan.c: Add branch predictions.
5535 * math/s_catanf.c: Likewise.
5536 * math/s_catanh.c: Likewise.
5537 * math/s_catanhf.c: Likewise.
5538 * math/s_catanhl.c: Likewise.
5539 * math/s_catanl.c: Likewise.
5540 * math/s_cexp.c: Likewise.
5541 * math/s_cexpf.c: Likewise.
5542 * math/s_cexpl.c: Likewise.
5543 * math/s_clog.c: Likewise.
5544 * math/s_clog10.c: Likewise.
5545 * math/s_clog10f.c: Likewise.
5546 * math/s_clog10l.c: Likewise.
5547 * math/s_clogf.c: Likewise.
5548 * math/s_clogl.c: Likewise.
5549 * math/s_csqrt.c: Likewise.
5550 * math/s_csqrtf.c: Likewise.
5551 * math/s_csqrtl.c: Likewise.
5552 * math/s_ctanf.c: Likewise.
5553 * math/s_ctanh.c: Likewise.
5554 * math/s_ctanhf.c: Likewise.
5555 * math/s_ctanhl.c: Likewise.
5556 * math/s_ctanl.c: Likewise.
5557
5558 * math/math_private.h: Define __nan, __nanf, __nanl.
5559 * math/s_cacosh.c: Include <math_private.h>.
5560 * math/s_cacoshl.c: Likewise.
5561 * math/s_casinh.c: Likewise.
5562 * math/s_casinhf.c: Likewise.
5563 * math/s_casinhl.c: Likewise.
5564 * math/s_ccos.c: Rely entire on ccosh.
5565 * math/s_ccosf.c: Rely entire on ccoshf.
5566 * math/s_ccosl.c: Rely entirely on ccoshl.
5567 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5568 Remove tests for FE_INVALID.
5569 * math/s_ccoshf.c: Likewise.
5570 * math/s_ccoshl.c: Likewise.
5571 * math/s_csin.c: Likewise.
5572 * math/s_csinf.c: Likewise.
5573 * math/s_csinh.c Likewise.
5574 * math/s_csinhf.c: Likewise.
5575 * math/s_csinhl.c: Likewise.
5576 * math/s_csinl.c: Likewise.
5577 * math/s_ctan.c: Likewise.
5578 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5579 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5580 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5581
5582 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5583
5584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5585 compilation problems.
5586
5587 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5588 __builtin_expect.
5589
5590 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5591
5592 * sysdeps/i386/configure.in: Test for -mfma4 option.
5593 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5594 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5595 COMMON_CPUID_INDEX_80000001.
5596 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5597 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5598 use it if FMA3 is not supported.
5599 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5600
5601 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5602 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5603
5604 2011-10-20 Andreas Schwab <schwab@redhat.com>
5605
5606 [BZ #12892]
5607 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5608 it would create a cycle with a link time dependency.
5609
5610 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5611
5612 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5613 instruction.
5614 * string/Makefile (strop-tests): Add rawmemchr.
5615 * string/test-rawmemchr.c: New file.
5616
5617 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5618 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5619 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5620 when compiling str{,n}casecmp and when AVX is available. Hook up
5621 new optimized code in initializers.
5622
5623 2011-10-19 Andreas Schwab <schwab@redhat.com>
5624
5625 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5626 __feraiseexcept instead of feraiseexcept.
5627
5628 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5629
5630 * math/math_private.h: Define defaults for libc_fetestexcept and
5631 libc_feupdateenv.
5632 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5633 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5634 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5635 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5636 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5637 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5638 libc_fetestexcept and libc_feupdateenv.
5639
5640 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5641 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5642 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5643 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5644 libc_feholdexcept_setround.
5645
5646 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5647 Add s_nearbyint-c and s_nearbyintf-c.
5648 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5649 nearbyintf inlines.
5650 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5651 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5652 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5653 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5654
5655 * math/math_private.h: Define defaults for libc_fegetround,
5656 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5657 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5658 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5659 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5660 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5661 standard functions.
5662 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5663 Remove comments and hacks for old compiler versions.
5664 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5665 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5666 libc_feholdexceptl.
5667
5668 2011-10-18 Andreas Schwab <schwab@redhat.com>
5669
5670 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5671 (__feraiseexcept_renamed): Add __NTH.
5672 (feraiseexcept): Add __NTH. Rename local variables to fix
5673 namespace violations.
5674
5675 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5676
5677 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5678
5679 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5680
5681 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5682 recently added interfaces.
5683 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5684
5685 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5686 about macro parameter expansion.
5687
5688 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5689 __NO_MATH_INLINES is defined. Cleanups.
5690
5691 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5692 and __floorf is target has SSE4.1.
5693 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5694 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5695 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5696 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5697
5698 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5699 name.
5700 (floorf): Likewise.
5701
5702 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5703
5704 2011-10-17 Andreas Schwab <schwab@redhat.com>
5705
5706 * misc/sys/cdefs.h: Fix last change.
5707
5708 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5709 database lookup.
5710
5711 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5712
5713 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5714
5715 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5716 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5721 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5722 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5723 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5724 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5725 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5726 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5727 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5728 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5729 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5730 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5731 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5732 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5733 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5734 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5735 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5736 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5737
5738 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5739 ceil, ceilf, floor, floorf.
5740
5741 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5742 Perform IRELATIVE relocations last.
5743
5744 * elf/do-rel.h: Add another parameter nrelative, replacing the
5745 local variable with the same name. Change name of the function
5746 to end in Rel or Rela (uppercase).
5747 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5748 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5749 elf_dynamic_do_##reloc function.
5750
5751 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5752
5753 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5754 is sufficient, at least on modern CPUs.
5755
5756 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5757
5758 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5759 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5760
5761 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5762 __expl_finite.
5763 * math/bits/math-finite.h: Add entries for exp.
5764 * math/e_expl.c: Add __*_finite alias.
5765 * sysdeps/i386/fpu/e_exp.S: Likewise.
5766 * sysdeps/i386/fpu/e_expf.S: Likewise.
5767 * sysdeps/i386/fpu/e_expl.c: Likewise.
5768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5769 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5770 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5772 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5773 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5774 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5775
5776 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5777 is sufficient, at least on modern CPUs.
5778
5779 * ctype/ctype-info.c (__ctype_init): Define.
5780 * include/ctype.h (__ctype_init): Declare.
5781 (__ctype_b_loc): The variable is always initialized.
5782 (__ctype_toupper_loc): Likewise.
5783 (__ctype_tolower_loc): Likewise.
5784 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5785 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5786
5787 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5788
5789 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5790
5791 * configure.in: Also look in $cxxmachine/include for C++ system
5792 headers.
5793
5794 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5795
5796 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5797 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5798 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5799 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5800 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5801 (USE_AS_WMEMCMP): New macro.
5802 Fixing indents.
5803 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5804 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5805 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5806 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5808 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5809 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5810 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5811 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5812 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5813 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5814 (USE_AS_WMEMCMP): New macro.
5815 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5816 * sysdeps/string/test-memcmp.c: Update.
5817 Fix simple_wmemcmp.
5818 Add new tests.
5819 * wcsmbs/wmemcmp.c: Update.
5820 (WMEMCMP): New macro.
5821 Fix overflow bug.
5822
5823 2011-10-12 Andreas Jaeger <aj@suse.de>
5824
5825 [BZ #13268]
5826 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5827
5828 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5829
5830 * libio/iofwide.c (do_length): Avoid warning.
5831
5832 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5833
5834 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5835
5836 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5837
5838 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5839 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5840 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5841 * sysdeps/i386/i686/fpu/e_log.S: New file.
5842 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5843 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5844
5845 * ctype/ctype.h: Add support for inlined isXXX functions when
5846 compiling C++ code.
5847
5848 2011-10-14 Andreas Schwab <schwab@redhat.com>
5849
5850 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5851
5852 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5853
5854 2011-10-13 Roland McGrath <roland@hack.frob.com>
5855
5856 [BZ #13291]
5857 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5858
5859 2011-10-13 Andreas Schwab <schwab@redhat.com>
5860
5861 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5862 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5863 feraiseexcept.
5864
5865 * sysdeps/x86_64/memrchr.S: Check for zero size.
5866
5867 * string/stratcliff.c: Add memrchr tests.
5868
5869 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5870
5871 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5872 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5873 rawmemchr-sse2 rawmemchr-sse2-bsf.
5874 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5875 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5876 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5877 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5878 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5879 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5880 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5881 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5882 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5883 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5884 * string/memrchr.c (MEMRCHR): New macro.
5885
5886 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5887
5888 Add integration with gcc's -ffinite-math-only and optimize wrapper
5889 functions in libm.
5890 * Versions.def: Define GLIBC_2.15 version for libm.
5891 * math/Makefile (headers): Add bits/math-finite.h.
5892 * math/bits/math-finite.h: New file.
5893 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5894 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5895 * math/e_acoshl.c: Add __*_finite alias.
5896 * math/e_acosl.c: Likewise.
5897 * math/e_asinl.c: Likewise.
5898 * math/e_atan2l.c: Likewise.
5899 * math/e_atanhl.c: Likewise.
5900 * math/e_coshl.c: Likewise.
5901 * math/e_exp10.c: Likewise.
5902 * math/e_exp10f.c: Likewise.
5903 * math/e_exp10l.c: Likewise.
5904 * math/e_exp2l.c: Likewise.
5905 * math/e_fmodl.c: Likewise.
5906 * math/e_gammal_r.c: Likewise.
5907 * math/e_hypotl.c: Likewise.
5908 * math/e_j0l.c: Likewise.
5909 * math/e_j1l.c: Likewise.
5910 * math/e_jnl.c: Likewise.
5911 * math/e_lgammal_r.c: Likewise.
5912 * math/e_log10l.c: Likewise.
5913 * math/e_log2l.c: Likewise.
5914 * math/e_logl.c: Likewise.
5915 * math/e_powl.c: Likewise.
5916 * math/e_sinhl.c: Likewise.
5917 * math/e_sqrtl.c: Likewise.
5918 * math/e_scalb.c: Completely rewritten and optimized.
5919 * math/e_scalbf.c: Likewise.
5920 * math/e_scalbl.c: Likewise.
5921 * math/w_acos.c: Likewise.
5922 * math/w_acosf.c: Likewise.
5923 * math/w_acosl.c: Likewise.
5924 * math/w_acosh.c: Likewise.
5925 * math/w_acoshf.c: Likewise.
5926 * math/w_acoshl.c: Likewise.
5927 * math/w_asin.c: Likewise.
5928 * math/w_asinf.c: Likewise.
5929 * math/w_asinl.c: Likewise.
5930 * math/w_atan2.c: Likewise.
5931 * math/w_atan2f.c: Likewise.
5932 * math/w_atan2l.c: Likewise.
5933 * math/w_atanh.c: Likewise.
5934 * math/w_atanhf.c: Likewise.
5935 * math/w_atanhl.c: Likewise.
5936 * math/w_exp10.c: Likewise.
5937 * math/w_exp10f.c: Likewise.
5938 * math/w_exp10l.c: Likewise.
5939 * math/w_fmod.c: Likewise.
5940 * math/w_fmodf.c: Likewise.
5941 * math/w_fmodl.c: Likewise.
5942 * math/w_j0.c: Likewise.
5943 * math/w_j0f.c: Likewise.
5944 * math/w_j0l.c: Likewise.
5945 * math/w_j1.c: Likewise.
5946 * math/w_j1f.c: Likewise.
5947 * math/w_j1l.c: Likewise.
5948 * math/w_jn.c: Likewise.
5949 * math/w_jnf.c: Likewise.
5950 * math/w_log.c: Likewise.
5951 * math/w_logf.c: Likewise.
5952 * math/w_logl.c: Likewise.
5953 * math/w_log10.c: Likewise.
5954 * math/w_log10f.c: Likewise.
5955 * math/w_log10l.c: Likewise.
5956 * math/w_log2.c: Likewise.
5957 * math/w_log2f.c: Likewise.
5958 * math/w_log2l.c: Likewise.
5959 * math/w_pow.c: Likewise.
5960 * math/w_powf.c: Likewise.
5961 * math/w_powl.c: Likewise.
5962 * math/w_remainder.c: Likewise.
5963 * math/w_remainderf.c: Likewise.
5964 * math/w_remainderl.c: Likewise.
5965 * math/w_scalb.c: Likewise.
5966 * math/w_scalbf.c: Likewise.
5967 * math/w_scalbl.c: Likewise.
5968 * math/w_sqrt.c: Likewise.
5969 * math/w_sqrtf.c: Likewise.
5970 * math/w_sqrtl.c: Likewise.
5971 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
5972 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
5973 used.
5974 * math/math_private.h: Declare __kernel_standard_f.
5975 * math/w_cosh.c: Remove cruft and optimize a bit.
5976 * math/w_coshf.c: Likewise.
5977 * math/w_coshl.c: Likewise.
5978 * math/w_exp2.c: Likewise.
5979 * math/w_exp2f.c: Likewise.
5980 * math/w_exp2l.c: Likewise.
5981 * math/w_hypot.c: Likewise.
5982 * math/w_hypotf.c: Likewise.
5983 * math/w_hypotl.c: Likewise.
5984 * math/w_lgamma.c: Likewise.
5985 * math/w_lgamma_r.c: Likewise.
5986 * math/w_lgammaf.c: Likewise.
5987 * math/w_lgammaf_r.c: Likewise.
5988 * math/w_lgammal.c: Likewise.
5989 * math/w_lgammal_r.c: Likewise.
5990 * math/w_sinh.c: Likewise.
5991 * math/w_sinhf.c: Likewise.
5992 * math/w_sinhl.c: Likewise.
5993 * math/w_tgamma.c: Likewise.
5994 * math/w_tgammaf.c: Likewise.
5995 * math/w_tgammal.c: Likewise.
5996 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5997 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5998 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
5999 Minor optimizations. Pretty printing. Remove cruft.
6000 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6001 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6002 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6003 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6004 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6005 * sysdeps/i386/fpu/e_asin.S: Likewise.
6006 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6007 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6008 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6009 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6010 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6011 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6012 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6013 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6014 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6015 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6016 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6017 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6018 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6019 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6020 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6021 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6022 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6023 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6024 * sysdeps/i386/fpu/e_log.S: Likewise.
6025 * sysdeps/i386/fpu/e_log10.S: Likewise.
6026 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6027 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6028 * sysdeps/i386/fpu/e_log2.S: Likewise.
6029 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6030 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6031 * sysdeps/i386/fpu/e_logf.S: Likewise.
6032 * sysdeps/i386/fpu/e_logl.S: Likewise.
6033 * sysdeps/i386/fpu/e_pow.S: Likewise.
6034 * sysdeps/i386/fpu/e_powf.S: Likewise.
6035 * sysdeps/i386/fpu/e_powl.S: Likewise.
6036 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6037 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6038 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6039 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6040 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6041 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6042 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6043 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6044 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6045 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6046 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6048 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6049 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6050 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6051 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6052 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6053 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6054 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6055 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6056 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6062 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6063 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6065 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6066 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6067 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6068 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6069 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6070 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6071 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6072 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6073 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6074 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6075 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6076 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6077 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6078 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6079 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6080 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6081 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6082 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6083 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6084 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6085 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6086 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6087 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6088 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6089 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6090 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6091 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6092 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6093 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6094 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6095 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6096 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6097 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6098 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6099 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6100 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6103 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6104 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6105 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6106 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6107 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6108 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6109 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6110 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6111 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6112 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6115 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6116 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6117 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6118 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6119 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6125 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6127 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6128 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6129 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6130 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6131 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6132 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6133 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6134 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6135 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6136 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6137 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6138 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6139 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6140 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6141 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6142 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6143 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6144 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6145 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6146 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6147 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6148 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6149 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6150 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6151 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6152 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6153 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6154 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6155 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6156 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6157 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6158 (__isnanf): Likewise.
6159 (__isinf_ns): Likewise.
6160 (__isinf_nsf): Likewise.
6161 (__finite): Likewise.
6162 (__finitef): Likewise.
6163 (__ieee754_sqrt): Define as macro.
6164 (__ieee754_sqrtf): Define as macro.
6165 (__ieee754_sqrtl): Define as macro.
6166 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6167 inlined copy.
6168 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6169 __FINITE_MATH_ONLY__ consistent.
6170 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6171
6172 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6173
6174 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6175 of rawmemchr.
6176
6177 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6178
6179 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6180
6181 * po/ja.po: Update from translation team.
6182
6183 2011-10-08 Roland McGrath <roland@hack.frob.com>
6184
6185 * locale/programs/locarchive.c (prepare_address_space): New function.
6186 (create_archive, enlarge_archive, open_archive): Use it.
6187
6188 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6189 inside [SHARED], where it is used.
6190
6191 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6192
6193 * nss/getent.c (netgroup_keys): Remove unused variable.
6194 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6195
6196 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6197
6198 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6199 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6200 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6201 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6202 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6203 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6204 * math/Makefile (libm-calls): Add s_isinf_ns.
6205 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6206 * math/multc3.c: Likewise.
6207 * math/s_casin.c: Likewise.
6208 * math/s_casinf.c: Likewise.
6209 * math/s_casinl.c: Likewise.
6210 * math/s_ccos.c: Likewise.
6211 * math/s_ccosf.c: Likewise.
6212 * math/s_ccosl.c: Likewise.
6213 * math/s_ctan.c: Likewise.
6214 * math/s_ctanf.c: Likewise.
6215 * math/s_ctanh.c: Likewise.
6216 * math/s_ctanhf.c: Likewise.
6217 * math/s_ctanhl.c: Likewise.
6218 * math/s_ctanl.c: Likewise.
6219 * math/w_fmod.c: Likewise.
6220 * math/w_fmodf.c: Likewise.
6221 * math/w_fmodl.c: Likewise.
6222 * math/w_remainder.c: Likewise.
6223 * math/w_remainderf.c: Likewise.
6224 * math/w_remainderl.c: Likewise.
6225 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6226 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6227 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6228 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6229 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6230 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6231 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6232 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6233
6234 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6235 of the number.
6236 * stdio-common/printf_fphex.c: Likewise.
6237 * stdio-common/printf_size.c: Likewise.
6238
6239 * math/e_exp10.c: Include math_private.h using <...> not "...".
6240 * math/e_exp10f.c: Likewise.
6241 * math/e_exp10l.c: Likewise.
6242 * math/e_exp2l.c: Likewise.
6243 * math/e_j0l.c: Likewise.
6244 * math/e_j1l.c: Likewise.
6245 * math/e_jnl.c: Likewise.
6246 * math/e_lgammal_r.c: Likewise.
6247 * math/e_rem_pio2l.c: Likewise.
6248 * math/e_scalb.c: Likewise.
6249 * math/e_scalbf.c: Likewise.
6250 * math/e_scalbl.c: Likewise.
6251 * math/k_cosl.c: Likewise.
6252 * math/k_sinl.c: Likewise.
6253 * math/k_tanl.c: Likewise.
6254 * math/s_cacoshf.c: Likewise.
6255 * math/s_catan.c: Likewise.
6256 * math/s_catanf.c: Likewise.
6257 * math/s_catanh.c: Likewise.
6258 * math/s_catanhf.c: Likewise.
6259 * math/s_catanhl.c: Likewise.
6260 * math/s_catanl.c: Likewise.
6261 * math/s_ccosh.c: Likewise.
6262 * math/s_ccoshf.c: Likewise.
6263 * math/s_ccoshl.c: Likewise.
6264 * math/s_cexp.c: Likewise.
6265 * math/s_cexpf.c: Likewise.
6266 * math/s_cexpl.c: Likewise.
6267 * math/s_clog.c: Likewise.
6268 * math/s_clog10.c: Likewise.
6269 * math/s_clog10f.c: Likewise.
6270 * math/s_clog10l.c: Likewise.
6271 * math/s_clogf.c: Likewise.
6272 * math/s_clogl.c: Likewise.
6273 * math/s_csin.c: Likewise.
6274 * math/s_csinf.c: Likewise.
6275 * math/s_csinh.c: Likewise.
6276 * math/s_csinhf.c: Likewise.
6277 * math/s_csinhl.c: Likewise.
6278 * math/s_csinl.c: Likewise.
6279 * math/s_csqrt.c: Likewise.
6280 * math/s_csqrtf.c: Likewise.
6281 * math/s_csqrtl.c: Likewise.
6282 * math/s_ctan.c: Likewise.
6283 * math/s_ctanf.c: Likewise.
6284 * math/s_ctanh.c: Likewise.
6285 * math/s_ctanhf.c: Likewise.
6286 * math/s_ctanhl.c: Likewise.
6287 * math/s_ctanl.c: Likewise.
6288 * math/s_ldexp.c: Likewise.
6289 * math/s_ldexpf.c: Likewise.
6290 * math/s_ldexpl.c: Likewise.
6291 * math/s_significand.c: Likewise.
6292 * math/s_significandf.c: Likewise.
6293 * math/s_significandl.c: Likewise.
6294 * math/w_acos.c: Likewise.
6295 * math/w_acosf.c: Likewise.
6296 * math/w_acosh.c: Likewise.
6297 * math/w_acoshf.c: Likewise.
6298 * math/w_acoshl.c: Likewise.
6299 * math/w_acosl.c: Likewise.
6300 * math/w_asin.c: Likewise.
6301 * math/w_asinf.c: Likewise.
6302 * math/w_asinl.c: Likewise.
6303 * math/w_atan2.c: Likewise.
6304 * math/w_atan2f.c: Likewise.
6305 * math/w_atan2l.c: Likewise.
6306 * math/w_atanh.c: Likewise.
6307 * math/w_atanhf.c: Likewise.
6308 * math/w_atanhl.c: Likewise.
6309 * math/w_cosh.c: Likewise.
6310 * math/w_coshf.c: Likewise.
6311 * math/w_coshl.c: Likewise.
6312 * math/w_dremf.c: Likewise.
6313 * math/w_exp10.c: Likewise.
6314 * math/w_exp10f.c: Likewise.
6315 * math/w_exp10l.c: Likewise.
6316 * math/w_exp2.c: Likewise.
6317 * math/w_exp2f.c: Likewise.
6318 * math/w_fmod.c: Likewise.
6319 * math/w_fmodf.c: Likewise.
6320 * math/w_fmodl.c: Likewise.
6321 * math/w_hypot.c: Likewise.
6322 * math/w_hypotf.c: Likewise.
6323 * math/w_hypotl.c: Likewise.
6324 * math/w_j0.c: Likewise.
6325 * math/w_j0f.c: Likewise.
6326 * math/w_j0l.c: Likewise.
6327 * math/w_j1.c: Likewise.
6328 * math/w_j1f.c: Likewise.
6329 * math/w_j1l.c: Likewise.
6330 * math/w_jn.c: Likewise.
6331 * math/w_jnf.c: Likewise.
6332 * math/w_jnl.c: Likewise.
6333 * math/w_lgamma.c: Likewise.
6334 * math/w_lgamma_r.c: Likewise.
6335 * math/w_lgammaf.c: Likewise.
6336 * math/w_lgammaf_r.c: Likewise.
6337 * math/w_lgammal.c: Likewise.
6338 * math/w_lgammal_r.c: Likewise.
6339 * math/w_log.c: Likewise.
6340 * math/w_log10.c: Likewise.
6341 * math/w_log10f.c: Likewise.
6342 * math/w_log10l.c: Likewise.
6343 * math/w_log2.c: Likewise.
6344 * math/w_log2f.c: Likewise.
6345 * math/w_log2l.c: Likewise.
6346 * math/w_logf.c: Likewise.
6347 * math/w_logl.c: Likewise.
6348 * math/w_pow.c: Likewise.
6349 * math/w_powf.c: Likewise.
6350 * math/w_powl.c: Likewise.
6351 * math/w_remainder.c: Likewise.
6352 * math/w_remainderf.c: Likewise.
6353 * math/w_remainderl.c: Likewise.
6354 * math/w_scalb.c: Likewise.
6355 * math/w_scalbf.c: Likewise.
6356 * math/w_scalbl.c: Likewise.
6357 * math/w_sinh.c: Likewise.
6358 * math/w_sinhf.c: Likewise.
6359 * math/w_sinhl.c: Likewise.
6360 * math/w_sqrt.c: Likewise.
6361 * math/w_sqrtf.c: Likewise.
6362 * math/w_sqrtl.c: Likewise.
6363 * math/w_tgamma.c: Likewise.
6364 * math/w_tgammaf.c: Likewise.
6365 * math/w_tgammal.c: Likewise.
6366
6367 * po/ja.po: Update from translation team.
6368
6369 2011-09-29 Andreas Jaeger <aj@suse.de>
6370
6371 [BZ #13179]
6372 * sunrpc/netname.c (netname2host): Fix logic.
6373
6374 [BZ #6779]
6375 [BZ #6783]
6376 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6377 correctly.
6378 * math/w_remainder.c (__remainder): Likewise.
6379 * math/w_remainderf.c (__remainderf): Likewise.
6380 * math/libm-test.inc (remainder_test): Add test cases.
6381
6382 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6383
6384 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6385 sdiv_qrnnd.
6386
6387 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6388
6389 * string/test-memcmp.c: Avoid unncessary #defines.
6390 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6391
6392 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6393
6394 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6395 Use new sse2 version for core i3 - i7 as it's faster
6396 than sse42 version.
6397 (bit_Prefer_PMINUB_for_stringop): New.
6398 * sysdeps/x86_64/rawmemchr.S: Update.
6399 Replace with faster SSE2 version.
6400 * sysdeps/x86_64/memrchr.S: New file.
6401 * sysdeps/x86_64/memchr.S: Update.
6402 Replace with faster SSE2 version.
6403
6404 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6405
6406 * elf/dl-load.c (lose): Add cast to avoid warning.
6407
6408 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6409
6410 * po/ca.po: Update from translation team.
6411
6412 * inet/getnetgrent_r.c: Hook up nscd.
6413 * nscd/Makefile (routines): Add nscd_netgroup.
6414 (nscd-modules): Add netgroupcache.
6415 (CFLAGS-netgroupcache.c): Define.
6416 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6417 (cache_search): Add const to second parameter.
6418 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6419 INNETGR.
6420 (dbs): Add netgrdb entry.
6421 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6422 (verify_persistent_db): Handle netgrdb.
6423 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6424 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6425 GETFDNETGR.
6426 (netgroup_response_header): Define.
6427 (innetgroup_response_header): Define.
6428 (datahead): Add netgroup_response_header and innetgroup_response_header
6429 elements.
6430 * nscd/nscd.conf: Add entries for netgroup cache.
6431 * nscd/nscd.h (dbtype): Add netgrdb.
6432 (_PATH_NSCD_NETGROUP_DB): Define.
6433 (netgroup_iov_disabled): Declare.
6434 (xmalloc, xcalloc, xrealloc): Move declarations here.
6435 (cache_search): Adjust prototype.
6436 Add netgroup-related prototypes.
6437 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6438 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6439 (__nscd_innetgr): Declare.
6440 * nscd/selinux.c (perms): Use access_vector_t as element type and
6441 add netgroup-related initializers.
6442 * nscd/netgroupcache.c: New file.
6443 * nscd/nscd_netgroup.c: New file.
6444 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6445 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6446 For four parameters use innetgr.
6447 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6448 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6449 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6450 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6451
6452 * nscd/connections.c (register_traced_file): Don't register file
6453 for disabled databases.
6454
6455 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6456
6457 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6458
6459 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6460 from tree and freeing node.
6461
6462 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6463
6464 * nss/nsswitch.c (__nss_database_lookup): Handle
6465 nss_parse_service_list out of memory case.
6466
6467 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6468
6469 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6470 out of memory case.
6471
6472 2011-10-04 Andreas Schwab <schwab@redhat.com>
6473
6474 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6475 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6476 pass it down.
6477 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6478 elf_machine_rela, elf_machine_lazy_rel.
6479 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6480 (ELF_DYNAMIC_DO_REL): Likewise.
6481 (ELF_DYNAMIC_DO_RELA): Likewise.
6482 (ELF_DYNAMIC_RELOCATE): Likewise.
6483 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6484 to ELF_DYNAMIC_DO_REL.
6485 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6486 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6487 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6488 elf_machine_rela.
6489 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6490 skip_ifunc, don't call ifunc function if non-zero.
6491 (elf_machine_rela): Likewise.
6492 (elf_machine_lazy_rel): Likewise.
6493 (elf_machine_lazy_rela): Likewise.
6494 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6495 (elf_machine_lazy_rel): Likewise.
6496 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6497 Likewise.
6498 (elf_machine_lazy_rel): Likewise.
6499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6500 Likewise.
6501 (elf_machine_lazy_rel): Likewise.
6502 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6503 (elf_machine_lazy_rel): Likewise.
6504 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6505 (elf_machine_lazy_rel): Likewise.
6506 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6507 (elf_machine_lazy_rel): Likewise.
6508 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6509 (elf_machine_lazy_rel): Likewise.
6510 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6511 (elf_machine_lazy_rel): Likewise.
6512 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6513 (elf_machine_lazy_rel): Likewise.
6514
6515 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6516
6517 * nss/nss_files/files-init.c (_nss_files_init): Use static
6518 initialization for all the *_traced_file variables.
6519
6520 2011-09-28 Andreas Schwab <schwab@redhat.com>
6521
6522 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6523
6524 2011-09-27 Roland McGrath <roland@hack.frob.com>
6525
6526 [BZ #13226]
6527 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6528
6529 2011-09-27 Andreas Schwab <schwab@redhat.com>
6530
6531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6532 Reread the line before reparsing it.
6533
6534 2011-09-26 Andreas Schwab <schwab@redhat.com>
6535
6536 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6537
6538 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6539 Maxim Kuvyrkov <maxim@codesourcery.com>
6540 Joseph Myers <joseph@codesourcery.com>
6541
6542 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6543 if needed for __stack_chk_guard.
6544
6545 2011-09-19 Roland McGrath <roland@hack.frob.com>
6546
6547 * sysdeps/posix/spawni.c (script_execute): Always define it.
6548 It will be optimized away if unused.
6549 (maybe_script_execute): New function.
6550 (__spawni): Call it.
6551
6552 * Makerules: Don't include tls.make.
6553 (config-tls): Always set to thread.
6554 * tls.make.c: File removed.
6555
6556 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6557
6558 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6559 * config.make.in (CPPFLAGS-config): New substituted variable.
6560
6561 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6562
6563 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6564
6565 [BZ #13192]
6566 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6567 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6568
6569 2011-09-15 Roland McGrath <roland@hack.frob.com>
6570
6571 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6572 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6573 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6574 (CALL_FAIL): Likewise.
6575 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6576 (CALL_FAIL): Macro removed.
6577 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6578
6579 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6580
6581 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6582 for __FINITE_MATH_ONLY__ == 1.
6583
6584 2011-09-15 Andreas Schwab <schwab@redhat.com>
6585
6586 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6587 __ieee754_sqrt instead of sqrt.
6588 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6589 __ieee754_sqrtf instead of sqrtf.
6590 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6591 __floorf instead of floorf.
6592 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6593 __floorf, __truncf instead of floorf, truncf.
6594
6595 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6596
6597 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6598
6599 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6600 __extern_always_inline.
6601 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6602 32-bit.
6603
6604 2011-09-14 Andreas Schwab <schwab@redhat.com>
6605
6606 * elf/rtld.c (dl_main): Also relocate in dependency order when
6607 doing symbol dependency testing.
6608
6609 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6610
6611 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6612 Always define `refsym'.
6613
6614 2011-09-13 Andreas Schwab <schwab@redhat.com>
6615
6616 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6617 (__FD_ELT): Renamed from __FDELT.
6618 * misc/bits/select2.h (__FD_ELT): Likewise.
6619 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6620 __FD_MASK instead of __FDELT, __FDMASK.
6621 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6622 Likewise.
6623 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6624 Likewise.
6625
6626 * elf/Makefile (gen-ldd): Fix pattern.
6627
6628 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6629 (init_tls): Likewise.
6630
6631 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6632
6633 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6634
6635 2011-09-12 Andreas Schwab <schwab@redhat.com>
6636
6637 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6638 `struct cmsghdr *' instead of `void *'.
6639 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6640 Likewise.
6641
6642 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6643
6644 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6645 if non-absolute.
6646 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6647 ldd_rewrite_script.
6648
6649 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6650
6651 * configure.in: Remove --with-tls option.
6652 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6653 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6654 out in case it is missing.
6655 * sysdeps/ia64/elf/configure.in: Likewise.
6656 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6657 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6658 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6659 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6660 * sysdeps/sh/elf/configure.in: Likewise.
6661 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6662 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6663 * sysdeps/x86_64/elf/configure.in: Likewise.
6664 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6665 * sysdeps/mach/hurd/tls.h: Likewise.
6666
6667 [BZ #13067]
6668 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6669
6670 [BZ #13090]
6671 * configure.in: Fix use of AC_INIT.
6672
6673 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6674
6675 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6676
6677 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6678 __set_errno.
6679 * malloc/hooks.c: Likewise.
6680
6681 [BZ #11929]
6682 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6683 variables statically.
6684 (narenas): Initialize.
6685 (list_lock): Initialize.
6686 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6687 initializtion of main_arena and list_lock. Small cleanups.
6688 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6689 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6690 Add initializers to main_arena and mp_.
6691 (malloc_state): Remove pagesize member. Change all users to use
6692 GLRO(dl_pagesize).
6693
6694 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6695 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6696 is always initialized.
6697
6698 * malloc/malloc.c: Removed unused configurations and dead code.
6699 * malloc/arena.c: Likewise.
6700 * malloc/hooks.c: Likewise.
6701 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6702
6703 * include/tls.h: Removed. USE___THREAD must always be defined.
6704 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6705 * elf/dl-libc.c: Likewise.
6706 * elf/dl-tsd.c: Likewise.
6707 * include/errno.h: Likewise.
6708 * include/netdb.h: Likewise.
6709 * include/resolv.h: Likewise.
6710 * inet/herrno-loc.c: Likewise.
6711 * inet/herrno.c: Likewise.
6712 * malloc/arena.c: Likewise.
6713 * malloc/hooks.c: Likewise.
6714 * malloc/malloc.c: Likewise.
6715 * resolv/res-state.c: Likewise.
6716 * resolv/res_libc.c: Likewise.
6717 * sysdeps/i386/dl-machine.h: Likewise.
6718 * sysdeps/ia64/dl-machine.h: Likewise.
6719 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6720 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6721 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6722 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6723 * sysdeps/sh/dl-machine.h: Likewise.
6724 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6725 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6726 * sysdeps/unix/i386/sysdep.S: Likewise.
6727 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6728 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6729 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6730 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6731 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6732 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6733 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6734 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6735 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6737 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6738 * sysdeps/x86_64/dl-machine.h: Likewise.
6739 * tls.make.c: Likewise.
6740
6741 * configure.in: Remove --with-__thread option. Make tests for
6742 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6743 tls_model attribute fail if no support is available. Remove
6744 USE_IN_LIBIO.
6745 * Makeconfig: Adjust for dropped configure option. All features are
6746 now mandatory.
6747 * Makerules: Likewise.
6748 * Versions.def: Likewise.
6749 * argp/argp-fmtstream.c: Likewise.
6750 * argp/argp-fmtstream.h: Likewise.
6751 * argp/argp-help.c: Likewise.
6752 * assert/assert.c: Likewise.
6753 * config.h.in: Likewise.
6754 * config.make.in: Likewise.
6755 * configure: Likewise.
6756 * configure.in: Likewise.
6757 * csu/Versions: Likewise.
6758 * csu/init.c: Likewise.
6759 * elf/tst-audit2.c: Likewise.
6760 * elf/tst-tls10.c: Likewise.
6761 * elf/tst-tls10.h: Likewise.
6762 * elf/tst-tls11.c: Likewise.
6763 * elf/tst-tls12.c: Likewise.
6764 * elf/tst-tls14.c: Likewise.
6765 * elf/tst-tlsmod11.c: Likewise.
6766 * elf/tst-tlsmod12.c: Likewise.
6767 * elf/tst-tlsmod13.c: Likewise.
6768 * elf/tst-tlsmod13a.c: Likewise.
6769 * elf/tst-tlsmod14a.c: Likewise.
6770 * elf/tst-tlsmod15b.c: Likewise.
6771 * elf/tst-tlsmod16a.c: Likewise.
6772 * elf/tst-tlsmod16b.c: Likewise.
6773 * elf/tst-tlsmod7.c: Likewise.
6774 * elf/tst-tlsmod8.c: Likewise.
6775 * elf/tst-tlsmod9.c: Likewise.
6776 * gmon/gmon.c: Likewise.
6777 * grp/fgetgrent_r.c: Likewise.
6778 * grp/putgrent.c: Likewise.
6779 * hurd/fopenport.c: Likewise.
6780 * include/libc-symbols.h: Likewise.
6781 * include/tls.h: Likewise.
6782 * intl/gettextP.h: Likewise.
6783 * intl/loadinfo.h: Likewise.
6784 * locale/global-locale.c: Likewise.
6785 * locale/localeinfo.h: Likewise.
6786 * mach/devstream.c: Likewise.
6787 * malloc/arena.c: Likewise.
6788 * malloc/set-freeres.c: Likewise.
6789 * misc/err.c: Likewise.
6790 * misc/getttyent.c: Likewise.
6791 * misc/mntent_r.c: Likewise.
6792 * posix/getopt.c: Likewise.
6793 * posix/wordexp.c: Likewise.
6794 * pwd/fgetpwent_r.c: Likewise.
6795 * resolv/Versions: Likewise.
6796 * resolv/res_hconf.c: Likewise.
6797 * shadow/fgetspent_r.c: Likewise.
6798 * shadow/putspent.c: Likewise.
6799 * stdio-common/printf_fphex.c: Likewise.
6800 * stdio-common/tmpfile.c: Likewise.
6801 * stdlib/abort.c: Likewise.
6802 * stdlib/fmtmsg.c: Likewise.
6803 * sunrpc/auth_unix.c: Likewise.
6804 * sunrpc/clnt_perr.c: Likewise.
6805 * sunrpc/clnt_tcp.c: Likewise.
6806 * sunrpc/clnt_udp.c: Likewise.
6807 * sunrpc/clnt_unix.c: Likewise.
6808 * sunrpc/openchild.c: Likewise.
6809 * sunrpc/svc_simple.c: Likewise.
6810 * sunrpc/svc_tcp.c: Likewise.
6811 * sunrpc/svc_udp.c: Likewise.
6812 * sunrpc/svc_unix.c: Likewise.
6813 * sunrpc/xdr.c: Likewise.
6814 * sunrpc/xdr_array.c: Likewise.
6815 * sunrpc/xdr_rec.c: Likewise.
6816 * sunrpc/xdr_ref.c: Likewise.
6817 * sunrpc/xdr_stdio.c: Likewise.
6818
6819 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6820
6821 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6822
6823 2011-07-03 Andreas Jaeger <aj@suse.de>
6824
6825 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6826 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6827 regenerate with gen-libm-tests.pl.
6828
6829 2010-05-12 Petr Baudis <pasky@suse.cz>
6830
6831 [BZ #11589]
6832 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6833 around j0() zero points by switching to j1().
6834 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6835 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6837 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6838
6839 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6840
6841 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6842 instead of 0.
6843 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6844 instead of 0. .
6845 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6846 Patch in part by Pavel Roskin <proski@gnu.org>.
6847
6848 [BZ #13138]
6849 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6850 realloc.
6851 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6852 Free memory block if necessary.
6853
6854 [BZ #12847]
6855 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6856 be NULL. Don't lock in this case.
6857
6858 2011-09-09 Roland McGrath <roland@hack.frob.com>
6859
6860 * elf/elf.h (ELFOSABI_GNU): New macro.
6861 (ELFOSABI_LINUX): Define to that.
6862
6863 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6864
6865 * string/strncat.c (strncat): Undef the symbol in case it has been
6866 defined in bits/string.h.
6867
6868 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6869
6870 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6871
6872 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6873 link map.
6874
6875 2011-08-17 Andreas Jaeger <aj@suse.de>
6876
6877 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6878
6879 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6880 Ian Lance Taylor <iant@google.com>
6881
6882 * math/libm-test.inc (lround_test): New testcase.
6883 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6884
6885 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6886
6887 * Makefile: Remove support for automatic cvs check-ins.
6888 * Makerules: Likewise.
6889 * config.make.in: Likewise.
6890 * configure.in: Likewise.
6891 * intl/Makefile: Likewise.
6892 * locale/Makefile: Likewise.
6893 * po/Makefile: Likewise.
6894 * posix/Makefile: Likewise.
6895 * sysdeps/gnu/Makefile: Likewise.
6896 * sysdeps/mach/hurd/Makefile: Likewise.
6897 * sysdeps/sparc/sparc32/Makefile: Likewise.
6898
6899 [BZ #13118]
6900 * posix/Makefile (bug-regex32-ENV): Define.
6901 Patch by John Stanley <jpsinthemix@verizon.net>.
6902
6903 * misc/Makefile (headers): Add bits/select2.h.
6904 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6905 * misc/bits/select2.h: New file.
6906 * include/bits/select2.h: New file.
6907 * debug/Makefile (routines): Add fdelt_chk.
6908 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6909 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6910 FD_ISSET.
6911 * debug/fdelt_chk.c: New file.
6912
6913 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6914 * wcsmbs/test-wmemcmp.c: Likewise.
6915 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6916 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6917
6918 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6919
6920 * string/Makefile (strop-tests): Add memcmp.
6921 * string/test-wmemcmp.c: New file.
6922 * string/test-memcmp.c: Add wmemcmp support.
6923
6924 2011-09-08 Roland McGrath <roland@hack.frob.com>
6925
6926 [BZ #13153]
6927 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6928 2011-07-19 change.
6929
6930 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6931 garbage value in a __mach_port_mod_refs call in the cases of the
6932 task-self and thread-self ports.
6933
6934 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6935
6936 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6937
6938 2011-09-08 Andreas Schwab <schwab@redhat.com>
6939
6940 * elf/dl-load.c (lose): Check for non-null L.
6941
6942 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6943
6944 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6945
6946 * elf/dl-libc.c (dlerror_run): Pass back error code from
6947 dl_catch_error.
6948
6949 [BZ #13123]
6950 * elf/dl-load.c (lose): Free l_origin if it is valid.
6951
6952 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6953 names.
6954 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6955 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6956 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6957 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6958 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6959 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6960
6961 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6962
6963 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6964 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6965 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
6966 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
6967 * sysdeps/powerpc/fpu/k_cosf.c: New file.
6968 * sysdeps/powerpc/fpu/k_sinf.c: New file.
6969 * sysdeps/powerpc/fpu/s_cosf.c: New file.
6970 * sysdeps/powerpc/fpu/s_sinf.c: New file.
6971 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
6972 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
6973
6974 2011-08-15 Alan Modra <amodra@gmail.com>
6975
6976 [BZ #13092]
6977 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
6978 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
6979 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
6980 ppc_mcount to static-only-routines.
6981 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
6982 __mcount_internal.
6983 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
6984 __mcount_internal with usual JUMPTARGET. Remove useless nop.
6985
6986 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
6987
6988 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
6989 for finite and infinity parameters.
6990
6991 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6992
6993 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
6994 and add nop instructions for throughput optimization.
6995 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6996
6997 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
6998
6999 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7000 aligned copy for power7 with vector-scalar instructions.
7001 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7002
7003 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7004
7005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7006 AVX check.
7007
7008 2011-09-07 Andreas Schwab <schwab@redhat.com>
7009
7010 [BZ #13144]
7011 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7012 last change.
7013
7014 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7015
7016 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7017 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7018 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7019 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7020 clock_gettime.
7021
7022 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7023
7024 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7025 Forgot to demangle the pointer.
7026
7027 * sysdeps/i386/sysdep.h: Define atom_text_section.
7028 * sysdeps/x86_64/sysdep.h: Likewise.
7029 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7030 section with atom_text_section.
7031 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7032 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7033 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7034 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7035 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7036
7037 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7038 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7039 already be defined. Change to take two parameters and don't assign
7040 result to variable. Adjust all users.
7041 Define INTERNAL_GETTIME if not already defined.
7042 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7043 call.
7044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7045 HAVE_CLOCK_GETTIME_VSYSCALL.
7046 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7047
7048 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7049 gettimeofday vsyscall, just use time.
7050
7051 2011-09-06 Andreas Schwab <schwab@redhat.com>
7052
7053 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7054 <errno.h>.
7055
7056 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7057
7058 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7059 syscall on x86-64.
7060 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7061 syscall.
7062 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7063 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7064 syscall if possible.
7065
7066 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7067
7068 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7069 e_ident. Don't pass to find_mapsXX.
7070 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7071
7072 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7073
7074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7075 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7076 * sysdeps/x86_64/multiarch/strchr.S: Update.
7077 Check bit_slow_BSF bit.
7078 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7079 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7080 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7081
7082 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7083
7084 [BZ #13134]
7085 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7086 before glibc 2.15.
7087 (tryshell): Define.
7088 (__spawni): Change last parameter to be flag. Test
7089 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7090 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7091 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7092 * posix/spawni.c: Likewise.
7093 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7094 * posix/spawnp.c: Likewise. Change normal version to use
7095 SPAWN_XFLAGS_USE_PATH.
7096 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7097 SPAWN_XFLAGS_TRY_SHELL.
7098
7099 [BZ #13150]
7100 * posix/glob.h: Remove gcc 1.x support.
7101
7102 [BZ #13068]
7103 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7104
7105 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7106
7107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7108 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7109 strrchr-sse2-bsf
7110 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7111 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7112 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7113 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7114 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7115 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7116
7117 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7118
7119 * sysdeps/x86_64/wcscmp.S: New file.
7120
7121 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7122 wcscmp-c wcscmp-sse2
7123 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7124 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7125 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7126 * wcsmbs/wcscmp.c: Allow renaming.
7127
7128 2011-09-05 David S. Miller <davem@davemloft.net>
7129
7130 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7131 stack slot, rather than the struct return pointer slot.
7132 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7133 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7135 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7136
7137 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7138
7139 * po/ja.po: Update from translation team.
7140
7141 [BZ #13144]
7142 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7143 kernel in 64-bit binaries.
7144
7145 2011-09-01 David S. Miller <davem@davemloft.net>
7146
7147 * elf/elf.h (HWCAP_SPARC_*): Move to..
7148 * sysdeps/sparc/sysdep.h: this new file and add new values.
7149 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7150 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7151 _DL_HWCAP_COUNT to 24.
7152 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7153 entries.
7154 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7155 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7156 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7157 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7158 instead of magic constants.
7159 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7160
7161 2011-08-31 David S. Miller <davem@davemloft.net>
7162
7163 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7164 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7165 Reimplement to do errno handling inline.
7166 (SYSCALL_ERROR_HANDLER): New macro.
7167 (__SYSCALL_STRING): Do not do errno handling in asm.
7168 (__CLONE_SYSCALL_STRING): Delete.
7169 (__INTERNAL_SYSCALL_STRING): Delete.
7170 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7171 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7172 (PSEUDO): Reimplement to do errno handling inline.
7173 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7174 (SYSCALL_ERROR_HANDLER): New macro.
7175 (__SYSCALL_STRING): Do not do errno handling in asm.
7176 (__CLONE_SYSCALL_STRING): Delete.
7177 (__INTERNAL_SYSCALL_STRING): Delete.
7178 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7179 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7180 i386.
7181 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7182 (inline_syscall*): Add 'err' argument.
7183 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7184 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7185 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7186 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7187
7188 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7189 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7190
7191 2011-08-30 Andreas Schwab <schwab@redhat.com>
7192
7193 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7194
7195 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7196
7197 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7198 directive.
7199
7200 2011-08-24 David S. Miller <davem@davemloft.net>
7201
7202 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7203
7204 2011-08-24 Andreas Schwab <schwab@redhat.com>
7205
7206 * elf/Makefile: Add rules to build and run unload8 test.
7207 * elf/unload8.c: New file.
7208 * elf/unload8mod1.c: New file.
7209 * elf/unload8mod1x.c: New file.
7210 * elf/unload8mod2.c: New file.
7211 * elf/unload8mod3.c: New file.
7212
7213 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7214 it wasn't used.
7215
7216 2011-08-23 David S. Miller <davem@davemloft.net>
7217
7218 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7219 subtract stack bias.
7220 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7221 %sp not %fp in calculations.
7222 (_JMPBUF_UNWINDS_ADJ): Likewise.
7223
7224 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7225 (aio_suspend): Call it to force an exception region around the
7226 AIO_MISC_WAIT() invocation.
7227
7228 2011-08-23 Andreas Schwab <schwab@redhat.com>
7229
7230 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7231 backslash.
7232
7233 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7234
7235 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7236 protection macro.
7237 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7238 and <dl-machine.h>.
7239 (Elf64_FuncDesc): Remove.
7240
7241 2011-08-22 David S. Miller <davem@davemloft.net>
7242
7243 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7244 sigaltstack check, add missing cfi directives.
7245 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7246 missing cfi directives, and sigaltstack handling.
7247
7248 2011-08-16 Andreas Schwab <schwab@redhat.com>
7249
7250 [BZ #11724]
7251 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7252 object is seen twice.
7253 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7254
7255 * elf/Makefile (distribute): Add tst-initorder2.c.
7256 (tests): Add tst-initorder2.
7257 (modules-names): Add tst-initorder2a tst-initorder2b
7258 tst-initorder2c tst-initorder2d. Add rules to build them.
7259 ($(objpfx)tst-initorder2.out): New rule.
7260 * elf/tst-initorder2.c: New file.
7261 * elf/tst-initorder2.exp: New file.
7262
7263 2011-08-22 Andreas Schwab <schwab@redhat.com>
7264
7265 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7266
7267 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7268 dependencies back to end of function.
7269
7270 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7271 $(elfobjdir)/ld.so.
7272
7273 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7274
7275 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7276 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7277 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7278 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7279 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7280 of __vdso_gettimeofday.
7281 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7282 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7283 attribute_hidden.
7284 (_libc_vdso_platform_setup): Remove initialization of
7285 __vdso_gettimeofday and __vdso_time.
7286
7287 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7288
7289 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7290 and fgetc_unlocked.
7291 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7292 getc_unlocked.
7293
7294 * elf/dl-open.c (add_to_global): Report additions to the global scope
7295 for LD_DEBUG=scopes.
7296 (dl_open_worker): Also print scope of newly loaded dependencies.
7297 (_dl_show_scope): Indicate if there is no scope.
7298
7299 [BZ #13114]
7300 * stdio-common/Makefile (tests): Add bug24.
7301 * stdio-common/bug24.c: New file.
7302
7303 2011-08-19 Andreas Jaeger <aj@suse.de>
7304
7305 [BZ #13114]
7306 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7307 non-existant file when using close-on-exec mode.
7308
7309 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7310
7311 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7312 the very first instruction.
7313
7314 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7315 the CFI state in the end.
7316 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7317 inclusion of dl-trampoline.h.
7318 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7319
7320 2011-08-19 Andreas Schwab <schwab@redhat.com>
7321
7322 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7323 expectations for long double.
7324
7325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7326 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7327
7328 2011-08-14 David S. Miller <davem@davemloft.net>
7329
7330 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7331 artificual limit depends upon the system page size.
7332
7333 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7334
7335 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7336 * resolv/Makefile: Define CFLAGS-libresolv.
7337
7338 2011-08-17 Andreas Schwab <schwab@redhat.com>
7339
7340 * nss/makedb.c (compute_tables): Make variables used in nested
7341 function static.
7342
7343 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7344
7345 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7346 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7347 if buffer was too small.
7348
7349 * elf/pldd.c (main): Attach to all threads in the process.
7350 Rewrite /proc handling to use *at functions.
7351
7352 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7353
7354 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7355 specifies first scope to show.
7356 (dl_open_worker): Update callers. Move printing scope of new
7357 object to before the relocation.
7358 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7359 * sysdeps/generic/ldsodefs.h: Update declaration.
7360
7361 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7362 string for the scope number.
7363
7364 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7365
7366 * nscd/servicescache.c (cache_addserv): Make sure written is always
7367 initialized.
7368
7369 2011-08-14 Roland McGrath <roland@hack.frob.com>
7370
7371 * sysdeps/i386/i486/bits/atomic.h
7372 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7373 statement expression, so as to suppress "set but not used" warning.
7374 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7375
7376 * string/strncat.c (STRNCAT): Use prototype definition.
7377
7378 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7379 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7380 -Iprograms here.
7381 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7382 (localedef-modules): Add localedef.
7383 (locale-modules): Add locale.
7384
7385 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7386 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7387 to avoid a warning.
7388
7389 2011-08-14 David S. Miller <davem@davemloft.net>
7390
7391 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7392 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7393
7394 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7395
7396 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7397 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7398 * elf/rtld.c (dl_main): Set l_name of vDSO.
7399 Call _dl_show_scope when DL_DEBUG_SCOPES.
7400 (process_dl_debug): Recognize scopes flag and also set it for all.
7401 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7402 Declare _dl_show_scope.
7403
7404 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7405 (do_dlopen): Pass caller_dlopen to dl_open.
7406 (__libc_dlopen_mode): Initialize caller_dlopen.
7407
7408 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7409 of libc. Make tolower call locale-independent. Optimize a bit by
7410 using isdigit instead of isalnum.
7411 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7412
7413 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7414
7415 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7416 was a dependency or dynamically loaded.
7417
7418 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7419
7420 * intl/l10nflist.c: Allow architecture-specific pop function.
7421 * sysdeps/x86_64/l10nflist.c: New file.
7422
7423 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7424 classification.
7425
7426 2011-08-10 Andreas Schwab <schwab@redhat.com>
7427
7428 * include/dirent.h: Add libc_hidden_proto for scandirat and
7429 scandirat64. Don't declare __scandirat64.
7430 * dirent/scandirat.c: Add libc_hidden_def.
7431 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7432 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7433
7434 2011-08-10 David S. Miller <davem@davemloft.net>
7435
7436 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7437 enum.
7438 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7440 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7441
7442 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7443
7444 * Versions.def [libc]: Add GLIBC_2.15.
7445 * dirent/Makefile (routines): Add scandirat and scandirat64.
7446 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7447 GLIBC_2.15.
7448 * dirent/dirent.h: Declare scandirat and scandirat64.
7449 * dirent/scandirat.c: New file.
7450 * dirent/scandirat64.c: New file.
7451 * sysdeps/wordsize-64/scandirat.c: New file.
7452 * sysdeps/wordsize-64/scandirat64.c: New file.
7453 * dirent/opendir.c: Define opendirat.
7454 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7455 using scandirat.
7456 * dirent/scandir64.c: Adjust for scandir.c change.
7457 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7458 __scandirat64, and __scandir_cancel_handler.
7459 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7460 additional parameter and use openat instead of open (outside of ld.so).
7461 Add new __opendir as wrapper around __opendirat.
7462 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7463 here without requiring old scandirat implementation.
7464
7465 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7466
7467 * dirent/scandir.c (cancel_handler): Renamed to
7468 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7469 defined. Adjust users.
7470 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7471 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7472
7473 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7474
7475 * string/test-string.h (IMPL): Use __STRING to expand name and then
7476 stringify it.
7477
7478 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7479 of cleanups.
7480
7481 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7482
7483 * string/Makefile: Update.
7484 (strop-tests): Append strncat.
7485 * string/test-wcscmp.c: New file.
7486 New comprehensive test for wcscmp.
7487 * string/test-strcmp.c: Update.
7488 (WIDE): New define.
7489
7490 2011-07-22 Andreas Schwab <schwab@redhat.com>
7491
7492 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7493 line.
7494
7495 2011-07-26 Andreas Schwab <schwab@redhat.com>
7496
7497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7498 encoding to ACE if AI_IDN.
7499
7500 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7501
7502 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7503 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7504
7505 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7506
7507 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7508 Fix overflow bug in strncat.
7509 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7510
7511 * string/test-strncat.c: Update.
7512 Add new tests for checking overflow bugs.
7513
7514 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7515
7516 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7517 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7518 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7519 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7520 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7521 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7522 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7523 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7524 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7525
7526 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7527 (USE_AS_STRCAT): Define.
7528 Add strcat and strncat support.
7529 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7530
7531 2011-07-25 Andreas Schwab <schwab@redhat.com>
7532
7533 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7534 __n bigger than INT_MAX+1.
7535 (__strncmp_g): Likewise.
7536
7537 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7538
7539 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7540 * libio/stido.h: Likewise.
7541
7542 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7543 (AF_NFC): Define.
7544 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7545 (AF_NFC): Define.
7546
7547 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7548 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7549 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7550 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7552
7553 [BZ #13021]
7554 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7555 installed.
7556
7557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7558 typo.
7559 (_dl_x86_64_save_sse): Likewise.
7560
7561 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7562
7563 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7564 OSXSAVE.
7565 (_dl_x86_64_save_sse): Likewise.
7566
7567 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7568
7569 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7570
7571 2011-07-21 Andreas Schwab <schwab@redhat.com>
7572
7573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7574 change.
7575 (_dl_x86_64_save_sse): Use correct AVX check.
7576
7577 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7578
7579 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7580 bug in strncpy/strncat.
7581 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7582
7583 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7584
7585 * string/tester.c (test_strcat): Add tests for different alignments
7586 of source and destination.
7587 (test_strncat): Likewise.
7588
7589 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7590
7591 [BZ #12852]
7592 * posix/glob.c (glob): Check passed in values before using them in
7593 expressions to avoid some overflows.
7594 (glob_in_dir): Likewise.
7595
7596 [BZ #13007]
7597 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7598 check for AVX enablement so that we don't crash with old kernels and
7599 new hardware.
7600 * elf/tst-audit4.c: Add same checks here.
7601 * elf/tst-audit6.c: Likewise.
7602
7603 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7604
7605 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7606
7607 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7608
7609 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7610
7611 * po/cs.po: Update from translation team.
7612 * po/bg.po: Likewise.
7613
7614 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7615
7616 * misc/sys/cdefs.h: Add support for const attribute.
7617 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7618 to gnu_dev_{major,minor,makedev} functions.
7619
7620 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7621
7622 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7623
7624 2011-07-20 Andreas Schwab <schwab@redhat.com>
7625
7626 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7627 strlen results.
7628
7629 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7630
7631 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7632 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7633 register in order to avoid conflicts with the soft frame pointer
7634 being held in r11 when necessary.
7635 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7636 (INTERNAL_VSYSCALL_NCS): Likewise.
7637
7638 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7639
7640 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7641 * elf/dl-fini.c (_dl_fini): Adjust caller.
7642 * elf/dl-close.c (_dl_close_worker): Likewise.
7643 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7644
7645 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7646
7647 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7648 "aux_cache->nlibs < 0".
7649
7650 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7651 in the reload-count case.
7652
7653 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7654
7655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7656 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7657 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7658 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7659 * sysdeps/x86_64/multiarch/strcat.S: New file.
7660 * sysdeps/x86_64/multiarch/strncat.S: New file.
7661 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7662 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7663 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7664 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7665 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7666 (USE_AS_STRCAT): Define.
7667 Add strcat and strncat support.
7668 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7669 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7670 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7671 * string/strncat.c: Update.
7672 (USE_AS_STRNCAT): Define.
7673 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7674 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7675 and i7.
7676 * sysdeps/x86_64/multiarch/init-arch.h
7677 (bit_Prefer_PMINUB_for_stringop): New.
7678 (index_Prefer_PMINUB_for_stringop): Likewise.
7679 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7680 bit_Prefer_PMINUB_for_stringop.
7681
7682 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7683
7684 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7685 buffer64.
7686 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7687 of casting of buffer.
7688 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7689 buffer32 and buffer64.
7690 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7691 writes instead of casting of buffer.
7692 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7693 buffer32.
7694 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7695 casting of buffer.
7696
7697 2011-07-19 Andreas Schwab <schwab@redhat.com>
7698
7699 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7700
7701 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7702
7703 * nscd/nscd.c (termination_handler): Don't do anything for a database
7704 if it has not yet been initialized.
7705
7706 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7707
7708 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7709
7710 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7711
7712 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7713
7714 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7715
7716 * po/nl.po: Update from translation team.
7717 * po/sv.po: Likewise.
7718
7719 2011-07-16 Roland McGrath <roland@hack.frob.com>
7720
7721 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7722 now disallowed by GCC.
7723
7724 * configure.in (use-default-link): Default to yes if a test -shared
7725 link meets our qualifications.
7726 * configure: Regenerated.
7727
7728 * config.make.in (output-format): New variable.
7729 * configure.in: Check for ld --print-output-format support.
7730 * configure: Regenerated.
7731 * Makerules ($(common-objpfx)format.lds)
7732 [$(output-format) != unknown]: Just use $(output-format),
7733 instead of the linker-script munging.
7734
7735 2011-07-14 Roland McGrath <roland@hack.frob.com>
7736
7737 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7738 of $(common-objpfx)shlib.lds.
7739 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7740
7741 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7742 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7743
7744 * configure.in (-z relro check): Adjust test code to add a large
7745 writable data section after it.
7746 * configure: Regenerated.
7747
7748 2011-07-11 Roland McGrath <roland@hack.frob.com>
7749
7750 * configure.in (-z relro check): Fix test code to make the variable
7751 truly const.
7752 * configure: Regenerated.
7753
7754 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7755
7756 * nscd/nscd.h (struct traced_file): Define.
7757 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7758 elements. Add traced_files.
7759 (inotify_fd): Declare.
7760 (register_traced_file): Declare.
7761 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7762 (inotify_fd): Export.
7763 (resolv_conf_descr): Remove.
7764 (nscd_init): Move inotify descriptor creation to main.
7765 Don't register files for notification here.
7766 (register_traced_file): New function.
7767 (invalidate_cache): Don't use reset_res to determine whether to call
7768 res_init, go through the list of registered files.
7769 (main_loop_poll): The inotify descriptors are now stored in the
7770 structures for the traced files.
7771 (main_loop_epoll): Likewise
7772 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7773 to __nss_disable_nscd.
7774 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7775 for a database anymore. Check the records for all the registered
7776 files instead.
7777 * nss/Makefile (libnss_files-routines): Add files-init.
7778 (libnss_db-routines): Add db-init.
7779 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7780 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7781 * nss/nss_db/db-init.c: New file.
7782 * nss/nss_files/files-init.c: New file.
7783 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7784 __nss_lookup_function.
7785 (__nss_lookup_function): Call nss_load_library.
7786 (nss_load_all_libraries): New function.
7787 (__nss_disable_nscd): Take parameter with callback function for files
7788 to register. Set is_nscd. Load all the DSOs for the NSS modules
7789 used for the cached services.
7790 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7791 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7792 options for features to all the files in nscd.
7793
7794 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7795
7796 2011-07-10 Roland McGrath <roland@hack.frob.com>
7797
7798 * csu/elf-init.c (__libc_csu_init): Comment typo.
7799
7800 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7801
7802 * po/pl.po: Update from translation team.
7803 * po/ja.po: Likewise.
7804 * po/ru.po: Likewise.
7805 * po/ko.po: Likewise.
7806 * po/fr.po: Likewise.
7807
7808 2011-07-09 Roland McGrath <roland@hack.frob.com>
7809
7810 * configure.in (.ctors/.dtors header and trailer check):
7811 Use an empirical test on a built program.
7812 * configure: Regenerated.
7813
7814 * configure.in (-z relro check): Use an empirical test on a built DSO.
7815 Detect, but do not require, on ia64.
7816 * configure: Regenerated.
7817
7818 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7819 Update tests that use readelf to use $READELF instead.
7820 * configure: Regenerated.
7821
7822 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7823
7824 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7825 if the result is not used.
7826
7827 2011-07-05 Andreas Jaeger <aj@suse.de>
7828
7829 [BZ#9696]
7830 * stdlib/tst-strtod.c: Add testcase.
7831
7832 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7833
7834 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7835 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7836 The latter has a higher limit. Take additional parameter to pass to
7837 the new function.
7838 (__pathconf): Pass file to __statfs_link_max.
7839 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7840 __statfs_link_max.
7841 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7842 __statfs_link_max.
7843
7844 [BZ #12868]
7845 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7846 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7847 Handle Lustre.
7848 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7849 (__statfs_filesize_max): Likewise.
7850 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7851
7852 2011-07-05 Andreas Jaeger <aj@suse.de>
7853
7854 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7855
7856 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7857
7858 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7859 `status' variable.
7860 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7861 Likewise.
7862
7863 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7864
7865 * Makefile (strop-tests): Add strncat.
7866 * string/test-strncat.c: New file.
7867
7868 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7869
7870 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7871
7872 2011-06-21 Andreas Jaeger <aj@suse.de>
7873
7874 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7875 Copy rule from iconvdata/Makefile.
7876
7877 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7878
7879 [BZ #12922]
7880 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7881 but no long options are defined, just return 'W'.
7882
7883 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7884
7885 [BZ #9696]
7886 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7887
7888 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7889
7890 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7891 netgroups to read.
7892 (innetgr): Likewise.
7893
7894 2011-07-05 Roland McGrath <roland@hack.frob.com>
7895
7896 * config.make.in (install_root): Default to $(DESTDIR).
7897
7898 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7899
7900 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7901
7902 2011-07-02 Roland McGrath <roland@hack.frob.com>
7903
7904 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7905
7906 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7907 containing directory rather than embedding absolute directory names.
7908
7909 * scripts/check-local-headers.sh: Rewritten using awk.
7910 Match by word, not by line. Print error messages for matches.
7911 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7912
7913 * Makerules [shlib-lds-flags empty]:
7914 ($(common-objpfx)libc_pic.opts): New target.
7915 ($(common-objpfx)libc_pic.os.clean): New target.
7916 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7917
7918 * config.make.in (OBJCOPY): New variable.
7919 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7920 * configure: Regenerated.
7921
7922 * config.make.in (use-default-link): New variable.
7923 * configure.in (use_default_link): Grok --with-default-link to set it.
7924 * configure: Regenerated.
7925 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7926 (shlib-lds, shlib-lds-flags): Define to empty.
7927
7928 * Makerules (shlib-lds): New variable.
7929 (shlib-lds-flags): New variable.
7930 (build-shlib, build-moduile, build-module-asneeded): Use it.
7931 ($(common-objpfx)libc.so): Use $(shlib-lds).
7932 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7933 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7934
7935 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7936 DT_FLAGS/DT_FLAGS_1 with zero flags.
7937
7938 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7939 linker script munging.
7940
7941 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7942
7943 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7944 as 128-bit value.
7945 * crypt/sha512.c (sha512_process_block): Perform total addition using
7946 128-bit if possible.
7947 (__sha512_finish_ctx): Likewise.
7948 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7949 as 64-bit value.
7950 * crypt/sha256.c (SWAP64): Define.
7951 (sha256_process_block): Perform total addition using 64-bit if
7952 possible.
7953 (__sha256_finish_ctx): Likewise.
7954
7955 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7956
7957 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7958 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7959 * nscd/hstcache.c (cache_addhst): Likewise.
7960 * nscd/grpcache.c (cache_addgr): Likewise.
7961 * nscd/aicache.c (addhstaiX): Likewise
7962 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7963
7964 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7965
7966 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
7967 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7968 * nscd/hstcache.c (cache_addhst): Likewise.
7969 * nscd/grpcache.c (cache_addgr): Likewise.
7970 * nscd/aicache.c (addhstaiX): Likewise
7971
7972 2011-07-01 Andreas Schwab <schwab@redhat.com>
7973
7974 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
7975 domain only when needed.
7976
7977 2011-06-30 Andreas Schwab <schwab@redhat.com>
7978
7979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
7980 is always restored.
7981
7982 2011-06-29 Ulrich Drepper <drepper@gmail.com>
7983
7984 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
7985 are re-adding the entry.
7986 * nscd/servicescache.c (cache_addserv): Likewise.
7987
7988 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
7989
7990 * sysdeps/generic/dl-irel.h: fix protection against multiple
7991 inclusions.
7992 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
7993
7994 2011-06-28 Ulrich Drepper <drepper@gmail.com>
7995
7996 [BZ #12935]
7997 * malloc/memusage.sh: Fix quoting in message.
7998 * debug/xtrace.sh: Likewise.
7999
8000 * configure.in: Remove support for --experimental-malloc option, make
8001 it the default.
8002 * config.make.in: Likewise.
8003 * malloc/Makefile: Likewise.
8004
8005 2011-06-27 Andreas Schwab <schwab@redhat.com>
8006
8007 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8008 two-byte characters.
8009
8010 2011-06-27 Roland McGrath <roland@hack.frob.com>
8011
8012 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8013 AC_CACHE_CHECK invocation.
8014 * configure: Regenerated.
8015
8016 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8017
8018 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8019
8020 [BZ #12350]
8021 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8022 bit from old_res_options.
8023
8024 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8025
8026 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8027 value type for setfct.
8028
8029 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8030
8031 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8032 __gettimeofday instead of gettimeofday.
8033
8034 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8035
8036 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8037
8038 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8039
8040 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8041
8042 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8043 info.
8044
8045 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8046
8047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8048 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8049 strcpy-sse2-unaligned strncpy-sse2-unaligned
8050 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8051 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8052 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8053 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8054 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8055 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8056 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8057 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8058 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8059 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8060 (STRCPY): Support SSE2 and SSSE3 versions.
8061
8062 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8063
8064 [BZ #12874]
8065 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8066 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8067 kernels which artificially limit size of requests.
8068
8069 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8070
8071 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8072 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8073 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8074 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8075 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8076 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8077 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8078 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8079 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8080 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8081 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8082 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8083 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8084 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8085 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8086 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8087 Enable unaligned load optimization for Intel Core i3, i5 and i7
8088 processors.
8089 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8090 Define.
8091 (index_Fast_Unaligned_Load): Define.
8092 (HAS_FAST_UNALIGNED_LOAD): Define.
8093
8094 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8095
8096 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8097
8098 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8099
8100 [BZ #12907]
8101 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8102 until it is clear that the information is realy needed.
8103 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8104
8105 2011-06-22 Andreas Schwab <schwab@redhat.com>
8106
8107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8108
8109 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8110
8111 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8112 /sys/devices/system/cpu/online if it is usable.
8113
8114 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8115 reading the information from the /proc filesystem to once a second.
8116
8117 2011-06-21 Andreas Jaeger <aj@suse.de>
8118
8119 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8120 NULL after inclusion of kernel headers.
8121
8122 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8123
8124 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8125 calls to internal_setent.
8126
8127 [BZ #12885]
8128 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8129 addresses using gethostbyname4_r ignore IPv4 addresses.
8130
8131 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8132 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8133
8134 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8135
8136 2011-06-20 David S. Miller <davem@davemloft.net>
8137
8138 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8139 inclusions.
8140 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8141
8142 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8143 (elf_irel): Use it.
8144 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8145 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8146 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8147 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8148 * sysdeps/x86_64/dl-irel.h: Likewise.
8149
8150 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8151 * elf/dl-sym.c: Likewise.
8152
8153 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8154
8155 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8156 need to dereference resplen2.
8157
8158 2011-06-14 Andreas Schwab <schwab@redhat.com>
8159
8160 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8161
8162 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8163
8164 * Makeconfig: Define vardbdir and inst_vardbdir.
8165 * nss/Makefile: Add rules to install db-Makefile.
8166
8167 * nss/nss_db/db-XXX.c: Cleanup.
8168
8169 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8170 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8171 GLIBC_PRIVATE.
8172 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8173 * nss/makedb.c: Implement -g option to specify that value strings
8174 are generated and should not be added to table iterated over for
8175 get*ent calls.
8176 * nss/nss_db/db-initgroups.c: New file.
8177
8178 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8179 interface.
8180
8181 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8182 (internal_getgrouplist): Adjust to name change.
8183 Update use_initgroups_entry if this is not the first call.
8184 * nss/databases.def: Add initgroups entry.
8185
8186 * nss/makedb.c (compute_tables): Check result of multiple hash table
8187 sizes to minimize maximum chain length.
8188
8189 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8190
8191 * Versions.def: Add entry for libnss_db.
8192 * shlib-versions: Likewise.
8193 * nss/Makefile: Add rules to build libnss_db.
8194 * nss/Versions: Add libnss_db information. Organize libnss_files
8195 entries better.
8196 * nss/db-Makefile: Add gshadow support. Change rules for the new
8197 makedb progra. Some minor improvements to generate smaller files.
8198 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8199 here from...
8200 * nss/makedb.c: ...here.
8201 Improve database format to be smaller and require less memory at
8202 runtime.
8203 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8204 db anymore.
8205 * nss/nss_db/db-netgrp.c: Likewise.
8206 * nss/nss_db/db-open.c: Likewise.
8207 * nss/nss_files/flies-XXX.x: Adjust comments.
8208 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8209 * nss/nss_files/files-grp.c: Likewise.
8210 * nss/nss_files/files-hosts.c: Likewise.
8211 * nss/nss_files/files-network.c: Likewise.
8212 * nss/nss_files/files-proto.c: Likewise.
8213 * nss/nss_files/files-pwd.c: Likewise.
8214 * nss/nss_files/files-rpc.c: Likewise.
8215 * nss/nss_files/files-service.c: Likewise.
8216 * nss/nss_files/files-sgrp.c: Likewise.
8217 * nss/nss_files/files-spwd.c: Likewise.
8218 * nss/nss_db/db-alias.c: Removed.
8219 * nss/nss_db/dummy-db.h: Removed.
8220
8221 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8222
8223 * nss/makedb.c: Rewritten to not use database library.
8224 * nss/Makefile: Update to build new makedb program.
8225
8226 2011-06-14 Andreas Jaeger <aj@suse.de>
8227
8228 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8229 memset declaration.
8230
8231 2011-06-10 Andreas Schwab <schwab@redhat.com>
8232
8233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8234 tmpbuf.
8235
8236 2011-06-10 Roland McGrath <roland@hack.frob.com>
8237
8238 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8239 * elf/Makefile ($(objpfx)ld.so): Likewise.
8240
8241 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8242 Don't list ld.so twice in dependencies.
8243
8244 * posix/bug-regex31.c: Include <stdlib.h>.
8245
8246 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8247
8248 * nis/nss_compat/compat-spwd.c
8249 (getspent_next_nss_netgr): Remove unused variable.
8250 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8251
8252 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8253 nonmembers" output to use the right array.
8254
8255 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8256
8257 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8258
8259 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8260 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8261 * catgets/gencat.c (read_input_file): Likewise.
8262 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8263
8264 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8265 variable definition inside #if's controlling its use.
8266
8267 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8268
8269 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8270
8271 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8272
8273 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8274 unreachable code.
8275
8276 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8277
8278 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8279 * configure: Regenerated.
8280
8281 * Makerules: Revert last change.
8282 * elf/Makefile: Likewise.
8283
8284 2011-06-09 Roland McGrath <roland@hack.frob.com>
8285
8286 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8287 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8288 (reloc-link): Likewise.
8289
8290 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8291
8292 * elf/Makefile: Add rules to build pldd.
8293 * elf/pldd.c: New file.
8294 * elf/pldd-xx.c: New file.
8295
8296 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8297
8298 * version.h: Update for 2.15 development version.
8299
8300 2011-06-07 David S. Miller <davem@davemloft.net>
8301
8302 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8303 ifuncs.
8304 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8305 elf_machine_lazy_rel): Likewise.
8306 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8307 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8308 elf_machine_lazy_rel): Likewise.
8309 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8310 dl_hwcap via passed in argument.
8311 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8312 Likewise.
8313
8314 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8315
8316 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8317
8318 2011-06-06 Roland McGrath <roland@hack.frob.com>
8319
8320 [BZ #12849]
8321 * manual/fdl-1.1.texi: New file, verbatim from:
8322 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8323 * manual/lgpl-2.1.texi: New file, verbatim from:
8324 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8325 * manual/Makefile (licenses): New variable, list those new file names.
8326 (texis): Use it.
8327 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8328
8329 * manual/fdl.texi: File removed.
8330 * manual/lesser.texi: File removed.
8331 * manual/libc.texinfo (Copying, Documentation License):
8332 Use new @include file names, put @appendix directive before @include.
8333
8334 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8335
8336 [BZ #12841]
8337 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8338 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8339 (mq_open): Add __NTH.
8340
8341 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8342
8343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8344 Assume Intel Core i3/i5/i7 processor if AVX is available.
8345
8346 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8347
8348 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8349 typo.
8350
8351 2011-05-31 Andreas Schwab <schwab@redhat.com>
8352
8353 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8354 memory. Use alloca_account. Fix memory leak when retrying.
8355
8356 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8357
8358 * version.h (RELEASE): Bump for 2.14 release.
8359 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8360
8361 * config.make.in (RANLIB): Remove entry.
8362
8363 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8364
8365 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8366 (libc.pot): Work around missing support for .ksh extension in xgettext.
8367
8368 [BZ #12684]
8369 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8370 if both request failed.
8371 (send_dg): In case of server errors clear resplen or *resplen2.
8372
8373 [BZ #12454]
8374 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8375 when there are multiple maps.
8376 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8377 (_dl_fini): Remove test here.
8378
8379 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8380
8381 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8382
8383 [BZ #12350]
8384 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8385 bit from old_res_options.
8386 (gaih_inet): Likewise.
8387
8388 [BZ #11099]
8389 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8390 as signed.
8391
8392 * resolv/res_init.c (res_setoptions): Make the code more compact.
8393
8394 [BZ #11558]
8395 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8396 set RES_USEVC.
8397
8398 [BZ #11634]
8399 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8400
8401 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8402
8403 [BZ #11781]
8404 * malloc/malloc.h: Declare malloc hook variables as volatile.
8405
8406 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8407 in last patch.
8408
8409 [BZ #11799]
8410 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8411 raise in the comment.
8412 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8413 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8414 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8415
8416 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8417
8418 [BZ #12811]
8419 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8420 grow the buffers more if it already has to be sufficient.
8421 (build_wcs_upper_buffer): Likewise.
8422 * posix/regexec.c (check_matching): Likewise.
8423 (clean_state_log_if_needed): Likewise.
8424 (extend_buffers): Don't enlarge buffers beyond size of the input
8425 buffer.
8426 Patches mostly by Emil Wojak <emil@wojak.eu>.
8427 * posix/bug-regex32.c: New file.
8428 * posix/Makefile (tests): Add bug-regex32.
8429
8430 * locale/findlocale.c (_nl_find_locale): Return right away if
8431 _nl_explode_name failed.
8432 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8433
8434 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8435
8436 * debug/xtrace.sh: Unify messages.
8437 * malloc/memusage.sh: Likewise.
8438
8439 [BZ #12813]
8440 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8441 time symbol from vDSO. Substitute with vsyscall if not available.
8442 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8443 __vdso_time.
8444
8445 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8446 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8447 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8448 Add sendmmsg and internal_sendmmsg.
8449 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8450 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8451 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8452
8453 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8454 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8455 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8456
8457 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8458
8459 [BZ #12813]
8460 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8461 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8462 available.
8463 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8464 __vdso_getcpu.
8465
8466 [BZ #12814]
8467 * iconvdata/Makefile (tests): Add bug-iconv9.
8468 * iconvdata/bug-iconv9.c: New file.
8469
8470 2011-05-27 Andreas Schwab <schwab@redhat.com>
8471
8472 [BZ #12814]
8473 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8474
8475 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8476
8477 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8478 (struct user_regs_struct): Change intcs field back to cs.
8479
8480 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8481
8482 * po/ja.po: Update from translation team.
8483
8484 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8485
8486 [BZ #12795]
8487 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8488 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8489
8490 2011-05-20 Andreas Schwab <schwab@redhat.com>
8491
8492 * stdlib/longlong.h: Update from GCC.
8493
8494 2011-05-23 Andreas Schwab <schwab@redhat.com>
8495
8496 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8497 parameter name.
8498 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8499 Add parameter name.
8500 (__sysconf): Pass it down.
8501
8502 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8503
8504 [BZ #12671]
8505 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8506 some situations.
8507 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8508 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8509 add in in __libc_use_alloca calls. Adjust callers.
8510 (glob): Use malloc in some situations.
8511
8512 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8513 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8514 pltexit.
8515
8516 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8517
8518 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8519 and CLOCK_BOOTTIME_ALARM.
8520
8521 [BZ #12782]
8522 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8523 is returned.
8524
8525 * string/_strerror.c (__strerror_r): Print negative errors as signed
8526 numbers.
8527
8528 [BZ #12777]
8529 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8530 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8531 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8532
8533 * configure.in: Fix typo in redirection and correct removal of test
8534 files in two cases.
8535
8536 [BZ #12788]
8537 * locale/setlocale.c (new_composite_name): Fix test to check for
8538 identical name of all categories.
8539
8540 [BZ #12792]
8541 * libio/filedoalloc.c (local_isatty): New function.
8542 (_IO_file_doallocate): Use local_isatty.
8543 * stdio-common/perror.c (perror): In case a new stream is used
8544 forward the stream error.
8545 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8546 error flag.
8547
8548 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8549
8550 [BZ #11869]
8551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8552 alloca.
8553 * include/alloca.h (extend_alloca_account): Define.
8554
8555 [BZ #11857]
8556 * posix/regex.h: Fix comments with documentation of user-accessible
8557 fields after compilation and describe correct free'ing of pattern
8558 after re_compile_pattern.
8559 Patch by Reuben Thomas <rrt@sc3d.org>.
8560
8561 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8562
8563 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8564 and -mno-altivec to prevent the compiler from using Altivec and/or
8565 VSX instructions when the corresponding registers are not available.
8566
8567 2011-05-19 Andreas Schwab <schwab@redhat.com>
8568
8569 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8570
8571 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8572
8573 * libio/freopen.c (freopen): Use __dup2, not dup2.
8574 * libio/freopen64.c (freopen64): Likewise.
8575
8576 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8577
8578 [BZ #12775]
8579 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8580 * math/Makefile (tests): Add test-powl.
8581 (CFLAGS-test-powl.c): Define.
8582 * math/test-powl.c: New file.
8583
8584 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8585
8586 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8587
8588 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8589
8590 [BZ #11837]
8591 * iconvdata/gb18030.c: Update to GB18020-2005.
8592
8593 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8594
8595 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8596 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8597 Patch by Aharon Robbins <arnold@skeeve.com>.
8598
8599 [BZ #11892]
8600 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8601 on the stack.
8602
8603 [BZ #11895]
8604 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8605 through underflows.
8606
8607 [BZ #12766]
8608 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8609 point to strings before performing equality test for error_one_per_line
8610 mode.
8611
8612 [BZ #11697]
8613 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8614
8615 [BZ #11820]
8616 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8617 (struct user_fpregs_struct): Avoid __uint*_t types.
8618
8619 [BZ #6420]
8620 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8621 symbol info. Use it instead of calling _dl_addr locally.
8622 (lock_and_info): New function.
8623 (tr_freehook): Call lock_and_info and pass symbol info as additional
8624 parameter to tr_where.
8625 (tr_mallochook): Likewise.
8626 (tr_reallochook): Likewise.
8627 (tr_memalignhook): Likewise.
8628
8629 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8630 used and couldn't be at all thread-safe.
8631
8632 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8633
8634 * libio/freopen.c (freopen): Don't close old file descriptor
8635 before the new one is opened. Instead dup the new file descriptor
8636 to the old one after the new stream is created.
8637 * libio/freopen64.c (freopen64): Likewise.
8638 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8639 * libio/fileops.c (_IO_new_file_close_it): Handle new
8640 _IO_FLAGS2_NOCLOSE flag.
8641 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8642 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8643 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8644 _IO_FLAGS2_NOCLOSE flag.
8645 * include/unistd.h: Add hidden_proto for dup3.
8646 Define __have_dup3.
8647 * io/dup3.c: Define hidden symbol.
8648 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8649
8650 [BZ #7101]
8651 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8652 when an incomplete long option is used.
8653 * posix/tst-getopt_long1.c: New file.
8654 * posix/Makefile (tests): Add tst-getopt_long1.
8655
8656 [BZ #10138]
8657 * scripts/config.guess: Update from autoconf-2.68.
8658 * scripts/config.sub: Likewise.
8659
8660 [BZ #10157]
8661 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8662 tests into ...
8663 (has_cpuclock): ...this. New function.
8664 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8665 macro here based on has_cpuclock code.
8666
8667 [BZ #10149]
8668 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8669 First byte (not low byte) is now always NUL.
8670 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8671
8672 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8673 Use non-cancelable interfaces.
8674
8675 [BZ #9809]
8676 * locale/iso-639.def: Add entry for Sorani.
8677
8678 [BZ #11901]
8679 * include/stdlib.h: Move include protection to the right place.
8680 Define abort_msg_s. Declare __abort_msg with it.
8681 * stdlib/abort.c (__abort_msg): Adjust type.
8682 * assert/assert.c (__assert_fail_base): New function. Majority
8683 of code from __assert_fail. Allocate memory for __abort_msg with
8684 mmap.
8685 (__assert_fail): Now call __assert_fail_base.
8686 * assert/assert-perr.c: Remove bulk of implementation. Use
8687 __assert_fail_base.
8688 * include/assert.hL Declare __assert_fail_base.
8689 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8690 mmap.
8691 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8692
8693 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8694
8695 [BZ #11952]
8696 [BZ #12453]
8697 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8698 until all modules are registered in the DTV.
8699 * elf/Makefile: Add rules to build and run tst-tls19.
8700 * elf/tst-tls19.c: New file.
8701 * elf/tst-tls19mod1.c: New file.
8702 * elf/tst-tls19mod2.c: New file.
8703 * elf/tst-tls19mod3.c: New file.
8704 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8705
8706 [BZ #12083]
8707 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8708 correctly.
8709
8710 [BZ #12601]
8711 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8712 two-byte sequence errors.
8713 * iconvdata/Makefile (tests): Add bug-iconv8.
8714 * iconvdata/bug-iconv8.c: New file.
8715
8716 [BZ #12626]
8717 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8718 buf2 definition.
8719
8720 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8721
8722 [BZ #12432]
8723 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8724 (dummy_getcfa): New function.
8725 (init): Get _Unwind_GetCFA address, use dummy if not found.
8726 (backtrace_helper): In recursion check, also check whether CFA changes.
8727 (__backtrace): Completely initialize arg.
8728
8729 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8730 storing incomplete byte sequence in state object. Avoid testing for
8731 guaranteed too small input if we know there is enough data available.
8732
8733 2011-05-11 Andreas Schwab <schwab@redhat.com>
8734
8735 * Makeconfig (+link-pie): Indent.
8736 * Rules (binaries-pie): Define if $(have-fpie) and
8737 $(build-shared).
8738 (binaries-shared): Also filter out $(binaries-pie).
8739 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8740 * nscd/Makefile (others-pie): Add nscd.
8741 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8742 ($(objpfx)nscd): Remove command override.
8743 * login/Makefile (others-pie): Add pt_chown.
8744 ($(objpfx)pt_chown): Remove command override.
8745 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8746 remove command overrides.
8747
8748 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8749
8750 * libio/tst_putwc.c: Fix error messages.
8751
8752 [BZ #12724]
8753 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8754 currently writing and seek to current position when not.
8755 * libio/Makefile (tests): Add bug-fclose1.
8756 * libio/bug-fclose1.c: New file.
8757
8758 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8759
8760 [BZ #12511]
8761 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8762 don't set DF_1_NODELETE here.
8763 (do_lookup_x): When entering new entry test for copy relocation
8764 and if necessary set DF_1_NODELETE flag.
8765 * elf/tst-unique4.cc: New file.
8766 * elf/tst-unique4.h: New file.
8767 * elf/tst-unique4lib.cc: New file.
8768 * elf/Makefile: Add rules to build and run tst-unique4.
8769 Patch by Piotr Bury <pbury@goahead.com>.
8770
8771 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8772
8773 [BZ #12052]
8774 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8775
8776 [BZ #12625]
8777 * misc/mntent_r.c (addmntent): Flush the stream after the output
8778
8779 [BZ #12393]
8780 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8781 (is_trusted_path_normalize): Skip initial colon. Append slash
8782 to empty buffer. Duplicate is_trusted_path code but allow
8783 constructed patch to be prefix.
8784 (is_dst): Allow $ORIGIN followed by /.
8785 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8786 Correct testing of result of is_trusted_path_normalize
8787 (decompose_rpath): Fix warning.
8788
8789 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8790
8791 [BZ #11257]
8792 * grp/initgroups.c (internal_getgrouplist): When we found the service
8793 list through the initgroups entry in nsswitch.conf do not always
8794 continue on a successful lookup. Don't always use the
8795 __nss_group_database value if it is set.
8796 * nss/nsswitch.conf (initgroups): Change action for successful db
8797 lookup to continue for compatibility.
8798
8799 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8800
8801 [BZ #11532]
8802 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8803 and CP774 modules.
8804 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8805 and CP774 modules.
8806 * iconvdata/tst-tables.sh: Likewise.
8807 * iconvdata/cp770.c: New file.
8808 * iconvdata/cp771.c: New file.
8809 * iconvdata/cp772.c: New file.
8810 * iconvdata/cp773.c: New file.
8811 * iconvdata/cp774.c: New file.
8812 * iconvdata/testdata/CP770: New file.
8813 * iconvdata/testdata/CP770..UTF8: New file.
8814 * iconvdata/testdata/CP771: New file.
8815 * iconvdata/testdata/CP771..UTF8: New file.
8816 * iconvdata/testdata/CP772: New file.
8817 * iconvdata/testdata/CP772..UTF8: New file.
8818 * iconvdata/testdata/CP773: New file.
8819 * iconvdata/testdata/CP773..UTF8: New file.
8820 * iconvdata/testdata/CP774: New file.
8821 * iconvdata/testdata/CP774..UTF8: New file.
8822
8823 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8824 END CHARMAP line.
8825 * iconvdata/gen-8bit-gap.sh: Likewise.
8826 * iconvdata/gen-8bit.sh: Likewise.
8827
8828 * locale/iso-639.def: Add ary entry.
8829
8830 [BZ #11258]
8831 * locale/C-translit.h.in: Add U20A1 transliteration.
8832
8833 [BZ #12178]
8834 * locale/iso-639.def: Add wae entry.
8835 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8836
8837 [BZ #12545]
8838 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8839 for n.
8840
8841 [BZ #12711]
8842 * locale/C-translit.h.in: Add entry for U20B9.
8843 Patch by pravin.d.s@gmail.com.
8844
8845 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8846
8847 [BZ #12713]
8848 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8849 ENAMETOOLONG use generic getcwd.
8850 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8851 in rtld. Use *stat64.
8852 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8853 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8854 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8855 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8856 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8857 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8858 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8859 __fstatat64 macros.
8860 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8861 * dirent/rewinddir.c: Add libc_hidden_def.
8862 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8863 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8864
8865 * include/dirent.h (__alloc_dir): Add flags parameter.
8866 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8867 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8868 __alloc_dir.
8869 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8870 from fdopendir if O_CLOEXEC is already set.
8871
8872 2011-03-15 Alan Modra <amodra@gmail.com>
8873
8874 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8875 l_tls_firstbyte_offset non-zero. Save padding offset in
8876 l_tls_firstbyte_offset for later use.
8877 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8878 freeing static tls block.
8879
8880 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8881
8882 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8883 where #ifdef was intended. The intent is to prevent ARG_MAX from
8884 being defined by the kernel headers.
8885
8886 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8887
8888 [BZ #12734]
8889 * resolv/resolv.h: Define RES_NOTLDQUERY.
8890 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8891 no-tld-query and set RES_NOTLDQUERY.
8892 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8893 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8894 modern BIND to search name as TLD unless forbidden.
8895
8896 2011-05-07 Petr Baudis <pasky@suse.cz>
8897 Ulrich Drepper <drepper@gmail.com>
8898
8899 [BZ #12393]
8900 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8901 (is_trusted_path): ...to here.
8902 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8903 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8904 using is_trusted_path_normalize() in setuid scripts.
8905
8906 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8907
8908 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8909 __BEGIN/__END_DECLS.
8910
8911 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8912
8913 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8914 NSS_STATUS_NOTFOUND if no record was found.
8915
8916 2011-05-05 Andreas Schwab <schwab@redhat.com>
8917
8918 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8919 (headers-not-in-tirpc): Remove rpc/netdb.h
8920 * resolv/netdb.h: Revert last change.
8921
8922 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8923
8924 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8925 circular dependency between libgcc.a and libc.a.
8926
8927 2011-05-05 Andreas Schwab <schwab@redhat.com>
8928
8929 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8930 * nis/Makefile: Don't install rpcsvc/*.
8931 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8932 instead of <rpc/types.h>.
8933 (MAXHOSTNAMELEN): Define.
8934
8935 2011-05-03 Andreas Schwab <schwab@redhat.com>
8936
8937 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8938
8939 2011-04-28 Maciej Babinski <mbabinski@google.com>
8940
8941 [BZ #12714]
8942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8943 gethostbyname4_r when IPv6 results are possible.
8944
8945 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8946
8947 [BZ #12723]
8948 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8949 _PC_PIPE_BUF handling.
8950
8951 2011-04-30 Bruno Haible <bruno@clisp.org>
8952
8953 [BZ #12717]
8954 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8955 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8956 to 'int'.
8957 * inet/getnameinfo.c (getnameinfo): Likewise.
8958
8959 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8960
8961 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8962 to groups setting in database lookup.
8963 * nss/nsswitch.conf: Add initgroups entry.
8964
8965 2011-04-22 Ulrich Drepper <drepper@gmail.com>
8966
8967 [BZ #12685]
8968 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
8969 mode string.
8970 Patch by Eric Blake <eblake@redhat.com>.
8971
8972 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
8973
8974 * sunrpc/Makefile (need-export-routines): Add svc_run.
8975 (routines): Remove svc_run.
8976 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
8977 * sunrpc/clnt_perr.c (clnt_perrno): Export.
8978 * sunrpc/svc_run.c (svc_run): Likewise.
8979 * sunrpc/svc_udp.c (svcudp_create): Likewise.
8980
8981 2011-04-21 Ulrich Drepper <drepper@gmail.com>
8982
8983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
8984 problem in reallocation in last patch.
8985
8986 2011-04-20 Ulrich Drepper <drepper@gmail.com>
8987
8988 * sunrpc/Makefile: Move inclusion of Rules.
8989
8990 2011-04-19 Ulrich Drepper <drepper@gmail.com>
8991
8992 * nss/nss_files/files-initgroups.c: New file.
8993 * nss/Makefile (libnss_files-routines): Add files-initgroups.
8994 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
8995 _nss_files_initgroups_dyn.
8996
8997 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
8998
8999 * elf/elf.h (R_ARM_IRELATIVE): Define.
9000
9001 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9002
9003 * po/ru.po: Update from translation team.
9004
9005 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9006
9007 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9008 dependencies.
9009
9010 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9011
9012 [BZ #12653]
9013 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9014 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9015 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9016 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9017 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9018
9019 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9020
9021 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9022 differing bytes.
9023 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9024 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9025 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9026
9027 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9028
9029 [BZ #12420]
9030 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9031 storing it.
9032 * stdlib/bug-getcontext.c: New file.
9033 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9034
9035 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9036
9037 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9038 instructions into .machine "z9-109".
9039 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9040 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9041
9042 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9043
9044 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9045 between environment variables and auxiliary vector.
9046
9047 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9048
9049 * Makefile: Add rules to build linkobj/libc.so.
9050 * include/libc-symbols.h: Define libc_hidden_nolink.
9051 * include/rpc/auth.h: Mark functions which are to be hidden.
9052 * include/rpc/auth_des.h: Likewise.
9053 * include/rpc/auth_unix.h: Likewise.
9054 * include/rpc/clnt.h: Likewise.
9055 * include/rpc/des_crypt.h: Likewise.
9056 * include/rpc/key_prot.h: Likewise.
9057 * include/rpc/pmap_clnt.h: Likewise.
9058 * include/rpc/pmap_prot.h: Likewise.
9059 * include/rpc/pmap_rmt.h: Likewise.
9060 * include/rpc/rpc_msg.h: Likewise.
9061 * include/rpc/svc.h: Likewise.
9062 * include/rpc/svc_auth.h: Likewise.
9063 * include/rpc/xdr.h: Likewise.
9064 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9065 * nss/Makefile: Likewise.
9066 * sunrpc/Makefile: Don't install headers. Build library with normal
9067 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9068 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9069 for the compat linking library. Remove use of INTDEF/INTUSE.
9070 * sunrpc/auth_none.c: Likewise.
9071 * sunrpc/auth_unix.c: Likewise.
9072 * sunrpc/authdes_prot.c: Likewise.
9073 * sunrpc/authuxprot.c: Likewise.
9074 * sunrpc/clnt_gen.c: Likewise.
9075 * sunrpc/clnt_perr.c: Likewise.
9076 * sunrpc/clnt_raw.c: Likewise.
9077 * sunrpc/clnt_simp.c: Likewise.
9078 * sunrpc/clnt_tcp.c: Likewise.
9079 * sunrpc/clnt_udp.c: Likewise.
9080 * sunrpc/clnt_unix.c: Likewise.
9081 * sunrpc/des_crypt.c: Likewise.
9082 * sunrpc/des_soft.c: Likewise.
9083 * sunrpc/get_myaddr.c: Likewise.
9084 * sunrpc/key_call.c: Likewise.
9085 * sunrpc/key_prot.c: Likewise.
9086 * sunrpc/netname.c: Likewise.
9087 * sunrpc/pm_getmaps.c: Likewise.
9088 * sunrpc/pm_getport.c: Likewise.
9089 * sunrpc/pmap_clnt.c: Likewise.
9090 * sunrpc/pmap_prot.c: Likewise.
9091 * sunrpc/pmap_prot2.c: Likewise.
9092 * sunrpc/pmap_rmt.c: Likewise.
9093 * sunrpc/publickey.c: Likewise.
9094 * sunrpc/rpc_cmsg.c: Likewise.
9095 * sunrpc/rpc_common.c: Likewise.
9096 * sunrpc/rpc_dtable.c: Likewise.
9097 * sunrpc/rpc_prot.c: Likewise.
9098 * sunrpc/rpc_thread.c: Likewise.
9099 * sunrpc/rtime.c: Likewise.
9100 * sunrpc/svc.c: Likewise.
9101 * sunrpc/svc_auth.c: Likewise.
9102 * sunrpc/svc_authux.c: Likewise.
9103 * sunrpc/svc_raw.c: Likewise.
9104 * sunrpc/svc_run.c: Likewise.
9105 * sunrpc/svc_simple.c: Likewise.
9106 * sunrpc/svc_tcp.c: Likewise.
9107 * sunrpc/svc_udp.c: Likewise.
9108 * sunrpc/svc_unix.c: Likewise.
9109 * sunrpc/svcauth_des.c: Likewise.
9110 * sunrpc/xcrypt.c: Likewise.
9111 * sunrpc/xdr.c: Likewise.
9112 * sunrpc/xdr_array.c: Likewise.
9113 * sunrpc/xdr_float.c: Likewise.
9114 * sunrpc/xdr_intXX_t.c: Likewise.
9115 * sunrpc/xdr_mem.c: Likewise.
9116 * sunrpc/xdr_rec.c: Likewise.
9117 * sunrpc/xdr_ref.c: Likewise.
9118 * sunrpc/xdr_sizeof.c: Likewise.
9119 * sunrpc/xdr_stdio.c: Likewise.
9120
9121 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9122
9123 [BZ #12650]
9124 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9125 * sysdeps/ia64/dl-tls.h: Likewise.
9126 * sysdeps/powerpc/dl-tls.h: Likewise.
9127 * sysdeps/s390/dl-tls.h: Likewise.
9128 * sysdeps/sh/dl-tls.h: Likewise.
9129 * sysdeps/sparc/dl-tls.h: Likewise.
9130 * sysdeps/x86_64/dl-tls.h: Likewise.
9131 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9132
9133 2011-03-14 Andreas Schwab <schwab@redhat.com>
9134
9135 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9136 rpath element also skip the following colon.
9137 (expand_dynamic_string_token): Add is_path parameter and pass
9138 down to DL_DST_REQUIRED and _dl_dst_substitute.
9139 (decompose_rpath): Call expand_dynamic_string_token with
9140 non-zero is_path. Ignore empty rpaths.
9141 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9142 with zero is_path.
9143
9144 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9145
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9147 Make cancelable.
9148
9149 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9150
9151 [BZ #12655]
9152 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9153 Patch by Filipe David Manana <fdmanana@apache.org>.
9154
9155 2011-04-07 Andreas Schwab <schwab@redhat.com>
9156
9157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9158 Maintain aligned stack.
9159 (CHECK_RSP): Remove unused macro.
9160
9161 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9162
9163 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9164 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9165
9166 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9167
9168 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9169
9170 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9171
9172 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9173
9174 [BZ #12518]
9175 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9176 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9177 * sysdeps/x86_64/memmove.c: New file.
9178 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9179 (memcpy): Renamed to ...
9180 (__new_memcpy): This.
9181 (memcpy): Provide GLIBC_2_14 memcpy.
9182 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9183 (memcpy): Provide GLIBC_2_2_5 memcpy.
9184
9185 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9186
9187 [BZ #12631]
9188 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9189
9190 2011-03-30 Andreas Schwab <schwab@redhat.com>
9191
9192 * misc/syncfs.c: New file.
9193 * misc/Makefile (routines): Add syncfs.
9194 * posix/unistd.h: Declare syncfs.
9195 * sysdeps/unix/syscalls.list: Add syncfs.
9196
9197 2011-04-01 Andreas Schwab <schwab@redhat.com>
9198
9199 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9200 open_by_handle_at.
9201 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9202 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9203 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9204 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9205 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9206 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9207 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9208
9209 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9210
9211 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9212 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9213 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9215 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9216 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9217 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9218
9219 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9220 sync_file_range.c with -fexceptions.
9221 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9222 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9223 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9224 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9225 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9226 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9227 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9228 sync_file_range as cancellation point
9229 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9230 now a wrapper around __call_sync_file_range with cancellation handling.
9231 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9232 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9233 function name to __call_sync_file_range.
9234 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9235 Add call_sync_file_range.
9236
9237 2011-04-01 Andreas Schwab <schwab@redhat.com>
9238
9239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9240 bits/timex.h.
9241
9242 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9243
9244 * iconv/iconv.h: Fix typo in comment.
9245 * io/fcntl.h: Likewise.
9246 * libio/stdio.h: Likewise.
9247 * posix/spawn.h: Likewise.
9248 * posix/unistd.h: Likewise.
9249 * stdlib/stdlib.h: Likewise.
9250 * time/time.h: Likewise.
9251 * wcsmbs/wchar.h: Likewise.
9252
9253 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9254 open_by_handle): Add.
9255 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9256 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9257 Augment a few comments.
9258 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9259 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9260 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9261 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9262 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9263 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9264 open_by_handle.
9265
9266 * io/fcntl.h (AT_EMPTY_PATH): Define.
9267
9268 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9269
9270 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9271 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9272 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9273 to...
9274 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9275 * Versions.def: Add GLIBC_2.14.
9276 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9277 Export.
9278
9279 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9280
9281 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9282 round counter.
9283 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9284
9285 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9286
9287 [BZ #12597]
9288 * string/test-strncmp.c (do_page_test): New function.
9289 (check2): Likewise.
9290 (test_main): Call check2.
9291 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9292
9293 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9294
9295 [BZ #12587]
9296 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9297 Handle cache information in CPU leaf 4.
9298 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9299
9300 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9301
9302 [BZ #12583]
9303 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9304 character representation.
9305 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9306
9307 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9308
9309 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9310 END(__isnan) to END(__isnanf) to match function entry point/label
9311 EALIGN(__isnanf,...).
9312
9313 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9314
9315 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9316
9317 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9318
9319 [BZ #12510]
9320 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9321 copy from the symbol referenced in the relocation to initialize the
9322 used variable.
9323 Patch by Piotr Bury <pbury@goahead.com>.
9324 * elf/Makefile: Add rules to build and tst-unique3.
9325 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9326 * elf/tst-unique3.cc: New file.
9327 * elf/tst-unique3.h: New file.
9328 * elf/tst-unique3lib.cc: New file.
9329 * elf/tst-unique3lib2.cc: New file.
9330
9331 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9332
9333 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9334
9335 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9336 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9337 to _start.
9338
9339 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9340
9341 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9342 to-be-loaded object along a path to loader is ld.so.
9343
9344 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9345 Ulrich Drepper <drepper@gmail.com>
9346
9347 * sysdeps/x86_64/memset.S: After aligning destination, code
9348 branches to different locations depending on the value of
9349 misalignment, when multiarch is enabled. Fix this.
9350
9351 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9352
9353 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9354 Set _x86_64_preferred_memory_instruction for AMD processsors.
9355 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9356 Set bit_Prefer_SSE_for_memop for AMD processors.
9357
9358 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9359
9360 * libio/fmemopen.c (fmemopen): Optimize a bit.
9361
9362 2011-03-03 Andreas Schwab <schwab@redhat.com>
9363
9364 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9365
9366 2011-03-03 Roland McGrath <roland@redhat.com>
9367
9368 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9369
9370 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9371
9372 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9373 __bzero_ultra1 instead of __memset_ultra1.
9374
9375 2011-02-23 Andreas Schwab <schwab@redhat.com>
9376 Ulrich Drepper <drepper@gmail.com>
9377
9378 [BZ #12509]
9379 * include/link.h (struct link_map): Add l_orig_initfini.
9380 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9381 returning unsuccessfully.
9382 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9383 close of a file loaded at startup, restore the original l_initfini
9384 list.
9385 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9386 list, store the pointer.
9387 * elf/Makefile ($(objpfx)noload-mem): New rule.
9388 (noload-ENV): Define.
9389 (tests): Add $(objpfx)noload-mem.
9390 * elf/noload.c: Include <memcheck.h>.
9391 (main): Call mtrace. Close all opened handles.
9392
9393 2011-02-17 Andreas Schwab <schwab@redhat.com>
9394
9395 [BZ #12454]
9396 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9397 dependencies are missing.
9398
9399 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9400
9401 Fix __if_freereq crash: Unlike the generic version which uses free,
9402 Hurd needs munmap.
9403 * sysdeps/mach/hurd/ifreq.h: New file.
9404
9405 2011-01-27 Petr Baudis <pasky@suse.cz>
9406 Ulrich Drepper <drepper@gmail.com>
9407
9408 [BZ 12445]#
9409 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9410 to extend_alloca().
9411 * stdio-common/bug23.c: New file.
9412 * stdio-common/Makefile (tests): Add bug23.
9413
9414 2010-09-28 Andreas Schwab <schwab@redhat.com>
9415 Ulrich Drepper <drepper@gmail.com>
9416
9417 [BZ #12489]
9418 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9419 before performing relro protection. At old place add assertion
9420 to make sure nothing changed.
9421
9422 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9423 Glauber de Oliveira Costa <glommer@gmail.com>
9424
9425 * elf/elf.h: Add new ARM TLS relocs.
9426
9427 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9428
9429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9430 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9431 cast from r3.
9432 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9433 'tests' variable.
9434 * sysdeps/wordsize-64/tst-writev.c: New file.
9435
9436 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9437
9438 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9439 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9440 insns in _dl_start to prevent a TOC reference before relocs are
9441 resolved.
9442
9443 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9444
9445 [BZ #12469]
9446 * Makeconfig: Remove RANLIB definition.
9447 * Makerules: Don't use RANLIB.
9448 * aclocal.m4: Remove ranlib test.
9449 * configure.in: No need to check for ranlib.
9450 * elf/rtld-Rules: Don't use RANLIB.
9451
9452 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9453
9454 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9455 protection macro.
9456 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9457 inclusion protection macro.
9458
9459 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9460 SIGRTMIN and SIGRTMAX and print information in that case only when
9461 SIGRTMIN is defined.
9462
9463 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9464
9465 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9466 arginfo fn returning -1.
9467
9468 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9469 and thousands string is zero terminated.
9470
9471 2011-02-03 Andreas Schwab <schwab@redhat.com>
9472
9473 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9474 sysdeps/unix/sysv/linux/bits/socket.h.
9475
9476 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9477
9478 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9479 (__CPU_COUNT): Remove old macros.
9480 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9481 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9482 (__CPU_ALLOC, __CPU_FREE): Add macros.
9483 (__sched_cpualloc, __sched_cpufree): Add declarations.
9484
9485 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9486
9487 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9488 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9489 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9490 (readdhstai): Return value of addhstaiX call.
9491 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9492 (addgrbyX): Return value returned by cache_addgr.
9493 (readdgrbyname): Return value returned by addgrbyX.
9494 (readdgrbygid): Likewise.
9495 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9496 (addpwbyX): Return value returned by cache_addpw.
9497 (readdpwbyname): Return value returned by addhstbyX.
9498 (readdpwbyuid): Likewise.
9499 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9500 (addservbyX): Return value returned by cache_addserv.
9501 (readdservbyname): Return value returned by addservbyX:
9502 (readdservbyport): Likewise.
9503 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9504 (addhstbyX): Return value returned by cache_addhst.
9505 (readdhstbyname): Return value returned by addhstbyX.
9506 (readdhstbyaddr): Likewise.
9507 (readdhstbynamev6): Likewise.
9508 (readdhstbyaddrv6): Likewise.
9509 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9510 (readdinitgroups): Return value returned by addinitgroupsX.
9511 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9512 (prune_cache): Keep track of timeout value of re-added entries.
9513 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9514 * nscd/nscd.h: Adjust prototypes of readd* functions.
9515
9516 2011-02-04 Roland McGrath <roland@redhat.com>
9517
9518 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9519 (nis_stats): Likewise.
9520 * nis/nis_modify.c (nis_modify): Likewise.
9521 * nis/nis_remove.c (nis_remove): Likewise.
9522 * nis/nis_add.c (nis_add): Likewise.
9523
9524 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9525
9526 * posix/fnmatch_loop.c: Add some consts.
9527
9528 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9529
9530 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9531
9532 [BZ #12460]
9533 * config.make.in (config-cflags-novzeroupper): Define.
9534 * configure.in: Substitute libc_cv_cc_novzeroupper.
9535 * elf/Makefile (AVX-CFLAGS): Define.
9536 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9537 (CFLAGS-tst-auditmod4a.c): Likewise.
9538 (CFLAGS-tst-auditmod4b.c): Likewise.
9539 (CFLAGS-tst-auditmod6b.c): Likewise.
9540 (CFLAGS-tst-auditmod6c.c): Likewise.
9541 (CFLAGS-tst-auditmod7b.c): Likewise.
9542 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9543
9544 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9545
9546 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9547 function to the callback.
9548 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9549
9550 2011-02-02 Andreas Schwab <schwab@redhat.com>
9551
9552 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9553 of errno.
9554
9555 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9556
9557 [BZ #11724]
9558 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9559 of constructors.
9560 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9561 of destructors.
9562 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9563
9564 [BZ #11724]
9565 * elf/Makefile: Add rules to build and run new test.
9566 * elf/tst-initorder.c: New file.
9567 * elf/tst-initorder.exp: New file.
9568 * elf/tst-initordera1.c: New file.
9569 * elf/tst-initordera2.c: New file.
9570 * elf/tst-initordera3.c: New file.
9571 * elf/tst-initordera4.c: New file.
9572 * elf/tst-initorderb1.c: New file.
9573 * elf/tst-initorderb2.c: New file.
9574 * elf/tst-order-a1.c: New file.
9575 * elf/tst-order-a2.c: New file.
9576 * elf/tst-order-a3.c: New file.
9577 * elf/tst-order-a4.c: New file.
9578 * elf/tst-order-b1.c: New file.
9579 * elf/tst-order-b2.c: New file.
9580 * elf/tst-order-main.c: New file.
9581 New test case by George Gensure <werkt0@gmail.com>.
9582
9583 2010-10-01 Andreas Schwab <schwab@redhat.com>
9584
9585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9586 decoding ACE if AI_CANONIDN.
9587
9588 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9589
9590 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9591
9592 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9593
9594 * version.h (RELEASE): Bump for 2.13 release.
9595 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9596
9597 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9598
9599 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9600 MADV_NOHUGEPAGE.
9601 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9602 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9603 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9604 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9606 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9607
9608 * posix/getconf.c: Update copyright year.
9609 * catgets/gencat.c: Likewise.
9610 * csu/version.c: Likewise.
9611 * debug/catchsegv.sh: Likewise.
9612 * debug/xtrace.sh: Likewise.
9613 * elf/ldconfig.c: Likewise.
9614 * elf/ldd.bash.in: Likewise.
9615 * elf/sprof.c (print_version): Likewise.
9616 * iconv/iconv_prog.c: Likewise.
9617 * iconv/iconvconfig.c: Likewise.
9618 * locale/programs/locale.c: Likewise.
9619 * locale/programs/localedef.c: Likewise.
9620 * malloc/memusage.sh: Likewise.
9621 * malloc/mtrace.pl: Likewise.
9622 * nscd/nscd.c (print_version): Likewise.
9623 * nss/getent.c: Likewise.
9624
9625 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9626 PF_CAIF, and PF_ALG.
9627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9628
9629 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9630
9631 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9632 (modules-names): Use them.
9633 (ifunc-test-modules, ifunc-pie-tests): Define.
9634 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9635 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9636 (test-extras): Likewise.
9637 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9638 $(compile-command.c).
9639 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9640 (all-built-dso): Define.
9641 (check-textrel.out, check-execstack.out): Depend on it.
9642
9643 * configure.in: Don't override --enable-multi-arch.
9644
9645 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9646
9647 [BZ #6812]
9648 * nscd/hstcache.c (tryagain): Define.
9649 (cache_addhst): Return tryagain not notfound for temporary errors.
9650 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9651 failed.
9652
9653 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9654
9655 [BZ #10563]
9656 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9657 to make the syscall.
9658 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9659
9660 [BZ #12378]
9661 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9662 and fall back to matching as normal character if the string ends before
9663 the matching ']' is found. This is what POSIX requires.
9664 * posix/testfnm.c: Adjust test result.
9665 * posix/globtest.sh: Adjust test result. Add new test.
9666 * posix/tst-fnmatch.input: Likewise.
9667 * posix/tst-fnmatch2.c: Add new test.
9668
9669 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9670
9671 * elf/Makefile (check-execstack): Revert last change. Depend on
9672 check-execstack.h.
9673 (check-execstack.h): New target.
9674 (generated): Add check-execstack.h.
9675 * elf/check-execstack.c: Include "check-execstack.h".
9676 (main): Revert last change.
9677 (handle_file): Return zero if GNU_STACK is absent and
9678 DEFAULT_STACK_PERMS doesn't include PF_X.
9679
9680 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9681
9682 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9683 in child fails because the descriptor is already closed.
9684 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9685 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9686 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9687
9688 [BZ #12397]
9689 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9690 syscall.
9691
9692 [BZ #10484]
9693 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9694 temporary buffer used to handle multi lookups locally.
9695 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9696
9697 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9698
9699 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9700 loader is ld.so.
9701
9702 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9703
9704 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9705 alignment for SSE2.
9706
9707 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9708
9709 [BZ #12394]
9710 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9711 characters. When rounding increased number of integer digits recompute
9712 number of groups.
9713 * stdio-common/tst-grouping.c: New file.
9714 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9715
9716 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9717
9718 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9719 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9720
9721 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9722 void.
9723 * bits/select.h: Likewise.
9724
9725 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9726
9727 * po/ja.po: Update from translation team.
9728
9729 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9730
9731 [BZ #11155]
9732 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9733 implementation just like for lxstat, fxstatat, et al.
9734
9735 2010-12-27 Jim Meyering <meyering@redhat.com>
9736
9737 [BZ #12348]
9738 * posix/regexec.c (build_trtable): Return failure indication upon
9739 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9740
9741 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9742
9743 [BZ #12201]
9744 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9745 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9746 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9747 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9748
9749 [BZ #12207]
9750 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9751
9752 [BZ #12204]
9753 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9754 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9755
9756 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9757
9758 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9759 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9760 script has SORT_BY_INIT_PRIORITY.
9761 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9762 NO_CTORS_DTORS_SECTIONS is defined.
9763 * elf/soinit.c: Likewise.
9764 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9765 NO_CTORS_DTORS_SECTIONS is defined.
9766 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9767 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9768 * sysdeps/sh/init-first.c: Likewise.
9769 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9770
9771 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9772
9773 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9774 always use the slow path.
9775
9776 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9777
9778 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9779 similar rule which adds the sysdep directories to the header search in
9780 order to pick up the correct platform stackinfo.h.
9781 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9782 perform test if it is, otherwise return successfully without testing.
9783 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9784 DEFAULT_STACK_PERMS define in stackinfo.h.
9785 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9786 defined in stackinfo.h.
9787 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9788 DEFAULT_STACK_PERMS defined in stackinfo.h.
9789 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9790 * sysdeps/ia64/stackinfo.h: Likewise.
9791 * sysdeps/s390/stackinfo.h: Likewise.
9792 * sysdeps/sh/stackinfo.h: Likewise.
9793 * sysdeps/sparc/stackinfo.h: Likewise.
9794 * sysdeps/x86_64/stackinfo.h: Likewise.
9795 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9796 PF_X for powerpc64. Retain PF_X for powerpc32.
9797
9798 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9799
9800 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9801 accurately.
9802 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9803 GETDENTS_64BIT_ALIGNED.
9804
9805 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9806
9807 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9808
9809 2010-12-10 Andreas Schwab <schwab@redhat.com>
9810
9811 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9812 _GNU_SOURCE.
9813
9814 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9815 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9816 Remove __restrict.
9817 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9818 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9819
9820 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9821
9822 [BZ #11655]
9823 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9824 are initialized.
9825
9826 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9827
9828 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9829
9830 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9831
9832 * po/it.po: Update from translation team.
9833
9834 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9835
9836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9837 unused codes.
9838
9839 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9840
9841 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9842
9843 2010-11-24 Andreas Schwab <schwab@redhat.com>
9844
9845 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9846 specially.
9847 (gaih_getanswer_slice): Likewise.
9848
9849 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9850
9851 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9852
9853 2010-05-31 Petr Baudis <pasky@suse.cz>
9854
9855 [BZ #11149]
9856 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9857 silently even in the chroot mode.
9858
9859 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9860
9861 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9862 last patch a bit. Pretty printing
9863
9864 2010-05-31 Petr Baudis <pasky@suse.cz>
9865
9866 [BZ #10085]
9867 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9868 initialization of skip_initgroups_dyn.
9869
9870 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9871
9872 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9873 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9874
9875 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9876
9877 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9878
9879 2010-11-11 Andreas Schwab <schwab@redhat.com>
9880
9881 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9882 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9883 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9884 ($(objpfx)tst-fnmatch-mem): New rule.
9885 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9886 * posix/tst-fnmatch.c (main): Call mtrace.
9887
9888 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9889
9890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9891 Support Intel processor model 6 and model 0x2c.
9892
9893 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9894
9895 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9896 signed comparison.
9897
9898 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9899
9900 [BZ #12205]
9901 * string/test-strncasecmp.c (check_result): New function.
9902 (do_one_test): Use it.
9903 (check1): New function.
9904 (test_main): Use it.
9905 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9906 Support strcasecmp and strncasecmp.
9907
9908 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9909
9910 [BZ #12194]
9911 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9912 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9913
9914 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9915
9916 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9917 IFUNC support.
9918 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9919 memset-x86-64.
9920 * sysdeps/x86_64/multiarch/bzero.S: New file.
9921 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9922 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9923 * sysdeps/x86_64/multiarch/memset.S: New file.
9924 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9926 Set bit_Prefer_SSE_for_memop for Intel processors.
9927 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9928 Define.
9929 (index_Prefer_SSE_for_memop): Define.
9930 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9931
9932 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9933
9934 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9935 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9936
9937 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9938
9939 [BZ #12191]
9940 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9941 (__x86_64_raw_data_cache_size_half): Likewise.
9942 (__x86_64_raw_shared_cache_size): Likewise.
9943 (__x86_64_raw_shared_cache_size_half): Likewise.
9944
9945 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9946 (__x86_64_raw_data_cache_size_half): Likewise.
9947 (__x86_64_raw_shared_cache_size): Likewise.
9948 (__x86_64_raw_shared_cache_size_half): Likewise.
9949 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9950 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9951 and __x86_64_raw_shared_cache_size_half. Round
9952 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9953 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9954 to multiple of 256 bytes.
9955
9956 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9957
9958 [BZ #12167]
9959 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9960 of inacessible symlinks. Verify result of symlink before returning it.
9961 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9962 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9963
9964 2010-10-28 Erich Ritz <erichritz@gmail.com>
9965
9966 * math/math.h (isinf): Fix typo in comment.
9967
9968 2010-11-01 Ulrich Drepper <drepper@gmail.com>
9969
9970 * po/da.po: Update from translation team.
9971
9972 2010-10-26 Ulrich Drepper <drepper@gmail.com>
9973
9974 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
9975 is added to the list.
9976
9977 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9978 Ulrich Drepper <drepper@gmail.com>
9979
9980 * elf/dl-object.c (_dl_new_object): Don't append the new object to
9981 the global list here. Move code to...
9982 (_dl_add_to_namespace_list): ...here. New function.
9983 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
9984 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
9985 * elf/dl-load.c (lose): Don't remove the element from the list.
9986 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
9987 (_dl_map_object): Likewise.
9988
9989 2010-10-25 Ulrich Drepper <drepper@gmail.com>
9990
9991 [BZ #12159]
9992 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
9993 into all bytes of SSE register.
9994 Patch by Richard Li <richardpku@gmail.com>.
9995
9996 2010-10-24 Ulrich Drepper <drepper@gmail.com>
9997
9998 [BZ #12140]
9999 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10000 perturbing.
10001
10002 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10003
10004 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10005 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10006 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10007 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10009 submachine.
10010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10011
10012 2010-10-22 Andreas Schwab <schwab@redhat.com>
10013
10014 * include/dlfcn.h (__RTLD_SECURE): Define.
10015 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10016 mode & __RTLD_SECURE instead.
10017 (open_path): Rename preloaded parameter to secure.
10018 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10019 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10020 * elf/dl-deps.c (openaux): Likewise.
10021 * elf/rtld.c (struct map_args): Remove is_preloaded.
10022 (map_doit): Don't use it.
10023 (dl_main): Likewise.
10024 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10025 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10026
10027 2010-09-09 Andreas Schwab <schwab@redhat.com>
10028
10029 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10030 (sysd-rules-targets): Remove duplicates.
10031 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10032 rtld-%.$o dependency.
10033
10034 2010-10-18 Andreas Schwab <schwab@redhat.com>
10035
10036 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10037 _dl_map_object do it.
10038
10039 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10040
10041 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10042 fast fma builtins, define the macros in the C99 standard.
10043 (FP_FAST_FMAF): Likewise.
10044 (FP_FAST_FMAL): Likewise.
10045 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10046
10047 * bits/mathdef.h: Update copyright year.
10048 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10049
10050 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10051
10052 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10053 builtins, define the macros in the C99 standard.
10054 (FP_FAST_FMAF): Likewise.
10055 (FP_FAST_FMAL): Likewise.
10056 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10057 multiply/add.
10058 (FP_FAST_FMAF): Likewise.
10059
10060 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10061
10062 [BZ #3268]
10063 * math/libm-test.inc (fma_test): Some new testcases.
10064 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10065 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10066 y and infinite z. Do multiplication by C already in long double.
10067 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10069 y and infinite z. Do bitwise or of inexact bit into u.d.
10070 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10071 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10072 * sysdeps/i386/fpu/s_fma.S: Removed.
10073 * sysdeps/i386/fpu/s_fmal.S: Removed.
10074
10075 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10076
10077 [BZ #3268]
10078 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10080 computation is not scheduled after fetestexcept. Fix value
10081 of minimum denormal long double.
10082
10083 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10084
10085 [BZ #3268]
10086 * math/libm-test.inc (fma_test): Add some more tests.
10087 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10088 correctly.
10089
10090 2010-10-15 Andreas Schwab <schwab@redhat.com>
10091
10092 * scripts/data/localplt-s390-linux-gnu.data: New file.
10093 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10094
10095 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10096
10097 [BZ #3268]
10098 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10099 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10100 instead of dbl-64.
10101 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10102 inlines.
10103 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10105 if one of x and y is very large and the other is subnormal.
10106 * sysdeps/s390/fpu/s_fmaf.c: New file.
10107 * sysdeps/s390/fpu/s_fma.c: New file.
10108 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10109 * sysdeps/powerpc/fpu/s_fma.S: New file.
10110 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10111 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10112 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10113
10114 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10115
10116 [BZ #3268]
10117 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10118 fma tests.
10119 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10120 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10121 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10122 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10123 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10124 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10125 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10126
10127 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10128
10129 [BZ #12078]
10130 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10131 * posix/bug-regex31.input: Add test case.
10132
10133 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10134
10135 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10136 * posix/bug-regex31.input: New file.
10137
10138 [BZ #12078]
10139 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10140 (parse_sub_exp): Fix last change, use postorder.
10141
10142 * posix/bug-regex31.c: New file.
10143 * posix/Makefile: Add rules to build and run bug-regex31.
10144
10145 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10146
10147 [BZ #12078]
10148 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10149
10150 [BZ #12108]
10151 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10152 to have entries in sys_siglist.
10153
10154 [BZ #12093]
10155 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10156 be NULL.
10157
10158 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10159
10160 [BZ #3268]
10161 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10162 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10163 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10164 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10165 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10166 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10167 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10168 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10169 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10170 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10171 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10172 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10173 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10174 * math/ftestexcept.c (fetestexcept): Likewise.
10175 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10176 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10177 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10178 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10179 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10180 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10181 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10182
10183 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10184
10185 [BZ #12107]
10186 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10187 newline.
10188
10189 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10190
10191 * string/bug-strstr1.c: New file.
10192 * string/Makefile: Add rules to build and run bug-strstr1.
10193
10194 2010-10-05 Eric Blake <eblake@redhat.com>
10195
10196 [BZ #12092]
10197 * string/str-two-way.h (two_way_long_needle): Always clear memory
10198 when skipping input due to the shift table.
10199
10200 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10201
10202 [BZ #12005]
10203 * malloc/mcheck.c: Handle large requests.
10204
10205 [BZ #12077]
10206 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10207 for strncmp and strncasecmp.
10208 * string/stratcliff.c: Add tests for strcmp and strncmp.
10209 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10210
10211 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10212
10213 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10214 __set_fpscr.
10215
10216 2010-09-30 Andreas Jaeger <aj@suse.de>
10217
10218 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10219 (CGROUP_SUPER_MAGIC): Define.
10220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10221 Handle btrfs and cgroup file systems.
10222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10223 Likewise.
10224
10225 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10226
10227 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10228 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10229
10230 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10231
10232 [BZ #12067]
10233 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10234 trying to locate the ELF header.
10235
10236 2010-09-27 Andreas Schwab <schwab@redhat.com>
10237
10238 [BZ #11611]
10239 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10240 Mask out sign-bit copies when constructing f_fsid.
10241
10242 2010-09-24 Petr Baudis <pasky@suse.cz>
10243
10244 * debug/stack_chk_fail_local.c: Add missing licence exception.
10245 * debug/warning-nop.c: Likewise.
10246
10247 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10248
10249 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10250 implementing getdents64 using getdents syscall, set d_type if
10251 __ASSUME_GETDENTS32_D_TYPE.
10252
10253 2010-09-16 Andreas Schwab <schwab@redhat.com>
10254
10255 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10256 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10257
10258 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10259
10260 [BZ #12037]
10261 * posix/unistd.h: Undo change of feature selection for ftruncate from
10262 2010-01-11.
10263
10264 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10265
10266 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10267 detection.
10268
10269 2010-09-20 Andreas Schwab <schwab@redhat.com>
10270
10271 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10272 fanotify_mark.
10273 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10274
10275 2010-09-14 Andreas Schwab <schwab@redhat.com>
10276
10277 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10278 variables after CHECK_SP call.
10279 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10280
10281 2010-09-13 Andreas Schwab <schwab@redhat.com>
10282 Ulrich Drepper <drepper@redhat.com>
10283
10284 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10285 re-relocationg ld.so.
10286 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10287 _dl_init_paths call.
10288 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10289 here anymore.
10290
10291 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10292
10293 * resolv/res_init.c (__res_vinit): Count the default server we added.
10294
10295 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10296 Ulrich Drepper <drepper@redhat.com>
10297
10298 [BZ #11968]
10299 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10300 (____longjmp_chk): Use %ebx for saving value across system call.
10301 Add unwind info.
10302
10303 2010-09-06 Andreas Schwab <schwab@redhat.com>
10304
10305 * manual/Makefile: Don't mix pattern rules with normal rules.
10306
10307 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10308
10309 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10310 operation.
10311 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10312 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10313 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10314 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10315 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10316 Likewise.
10317
10318 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10319
10320 [BZ #11979]
10321 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10322 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10323
10324 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10325
10326 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10327 * sysdeps/x86_64/addmul_1.S: Likewise.
10328 * sysdeps/x86_64/lshift.S: Likewise.
10329 * sysdeps/x86_64/mul_1.S: Likewise.
10330 * sysdeps/x86_64/rshift.S: Likewise.
10331 * sysdeps/x86_64/sub_n.S: Likewise.
10332 * sysdeps/x86_64/submul_1.S: Likewise.
10333
10334 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10335
10336 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10337 Define __sched_param instead of SCHED_* and sched_param when
10338 <bits/sched.h> is included with __need_schedparam defined.
10339 * bits/sched.h [__need_schedparam]
10340 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10341 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10342 (__defined_schedparam): Define to 1.
10343 (__sched_param): New structure, identical to sched_param.
10344 (__need_schedparam): Undefine.
10345
10346 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10347
10348 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10349 (epoll_create1): Declare.
10350
10351 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10352
10353 2010-08-31 Andreas Schwab <schwab@redhat.com>
10354
10355 [BZ #7066]
10356 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10357 shifting retval into place.
10358
10359 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10360
10361 * nis/rpcsvc/nis.h: Update copyright notice.
10362 * nis/rpcsvc/nis.x: Likewise.
10363 * nis/rpcsvc/nis_callback.h: Likewise.
10364 * nis/rpcsvc/nis_callback.x: Likewise.
10365 * nis/rpcsvc/nis_object.x: Likewise.
10366 * nis/rpcsvc/nis_tags.h: Likewise.
10367 * nis/rpcsvc/yp.h: Likewise.
10368 * nis/rpcsvc/yp.x: Likewise.
10369 * nis/rpcsvc/ypupd.h: Likewise.
10370 * nis/yp_xdr.c: Likewise.
10371 * nis/ypupdate_xdr.c: Likewise.
10372
10373 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10374 mainly the body of pmap_getport. Add parameters to specify timeouts.
10375 (pmap_getport): Use __libc_rpc_getport.
10376 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10377 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10378 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10379
10380 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10381
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10383 fanotify_mark.
10384
10385 2010-08-27 Roland McGrath <roland@redhat.com>
10386
10387 * sysdeps/i386/i686/multiarch/Makefile
10388 (CFLAGS-varshift.c): New variable.
10389
10390 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10391
10392 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10393 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10394
10395 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10396
10397 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10398
10399 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10400
10401 * sysdeps/x86_64/strlen.S: Unroll the loop.
10402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10403 strlen-sse2 strlen-sse2-bsf.
10404 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10405 __strlen_no_bsf if bit_Slow_BSF is set.
10406 (__strlen_sse42): Removed.
10407 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10408 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10409
10410 2010-08-25 Roland McGrath <roland@redhat.com>
10411
10412 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10413 * sysdeps/x86_64/multiarch/varshift.c: New file.
10414 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10415 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10416 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10417 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10418
10419 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10420
10421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10422 strlen-sse2 strlen-sse2-bsf.
10423 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10424 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10425 (__strlen_sse2): Removed.
10426 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10427 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10429 bit_Slow_BSF for Atom.
10430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10431 (index_Slow_BSF): Define.
10432 (HAS_SLOW_BSF): Define.
10433
10434 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10435
10436 [BZ #10851]
10437 * resolv/res_init.c (__res_vinit): When no server address at all
10438 is given default to loopback.
10439
10440 2010-08-24 Roland McGrath <roland@redhat.com>
10441
10442 * configure.in: Remove config-name.h generation.
10443 * configure: Regenerated.
10444 * config-name.in: File removed.
10445 * scripts/config-uname.sh: New file.
10446 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10447 ($(objdir)config-name.h): New target.
10448
10449 * sunrpc/rpc_parse.h: Avoid nested comment.
10450
10451 2010-08-24 Richard Henderson <rth@redhat.com>
10452 Ulrich Drepper <drepper@redhat.com>
10453 H.J. Lu <hongjiu.lu@intel.com>
10454
10455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10457 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10458 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10459 _mm_alignr_epi8 with _mm_loadu_si128.
10460 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10461 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10462 (__m128i_shift_right): Removed.
10463 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10464 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10465 * sysdeps/x86_64/multiarch/varshift.h: New file.
10466 * sysdeps/x86_64/multiarch/varshift.S: New file.
10467
10468 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10469
10470 * configure.in: Move assembler checks to before sysdep dir checking.
10471
10472 2010-08-20 Petr Baudis <pasky@suse.cz>
10473
10474 * LICENSES: Sync the sunrpc license.
10475
10476 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10477
10478 * sunrpc/auth_des.c: Update copyright notice once again.
10479 * sunrpc/auth_none.c: Likewise.
10480 * sunrpc/auth_unix.c: Likewise.
10481 * sunrpc/authdes_prot.c: Likewise.
10482 * sunrpc/authuxprot.c: Likewise.
10483 * sunrpc/bindrsvprt.c: Likewise.
10484 * sunrpc/clnt_gen.c: Likewise.
10485 * sunrpc/clnt_perr.c: Likewise.
10486 * sunrpc/clnt_raw.c: Likewise.
10487 * sunrpc/clnt_simp.c: Likewise.
10488 * sunrpc/clnt_tcp.c: Likewise.
10489 * sunrpc/clnt_udp.c: Likewise.
10490 * sunrpc/clnt_unix.c: Likewise.
10491 * sunrpc/des_crypt.c: Likewise.
10492 * sunrpc/des_soft.c: Likewise.
10493 * sunrpc/get_myaddr.c: Likewise.
10494 * sunrpc/getrpcport.c: Likewise.
10495 * sunrpc/key_call.c: Likewise.
10496 * sunrpc/key_prot.c: Likewise.
10497 * sunrpc/openchild.c: Likewise.
10498 * sunrpc/pm_getmaps.c: Likewise.
10499 * sunrpc/pm_getport.c: Likewise.
10500 * sunrpc/pmap_clnt.c: Likewise.
10501 * sunrpc/pmap_prot.c: Likewise.
10502 * sunrpc/pmap_prot2.c: Likewise.
10503 * sunrpc/pmap_rmt.c: Likewise.
10504 * sunrpc/rpc/auth.h: Likewise.
10505 * sunrpc/rpc/auth_unix.h: Likewise.
10506 * sunrpc/rpc/clnt.h: Likewise.
10507 * sunrpc/rpc/des_crypt.h: Likewise.
10508 * sunrpc/rpc/key_prot.h: Likewise.
10509 * sunrpc/rpc/netdb.h: Likewise.
10510 * sunrpc/rpc/pmap_clnt.h: Likewise.
10511 * sunrpc/rpc/pmap_prot.h: Likewise.
10512 * sunrpc/rpc/pmap_rmt.h: Likewise.
10513 * sunrpc/rpc/rpc.h: Likewise.
10514 * sunrpc/rpc/rpc_des.h: Likewise.
10515 * sunrpc/rpc/rpc_msg.h: Likewise.
10516 * sunrpc/rpc/svc.h: Likewise.
10517 * sunrpc/rpc/svc_auth.h: Likewise.
10518 * sunrpc/rpc/types.h: Likewise.
10519 * sunrpc/rpc/xdr.h: Likewise.
10520 * sunrpc/rpc_clntout.c: Likewise.
10521 * sunrpc/rpc_cmsg.c: Likewise.
10522 * sunrpc/rpc_common.c: Likewise.
10523 * sunrpc/rpc_cout.c: Likewise.
10524 * sunrpc/rpc_dtable.c: Likewise.
10525 * sunrpc/rpc_hout.c: Likewise.
10526 * sunrpc/rpc_main.c: Likewise.
10527 * sunrpc/rpc_parse.c: Likewise.
10528 * sunrpc/rpc_parse.h: Likewise.
10529 * sunrpc/rpc_prot.c: Likewise.
10530 * sunrpc/rpc_sample.c: Likewise.
10531 * sunrpc/rpc_scan.c: Likewise.
10532 * sunrpc/rpc_scan.h: Likewise.
10533 * sunrpc/rpc_svcout.c: Likewise.
10534 * sunrpc/rpc_tblout.c: Likewise.
10535 * sunrpc/rpc_util.c: Likewise.
10536 * sunrpc/rpc_util.h: Likewise.
10537 * sunrpc/rpcinfo.c: Likewise.
10538 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10539 * sunrpc/rpcsvc/key_prot.x: Likewise.
10540 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10541 * sunrpc/rpcsvc/mount.x: Likewise.
10542 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10543 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10544 * sunrpc/rpcsvc/rex.x: Likewise.
10545 * sunrpc/rpcsvc/rstat.x: Likewise.
10546 * sunrpc/rpcsvc/rusers.x: Likewise.
10547 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10548 * sunrpc/rpcsvc/spray.x: Likewise.
10549 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10550 * sunrpc/rtime.c: Likewise.
10551 * sunrpc/svc.c: Likewise.
10552 * sunrpc/svc_auth.c: Likewise.
10553 * sunrpc/svc_authux.c: Likewise.
10554 * sunrpc/svc_raw.c: Likewise.
10555 * sunrpc/svc_run.c: Likewise.
10556 * sunrpc/svc_simple.c: Likewise.
10557 * sunrpc/svc_tcp.c: Likewise.
10558 * sunrpc/svc_udp.c: Likewise.
10559 * sunrpc/svc_unix.c: Likewise.
10560 * sunrpc/svcauth_des.c: Likewise.
10561 * sunrpc/xcrypt.c: Likewise.
10562 * sunrpc/xdr.c: Likewise.
10563 * sunrpc/xdr_array.c: Likewise.
10564 * sunrpc/xdr_float.c: Likewise.
10565 * sunrpc/xdr_mem.c: Likewise.
10566 * sunrpc/xdr_rec.c: Likewise.
10567 * sunrpc/xdr_ref.c: Likewise.
10568 * sunrpc/xdr_sizeof.c: Likewise.
10569 * sunrpc/xdr_stdio.c: Likewise.
10570
10571 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10572 handling.
10573
10574 2010-08-19 Andreas Schwab <schwab@redhat.com>
10575
10576 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10577
10578 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10579
10580 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10581 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10582 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10583 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10584 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10585 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10586 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10587 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10588 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10589 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10590 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10591 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10592 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10593 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10594
10595 2010-07-26 Anton Blanchard <anton@samba.org>
10596
10597 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10598 * malloc/arena.c (heap_trim): Likewise.
10599
10600 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10601
10602 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10603 here. Not...
10604 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10605 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10606
10607 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10608
10609 * sysdeps/i386/elf/Makefile: New file.
10610
10611 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10612
10613 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10614 from fanotify_init.
10615 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10616 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10617
10618 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10619
10620 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10621 of strncasecmp_l.
10622 * sysdeps/multiarch/strcmp.S: Likewise.
10623
10624 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10625
10626 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10627 strncase_l-nonascii.
10628 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10629 Add strncase_l-ssse3.
10630 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10631 * sysdeps/x86_64/strcmp.S: Likewise.
10632 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10633 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10634 * sysdeps/x86_64/strncase.S: New file.
10635 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10636 * sysdeps/x86_64/strncase_l.S: New file.
10637 * string/Makefile (strop-tests): Add strncasecmp.
10638 * string/test-strncasecmp.c: New file.
10639
10640 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10641 warning.
10642
10643 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10644 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10645
10646 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10647
10648 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10649
10650 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10651
10652 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10653 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10654 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10655
10656 2010-05-01 Alan Modra <amodra@gmail.com>
10657
10658 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10659 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10660 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10661 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10662 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10663 tidying. Don't tail-call __sigjmp_save for static lib.
10664 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10665 save location.
10666 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10667 (CALL_MCOUNT): Add eh info, and nop after bl.
10668 (TAIL_CALL_SYSCALL_ERROR): New macro.
10669 (PSEUDO_RET): Use it.
10670 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10671 Correct save location of integer regs and cr.
10672 (_dl_profile_resolve): Correct cr save location. Delete nops
10673 after bl when SHARED. Reduce cfi size a little by better
10674 placement of cfi directives.
10675 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10676 make a stack frame. Instead use parm save area as a temp.
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10678 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10680 Don't make a stack frame for parent, use parm save area.
10681 Increase child stack frame to 112 bytes. Don't save unused reg,
10682 and adjust reg usage. Set up cfi on error recovery and
10683 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10685 (__makecontext): Add dummy nop after jump to exit.
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10687 Use correct parm save area and cr save, reduce stack frame.
10688 Correct cfi for possible PSEUDO_RET frame setup.
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10690 Branch to local label emitted by PSEUDO_RET rather than
10691 __syscall_error.
10692
10693 2010-08-12 Andreas Schwab <schwab@redhat.com>
10694
10695 [BZ #11904]
10696 * locale/programs/locale.c (print_assignment): New function.
10697 (show_locale_vars): Use it.
10698
10699 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10700
10701 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10702 field.
10703 (struct statfs64): Likewise.
10704 (_STATFS_F_FLAGS): Define.
10705 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10706 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10707 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10708 (ST_VALID): Define locally.
10709 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10710 __statvfs_getflags, use the provided value.
10711 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10712 __ASSUME_STATFS_F_FLAGS.
10713
10714 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10715
10716 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10717 Add sys/fanotify.h.
10718 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10719 fanotify_mask for GLIBC_2.13.
10720 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10721 fanotify_init and fanotify_mark.
10722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10723 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10724
10725 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10726 Add prlimit.
10727 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10728 prlimit64 for GLIBC_2.13.
10729 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10730 prlimit64.
10731 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10732 syscall.
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10734 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10735 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10736 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10737 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10738 add prlimit alias.
10739 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10740
10741 [BZ #11903]
10742 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10743 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10744
10745 * nss/Makefile: Add rules to build and run tst-nss-test1.
10746 * shlib-versions: Add entry for libnss_test1.
10747 * nss/nss_test1.c: New file.
10748 * nss/tst-nss-test1.c: New file.
10749
10750 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10751 (__nss_configure_lookup): Set appropriate entry in
10752 __nss_configure_lookup to true.
10753 * nss/nsswitch.h: Define enum with indeces of databases in
10754 databases and __nss_database_custom arrays. Declare
10755 __nss_database_custom.
10756 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10757 to avoid using nscd when custom rules are installed.
10758 * nss/getXXbyYY_r.c: Likewise.
10759 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10760
10761 * nss/nss_files/files-parse.c: Whitespace fixes.
10762
10763 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10764
10765 [BZ #11883]
10766 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10767 * posix/fnmatch_loop.c: Likewise.
10768
10769 2010-07-17 Andi Kleen <ak@linux.intel.com>
10770
10771 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10772 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10773 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10774 * Versions.def [GLIBC_2.13]: Add.
10775
10776 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10777
10778 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10779 Also fail if tpwd after pwuid call is NULL.
10780
10781 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10782
10783 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10784 when converting to ms.
10785
10786 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10787
10788 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10789 EOPNOTSUPP errors with ENOTTY.
10790 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10791 EOPNOTSUPP errors with ENOTTY.
10792
10793 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10794
10795 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10796 Add strcasecmp_l-ssse3.
10797 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10798 strcasecmp.
10799 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10800 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10801 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10802
10803 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10804
10805 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10806
10807 * string/Makefile (strop-tests): Add strcasecmp.
10808 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10809 strcasecmp_l-nonascii.
10810 (gen-as-const-headers): Add locale-defines.sym.
10811 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10812 * sysdeps/x86_64/strcasecmp.S: New file.
10813 * sysdeps/x86_64/strcasecmp_l.S: New file.
10814 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10815 * sysdeps/x86_64/locale-defines.sym: New file.
10816 * string/test-strcasecmp.c: New file.
10817
10818 * string/test-strcasestr.c: Test both ends of the range of characters.
10819 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10820
10821 2010-07-29 Roland McGrath <roland@redhat.com>
10822
10823 [BZ #11856]
10824 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10825
10826 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10827
10828 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10829 for ld.so.
10830
10831 2010-07-27 Andreas Schwab <schwab@redhat.com>
10832
10833 * manual/memory.texi (Malloc Tunable Parameters): Document
10834 M_PERTURB.
10835
10836 2010-07-26 Roland McGrath <roland@redhat.com>
10837
10838 [BZ #11840]
10839 * configure.in (-fgnu89-inline check): Set and substitute
10840 gnu89_inline, not libc_cv_gnu89_inline.
10841 * configure: Regenerated.
10842 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10843
10844 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10845
10846 * string/test-strnlen.c: New file.
10847 * string/Makefile (strop-tests): Add strnlen.
10848 * string/tester.c (test_strnlen): Add a few more test cases.
10849 * string/tst-strlen.c: Better error reporting.
10850
10851 * sysdeps/x86_64/strnlen.S: New file.
10852
10853 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10854
10855 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10856 lower-latency instructions.
10857
10858 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10859
10860 * string/test-strcasestr.c: New file.
10861 * string/test-strstr.c: New file.
10862 * string/Makefile (strop-tests): Add strstr and strcasestr.
10863 * string/str-two-way.h: Don't undefine MAX.
10864 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10865
10866 2010-07-21 Andreas Schwab <schwab@redhat.com>
10867
10868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10869 strcasestr-nonascii.
10870 (CFLAGS-strcasestr-nonascii.c): Define.
10871 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10872 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10873 Remove unused attribute.
10874
10875 2010-07-20 Roland McGrath <roland@redhat.com>
10876
10877 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10878 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10879 ld.so.cache was broken. With it, there is no way to disable dsocaps
10880 like LD_HWCAP_MASK can disable hwcaps.
10881
10882 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10883
10884 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10885
10886 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10887
10888 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10889 call in strcasestr.
10890 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10891 __strcasestr_sse42_nonascii.
10892 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10893 strcasestr-nonascii.c.
10894 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10895
10896 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10897
10898 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10899 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10900 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10901 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10902
10903 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10904
10905 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10906 fcntl.
10907
10908 2010-07-06 Andreas Schwab <schwab@redhat.com>
10909
10910 [BZ #11577]
10911 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10912 dl_signal_cerror.
10913
10914 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10915
10916 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10917 _PC_PIPE_BUF using F_GETPIPE_SZ.
10918
10919 2010-07-05 Roland McGrath <roland@redhat.com>
10920
10921 * manual/arith.texi (Rounding Functions): Fix rint description
10922 implicit in round description.
10923
10924 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10925
10926 * elf/Makefile: Fix linking for a few tests to make recent linker
10927 happy.
10928
10929 2010-06-30 Andreas Schwab <schwab@redhat.com>
10930
10931 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10932 $(common-objpfx)libc_nonshared.a.
10933
10934 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10935
10936 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10937 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10938 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10939 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10940 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10941 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10942 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10943 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10958 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10959 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10960 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10961 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10962 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10963 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10964 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10965 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
10966 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
10967 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
10968 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
10969 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
10970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
10971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
10972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
10973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
10975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
10976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
10977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
10984
10985 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
10986
10987 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
10988 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
10989 * string/memmove.c (memmove): Renamed to ...
10990 (MEMMOVE): ...this. Default to memmove.
10991 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
10992 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
10993 (END_CHK): Define.
10994 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10995 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
10996 mempcpy-ssse3-back memmove-ssse3-back.
10997 * sysdeps/x86_64/multiarch/bcopy.S: New file .
10998 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
10999 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11000 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11001 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11002 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11003 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11004 * sysdeps/x86_64/multiarch/memmove.c: New file.
11005 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11006 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11007 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11008 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11009 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11010 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11011 Define.
11012 (index_Fast_Copy_Backward): Define.
11013 (HAS_ARCH_FEATURE): Define.
11014 (HAS_FAST_REP_STRING): Define.
11015 (HAS_FAST_COPY_BACKWARD): Define.
11016
11017 2010-06-21 Andreas Schwab <schwab@redhat.com>
11018
11019 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11020 Restore proper fallback handling.
11021
11022 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11023
11024 [BZ #11701]
11025 * posix/group_member.c (__group_member): Correct checking loop.
11026
11027 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11028 OOM in getpwuid_r correctly. Return error number when the caller
11029 should return, otherwise -1.
11030 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11031 call returning > 0 value.
11032 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11033
11034 2010-06-07 Andreas Schwab <schwab@redhat.com>
11035
11036 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11037 libc_nonshared.a from targets in modules-names.
11038
11039 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11040
11041 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11042 requires it.
11043
11044 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11045
11046 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11047 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11048 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11049 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11050
11051 2010-06-02 Andreas Schwab <schwab@redhat.com>
11052
11053 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11054
11055 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11056
11057 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11058 and F_GETPIPE_SZ.
11059 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11060 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11061 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11063 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11064 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11065
11066 2010-06-14 Roland McGrath <roland@redhat.com>
11067
11068 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11069
11070 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11071
11072 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11073 __REDIRECT followed by __THROW.
11074 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11075 * posix/getopt.h (getopt): Likewise.
11076
11077 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11078
11079 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11080 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11081 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11082 in AT_FLAGS.
11083 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11084 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11085
11086 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11087
11088 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11089
11090 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11091
11092 [BZ #11640]
11093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11094 Properly check family and model.
11095
11096 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11097
11098 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11099
11100 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11101
11102 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11103
11104 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11105
11106 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11107 symbol reference.
11108
11109 2010-05-19 Andreas Schwab <schwab@redhat.com>
11110
11111 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11112 symbol reference.
11113
11114 2010-05-21 Andreas Schwab <schwab@redhat.com>
11115
11116 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11117 and internal_recvmmsg.
11118 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11119 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11120 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11121 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11122
11123 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11124 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11125 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11126
11127 2010-05-20 Andreas Schwab <schwab@redhat.com>
11128
11129 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11130
11131 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11132
11133 POWER7 optimizations.
11134 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11135 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11136
11137 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11138
11139 * version.h: Update for 2.13 development version.
11140
11141 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11142
11143 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11144 exceptions. Return 0.
11145
11146 2010-05-07 Roland McGrath <roland@redhat.com>
11147
11148 * elf/ldconfig.c (main): Add a const.
11149
11150 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11151
11152 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11153 (args_options): Add no-idn option.
11154 (ahosts_keys_int): Add idn_flags to ai_flags.
11155 (parse_option): Handle 'i' option to clear idn_flags.
11156
11157 * malloc/malloc.c (_int_free): Possible race in the most recently
11158 added check. Only act on the data if no current modification
11159 happened.
11160
11161 See ChangeLog.17 for earlier changes.
This page took 0.465765 seconds and 6 git commands to generate.