]> sourceware.org Git - glibc.git/blob - ChangeLog
Updated Russian translations
[glibc.git] / ChangeLog
1 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2
3 * po/ru.po: Update from translation team.
4
5 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6
7 * resolv/nss_dns/dns-host.c: Merge copyright years.
8
9 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10
11 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12 Optimize memcpy with prefetch if
13 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
14 src, dst pointers have unequal 16 byte alignments.
15
16 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17
18 [BZ #13928]
19 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20 from a CNAME entry and return the minimum ttl for the query.
21 (gaih_getanswer_slice): Likewise.
22
23 2012-03-30 Jeff Law <law@redhat.com>
24
25 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
26 due to long keys.
27 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
28 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29
30 * resolv/nss_dns/dns-host.c: Update copyright year.
31
32 2012-03-30 Ulrich Drepper <drepper@gmail.com>
33
34 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35 requests to save a system call. Fix check that all bytes are sent.
36
37 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38 comments for sendmmsg.
39
40 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41
42 [BZ #13691]
43 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44 with only 1 character between 0x0041 and 0x01b0.
45 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46 * wcsmbs/tst-mbsnrtowcs.c: New file.
47
48 2012-03-29 David S. Miller <davem@davemloft.net>
49
50 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
51 small copies by hand.
52
53 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54
55 [BZ #13761]
56 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
57 _nss_compat_initgroups_dyn): Fall back to malloc/free
58 for large group memberships.
59
60 2012-03-28 David S. Miller <davem@davemloft.net>
61
62 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
63 that branches into memcpy.
64 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
66 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
69 bits.
70 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
71 implementation too.
72 * sysdeps/sparc/mempcpy.S: New file.
73
74 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
75 the IFUNC routine in the libc case.
76 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77
78 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
80 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
81 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
82 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
83 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
84 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
86
87 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
88 loop to 256 bytes instead of 64 bytes and fix test signedness.
89
90 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
91 * sysdeps/sparc/sparc32/Makefile: rather than here...
92 * sysdeps/sparc/sparc64/Makefile: and here.
93
94 2012-03-28 Ulrich Drepper <drepper@gmail.com>
95
96 * malloc/mallocbug.c: Avoid warnings about unused variables.
97
98 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
99
100 [BZ #13760]
101 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
102 in the right place. Discard and retry query if response is
103 larger than input buffer size.
104
105 2012-03-28 Joseph Myers <joseph@codesourcery.com>
106
107 [BZ #369]
108 [BZ #2678]
109 [BZ #3866]
110 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
111 x for large integer exponent.
112 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
113 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
114 sign of result as needed afterwards.
115 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
116 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
117 result for underflowing pow the same as for overflow.
118 (__kernel_standard_l): Handle powl overflow and underflow here
119 rather than calling __kernel_standard.
120 * math/libm-test.inc (pow_test): Add more tests.
121
122 [BZ #3868]
123 [BZ #13879]
124 [BZ #13910]
125 [BZ #13911]
126 [BZ #13912]
127 [BZ #13913]
128 [BZ #13915]
129 [BZ #13916]
130 [BZ #13917]
131 [BZ #13918]
132 [BZ #13919]
133 [BZ #13920]
134 [BZ #13921]
135 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
136 * sysdeps/ieee754/k_standard.c: Include <float.h>.
137 (__kernel_standard_l): New function.
138 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
139 __kernel_standard.
140 * math/w_acosl.c (__acosl): Likewise.
141 * math/w_asinl.c (__asinl): Likewise.
142 * math/w_atan2l.c (__atan2l): Likewise.
143 * math/w_atanhl.c (__atanhl): Likewise.
144 * math/w_coshl.c (__coshl): Likewise.
145 * math/w_exp10l.c (__exp10l): Likewise.
146 * math/w_exp2l.c (__exp2l): Likewise.
147 * math/w_fmodl.c (__fmodl): Likewise.
148 * math/w_hypotl.c (__hypotl): Likewise.
149 * math/w_j0l.c (__j0l, __y0l): Likewise.
150 * math/w_j1l.c (__j1l, __y1l): Likewise.
151 * math/w_jnl.c (__jnl, __ynl): Likewise.
152 * math/w_lgammal.c (__lgammal): Likewise.
153 * math/w_log10l.c (__log10l): Likewise.
154 * math/w_log2l.c (__log2l): Likewise.
155 * math/w_logl.c (__logl): Likewise.
156 * math/w_powl.c (__powl): Likewise.
157 * math/w_remainderl.c (__remainderl): Likewise.
158 * math/w_scalbl.c (sysv_scalbl): Likewise.
159 * math/w_sinhl.c (__sinhl): Likewise.
160 * math/w_sqrtl.c (__sqrtl): Likewise.
161 * math/w_tgammal.c (__tgammal): Likewise.
162 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
163 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
164 * math/libm-test.inc (acos_test): Add more tests.
165 (acosh_test): Likewise.
166 (asin_test): Likewise.
167 (atanh_test): Likewise.
168 (exp_test): Likewise.
169 (exp10_test): Likewise.
170 (exp2_test): Likewise.
171 (expm1_test): Likewise.
172 (lgamma_test): Likewise.
173 (log_test): Likewise.
174 (log10_test): Likewise.
175 (log1p_test): Likewise.
176 (log2_test): Likewise.
177 (pow_test): Do not allow some spurious overflow exceptions.
178 (sqrt_test): Add more tests.
179 (tgamma_test): Likewise.
180 (y0_test): Likewise.
181 (y1_test): Likewise.
182 (yn_test): Likewise.
183
184 2012-03-27 Anton Blanchard <anton@samba.org>
185
186 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
187 MAP_HUGETLB.
188 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
189 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
190 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
191
192 2012-03-27 David S. Miller <davem@davemloft.net>
193
194 * conform/Makefile: Run run-conformtest.sh using $(BASH).
195
196 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
197 have-as-vis3 check.
198
199 2012-03-27 Andreas Jaeger <aj@suse.de>
200
201 * sysdeps/x86_64/elf/configure.in: Moved to ...
202 * sysdeps/x86_64/configure.in: ... here.
203 * sysdeps/x86_64/elf/start.S: Moved to ...
204 * sysdeps/x86_64/start.S: ... here.
205 * sysdeps/x86_64/elf/configure: Delete.
206
207 * sysdeps/x86_64/configure.in: Merge contents from
208 sysdeps/i386/configure.in (without i686 check).
209
210 * sysdeps/i386/elf/Versions: Merge into ...
211 * sysdeps/i386/Versions: ... this.
212 * sysdeps/i386/elf/Versions: Delete file.
213 * sysdeps/i386/elf/start.S: Moved to ...
214 * sysdeps/i386/start.S: ...here.
215 * sysdeps/i386/elf/configure.in: Merge into...
216 * sysdeps/i386/configure.in: ...here.
217 * sysdeps/i386/elf/configure.in: Delete file.
218 * sysdeps/i386/elf/configure: Delete file.
219
220 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
221 * debug/backtracesyms.c: ... here.
222 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
223 * debug/backtracesymsfd.c: ... here.
224 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
225 * sysdeps/generic/ifunc-sel.h: ... here.
226
227 * sysdeps/unix/i386/start.c: Delete file.
228 * sysdeps/unix/sparc/start.c: Delete file.
229 * sysdeps/unix/start.c: Delete file.
230
231 * sysdeps/sh/elf/configure.in: Moved to ...
232 * sysdeps/sh/configure.in: ... here.
233 * sysdeps/sh/elf/start.S: Moved to ...
234 * sysdeps/sh/start.S: ... here.
235 * sysdeps/sh/elf/configure: Delete file.
236
237 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
238 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
239 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
240 * sysdeps/powerpc/powerpc64/entry.h: ... here.
241 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
242 * sysdeps/powerpc/powerpc64/start.S: here.
243 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
244 * sysdeps/powerpc/powerpc64/Makefile: ... this.
245 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
246 * sysdeps/powerpc/powerpc64/configure.in: ... this.
247 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
248
249 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
250 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
251 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
252 * sysdeps/powerpc/powerpc32/start.S: ... here.
253 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
254 * sysdeps/powerpc/powerpc32/configure.in: ... this.
255 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
256
257 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
258 * sysdeps/powerpc/ifunc-sel.h: ... here.
259 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
260 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
261
262 * sysdeps/sparc/elf/configure.in: Moved to ...
263 * sysdeps/sparc/configure.in: ... here.
264 * sysdeps/sparc/elf/configure: Delete file.
265 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
266 * sysdeps/sparc/sparc32/start.S: ... here.
267 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
268 * sysdeps/sparc/sparc64/start.S: ... here.
269 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
270 * sysdeps/sparc/sparc32/Makefile: ... this.
271 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
272 * sysdeps/sparc/sparc64/Makefile: ... this.
273
274 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
275 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
276 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
277 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
278 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
279 * sysdeps/s390/s390-32/setjmp.S: ... here.
280 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
281 * sysdeps/s390/s390-32/configure.in: ... here.
282 * sysdeps/s390/s390-32/elf/configure: Delete file.
283 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
284 * sysdeps/s390/s390-32/start.S: ... here.
285
286 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
287 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
288 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
289 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
290 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
291 * sysdeps/s390/s390-64/setjmp.S: ... here.
292 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
293 * sysdeps/s390/s390-64/configure.in: ... here
294 * sysdeps/s390/s390-64/elf/configure: Delete file.
295 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
296 * sysdeps/s390/s390-64/start.S: ... here.
297 * sysdeps/s390/s390-64/elf/configure: Delete.
298
299 * configure.in: Remove support for elf directories in sysdeps.
300
301 * configure: Regenerated.
302 * sysdeps/i386/configure: Regenerated.
303 * sysdeps/powerpc/powerpc32/configure: Regenerated.
304 * sysdeps/powerpc/powerpc64/configure: Regenerated.
305 * sysdeps/s390/s390-32/configure: Regenerated.
306 * sysdeps/s390/s390-64/configure: Regenerated.
307 * sysdeps/sh/configure: Regenerated.
308 * sysdeps/sparc/configure: Regenerated.
309 * sysdeps/x86_64/configure: Regenerated.
310
311 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
312
313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
314
315 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
316 denormal result into account.
317
318 2012-03-25 Roland McGrath <roland@hack.frob.com>
319
320 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
321 Reported by Allan McRae <allan@archlinux.org>.
322
323 2012-03-23 Jeff Law <law@redhat.com>
324
325 * nss/getnssent.c (__nss_getent): Fix typo.
326
327 2012-03-23 David S. Miller <davem@davemloft.net>
328
329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
330
331 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
332
333 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
334 to pad to uint64_t for each field.
335 (dl_tls_index): Replace unsigned long with uint64_t.
336
337 2012-03-23 Daniel Jacobowitz <dmj@google.com>
338 Paul Pluzhnikov <ppluzhnikov@google.com>
339
340 [BZ #6528]
341 * grp/Makefile (otherlibs): Don't set it.
342 * inet/Makefile (otherlibs): Likewise.
343 * login/Makefile (otherlibs): Likewise.
344 * nscd/Makefile (otherlibs): Likewise.
345 * posix/Makefile (otherlibs): Likewise.
346 * pwd/Makefile (otherlibs): Likewise.
347 * rt/Makefile (otherlibs): Likewise.
348 * sunrpc/Makefile (otherlibs): Likewise.
349 * nss/Makefile (otherlibs): Likewise.
350 Add libnss_files to routines and static-only-routines.
351 ($(objpfx)getent): Remove rule.
352 * resolv/Makefile: Add libnss_dns and libresolv to routines and
353 static-only-routines.
354
355 2012-03-22 Joseph Myers <joseph@codesourcery.com>
356
357 [BZ #13892]
358 * math/s_cexp.c: Include <float.h>.
359 (__cexp): Handle exp result overflowing not necessarily
360 overflowing both real and imaginary parts of result.
361 * math/s_cexpf.c: Likewise.
362 * math/s_cexpl.c: Likewise.
363 * math/libm-test.inc (cexp_test): Add more tests.
364 * sysdeps/i386/fpu/libm-test-ulps: Update.
365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
366
367 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
368
369 * include/link.h (ELFW): New macro.
370 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
371 Replace ELF64_R_TYPE with ELFW(R_TYPE).
372
373 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
374
375 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
376 with uint64_t.
377
378 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
379
380 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
381 declaration.
382 (struct La_x32_retval): Likewise.
383
384 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
385
386 * sysdeps/x86_64/preconfigure.in: New file.
387 * sysdeps/x86_64/preconfigure: New generated file.
388
389 2012-03-22 Joseph Myers <joseph@codesourcery.com>
390
391 [BZ #13824]
392 * math/e_exp2l.c: Include <float.h>.
393 (__ieee754_exp2l): Handle overflow and underflow cases
394 separately. Only pass fractional part of argument to
395 __ieee754_expl.
396 * math/libm-test.inc (exp2_test): Add more tests.
397
398 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
399 negating x to take absolute value.
400 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
401 Likewise.
402 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
403 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
404 Likewise.
405 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
406 computing low part if x was negated.
407 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
408
409 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
410
411 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
412 la_x32_gnu_pltexit.
413 (pltexit): Cast int_retval to ptrdiff_t.
414 * elf/tst-auditmod3b.c: Likewise.
415 * elf/tst-auditmod4b.c: Likewise.
416 * elf/tst-auditmod5b.c: Likewise.
417 * elf/tst-auditmod6b.c: Likewise.
418 * elf/tst-auditmod6c.c: Likewise.
419 * elf/tst-auditmod7b.c: Likewise.
420
421 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
422 and x32_gnu_pltexit.
423
424 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
425 __ELF_NATIVE_CLASS.
426 (La_x32_regs): New macro.
427 (La_x32_retval): Likewise.
428 (la_x32_gnu_pltenter): New function prototype.
429 (la_x32_gnu_pltexit): Likewise.
430
431 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
432
433 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
434 exponent.
435
436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
437
438 * configure.in (libc_cv_cc_nofma): Check for option to disable
439 generation of FMA instructions.
440 * configure: Regenerate.
441 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
442 * sysdeps/ieee754/dbl-64/Makefile: New file.
443 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
444 Remove brandred-fma4.
445 (CFLAGS-brandred-fma4.c): Remove.
446 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
447 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
448 define.
449 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
450 define.
451
452 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
453
454 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
455 LLONG_MAX != LONG_MAX.
456 (_itoa_word): Use _ITOA_WORD_TYPE on value.
457 (_fitoa_word): Likewise.
458 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
459 LLONG_MAX != LONG_MAX.
460 * stdio-common/_itowa.h: Include <_itoa.h>.
461 (_itowa_word): Use _ITOA_WORD_TYPE on value.
462 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
463 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
464 only if not defined.
465 (_ITOA_WORD_TYPE): Likewise.
466 (_itoa_word): Use _ITOA_WORD_TYPE on value.
467 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
468
469 2012-03-21 David S. Miller <davem@davemloft.net>
470
471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
472
473 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
474
475 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
476 of x86_64 when setting libc_cv_slibdir, libdir and
477 libc_cv_localedir.
478 * sysdeps/unix/sysv/linux/configure: Regenerated.
479
480 2012-03-21 Joseph Myers <joseph@codesourcery.com>
481
482 * manual/lang.texi (Old Varargs): Remove section.
483 (How Variadic): Update menu.
484 (va_start): Do not mention varargs.h.
485
486 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
487 Joseph Myers <joseph@codesourcery.com>
488
489 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
490 link test.
491 * configure: Regenerated.
492
493 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
494
495 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
496 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
497 conformtest.pl
498
499 2012-03-21 Joseph Myers <joseph@codesourcery.com>
500
501 * NOTES: Remove.
502 * Makefile (files-for-dist): Remove NOTES.
503 (NOTES): Remove rule.
504 * README: Don't refer to NOTES.
505 * manual/creature.texi: Don't include macros.texi.
506 * manual/intro.texi (creature.texi): Remove comment referring to
507 NOTES.
508
509 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
510 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
511 * configure: Regenerated.
512 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
513 LIBC_TRY_CC_OPTION.
514 (libc_cv_as_i686): Likewise.
515 (libc_cv_cc_avx): Likewise.
516 (libc_cv_cc_sse2avx): Likewise.
517 (libc_cv_cc_fma4): Likewise.
518 (libc_cv_cc_novzeroupper): Likewise.
519 * sysdeps/i386/configure: Regenerated.
520
521 [BZ #13883]
522 * sysdeps/i386/fpu/s_cexp.S: Remove.
523 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
524 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
525 * math/libm-test.inc (cexp_test): Add more tests.
526 * sysdeps/i386/fpu/libm-test-ulps: Update.
527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
528
529 2012-03-21 Allan McRae <allan@archlinux.org>
530
531 * timezone/Makefile: Do not install iso3166.tab and zone.tab
532
533 2012-03-21 Joseph Myers <joseph@codesourcery.com>
534
535 [BZ #13871]
536 * math/w_exp2.c: Do not include <float.h>.
537 (o_threshold, u_threshold): Remove.
538 (__exp2): Calculate result before checking finiteness and calling
539 __kernel_standard.
540 * math/w_exp2f.c: Likewise.
541 * math/w_exp2l.c: Likewise.
542 * math/libm-test.inc (exp2_test): Require overflow exception for
543 1e6 input.
544
545 [BZ #3866]
546 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
547 range of signed 64-bit integers before using fistpll. Remove
548 checks for whether integers fit in mantissa bits.
549 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
550 the range of signed 32-bit integers before using fistpl. Remove
551 checks for whether integers fit in mantissa bits.
552 * sysdeps/i386/fpu/e_powl.S (p64): New object.
553 (__ieee754_powl): Test for y outside the range of signed 64-bit
554 integers before using fistpll. Reduce 64-bit values to 63-bit
555 ones as needed.
556 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
557 divide-by-zero is raised for zero to large negative powers.
558 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
559 (__ieee754_powl): Test for y outside the range of signed 64-bit
560 integers before using fistpll. Reduce 64-bit values to 63-bit
561 ones as needed.
562 * math/libm-test.inc (pow_test): Add more tests.
563
564 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
565
566 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
567 <stdio-common/_itoa.h>.
568 * debug/segfault.c: Likewise.
569 * elf/dl-cache.c: Likewise.
570 * elf/dl-minimal.c: Likewise.
571 * elf/dl-misc.c: Likewise.
572 * elf/dl-sysdep.c: Likewise.
573 * elf/dl-version.c: Likewise.
574 * elf/rtld.c: Likewise.
575 * hurd/hurdsock.c: Likewise.
576 * hurd/lookup-retry.c: Likewise.
577 * malloc/malloc.c: Likewise.
578 * malloc/mtrace.c: Likewise.
579 * nscd/nscd_getgr_r.c: Likewise.
580 * nscd/nscd_getpw_r.c: Likewise.
581 * nscd/nscd_getserv_r.c: Likewise.
582 * posix/getopt_init.c: Likewise.
583 * posix/wordexp.c: Likewise.
584 * stdio-common/_itoa.c: Likewise.
585 * stdio-common/printf_fphex.c: Likewise.
586 * stdio-common/vfprintf.c: Likewise.
587 * string/_strerror.c: Likewise.
588 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
589 * sysdeps/i386/i686/hp-timing.h: Likewise.
590 * sysdeps/mach/_strerror.c: Likewise.
591 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
592 * sysdeps/mach/hurd/sethostid.c: Likewise.
593 * sysdeps/mach/hurd/xmknodat.c: Likewise.
594 * sysdeps/mach/xpg-strerror.c: Likewise.
595 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
596 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
597 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
598 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
599 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
600 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
601 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
602 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
603 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
604 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
605 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
606 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
607 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
608 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
609 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
610 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
611 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
612 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
613 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
614 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
615 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
616
617 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
618
619 * stdio-common/_itoa.h: Moved to ...
620 * sysdeps/generic/_itoa.h: Here.
621
622 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
623
624 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
625 instead of "_itoa.h" and "_itowa.h".
626 * stdio-common/vfprintf.: Likewise.
627
628 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
629
630 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
631 <bits/wordsize.h>.
632 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
633 (__signbit): Likwise.
634 (llrintf): Likwise.
635 (llrint): Likwise.
636
637 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
638
639 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
640 __WORDSIZE != 64.
641
642 2012-03-20 Joseph Myers <joseph@codesourcery.com>
643
644 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
645 OVERFLOW_EXCEPTION_OK.
646 * math/libm-test.inc ("Philosophy"): Update comment about
647 exception testing.
648 (OVERFLOW_EXCEPTION): Define.
649 (OVERFLOW_EXCEPTION_OK): Likewise.
650 (INVALID_EXCEPTION_OK): Renumber.
651 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
652 (IGNORE_ZERO_INF_SIGN): Likewise.
653 (test_exceptions): Handle FE_OVERFLOW.
654 (exp10_test): Expect overflow exceptions.
655 (exp2_test): Likewise.
656 (expm1_test): Likewise.
657 (nextafter_test): Likewise.
658 (pow_test): Likewise.
659 (scalbn_test): Likewise.
660 (scalbln_test): Likewise.
661
662 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
663
664 * sysdeps/x86_64/bits/atomic.h
665 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
666 64bit integer.
667 (atomic_exchange_acq): Likewise.
668 (__arch_exchange_and_add_body): Likewise.
669 (__arch_add_body): Likewise.
670 (atomic_add_negative): Likewise.
671 (atomic_add_zero): Likewise.
672
673 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
674
675 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
676 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
677
678 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
679
680 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
681 Check __x86_64__ instead of __WORDSIZE.
682
683 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
684
685 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
686
687 2012-03-19 David S. Miller <davem@davemloft.net>
688
689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
690
691 * sysdeps/sparc/fpu/fenv_private.h: New file.
692 * sysdeps/sparc/fpu/math_private.h: Use it.
693 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
694 Remove.
695 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
696 (libc_feholdexcept_setroundl): Remove.
697 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
698 Remove.
699 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
700 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
701
702 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
703
704 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
705 int64_t instead of long int.
706 (INSERT_WORDS64): Likwise.
707
708 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
709
710 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
711 _Unwind_GetCFA return to _Unwind_Ptr first.
712
713 2012-03-19 Joseph Myers <joseph@codesourcery.com>
714
715 [BZ #13629]
716 * math/s_clog.c: Include <float.h>.
717 (__clog): Scale large or subnormal inputs.
718 * math/s_clogf.c: Likewise.
719 * math/s_clogl.c: Likewise.
720 * math/s_clog10.c: Include <float.h>.
721 (M_LOG10_2): Define.
722 (__clog10): Scale large or subnormal inputs.
723 * math/s_clog10f.c: Likewise.
724 * math/s_clog10l.c: Likewise.
725 * math/libm-test.inc (clog_test): Add more tests.
726 (clog10_test): Likewise.
727 * sysdeps/i386/fpu/libm-test-ulps: Update.
728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
729
730 [BZ #11451]
731 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
732 x and y.
733 * math/libm-test.inc (atan2_test): Add another test.
734
735 * Makerules (common-objdir-compile): Remove.
736 * sysdeps/unix/Makefile (config-generated): Do not add
737 $(unix-generated) to variable.
738 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
739 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
740 Remove rule.
741 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
742 Likewise.
743 [generic bits/local_lim.h] (before-compile): Do not append to
744 variable.
745 [generic bits/local_lim.h] (common-generated): Likewise.
746 [generic sys/param.h] (before-compile): Do not append to variable.
747 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
748 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
749 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
750 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
751 include.
752 [generic sys/param.h] (sys/param.h-includes): Remove variable.
753 [generic sys/param.h] (sys/param.h-includes): Remove rule.
754 [generic sys/param.h] ($(addprefix
755 $(common-objpfx),$(sys/param.h-includes))): Likewise.
756 [generic sys/param.h] (common-generated): Do not append to
757 variable.
758 [generic sys/param.h] (sysdep_headers): Likewise.
759 [generic bits/errno.h] (before-compile): Do not append to
760 variable.
761 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
762 rule.
763 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
764 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
765 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
766 [generic bits/errno.h] (common-generated): Do not append to
767 variable.
768 [generic bits/ioctls.h] (before-compile): Do not append to
769 variable.
770 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
771 rule.
772 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
773 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
774 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
775 rule.
776 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
777 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
778 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
779 [generic bits/ioctls.h] (common-generated): Do not append to
780 variable.
781 [generic sys/syscall.h] (syscall.h): Remove variable.
782 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
783 rule.
784 [generic sys/syscall.h] (before-compile): Do not append to
785 variable.
786 [generic sys/syscall.h] (common-generated): Likewise.
787 * sysdeps/unix/errnos-tmpl.c: Remove file.
788 * sysdeps/unix/errnos.awk: Likewise.
789 * sysdeps/unix/ioctls-tmpl.c: Likewise.
790 * sysdeps/unix/ioctls.awk: Likewise.
791 * sysdeps/unix/mk-local_lim.c: Likewise.
792 * sysdeps/unix/snarf-ioctls: Likewise.
793
794 2012-03-19 Richard Henderson <rth@twiddle.net>
795
796 * sysdeps/i386/fpu/fenv_private.h: New file.
797 * sysdeps/i386/fpu/math_private.h: Use it.
798 (math_opt_barrier, math_force_eval): Remove.
799 (libc_feholdexcept_setround_53bit): Remove.
800 (libc_feupdateenv_53bit): Remove.
801 * sysdeps/x86_64/fpu/math_private.h: Likewise.
802 (math_opt_barrier, math_force_eval): Remove.
803 (libc_feholdexcept): Remove.
804 (libc_feholdexcept_setround): Remove.
805 (libc_fetestexcept, libc_fesetenv): Remove.
806 (libc_feupdateenv_test): Remove.
807 (libc_feupdateenv, libc_feholdsetround): Remove.
808 (libc_feresetround): Remove.
809
810 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
811 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
812
813 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
814 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
815 (libc_feupdateenv_testl): New.
816 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
817 (libc_feupdateenv_testf): New.
818 (libc_feupdateenv): Use libc_feupdateenv_test.
819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
820 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
821
822 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
823 (libc_feholdsetroundf, libc_feholdsetroundl): New.
824 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
825 (libc_feresetround_noex): New.
826 (libc_feresetround_noexf): New.
827 (libc_feresetround_noexl): New.
828 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
829 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
830 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
831 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
832 SET_RESTORE_ROUND.
833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
835 (__cos): Likewise.
836 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
837 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
838 SET_RESTORE_ROUND_NOEX.
839 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
840 SET_RESTORE_ROUND_NOEXF.
841 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
842 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
843 (libc_feholdsetroundf): New.
844 (libc_feresetround, libc_feresetroundf): New.
845
846 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
847 (libc_feholdexcept_setround_53bit): Convert from macro to function.
848 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
849
850 * sysdeps/generic/math_private.h: Include <fenv.h>.
851 (default_libc_feholdexcept): New.
852 (default_libc_feholdexcept_setround): New.
853 (default_libc_fesetenv, default_libc_feupdateenv): New.
854 (libc_feholdexcept): Only define if undefined.
855 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
856 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
857 (libc_feholdexcept_setroundl): Likewise.
858 (libc_feholdexcept_setround_53bit): Likewise.
859 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
860 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
861 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
862 (libc_feupdateenv_53bit): Likewise.
863 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
864 (libc_feholdexcept): Convert from macro to inline function.
865 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
866 (libc_fesetenv, libc_feupdateenv): Likewise.
867
868 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
869 not previously defined.
870 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
871 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
872 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
873 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
874 * sysdeps/ieee754/flt-32/math_private.h: New file.
875 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
876 math_private.h below SET_FLOAT_WORD.
877 (__isnan, __isinf_ns, __finite): Remove.
878 (__isnanf, __isinf_nsf, __finitef): Remove.
879
880 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
881
882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
883
884 2012-03-17 David S. Miller <davem@davemloft.net>
885
886 [BZ #6471]
887 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
888 for 2.16.
889
890 2012-03-16 David S. Miller <davem@davemloft.net>
891
892 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
893 warnings.
894
895 [BZ #6471]
896 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
897 properly.
898 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
899 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
900 sysdep_routines when subdir is sysvipc.
901 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
902 __getshmlba helper.
903
904 * sysdeps/sparc/fpu/libm-test/ulps: Update.
905
906 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
907
908 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
909 [__LP64__].
910
911 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
912
913 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
914 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
915 (__lround): Renamed to ...
916 (__llround): This. Replace long int with long long int.
917 Define lround functions as aliases of llround functions.
918 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
919
920 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
921
922 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
923 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
924 adresses to uintptr_t. Replace "long int" and "unsigned long
925 int" with "greg_t" on va_arg.
926
927 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
928
929 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
930 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
931
932 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
933 Move e_machine check before EI_CLASS check. Handle x32
934 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
935 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
936 SKIP_EM_IA_64 and include
937 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
938
939 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
940 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
941 (add_system_dir): New macro.
942
943 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
944 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
945
946 2012-03-16 Joseph Myers <joseph@codesourcery.com>
947
948 [BZ #2551]
949 [BZ #2552]
950 [BZ #2553]
951 [BZ #2554]
952 [BZ #2562]
953 [BZ #2563]
954 [BZ #2565]
955 [BZ #2566]
956 [BZ #2576]
957 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
958 (y0): Likewise.
959 * math/w_j0f.c (j0f): Likewise.
960 (y0f): Likewise.
961 * math/w_j0l.c (__j0l): Likewise.
962 (__y0l): Likewise.
963 * math/w_j1.c (j1): Likewise.
964 (y1): Likewise.
965 * math/w_j1f.c (j1f): Likewise.
966 (y1f): Likewise.
967 * math/w_j1l.c (__j1l): Likewise.
968 (__y1l): Likewise.
969 * math/w_jn.c (jn): Likewise.
970 (yn): Likewise.
971 * math/w_jnf.c (jnf): Likewise.
972 (ynf): Likewise.
973 * math/w_jnl.c (__jnl): Likewise.
974 (__ynl): Likewise.
975 * math/libm-test.inc (j0_test): Add more tests.
976 (j1_test): Likewise.
977 (jn_test): Likewise. Add trailing semicolon to existing test.
978 (y0_test): Likewise.
979 (y1_test): Likewise.
980 * sysdeps/i386/fpu/libm-test-ulps: Update.
981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
982
983 [BZ #13851]
984 [BZ #13854]
985 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
986 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
987 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
989 (__tanl): Set errno for infinite argument.
990 * sysdeps/i386/fpu/mptan.c: Remove.
991 * sysdeps/i386/fpu/s_tan.S: Likewise.
992 * sysdeps/i386/fpu/s_tanl.S: Likewise.
993 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
994 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
995 * math/libm-test.inc (tan_test): Add more tests and enable more
996 tests for double and long double.
997 * sysdeps/i386/fpu/libm-test-ulps: Update.
998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
999
1000 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1001
1002 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1003 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1004
1005 2012-03-16 Roland McGrath <roland@hack.frob.com>
1006
1007 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1008 * configure.in: Use it for both main tree and add-ons.
1009 * configure: Regenerated.
1010
1011 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1012
1013 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1014
1015 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1016
1017 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1018 in comment.
1019
1020 [BZ #13851]
1021 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1022 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1023 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1024 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1025 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1026 infinite argument.
1027 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1029 != 0 for prec == 2.
1030 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1031 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1032 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1033 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1034 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1035 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1036 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1037 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1038 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1039 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1040 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1041 * math/libm-test.inc (cos_test): Add more tests and enable more
1042 tests for long double.
1043 (sin_test): Likewise.
1044 (sincos_test): Likewise.
1045 * sysdeps/i386/fpu/libm-test-ulps: Update.
1046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1047
1048 2012-03-16 David S. Miller <davem@davemloft.net>
1049
1050 * sysdeps/sparc/fpu/math_private.h: New file.
1051
1052 2012-03-15 David S. Miller <davem@davemloft.net>
1053
1054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1055 file.
1056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1058 file.
1059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1065 sysdep routines.
1066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1067
1068 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1069 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1070
1071 * sysdeps/sparc/sparc-ifunc.h: New file.
1072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1073 sparc-ifunc.h
1074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1076 Likewise.
1077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1078 Likewise.
1079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1083 Likewise.
1084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1089 Likewise.
1090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1091 Likewise.
1092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1116
1117 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1118
1119 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1120 scaling.
1121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1122
1123 2012-03-15 Andreas Jaeger <aj@suse.de>
1124
1125 [BZ #13852]
1126 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1127 ieee754/flt-32 implementation for sin, cos and sincos.
1128 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1129 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1130 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1131 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1132 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1133 ieee754/flt-32 implementation for tan.
1134
1135 * math/libm-test.inc (cos_test): Enable some large input tests for
1136 float as well
1137 (sin_test): Likewise.
1138 (sincos_test): Likewise.
1139 (tan_test): Add tests for large input.
1140
1141 * sysdeps/i386/fpu/libm-test-ulps: Update.
1142
1143 2012-03-15 Andreas Jaeger <aj@suse.de>
1144
1145 [BZ #13658]
1146 * math/libm-test.inc (cos_test): Add more test cases.
1147 (sin_test): Likewise.
1148 (sincos_test): Likewise.
1149
1150 2012-03-15 Andreas Jaeger <aj@suse.de>
1151
1152 [BZ #13837]
1153 * math/libm-test.inc (cos_test): Add a test case for large input
1154 value.
1155 (sin_test): Likewise.
1156 (sincos_test): Likewise.
1157
1158 2012-03-15 Andreas Jaeger <aj@suse.de>,
1159 Joseph Myers <joseph@codesourcery.com>
1160
1161 [BZ #13658]
1162 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1163 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1164 * sysdeps/i386/fpu/branred.c: Likewise.
1165 * sysdeps/i386/fpu/dosincos.c: Likewise.
1166 * sysdeps/i386/fpu/mpa.c: Likewise.
1167 * sysdeps/i386/fpu/s_cos.S: Likewise.
1168 * sysdeps/i386/fpu/s_sin.S: Likewise.
1169 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1170 * sysdeps/i386/fpu/sincos32.c: Likewise.
1171
1172 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1173 Define.
1174 (libc_feupdateenv_53bit): Define.
1175 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1176 Define.
1177 (libc_feupdateenv_53bit): Define.
1178
1179 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1180 53 bit (without extend i386 double precision).
1181
1182 * math/libm-test.inc (sincos_test): Add tests for large input.
1183 (sin): Likewise.
1184 (cos): Likewise.
1185
1186 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1187
1188 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1189
1190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1191
1192 2012-03-15 David S. Miller <davem@davemloft.net>
1193
1194 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1195 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1196 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1197 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1210 file.
1211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1213 file.
1214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1216 file.
1217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1219 file.
1220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1222 fmin/fmax sysdep routines.
1223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1224
1225 2012-03-14 David S. Miller <davem@davemloft.net>
1226
1227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1233 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1247 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1251 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1254 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1256 routines.
1257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1258 file.
1259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1261 file.
1262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1264 file.
1265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1267 file.
1268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1270 file.
1271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1273 file.
1274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1275 file.
1276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1277 file.
1278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1279 file.
1280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1281 New file.
1282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1283 file.
1284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1285 file.
1286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1288 file.
1289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1291 file.
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1294 file.
1295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1297 VIS3 routines.
1298
1299 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1300 New file.
1301
1302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1303
1304 * sysdeps/sparc/configure.in: New file.
1305 * sysdeps/sparc/configure: Generate.
1306 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1307 * configure: Regenerate.
1308 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1309 * config.make.in (have-as-vis3): New.
1310 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1311 available use -Av9d instead of -Av9a.
1312 * sysdeps/sparc/sparc64/Makefile: Likewise.
1313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1315 New file.
1316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1317 file.
1318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1319 New file.
1320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1321 file.
1322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1323 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1325 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1327
1328 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1329 fzeros/fnegs to load 0x80000000 into a float register instead of
1330 using the stack.
1331 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1332
1333 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1334
1335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1336 bits/syscall.h.
1337 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1338 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1339 ($(inst_includedir)/bits/syscall.h): Remove rule.
1340 ($(objpfx)bits/syscall.d): Include instead of
1341 $(objpfx)syscall-list.d.
1342 (generated): Change syscall-list.h and syscall-list.d to
1343 bits/syscall.h and bits/syscall.d.
1344
1345 2012-03-14 Roland McGrath <roland@hack.frob.com>
1346
1347 [BZ #13846]
1348 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1349
1350 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1351
1352 [BZ #13841]
1353 * math/s_csqrt.c: Include <float.h>.
1354 (__csqrt): Scale large or subnormal inputs.
1355 * math/s_csqrtf.c: Likewise.
1356 * math/s_csqrtl.c: Likewise.
1357 * math/libm-test.inc (csqrt_test): Add more tests.
1358 * sysdeps/i386/fpu/libm-test-ulps: Update.
1359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1360
1361 [BZ #13840]
1362 * math/libm-test.inc (hypot_test): Add more tests.
1363
1364 2012-03-13 David S. Miller <davem@davemloft.net>
1365
1366 [BZ #13840]
1367 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1368 double-precision for the calculation instead of scaling.
1369
1370 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1371
1372 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1373 manipulate bits before adding and subtracting TWO52[sx].
1374 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1375 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1376 Likewise.
1377 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1378
1379 2012-03-13 David S. Miller <davem@davemloft.net>
1380
1381 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1382 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1384 rtld-global-offsets.h
1385 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1386
1387 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1388 large parameters.
1389
1390 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1391
1392 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1393 'err' in the ifdef scope in which it is actually used.
1394
1395 * nss/nss_db/db-init.c: Include string.h
1396
1397 2012-03-12 David S. Miller <davem@davemloft.net>
1398
1399 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1400 masking out of the most significant byte of random value used.
1401 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1402 Fix coding style in previous change.
1403
1404 * sysdeps/unix/sysv/linux/kernel-features.h
1405 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1406 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1407 expression.
1408 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1409 later.
1410
1411 2012-03-11 David S. Miller <davem@davemloft.net>
1412
1413 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1414 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1415 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1416 for 'resultvar' otherwise things get truncated on 64-bit.
1417
1418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1419 Fix masking out of the most significant byte of random value used.
1420
1421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1422
1423 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1424
1425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1426
1427 2012-03-09 David S. Miller <davem@davemloft.net>
1428
1429 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1430 variables with appropriate CPP guards.
1431 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1432 frame pointer, not the stack pointer. Correct layout comments. Fix test
1433 on resulting framesize and the management of the outregs buffer for pltexit.
1434 Preserve floating point return values across _dl_call_pltexit call.
1435 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1436 framesize and the management of the outregs buffer for pltexit.
1437 Preserve floating point return values across _dl_call_pltexit
1438 call.
1439 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1440 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1441 (print_exit): Fix format string for return register value.
1442
1443 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1444
1445 * sunrpc/Makefile (others): Add rpcgen.
1446 ($(objpfx)rpcgen): Remove special build rule and dependency on
1447 libc.
1448 * sunrpc/rpcgen.c: New file.
1449
1450 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1451
1452 [BZ #13673]
1453 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1454 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1455 * sysdeps/i386/crti.S: Likewise.
1456 * sysdeps/i386/crtn.S: Likewise.
1457 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1458 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1459 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1460 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1461 * sysdeps/sh/crti.S: Likewise.
1462 * sysdeps/sh/crtn.S: Likewise.
1463 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1464
1465 [BZ #13673]
1466 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1467 with URL.
1468 * locale/programs/locfile-kw.gperf: Likewise.
1469 * locale/programs/charmap-kw.h: Regenerated.
1470 * locale/programs/locfile-kw.h: Likewise.
1471
1472 [BZ #13673]
1473 * intl/plural.y: Replace FSF snail mail address with URL.
1474 * intl/plural.c: Regenerated.
1475
1476 2012-03-09 Richard Henderson <rth@twiddle.net>
1477
1478 * include/math_private.h: Remove file.
1479 * math/math_private.h: Move file ...
1480 * sysdeps/generic/math_private.h: ... here.
1481
1482 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1483 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1484 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1485
1486 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1487 and <math_private.h>.
1488 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1489 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1490 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1491 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1492 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1493 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1494 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1495 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1496 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1497 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1499 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1500 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1501 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1502 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1503 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1504 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1505 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1506 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1507 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1509 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1510 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1511 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1512 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1514 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1515 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1517 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1518 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1520 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1521 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1522 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1523 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1524 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1525 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1526 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1527 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1528 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1529 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1530 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1531 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1532 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1533 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1534 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1535 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1536 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1537 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1538 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1539 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1540 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1541 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1542 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1543 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1544 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1545 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1546 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1547 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1548 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1549 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1551 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1552 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1553 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1554 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1555 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1556 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1557 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1558 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1559 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1560 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1561 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1562 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1564 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1566 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1567 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1568 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1569 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1570 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1571 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1572 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1573 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1575 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1576 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1577 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1578 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1579 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1580 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1581 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1582 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1583 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1584 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1585 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1586 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1587 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1588 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1589 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1590 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1591 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1592 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1593 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1594 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1595 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1596 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1597 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1598 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1599 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1600 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1601 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1602 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1603 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1604 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1605 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1606 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1607 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1608 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1609 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1610 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1611 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1612 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1613 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1614 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1615 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1616 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1617 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1618 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1619 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1620 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1621 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1622 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1623 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1624 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1625 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1626 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1627 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1628 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1629 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1630 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1631 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1632 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1633 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1634 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1635 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1636 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1637 * sysdeps/ieee754/k_standard.c: Likewise.
1638 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1639 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1640 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1641 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1642 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1643 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1644 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1645 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1646 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1647 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1648 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1649 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1650 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1651 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1652 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1653 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1654 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1655 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1681 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1682 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1683 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1686 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1688 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1689 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1690 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1694 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1695 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1696 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1700 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1705 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1711 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1712 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1713 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1715 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1717 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1718 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1719 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1720 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1721 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1728 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1729 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1731 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1736 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1741 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1742 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1743 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1749 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1750 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1753 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1757 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1758 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1760 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1761 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1762 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1763 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1765 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1766 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1767 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1769 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1770 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1776 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1778 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1779 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1780 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1781 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1782 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1783 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1784 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1785 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1786 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1787 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1788 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1789 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1790 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1791 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1792 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1793 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1794 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1795 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1796 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1797 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1798 * sysdeps/ieee754/s_lib_version.c: Likewise.
1799 * sysdeps/ieee754/s_matherr.c: Likewise.
1800 * sysdeps/ieee754/s_signgam.c: Likewise.
1801 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1802 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1803 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1804 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1805 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1806 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1807 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1808 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1809 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1810 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1811 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1812 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1813 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1814 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1815 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1816 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1817 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1818 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1819 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1820 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1822
1823 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1824
1825 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1826 * sunrpc/rpc_main.c: Likewise.
1827 * sunrpc/rpc_svcout.c: Likewise.
1828
1829 2012-03-09 David S. Miller <davem@davemloft.net>
1830
1831 * include/math_private.h: New file.
1832
1833 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1834
1835 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1836 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1837 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1838 from <bits/socket_type.h>.
1839 (enum __socket_type): Don't define here.
1840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1842 bits/socket_type.h.
1843
1844 [BZ #13566]
1845 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1846 checking __USE_GNU.
1847
1848 * Makerules ($(inst_includedir)/%.h): New rule.
1849 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1850 (install-others): Remove variable setting.
1851 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1852
1853 2012-03-08 Richard Henderson <rth@twiddle.net>
1854
1855 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1856 from macro to inline function; merge with the
1857 !__LIBC_INTERNAL_MATH_INLINES version.
1858 (__ieee754_sqrtf): Likewise.
1859
1860 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1861 to inline function.
1862 (__rintf, __floor, __floorf): Likewise.
1863
1864 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1865 macro to inline function.
1866 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1867
1868 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1869 not <math/math_private.h>.
1870
1871 2012-03-08 David S. Miller <davem@davemloft.net>
1872
1873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1874 copyright year.
1875 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1876
1877 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1878
1879 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1880 normalization.
1881 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1882 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1883
1884 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1885
1886 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1887 be defined individually, they must be defined as a block. Define
1888 S for printing a string instead of hidint the different by using a
1889 macro for adding the 'l'.
1890 * stdio-common/tst-fphex-wide.c: Adjust.
1891
1892 2012-03-07 Marek Polacek <polacek@redhat.com>
1893
1894 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1895
1896 2012-03-08 Marek Polacek <polacek@redhat.com>
1897
1898 [BZ #13806]
1899 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1900 * stdio-common/tst-fphex.c: Define a few macros to make the
1901 test reusable. Use them.
1902 * stdio-common/tst-fphex-wide.c: New file.
1903
1904 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1905
1906 [BZ #6911]
1907 * manual/macros.texi (gnusystems): New macro.
1908 (nongnusystems): Likewise.
1909 (gnulinuxhurdsystems): Likewise.
1910 (gnuhurdsystems): Likewise..
1911 (gnulinuxsystems): Likewise.
1912 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1913 variants of the GNU system, not "GNU system".
1914 * manual/conf.texi: Likewise.
1915 * manual/errno.texi: Likewise. Update example of errno macro
1916 expansion.
1917 * manual/filesys.texi: Likewise.
1918 (getumask): Document as specific to GNU/Hurd.
1919 * manual/install.texi: Likewise. Reword some references to
1920 GNU/Linux.
1921 * manual/intro.texi: Likewise.
1922 * manual/io.texi: Likewise.
1923 (File Name Portability): Detail which constraints are inapplicable
1924 to all GNU systems and which are only inapplicable to GNU/Hurd.
1925 * manual/job.texi: Likewise.
1926 * manual/llio.texi: Likewise.
1927 (O_NOCTTY): Document as present on GNU/Linux.
1928 * manual/maint.texi: Likewise.
1929 * manual/memory.texi: Likewise.
1930 * manual/pattern.texi: Likewise.
1931 * manual/pipe.texi: Likewise.
1932 * manual/process.texi: Likewise.
1933 * manual/resource.texi: Likewise.
1934 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1935 child on GNU/Hurd.
1936 * manual/setjmp.texi: Likewise.
1937 * manual/signal.texi: Likewise.
1938 * manual/startup.texi: Likewise.
1939 * manual/stdio.texi: Likewise.
1940 * manual/terminal.texi: Likewise.
1941 (ONLCR): Document as POSIX.
1942 (OXTABS): Document availability on GNU/Linux as XTABS.
1943 (ONOEOT): Document availability separately from other bits.
1944 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1945 * manual/time.texi: Likewise.
1946 * manual/users.texi: Likewise.
1947 * INSTALL: Regenerated.
1948 * sysdeps/gnu/errlist.c: Regenerated.
1949
1950 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1951 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1952 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1953 puts.
1954 * configure: Regenerated.
1955
1956 2012-03-07 Joseph Myers <joseph@codesourcery.com>
1957
1958 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1959 default includes instead of AC_HEADER_CHECK.
1960 * sysdeps/i386/configure: Regenerated.
1961
1962 [BZ #10716]
1963 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1964 * math/s_cacoshf.c (__cacoshf): Likewise.
1965 * math/s_cacoshl.c (__cacoshl): Likewise.
1966 * math/s_casinh.c (__casinh): Set signs of result from argument.
1967 * math/s_casinhf.c (__casinhf): Likewise.
1968 * math/s_casinhl.c (__casinhl): Likewise.
1969 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
1970 (casinh_test): Add more tests.
1971 * sysdeps/i386/fpu/libm-test-ulps: Update.
1972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1973
1974 2012-03-07 Ulrich Drepper <drepper@gmail.com>
1975
1976 * po/zh_TW.po: Update from translation team.
1977
1978 * login/Makefile (distribute): Remove variable.
1979 * catgets/Makefile: Likewise.
1980 * mach/Makefile: Likewise.
1981 * malloc/Makefile: Likewise.
1982 * misc/Makefile: Likewise.
1983 * iconv/Makefile: Likewise.
1984 * nscd/Makefile: Likewise.
1985 * hurd/Makefile: Likewise.
1986 * manual/Makefile: Likewise.
1987 * locale/Makefile: Likewise.
1988 * intl/Makefile: Likewise.
1989 * conform/Makefile: Likewise.
1990 * nss/Makefile: Likewise.
1991 * time/Makefile: Likewise.
1992 * soft-fp/Makefile: Likewise.
1993 * dirent/Makefile: Likewise.
1994 * gmon/Makefile: Likewise.
1995 * po/Makefile: Likewise.
1996 * rt/Makefile: Likewise.
1997 * socket/Makefile: Likewise.
1998 * math/Makefile: Likewise.
1999 * signal/Makefile: Likewise.
2000 * debug/Makefile: Likewise.
2001 * elf/Makefile: Likewise.
2002 * timezone/Makefile: Likewise.
2003 * stdlib/Makefile: Likewise.
2004 * iconvdata/Makefile: Likewise.
2005 * sunrpc/Makefile: Likewise.
2006 * io/Makefile: Likewise.
2007 * argp/Makefile: Likewise.
2008 * inet/Makefile: Likewise.
2009 * hesiod/Makefile: Likewise.
2010 * grp/Makefile: Likewise.
2011 * csu/Makefile: Likewise.
2012 * wctype/Makefile: Likewise.
2013 * crypt/Makefile: Likewise.
2014 * libio/Makefile: Likewise.
2015 * string/Makefile: Likewise.
2016 * nis/Makefile: Likewise.
2017 * resolv/Makefile: Likewise.
2018 * stdio-common/Makefile: Likewise.
2019 * wcsmbs/Makefile: Likewise.
2020 * dlfcn/Makefile: Likewise.
2021 * posix/Makefile: Likewise.
2022
2023 * timezone/Makefile: Don't install timezone files, just the programs
2024 and scripts.
2025
2026 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2027
2028 * nss/databases.def: Add missing gshadow entry.
2029
2030 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2031
2032 2012-03-06 Marek Polacek <polacek@redhat.com>
2033
2034 [BZ #13726]
2035 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2036 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2037 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2038 * stdio-common/tst-long-dbl-fphex.c: New file.
2039
2040 2012-03-06 David S. Miller <davem@davemloft.net>
2041
2042 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2043 (set_obp_int): New function.
2044 (get_obp_int): New function.
2045 (__get_clockfreq_via_dev_openprom): Likewise.
2046 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2047 Avoid unused variable warnings on 'val' and use builtin_expect.
2048 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2049 __builtin_expect.
2050 (INLINE_CLONE_SYSCALL): Likewise.
2051
2052 2012-03-05 David S. Miller <davem@davemloft.net>
2053
2054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2055
2056 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2057
2058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2059
2060 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2061 only for |x| >= 40.
2062 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2063
2064 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2065
2066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2067 Replace gettimeofday with __vdso_gettimeofday.
2068
2069 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2070 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2071 __vdso_clock_gettime and __vdso_getcpu.
2072
2073 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2074 time with __vdso_time.
2075
2076 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2077
2078 * manual/lang.texi (size_t): Note types to which size_t may be
2079 equivalent with the GNU C Library, but do not describe when
2080 differences between them are significant.
2081
2082 2012-03-05 Andreas Jaeger <aj@suse.de>
2083
2084 * sysdeps/i386/fpu/libm-test-ulps: Update.
2085
2086 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2087
2088 [BZ #3976]
2089 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2090 (__ieee754_pow): Save and restore rounding mode and use
2091 round-to-nearest for main computations.
2092 * math/libm-test.inc (pow_test_tonearest): New function.
2093 (pow_test_towardzero): Likewise.
2094 (pow_test_downward): Likewise.
2095 (pow_test_upward): Likewise.
2096 (main): Call the new functions.
2097 * sysdeps/i386/fpu/libm-test-ulps: Update.
2098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2099
2100 [BZ #3976]
2101 * math/libm-test.inc (cosh_test_tonearest): New function.
2102 (cosh_test_towardzero): Likewise.
2103 (cosh_test_downward): Likewise.
2104 (cosh_test_upward): Likewise.
2105 (sinh_test_tonearest): Likewise.
2106 (sinh_test_towardzero): Likewise.
2107 (sinh_test_downward): Likewise.
2108 (sinh_test_upward): Likewise.
2109 (main): Call the new functions.
2110 * sysdeps/i386/fpu/libm-test-ulps: Update.
2111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2112
2113 2012-03-05 Tom de Vries <tom@codesourcery.com>
2114
2115 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2116 default stack guard is set in last bytes.
2117 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2118
2119 2012-03-05 Kees Cook <keescook@chromium.org>
2120
2121 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2122
2123 [BZ #13656]
2124 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2125 possibly allocate from heap instead of stack.
2126 * stdio-common/bug-vfprintf-nargs.c: New file.
2127 * stdio-common/Makefile (tests): Add nargs overflow test.
2128
2129 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2130
2131 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2132
2133 2012-03-03 Marek Polacek <polacek@redhat.com>
2134
2135 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2136 * math/math_private.h: Likewise.
2137 * stdlib/tst-strtod.c: Likewise.
2138 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2139 * sysdeps/x86_64/bits/atomic.h: Likewise.
2140
2141 2012-03-02 David S. Miller <davem@davemloft.net>
2142
2143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2147 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2148 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2149 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2150 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2151
2152 2012-03-02 Roland McGrath <roland@hack.frob.com>
2153
2154 [BZ #13792]
2155 * manual/examples/README: New file, says the example source files
2156 can be used under GPL>=2.
2157 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2158 line containing just "*/".
2159 * manual/examples/add.c: Add copyright header (GPL>=2).
2160 * manual/examples/argp-ex1.c: Likewise.
2161 * manual/examples/argp-ex2.c: Likewise.
2162 * manual/examples/argp-ex3.c: Likewise.
2163 * manual/examples/argp-ex4.c: Likewise.
2164 * manual/examples/atexit.c: Likewise.
2165 * manual/examples/db.c: Likewise.
2166 * manual/examples/dir.c: Likewise.
2167 * manual/examples/dir2.c: Likewise.
2168 * manual/examples/execinfo.c: Likewise.
2169 * manual/examples/filecli.c: Likewise.
2170 * manual/examples/filesrv.c: Likewise.
2171 * manual/examples/fmtmsgexpl.c: Likewise.
2172 * manual/examples/genpass.c: Likewise.
2173 * manual/examples/inetcli.c: Likewise.
2174 * manual/examples/inetsrv.c: Likewise.
2175 * manual/examples/isockad.c: Likewise.
2176 * manual/examples/longopt.c: Likewise.
2177 * manual/examples/memopen.c: Likewise.
2178 * manual/examples/memstrm.c: Likewise.
2179 * manual/examples/mkfsock.c: Likewise.
2180 * manual/examples/mkisock.c: Likewise.
2181 * manual/examples/mygetpass.c: Likewise.
2182 * manual/examples/pipe.c: Likewise.
2183 * manual/examples/popen.c: Likewise.
2184 * manual/examples/rprintf.c: Likewise.
2185 * manual/examples/search.c: Likewise.
2186 * manual/examples/select.c: Likewise.
2187 * manual/examples/setjmp.c: Likewise.
2188 * manual/examples/sigh1.c: Likewise.
2189 * manual/examples/sigusr.c: Likewise.
2190 * manual/examples/stpcpy.c: Likewise.
2191 * manual/examples/strdupa.c: Likewise.
2192 * manual/examples/strftim.c: Likewise.
2193 * manual/examples/strncat.c: Likewise.
2194 * manual/examples/subopt.c: Likewise.
2195 * manual/examples/swapcontext.c: Likewise.
2196 * manual/examples/termios.c: Likewise.
2197 * manual/examples/testopt.c: Likewise.
2198 * manual/examples/testpass.c: Likewise.
2199 * manual/examples/timeval_subtract.c: Likewise.
2200
2201 [BZ #13792]
2202 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2203 function to ...
2204 * manual/timeval_subtract.c.texi: ... here, new file.
2205
2206 2012-03-02 David S. Miller <davem@davemloft.net>
2207
2208 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2209
2210 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2211
2212 [BZ #3976]
2213 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2214 (__sin): Save and restore rounding mode and use round-to-nearest
2215 for all computations.
2216 (__cos): Save and restore rounding mode and use round-to-nearest
2217 for all computations.
2218 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2219 <fenv.h>.
2220 (tan): Save and restore rounding mode and use round-to-nearest for
2221 all computations.
2222 * math/libm-test.inc (cos_test_tonearest): New function.
2223 (cos_test_towardzero): Likewise.
2224 (cos_test_downward): Likewise.
2225 (cos_test_upward): Likewise.
2226 (sin_test_tonearest): Likewise.
2227 (sin_test_towardzero): Likewise.
2228 (sin_test_downward): Likewise.
2229 (sin_test_upward): Likewise.
2230 (tan_test_tonearest): Likewise.
2231 (tan_test_towardzero): Likewise.
2232 (tan_test_downward): Likewise.
2233 (tan_test_upward): Likewise.
2234 (main): Call the new functions.
2235 * sysdeps/i386/fpu/libm-test-ulps: Update.
2236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2237
2238 [BZ #10135]
2239 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2240 small n, then large n, before computing and testing k+n.
2241 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2243 Likewise.
2244 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2245 Likewise.
2246 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2247 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2248 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2249 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2250 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2251 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2252 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2253 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2254 * math/libm-test.inc (scalbn_test): Add more tests.
2255 (scalbln_test): Likewise.
2256
2257 * manual/filesys.texi (mode_t): Describe constraints on size and
2258 signedness, not exact equivalence to a particular type.
2259 (ino_t): Likewise.
2260 (ino64_t): Likewise.
2261 (dev_t): Likewise.
2262 (nlink_t): Likewise.
2263 (blkcnt_t): Likewise.
2264 (blkcnt64_t): Likewise.
2265 * manual/llio.texi (off_t): Likewise.
2266
2267 [BZ #3976]
2268 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2269 (__ieee754_exp): Save and restore rounding mode and use
2270 round-to-nearest for all computations.
2271 * math/libm-test.inc (exp_test_tonearest): New function.
2272 (exp_test_towardzero): Likewise.
2273 (exp_test_downward): Likewise.
2274 (exp_test_upward): Likewise.
2275 (main): Call the new functions.
2276 * sysdeps/i386/fpu/libm-test-ulps: Update.
2277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2278
2279 2012-03-01 Chris Demetriou <cgd@google.com>
2280
2281 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2282 have predictable order.
2283
2284 2012-03-01 David S. Miller <davem@davemloft.net>
2285
2286 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2287
2288 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2289 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2290 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2291 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2292
2293 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2294 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2295 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2296 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2297 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2298 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2299 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2300 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2301 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2302
2303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2304
2305 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2306 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2307 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2308
2309 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2310 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2311 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2312 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2313 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2314 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2315 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2316 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2317 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2318 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2319 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2320 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2321 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2322 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2323 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2324 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2325 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2326 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2327 * sysdeps/sparc/elf/configure: Regenerated.
2328
2329 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2330
2331 * configure.in (AS, LD): Require binutils 2.20 or later.
2332 * configure: Regenerated.
2333 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2334 as required minimum version.
2335 * INSTALL: Regenerated.
2336
2337 [BZ #2541]
2338 [BZ #4108]
2339 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2340 before squaring exponent.
2341 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2342 bottom long double and 27 bits of top long double before squaring
2343 exponent.
2344 * math/libm-test.inc (erfc_test): Add more tests.
2345 * sysdeps/i386/fpu/libm-test-ulps: Update.
2346 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2348
2349 2012-03-01 Kai Tietz <ktietz@redhat.com>
2350
2351 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2352 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2353 containing bit-fields.
2354 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2355 * soft-fp/single.h (_FP_UNION_S): Likewise.
2356 * soft-fp/double.h (_FP_UNION_D): Likewise.
2357
2358 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2359
2360 [BZ #13786]
2361 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2362 not include ../strcmp.S.
2363 [USE_AS_STRNCASECMP_L]: Likewise.
2364 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2365 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2366 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2367 (__strncasecmp_l_ia32): Define as alias to
2368 __strncasecmp_l_nonascii.
2369
2370 [BZ #5794]
2371 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2372 * sysdeps/i386/fpu/libm-test-ulps: Update.
2373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2374
2375 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2377
2378 2012-02-29 Jeff Law <law@redhat.com>
2379
2380 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2381 out of bounds read.
2382
2383 2012-02-29 Marek Polacek <polacek@redhat.com>
2384
2385 [BZ #13706]
2386 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2387 * elf/Makefile: Add rules to run tst-unused-dep.out.
2388
2389 2012-02-28 David S. Miller <davem@davemloft.net>
2390
2391 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2392 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2393 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2394 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2395 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2396 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2397
2398 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2399
2400 * math/libm-test.inc (llround_test): Move one test from
2401 lround_test. Use TEST_f_L in moved test.
2402 (lround_test): Move misplaced test to llround_test. Add testcase
2403 from bug 2561.
2404
2405 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2406
2407 * sysdeps/x86_64/fpu/e_expf.S: New file.
2408 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2409
2410 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2411
2412 [BZ #13637]
2413 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2414 of remain_len that may cause incomplete multi-byte character and
2415 false match.
2416 * posix/bug-regex33.c: New file.
2417 * posix/Makefile (tests): Add bug-regex33.
2418
2419 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2420
2421 * manual/macros.texi: New file.
2422 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2423 * manual/libc.texinfo: Include macros.texi.
2424 * manual/creatute.texi: Likewise.
2425 * manual/install.texi: Likewise.
2426 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2427 @glibcadj{} in references to the GNU C Library.
2428 * manual/charset.texi: Likewise.
2429 * manual/conf.texi: Likewise.
2430 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2431 when not using those macros.
2432 * manual/creature.texi: Likewise.
2433 * manual/crypt.texi: Likewise.
2434 * manual/errno.texi: Likewise.
2435 * manual/filesys.texi: Likewise.
2436 * manual/header.texi: Likewise.
2437 * manual/install.texi: Likewise.
2438 * manual/intro.texi: Likewise.
2439 * manual/io.texi: Likewise.
2440 * manual/job.texi: Likewise.
2441 * manual/lang.texi: Likewise.
2442 * manual/libc.texiinfo: Likewise.
2443 * manual/llio.texi: Likewise.
2444 * manual/locale.texi: Likewise.
2445 * manual/maint.texi: Likewise.
2446 * manual/math.texi: Likewise.
2447 * manual/memory.texi: Likewise.
2448 * manual/message.texi: Likewise.
2449 * manual/nss.texi: Likewise.
2450 * manual/pattern.texi: Likewise.
2451 * manual/process.texi: Likewise.
2452 * manual/resource.texi: Likewise.
2453 * manual/search.texi: Likewise.
2454 * manual/setjmp.texi: Likewise.
2455 * manual/signal.texi: Likewise.
2456 * manual/socket.texi: Likewise.
2457 * manual/startup.texi: Likewise.
2458 * manual/stdio.texi: Likewise.
2459 * manual/string.texi: Likewise.
2460 * manual/sysinfo.texi: Likewise.
2461 * manual/syslog.texi: Likewise.
2462 * manual/terminal.texi: Likewise.
2463 * manual/time.texi: Likewise.
2464 * manual/users.texi: Likewise.
2465 * INSTALL: Regenerated.
2466 * NOTES: Regenerated.
2467 * sysdeps/gnu/errlist.c: Regenerated.
2468
2469 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2470
2471 * include/dirent.h: Include <dirstream.h> before
2472 <dirent/dirent.h>.
2473
2474 2012-02-28 David S. Miller <davem@davemloft.net>
2475
2476 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2477 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2478 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2479 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2480
2481 2012-02-27 David S. Miller <davem@davemloft.net>
2482
2483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2485 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2486 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2487
2488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2489 frame pointer instead of stack pointer relative arg slot.
2490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2491 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2492 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2493
2494 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2495
2496 [BZ #3992]
2497 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2498
2499 2012-02-27 David S. Miller <davem@davemloft.net>
2500
2501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2505 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2506 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2507 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2508 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2509
2510 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2511
2512 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2513 later. Allow versions 5-9.
2514 * configure: Regenerated.
2515 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2516 required minimum version and 4.6 as recommended version. Do not
2517 mention bugs in GCC 2.7 and 2.8.
2518 * INSTALL: Regenerated.
2519
2520 2012-02-27 David S. Miller <davem@davemloft.net>
2521
2522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2526 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2527 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2528 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2529 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2530
2531 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2532 manipulate bits before adding and subtracting TWO112[sx].
2533 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2534
2535 2012-02-27 Roland McGrath <roland@hack.frob.com>
2536
2537 [BZ #13775]
2538 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2539 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2540 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2541 being in POSIX, because they are in 1003.1-2008.
2542
2543 * rt/tst-aio.c: Include <fcntl.h>.
2544 * rt/tst-aio7.c: Likewise.
2545 * rt/tst-aio64.c: Likewise.
2546
2547 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2548
2549 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2550
2551 * manual/install.texi (--with-headers): Describe headers as
2552 interface headers, not private headers.
2553 (Specific advice for GNU/Linux systems): Describe use of headers
2554 from "make headers_install", not private headers from older
2555 kernels.
2556 * INSTALL: Regenerated.
2557 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2558 Change to 2.6.19.
2559 * sysdeps/unix/sysv/linux/configure: Regenerated.
2560
2561 * manual/llio.texi (fclean): Remove documentation.
2562
2563 * manual/Makefile (libc-texi-generated): New variable. Include
2564 version.texi.
2565 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2566 $(libc-texi-generated), not duplicated list of files.
2567 (version.texi, stamp-version): New rules.
2568 (realclean): Remove $(libc-texi-generated), not individual files
2569 from that list. Do not remove dir-add.texinfo.
2570 * manual/libc.texinfo: Comment out uses of edition numbers and
2571 references to printed manual. Remove last-updated dates.
2572 (EDITION): Comment out.
2573 (ISBN): Likewise.
2574 (VERSION, UPDATED): Remove.
2575 (version.texi): Include.
2576
2577 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2578
2579 * sysdeps/posix/spawni.c: Include <signal.h>.
2580 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2581 * sysdeps/pthread/aio_fsync.c: Likewise.
2582
2583 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2584
2585 * conform/Makefile (tests): Run only when not cross-compiling and
2586 when fast-check is not defined.
2587
2588 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2589 * conform/data/limits.h-data: Fixes for POSIX2008.
2590 * conform/run-conformtest.sh: Run all tests.
2591 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2592 headers.
2593 * include/bits/dlfcn.h: Likewise.
2594 * include/langinfo.h: Likewise.
2595 * include/monetary.h: Likewise.
2596 * include/sys/poll.h: Likewise.
2597
2598 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2599 for __USE_GNU.
2600 * posix/spawn.h: Define __need_sigset_t.
2601 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2602 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2603 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2604 to get sigevent_t only.
2605 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2606 only for __USE_GNU.
2607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2608 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2609 process_vm_writev only for __USE_GNU.
2610 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2611
2612 * conform/Makefile: For now ignore errors from run-conformtest.
2613 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2614 POSIX to avoid namespace pollution. Don't prepend headers.
2615 * conform/data/aio.h-data: Fixes for POSIX testing.
2616 * conform/data/fcntl.h-data: Likewise.
2617 * conform/data/glob.h-data: Likewise.
2618 * conform/data/grp.h-data: Likewise.
2619 * conform/data/pthread.h-data: Likewise.
2620 * conform/data/pwd.h-data: Likewise.
2621 * conform/data/signal.h-data: Likewise.
2622 * conform/data/spawn.h-data: Likewise.
2623 * conform/data/stdio.h-data: Likewise.
2624 * conform/data/stdlib.h-data: Likewise.
2625 * conform/data/stropts.h-data: Likewise.
2626 * conform/data/sys/mman.h-data: Likewise.
2627 * conform/data/sys/stat.h-data: Likewise.
2628 * conform/data/sys/types.h-data: Likewise.
2629 * conform/data/sys/wait.h-data: Likewise.
2630 * conform/data/time.h-data: Likewise.
2631 * conform/data/unistd.h-data: Likewise.
2632 * conform/data/utime.h-data: Likewise.
2633
2634 * io/sys/stat.h: fchmod was always in POSIX.
2635 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2636 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2637 * rt/aio.h: Define __need_timespec before including <time.h>.
2638 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2639 struct. Add forward declaration of pthread_attr_t and use it in
2640 sigevent.
2641 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2642 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2643 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2644 always remove CLK_TCK definition.
2645
2646 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2647
2648 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2649
2650 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2651
2652 * conform/run-conformtest.sh: New file.
2653 * conform/Makefile: Run run-conformtest for tests.
2654 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2655 support.
2656
2657 * conform/data/uchar.h-data: New file.
2658 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2659 * conform/data/arpa/inet.h-data: Likewise.
2660 * conform/data/assert.h-data: Likewise.
2661 * conform/data/complex.h-data: Likewise.
2662 * conform/data/cpio.h-data: Likewise.
2663 * conform/data/ctype.h-data: Likewise.
2664 * conform/data/dirent.h-data: Likewise.
2665 * conform/data/dlfcn.h-data: Likewise.
2666 * conform/data/errno.h-data: Likewise.
2667 * conform/data/fcntl.h-data: Likewise.
2668 * conform/data/float.h-data: Likewise.
2669 * conform/data/fmtmsg.h-data: Likewise.
2670 * conform/data/fnmatch.h-data: Likewise.
2671 * conform/data/ftw.h-data: Likewise.
2672 * conform/data/glob.h-data: Likewise.
2673 * conform/data/grp.h-data: Likewise.
2674 * conform/data/iconv.h-data: Likewise.
2675 * conform/data/inttypes.h-data: Likewise.
2676 * conform/data/langinfo.h-data: Likewise.
2677 * conform/data/libgen.h-data: Likewise.
2678 * conform/data/limits.h-data: Likewise.
2679 * conform/data/locale.h-data: Likewise.
2680 * conform/data/math.h-data: Likewise.
2681 * conform/data/monetary.h-data: Likewise.
2682 * conform/data/mqueue.h-data: Likewise.
2683 * conform/data/ndbm.h-data: Likewise.
2684 * conform/data/net/if.h-data: Likewise.
2685 * conform/data/netdb.h-data: Likewise.
2686 * conform/data/netinet/in.h-data: Likewise.
2687 * conform/data/nl_types.h-data: Likewise.
2688 * conform/data/poll.h-data: Likewise.
2689 * conform/data/pthread.h-data: Likewise.
2690 * conform/data/pwd.h-data: Likewise.
2691 * conform/data/regex.h-data: Likewise.
2692 * conform/data/sched.h-data: Likewise.
2693 * conform/data/search.h-data: Likewise.
2694 * conform/data/semaphore.h-data: Likewise.
2695 * conform/data/setjmp.h-data: Likewise.
2696 * conform/data/signal.h-data: Likewise.
2697 * conform/data/spawn.h-data: Likewise.
2698 * conform/data/stdarg.h-data: Likewise.
2699 * conform/data/stdio.h-data: Likewise.
2700 * conform/data/stdlib.h-data: Likewise.
2701 * conform/data/string.h-data: Likewise.
2702 * conform/data/strings.h-data: Likewise.
2703 * conform/data/stropts.h-data: Likewise.
2704 * conform/data/sys/ipc.h-data: Likewise.
2705 * conform/data/sys/mman.h-data: Likewise.
2706 * conform/data/sys/msg.h-data: Likewise.
2707 * conform/data/sys/resource.h-data: Likewise.
2708 * conform/data/sys/select.h-data: Likewise.
2709 * conform/data/sys/sem.h-data: Likewise.
2710 * conform/data/sys/shm.h-data: Likewise.
2711 * conform/data/sys/socket.h-data: Likewise.
2712 * conform/data/sys/stat.h-data: Likewise.
2713 * conform/data/sys/statvfs.h-data: Likewise.
2714 * conform/data/sys/time.h-data: Likewise.
2715 * conform/data/sys/timeb.h-data: Likewise.
2716 * conform/data/sys/times.h-data: Likewise.
2717 * conform/data/sys/types.h-data: Likewise.
2718 * conform/data/sys/uio.h-data: Likewise.
2719 * conform/data/sys/un.h-data: Likewise.
2720 * conform/data/sys/utsname.h-data: Likewise.
2721 * conform/data/sys/wait.h-data: Likewise.
2722 * conform/data/syslog.h-data: Likewise.
2723 * conform/data/tar.h-data: Likewise.
2724 * conform/data/termios.h-data: Likewise.
2725 * conform/data/utime.h-data: Likewise.
2726 * conform/data/utmpx.h-data: Likewise.
2727 * conform/data/varargs.h-data: Likewise.
2728 * conform/data/wchar.h-data: Likewise.
2729 * conform/data/wctype.h-data: Likewise.
2730 * conform/data/wordexp.h-data: Likewise.
2731
2732 * include/stropts.h: New file.
2733 * include/uchar.h: New file.
2734 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2735 * include/assert.h: Likewise.
2736 * include/ctype.h: Likewise.
2737 * include/dirent.h: Likewise.
2738 * include/dlfcn.h: Likewise.
2739 * include/fcntl.h: Likewise.
2740 * include/fnmatch.h: Likewise.
2741 * include/glob.h: Likewise.
2742 * include/grp.h: Likewise.
2743 * include/libio.h: Likewise.
2744 * include/locale.h: Likewise.
2745 * include/math.h: Likewise.
2746 * include/net/if.h: Likewise.
2747 * include/netdb.h: Likewise.
2748 * include/netinet/in.h: Likewise.
2749 * include/pthread.h: Likewise.
2750 * include/pwd.h: Likewise.
2751 * include/regex.h: Likewise.
2752 * include/sched.h: Likewise.
2753 * include/search.h: Likewise.
2754 * include/setjmp.h: Likewise.
2755 * include/signal.h: Likewise.
2756 * include/stdio.h: Likewise.
2757 * include/stdlib.h: Likewise.
2758 * include/string.h: Likewise.
2759 * include/sys/cdefs.h: Likewise.
2760 * include/sys/mman.h: Likewise.
2761 * include/sys/msg.h: Likewise.
2762 * include/sys/resource.h: Likewise.
2763 * include/sys/select.h: Likewise.
2764 * include/sys/socket.h: Likewise.
2765 * include/sys/stat.h: Likewise.
2766 * include/sys/statvfs.h: Likewise.
2767 * include/sys/time.h: Likewise.
2768 * include/sys/times.h: Likewise.
2769 * include/sys/uio.h: Likewise.
2770 * include/sys/utsname.h: Likewise.
2771 * include/sys/wait.h: Likewise.
2772 * include/termios.h: Likewise.
2773 * include/time.h: Likewise.
2774 * include/ulimit.h: Likewise.
2775 * include/unistd.h: Likewise.
2776 * include/utime.h: Likewise.
2777 * include/wchar.h: Likewise.
2778 * include/wctype.h: Likewise.
2779 * include/wordexp.h: Likewise.
2780
2781 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2782
2783 * time/time.h: TIME_UTC must be a macro.
2784 Make timespec_get available for ISO C11 only as well.
2785
2786 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2787
2788 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2789 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2790
2791 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2792
2793 * configure.in: Use -o not -a in test for unsupported multi-arch.
2794
2795 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2796
2797 * manual/texinfo.tex: Update to version 2012-01-19.16.
2798
2799 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2800
2801 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2802
2803 2012-02-24 Roland McGrath <roland@hack.frob.com>
2804
2805 [BZ #13738]
2806 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2807 * manual/fdl-1.3.texi: New file.
2808 * manual/fdl-1.1.texi: File removed.
2809
2810 [BZ #13738]
2811 * manual/libc.texinfo (FDL_VERSION): New @set.
2812 Use it for mention of FDL in cover text.
2813 (Documentation License): Use it in @include file name.
2814
2815 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2816 Roland McGrath <roland@hack.frob.com>
2817
2818 [BZ #5461]
2819 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2820 not LONG_LONG_MAX and LONG_LONG_MIN.
2821 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2822 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2823 name.
2824 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2825
2826 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2827
2828 [BZ #2547]
2829 [BZ #11365]
2830 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2831 manipulate bits before adding and subtracting TWO23[sx].
2832 * math/libm-test.inc (nearbyint_test): Add more tests.
2833
2834 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2835
2836 [BZ #2548]
2837 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2838 bits before adding and subtracting TWO23[sx].
2839 * math/libm-test.inc (rint_test): Add more tests.
2840 (rint_test_tonearest): Likewise.
2841 (rint_test_towardzero): Likewise.
2842 (rint_test_downward): Likewise.
2843 (rint_test_upward: Likewise.
2844
2845 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2846
2847 [BZ #10110]
2848 * include/stdc-predef.h: New file. Extracted from features.h.
2849 * include/features.h: Include stdc-predef.h.
2850 * Makefile (headers): Add stdc-predef.h.
2851 * CONFORMANCE (Compiler limitations): Update.
2852
2853 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2854
2855 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2856
2857 2012-02-21 David S. Miller <davem@davemloft.net>
2858
2859 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2860 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2861
2862 2012-02-20 David S. Miller <davem@davemloft.net>
2863
2864 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2865 using a normal save/restore sequence, rather than allocating a
2866 dummy stack frame just to store a frame pointer and restore.
2867 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2868
2869 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2870
2871 * manual/install.texi: Fix stray word in line-wrapped comment.
2872
2873 2012-02-20 David S. Miller <davem@davemloft.net>
2874
2875 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2876 both binutils and gcc support GOTDATA.
2877
2878 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2879 "rd %pc" in the PIC register setup sequences.
2880
2881 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2882 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2883 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2884 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2885 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2886 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2887 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2888 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2889 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2890 (SYSCALL_ERROR_HANDLER): Likewise.
2891 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2892 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2894 (SYSCALL_ERROR_HANDLER): Likewise.
2895
2896 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2897 (HAVE_GCC_GOTDATA): New.
2898 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2899 relocation support in both binutils and gcc.
2900 * sysdeps/sparc/elf/configure: Regenerate.
2901
2902 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2903 * sysdeps/sparc/sparc32/elf/configure: Delete.
2904 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2905 * sysdeps/sparc/sparc64/elf/configure: Delete.
2906 * sysdeps/sparc/elf/configure.in: New file.
2907 * sysdeps/sparc/elf/configure: Generate.
2908
2909 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2910 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2911 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2912 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2913 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2914
2915 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2916
2917 * manual/install.texi: Do not mention specific glibc version
2918 numbers.
2919 * manual/libc.texinfo (VERSION, UPDATED): Update.
2920 (@copying): Use @copyright{} and range of years.
2921
2922 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2923
2924 [BZ #13695]
2925 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2926 [crti.S not in sysdirs] (generated): Do not append.
2927 [crti.S not in sysdirs] (omit-deps): Likewise.
2928 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2929 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2930 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2931 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2932 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2933 Likewise.
2934 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2935 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2936 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2937 * csu/defs.awk: Remove file.
2938 * sysdeps/generic/initfini.c: Likewise.
2939 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2940 variable.
2941 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2942 Likewise.
2943
2944 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2945
2946 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2947 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2948 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2949 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2950 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2951 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2952 <bits/epoll.h>.
2953 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2954 (__EPOLL_PACKED): Define to empty if not defined by
2955 <bits/epoll.h>.
2956 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2957 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2958 bits/epoll.h.
2959
2960 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2961
2962 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2963 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2964 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2965 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2966 <bits/timerfd.h>.
2967 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2968 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2969 bits/timerfd.h.
2970
2971 2012-02-20 Joseph Myers <joseph@codesourcery.com>
2972
2973 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
2974 in C locale.
2975 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2976 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2977 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
2978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2979
2980 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
2981
2982 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
2983 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2984
2985 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
2986
2987 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
2988 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
2989 defined.
2990 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
2991 Likewise.
2992 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
2993 entry for 2.16.
2994
2995 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
2996
2997 * math/w_acos.c: Use non-signaling floating-point comparisons.
2998 * math/w_acosf.c: Likewise.
2999 * math/w_acosh.c: Likewise.
3000 * math/w_acoshf.c: Likewise.
3001 * math/w_acoshl.c: Likewise.
3002 * math/w_acosl.c: Likewise.
3003 * math/w_asin.c: Likewise.
3004 * math/w_asinf.c: Likewise.
3005 * math/w_asinl.c: Likewise.
3006 * math/w_atanh.c: Likewise.
3007 * math/w_atanhf.c: Likewise.
3008 * math/w_atanhl.c: Likewise.
3009 * math/w_exp2.c: Likewise.
3010 * math/w_exp2f.c: Likewise.
3011 * math/w_exp2l.c: Likewise.
3012 * math/w_j0.c: Likewise.
3013 * math/w_j0f.c: Likewise.
3014 * math/w_j0l.c: Likewise.
3015 * math/w_j1.c: Likewise.
3016 * math/w_j1f.c: Likewise.
3017 * math/w_j1l.c: Likewise.
3018 * math/w_jn.c: Likewise.
3019 * math/w_jnf.c: Likewise.
3020 * math/w_log.c: Likewise.
3021 * math/w_log10.c: Likewise.
3022 * math/w_log10f.c: Likewise.
3023 * math/w_log10l.c: Likewise.
3024 * math/w_log2.c: Likewise.
3025 * math/w_log2f.c: Likewise.
3026 * math/w_log2l.c: Likewise.
3027 * math/w_logf.c: Likewise.
3028 * math/w_logl.c: Likewise.
3029 * math/w_sqrt.c: Likewise.
3030 * math/w_sqrtf.c: Likewise.
3031 * math/w_sqrtl.c: Likewise.
3032 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3033 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3034 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3035 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3036 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3037
3038 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3039
3040 [BZ #9739]
3041 * manual/string.texi (strnlen): Use correct parameter name in
3042 equivalent expression.
3043
3044 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3045
3046 [BZ #11174]
3047 * manual/users.texi (seteuid): Consistently use neweuid for
3048 argument name.
3049
3050 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3051
3052 [BZ #13704]
3053 * manual/nss.texi (Services in the NSS configuration): Correct
3054 list of services in example configuration file.
3055
3056 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3057
3058 [BZ #11322]
3059 * manual/arith.texi: Remove statements about negative zero
3060 behaving identically to zero.
3061
3062 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3063
3064 [BZ #5993]
3065 * manual/install.texi: Do not document upgrading from libc5.
3066
3067 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3068
3069 [BZ #4596]
3070 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3071
3072 2012-02-18 David S. Miller <davem@davemloft.net>
3073
3074 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3075 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3076 %o7 across the call.
3077 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3078 instead.
3079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3080 SETUP_PIC_REG_LEAF.
3081 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3082 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3083 * sysdeps/sparc/crtn.S: Likewise.
3084
3085 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3086
3087 * aout/Makefile: Remove.
3088
3089 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3090
3091 [BZ #13058]
3092 * manual/examples/argp-ex1.c (main): Format definition in GNU
3093 style.
3094 * manual/examples/argp-ex2.c (main): Likewise.
3095 * manual/examples/argp-ex3.c (main): Likewise.
3096 * manual/examples/argp-ex4.c (main): Likewise.
3097 * manual/examples/longopt.c (main): Use new-style prototype
3098 definition.
3099 * manual/examples/strncat.c (main): Specify return type and use
3100 (void) for arguments.
3101 * manual/examples/subopt.c (main): Use char **argv argument.
3102
3103 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3104
3105 [BZ #5077]
3106 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3107 rounding modes.
3108
3109 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3110
3111 [BZ #6907]
3112 * manual/string.texi (strchr): Change when strchrnul is
3113 recommended.
3114
3115 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3116
3117 [BZ #174]
3118 * manual/locale.texi (setlocale): Document LOCPATH.
3119
3120 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3121
3122 [BZ #10210]
3123 * manual/process.texi (execle): Move @dots{} before last argument.
3124
3125 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3126
3127 [BZ #12047]
3128 * manual/charset.texi (Generic Charset Conversion): Fix typo
3129 (LC_TYPE -> LC_CTYPE).
3130
3131 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3132
3133 [BZ #5805]
3134 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3135 (scalbnf): Likewise.
3136 (scalbnl): Likewise.
3137 (scalbln): Likewise.
3138 (scalblnf): Likewise.
3139 (scalblnl): Likewise.
3140 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3141 (vwarnx): Likewise.
3142 (verr): Likewise.
3143 (verrx): Likewise.
3144 * manual/filesys.texi (telldir): Use braces around return type.
3145 * manual/llio.texi (mmap): Add space after comma.
3146 (mmap64): Likewise.
3147 * manual/math.texi (jn): Use @var{} on parameter names.
3148 (jnf): Likewise.
3149 (jnl): Likewise.
3150 (yn): Likewise.
3151 (ynf): Likewise.
3152 (ynl): Likewise.
3153 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3154 line.
3155 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3156 "...".
3157 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3158 (sched_get_priority_max): Likewise.
3159 * manual/signal.texi (sigvec): Add space after comma.
3160 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3161 names.
3162 (if_indextoname): Likewise.
3163 (if_freenameindex): Likewise.
3164 (sendto): Use ',' instead of '.' in prototype.
3165 * manual/startup.texi (syscall): Use @dots{} instead of literal
3166 "...".
3167 * manual/stdio.texi (__fpending): Separate initial words of
3168 paragraph from @deftypefun line.
3169 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3170 "...".
3171 (vsyslog): Use @var{} on parameter names.
3172 * manual/terminal.texi (stty): Use @var{} on parameter names.
3173 * manual/users.texi (getutmp): Use @var{} on parameter names.
3174 (getutmpx): Likewise.
3175
3176 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3177
3178 [BZ #6884]
3179 * manual/stdio.texi (fopen): Fix typos in description of
3180 ",ccs=STRING".
3181
3182 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3183
3184 [BZ #4026]
3185 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3186 get clock_id definition.
3187
3188 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3189
3190 [BZ #4822]
3191 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3192 (madvise): Cast every argument to void on its own.
3193
3194 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3195
3196 [BZ #9902]
3197 * manual/startup.texi (Exit Status): Fix typo.
3198
3199 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3200
3201 [BZ #10140]
3202 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3203 * manual/examples/argp-ex2.c: Likewise.
3204 * manual/examples/argp-ex3.c: Likewise.
3205
3206 2012-02-16 Richard Henderson <rth@redhat.com>
3207
3208 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3209 * sysdeps/s390/s390-32/initfini.c: Remove.
3210 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3211 * sysdeps/s390/s390-64/initfini.c: Remove.
3212
3213 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3214
3215 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3216 compiler output for sysdeps/generic/initfini.c.
3217 * sysdeps/sh/elf/initfini.c: Remove file.
3218
3219 2012-02-16 David S. Miller <davem@davemloft.net>
3220
3221 [BZ #11494]
3222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3223
3224 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3225 * sysdeps/sparc/crti.S: New file.
3226 * sysdeps/sparc/crtn.S: New file.
3227 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3228 * sysdeps/sparc/sparc64/Makefile: Likewise.
3229
3230 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3231
3232 [BZ #3335]
3233 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3234
3235 2012-02-15 Roland McGrath <roland@hack.frob.com>
3236
3237 [BZ #4822]
3238 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3239
3240 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3241 (write, read, close): Likewise.
3242 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3243
3244 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3245
3246 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3247 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3248 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3249 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3250 <bits/signalfd.h>.
3251 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3253 bits/signalfd.h.
3254
3255 2012-02-14 Marek Polacek <polacek@redhat.com>
3256
3257 * sysdeps/x86_64/crti.S: New file.
3258 * sysdeps/x86_64/crtn.S: New file.
3259 * sysdeps/x86_64/elf/initfini.c: Remove file.
3260
3261 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3262
3263 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3264 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3265 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3266 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3267 <bits/inotify.h>.
3268 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3270 bits/inotify.h.
3271
3272 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3273
3274 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3275 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3276 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3277 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3278 <bits/eventfd.h>.
3279 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3281 bits/eventfd.h.
3282
3283 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3284
3285 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3286 __feraiseexcept instead of feraiseexcept.
3287
3288 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3289 nanosleep invocations.
3290 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3291 strings, and add error checking for a nanosleep invocations.
3292
3293 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3294
3295 Replace FSF snail mail address with URLs, as per GNU coding standards.
3296 Most of the snail mail addresses were wrong anyway, and omitting
3297 them makes the source code easier to maintain. Almost all of the
3298 changes are to license notices and to locale LC_IDENTIFICATION
3299 addresses, except for this one:
3300 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3301 not its snail mail address.
3302
3303 2012-02-09 Richard Henderson <rth@twiddle.net>
3304
3305 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3306 of kernel-features.h.
3307
3308 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3309
3310 2012-02-08 Marek Polacek <polacek@redhat.com>
3311
3312 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3313 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3314 * sysdeps/gnu/_G_config.h: Likewise.
3315 * sysdeps/generic/_G_config.h: Likewise.
3316
3317 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3318
3319 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3320 tests.
3321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3322
3323 * sysdeps/powerpc/powerpc32/crti.S: New file.
3324 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3325 * sysdeps/powerpc/powerpc64/crti.S: New file.
3326 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3327
3328 * Makeconfig (have-initfini): Don't set.
3329 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3330 * configure.in (nopic_initfini): Don't substitute.
3331 * config.h.in (HAVE_INITFINI): Don't #undef.
3332 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3333 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3334
3335 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3336
3337 Support crti.S and crtn.S provided directly by architectures.
3338 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3339 [crti.S in sysdirs] (omit-deps): Likewise.
3340 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3341 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3342 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3343 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3344 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3345 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3346 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3347 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3348 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3349 compiler output for sysdeps/generic/initfini.c.
3350 * sysdeps/i386/elf/Makefile: Remove file.
3351 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3352
3353 2012-02-07 Marek Polacek <polacek@redhat.com>
3354
3355 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3356 * sysdeps/gnu/_G_config.h: Likewise.
3357 * sysdeps/mach/hurd/_G_config.h: Likewise.
3358
3359 2012-02-07 Marek Polacek <polacek@redhat.com>
3360
3361 * math/Makefile (tests): Add tst-CMPLX2.
3362 * math/tst-CMPLX2.c: New file.
3363
3364 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3365
3366 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3367
3368 * math/libm-test.inc (jn_test): Add missing L suffix.
3369
3370 2012-02-06 Marek Polacek <polacek@redhat.com>
3371
3372 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3373 * sysdeps/i386/fpu/e_powf.S: Likewise.
3374 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3375 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3376 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3377 * sysdeps/i386/fpu/e_pow.S: Likewise.
3378 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3379 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3380 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3381 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3382 * sysdeps/i386/fpu/e_log2.S: Likewise.
3383 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3384 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3385 * sysdeps/i386/fpu/e_powl.S: Likewise.
3386 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3387 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3388 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3389 * sysdeps/i386/fpu/e_logl.S: Likewise.
3390 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3391 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3392 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3393 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3394 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3395 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3396 * sysdeps/i386/fpu/e_log.S: Likewise.
3397 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3398 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3399 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3400 * sysdeps/i386/fpu/e_logf.S: Likewise.
3401 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3402 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3403 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3404 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3405 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3406 * sysdeps/i386/fpu/e_log10.S: Likewise.
3407 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3408 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3409 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3410 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3411 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3412 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3413 * sysdeps/i386/asm-syntax.h: Likewise.
3414 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3415 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3416 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3417 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3418 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3419 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3420 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3421 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3422 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3423 * sysdeps/powerpc/sysdep.h: Likewise.
3424 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3425 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3426
3427 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3428
3429 [BZ #411]
3430 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3431
3432 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3433
3434 * sysdeps/i386/sysdep.h: Include <features.h>.
3435 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3436 version.
3437
3438 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3439
3440 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3441 Define.
3442 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3443 LOAD_PIC_REG_STR.
3444
3445 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3446
3447 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3448 (SETUP_PIC_REG): Use GET_PC_THUNK.
3449 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3450 macro.
3451
3452 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3453
3454 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3455 for non-PIC compilation.
3456 (SETUP_PIC_REG): Add .p2align directive.
3457 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3458 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3459 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3460 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3461 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3462 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3463 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3464 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3465 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3466 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3467 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3468 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3469 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3470 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3471 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3472 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3473 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3474 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3475 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3476 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3477 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3478 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3479 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3480 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3481 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3483 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3484 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3485 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3486 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3487 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3488 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3489 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3490 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3491 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3492 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3493 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3494 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3495 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3496 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3497 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3498
3499 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3500
3501 * math/tst-CMPLX.c: Include <stdio.h>.
3502
3503 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3504
3505 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3506 float.
3507 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3508 * sysdeps/sparc/bits/mathdef.h: Likewise.
3509
3510 2012-01-31 Marek Polacek <polacek@redhat.com>
3511
3512 * libio/libio.h: Don't define _PARAMS.
3513 * locale/programs/config.h: Don't define PARAMS.
3514 * stdlib/strtol_l.c: Likewise.
3515 (__strtol_l): Remove PARAMS from the prototype.
3516
3517 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3518
3519 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3520 names. Just use the correct names. Remove unnecessary wrapper
3521 functions.
3522 * malloc/arena.c: Likewise.
3523 * malloc/hooks.c: Likewise.
3524
3525 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3526 ARENA_TEST says not to. Simplify test for creation of a new arena.
3527 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3528
3529 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3530
3531 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3532 into tail calls.
3533 (update_get_addr): New function.
3534 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3535 GET_ADDR_MODULE parameter.
3536
3537 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3538
3539 * crypt/cert.c: Remove __STDC__ conditionals.
3540 * crypt/crypt-entry.c: Likewise.
3541 * crypt/crypt_util.c: Likewise.
3542 * libio/filedoalloc.c: Likewise.
3543 * libio/fileops.c: Likewise.
3544 * libio/genops.c: Likewise.
3545 * libio/iofclose.c: Likewise.
3546 * libio/iofdopen.c: Likewise.
3547 * libio/iofopen.c: Likewise.
3548 * libio/iofopen64.c: Likewise.
3549 * libio/iogetdelim.c: Likewise.
3550 * libio/iopopen.c: Likewise.
3551 * libio/obprintf.c: Likewise.
3552 * libio/oldfileops.c: Likewise.
3553 * libio/oldiofclose.c: Likewise.
3554 * libio/oldiofdopen.c: Likewise.
3555 * libio/oldiofopen.c: Likewise.
3556 * libio/oldiopopen.c: Likewise.
3557 * libio/wfiledoalloc.c: Likewise.
3558 * libio/wgenops.c: Likewise.
3559 * locale/programs/xmalloc.c: Likewise.
3560 * misc/syslog.c: Likewise.
3561 * stdio-common/xbug.c: Likewise.
3562 * string/memchr.c: Likewise.
3563 * string/memcmp.c: Likewise.
3564 * string/memrchr.c: Likewise.
3565 * string/rawmemchr.c: Likewise.
3566 * sysdeps/posix/getcwd.c: Likewise.
3567 * time/strftime_l.c: Likewise.
3568
3569 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3570
3571 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3572 * config.make.in (config-cflags-sse2avx): Define.
3573 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3574 Fix typo.
3575
3576 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3577
3578 * scripts/config.guess: Update from upstream config git repository.
3579 * scripts/config.sub: Likewise.
3580
3581 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3582
3583 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3584 (EM_NUM): Update.
3585 (R_TILEPRO_*, R_TILEGX_*): New macros.
3586
3587 * scripts/firstversions.awk: Fix bug in version range handling.
3588
3589 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3590
3591 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3592
3593 * include/sys/epoll.h: New file.
3594 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3595 libc_hidden_def.
3596
3597 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3598
3599 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3600 Avoid unnecessary __WORDSIZE == 64 test.
3601 (fmaxf): Use VEX format if possible.
3602 (fmax): Likewise.
3603 (fminf): Likewise.
3604 (fmin): Likewise.
3605
3606 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3607 * math/math_private.h: Remove libc_fegetround* and
3608 libc_fesetround*.
3609 * sysdeps/i386/configure.in: Check for -msse2avx.
3610 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3611 also if SSE2AVX is defined.
3612 Remove libc_fegetround* and libc_fesetround*.
3613 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3614 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3615 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3616 of HAS_YMM_USABLE.
3617 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3618 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3619 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3620 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3621 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3622
3623 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3624
3625 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3626
3627 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3628 size is not set.
3629 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3630
3631 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3632
3633 [BZ #13618]
3634 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3635 relocation.
3636 * Makeconfig (libm): Define.
3637 * elf/Makefile: Add rules to build and run tst-relsort1.
3638 * elf/tst-relsort1.c: New file.
3639 * elf/tst-relsort1mod1.c: New file.
3640 * elf/tst-relsort1mod2.c: New file.
3641
3642 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3643
3644 * math/s_ldexp.c: Remove __STDC__ conditionals.
3645 * math/s_ldexpf.c: Likewise.
3646 * math/s_ldexpl.c: Likewise.
3647 * math/s_nextafter.c: Likewise.
3648 * math/s_nexttowardf.c: Likewise.
3649 * math/s_significand.c: Likewise.
3650 * math/s_significandf.c: Likewise.
3651 * math/s_significandl.c: Likewise.
3652 * math/w_jnl.c: Likewise.
3653 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3654 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3655 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3656 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3657 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3658 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3659 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3660 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3661 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3662 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3663 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3664 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3665 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3666 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3667 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3668 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3669 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3670 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3671 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3672 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3673 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3674 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3675 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3676 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3677 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3678 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3679 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3680 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3681 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3682 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3683 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3684 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3685 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3686 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3687 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3688 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3689 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3690 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3691 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3692 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3693 * sysdeps/ieee754/k_standard.c: Likewise.
3694 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3695 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3698 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3699 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3700 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3701 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3702 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3703 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3704 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3705 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3706 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3707 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3708 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3710 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3711 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3713 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3714 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3715 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3716 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3717 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3718 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3721 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3722 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3723 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3724 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3731 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3734 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3739 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3741 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3742 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3743 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3744 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3745 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3747 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3752 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3754 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3755 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3756 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3757 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3758 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3759 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3760 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3762 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3763 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3765 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3766 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3767 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3768 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3769 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3770 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3773 * sysdeps/ieee754/s_matherr.c: Likewise.
3774 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3775 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3776 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3777 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3778
3779 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3780
3781 * crypt/md5.h: Remove __STDC__ conditionals.
3782 * libio/libioP.h: Likewise.
3783 * locale/programs/config.h: Likewise.
3784 * sysdeps/generic/sysdep.h: Likewise.
3785 * sysdeps/i386/asm-syntax.h: Likewise.
3786 * sysdeps/s390/asm-syntax.h: Likewise.
3787 * sysdeps/unix/sysdep.h: Likewise.
3788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3790
3791 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3792
3793 * libio/libio.h: Remove __STDC__ conditionals.
3794 * malloc/obstack.h: Likewise.
3795 * math/complex.h: Likewise.
3796 * math/math.h: Likewise.
3797 * sysdeps/generic/_G_config.h: Likewise.
3798 * sysdeps/gnu/_G_config.h: Likewise.
3799 * sysdeps/mach/hurd/_G_config.h: Likewise.
3800 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3801 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3802 * sysdeps/sparc/bits/mathdef.h: Likewise.
3803
3804 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3805
3806 [BZ #13583]
3807 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3808 Clean up HAS_* macros.
3809 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3810 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3811 possible.
3812 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3813 HAS_AVX.
3814 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3815 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3816 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3817 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3818 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3819
3820 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3821
3822 * elf/tst-unique3.cc (gets): Remove declaration.
3823 * elf/tst-unique3lib.cc (gets): Likewise.
3824 * elf/tst-unique3lib2.cc (gets): Likewise.
3825 * elf/tst-unique4.cc (gets): Likewise.
3826
3827 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3828
3829 * include/stdio.h: Add C++ protection. Add gets declarations and
3830 definitions.
3831 * debug/tst-chk1.c: Don't declare gets here.
3832 * stdio-common/tst-gets.c: Likewise.
3833
3834 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3835
3836 * posix/glob: Remove directory.
3837
3838 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3839
3840 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3841
3842 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3843
3844 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3845 of the non-standard EPFNOSUPPORT.
3846
3847 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3848
3849 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3850 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3851 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3852
3853 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3854
3855 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3856
3857 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3858
3859 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3860 transient errors.
3861 * nscd/grpcache.c (cache_addgr): Likewise.
3862 * nscd/hstcache.c (cache_addhst): Likewise.
3863 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3864 * nscd/pwdcache.c (cache_addpw): Likewise.
3865 * nscd/servicescache.c (cache_addserv): Likewise.
3866
3867 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3868
3869 * malloc/malloc.c: Various cleanups.
3870 * malloc/hooks.c: Likewise.
3871
3872 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3873 * stdlib/bug-fmtmsg1.c: New file.
3874
3875 * stdlib/fmtmsg.c (init): Add missing unlock.
3876 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3877
3878 2012-01-12 Marek Polacek <polacek@redhat.com>
3879
3880 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3881 and _GNU_SOURCE.
3882
3883 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3884
3885 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3886 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3887 macro to ensure uniqueness of label name.
3888 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3889 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3890
3891 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3892
3893 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3894
3895 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3896 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3897 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3898 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3899
3900 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3901
3902 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3903
3904 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3905 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3906 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3907
3908 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3909
3910 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
3911 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3912 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
3914
3915 * math/bits/math-finite.h: Add ldexp support.
3916
3917 2012-01-10 Marek Polacek <polacek@redhat.com>
3918
3919 * locale/programs/localedef.h (show_archive_content): Add noreturn
3920 attribute.
3921
3922 2012-01-09 Ulrich Drepper <drepper@gmail.com>
3923
3924 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3925
3926 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3927
3928 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3929
3930 * io/Makefile (headers): Add bits/poll2.h.
3931
3932 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3933
3934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3935 typo #include statement.
3936
3937 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3938
3939 * include/sys/cdefs.h: Define __attribute_alloc_size.
3940 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3941 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3942 * elf/pldd.c: Likewise.
3943 * iconv/iconv_charmap.c: Likewise.
3944 * iconv/iconvconfig.c: Likewise.
3945 * iconv/strtab.c: Likewise.
3946 * locale/programs/locale.c: Likewise.
3947 * locale/programs/localedef.h: Likewise.
3948 * locale/programs/simple-hash.c: Likewise.
3949 * nscd/nscd.h: Likewise.
3950 * nss/makedb.c: Likewise.
3951 * sysdeps/generic/ldconfig.h: Likewise.
3952 * locale/programs/localedef.c: Remove xmalloc prototype.
3953 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3954
3955 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3956
3957 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3958 appropriate.
3959
3960 2012-01-08 Ulrich Drepper <drepper@gmail.com>
3961
3962 * math/Makefile (tests): Add tst-CMPLX.
3963 * math/tst-CMPLX.c: New file.
3964
3965 * math/complex.h (CMPLXL): Fix typo.
3966
3967 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3968 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
3969 GLIBC_2.16.
3970 * debug/tst-chk1.c: Add poll and ppoll tests.
3971 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
3972 * include/sys/poll.h: Add hidden proto for ppoll.
3973 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
3974 * sysdeps/mach/hurd/ppoll.c: Likewise.
3975 * io/ppoll.c: Likewise.
3976 * debug/poll_chk.c: New file.
3977 * debug/ppoll_chk.c: New file.
3978 * include/bits/poll2.h: New file.
3979 * io/bits/poll2.h: New file.
3980
3981 [BZ #1350]
3982 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
3983
3984 * configure.in: static is always set to yes. Remove.
3985 * config.make.in: Don't set build-static.
3986 * Makeconfig: Remove use of build-static.
3987 * dlfcn/Makefile: Likewise.
3988 * elf/Makefile: Likewise.
3989 * math/Makefile: Likewise.
3990 * misc/Makefile: Likewise.
3991 * nptl/Makefile: Likewise.
3992 * sysdeps/mach/hurd/Makefile: Likewise.
3993
3994 * configure.in: PWD_P is not used anymore.
3995 * config.make.in: Remove PWD_P entry.
3996
3997 * configure.in: Remove last remnants of RANLIB.
3998 No need to check for signed size_t anymore.
3999 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4000 and IA-64.
4001 Remove __builtin_expect test because we require at least gcc 3.4.
4002 * aclocal.m4: Likewise.
4003
4004 * wcsmbs/mbrtoc16.c: Implement using towc function.
4005 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4006 * wcsmbs/wcsmbsload.c: Likewise.
4007 * iconv/gconv_simple.c: Likewise.
4008 * iconv/gconv_int.h: Likewise.
4009 * iconv/gconv_builtin.h: Likewise.
4010 * iconv/iconv_prog.c: Remove CHAR16 handling.
4011
4012 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4013
4014 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4015
4016 * configure.in: Remove --with-elf and --enable-bounded options.
4017 Dont set base_machine for ia64. More non-ELF conditions removed.
4018 Remove testing and setting of leading underscore information.
4019 * config.make.in (build-bounded): Set to no.
4020 * config.h.in: Remove NO_UNDERSCORES entry.
4021 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4022 them.
4023 * csu/start.c: Remove !NO_UNDERSCORE code.
4024 * locale/localeinfo.h: Likewise.
4025 * sysdeps/generic/machine-gmon.h: Likewise.
4026 * sysdeps/generic/sysdep.h: Likewise.
4027 * sysdeps/i386/sysdep.h: Likewise.
4028 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4029 * sysdeps/mach/sysdep.h: Likewise.
4030 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4031 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4032 * sysdeps/sh/sysdep.h: Likewise.
4033 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4034 * sysdeps/unix/i386/sysdep.S: Likewise.
4035 * sysdeps/unix/sparc/start.c: Likewise.
4036 * sysdeps/unix/sparc/sysdep.S: Likewise.
4037 * sysdeps/unix/sparc/sysdep.h: Likewise.
4038 * sysdeps/unix/start.c: Likewise.
4039 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4040 * sysdeps/x86_64/sysdep.h: Likewise.
4041
4042 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4043
4044 [BZ #13553]
4045 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4046 for non-gcc.
4047 * argp/argp-fmtstream.h: Use const instead __const.
4048 * argp/argp.h: Likewise.
4049 * assert/assert.h: Likewise.
4050 * bits/fenv.h: Likewise.
4051 * bits/sched.h: Likewise.
4052 * bits/sigset.h: Likewise.
4053 * bits/sigthread.h: Likewise.
4054 * catgets/nl_types.h: Likewise.
4055 * conform/data/pthread.h-data: Likewise.
4056 * crypt/crypt-private.h: Likewise.
4057 * crypt/crypt.h: Likewise.
4058 * crypt/crypt_util.c: Likewise.
4059 * ctype/ctype.h: Likewise.
4060 * debug/execinfo.h: Likewise.
4061 * debug/mbsnrtowcs_chk.c: Likewise.
4062 * debug/mbsrtowcs_chk.c: Likewise.
4063 * debug/wcsnrtombs_chk.c: Likewise.
4064 * debug/wcsrtombs_chk.c: Likewise.
4065 * debug/wcstombs_chk.c: Likewise.
4066 * dirent/dirent.h: Likewise.
4067 * dlfcn/dlfcn.h: Likewise.
4068 * elf/neededtest4.c: Likewise.
4069 * grp/grp.h: Likewise.
4070 * gshadow/gshadow.h: Likewise.
4071 * iconv/gconv.h: Likewise.
4072 * iconv/gconv_int.h: Likewise.
4073 * iconv/gconv_simple.c: Likewise.
4074 * iconv/iconv.h: Likewise.
4075 * iconv/loop.c: Likewise.
4076 * iconv/skeleton.c: Likewise.
4077 * include/aio.h: Likewise.
4078 * include/aliases.h: Likewise.
4079 * include/argz.h: Likewise.
4080 * include/arpa/inet.h: Likewise.
4081 * include/assert.h: Likewise.
4082 * include/dirent.h: Likewise.
4083 * include/dlfcn.h: Likewise.
4084 * include/execinfo.h: Likewise.
4085 * include/fcntl.h: Likewise.
4086 * include/fenv.h: Likewise.
4087 * include/glob.h: Likewise.
4088 * include/grp.h: Likewise.
4089 * include/libintl.h: Likewise.
4090 * include/mntent.h: Likewise.
4091 * include/netdb.h: Likewise.
4092 * include/pwd.h: Likewise.
4093 * include/rpc/netdb.h: Likewise.
4094 * include/sched.h: Likewise.
4095 * include/search.h: Likewise.
4096 * include/shadow.h: Likewise.
4097 * include/signal.h: Likewise.
4098 * include/stdio.h: Likewise.
4099 * include/stdlib.h: Likewise.
4100 * include/string.h: Likewise.
4101 * include/sys/socket.h: Likewise.
4102 * include/sys/stat.h: Likewise.
4103 * include/sys/statfs.h: Likewise.
4104 * include/sys/statvfs.h: Likewise.
4105 * include/sys/syslog.h: Likewise.
4106 * include/sys/time.h: Likewise.
4107 * include/sys/uio.h: Likewise.
4108 * include/time.h: Likewise.
4109 * include/unistd.h: Likewise.
4110 * include/utmp.h: Likewise.
4111 * include/wchar.h: Likewise.
4112 * include/wctype.h: Likewise.
4113 * inet/aliases.h: Likewise.
4114 * inet/arpa/inet.h: Likewise.
4115 * inet/netinet/ether.h: Likewise.
4116 * inet/netinet/in.h: Likewise.
4117 * intl/libintl.h: Likewise.
4118 * io/bits/fcntl2.h: Likewise.
4119 * io/fcntl.h: Likewise.
4120 * io/ftw.h: Likewise.
4121 * io/sys/poll.h: Likewise.
4122 * io/sys/stat.h: Likewise.
4123 * io/sys/statfs.h: Likewise.
4124 * io/sys/statvfs.h: Likewise.
4125 * io/utime.h: Likewise.
4126 * libio/bits/stdio.h: Likewise.
4127 * libio/bits/stdio2.h: Likewise.
4128 * libio/libio.h: Likewise.
4129 * libio/libioP.h: Likewise.
4130 * libio/stdio.h: Likewise.
4131 * locale/lc-ctype.c: Likewise.
4132 * locale/locale.h: Likewise.
4133 * login/utmp.h: Likewise.
4134 * malloc/arena.c: Likewise.
4135 * malloc/malloc.c: Likewise.
4136 * malloc/malloc.h: Likewise.
4137 * malloc/mcheck.c: Likewise.
4138 * malloc/mtrace.c: Likewise.
4139 * math/bits/mathcalls.h: Likewise.
4140 * math/fenv.h: Likewise.
4141 * math/math_private.h: Likewise.
4142 * misc/bits/error.h: Likewise.
4143 * misc/bits/syslog.h: Likewise.
4144 * misc/err.h: Likewise.
4145 * misc/error.h: Likewise.
4146 * misc/fstab.h: Likewise.
4147 * misc/mntent.h: Likewise.
4148 * misc/regexp.h: Likewise.
4149 * misc/search.h: Likewise.
4150 * misc/sgtty.h: Likewise.
4151 * misc/sys/mman.h: Likewise.
4152 * misc/sys/syslog.h: Likewise.
4153 * misc/sys/uio.h: Likewise.
4154 * misc/sys/xattr.h: Likewise.
4155 * misc/ttyent.h: Likewise.
4156 * nis/rpcsvc/ypclnt.h: Likewise.
4157 * nss/nss.h: Likewise.
4158 * posix/bits/unistd.h: Likewise.
4159 * posix/fnmatch.h: Likewise.
4160 * posix/glob.h: Likewise.
4161 * posix/sched.h: Likewise.
4162 * posix/spawn.h: Likewise.
4163 * posix/sys/wait.h: Likewise.
4164 * posix/unistd.h: Likewise.
4165 * posix/wordexp.h: Likewise.
4166 * pwd/pwd.h: Likewise.
4167 * resolv/netdb.h: Likewise.
4168 * resource/sys/resource.h: Likewise.
4169 * rt/aio.h: Likewise.
4170 * rt/bits/mqueue2.h: Likewise.
4171 * rt/mqueue.h: Likewise.
4172 * shadow/shadow.h: Likewise.
4173 * signal/signal.h: Likewise.
4174 * socket/send.c: Likewise.
4175 * socket/sendto.c: Likewise.
4176 * socket/sys/socket.h: Likewise.
4177 * stdio-common/printf.h: Likewise.
4178 * stdlib/bits/stdlib.h: Likewise.
4179 * stdlib/fmtmsg.h: Likewise.
4180 * stdlib/monetary.h: Likewise.
4181 * stdlib/stdlib.h: Likewise.
4182 * stdlib/ucontext.h: Likewise.
4183 * streams/stropts.h: Likewise.
4184 * string/argz.h: Likewise.
4185 * string/bits/string2.h: Likewise.
4186 * string/string.h: Likewise.
4187 * string/strings.h: Likewise.
4188 * sunrpc/rpc/auth.h: Likewise.
4189 * sunrpc/rpc/auth_des.h: Likewise.
4190 * sunrpc/rpc/clnt.h: Likewise.
4191 * sunrpc/rpc/netdb.h: Likewise.
4192 * sunrpc/rpc/pmap_clnt.h: Likewise.
4193 * sunrpc/rpc/xdr.h: Likewise.
4194 * sysdeps/generic/inttypes.h: Likewise.
4195 * sysdeps/generic/net/if.h: Likewise.
4196 * sysdeps/generic/sys/swap.h: Likewise.
4197 * sysdeps/gnu/net/if.h: Likewise.
4198 * sysdeps/gnu/utmpx.h: Likewise.
4199 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4200 * sysdeps/i386/i486/bits/string.h: Likewise.
4201 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4202 * sysdeps/s390/bits/string.h: Likewise.
4203 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4204 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4205 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4206 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4207 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4208 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4209 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4210 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4211 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4212 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4213 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4214 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4215 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4216 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4217 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4218 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4219 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4220 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4221 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4222 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4223 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4224 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4225 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4226 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4227 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4228 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4229 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4230 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4231 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4232 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4233 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4234 * sysvipc/sys/ipc.h: Likewise.
4235 * sysvipc/sys/msg.h: Likewise.
4236 * sysvipc/sys/sem.h: Likewise.
4237 * sysvipc/sys/shm.h: Likewise.
4238 * termios/termios.h: Likewise.
4239 * time/sys/time.h: Likewise.
4240 * time/time.h: Likewise.
4241 * wcsmbs/bits/wchar2.h: Likewise.
4242 * wcsmbs/uchar.h: Likewise.
4243 * wcsmbs/wchar.h: Likewise.
4244 * wctype/wctype.h: Likewise.
4245
4246 [BZ #13551]
4247 * Makeconfig: Remove all but ELF support including AIX support.
4248 * Makerules: Likewise.
4249 * config.h.in: Likewise.
4250 * config.make.in: Likewise.
4251 * configure: Likewise.
4252 * configure.in: Likewise.
4253 * csu/Makefile: Likewise.
4254 * csu/version.c: Likewise.
4255 * debug/Makefile: Likewise.
4256 * dlfcn/Makefile: Likewise.
4257 * elf/Makefile: Likewise.
4258 * extra-lib.mk: Likewise.
4259 * iconv/Makefile: Likewise.
4260 * include/libc-symbols.h: Likewise.
4261 * include/shlib-compat.h: Likewise.
4262 * resolv/Makefile: Likewise.
4263 * resolv/res_libc.c: Likewise.
4264 * rt/Makefile: Likewise.
4265 * sysdeps/i386/asm-syntax.h: Likewise.
4266 * sysdeps/i386/sysdep.h: Likewise.
4267 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4268 * sysdeps/mach/sysdep.h: Likewise.
4269 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4270 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4271 * sysdeps/s390/asm-syntax.h: Likewise.
4272 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4273 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4274 * sysdeps/sh/sysdep.h: Likewise.
4275 * sysdeps/unix/sparc/sysdep.h: Likewise.
4276 * sysdeps/wordsize-32/divdi3.c: Likewise.
4277 * sysdeps/x86_64/sysdep.h: Likewise.
4278
4279 * argp/Versions: Remove _argp_unlock_xxx.
4280
4281 [BZ #13559]
4282 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4283 * abilist/libBrokenLocale.abilist: Likewise.
4284 * abilist/libanl.abilist: Likewise.
4285 * abilist/libc.abilist: Likewise.
4286 * abilist/libcrypt.abilist: Likewise.
4287 * abilist/libdl.abilist: Likewise.
4288 * abilist/libm.abilist: Likewise.
4289 * abilist/libnsl.abilist: Likewise.
4290 * abilist/libpthread.abilist: Likewise.
4291 * abilist/libresolv.abilist: Likewise.
4292 * abilist/librt.abilist: Likewise.
4293 * abilist/libthread_db.abilist: Likewise.
4294 * abilist/libutil.abilist: Likewise.
4295 * abilist/libnss_db.abilist: New file.
4296
4297 * scripts/abilist.awk: Add support for indirect functions.
4298
4299 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4300
4301 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4302
4303 * shlib-versions: Remove entries for ports architectures.
4304
4305 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4306 files in ports.
4307 * elf/stackguard-macros.h: Remove support for IA-64.
4308 * elf/tst-auditmod1.c: Likewise.
4309 * sysdeps/generic/ldsodefs.h: Likewise.
4310
4311 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4312 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4313 configure files.
4314
4315 [BZ #13552]
4316 * configure.in: Remove --enable-omitfp support.
4317 * FAQ.in: Adjust.
4318 * config.make.in: Likewise.
4319 * Makeconfig: Likewise.
4320 * manual/install.texi: Likewise.
4321
4322 In case anyone cares, the IA-64 architecture could move to ports.
4323 * sysdeps/ia64/*: Removed.
4324 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4325 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4326
4327 [BZ #13555]
4328 * configure.in: Remove entries for unsupported architectures.
4329
4330 [BZ #13533]
4331 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4332 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4333 routines.
4334 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4335 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4336 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4337 fall back to using wcrtomb.
4338 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4339 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4340 renaming.
4341 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4342 * wcsmbs/tst-c16c32-1.c: New file.
4343
4344 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4345 local variable.
4346
4347 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4348
4349 * elf/tst-unique3.cc: Add explicit declaration of gets.
4350 * elf/tst-unique3lib.cc: Likewise.
4351 * elf/tst-unique3lib2.cc: Likewise.
4352 * elf/tst-unique4.cc: Likewise.
4353
4354 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4355
4356 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4357
4358 [BZ #13566]
4359 * assert/assert.h (static_assert): Don't define for C++.
4360 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4361 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4362
4363 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4364
4365 * iconv/loop.c (single loop): Fix assertion in storing of
4366 remaining bytes.
4367
4368 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4369
4370 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4371
4372 * posix/getconf.c: Update copyright year.
4373 * nss/getent.c: Likewise.
4374 * nss/makedb.c: Likewise.
4375 * iconv/iconvconfig.c: Likewise.
4376 * iconv/iconv_prog.c: Likewise.
4377 * elf/ldconfig.c: Likewise.
4378 * elf/pldd.c: Likewise.
4379 * elf/sotruss.ksh: Likewise.
4380 * catgets/gencat.c: Likewise.
4381 * csu/version.c: Likewise.
4382 * elf/ldd.bash.in: Likewise.
4383 * elf/sprof.c (print_version): Likewise.
4384 * locale/programs/locale.c: Likewise.
4385 * locale/programs/localedef.c: Likewise.
4386 * login/programs/pt_chown.c: Likewise.
4387 * nscd/nscd.c (print_version): Likewise.
4388 * debug/xtrace.sh: Likewise.
4389 * malloc/memusage.sh: Likewise.
4390 * malloc/mtrace.pl: Likewise.
4391 * debug/catchsegv.sh: Likewise.
4392
4393 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4394
4395 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4396 pure attribute.
4397
4398 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4399
4400 [BZ #13533]
4401 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4402 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4403 transformations.
4404 * iconv/gconv_int.h: Likewise.
4405 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4406 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4407 from libc for GLIBC_2.16.
4408 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4409 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4410 * wcsmbs/uchar.h: Really define mbstate_t.
4411 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4412 * wcsmbs/c16rtomb.c: New file.
4413 * wcsmbs/mbrtoc16.c: New file.
4414 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4415 for C/POSIX locale.
4416 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4417 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4418
4419 * wcsmbs/wchar.h: Add missing __restrict.
4420
4421 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4422
4423 [BZ #13532]
4424 * time/Makefile (routines): Add timespec_get.
4425 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4426 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4427 timespec for ISO C11.
4428 * time/timespec_get.c: New file.
4429 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4430 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4431
4432 [BZ #13531]
4433 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4434 * stdlib/stdlib.h: Declare aligned_alloc.
4435 * Versions.def: Add GLIBC_2.16 for libc.
4436 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4437
4438 [BZ 13527]
4439 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4440 ISO C11.
4441
4442 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4443 code.
4444
4445 [BZ #13528]
4446 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4447
4448 [BZ #13529]
4449 * assert/assert.h (static_assert): Define.
4450
4451 * version.h: Update for 2.16 development version.
4452
4453 [BZ #13526]
4454 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4455 _ISOC11_SOURCE.
4456
4457 * version.h (RELEASE): Bump for 2.15 release.
4458 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4459
4460 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4461 Patch by Marek Polacek <mpolacek@redhat.com>.
4462
4463 * bits/byteswap.h: Protect long long constants with __extension__.
4464 * sysdeps/i386/bits/byteswap.h: Likewise.
4465 * sysdeps/ia64/bits/byteswap.h: Likewise.
4466 * sysdeps/s390/bits/byteswap.h: Likewise.
4467 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4468
4469 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4470
4471 [BZ #13540]
4472 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4473 destination buffer.
4474 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4475
4476 2011-12-23 Marek Polacek <polacek@redhat.com>
4477
4478 * elf/dl-addr.c (determine_info): Add inline keyword.
4479 * elf/tst-auditmod4b.c (check_avx): Likewise.
4480 * elf/tst-auditmod6b.c (check_avx): Likewise.
4481 * elf/tst-auditmod6c.c (check_avx): Likewise.
4482 * elf/tst-auditmod7b.c (check_avx): Likewise.
4483
4484 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4485
4486 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4487 !__SSE_MATH__.
4488
4489 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4490
4491 [BZ #13540]
4492 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4493 processing for last bytes.
4494
4495 2011-08-06 Bruno Haible <bruno@clisp.org>
4496
4497 [BZ #13061]
4498 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4499 U+0385, not to U+1FEE.
4500
4501 [BZ #13062]
4502 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4503 entry for U+00A5 U+0301.
4504
4505 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4506
4507 [BZ #13166]
4508 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4509 buffer for the output is too small.
4510
4511 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4512 optimization.
4513
4514 [BZ #13185]
4515 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4516 SSE flags if possible.
4517
4518 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4519
4520 [BZ #13540]
4521 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4522 processing for last bytes.
4523
4524 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4525
4526 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4527 (syscall-list-default-options, syscall-list-default-condition)
4528 (syscall-list-includes): Define.
4529 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4530 list of ABIs and options and #if conditions for each ABI. Do not
4531 handle common syscalls between ABIs specially.
4532 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4533 Remove.
4534 (syscall-list-variants, syscall-list-32bit-options)
4535 (syscall-list-32bit-condition, syscall-list-64bit-options)
4536 (syscall-list-64bit-condition): Define.
4537 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4538 (syscall-list-variants, syscall-list-32bit-options)
4539 (syscall-list-32bit-condition, syscall-list-64bit-options)
4540 (syscall-list-64bit-condition): Define.
4541 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4542 Remove.
4543 (syscall-list-variants, syscall-list-32bit-options)
4544 (syscall-list-32bit-condition, syscall-list-64bit-options)
4545 (syscall-list-64bit-condition): Define.
4546 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4547 Remove.
4548 (syscall-list-variants, syscall-list-32bit-options)
4549 (syscall-list-32bit-condition, syscall-list-64bit-options)
4550 (syscall-list-64bit-condition): Define.
4551
4552 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4553
4554 * locale/iso-639.def: Add brx entry.
4555
4556 [BZ #13328]
4557 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4558 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4559
4560 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4561 __feraiseexcept_renamed.
4562
4563 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4564
4565 [BZ #13538]
4566 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4567 EPOLLET with unsigned values.
4568 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4569 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4570
4571 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4572 to large cancellation.
4573 * math/s_cacoshf.c: Likewise.
4574 * math/s_cacoshl.c: Likewise.
4575
4576 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4577
4578 [BZ #13305]
4579 [BZ #12786]
4580 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4581 * math/s_cacoshf.c: Likewise.
4582 * math/s_cacoshl.c: Likewise.
4583
4584 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4585
4586 [BZ #13439]
4587 * iconv/gconv.h: Define __GCONV_SWAP.
4588 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4589 * iconvdata/utf-16.c: Likewise.
4590 * iconvdata/utf-32.c: Likewise.
4591
4592 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4593
4594 [BZ #13524]
4595 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4596 numerator after shifting it by one limb.
4597
4598 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4599
4600 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4601 under [__USE_EXTERN_INLINES].
4602
4603 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4604
4605 [BZ #13446]
4606 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4607
4608 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4609
4610 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4611 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4612 optimized code.
4613 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4614 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4615 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4616 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4617 for strncasecmp/strncasecmp_l compilation.
4618 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4619 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4620
4621 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4622
4623 [BZ #13484]
4624 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4625 of __asm__.
4626
4627 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4628
4629 [BZ #13506]
4630 * time/tzfile.c (__tzfile_read): Check values from file header.
4631
4632 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4633
4634 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4635 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4636 * powerpc/powerpc32/dl-start.S: Likewise.
4637 * powerpc/powerpc32/elf/start.S: Likewise.
4638 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4639 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4640 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4641 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4642 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4643 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4644 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4645 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4646 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4647 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4648 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4649 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4650 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4651 * powerpc/powerpc32/memset.S: Likewise.
4652 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4653 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4654 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4655 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4656 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4657 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4658 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4659 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4660 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4661 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4662 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4663 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4664 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4665
4666 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4667
4668 * math/libm-test.inc: Added more nearbyint tests.
4669 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4670 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4671 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4672 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4673
4674 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4675
4676 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4677 FD_CLOEXEC.
4678
4679 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4680
4681 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4682 Add wcscpy-ssse3 wcscpy-c.
4683 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4684 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4685 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4686 * sysdeps/x86_64/wcschr.S: New file.
4687 * sysdeps/x86_64/wcsrchr.S: New file.
4688 * string/test-strcmp.c: Remove checking of wcscmp function for
4689 wrong alignments.
4690 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4691 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4692 wcsrchr-sse2 wcsrchr-c.
4693 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4694 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4695 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4696 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4697 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4698 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4699 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4700 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4701 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4702 * wcsmbc/wcschr.c (WCSCHR): New macro.
4703
4704 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4705
4706 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4707 * wcsmbs/test-wcsrchr.c: New file.
4708 * string/test-strrchr.c: Add wcsrchr support.
4709 (WIDE): New macro.
4710 * wcsmbs/test-wcscpy.c: New file.
4711 * string/test-strcpy.c: Add wcscpy support.
4712 (WIDE): New macro.
4713
4714 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4715
4716 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4717 the inner loop.
4718
4719 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4720
4721 [BZ #13472]
4722 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4723
4724 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4725
4726 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4727 Minor optimizations.
4728
4729 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4730 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4731 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4732
4733 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4734
4735 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4736 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4737 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4738 for gcc to avoid warnings.
4739 * inet/Makefile (tests): Add tst-checks.
4740 * inet/tst-checks.c: New file.
4741
4742 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4743 warning.
4744
4745 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4746 __wmemcmp_sse2.
4747
4748 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4749 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4750
4751 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4752
4753 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4754
4755 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4756 problem.
4757
4758 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4759
4760 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4761
4762 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4763 conditional on GCC version.
4764 (__arch_compare_and_exchange_val_8_acq)
4765 (__arch_compare_and_exchange_val_16_acq)
4766 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4767 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4768 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4769
4770 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4771
4772 * sysdeps/sh/backtrace.c: New file.
4773
4774 2011-12-02 Andreas Schwab <schwab@redhat.com>
4775
4776 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4777 parenthesis.
4778
4779 2011-12-01 Andreas Schwab <schwab@redhat.com>
4780
4781 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4782 falling back to utime.
4783
4784 2011-11-30 Andreas Schwab <schwab@redhat.com>
4785
4786 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4787 expectations for float.
4788
4789 2011-11-29 Andreas Schwab <schwab@redhat.com>
4790
4791 * locale/weight.h (findidx): Add parameter len.
4792 * locale/weightwc.h (findidx): Likewise.
4793 * posix/fnmatch_loop.c (FCT): Adjust caller.
4794 * posix/regcomp.c (build_equiv_class): Likewise.
4795 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4796 * posix/regexec.c (check_node_accept_bytes): Likewise.
4797 * string/strcoll_l.c (STRCOLL): Likewise.
4798 * string/strxfrm_l.c (STRXFRM): Likewise.
4799
4800 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4801
4802 * Makefile.in: Remove CVSOPT handling.
4803 * configure.in: Remove use of AC_REVISION.
4804 * iconvdata/Makefile (distribute): No need to filter out CVS.
4805 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4806 handling.
4807
4808 2011-11-16 Andreas Schwab <schwab@redhat.com>
4809
4810 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4811 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4812 [USE_AS_STRNCASECMP_L]: Likewise.
4813 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4814 NO_TLS_DIRECT_SEG_REFS.
4815 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4816 Fix argument offsets for non-PIC.
4817 [USE_AS_STRNCASECMP_L]: Likewise.
4818 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4819 NO_TLS_DIRECT_SEG_REFS.
4820
4821 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4822
4823 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4824 O_CLOEXEC.
4825 * locale/loadlocale.c (_nl_load_locale): Likewise.
4826
4827 2011-11-15 Andreas Schwab <schwab@redhat.com>
4828
4829 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4830 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4831 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4832 (SYSCALL_GETTIME): Set errno on error.
4833
4834 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4835 count references to noai6ai_cached.
4836
4837 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4838
4839 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4840
4841 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4842 FD_CLOEXEC for /proc/self/maps.
4843
4844 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4845 FD_CLOEXEC for /proc/meminfo.
4846
4847 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4848 gai.conf.
4849
4850 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4851 FD_CLOEXEC for given file.
4852
4853 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4854
4855 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4856 FD_CLOEXEC for /etc/hosts.
4857 (_gethtent): Likewise.
4858
4859 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4860
4861 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4862 cancellation and set FD_CLOEXEC for /etc/netgroup.
4863
4864 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4865 reading /etc/publickey.
4866
4867 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4868 allow cancellation when reading /etc/group.
4869
4870 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4871 cancellation.
4872 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4873
4874 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4875 when using data file.
4876
4877 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4878
4879 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4880 (write_nis_obj): Use "c" and "e" in fopen.
4881
4882 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4883
4884 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4885
4886 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4887
4888 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4889
4890 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4891 locale.alias.
4892
4893 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4894
4895 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4896
4897 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4898
4899 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4900 file parsing and set FD_CLOEXEC.
4901
4902 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4903
4904 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4905
4906 2011-11-14 Andreas Schwab <schwab@redhat.com>
4907
4908 * malloc/arena.c (arena_get2): Don't call reused_arena when
4909 _int_new_arena failed.
4910
4911 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4912
4913 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4914 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4915 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4916 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4917 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4918 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4919 to compile strcasecmp and strncasecmp.
4920 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4921 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4922
4923 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4924
4925 2011-11-13 Ulrich Drepper <drepper@gmail.com>
4926
4927 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4928 locale-defines.sym to gen-as-const-headers.
4929 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4930 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4931 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4932 to compile strcasecmp and strncasecmp.
4933 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4934 strcasecmp_l and strncasecmp_l.
4935 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4936 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4937 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4938 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4939 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4940 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4941 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4942 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4943 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4944 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4945 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4946
4947 2011-11-12 Ulrich Drepper <drepper@gmail.com>
4948
4949 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4950 result of SYSDEP_GETTIME_CPU to retval.
4951 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4952 parameter list to macro. Remove trailing semicolon. Adjust users.
4953
4954 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4955 variable.
4956
4957 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4958 mantissa words.
4959 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4960
4961 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4962 from unused variable.
4963
4964 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4965 DWARF definitions.
4966 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4967 for assembling.
4968
4969 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
4970 over namespaces.
4971
4972 * sunrpc/rpc_prot.c (rejected): Fix case value.
4973
4974 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
4975 unsigned long long int to avoid warnings in shift.
4976
4977 * posix/regex_internal.c (re_string_reconstruct): Actually use result
4978 of use of trans.
4979 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
4980 variable tmp.
4981
4982 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
4983 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4984 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4985
4986 * nis/nis_table.c (nis_list): Use variable of correct type for
4987 result of __follow_path call.
4988
4989 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4990
4991 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
4992 of math functions ceil, trunc, floor, round, and sqrt, when
4993 avaliable on the platform.
4994 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
4995 name clash.
4996 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4997 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
4998 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
4999
5000 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5001
5002 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5003 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5004
5005 2011-11-11 Roland McGrath <roland@hack.frob.com>
5006
5007 * include/unistd.h: Fix __readlink return type.
5008 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5009
5010 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5011
5012 * stdlib/ucontext.h: Undo last change for makecontext.
5013
5014 2011-11-11 Andreas Schwab <schwab@redhat.com>
5015
5016 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5017
5018 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5019 * setjmp/setjmp.h: Mark functions as non-leaf.
5020 * setjmp/bits/setjmp2.h: Likewise.
5021 * stdlib/ucontext.h: Likewise.
5022
5023 2011-11-10 Andreas Schwab <schwab@redhat.com>
5024
5025 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5026 (reused_arena): Don't check arena limit.
5027 (arena_get2): Atomically check arena limit.
5028
5029 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5030
5031 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5032 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5033
5034 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5035 instructions.
5036
5037 2011-11-07 Andreas Schwab <schwab@redhat.com>
5038
5039 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5040 handler when locking.
5041
5042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5043 Fix size of allocated buffer.
5044
5045 2011-11-04 Andreas Schwab <schwab@redhat.com>
5046
5047 [BZ #10103]
5048 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5049 declarations for long double functions.
5050 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5051
5052 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5053
5054 2011-11-03 Andreas Schwab <schwab@redhat.com>
5055
5056 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5057 installed.
5058
5059 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5060 is disabled.
5061
5062 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5063
5064 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5065
5066 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5067
5068 * include/alloca.h (stackinfo_alloca_round): Define.
5069 (extend_alloca): Use it.
5070 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5071 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5072 here.
5073
5074 * scripts/check-local-headers.sh: Ignore libaudit.h.
5075
5076 * nscd/Makefile (extra-objs): Make recursively expanded.
5077
5078 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5079
5080 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5081 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5082
5083 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5084 * posix/tst-rfc3484-2.c: Likewise.
5085 * posix/tst-rfc3484-3.c: Likewise.
5086
5087 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5088 process_vm_writev.
5089 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5090 process_vm_writev.
5091 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5092 process_vm_writev from libc using GLIBC_2.15 version.
5093
5094 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5095
5096 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5097
5098 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5099 stack usage.
5100
5101 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5102
5103 [BZ #13367]
5104 * nss/getent.c (initgroups_keys): Show error message in case no group
5105 names are given.
5106
5107 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5108 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5109 __bump_nl_timestamp.
5110 * nscd/connections (nscd_init): When host database is served open
5111 netlink socket and request notification about configuration changes.
5112 (main_loop_poll): Track netlink file descriptor and bump timestamp
5113 in case data becomes available.
5114 (main_loop_epoll): Likewise.
5115 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5116 (database_pers_head): Add extra_data fileds.
5117 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5118 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5119 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5120 Adjust caller.
5121 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5122 in6ai data, call __free_in6ai.
5123 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5124 Add -DHAVE_NETLINK.
5125 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5126 interface information. Reuse previous data if netlink timestamp
5127 is not changed.
5128 (__bump_nl_timestamp): New function.
5129 (__free_in6ai): New function.
5130
5131 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5132
5133 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5134 close_not_cancel_no_status here.
5135 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5136
5137 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5138
5139 [BZ #13276]
5140 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5141 return value.
5142
5143 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5144 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5145 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5146
5147 2011-07-03 Andreas Jaeger <aj@suse.de>
5148
5149 [BZ #10709]
5150 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5151 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5152 * math/libm-test.inc (sin_test): Add test case.
5153
5154 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5155
5156 [BZ #13337]
5157 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5158 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5159
5160 * elf/chroot_canon.c (chroot_canon): Cleanups.
5161
5162 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5163
5164 [BZ #13335]
5165 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5166 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5167
5168 * string/test-strchr.c: Make usable for strchrnul testing.
5169 * string/test-strchrnul.c: New file.
5170 * string/Makefile (strop-tests): Add strchrnul.
5171
5172 * po/it.po: Update from translation team.
5173 * po/es.po: Likewise.
5174
5175 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5176
5177 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5178 the three constants needed as parameters. Drop the others.
5179 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5180 __m128i_strloadu_tolower.
5181 Create and initialize variable zero and use it in all the places
5182 where _mm_setzero_si128 was used.
5183
5184 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5185 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5186 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5187 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5188 anymore.
5189 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5190 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5191 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5192 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5193 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5194 __mpranred, __mptan.
5195 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5196 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5197 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5198 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5199 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5200 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5201 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5202 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5203 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5204
5205 2011-10-28 Andreas Schwab <schwab@redhat.com>
5206
5207 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5208 redefine if SHARED.
5209 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5210
5211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5212 wide char related routines to wcsmbs subdir.
5213
5214 2011-10-27 Andreas Schwab <schwab@redhat.com>
5215
5216 [BZ #13344]
5217 * misc/sys/cdefs.h (__THROWNL): Define.
5218 * posix/unistd.h: Use __THREADNL instead of __THREAD
5219 for memory synchronization functions.
5220
5221 2011-10-26 Roland McGrath <roland@hack.frob.com>
5222
5223 [BZ #13349]
5224 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5225 doesn't exist.
5226 * manual/stdio.texi (Obstack Streams): Node removed.
5227
5228 2011-10-26 Andreas Schwab <schwab@redhat.com>
5229
5230 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5231 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5232 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5233
5234 * math/math_private.h (math_force_eval): Allow non-addressable
5235 arguments.
5236 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5237
5238 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5239
5240 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5241 file is not needed.
5242
5243 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5244 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5245 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5246 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5247 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5248 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5249 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5250 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5251 Add AVX variants.
5252 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5253 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5254 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5255 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5256 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5257 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5258 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5259 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5260 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5261 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5262 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5263 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5264 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5265 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5266 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5267 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5268 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5269 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5270 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5271
5272 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5273 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5274
5275 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5276 place. Use VEX encoding when compiling for AVX.
5277
5278 2011-10-25 Andreas Schwab <schwab@redhat.com>
5279
5280 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5281 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5282
5283 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5284
5285 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5286
5287 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5288 useless if() expression.
5289 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5290 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5291 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5292 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5293 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5294 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5295 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5296 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5297 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5298 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5299 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5300 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5301 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5302 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5303 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5304 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5305 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5307 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5308
5309 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5310
5311 2011-10-25 Andreas Schwab <schwab@redhat.com>
5312
5313 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5314 condition.
5315 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5316
5317 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5318
5319 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5320 .text section. Avoid duplicate constants.
5321 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5322 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5323 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5324 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5325 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5326 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5327 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5328 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5329 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5330 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5331 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5332 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5333 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5334 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5335 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5336 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5337 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5338 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5339 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5340 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5341 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5342 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5343 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5344 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5345 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5346 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5347 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5348 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5349 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5350 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5351 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5352 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5353 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5354 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5355 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5356 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5357 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5358 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5359 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5360 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5361 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5362 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5363 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5364 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5365 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5366
5367 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5368
5369 * sysdeps/x86_64/dla.h: Move to ...
5370 * sysdeps/x86_64/fpu/dla.h: ...here.
5371 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5372 situations. Use __builtin_fma only for gcc 4.6 and up.
5373
5374 * config.make.in: Add have-mfma4 entry.
5375 * configure.in: Substitute libc_cv_cc_fma4.
5376 * math/Makefile (dbl-only-routines): Add sincostab.
5377 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5378 Use __sincostab not sincos.
5379 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5380 name is a macro.
5381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5385 using __copysign.
5386 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5387 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5388 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5389 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5390 and __inv.
5391 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5392 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5393 __copysign.
5394 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5395 define aliases when function name is a macro.
5396 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5397 sysdeps/ieee754/dbl-64/sincos.tbl.
5398 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5399 fma4-enabled routines.
5400 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5401 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5402 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5403 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5404 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5405 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5406 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5407 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5408 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5409 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5410 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5411 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5412 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5413 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5414 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5415 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5416 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5417 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5418 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5419 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5420 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5421 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5422 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5423 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5424 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5425 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5426 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5427 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5428 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5429 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5430
5431 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5432 rename.
5433 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5439 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5440 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5441
5442 2011-10-24 Andreas Schwab <schwab@redhat.com>
5443
5444 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5445
5446 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5447
5448 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5449
5450 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5451 prediction.
5452 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5453
5454 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5455 Remove unused variable magic_bits.
5456 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5457
5458 * string/strnlen.c: Define and use STRNLEN macro.
5459 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5460 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5461 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5462 * wcsmbs/wcslen.c: Define and use WCSLEN.
5463 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5464 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5465 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5466 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5467 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5468 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5469 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5470
5471 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5472
5473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5474 strnlen-sse2-no-bsf.
5475 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5476 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5477 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5478 Add strnlen support.
5479 (USE_AS_STRNLEN): New macro.
5480 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5481 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5482 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5483 * sysdeps/x86_64/wcslen.S: New file.
5484
5485 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5486
5487 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5488 XMM-moves are used for copying on small sizes.
5489
5490 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5491
5492 * wcsmbs/Makefile (strop-tests): Add wcschr.
5493 * wcsmbs/test-wcschr.c: New file.
5494 * string/test-strchr.c: Update.
5495 Add wcschr support.
5496 (WIDE): New macro.
5497
5498 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5499
5500 * wcsmbs/Makefile (strop-tests): Add wcslen.
5501 * wcsmbs/test-wcslen.c: New file.
5502 * string/test-strlen.c: Update.
5503 Add wcslen support.
5504 (WIDE): New macro.
5505
5506 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5507
5508 * po/it.po: Update from translation team.
5509
5510 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5511
5512 * sysdeps/x86_64/wcscmp.S: Update.
5513 Fix wrong comparison semantics.
5514 wcscmp shall use signed comparison not unsigned.
5515 Don't use substraction to avoid overflow bug.
5516 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5517 * wcsmbc/wcscmp.c: Likewise.
5518 * string/test-strcmp.c: Likewise.
5519 Add new tests to check cases with negative values.
5520
5521 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5522
5523 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5524 * sysdeps/x86_64/dla.h: ...here. New file.
5525 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5526 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5534
5535 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5536
5537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5538 __ynl_finite aliases.
5539
5540 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5541
5542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5543
5544 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5545 define DLA_FMA.
5546 [DLA_FMA] (EMULV): Use DLA_FMA.
5547 [DLA_FMA] (MUL12): Use EMULV.
5548 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5549 that are not needed.
5550 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5553 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5554 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5555 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5557
5558 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5559
5560 * math/s_nan.c: Undef __nan.
5561 * math/s_nanf.c: Undef __nanf.
5562 * math/s_nanl.c: Undef __nanl.
5563 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5564 "math_private.h".
5565
5566 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5567
5568 * math/s_catan.c: Add branch predictions.
5569 * math/s_catanf.c: Likewise.
5570 * math/s_catanh.c: Likewise.
5571 * math/s_catanhf.c: Likewise.
5572 * math/s_catanhl.c: Likewise.
5573 * math/s_catanl.c: Likewise.
5574 * math/s_cexp.c: Likewise.
5575 * math/s_cexpf.c: Likewise.
5576 * math/s_cexpl.c: Likewise.
5577 * math/s_clog.c: Likewise.
5578 * math/s_clog10.c: Likewise.
5579 * math/s_clog10f.c: Likewise.
5580 * math/s_clog10l.c: Likewise.
5581 * math/s_clogf.c: Likewise.
5582 * math/s_clogl.c: Likewise.
5583 * math/s_csqrt.c: Likewise.
5584 * math/s_csqrtf.c: Likewise.
5585 * math/s_csqrtl.c: Likewise.
5586 * math/s_ctanf.c: Likewise.
5587 * math/s_ctanh.c: Likewise.
5588 * math/s_ctanhf.c: Likewise.
5589 * math/s_ctanhl.c: Likewise.
5590 * math/s_ctanl.c: Likewise.
5591
5592 * math/math_private.h: Define __nan, __nanf, __nanl.
5593 * math/s_cacosh.c: Include <math_private.h>.
5594 * math/s_cacoshl.c: Likewise.
5595 * math/s_casinh.c: Likewise.
5596 * math/s_casinhf.c: Likewise.
5597 * math/s_casinhl.c: Likewise.
5598 * math/s_ccos.c: Rely entire on ccosh.
5599 * math/s_ccosf.c: Rely entire on ccoshf.
5600 * math/s_ccosl.c: Rely entirely on ccoshl.
5601 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5602 Remove tests for FE_INVALID.
5603 * math/s_ccoshf.c: Likewise.
5604 * math/s_ccoshl.c: Likewise.
5605 * math/s_csin.c: Likewise.
5606 * math/s_csinf.c: Likewise.
5607 * math/s_csinh.c Likewise.
5608 * math/s_csinhf.c: Likewise.
5609 * math/s_csinhl.c: Likewise.
5610 * math/s_csinl.c: Likewise.
5611 * math/s_ctan.c: Likewise.
5612 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5613 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5614 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5615
5616 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5617
5618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5619 compilation problems.
5620
5621 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5622 __builtin_expect.
5623
5624 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5625
5626 * sysdeps/i386/configure.in: Test for -mfma4 option.
5627 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5628 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5629 COMMON_CPUID_INDEX_80000001.
5630 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5631 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5632 use it if FMA3 is not supported.
5633 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5634
5635 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5636 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5637
5638 2011-10-20 Andreas Schwab <schwab@redhat.com>
5639
5640 [BZ #12892]
5641 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5642 it would create a cycle with a link time dependency.
5643
5644 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5645
5646 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5647 instruction.
5648 * string/Makefile (strop-tests): Add rawmemchr.
5649 * string/test-rawmemchr.c: New file.
5650
5651 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5652 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5653 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5654 when compiling str{,n}casecmp and when AVX is available. Hook up
5655 new optimized code in initializers.
5656
5657 2011-10-19 Andreas Schwab <schwab@redhat.com>
5658
5659 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5660 __feraiseexcept instead of feraiseexcept.
5661
5662 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5663
5664 * math/math_private.h: Define defaults for libc_fetestexcept and
5665 libc_feupdateenv.
5666 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5667 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5668 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5669 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5670 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5671 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5672 libc_fetestexcept and libc_feupdateenv.
5673
5674 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5675 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5676 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5677 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5678 libc_feholdexcept_setround.
5679
5680 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5681 Add s_nearbyint-c and s_nearbyintf-c.
5682 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5683 nearbyintf inlines.
5684 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5685 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5686 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5687 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5688
5689 * math/math_private.h: Define defaults for libc_fegetround,
5690 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5691 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5692 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5693 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5694 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5695 standard functions.
5696 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5697 Remove comments and hacks for old compiler versions.
5698 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5699 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5700 libc_feholdexceptl.
5701
5702 2011-10-18 Andreas Schwab <schwab@redhat.com>
5703
5704 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5705 (__feraiseexcept_renamed): Add __NTH.
5706 (feraiseexcept): Add __NTH. Rename local variables to fix
5707 namespace violations.
5708
5709 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5710
5711 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5712
5713 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5714
5715 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5716 recently added interfaces.
5717 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5718
5719 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5720 about macro parameter expansion.
5721
5722 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5723 __NO_MATH_INLINES is defined. Cleanups.
5724
5725 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5726 and __floorf is target has SSE4.1.
5727 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5728 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5729 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5730 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5731
5732 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5733 name.
5734 (floorf): Likewise.
5735
5736 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5737
5738 2011-10-17 Andreas Schwab <schwab@redhat.com>
5739
5740 * misc/sys/cdefs.h: Fix last change.
5741
5742 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5743 database lookup.
5744
5745 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5746
5747 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5748
5749 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5750 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5751 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5752 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5754 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5755 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5756 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5757 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5758 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5759 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5760 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5761 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5762 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5763 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5764 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5765 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5766 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5767 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5768 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5769 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5770 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5771
5772 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5773 ceil, ceilf, floor, floorf.
5774
5775 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5776 Perform IRELATIVE relocations last.
5777
5778 * elf/do-rel.h: Add another parameter nrelative, replacing the
5779 local variable with the same name. Change name of the function
5780 to end in Rel or Rela (uppercase).
5781 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5782 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5783 elf_dynamic_do_##reloc function.
5784
5785 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5786
5787 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5788 is sufficient, at least on modern CPUs.
5789
5790 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5791
5792 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5793 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5794
5795 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5796 __expl_finite.
5797 * math/bits/math-finite.h: Add entries for exp.
5798 * math/e_expl.c: Add __*_finite alias.
5799 * sysdeps/i386/fpu/e_exp.S: Likewise.
5800 * sysdeps/i386/fpu/e_expf.S: Likewise.
5801 * sysdeps/i386/fpu/e_expl.c: Likewise.
5802 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5803 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5804 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5806 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5807 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5808 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5809
5810 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5811 is sufficient, at least on modern CPUs.
5812
5813 * ctype/ctype-info.c (__ctype_init): Define.
5814 * include/ctype.h (__ctype_init): Declare.
5815 (__ctype_b_loc): The variable is always initialized.
5816 (__ctype_toupper_loc): Likewise.
5817 (__ctype_tolower_loc): Likewise.
5818 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5819 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5820
5821 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5822
5823 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5824
5825 * configure.in: Also look in $cxxmachine/include for C++ system
5826 headers.
5827
5828 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5829
5830 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5831 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5832 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5833 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5834 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5835 (USE_AS_WMEMCMP): New macro.
5836 Fixing indents.
5837 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5838 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5839 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5840 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5842 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5843 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5844 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5845 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5846 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5847 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5848 (USE_AS_WMEMCMP): New macro.
5849 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5850 * sysdeps/string/test-memcmp.c: Update.
5851 Fix simple_wmemcmp.
5852 Add new tests.
5853 * wcsmbs/wmemcmp.c: Update.
5854 (WMEMCMP): New macro.
5855 Fix overflow bug.
5856
5857 2011-10-12 Andreas Jaeger <aj@suse.de>
5858
5859 [BZ #13268]
5860 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5861
5862 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5863
5864 * libio/iofwide.c (do_length): Avoid warning.
5865
5866 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5867
5868 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5869
5870 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5871
5872 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5873 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5874 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5875 * sysdeps/i386/i686/fpu/e_log.S: New file.
5876 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5877 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5878
5879 * ctype/ctype.h: Add support for inlined isXXX functions when
5880 compiling C++ code.
5881
5882 2011-10-14 Andreas Schwab <schwab@redhat.com>
5883
5884 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5885
5886 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5887
5888 2011-10-13 Roland McGrath <roland@hack.frob.com>
5889
5890 [BZ #13291]
5891 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5892
5893 2011-10-13 Andreas Schwab <schwab@redhat.com>
5894
5895 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5896 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5897 feraiseexcept.
5898
5899 * sysdeps/x86_64/memrchr.S: Check for zero size.
5900
5901 * string/stratcliff.c: Add memrchr tests.
5902
5903 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5904
5905 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5906 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5907 rawmemchr-sse2 rawmemchr-sse2-bsf.
5908 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5909 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5910 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5911 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5912 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5913 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5914 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5915 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5916 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5917 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5918 * string/memrchr.c (MEMRCHR): New macro.
5919
5920 2011-10-12 Ulrich Drepper <drepper@gmail.com>
5921
5922 Add integration with gcc's -ffinite-math-only and optimize wrapper
5923 functions in libm.
5924 * Versions.def: Define GLIBC_2.15 version for libm.
5925 * math/Makefile (headers): Add bits/math-finite.h.
5926 * math/bits/math-finite.h: New file.
5927 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5928 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5929 * math/e_acoshl.c: Add __*_finite alias.
5930 * math/e_acosl.c: Likewise.
5931 * math/e_asinl.c: Likewise.
5932 * math/e_atan2l.c: Likewise.
5933 * math/e_atanhl.c: Likewise.
5934 * math/e_coshl.c: Likewise.
5935 * math/e_exp10.c: Likewise.
5936 * math/e_exp10f.c: Likewise.
5937 * math/e_exp10l.c: Likewise.
5938 * math/e_exp2l.c: Likewise.
5939 * math/e_fmodl.c: Likewise.
5940 * math/e_gammal_r.c: Likewise.
5941 * math/e_hypotl.c: Likewise.
5942 * math/e_j0l.c: Likewise.
5943 * math/e_j1l.c: Likewise.
5944 * math/e_jnl.c: Likewise.
5945 * math/e_lgammal_r.c: Likewise.
5946 * math/e_log10l.c: Likewise.
5947 * math/e_log2l.c: Likewise.
5948 * math/e_logl.c: Likewise.
5949 * math/e_powl.c: Likewise.
5950 * math/e_sinhl.c: Likewise.
5951 * math/e_sqrtl.c: Likewise.
5952 * math/e_scalb.c: Completely rewritten and optimized.
5953 * math/e_scalbf.c: Likewise.
5954 * math/e_scalbl.c: Likewise.
5955 * math/w_acos.c: Likewise.
5956 * math/w_acosf.c: Likewise.
5957 * math/w_acosl.c: Likewise.
5958 * math/w_acosh.c: Likewise.
5959 * math/w_acoshf.c: Likewise.
5960 * math/w_acoshl.c: Likewise.
5961 * math/w_asin.c: Likewise.
5962 * math/w_asinf.c: Likewise.
5963 * math/w_asinl.c: Likewise.
5964 * math/w_atan2.c: Likewise.
5965 * math/w_atan2f.c: Likewise.
5966 * math/w_atan2l.c: Likewise.
5967 * math/w_atanh.c: Likewise.
5968 * math/w_atanhf.c: Likewise.
5969 * math/w_atanhl.c: Likewise.
5970 * math/w_exp10.c: Likewise.
5971 * math/w_exp10f.c: Likewise.
5972 * math/w_exp10l.c: Likewise.
5973 * math/w_fmod.c: Likewise.
5974 * math/w_fmodf.c: Likewise.
5975 * math/w_fmodl.c: Likewise.
5976 * math/w_j0.c: Likewise.
5977 * math/w_j0f.c: Likewise.
5978 * math/w_j0l.c: Likewise.
5979 * math/w_j1.c: Likewise.
5980 * math/w_j1f.c: Likewise.
5981 * math/w_j1l.c: Likewise.
5982 * math/w_jn.c: Likewise.
5983 * math/w_jnf.c: Likewise.
5984 * math/w_log.c: Likewise.
5985 * math/w_logf.c: Likewise.
5986 * math/w_logl.c: Likewise.
5987 * math/w_log10.c: Likewise.
5988 * math/w_log10f.c: Likewise.
5989 * math/w_log10l.c: Likewise.
5990 * math/w_log2.c: Likewise.
5991 * math/w_log2f.c: Likewise.
5992 * math/w_log2l.c: Likewise.
5993 * math/w_pow.c: Likewise.
5994 * math/w_powf.c: Likewise.
5995 * math/w_powl.c: Likewise.
5996 * math/w_remainder.c: Likewise.
5997 * math/w_remainderf.c: Likewise.
5998 * math/w_remainderl.c: Likewise.
5999 * math/w_scalb.c: Likewise.
6000 * math/w_scalbf.c: Likewise.
6001 * math/w_scalbl.c: Likewise.
6002 * math/w_sqrt.c: Likewise.
6003 * math/w_sqrtf.c: Likewise.
6004 * math/w_sqrtl.c: Likewise.
6005 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6006 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6007 used.
6008 * math/math_private.h: Declare __kernel_standard_f.
6009 * math/w_cosh.c: Remove cruft and optimize a bit.
6010 * math/w_coshf.c: Likewise.
6011 * math/w_coshl.c: Likewise.
6012 * math/w_exp2.c: Likewise.
6013 * math/w_exp2f.c: Likewise.
6014 * math/w_exp2l.c: Likewise.
6015 * math/w_hypot.c: Likewise.
6016 * math/w_hypotf.c: Likewise.
6017 * math/w_hypotl.c: Likewise.
6018 * math/w_lgamma.c: Likewise.
6019 * math/w_lgamma_r.c: Likewise.
6020 * math/w_lgammaf.c: Likewise.
6021 * math/w_lgammaf_r.c: Likewise.
6022 * math/w_lgammal.c: Likewise.
6023 * math/w_lgammal_r.c: Likewise.
6024 * math/w_sinh.c: Likewise.
6025 * math/w_sinhf.c: Likewise.
6026 * math/w_sinhl.c: Likewise.
6027 * math/w_tgamma.c: Likewise.
6028 * math/w_tgammaf.c: Likewise.
6029 * math/w_tgammal.c: Likewise.
6030 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6031 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6032 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6033 Minor optimizations. Pretty printing. Remove cruft.
6034 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6035 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6036 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6037 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6038 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6039 * sysdeps/i386/fpu/e_asin.S: Likewise.
6040 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6041 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6042 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6043 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6044 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6045 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6046 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6047 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6048 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6049 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6050 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6051 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6052 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6053 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6054 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6055 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6056 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6057 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6058 * sysdeps/i386/fpu/e_log.S: Likewise.
6059 * sysdeps/i386/fpu/e_log10.S: Likewise.
6060 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6061 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6062 * sysdeps/i386/fpu/e_log2.S: Likewise.
6063 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6064 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6065 * sysdeps/i386/fpu/e_logf.S: Likewise.
6066 * sysdeps/i386/fpu/e_logl.S: Likewise.
6067 * sysdeps/i386/fpu/e_pow.S: Likewise.
6068 * sysdeps/i386/fpu/e_powf.S: Likewise.
6069 * sysdeps/i386/fpu/e_powl.S: Likewise.
6070 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6071 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6072 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6073 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6074 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6075 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6076 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6077 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6078 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6079 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6080 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6082 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6088 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6092 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6095 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6096 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6097 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6099 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6100 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6101 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6102 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6103 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6104 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6105 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6106 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6107 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6108 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6109 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6110 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6111 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6112 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6113 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6114 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6115 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6116 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6117 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6118 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6119 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6120 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6121 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6122 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6123 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6124 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6125 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6126 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6127 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6128 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6129 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6130 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6131 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6132 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6133 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6135 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6137 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6138 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6139 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6140 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6141 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6142 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6143 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6144 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6145 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6146 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6147 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6148 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6149 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6150 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6151 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6152 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6156 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6159 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6160 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6161 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6162 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6163 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6164 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6165 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6166 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6167 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6170 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6171 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6172 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6173 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6174 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6175 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6176 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6177 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6178 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6179 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6180 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6181 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6182 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6183 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6184 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6185 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6186 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6187 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6188 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6189 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6190 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6191 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6192 (__isnanf): Likewise.
6193 (__isinf_ns): Likewise.
6194 (__isinf_nsf): Likewise.
6195 (__finite): Likewise.
6196 (__finitef): Likewise.
6197 (__ieee754_sqrt): Define as macro.
6198 (__ieee754_sqrtf): Define as macro.
6199 (__ieee754_sqrtl): Define as macro.
6200 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6201 inlined copy.
6202 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6203 __FINITE_MATH_ONLY__ consistent.
6204 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6205
6206 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6207
6208 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6209 of rawmemchr.
6210
6211 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6212
6213 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6214
6215 * po/ja.po: Update from translation team.
6216
6217 2011-10-08 Roland McGrath <roland@hack.frob.com>
6218
6219 * locale/programs/locarchive.c (prepare_address_space): New function.
6220 (create_archive, enlarge_archive, open_archive): Use it.
6221
6222 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6223 inside [SHARED], where it is used.
6224
6225 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6226
6227 * nss/getent.c (netgroup_keys): Remove unused variable.
6228 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6229
6230 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6231
6232 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6233 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6234 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6235 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6236 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6237 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6238 * math/Makefile (libm-calls): Add s_isinf_ns.
6239 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6240 * math/multc3.c: Likewise.
6241 * math/s_casin.c: Likewise.
6242 * math/s_casinf.c: Likewise.
6243 * math/s_casinl.c: Likewise.
6244 * math/s_ccos.c: Likewise.
6245 * math/s_ccosf.c: Likewise.
6246 * math/s_ccosl.c: Likewise.
6247 * math/s_ctan.c: Likewise.
6248 * math/s_ctanf.c: Likewise.
6249 * math/s_ctanh.c: Likewise.
6250 * math/s_ctanhf.c: Likewise.
6251 * math/s_ctanhl.c: Likewise.
6252 * math/s_ctanl.c: Likewise.
6253 * math/w_fmod.c: Likewise.
6254 * math/w_fmodf.c: Likewise.
6255 * math/w_fmodl.c: Likewise.
6256 * math/w_remainder.c: Likewise.
6257 * math/w_remainderf.c: Likewise.
6258 * math/w_remainderl.c: Likewise.
6259 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6260 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6261 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6262 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6263 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6264 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6265 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6266 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6267
6268 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6269 of the number.
6270 * stdio-common/printf_fphex.c: Likewise.
6271 * stdio-common/printf_size.c: Likewise.
6272
6273 * math/e_exp10.c: Include math_private.h using <...> not "...".
6274 * math/e_exp10f.c: Likewise.
6275 * math/e_exp10l.c: Likewise.
6276 * math/e_exp2l.c: Likewise.
6277 * math/e_j0l.c: Likewise.
6278 * math/e_j1l.c: Likewise.
6279 * math/e_jnl.c: Likewise.
6280 * math/e_lgammal_r.c: Likewise.
6281 * math/e_rem_pio2l.c: Likewise.
6282 * math/e_scalb.c: Likewise.
6283 * math/e_scalbf.c: Likewise.
6284 * math/e_scalbl.c: Likewise.
6285 * math/k_cosl.c: Likewise.
6286 * math/k_sinl.c: Likewise.
6287 * math/k_tanl.c: Likewise.
6288 * math/s_cacoshf.c: Likewise.
6289 * math/s_catan.c: Likewise.
6290 * math/s_catanf.c: Likewise.
6291 * math/s_catanh.c: Likewise.
6292 * math/s_catanhf.c: Likewise.
6293 * math/s_catanhl.c: Likewise.
6294 * math/s_catanl.c: Likewise.
6295 * math/s_ccosh.c: Likewise.
6296 * math/s_ccoshf.c: Likewise.
6297 * math/s_ccoshl.c: Likewise.
6298 * math/s_cexp.c: Likewise.
6299 * math/s_cexpf.c: Likewise.
6300 * math/s_cexpl.c: Likewise.
6301 * math/s_clog.c: Likewise.
6302 * math/s_clog10.c: Likewise.
6303 * math/s_clog10f.c: Likewise.
6304 * math/s_clog10l.c: Likewise.
6305 * math/s_clogf.c: Likewise.
6306 * math/s_clogl.c: Likewise.
6307 * math/s_csin.c: Likewise.
6308 * math/s_csinf.c: Likewise.
6309 * math/s_csinh.c: Likewise.
6310 * math/s_csinhf.c: Likewise.
6311 * math/s_csinhl.c: Likewise.
6312 * math/s_csinl.c: Likewise.
6313 * math/s_csqrt.c: Likewise.
6314 * math/s_csqrtf.c: Likewise.
6315 * math/s_csqrtl.c: Likewise.
6316 * math/s_ctan.c: Likewise.
6317 * math/s_ctanf.c: Likewise.
6318 * math/s_ctanh.c: Likewise.
6319 * math/s_ctanhf.c: Likewise.
6320 * math/s_ctanhl.c: Likewise.
6321 * math/s_ctanl.c: Likewise.
6322 * math/s_ldexp.c: Likewise.
6323 * math/s_ldexpf.c: Likewise.
6324 * math/s_ldexpl.c: Likewise.
6325 * math/s_significand.c: Likewise.
6326 * math/s_significandf.c: Likewise.
6327 * math/s_significandl.c: Likewise.
6328 * math/w_acos.c: Likewise.
6329 * math/w_acosf.c: Likewise.
6330 * math/w_acosh.c: Likewise.
6331 * math/w_acoshf.c: Likewise.
6332 * math/w_acoshl.c: Likewise.
6333 * math/w_acosl.c: Likewise.
6334 * math/w_asin.c: Likewise.
6335 * math/w_asinf.c: Likewise.
6336 * math/w_asinl.c: Likewise.
6337 * math/w_atan2.c: Likewise.
6338 * math/w_atan2f.c: Likewise.
6339 * math/w_atan2l.c: Likewise.
6340 * math/w_atanh.c: Likewise.
6341 * math/w_atanhf.c: Likewise.
6342 * math/w_atanhl.c: Likewise.
6343 * math/w_cosh.c: Likewise.
6344 * math/w_coshf.c: Likewise.
6345 * math/w_coshl.c: Likewise.
6346 * math/w_dremf.c: Likewise.
6347 * math/w_exp10.c: Likewise.
6348 * math/w_exp10f.c: Likewise.
6349 * math/w_exp10l.c: Likewise.
6350 * math/w_exp2.c: Likewise.
6351 * math/w_exp2f.c: Likewise.
6352 * math/w_fmod.c: Likewise.
6353 * math/w_fmodf.c: Likewise.
6354 * math/w_fmodl.c: Likewise.
6355 * math/w_hypot.c: Likewise.
6356 * math/w_hypotf.c: Likewise.
6357 * math/w_hypotl.c: Likewise.
6358 * math/w_j0.c: Likewise.
6359 * math/w_j0f.c: Likewise.
6360 * math/w_j0l.c: Likewise.
6361 * math/w_j1.c: Likewise.
6362 * math/w_j1f.c: Likewise.
6363 * math/w_j1l.c: Likewise.
6364 * math/w_jn.c: Likewise.
6365 * math/w_jnf.c: Likewise.
6366 * math/w_jnl.c: Likewise.
6367 * math/w_lgamma.c: Likewise.
6368 * math/w_lgamma_r.c: Likewise.
6369 * math/w_lgammaf.c: Likewise.
6370 * math/w_lgammaf_r.c: Likewise.
6371 * math/w_lgammal.c: Likewise.
6372 * math/w_lgammal_r.c: Likewise.
6373 * math/w_log.c: Likewise.
6374 * math/w_log10.c: Likewise.
6375 * math/w_log10f.c: Likewise.
6376 * math/w_log10l.c: Likewise.
6377 * math/w_log2.c: Likewise.
6378 * math/w_log2f.c: Likewise.
6379 * math/w_log2l.c: Likewise.
6380 * math/w_logf.c: Likewise.
6381 * math/w_logl.c: Likewise.
6382 * math/w_pow.c: Likewise.
6383 * math/w_powf.c: Likewise.
6384 * math/w_powl.c: Likewise.
6385 * math/w_remainder.c: Likewise.
6386 * math/w_remainderf.c: Likewise.
6387 * math/w_remainderl.c: Likewise.
6388 * math/w_scalb.c: Likewise.
6389 * math/w_scalbf.c: Likewise.
6390 * math/w_scalbl.c: Likewise.
6391 * math/w_sinh.c: Likewise.
6392 * math/w_sinhf.c: Likewise.
6393 * math/w_sinhl.c: Likewise.
6394 * math/w_sqrt.c: Likewise.
6395 * math/w_sqrtf.c: Likewise.
6396 * math/w_sqrtl.c: Likewise.
6397 * math/w_tgamma.c: Likewise.
6398 * math/w_tgammaf.c: Likewise.
6399 * math/w_tgammal.c: Likewise.
6400
6401 * po/ja.po: Update from translation team.
6402
6403 2011-09-29 Andreas Jaeger <aj@suse.de>
6404
6405 [BZ #13179]
6406 * sunrpc/netname.c (netname2host): Fix logic.
6407
6408 [BZ #6779]
6409 [BZ #6783]
6410 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6411 correctly.
6412 * math/w_remainder.c (__remainder): Likewise.
6413 * math/w_remainderf.c (__remainderf): Likewise.
6414 * math/libm-test.inc (remainder_test): Add test cases.
6415
6416 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6417
6418 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6419 sdiv_qrnnd.
6420
6421 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6422
6423 * string/test-memcmp.c: Avoid unncessary #defines.
6424 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6425
6426 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6427
6428 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6429 Use new sse2 version for core i3 - i7 as it's faster
6430 than sse42 version.
6431 (bit_Prefer_PMINUB_for_stringop): New.
6432 * sysdeps/x86_64/rawmemchr.S: Update.
6433 Replace with faster SSE2 version.
6434 * sysdeps/x86_64/memrchr.S: New file.
6435 * sysdeps/x86_64/memchr.S: Update.
6436 Replace with faster SSE2 version.
6437
6438 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6439
6440 * elf/dl-load.c (lose): Add cast to avoid warning.
6441
6442 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6443
6444 * po/ca.po: Update from translation team.
6445
6446 * inet/getnetgrent_r.c: Hook up nscd.
6447 * nscd/Makefile (routines): Add nscd_netgroup.
6448 (nscd-modules): Add netgroupcache.
6449 (CFLAGS-netgroupcache.c): Define.
6450 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6451 (cache_search): Add const to second parameter.
6452 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6453 INNETGR.
6454 (dbs): Add netgrdb entry.
6455 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6456 (verify_persistent_db): Handle netgrdb.
6457 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6458 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6459 GETFDNETGR.
6460 (netgroup_response_header): Define.
6461 (innetgroup_response_header): Define.
6462 (datahead): Add netgroup_response_header and innetgroup_response_header
6463 elements.
6464 * nscd/nscd.conf: Add entries for netgroup cache.
6465 * nscd/nscd.h (dbtype): Add netgrdb.
6466 (_PATH_NSCD_NETGROUP_DB): Define.
6467 (netgroup_iov_disabled): Declare.
6468 (xmalloc, xcalloc, xrealloc): Move declarations here.
6469 (cache_search): Adjust prototype.
6470 Add netgroup-related prototypes.
6471 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6472 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6473 (__nscd_innetgr): Declare.
6474 * nscd/selinux.c (perms): Use access_vector_t as element type and
6475 add netgroup-related initializers.
6476 * nscd/netgroupcache.c: New file.
6477 * nscd/nscd_netgroup.c: New file.
6478 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6479 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6480 For four parameters use innetgr.
6481 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6482 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6483 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6484 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6485
6486 * nscd/connections.c (register_traced_file): Don't register file
6487 for disabled databases.
6488
6489 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6490
6491 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6492
6493 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6494 from tree and freeing node.
6495
6496 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6497
6498 * nss/nsswitch.c (__nss_database_lookup): Handle
6499 nss_parse_service_list out of memory case.
6500
6501 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6502
6503 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6504 out of memory case.
6505
6506 2011-10-04 Andreas Schwab <schwab@redhat.com>
6507
6508 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6509 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6510 pass it down.
6511 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6512 elf_machine_rela, elf_machine_lazy_rel.
6513 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6514 (ELF_DYNAMIC_DO_REL): Likewise.
6515 (ELF_DYNAMIC_DO_RELA): Likewise.
6516 (ELF_DYNAMIC_RELOCATE): Likewise.
6517 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6518 to ELF_DYNAMIC_DO_REL.
6519 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6520 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6521 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6522 elf_machine_rela.
6523 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6524 skip_ifunc, don't call ifunc function if non-zero.
6525 (elf_machine_rela): Likewise.
6526 (elf_machine_lazy_rel): Likewise.
6527 (elf_machine_lazy_rela): Likewise.
6528 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6529 (elf_machine_lazy_rel): Likewise.
6530 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6531 Likewise.
6532 (elf_machine_lazy_rel): Likewise.
6533 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6534 Likewise.
6535 (elf_machine_lazy_rel): Likewise.
6536 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6537 (elf_machine_lazy_rel): Likewise.
6538 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6539 (elf_machine_lazy_rel): Likewise.
6540 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6541 (elf_machine_lazy_rel): Likewise.
6542 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6543 (elf_machine_lazy_rel): Likewise.
6544 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6545 (elf_machine_lazy_rel): Likewise.
6546 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6547 (elf_machine_lazy_rel): Likewise.
6548
6549 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6550
6551 * nss/nss_files/files-init.c (_nss_files_init): Use static
6552 initialization for all the *_traced_file variables.
6553
6554 2011-09-28 Andreas Schwab <schwab@redhat.com>
6555
6556 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6557
6558 2011-09-27 Roland McGrath <roland@hack.frob.com>
6559
6560 [BZ #13226]
6561 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6562
6563 2011-09-27 Andreas Schwab <schwab@redhat.com>
6564
6565 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6566 Reread the line before reparsing it.
6567
6568 2011-09-26 Andreas Schwab <schwab@redhat.com>
6569
6570 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6571
6572 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6573 Maxim Kuvyrkov <maxim@codesourcery.com>
6574 Joseph Myers <joseph@codesourcery.com>
6575
6576 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6577 if needed for __stack_chk_guard.
6578
6579 2011-09-19 Roland McGrath <roland@hack.frob.com>
6580
6581 * sysdeps/posix/spawni.c (script_execute): Always define it.
6582 It will be optimized away if unused.
6583 (maybe_script_execute): New function.
6584 (__spawni): Call it.
6585
6586 * Makerules: Don't include tls.make.
6587 (config-tls): Always set to thread.
6588 * tls.make.c: File removed.
6589
6590 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6591
6592 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6593 * config.make.in (CPPFLAGS-config): New substituted variable.
6594
6595 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6596
6597 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6598
6599 [BZ #13192]
6600 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6601 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6602
6603 2011-09-15 Roland McGrath <roland@hack.frob.com>
6604
6605 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6606 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6607 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6608 (CALL_FAIL): Likewise.
6609 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6610 (CALL_FAIL): Macro removed.
6611 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6612
6613 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6614
6615 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6616 for __FINITE_MATH_ONLY__ == 1.
6617
6618 2011-09-15 Andreas Schwab <schwab@redhat.com>
6619
6620 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6621 __ieee754_sqrt instead of sqrt.
6622 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6623 __ieee754_sqrtf instead of sqrtf.
6624 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6625 __floorf instead of floorf.
6626 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6627 __floorf, __truncf instead of floorf, truncf.
6628
6629 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6630
6631 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6632
6633 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6634 __extern_always_inline.
6635 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6636 32-bit.
6637
6638 2011-09-14 Andreas Schwab <schwab@redhat.com>
6639
6640 * elf/rtld.c (dl_main): Also relocate in dependency order when
6641 doing symbol dependency testing.
6642
6643 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6644
6645 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6646 Always define `refsym'.
6647
6648 2011-09-13 Andreas Schwab <schwab@redhat.com>
6649
6650 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6651 (__FD_ELT): Renamed from __FDELT.
6652 * misc/bits/select2.h (__FD_ELT): Likewise.
6653 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6654 __FD_MASK instead of __FDELT, __FDMASK.
6655 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6656 Likewise.
6657 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6658 Likewise.
6659
6660 * elf/Makefile (gen-ldd): Fix pattern.
6661
6662 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6663 (init_tls): Likewise.
6664
6665 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6666
6667 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6668
6669 2011-09-12 Andreas Schwab <schwab@redhat.com>
6670
6671 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6672 `struct cmsghdr *' instead of `void *'.
6673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6674 Likewise.
6675
6676 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6677
6678 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6679 if non-absolute.
6680 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6681 ldd_rewrite_script.
6682
6683 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6684
6685 * configure.in: Remove --with-tls option.
6686 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6687 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6688 out in case it is missing.
6689 * sysdeps/ia64/elf/configure.in: Likewise.
6690 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6691 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6692 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6693 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6694 * sysdeps/sh/elf/configure.in: Likewise.
6695 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6696 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6697 * sysdeps/x86_64/elf/configure.in: Likewise.
6698 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6699 * sysdeps/mach/hurd/tls.h: Likewise.
6700
6701 [BZ #13067]
6702 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6703
6704 [BZ #13090]
6705 * configure.in: Fix use of AC_INIT.
6706
6707 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6708
6709 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6710
6711 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6712 __set_errno.
6713 * malloc/hooks.c: Likewise.
6714
6715 [BZ #11929]
6716 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6717 variables statically.
6718 (narenas): Initialize.
6719 (list_lock): Initialize.
6720 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6721 initializtion of main_arena and list_lock. Small cleanups.
6722 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6723 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6724 Add initializers to main_arena and mp_.
6725 (malloc_state): Remove pagesize member. Change all users to use
6726 GLRO(dl_pagesize).
6727
6728 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6729 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6730 is always initialized.
6731
6732 * malloc/malloc.c: Removed unused configurations and dead code.
6733 * malloc/arena.c: Likewise.
6734 * malloc/hooks.c: Likewise.
6735 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6736
6737 * include/tls.h: Removed. USE___THREAD must always be defined.
6738 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6739 * elf/dl-libc.c: Likewise.
6740 * elf/dl-tsd.c: Likewise.
6741 * include/errno.h: Likewise.
6742 * include/netdb.h: Likewise.
6743 * include/resolv.h: Likewise.
6744 * inet/herrno-loc.c: Likewise.
6745 * inet/herrno.c: Likewise.
6746 * malloc/arena.c: Likewise.
6747 * malloc/hooks.c: Likewise.
6748 * malloc/malloc.c: Likewise.
6749 * resolv/res-state.c: Likewise.
6750 * resolv/res_libc.c: Likewise.
6751 * sysdeps/i386/dl-machine.h: Likewise.
6752 * sysdeps/ia64/dl-machine.h: Likewise.
6753 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6754 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6755 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6756 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6757 * sysdeps/sh/dl-machine.h: Likewise.
6758 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6759 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6760 * sysdeps/unix/i386/sysdep.S: Likewise.
6761 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6762 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6764 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6765 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6766 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6767 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6768 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6769 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6771 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6772 * sysdeps/x86_64/dl-machine.h: Likewise.
6773 * tls.make.c: Likewise.
6774
6775 * configure.in: Remove --with-__thread option. Make tests for
6776 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6777 tls_model attribute fail if no support is available. Remove
6778 USE_IN_LIBIO.
6779 * Makeconfig: Adjust for dropped configure option. All features are
6780 now mandatory.
6781 * Makerules: Likewise.
6782 * Versions.def: Likewise.
6783 * argp/argp-fmtstream.c: Likewise.
6784 * argp/argp-fmtstream.h: Likewise.
6785 * argp/argp-help.c: Likewise.
6786 * assert/assert.c: Likewise.
6787 * config.h.in: Likewise.
6788 * config.make.in: Likewise.
6789 * configure: Likewise.
6790 * configure.in: Likewise.
6791 * csu/Versions: Likewise.
6792 * csu/init.c: Likewise.
6793 * elf/tst-audit2.c: Likewise.
6794 * elf/tst-tls10.c: Likewise.
6795 * elf/tst-tls10.h: Likewise.
6796 * elf/tst-tls11.c: Likewise.
6797 * elf/tst-tls12.c: Likewise.
6798 * elf/tst-tls14.c: Likewise.
6799 * elf/tst-tlsmod11.c: Likewise.
6800 * elf/tst-tlsmod12.c: Likewise.
6801 * elf/tst-tlsmod13.c: Likewise.
6802 * elf/tst-tlsmod13a.c: Likewise.
6803 * elf/tst-tlsmod14a.c: Likewise.
6804 * elf/tst-tlsmod15b.c: Likewise.
6805 * elf/tst-tlsmod16a.c: Likewise.
6806 * elf/tst-tlsmod16b.c: Likewise.
6807 * elf/tst-tlsmod7.c: Likewise.
6808 * elf/tst-tlsmod8.c: Likewise.
6809 * elf/tst-tlsmod9.c: Likewise.
6810 * gmon/gmon.c: Likewise.
6811 * grp/fgetgrent_r.c: Likewise.
6812 * grp/putgrent.c: Likewise.
6813 * hurd/fopenport.c: Likewise.
6814 * include/libc-symbols.h: Likewise.
6815 * include/tls.h: Likewise.
6816 * intl/gettextP.h: Likewise.
6817 * intl/loadinfo.h: Likewise.
6818 * locale/global-locale.c: Likewise.
6819 * locale/localeinfo.h: Likewise.
6820 * mach/devstream.c: Likewise.
6821 * malloc/arena.c: Likewise.
6822 * malloc/set-freeres.c: Likewise.
6823 * misc/err.c: Likewise.
6824 * misc/getttyent.c: Likewise.
6825 * misc/mntent_r.c: Likewise.
6826 * posix/getopt.c: Likewise.
6827 * posix/wordexp.c: Likewise.
6828 * pwd/fgetpwent_r.c: Likewise.
6829 * resolv/Versions: Likewise.
6830 * resolv/res_hconf.c: Likewise.
6831 * shadow/fgetspent_r.c: Likewise.
6832 * shadow/putspent.c: Likewise.
6833 * stdio-common/printf_fphex.c: Likewise.
6834 * stdio-common/tmpfile.c: Likewise.
6835 * stdlib/abort.c: Likewise.
6836 * stdlib/fmtmsg.c: Likewise.
6837 * sunrpc/auth_unix.c: Likewise.
6838 * sunrpc/clnt_perr.c: Likewise.
6839 * sunrpc/clnt_tcp.c: Likewise.
6840 * sunrpc/clnt_udp.c: Likewise.
6841 * sunrpc/clnt_unix.c: Likewise.
6842 * sunrpc/openchild.c: Likewise.
6843 * sunrpc/svc_simple.c: Likewise.
6844 * sunrpc/svc_tcp.c: Likewise.
6845 * sunrpc/svc_udp.c: Likewise.
6846 * sunrpc/svc_unix.c: Likewise.
6847 * sunrpc/xdr.c: Likewise.
6848 * sunrpc/xdr_array.c: Likewise.
6849 * sunrpc/xdr_rec.c: Likewise.
6850 * sunrpc/xdr_ref.c: Likewise.
6851 * sunrpc/xdr_stdio.c: Likewise.
6852
6853 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6854
6855 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6856
6857 2011-07-03 Andreas Jaeger <aj@suse.de>
6858
6859 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6860 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6861 regenerate with gen-libm-tests.pl.
6862
6863 2010-05-12 Petr Baudis <pasky@suse.cz>
6864
6865 [BZ #11589]
6866 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6867 around j0() zero points by switching to j1().
6868 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6872
6873 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6874
6875 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6876 instead of 0.
6877 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6878 instead of 0. .
6879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6880 Patch in part by Pavel Roskin <proski@gnu.org>.
6881
6882 [BZ #13138]
6883 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6884 realloc.
6885 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6886 Free memory block if necessary.
6887
6888 [BZ #12847]
6889 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6890 be NULL. Don't lock in this case.
6891
6892 2011-09-09 Roland McGrath <roland@hack.frob.com>
6893
6894 * elf/elf.h (ELFOSABI_GNU): New macro.
6895 (ELFOSABI_LINUX): Define to that.
6896
6897 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6898
6899 * string/strncat.c (strncat): Undef the symbol in case it has been
6900 defined in bits/string.h.
6901
6902 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6903
6904 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6905
6906 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6907 link map.
6908
6909 2011-08-17 Andreas Jaeger <aj@suse.de>
6910
6911 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6912
6913 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6914 Ian Lance Taylor <iant@google.com>
6915
6916 * math/libm-test.inc (lround_test): New testcase.
6917 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6918
6919 2011-09-08 Ulrich Drepper <drepper@gmail.com>
6920
6921 * Makefile: Remove support for automatic cvs check-ins.
6922 * Makerules: Likewise.
6923 * config.make.in: Likewise.
6924 * configure.in: Likewise.
6925 * intl/Makefile: Likewise.
6926 * locale/Makefile: Likewise.
6927 * po/Makefile: Likewise.
6928 * posix/Makefile: Likewise.
6929 * sysdeps/gnu/Makefile: Likewise.
6930 * sysdeps/mach/hurd/Makefile: Likewise.
6931 * sysdeps/sparc/sparc32/Makefile: Likewise.
6932
6933 [BZ #13118]
6934 * posix/Makefile (bug-regex32-ENV): Define.
6935 Patch by John Stanley <jpsinthemix@verizon.net>.
6936
6937 * misc/Makefile (headers): Add bits/select2.h.
6938 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6939 * misc/bits/select2.h: New file.
6940 * include/bits/select2.h: New file.
6941 * debug/Makefile (routines): Add fdelt_chk.
6942 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6943 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6944 FD_ISSET.
6945 * debug/fdelt_chk.c: New file.
6946
6947 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6948 * wcsmbs/test-wmemcmp.c: Likewise.
6949 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
6950 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
6951
6952 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6953
6954 * string/Makefile (strop-tests): Add memcmp.
6955 * string/test-wmemcmp.c: New file.
6956 * string/test-memcmp.c: Add wmemcmp support.
6957
6958 2011-09-08 Roland McGrath <roland@hack.frob.com>
6959
6960 [BZ #13153]
6961 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6962 2011-07-19 change.
6963
6964 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6965 garbage value in a __mach_port_mod_refs call in the cases of the
6966 task-self and thread-self ports.
6967
6968 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
6969
6970 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
6971
6972 2011-09-08 Andreas Schwab <schwab@redhat.com>
6973
6974 * elf/dl-load.c (lose): Check for non-null L.
6975
6976 2011-09-07 Ulrich Drepper <drepper@gmail.com>
6977
6978 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
6979
6980 * elf/dl-libc.c (dlerror_run): Pass back error code from
6981 dl_catch_error.
6982
6983 [BZ #13123]
6984 * elf/dl-load.c (lose): Free l_origin if it is valid.
6985
6986 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
6987 names.
6988 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6989 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6990 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6991 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6992 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6993 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
6994
6995 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6996
6997 * sysdeps/powerpc/fpu/e_hypot.c: New file.
6998 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
6999 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7000 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7001 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7002 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7003 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7004 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7005 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7006 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7007
7008 2011-08-15 Alan Modra <amodra@gmail.com>
7009
7010 [BZ #13092]
7011 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7012 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7013 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7014 ppc_mcount to static-only-routines.
7015 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7016 __mcount_internal.
7017 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7018 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7019
7020 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7021
7022 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7023 for finite and infinity parameters.
7024
7025 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7026
7027 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7028 and add nop instructions for throughput optimization.
7029 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7030
7031 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7032
7033 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7034 aligned copy for power7 with vector-scalar instructions.
7035 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7036
7037 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7038
7039 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7040 AVX check.
7041
7042 2011-09-07 Andreas Schwab <schwab@redhat.com>
7043
7044 [BZ #13144]
7045 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7046 last change.
7047
7048 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7049
7050 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7051 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7052 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7053 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7054 clock_gettime.
7055
7056 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7057
7058 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7059 Forgot to demangle the pointer.
7060
7061 * sysdeps/i386/sysdep.h: Define atom_text_section.
7062 * sysdeps/x86_64/sysdep.h: Likewise.
7063 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7064 section with atom_text_section.
7065 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7066 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7067 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7068 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7069 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7070
7071 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7072 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7073 already be defined. Change to take two parameters and don't assign
7074 result to variable. Adjust all users.
7075 Define INTERNAL_GETTIME if not already defined.
7076 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7077 call.
7078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7079 HAVE_CLOCK_GETTIME_VSYSCALL.
7080 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7081
7082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7083 gettimeofday vsyscall, just use time.
7084
7085 2011-09-06 Andreas Schwab <schwab@redhat.com>
7086
7087 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7088 <errno.h>.
7089
7090 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7091
7092 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7093 syscall on x86-64.
7094 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7095 syscall.
7096 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7097 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7098 syscall if possible.
7099
7100 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7101
7102 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7103 e_ident. Don't pass to find_mapsXX.
7104 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7105
7106 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7107
7108 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7109 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7110 * sysdeps/x86_64/multiarch/strchr.S: Update.
7111 Check bit_slow_BSF bit.
7112 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7113 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7114 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7115
7116 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7117
7118 [BZ #13134]
7119 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7120 before glibc 2.15.
7121 (tryshell): Define.
7122 (__spawni): Change last parameter to be flag. Test
7123 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7124 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7125 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7126 * posix/spawni.c: Likewise.
7127 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7128 * posix/spawnp.c: Likewise. Change normal version to use
7129 SPAWN_XFLAGS_USE_PATH.
7130 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7131 SPAWN_XFLAGS_TRY_SHELL.
7132
7133 [BZ #13150]
7134 * posix/glob.h: Remove gcc 1.x support.
7135
7136 [BZ #13068]
7137 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7138
7139 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7140
7141 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7142 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7143 strrchr-sse2-bsf
7144 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7145 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7146 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7147 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7148 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7149 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7150
7151 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7152
7153 * sysdeps/x86_64/wcscmp.S: New file.
7154
7155 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7156 wcscmp-c wcscmp-sse2
7157 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7158 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7159 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7160 * wcsmbs/wcscmp.c: Allow renaming.
7161
7162 2011-09-05 David S. Miller <davem@davemloft.net>
7163
7164 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7165 stack slot, rather than the struct return pointer slot.
7166 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7167 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7169 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7170
7171 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7172
7173 * po/ja.po: Update from translation team.
7174
7175 [BZ #13144]
7176 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7177 kernel in 64-bit binaries.
7178
7179 2011-09-01 David S. Miller <davem@davemloft.net>
7180
7181 * elf/elf.h (HWCAP_SPARC_*): Move to..
7182 * sysdeps/sparc/sysdep.h: this new file and add new values.
7183 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7184 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7185 _DL_HWCAP_COUNT to 24.
7186 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7187 entries.
7188 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7189 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7190 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7191 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7192 instead of magic constants.
7193 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7194
7195 2011-08-31 David S. Miller <davem@davemloft.net>
7196
7197 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7198 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7199 Reimplement to do errno handling inline.
7200 (SYSCALL_ERROR_HANDLER): New macro.
7201 (__SYSCALL_STRING): Do not do errno handling in asm.
7202 (__CLONE_SYSCALL_STRING): Delete.
7203 (__INTERNAL_SYSCALL_STRING): Delete.
7204 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7205 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7206 (PSEUDO): Reimplement to do errno handling inline.
7207 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7208 (SYSCALL_ERROR_HANDLER): New macro.
7209 (__SYSCALL_STRING): Do not do errno handling in asm.
7210 (__CLONE_SYSCALL_STRING): Delete.
7211 (__INTERNAL_SYSCALL_STRING): Delete.
7212 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7213 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7214 i386.
7215 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7216 (inline_syscall*): Add 'err' argument.
7217 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7218 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7219 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7220 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7221
7222 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7223 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7224
7225 2011-08-30 Andreas Schwab <schwab@redhat.com>
7226
7227 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7228
7229 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7230
7231 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7232 directive.
7233
7234 2011-08-24 David S. Miller <davem@davemloft.net>
7235
7236 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7237
7238 2011-08-24 Andreas Schwab <schwab@redhat.com>
7239
7240 * elf/Makefile: Add rules to build and run unload8 test.
7241 * elf/unload8.c: New file.
7242 * elf/unload8mod1.c: New file.
7243 * elf/unload8mod1x.c: New file.
7244 * elf/unload8mod2.c: New file.
7245 * elf/unload8mod3.c: New file.
7246
7247 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7248 it wasn't used.
7249
7250 2011-08-23 David S. Miller <davem@davemloft.net>
7251
7252 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7253 subtract stack bias.
7254 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7255 %sp not %fp in calculations.
7256 (_JMPBUF_UNWINDS_ADJ): Likewise.
7257
7258 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7259 (aio_suspend): Call it to force an exception region around the
7260 AIO_MISC_WAIT() invocation.
7261
7262 2011-08-23 Andreas Schwab <schwab@redhat.com>
7263
7264 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7265 backslash.
7266
7267 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7268
7269 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7270 protection macro.
7271 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7272 and <dl-machine.h>.
7273 (Elf64_FuncDesc): Remove.
7274
7275 2011-08-22 David S. Miller <davem@davemloft.net>
7276
7277 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7278 sigaltstack check, add missing cfi directives.
7279 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7280 missing cfi directives, and sigaltstack handling.
7281
7282 2011-08-16 Andreas Schwab <schwab@redhat.com>
7283
7284 [BZ #11724]
7285 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7286 object is seen twice.
7287 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7288
7289 * elf/Makefile (distribute): Add tst-initorder2.c.
7290 (tests): Add tst-initorder2.
7291 (modules-names): Add tst-initorder2a tst-initorder2b
7292 tst-initorder2c tst-initorder2d. Add rules to build them.
7293 ($(objpfx)tst-initorder2.out): New rule.
7294 * elf/tst-initorder2.c: New file.
7295 * elf/tst-initorder2.exp: New file.
7296
7297 2011-08-22 Andreas Schwab <schwab@redhat.com>
7298
7299 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7300
7301 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7302 dependencies back to end of function.
7303
7304 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7305 $(elfobjdir)/ld.so.
7306
7307 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7308
7309 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7310 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7311 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7312 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7313 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7314 of __vdso_gettimeofday.
7315 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7316 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7317 attribute_hidden.
7318 (_libc_vdso_platform_setup): Remove initialization of
7319 __vdso_gettimeofday and __vdso_time.
7320
7321 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7322
7323 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7324 and fgetc_unlocked.
7325 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7326 getc_unlocked.
7327
7328 * elf/dl-open.c (add_to_global): Report additions to the global scope
7329 for LD_DEBUG=scopes.
7330 (dl_open_worker): Also print scope of newly loaded dependencies.
7331 (_dl_show_scope): Indicate if there is no scope.
7332
7333 [BZ #13114]
7334 * stdio-common/Makefile (tests): Add bug24.
7335 * stdio-common/bug24.c: New file.
7336
7337 2011-08-19 Andreas Jaeger <aj@suse.de>
7338
7339 [BZ #13114]
7340 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7341 non-existant file when using close-on-exec mode.
7342
7343 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7344
7345 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7346 the very first instruction.
7347
7348 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7349 the CFI state in the end.
7350 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7351 inclusion of dl-trampoline.h.
7352 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7353
7354 2011-08-19 Andreas Schwab <schwab@redhat.com>
7355
7356 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7357 expectations for long double.
7358
7359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7360 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7361
7362 2011-08-14 David S. Miller <davem@davemloft.net>
7363
7364 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7365 artificual limit depends upon the system page size.
7366
7367 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7368
7369 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7370 * resolv/Makefile: Define CFLAGS-libresolv.
7371
7372 2011-08-17 Andreas Schwab <schwab@redhat.com>
7373
7374 * nss/makedb.c (compute_tables): Make variables used in nested
7375 function static.
7376
7377 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7378
7379 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7380 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7381 if buffer was too small.
7382
7383 * elf/pldd.c (main): Attach to all threads in the process.
7384 Rewrite /proc handling to use *at functions.
7385
7386 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7387
7388 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7389 specifies first scope to show.
7390 (dl_open_worker): Update callers. Move printing scope of new
7391 object to before the relocation.
7392 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7393 * sysdeps/generic/ldsodefs.h: Update declaration.
7394
7395 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7396 string for the scope number.
7397
7398 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7399
7400 * nscd/servicescache.c (cache_addserv): Make sure written is always
7401 initialized.
7402
7403 2011-08-14 Roland McGrath <roland@hack.frob.com>
7404
7405 * sysdeps/i386/i486/bits/atomic.h
7406 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7407 statement expression, so as to suppress "set but not used" warning.
7408 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7409
7410 * string/strncat.c (STRNCAT): Use prototype definition.
7411
7412 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7413 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7414 -Iprograms here.
7415 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7416 (localedef-modules): Add localedef.
7417 (locale-modules): Add locale.
7418
7419 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7420 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7421 to avoid a warning.
7422
7423 2011-08-14 David S. Miller <davem@davemloft.net>
7424
7425 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7426 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7427
7428 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7429
7430 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7431 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7432 * elf/rtld.c (dl_main): Set l_name of vDSO.
7433 Call _dl_show_scope when DL_DEBUG_SCOPES.
7434 (process_dl_debug): Recognize scopes flag and also set it for all.
7435 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7436 Declare _dl_show_scope.
7437
7438 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7439 (do_dlopen): Pass caller_dlopen to dl_open.
7440 (__libc_dlopen_mode): Initialize caller_dlopen.
7441
7442 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7443 of libc. Make tolower call locale-independent. Optimize a bit by
7444 using isdigit instead of isalnum.
7445 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7446
7447 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7448
7449 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7450 was a dependency or dynamically loaded.
7451
7452 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7453
7454 * intl/l10nflist.c: Allow architecture-specific pop function.
7455 * sysdeps/x86_64/l10nflist.c: New file.
7456
7457 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7458 classification.
7459
7460 2011-08-10 Andreas Schwab <schwab@redhat.com>
7461
7462 * include/dirent.h: Add libc_hidden_proto for scandirat and
7463 scandirat64. Don't declare __scandirat64.
7464 * dirent/scandirat.c: Add libc_hidden_def.
7465 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7466 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7467
7468 2011-08-10 David S. Miller <davem@davemloft.net>
7469
7470 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7471 enum.
7472 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7473 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7474 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7475
7476 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7477
7478 * Versions.def [libc]: Add GLIBC_2.15.
7479 * dirent/Makefile (routines): Add scandirat and scandirat64.
7480 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7481 GLIBC_2.15.
7482 * dirent/dirent.h: Declare scandirat and scandirat64.
7483 * dirent/scandirat.c: New file.
7484 * dirent/scandirat64.c: New file.
7485 * sysdeps/wordsize-64/scandirat.c: New file.
7486 * sysdeps/wordsize-64/scandirat64.c: New file.
7487 * dirent/opendir.c: Define opendirat.
7488 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7489 using scandirat.
7490 * dirent/scandir64.c: Adjust for scandir.c change.
7491 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7492 __scandirat64, and __scandir_cancel_handler.
7493 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7494 additional parameter and use openat instead of open (outside of ld.so).
7495 Add new __opendir as wrapper around __opendirat.
7496 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7497 here without requiring old scandirat implementation.
7498
7499 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7500
7501 * dirent/scandir.c (cancel_handler): Renamed to
7502 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7503 defined. Adjust users.
7504 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7505 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7506
7507 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7508
7509 * string/test-string.h (IMPL): Use __STRING to expand name and then
7510 stringify it.
7511
7512 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7513 of cleanups.
7514
7515 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7516
7517 * string/Makefile: Update.
7518 (strop-tests): Append strncat.
7519 * string/test-wcscmp.c: New file.
7520 New comprehensive test for wcscmp.
7521 * string/test-strcmp.c: Update.
7522 (WIDE): New define.
7523
7524 2011-07-22 Andreas Schwab <schwab@redhat.com>
7525
7526 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7527 line.
7528
7529 2011-07-26 Andreas Schwab <schwab@redhat.com>
7530
7531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7532 encoding to ACE if AI_IDN.
7533
7534 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7535
7536 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7537 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7538
7539 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7540
7541 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7542 Fix overflow bug in strncat.
7543 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7544
7545 * string/test-strncat.c: Update.
7546 Add new tests for checking overflow bugs.
7547
7548 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7549
7550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7551 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7552 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7553 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7554 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7555 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7556 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7557 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7558 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7559
7560 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7561 (USE_AS_STRCAT): Define.
7562 Add strcat and strncat support.
7563 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7564
7565 2011-07-25 Andreas Schwab <schwab@redhat.com>
7566
7567 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7568 __n bigger than INT_MAX+1.
7569 (__strncmp_g): Likewise.
7570
7571 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7572
7573 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7574 * libio/stido.h: Likewise.
7575
7576 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7577 (AF_NFC): Define.
7578 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7579 (AF_NFC): Define.
7580
7581 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7582 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7583 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7584 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7585 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7586
7587 [BZ #13021]
7588 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7589 installed.
7590
7591 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7592 typo.
7593 (_dl_x86_64_save_sse): Likewise.
7594
7595 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7596
7597 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7598 OSXSAVE.
7599 (_dl_x86_64_save_sse): Likewise.
7600
7601 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7602
7603 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7604
7605 2011-07-21 Andreas Schwab <schwab@redhat.com>
7606
7607 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7608 change.
7609 (_dl_x86_64_save_sse): Use correct AVX check.
7610
7611 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7612
7613 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7614 bug in strncpy/strncat.
7615 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7616
7617 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7618
7619 * string/tester.c (test_strcat): Add tests for different alignments
7620 of source and destination.
7621 (test_strncat): Likewise.
7622
7623 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7624
7625 [BZ #12852]
7626 * posix/glob.c (glob): Check passed in values before using them in
7627 expressions to avoid some overflows.
7628 (glob_in_dir): Likewise.
7629
7630 [BZ #13007]
7631 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7632 check for AVX enablement so that we don't crash with old kernels and
7633 new hardware.
7634 * elf/tst-audit4.c: Add same checks here.
7635 * elf/tst-audit6.c: Likewise.
7636
7637 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7638
7639 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7640
7641 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7642
7643 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7644
7645 * po/cs.po: Update from translation team.
7646 * po/bg.po: Likewise.
7647
7648 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7649
7650 * misc/sys/cdefs.h: Add support for const attribute.
7651 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7652 to gnu_dev_{major,minor,makedev} functions.
7653
7654 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7655
7656 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7657
7658 2011-07-20 Andreas Schwab <schwab@redhat.com>
7659
7660 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7661 strlen results.
7662
7663 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7664
7665 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7666 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7667 register in order to avoid conflicts with the soft frame pointer
7668 being held in r11 when necessary.
7669 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7670 (INTERNAL_VSYSCALL_NCS): Likewise.
7671
7672 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7673
7674 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7675 * elf/dl-fini.c (_dl_fini): Adjust caller.
7676 * elf/dl-close.c (_dl_close_worker): Likewise.
7677 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7678
7679 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7680
7681 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7682 "aux_cache->nlibs < 0".
7683
7684 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7685 in the reload-count case.
7686
7687 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7688
7689 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7690 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7691 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7692 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7693 * sysdeps/x86_64/multiarch/strcat.S: New file.
7694 * sysdeps/x86_64/multiarch/strncat.S: New file.
7695 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7696 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7697 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7698 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7699 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7700 (USE_AS_STRCAT): Define.
7701 Add strcat and strncat support.
7702 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7703 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7704 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7705 * string/strncat.c: Update.
7706 (USE_AS_STRNCAT): Define.
7707 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7708 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7709 and i7.
7710 * sysdeps/x86_64/multiarch/init-arch.h
7711 (bit_Prefer_PMINUB_for_stringop): New.
7712 (index_Prefer_PMINUB_for_stringop): Likewise.
7713 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7714 bit_Prefer_PMINUB_for_stringop.
7715
7716 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7717
7718 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7719 buffer64.
7720 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7721 of casting of buffer.
7722 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7723 buffer32 and buffer64.
7724 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7725 writes instead of casting of buffer.
7726 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7727 buffer32.
7728 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7729 casting of buffer.
7730
7731 2011-07-19 Andreas Schwab <schwab@redhat.com>
7732
7733 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7734
7735 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7736
7737 * nscd/nscd.c (termination_handler): Don't do anything for a database
7738 if it has not yet been initialized.
7739
7740 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7741
7742 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7743
7744 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7745
7746 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7747
7748 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7749
7750 * po/nl.po: Update from translation team.
7751 * po/sv.po: Likewise.
7752
7753 2011-07-16 Roland McGrath <roland@hack.frob.com>
7754
7755 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7756 now disallowed by GCC.
7757
7758 * configure.in (use-default-link): Default to yes if a test -shared
7759 link meets our qualifications.
7760 * configure: Regenerated.
7761
7762 * config.make.in (output-format): New variable.
7763 * configure.in: Check for ld --print-output-format support.
7764 * configure: Regenerated.
7765 * Makerules ($(common-objpfx)format.lds)
7766 [$(output-format) != unknown]: Just use $(output-format),
7767 instead of the linker-script munging.
7768
7769 2011-07-14 Roland McGrath <roland@hack.frob.com>
7770
7771 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7772 of $(common-objpfx)shlib.lds.
7773 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7774
7775 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7776 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7777
7778 * configure.in (-z relro check): Adjust test code to add a large
7779 writable data section after it.
7780 * configure: Regenerated.
7781
7782 2011-07-11 Roland McGrath <roland@hack.frob.com>
7783
7784 * configure.in (-z relro check): Fix test code to make the variable
7785 truly const.
7786 * configure: Regenerated.
7787
7788 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7789
7790 * nscd/nscd.h (struct traced_file): Define.
7791 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7792 elements. Add traced_files.
7793 (inotify_fd): Declare.
7794 (register_traced_file): Declare.
7795 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7796 (inotify_fd): Export.
7797 (resolv_conf_descr): Remove.
7798 (nscd_init): Move inotify descriptor creation to main.
7799 Don't register files for notification here.
7800 (register_traced_file): New function.
7801 (invalidate_cache): Don't use reset_res to determine whether to call
7802 res_init, go through the list of registered files.
7803 (main_loop_poll): The inotify descriptors are now stored in the
7804 structures for the traced files.
7805 (main_loop_epoll): Likewise
7806 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7807 to __nss_disable_nscd.
7808 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7809 for a database anymore. Check the records for all the registered
7810 files instead.
7811 * nss/Makefile (libnss_files-routines): Add files-init.
7812 (libnss_db-routines): Add db-init.
7813 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7814 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7815 * nss/nss_db/db-init.c: New file.
7816 * nss/nss_files/files-init.c: New file.
7817 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7818 __nss_lookup_function.
7819 (__nss_lookup_function): Call nss_load_library.
7820 (nss_load_all_libraries): New function.
7821 (__nss_disable_nscd): Take parameter with callback function for files
7822 to register. Set is_nscd. Load all the DSOs for the NSS modules
7823 used for the cached services.
7824 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7825 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7826 options for features to all the files in nscd.
7827
7828 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7829
7830 2011-07-10 Roland McGrath <roland@hack.frob.com>
7831
7832 * csu/elf-init.c (__libc_csu_init): Comment typo.
7833
7834 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7835
7836 * po/pl.po: Update from translation team.
7837 * po/ja.po: Likewise.
7838 * po/ru.po: Likewise.
7839 * po/ko.po: Likewise.
7840 * po/fr.po: Likewise.
7841
7842 2011-07-09 Roland McGrath <roland@hack.frob.com>
7843
7844 * configure.in (.ctors/.dtors header and trailer check):
7845 Use an empirical test on a built program.
7846 * configure: Regenerated.
7847
7848 * configure.in (-z relro check): Use an empirical test on a built DSO.
7849 Detect, but do not require, on ia64.
7850 * configure: Regenerated.
7851
7852 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7853 Update tests that use readelf to use $READELF instead.
7854 * configure: Regenerated.
7855
7856 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7857
7858 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7859 if the result is not used.
7860
7861 2011-07-05 Andreas Jaeger <aj@suse.de>
7862
7863 [BZ#9696]
7864 * stdlib/tst-strtod.c: Add testcase.
7865
7866 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7867
7868 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7869 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7870 The latter has a higher limit. Take additional parameter to pass to
7871 the new function.
7872 (__pathconf): Pass file to __statfs_link_max.
7873 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7874 __statfs_link_max.
7875 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7876 __statfs_link_max.
7877
7878 [BZ #12868]
7879 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7880 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7881 Handle Lustre.
7882 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7883 (__statfs_filesize_max): Likewise.
7884 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7885
7886 2011-07-05 Andreas Jaeger <aj@suse.de>
7887
7888 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7889
7890 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7891
7892 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7893 `status' variable.
7894 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7895 Likewise.
7896
7897 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7898
7899 * Makefile (strop-tests): Add strncat.
7900 * string/test-strncat.c: New file.
7901
7902 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7903
7904 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7905
7906 2011-06-21 Andreas Jaeger <aj@suse.de>
7907
7908 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7909 Copy rule from iconvdata/Makefile.
7910
7911 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7912
7913 [BZ #12922]
7914 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7915 but no long options are defined, just return 'W'.
7916
7917 2011-06-22 Marek Polacek <mpolacek@redhat.com>
7918
7919 [BZ #9696]
7920 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7921
7922 2011-07-06 Ulrich Drepper <drepper@gmail.com>
7923
7924 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7925 netgroups to read.
7926 (innetgr): Likewise.
7927
7928 2011-07-05 Roland McGrath <roland@hack.frob.com>
7929
7930 * config.make.in (install_root): Default to $(DESTDIR).
7931
7932 2011-07-05 Ulrich Drepper <drepper@gmail.com>
7933
7934 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7935
7936 2011-07-02 Roland McGrath <roland@hack.frob.com>
7937
7938 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7939
7940 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7941 containing directory rather than embedding absolute directory names.
7942
7943 * scripts/check-local-headers.sh: Rewritten using awk.
7944 Match by word, not by line. Print error messages for matches.
7945 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7946
7947 * Makerules [shlib-lds-flags empty]:
7948 ($(common-objpfx)libc_pic.opts): New target.
7949 ($(common-objpfx)libc_pic.os.clean): New target.
7950 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7951
7952 * config.make.in (OBJCOPY): New variable.
7953 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7954 * configure: Regenerated.
7955
7956 * config.make.in (use-default-link): New variable.
7957 * configure.in (use_default_link): Grok --with-default-link to set it.
7958 * configure: Regenerated.
7959 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7960 (shlib-lds, shlib-lds-flags): Define to empty.
7961
7962 * Makerules (shlib-lds): New variable.
7963 (shlib-lds-flags): New variable.
7964 (build-shlib, build-moduile, build-module-asneeded): Use it.
7965 ($(common-objpfx)libc.so): Use $(shlib-lds).
7966 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7967 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7968
7969 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
7970 DT_FLAGS/DT_FLAGS_1 with zero flags.
7971
7972 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
7973 linker script munging.
7974
7975 2011-07-02 Ulrich Drepper <drepper@gmail.com>
7976
7977 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
7978 as 128-bit value.
7979 * crypt/sha512.c (sha512_process_block): Perform total addition using
7980 128-bit if possible.
7981 (__sha512_finish_ctx): Likewise.
7982 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
7983 as 64-bit value.
7984 * crypt/sha256.c (SWAP64): Define.
7985 (sha256_process_block): Perform total addition using 64-bit if
7986 possible.
7987 (__sha256_finish_ctx): Likewise.
7988
7989 2011-07-01 Ulrich Drepper <drepper@gmail.com>
7990
7991 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
7992 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7993 * nscd/hstcache.c (cache_addhst): Likewise.
7994 * nscd/grpcache.c (cache_addgr): Likewise.
7995 * nscd/aicache.c (addhstaiX): Likewise
7996 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
7997
7998 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
7999
8000 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8001 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8002 * nscd/hstcache.c (cache_addhst): Likewise.
8003 * nscd/grpcache.c (cache_addgr): Likewise.
8004 * nscd/aicache.c (addhstaiX): Likewise
8005
8006 2011-07-01 Andreas Schwab <schwab@redhat.com>
8007
8008 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8009 domain only when needed.
8010
8011 2011-06-30 Andreas Schwab <schwab@redhat.com>
8012
8013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8014 is always restored.
8015
8016 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8017
8018 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8019 are re-adding the entry.
8020 * nscd/servicescache.c (cache_addserv): Likewise.
8021
8022 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8023
8024 * sysdeps/generic/dl-irel.h: fix protection against multiple
8025 inclusions.
8026 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8027
8028 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8029
8030 [BZ #12935]
8031 * malloc/memusage.sh: Fix quoting in message.
8032 * debug/xtrace.sh: Likewise.
8033
8034 * configure.in: Remove support for --experimental-malloc option, make
8035 it the default.
8036 * config.make.in: Likewise.
8037 * malloc/Makefile: Likewise.
8038
8039 2011-06-27 Andreas Schwab <schwab@redhat.com>
8040
8041 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8042 two-byte characters.
8043
8044 2011-06-27 Roland McGrath <roland@hack.frob.com>
8045
8046 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8047 AC_CACHE_CHECK invocation.
8048 * configure: Regenerated.
8049
8050 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8051
8052 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8053
8054 [BZ #12350]
8055 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8056 bit from old_res_options.
8057
8058 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8059
8060 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8061 value type for setfct.
8062
8063 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8064
8065 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8066 __gettimeofday instead of gettimeofday.
8067
8068 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8069
8070 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8071
8072 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8073
8074 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8075
8076 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8077 info.
8078
8079 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8080
8081 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8082 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8083 strcpy-sse2-unaligned strncpy-sse2-unaligned
8084 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8085 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8086 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8087 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8088 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8089 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8090 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8091 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8092 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8093 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8094 (STRCPY): Support SSE2 and SSSE3 versions.
8095
8096 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8097
8098 [BZ #12874]
8099 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8100 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8101 kernels which artificially limit size of requests.
8102
8103 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8104
8105 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8106 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8107 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8108 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8109 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8110 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8111 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8112 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8113 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8114 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8115 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8116 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8117 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8118 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8119 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8121 Enable unaligned load optimization for Intel Core i3, i5 and i7
8122 processors.
8123 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8124 Define.
8125 (index_Fast_Unaligned_Load): Define.
8126 (HAS_FAST_UNALIGNED_LOAD): Define.
8127
8128 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8129
8130 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8131
8132 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8133
8134 [BZ #12907]
8135 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8136 until it is clear that the information is realy needed.
8137 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8138
8139 2011-06-22 Andreas Schwab <schwab@redhat.com>
8140
8141 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8142
8143 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8144
8145 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8146 /sys/devices/system/cpu/online if it is usable.
8147
8148 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8149 reading the information from the /proc filesystem to once a second.
8150
8151 2011-06-21 Andreas Jaeger <aj@suse.de>
8152
8153 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8154 NULL after inclusion of kernel headers.
8155
8156 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8157
8158 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8159 calls to internal_setent.
8160
8161 [BZ #12885]
8162 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8163 addresses using gethostbyname4_r ignore IPv4 addresses.
8164
8165 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8166 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8167
8168 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8169
8170 2011-06-20 David S. Miller <davem@davemloft.net>
8171
8172 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8173 inclusions.
8174 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8175
8176 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8177 (elf_irel): Use it.
8178 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8179 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8180 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8181 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8182 * sysdeps/x86_64/dl-irel.h: Likewise.
8183
8184 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8185 * elf/dl-sym.c: Likewise.
8186
8187 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8188
8189 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8190 need to dereference resplen2.
8191
8192 2011-06-14 Andreas Schwab <schwab@redhat.com>
8193
8194 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8195
8196 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8197
8198 * Makeconfig: Define vardbdir and inst_vardbdir.
8199 * nss/Makefile: Add rules to install db-Makefile.
8200
8201 * nss/nss_db/db-XXX.c: Cleanup.
8202
8203 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8204 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8205 GLIBC_PRIVATE.
8206 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8207 * nss/makedb.c: Implement -g option to specify that value strings
8208 are generated and should not be added to table iterated over for
8209 get*ent calls.
8210 * nss/nss_db/db-initgroups.c: New file.
8211
8212 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8213 interface.
8214
8215 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8216 (internal_getgrouplist): Adjust to name change.
8217 Update use_initgroups_entry if this is not the first call.
8218 * nss/databases.def: Add initgroups entry.
8219
8220 * nss/makedb.c (compute_tables): Check result of multiple hash table
8221 sizes to minimize maximum chain length.
8222
8223 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8224
8225 * Versions.def: Add entry for libnss_db.
8226 * shlib-versions: Likewise.
8227 * nss/Makefile: Add rules to build libnss_db.
8228 * nss/Versions: Add libnss_db information. Organize libnss_files
8229 entries better.
8230 * nss/db-Makefile: Add gshadow support. Change rules for the new
8231 makedb progra. Some minor improvements to generate smaller files.
8232 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8233 here from...
8234 * nss/makedb.c: ...here.
8235 Improve database format to be smaller and require less memory at
8236 runtime.
8237 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8238 db anymore.
8239 * nss/nss_db/db-netgrp.c: Likewise.
8240 * nss/nss_db/db-open.c: Likewise.
8241 * nss/nss_files/flies-XXX.x: Adjust comments.
8242 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8243 * nss/nss_files/files-grp.c: Likewise.
8244 * nss/nss_files/files-hosts.c: Likewise.
8245 * nss/nss_files/files-network.c: Likewise.
8246 * nss/nss_files/files-proto.c: Likewise.
8247 * nss/nss_files/files-pwd.c: Likewise.
8248 * nss/nss_files/files-rpc.c: Likewise.
8249 * nss/nss_files/files-service.c: Likewise.
8250 * nss/nss_files/files-sgrp.c: Likewise.
8251 * nss/nss_files/files-spwd.c: Likewise.
8252 * nss/nss_db/db-alias.c: Removed.
8253 * nss/nss_db/dummy-db.h: Removed.
8254
8255 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8256
8257 * nss/makedb.c: Rewritten to not use database library.
8258 * nss/Makefile: Update to build new makedb program.
8259
8260 2011-06-14 Andreas Jaeger <aj@suse.de>
8261
8262 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8263 memset declaration.
8264
8265 2011-06-10 Andreas Schwab <schwab@redhat.com>
8266
8267 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8268 tmpbuf.
8269
8270 2011-06-10 Roland McGrath <roland@hack.frob.com>
8271
8272 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8273 * elf/Makefile ($(objpfx)ld.so): Likewise.
8274
8275 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8276 Don't list ld.so twice in dependencies.
8277
8278 * posix/bug-regex31.c: Include <stdlib.h>.
8279
8280 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8281
8282 * nis/nss_compat/compat-spwd.c
8283 (getspent_next_nss_netgr): Remove unused variable.
8284 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8285
8286 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8287 nonmembers" output to use the right array.
8288
8289 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8290
8291 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8292
8293 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8294 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8295 * catgets/gencat.c (read_input_file): Likewise.
8296 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8297
8298 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8299 variable definition inside #if's controlling its use.
8300
8301 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8302
8303 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8304
8305 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8306
8307 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8308 unreachable code.
8309
8310 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8311
8312 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8313 * configure: Regenerated.
8314
8315 * Makerules: Revert last change.
8316 * elf/Makefile: Likewise.
8317
8318 2011-06-09 Roland McGrath <roland@hack.frob.com>
8319
8320 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8321 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8322 (reloc-link): Likewise.
8323
8324 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8325
8326 * elf/Makefile: Add rules to build pldd.
8327 * elf/pldd.c: New file.
8328 * elf/pldd-xx.c: New file.
8329
8330 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8331
8332 * version.h: Update for 2.15 development version.
8333
8334 2011-06-07 David S. Miller <davem@davemloft.net>
8335
8336 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8337 ifuncs.
8338 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8339 elf_machine_lazy_rel): Likewise.
8340 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8341 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8342 elf_machine_lazy_rel): Likewise.
8343 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8344 dl_hwcap via passed in argument.
8345 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8346 Likewise.
8347
8348 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8349
8350 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8351
8352 2011-06-06 Roland McGrath <roland@hack.frob.com>
8353
8354 [BZ #12849]
8355 * manual/fdl-1.1.texi: New file, verbatim from:
8356 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8357 * manual/lgpl-2.1.texi: New file, verbatim from:
8358 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8359 * manual/Makefile (licenses): New variable, list those new file names.
8360 (texis): Use it.
8361 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8362
8363 * manual/fdl.texi: File removed.
8364 * manual/lesser.texi: File removed.
8365 * manual/libc.texinfo (Copying, Documentation License):
8366 Use new @include file names, put @appendix directive before @include.
8367
8368 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8369
8370 [BZ #12841]
8371 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8372 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8373 (mq_open): Add __NTH.
8374
8375 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8376
8377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8378 Assume Intel Core i3/i5/i7 processor if AVX is available.
8379
8380 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8381
8382 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8383 typo.
8384
8385 2011-05-31 Andreas Schwab <schwab@redhat.com>
8386
8387 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8388 memory. Use alloca_account. Fix memory leak when retrying.
8389
8390 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8391
8392 * version.h (RELEASE): Bump for 2.14 release.
8393 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8394
8395 * config.make.in (RANLIB): Remove entry.
8396
8397 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8398
8399 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8400 (libc.pot): Work around missing support for .ksh extension in xgettext.
8401
8402 [BZ #12684]
8403 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8404 if both request failed.
8405 (send_dg): In case of server errors clear resplen or *resplen2.
8406
8407 [BZ #12454]
8408 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8409 when there are multiple maps.
8410 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8411 (_dl_fini): Remove test here.
8412
8413 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8414
8415 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8416
8417 [BZ #12350]
8418 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8419 bit from old_res_options.
8420 (gaih_inet): Likewise.
8421
8422 [BZ #11099]
8423 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8424 as signed.
8425
8426 * resolv/res_init.c (res_setoptions): Make the code more compact.
8427
8428 [BZ #11558]
8429 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8430 set RES_USEVC.
8431
8432 [BZ #11634]
8433 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8434
8435 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8436
8437 [BZ #11781]
8438 * malloc/malloc.h: Declare malloc hook variables as volatile.
8439
8440 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8441 in last patch.
8442
8443 [BZ #11799]
8444 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8445 raise in the comment.
8446 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8447 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8448 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8449
8450 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8451
8452 [BZ #12811]
8453 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8454 grow the buffers more if it already has to be sufficient.
8455 (build_wcs_upper_buffer): Likewise.
8456 * posix/regexec.c (check_matching): Likewise.
8457 (clean_state_log_if_needed): Likewise.
8458 (extend_buffers): Don't enlarge buffers beyond size of the input
8459 buffer.
8460 Patches mostly by Emil Wojak <emil@wojak.eu>.
8461 * posix/bug-regex32.c: New file.
8462 * posix/Makefile (tests): Add bug-regex32.
8463
8464 * locale/findlocale.c (_nl_find_locale): Return right away if
8465 _nl_explode_name failed.
8466 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8467
8468 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8469
8470 * debug/xtrace.sh: Unify messages.
8471 * malloc/memusage.sh: Likewise.
8472
8473 [BZ #12813]
8474 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8475 time symbol from vDSO. Substitute with vsyscall if not available.
8476 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8477 __vdso_time.
8478
8479 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8480 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8481 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8482 Add sendmmsg and internal_sendmmsg.
8483 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8484 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8485 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8486
8487 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8488 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8489 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8490
8491 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8492
8493 [BZ #12813]
8494 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8495 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8496 available.
8497 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8498 __vdso_getcpu.
8499
8500 [BZ #12814]
8501 * iconvdata/Makefile (tests): Add bug-iconv9.
8502 * iconvdata/bug-iconv9.c: New file.
8503
8504 2011-05-27 Andreas Schwab <schwab@redhat.com>
8505
8506 [BZ #12814]
8507 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8508
8509 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8510
8511 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8512 (struct user_regs_struct): Change intcs field back to cs.
8513
8514 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8515
8516 * po/ja.po: Update from translation team.
8517
8518 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8519
8520 [BZ #12795]
8521 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8522 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8523
8524 2011-05-20 Andreas Schwab <schwab@redhat.com>
8525
8526 * stdlib/longlong.h: Update from GCC.
8527
8528 2011-05-23 Andreas Schwab <schwab@redhat.com>
8529
8530 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8531 parameter name.
8532 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8533 Add parameter name.
8534 (__sysconf): Pass it down.
8535
8536 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8537
8538 [BZ #12671]
8539 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8540 some situations.
8541 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8542 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8543 add in in __libc_use_alloca calls. Adjust callers.
8544 (glob): Use malloc in some situations.
8545
8546 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8547 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8548 pltexit.
8549
8550 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8551
8552 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8553 and CLOCK_BOOTTIME_ALARM.
8554
8555 [BZ #12782]
8556 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8557 is returned.
8558
8559 * string/_strerror.c (__strerror_r): Print negative errors as signed
8560 numbers.
8561
8562 [BZ #12777]
8563 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8564 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8565 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8566
8567 * configure.in: Fix typo in redirection and correct removal of test
8568 files in two cases.
8569
8570 [BZ #12788]
8571 * locale/setlocale.c (new_composite_name): Fix test to check for
8572 identical name of all categories.
8573
8574 [BZ #12792]
8575 * libio/filedoalloc.c (local_isatty): New function.
8576 (_IO_file_doallocate): Use local_isatty.
8577 * stdio-common/perror.c (perror): In case a new stream is used
8578 forward the stream error.
8579 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8580 error flag.
8581
8582 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8583
8584 [BZ #11869]
8585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8586 alloca.
8587 * include/alloca.h (extend_alloca_account): Define.
8588
8589 [BZ #11857]
8590 * posix/regex.h: Fix comments with documentation of user-accessible
8591 fields after compilation and describe correct free'ing of pattern
8592 after re_compile_pattern.
8593 Patch by Reuben Thomas <rrt@sc3d.org>.
8594
8595 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8596
8597 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8598 and -mno-altivec to prevent the compiler from using Altivec and/or
8599 VSX instructions when the corresponding registers are not available.
8600
8601 2011-05-19 Andreas Schwab <schwab@redhat.com>
8602
8603 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8604
8605 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8606
8607 * libio/freopen.c (freopen): Use __dup2, not dup2.
8608 * libio/freopen64.c (freopen64): Likewise.
8609
8610 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8611
8612 [BZ #12775]
8613 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8614 * math/Makefile (tests): Add test-powl.
8615 (CFLAGS-test-powl.c): Define.
8616 * math/test-powl.c: New file.
8617
8618 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8619
8620 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8621
8622 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8623
8624 [BZ #11837]
8625 * iconvdata/gb18030.c: Update to GB18020-2005.
8626
8627 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8628
8629 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8630 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8631 Patch by Aharon Robbins <arnold@skeeve.com>.
8632
8633 [BZ #11892]
8634 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8635 on the stack.
8636
8637 [BZ #11895]
8638 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8639 through underflows.
8640
8641 [BZ #12766]
8642 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8643 point to strings before performing equality test for error_one_per_line
8644 mode.
8645
8646 [BZ #11697]
8647 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8648
8649 [BZ #11820]
8650 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8651 (struct user_fpregs_struct): Avoid __uint*_t types.
8652
8653 [BZ #6420]
8654 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8655 symbol info. Use it instead of calling _dl_addr locally.
8656 (lock_and_info): New function.
8657 (tr_freehook): Call lock_and_info and pass symbol info as additional
8658 parameter to tr_where.
8659 (tr_mallochook): Likewise.
8660 (tr_reallochook): Likewise.
8661 (tr_memalignhook): Likewise.
8662
8663 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8664 used and couldn't be at all thread-safe.
8665
8666 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8667
8668 * libio/freopen.c (freopen): Don't close old file descriptor
8669 before the new one is opened. Instead dup the new file descriptor
8670 to the old one after the new stream is created.
8671 * libio/freopen64.c (freopen64): Likewise.
8672 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8673 * libio/fileops.c (_IO_new_file_close_it): Handle new
8674 _IO_FLAGS2_NOCLOSE flag.
8675 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8676 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8677 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8678 _IO_FLAGS2_NOCLOSE flag.
8679 * include/unistd.h: Add hidden_proto for dup3.
8680 Define __have_dup3.
8681 * io/dup3.c: Define hidden symbol.
8682 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8683
8684 [BZ #7101]
8685 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8686 when an incomplete long option is used.
8687 * posix/tst-getopt_long1.c: New file.
8688 * posix/Makefile (tests): Add tst-getopt_long1.
8689
8690 [BZ #10138]
8691 * scripts/config.guess: Update from autoconf-2.68.
8692 * scripts/config.sub: Likewise.
8693
8694 [BZ #10157]
8695 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8696 tests into ...
8697 (has_cpuclock): ...this. New function.
8698 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8699 macro here based on has_cpuclock code.
8700
8701 [BZ #10149]
8702 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8703 First byte (not low byte) is now always NUL.
8704 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8705
8706 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8707 Use non-cancelable interfaces.
8708
8709 [BZ #9809]
8710 * locale/iso-639.def: Add entry for Sorani.
8711
8712 [BZ #11901]
8713 * include/stdlib.h: Move include protection to the right place.
8714 Define abort_msg_s. Declare __abort_msg with it.
8715 * stdlib/abort.c (__abort_msg): Adjust type.
8716 * assert/assert.c (__assert_fail_base): New function. Majority
8717 of code from __assert_fail. Allocate memory for __abort_msg with
8718 mmap.
8719 (__assert_fail): Now call __assert_fail_base.
8720 * assert/assert-perr.c: Remove bulk of implementation. Use
8721 __assert_fail_base.
8722 * include/assert.hL Declare __assert_fail_base.
8723 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8724 mmap.
8725 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8726
8727 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8728
8729 [BZ #11952]
8730 [BZ #12453]
8731 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8732 until all modules are registered in the DTV.
8733 * elf/Makefile: Add rules to build and run tst-tls19.
8734 * elf/tst-tls19.c: New file.
8735 * elf/tst-tls19mod1.c: New file.
8736 * elf/tst-tls19mod2.c: New file.
8737 * elf/tst-tls19mod3.c: New file.
8738 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8739
8740 [BZ #12083]
8741 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8742 correctly.
8743
8744 [BZ #12601]
8745 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8746 two-byte sequence errors.
8747 * iconvdata/Makefile (tests): Add bug-iconv8.
8748 * iconvdata/bug-iconv8.c: New file.
8749
8750 [BZ #12626]
8751 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8752 buf2 definition.
8753
8754 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8755
8756 [BZ #12432]
8757 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8758 (dummy_getcfa): New function.
8759 (init): Get _Unwind_GetCFA address, use dummy if not found.
8760 (backtrace_helper): In recursion check, also check whether CFA changes.
8761 (__backtrace): Completely initialize arg.
8762
8763 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8764 storing incomplete byte sequence in state object. Avoid testing for
8765 guaranteed too small input if we know there is enough data available.
8766
8767 2011-05-11 Andreas Schwab <schwab@redhat.com>
8768
8769 * Makeconfig (+link-pie): Indent.
8770 * Rules (binaries-pie): Define if $(have-fpie) and
8771 $(build-shared).
8772 (binaries-shared): Also filter out $(binaries-pie).
8773 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8774 * nscd/Makefile (others-pie): Add nscd.
8775 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8776 ($(objpfx)nscd): Remove command override.
8777 * login/Makefile (others-pie): Add pt_chown.
8778 ($(objpfx)pt_chown): Remove command override.
8779 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8780 remove command overrides.
8781
8782 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8783
8784 * libio/tst_putwc.c: Fix error messages.
8785
8786 [BZ #12724]
8787 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8788 currently writing and seek to current position when not.
8789 * libio/Makefile (tests): Add bug-fclose1.
8790 * libio/bug-fclose1.c: New file.
8791
8792 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8793
8794 [BZ #12511]
8795 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8796 don't set DF_1_NODELETE here.
8797 (do_lookup_x): When entering new entry test for copy relocation
8798 and if necessary set DF_1_NODELETE flag.
8799 * elf/tst-unique4.cc: New file.
8800 * elf/tst-unique4.h: New file.
8801 * elf/tst-unique4lib.cc: New file.
8802 * elf/Makefile: Add rules to build and run tst-unique4.
8803 Patch by Piotr Bury <pbury@goahead.com>.
8804
8805 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8806
8807 [BZ #12052]
8808 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8809
8810 [BZ #12625]
8811 * misc/mntent_r.c (addmntent): Flush the stream after the output
8812
8813 [BZ #12393]
8814 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8815 (is_trusted_path_normalize): Skip initial colon. Append slash
8816 to empty buffer. Duplicate is_trusted_path code but allow
8817 constructed patch to be prefix.
8818 (is_dst): Allow $ORIGIN followed by /.
8819 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8820 Correct testing of result of is_trusted_path_normalize
8821 (decompose_rpath): Fix warning.
8822
8823 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8824
8825 [BZ #11257]
8826 * grp/initgroups.c (internal_getgrouplist): When we found the service
8827 list through the initgroups entry in nsswitch.conf do not always
8828 continue on a successful lookup. Don't always use the
8829 __nss_group_database value if it is set.
8830 * nss/nsswitch.conf (initgroups): Change action for successful db
8831 lookup to continue for compatibility.
8832
8833 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8834
8835 [BZ #11532]
8836 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8837 and CP774 modules.
8838 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8839 and CP774 modules.
8840 * iconvdata/tst-tables.sh: Likewise.
8841 * iconvdata/cp770.c: New file.
8842 * iconvdata/cp771.c: New file.
8843 * iconvdata/cp772.c: New file.
8844 * iconvdata/cp773.c: New file.
8845 * iconvdata/cp774.c: New file.
8846 * iconvdata/testdata/CP770: New file.
8847 * iconvdata/testdata/CP770..UTF8: New file.
8848 * iconvdata/testdata/CP771: New file.
8849 * iconvdata/testdata/CP771..UTF8: New file.
8850 * iconvdata/testdata/CP772: New file.
8851 * iconvdata/testdata/CP772..UTF8: New file.
8852 * iconvdata/testdata/CP773: New file.
8853 * iconvdata/testdata/CP773..UTF8: New file.
8854 * iconvdata/testdata/CP774: New file.
8855 * iconvdata/testdata/CP774..UTF8: New file.
8856
8857 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8858 END CHARMAP line.
8859 * iconvdata/gen-8bit-gap.sh: Likewise.
8860 * iconvdata/gen-8bit.sh: Likewise.
8861
8862 * locale/iso-639.def: Add ary entry.
8863
8864 [BZ #11258]
8865 * locale/C-translit.h.in: Add U20A1 transliteration.
8866
8867 [BZ #12178]
8868 * locale/iso-639.def: Add wae entry.
8869 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8870
8871 [BZ #12545]
8872 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8873 for n.
8874
8875 [BZ #12711]
8876 * locale/C-translit.h.in: Add entry for U20B9.
8877 Patch by pravin.d.s@gmail.com.
8878
8879 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8880
8881 [BZ #12713]
8882 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8883 ENAMETOOLONG use generic getcwd.
8884 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8885 in rtld. Use *stat64.
8886 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8887 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8888 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8889 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8890 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8891 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8892 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8893 __fstatat64 macros.
8894 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8895 * dirent/rewinddir.c: Add libc_hidden_def.
8896 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8897 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8898
8899 * include/dirent.h (__alloc_dir): Add flags parameter.
8900 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8901 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8902 __alloc_dir.
8903 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8904 from fdopendir if O_CLOEXEC is already set.
8905
8906 2011-03-15 Alan Modra <amodra@gmail.com>
8907
8908 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8909 l_tls_firstbyte_offset non-zero. Save padding offset in
8910 l_tls_firstbyte_offset for later use.
8911 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8912 freeing static tls block.
8913
8914 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8915
8916 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8917 where #ifdef was intended. The intent is to prevent ARG_MAX from
8918 being defined by the kernel headers.
8919
8920 2011-05-07 Ulrich Drepper <drepper@gmail.com>
8921
8922 [BZ #12734]
8923 * resolv/resolv.h: Define RES_NOTLDQUERY.
8924 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8925 no-tld-query and set RES_NOTLDQUERY.
8926 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8927 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8928 modern BIND to search name as TLD unless forbidden.
8929
8930 2011-05-07 Petr Baudis <pasky@suse.cz>
8931 Ulrich Drepper <drepper@gmail.com>
8932
8933 [BZ #12393]
8934 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8935 (is_trusted_path): ...to here.
8936 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
8937 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
8938 using is_trusted_path_normalize() in setuid scripts.
8939
8940 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8941
8942 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8943 __BEGIN/__END_DECLS.
8944
8945 2011-05-06 Ulrich Drepper <drepper@gmail.com>
8946
8947 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8948 NSS_STATUS_NOTFOUND if no record was found.
8949
8950 2011-05-05 Andreas Schwab <schwab@redhat.com>
8951
8952 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8953 (headers-not-in-tirpc): Remove rpc/netdb.h
8954 * resolv/netdb.h: Revert last change.
8955
8956 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8957
8958 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8959 circular dependency between libgcc.a and libc.a.
8960
8961 2011-05-05 Andreas Schwab <schwab@redhat.com>
8962
8963 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8964 * nis/Makefile: Don't install rpcsvc/*.
8965 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8966 instead of <rpc/types.h>.
8967 (MAXHOSTNAMELEN): Define.
8968
8969 2011-05-03 Andreas Schwab <schwab@redhat.com>
8970
8971 * elf/ldconfig.c (add_dir): Don't crash on empty path.
8972
8973 2011-04-28 Maciej Babinski <mbabinski@google.com>
8974
8975 [BZ #12714]
8976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
8977 gethostbyname4_r when IPv6 results are possible.
8978
8979 2011-05-02 Ulrich Drepper <drepper@gmail.com>
8980
8981 [BZ #12723]
8982 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
8983 _PC_PIPE_BUF handling.
8984
8985 2011-04-30 Bruno Haible <bruno@clisp.org>
8986
8987 [BZ #12717]
8988 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
8989 * resolv/netdb.h (getnameinfo): Change type of flags parameter
8990 to 'int'.
8991 * inet/getnameinfo.c (getnameinfo): Likewise.
8992
8993 2011-04-29 Ulrich Drepper <drepper@gmail.com>
8994
8995 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
8996 to groups setting in database lookup.
8997 * nss/nsswitch.conf: Add initgroups entry.
8998
8999 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9000
9001 [BZ #12685]
9002 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9003 mode string.
9004 Patch by Eric Blake <eblake@redhat.com>.
9005
9006 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9007
9008 * sunrpc/Makefile (need-export-routines): Add svc_run.
9009 (routines): Remove svc_run.
9010 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9011 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9012 * sunrpc/svc_run.c (svc_run): Likewise.
9013 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9014
9015 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9016
9017 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9018 problem in reallocation in last patch.
9019
9020 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9021
9022 * sunrpc/Makefile: Move inclusion of Rules.
9023
9024 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9025
9026 * nss/nss_files/files-initgroups.c: New file.
9027 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9028 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9029 _nss_files_initgroups_dyn.
9030
9031 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9032
9033 * elf/elf.h (R_ARM_IRELATIVE): Define.
9034
9035 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9036
9037 * po/ru.po: Update from translation team.
9038
9039 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9040
9041 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9042 dependencies.
9043
9044 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9045
9046 [BZ #12653]
9047 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9048 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9049 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9050 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9051 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9052
9053 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9054
9055 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9056 differing bytes.
9057 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9058 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9059 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9060
9061 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9062
9063 [BZ #12420]
9064 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9065 storing it.
9066 * stdlib/bug-getcontext.c: New file.
9067 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9068
9069 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9070
9071 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9072 instructions into .machine "z9-109".
9073 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9074 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9075
9076 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9077
9078 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9079 between environment variables and auxiliary vector.
9080
9081 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9082
9083 * Makefile: Add rules to build linkobj/libc.so.
9084 * include/libc-symbols.h: Define libc_hidden_nolink.
9085 * include/rpc/auth.h: Mark functions which are to be hidden.
9086 * include/rpc/auth_des.h: Likewise.
9087 * include/rpc/auth_unix.h: Likewise.
9088 * include/rpc/clnt.h: Likewise.
9089 * include/rpc/des_crypt.h: Likewise.
9090 * include/rpc/key_prot.h: Likewise.
9091 * include/rpc/pmap_clnt.h: Likewise.
9092 * include/rpc/pmap_prot.h: Likewise.
9093 * include/rpc/pmap_rmt.h: Likewise.
9094 * include/rpc/rpc_msg.h: Likewise.
9095 * include/rpc/svc.h: Likewise.
9096 * include/rpc/svc_auth.h: Likewise.
9097 * include/rpc/xdr.h: Likewise.
9098 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9099 * nss/Makefile: Likewise.
9100 * sunrpc/Makefile: Don't install headers. Build library with normal
9101 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9102 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9103 for the compat linking library. Remove use of INTDEF/INTUSE.
9104 * sunrpc/auth_none.c: Likewise.
9105 * sunrpc/auth_unix.c: Likewise.
9106 * sunrpc/authdes_prot.c: Likewise.
9107 * sunrpc/authuxprot.c: Likewise.
9108 * sunrpc/clnt_gen.c: Likewise.
9109 * sunrpc/clnt_perr.c: Likewise.
9110 * sunrpc/clnt_raw.c: Likewise.
9111 * sunrpc/clnt_simp.c: Likewise.
9112 * sunrpc/clnt_tcp.c: Likewise.
9113 * sunrpc/clnt_udp.c: Likewise.
9114 * sunrpc/clnt_unix.c: Likewise.
9115 * sunrpc/des_crypt.c: Likewise.
9116 * sunrpc/des_soft.c: Likewise.
9117 * sunrpc/get_myaddr.c: Likewise.
9118 * sunrpc/key_call.c: Likewise.
9119 * sunrpc/key_prot.c: Likewise.
9120 * sunrpc/netname.c: Likewise.
9121 * sunrpc/pm_getmaps.c: Likewise.
9122 * sunrpc/pm_getport.c: Likewise.
9123 * sunrpc/pmap_clnt.c: Likewise.
9124 * sunrpc/pmap_prot.c: Likewise.
9125 * sunrpc/pmap_prot2.c: Likewise.
9126 * sunrpc/pmap_rmt.c: Likewise.
9127 * sunrpc/publickey.c: Likewise.
9128 * sunrpc/rpc_cmsg.c: Likewise.
9129 * sunrpc/rpc_common.c: Likewise.
9130 * sunrpc/rpc_dtable.c: Likewise.
9131 * sunrpc/rpc_prot.c: Likewise.
9132 * sunrpc/rpc_thread.c: Likewise.
9133 * sunrpc/rtime.c: Likewise.
9134 * sunrpc/svc.c: Likewise.
9135 * sunrpc/svc_auth.c: Likewise.
9136 * sunrpc/svc_authux.c: Likewise.
9137 * sunrpc/svc_raw.c: Likewise.
9138 * sunrpc/svc_run.c: Likewise.
9139 * sunrpc/svc_simple.c: Likewise.
9140 * sunrpc/svc_tcp.c: Likewise.
9141 * sunrpc/svc_udp.c: Likewise.
9142 * sunrpc/svc_unix.c: Likewise.
9143 * sunrpc/svcauth_des.c: Likewise.
9144 * sunrpc/xcrypt.c: Likewise.
9145 * sunrpc/xdr.c: Likewise.
9146 * sunrpc/xdr_array.c: Likewise.
9147 * sunrpc/xdr_float.c: Likewise.
9148 * sunrpc/xdr_intXX_t.c: Likewise.
9149 * sunrpc/xdr_mem.c: Likewise.
9150 * sunrpc/xdr_rec.c: Likewise.
9151 * sunrpc/xdr_ref.c: Likewise.
9152 * sunrpc/xdr_sizeof.c: Likewise.
9153 * sunrpc/xdr_stdio.c: Likewise.
9154
9155 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9156
9157 [BZ #12650]
9158 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9159 * sysdeps/ia64/dl-tls.h: Likewise.
9160 * sysdeps/powerpc/dl-tls.h: Likewise.
9161 * sysdeps/s390/dl-tls.h: Likewise.
9162 * sysdeps/sh/dl-tls.h: Likewise.
9163 * sysdeps/sparc/dl-tls.h: Likewise.
9164 * sysdeps/x86_64/dl-tls.h: Likewise.
9165 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9166
9167 2011-03-14 Andreas Schwab <schwab@redhat.com>
9168
9169 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9170 rpath element also skip the following colon.
9171 (expand_dynamic_string_token): Add is_path parameter and pass
9172 down to DL_DST_REQUIRED and _dl_dst_substitute.
9173 (decompose_rpath): Call expand_dynamic_string_token with
9174 non-zero is_path. Ignore empty rpaths.
9175 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9176 with zero is_path.
9177
9178 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9179
9180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9181 Make cancelable.
9182
9183 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9184
9185 [BZ #12655]
9186 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9187 Patch by Filipe David Manana <fdmanana@apache.org>.
9188
9189 2011-04-07 Andreas Schwab <schwab@redhat.com>
9190
9191 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9192 Maintain aligned stack.
9193 (CHECK_RSP): Remove unused macro.
9194
9195 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9196
9197 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9198 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9199
9200 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9201
9202 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9203
9204 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9205
9206 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9207
9208 [BZ #12518]
9209 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9210 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9211 * sysdeps/x86_64/memmove.c: New file.
9212 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9213 (memcpy): Renamed to ...
9214 (__new_memcpy): This.
9215 (memcpy): Provide GLIBC_2_14 memcpy.
9216 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9217 (memcpy): Provide GLIBC_2_2_5 memcpy.
9218
9219 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9220
9221 [BZ #12631]
9222 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9223
9224 2011-03-30 Andreas Schwab <schwab@redhat.com>
9225
9226 * misc/syncfs.c: New file.
9227 * misc/Makefile (routines): Add syncfs.
9228 * posix/unistd.h: Declare syncfs.
9229 * sysdeps/unix/syscalls.list: Add syncfs.
9230
9231 2011-04-01 Andreas Schwab <schwab@redhat.com>
9232
9233 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9234 open_by_handle_at.
9235 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9236 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9238 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9240 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9241 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9242
9243 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9244
9245 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9246 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9247 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9248 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9249 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9250 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9252
9253 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9254 sync_file_range.c with -fexceptions.
9255 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9256 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9257 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9258 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9259 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9260 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9261 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9262 sync_file_range as cancellation point
9263 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9264 now a wrapper around __call_sync_file_range with cancellation handling.
9265 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9266 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9267 function name to __call_sync_file_range.
9268 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9269 Add call_sync_file_range.
9270
9271 2011-04-01 Andreas Schwab <schwab@redhat.com>
9272
9273 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9274 bits/timex.h.
9275
9276 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9277
9278 * iconv/iconv.h: Fix typo in comment.
9279 * io/fcntl.h: Likewise.
9280 * libio/stdio.h: Likewise.
9281 * posix/spawn.h: Likewise.
9282 * posix/unistd.h: Likewise.
9283 * stdlib/stdlib.h: Likewise.
9284 * time/time.h: Likewise.
9285 * wcsmbs/wchar.h: Likewise.
9286
9287 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9288 open_by_handle): Add.
9289 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9290 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9291 Augment a few comments.
9292 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9296 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9297 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9298 open_by_handle.
9299
9300 * io/fcntl.h (AT_EMPTY_PATH): Define.
9301
9302 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9303
9304 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9305 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9306 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9307 to...
9308 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9309 * Versions.def: Add GLIBC_2.14.
9310 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9311 Export.
9312
9313 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9314
9315 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9316 round counter.
9317 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9318
9319 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9320
9321 [BZ #12597]
9322 * string/test-strncmp.c (do_page_test): New function.
9323 (check2): Likewise.
9324 (test_main): Call check2.
9325 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9326
9327 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9328
9329 [BZ #12587]
9330 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9331 Handle cache information in CPU leaf 4.
9332 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9333
9334 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9335
9336 [BZ #12583]
9337 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9338 character representation.
9339 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9340
9341 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9342
9343 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9344 END(__isnan) to END(__isnanf) to match function entry point/label
9345 EALIGN(__isnanf,...).
9346
9347 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9348
9349 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9350
9351 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9352
9353 [BZ #12510]
9354 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9355 copy from the symbol referenced in the relocation to initialize the
9356 used variable.
9357 Patch by Piotr Bury <pbury@goahead.com>.
9358 * elf/Makefile: Add rules to build and tst-unique3.
9359 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9360 * elf/tst-unique3.cc: New file.
9361 * elf/tst-unique3.h: New file.
9362 * elf/tst-unique3lib.cc: New file.
9363 * elf/tst-unique3lib2.cc: New file.
9364
9365 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9366
9367 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9368
9369 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9370 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9371 to _start.
9372
9373 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9374
9375 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9376 to-be-loaded object along a path to loader is ld.so.
9377
9378 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9379 Ulrich Drepper <drepper@gmail.com>
9380
9381 * sysdeps/x86_64/memset.S: After aligning destination, code
9382 branches to different locations depending on the value of
9383 misalignment, when multiarch is enabled. Fix this.
9384
9385 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9386
9387 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9388 Set _x86_64_preferred_memory_instruction for AMD processsors.
9389 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9390 Set bit_Prefer_SSE_for_memop for AMD processors.
9391
9392 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9393
9394 * libio/fmemopen.c (fmemopen): Optimize a bit.
9395
9396 2011-03-03 Andreas Schwab <schwab@redhat.com>
9397
9398 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9399
9400 2011-03-03 Roland McGrath <roland@redhat.com>
9401
9402 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9403
9404 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9405
9406 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9407 __bzero_ultra1 instead of __memset_ultra1.
9408
9409 2011-02-23 Andreas Schwab <schwab@redhat.com>
9410 Ulrich Drepper <drepper@gmail.com>
9411
9412 [BZ #12509]
9413 * include/link.h (struct link_map): Add l_orig_initfini.
9414 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9415 returning unsuccessfully.
9416 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9417 close of a file loaded at startup, restore the original l_initfini
9418 list.
9419 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9420 list, store the pointer.
9421 * elf/Makefile ($(objpfx)noload-mem): New rule.
9422 (noload-ENV): Define.
9423 (tests): Add $(objpfx)noload-mem.
9424 * elf/noload.c: Include <memcheck.h>.
9425 (main): Call mtrace. Close all opened handles.
9426
9427 2011-02-17 Andreas Schwab <schwab@redhat.com>
9428
9429 [BZ #12454]
9430 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9431 dependencies are missing.
9432
9433 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9434
9435 Fix __if_freereq crash: Unlike the generic version which uses free,
9436 Hurd needs munmap.
9437 * sysdeps/mach/hurd/ifreq.h: New file.
9438
9439 2011-01-27 Petr Baudis <pasky@suse.cz>
9440 Ulrich Drepper <drepper@gmail.com>
9441
9442 [BZ 12445]#
9443 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9444 to extend_alloca().
9445 * stdio-common/bug23.c: New file.
9446 * stdio-common/Makefile (tests): Add bug23.
9447
9448 2010-09-28 Andreas Schwab <schwab@redhat.com>
9449 Ulrich Drepper <drepper@gmail.com>
9450
9451 [BZ #12489]
9452 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9453 before performing relro protection. At old place add assertion
9454 to make sure nothing changed.
9455
9456 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9457 Glauber de Oliveira Costa <glommer@gmail.com>
9458
9459 * elf/elf.h: Add new ARM TLS relocs.
9460
9461 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9462
9463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9464 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9465 cast from r3.
9466 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9467 'tests' variable.
9468 * sysdeps/wordsize-64/tst-writev.c: New file.
9469
9470 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9471
9472 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9473 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9474 insns in _dl_start to prevent a TOC reference before relocs are
9475 resolved.
9476
9477 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9478
9479 [BZ #12469]
9480 * Makeconfig: Remove RANLIB definition.
9481 * Makerules: Don't use RANLIB.
9482 * aclocal.m4: Remove ranlib test.
9483 * configure.in: No need to check for ranlib.
9484 * elf/rtld-Rules: Don't use RANLIB.
9485
9486 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9487
9488 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9489 protection macro.
9490 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9491 inclusion protection macro.
9492
9493 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9494 SIGRTMIN and SIGRTMAX and print information in that case only when
9495 SIGRTMIN is defined.
9496
9497 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9498
9499 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9500 arginfo fn returning -1.
9501
9502 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9503 and thousands string is zero terminated.
9504
9505 2011-02-03 Andreas Schwab <schwab@redhat.com>
9506
9507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9508 sysdeps/unix/sysv/linux/bits/socket.h.
9509
9510 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9511
9512 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9513 (__CPU_COUNT): Remove old macros.
9514 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9515 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9516 (__CPU_ALLOC, __CPU_FREE): Add macros.
9517 (__sched_cpualloc, __sched_cpufree): Add declarations.
9518
9519 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9520
9521 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9522 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9523 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9524 (readdhstai): Return value of addhstaiX call.
9525 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9526 (addgrbyX): Return value returned by cache_addgr.
9527 (readdgrbyname): Return value returned by addgrbyX.
9528 (readdgrbygid): Likewise.
9529 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9530 (addpwbyX): Return value returned by cache_addpw.
9531 (readdpwbyname): Return value returned by addhstbyX.
9532 (readdpwbyuid): Likewise.
9533 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9534 (addservbyX): Return value returned by cache_addserv.
9535 (readdservbyname): Return value returned by addservbyX:
9536 (readdservbyport): Likewise.
9537 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9538 (addhstbyX): Return value returned by cache_addhst.
9539 (readdhstbyname): Return value returned by addhstbyX.
9540 (readdhstbyaddr): Likewise.
9541 (readdhstbynamev6): Likewise.
9542 (readdhstbyaddrv6): Likewise.
9543 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9544 (readdinitgroups): Return value returned by addinitgroupsX.
9545 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9546 (prune_cache): Keep track of timeout value of re-added entries.
9547 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9548 * nscd/nscd.h: Adjust prototypes of readd* functions.
9549
9550 2011-02-04 Roland McGrath <roland@redhat.com>
9551
9552 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9553 (nis_stats): Likewise.
9554 * nis/nis_modify.c (nis_modify): Likewise.
9555 * nis/nis_remove.c (nis_remove): Likewise.
9556 * nis/nis_add.c (nis_add): Likewise.
9557
9558 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9559
9560 * posix/fnmatch_loop.c: Add some consts.
9561
9562 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9563
9564 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9565
9566 [BZ #12460]
9567 * config.make.in (config-cflags-novzeroupper): Define.
9568 * configure.in: Substitute libc_cv_cc_novzeroupper.
9569 * elf/Makefile (AVX-CFLAGS): Define.
9570 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9571 (CFLAGS-tst-auditmod4a.c): Likewise.
9572 (CFLAGS-tst-auditmod4b.c): Likewise.
9573 (CFLAGS-tst-auditmod6b.c): Likewise.
9574 (CFLAGS-tst-auditmod6c.c): Likewise.
9575 (CFLAGS-tst-auditmod7b.c): Likewise.
9576 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9577
9578 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9579
9580 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9581 function to the callback.
9582 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9583
9584 2011-02-02 Andreas Schwab <schwab@redhat.com>
9585
9586 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9587 of errno.
9588
9589 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9590
9591 [BZ #11724]
9592 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9593 of constructors.
9594 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9595 of destructors.
9596 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9597
9598 [BZ #11724]
9599 * elf/Makefile: Add rules to build and run new test.
9600 * elf/tst-initorder.c: New file.
9601 * elf/tst-initorder.exp: New file.
9602 * elf/tst-initordera1.c: New file.
9603 * elf/tst-initordera2.c: New file.
9604 * elf/tst-initordera3.c: New file.
9605 * elf/tst-initordera4.c: New file.
9606 * elf/tst-initorderb1.c: New file.
9607 * elf/tst-initorderb2.c: New file.
9608 * elf/tst-order-a1.c: New file.
9609 * elf/tst-order-a2.c: New file.
9610 * elf/tst-order-a3.c: New file.
9611 * elf/tst-order-a4.c: New file.
9612 * elf/tst-order-b1.c: New file.
9613 * elf/tst-order-b2.c: New file.
9614 * elf/tst-order-main.c: New file.
9615 New test case by George Gensure <werkt0@gmail.com>.
9616
9617 2010-10-01 Andreas Schwab <schwab@redhat.com>
9618
9619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9620 decoding ACE if AI_CANONIDN.
9621
9622 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9623
9624 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9625
9626 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9627
9628 * version.h (RELEASE): Bump for 2.13 release.
9629 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9630
9631 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9632
9633 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9634 MADV_NOHUGEPAGE.
9635 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9636 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9637 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9638 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9639 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9640 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9641
9642 * posix/getconf.c: Update copyright year.
9643 * catgets/gencat.c: Likewise.
9644 * csu/version.c: Likewise.
9645 * debug/catchsegv.sh: Likewise.
9646 * debug/xtrace.sh: Likewise.
9647 * elf/ldconfig.c: Likewise.
9648 * elf/ldd.bash.in: Likewise.
9649 * elf/sprof.c (print_version): Likewise.
9650 * iconv/iconv_prog.c: Likewise.
9651 * iconv/iconvconfig.c: Likewise.
9652 * locale/programs/locale.c: Likewise.
9653 * locale/programs/localedef.c: Likewise.
9654 * malloc/memusage.sh: Likewise.
9655 * malloc/mtrace.pl: Likewise.
9656 * nscd/nscd.c (print_version): Likewise.
9657 * nss/getent.c: Likewise.
9658
9659 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9660 PF_CAIF, and PF_ALG.
9661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9662
9663 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9664
9665 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9666 (modules-names): Use them.
9667 (ifunc-test-modules, ifunc-pie-tests): Define.
9668 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9669 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9670 (test-extras): Likewise.
9671 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9672 $(compile-command.c).
9673 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9674 (all-built-dso): Define.
9675 (check-textrel.out, check-execstack.out): Depend on it.
9676
9677 * configure.in: Don't override --enable-multi-arch.
9678
9679 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9680
9681 [BZ #6812]
9682 * nscd/hstcache.c (tryagain): Define.
9683 (cache_addhst): Return tryagain not notfound for temporary errors.
9684 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9685 failed.
9686
9687 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9688
9689 [BZ #10563]
9690 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9691 to make the syscall.
9692 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9693
9694 [BZ #12378]
9695 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9696 and fall back to matching as normal character if the string ends before
9697 the matching ']' is found. This is what POSIX requires.
9698 * posix/testfnm.c: Adjust test result.
9699 * posix/globtest.sh: Adjust test result. Add new test.
9700 * posix/tst-fnmatch.input: Likewise.
9701 * posix/tst-fnmatch2.c: Add new test.
9702
9703 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9704
9705 * elf/Makefile (check-execstack): Revert last change. Depend on
9706 check-execstack.h.
9707 (check-execstack.h): New target.
9708 (generated): Add check-execstack.h.
9709 * elf/check-execstack.c: Include "check-execstack.h".
9710 (main): Revert last change.
9711 (handle_file): Return zero if GNU_STACK is absent and
9712 DEFAULT_STACK_PERMS doesn't include PF_X.
9713
9714 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9715
9716 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9717 in child fails because the descriptor is already closed.
9718 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9719 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9720 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9721
9722 [BZ #12397]
9723 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9724 syscall.
9725
9726 [BZ #10484]
9727 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9728 temporary buffer used to handle multi lookups locally.
9729 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9730
9731 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9732
9733 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9734 loader is ld.so.
9735
9736 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9737
9738 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9739 alignment for SSE2.
9740
9741 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9742
9743 [BZ #12394]
9744 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9745 characters. When rounding increased number of integer digits recompute
9746 number of groups.
9747 * stdio-common/tst-grouping.c: New file.
9748 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9749
9750 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9751
9752 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9753 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9754
9755 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9756 void.
9757 * bits/select.h: Likewise.
9758
9759 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9760
9761 * po/ja.po: Update from translation team.
9762
9763 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9764
9765 [BZ #11155]
9766 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9767 implementation just like for lxstat, fxstatat, et al.
9768
9769 2010-12-27 Jim Meyering <meyering@redhat.com>
9770
9771 [BZ #12348]
9772 * posix/regexec.c (build_trtable): Return failure indication upon
9773 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9774
9775 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9776
9777 [BZ #12201]
9778 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9779 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9780 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9781 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9782
9783 [BZ #12207]
9784 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9785
9786 [BZ #12204]
9787 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9788 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9789
9790 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9791
9792 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9793 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9794 script has SORT_BY_INIT_PRIORITY.
9795 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9796 NO_CTORS_DTORS_SECTIONS is defined.
9797 * elf/soinit.c: Likewise.
9798 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9799 NO_CTORS_DTORS_SECTIONS is defined.
9800 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9801 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9802 * sysdeps/sh/init-first.c: Likewise.
9803 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9804
9805 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9806
9807 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9808 always use the slow path.
9809
9810 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9811
9812 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9813 similar rule which adds the sysdep directories to the header search in
9814 order to pick up the correct platform stackinfo.h.
9815 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9816 perform test if it is, otherwise return successfully without testing.
9817 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9818 DEFAULT_STACK_PERMS define in stackinfo.h.
9819 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9820 defined in stackinfo.h.
9821 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9822 DEFAULT_STACK_PERMS defined in stackinfo.h.
9823 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9824 * sysdeps/ia64/stackinfo.h: Likewise.
9825 * sysdeps/s390/stackinfo.h: Likewise.
9826 * sysdeps/sh/stackinfo.h: Likewise.
9827 * sysdeps/sparc/stackinfo.h: Likewise.
9828 * sysdeps/x86_64/stackinfo.h: Likewise.
9829 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9830 PF_X for powerpc64. Retain PF_X for powerpc32.
9831
9832 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9833
9834 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9835 accurately.
9836 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9837 GETDENTS_64BIT_ALIGNED.
9838
9839 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9840
9841 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9842
9843 2010-12-10 Andreas Schwab <schwab@redhat.com>
9844
9845 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9846 _GNU_SOURCE.
9847
9848 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9849 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9850 Remove __restrict.
9851 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9852 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9853
9854 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9855
9856 [BZ #11655]
9857 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9858 are initialized.
9859
9860 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9861
9862 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9863
9864 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9865
9866 * po/it.po: Update from translation team.
9867
9868 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9869
9870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9871 unused codes.
9872
9873 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9874
9875 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9876
9877 2010-11-24 Andreas Schwab <schwab@redhat.com>
9878
9879 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9880 specially.
9881 (gaih_getanswer_slice): Likewise.
9882
9883 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9884
9885 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9886
9887 2010-05-31 Petr Baudis <pasky@suse.cz>
9888
9889 [BZ #11149]
9890 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9891 silently even in the chroot mode.
9892
9893 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9894
9895 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9896 last patch a bit. Pretty printing
9897
9898 2010-05-31 Petr Baudis <pasky@suse.cz>
9899
9900 [BZ #10085]
9901 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9902 initialization of skip_initgroups_dyn.
9903
9904 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9905
9906 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9907 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9908
9909 2010-11-16 Ulrich Drepper <drepper@gmail.com>
9910
9911 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9912
9913 2010-11-11 Andreas Schwab <schwab@redhat.com>
9914
9915 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9916 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9917 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9918 ($(objpfx)tst-fnmatch-mem): New rule.
9919 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9920 * posix/tst-fnmatch.c (main): Call mtrace.
9921
9922 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9923
9924 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9925 Support Intel processor model 6 and model 0x2c.
9926
9927 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
9928
9929 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9930 signed comparison.
9931
9932 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9933
9934 [BZ #12205]
9935 * string/test-strncasecmp.c (check_result): New function.
9936 (do_one_test): Use it.
9937 (check1): New function.
9938 (test_main): Use it.
9939 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9940 Support strcasecmp and strncasecmp.
9941
9942 2010-11-08 Ulrich Drepper <drepper@gmail.com>
9943
9944 [BZ #12194]
9945 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9946 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9947
9948 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9949
9950 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9951 IFUNC support.
9952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9953 memset-x86-64.
9954 * sysdeps/x86_64/multiarch/bzero.S: New file.
9955 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9956 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9957 * sysdeps/x86_64/multiarch/memset.S: New file.
9958 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9960 Set bit_Prefer_SSE_for_memop for Intel processors.
9961 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9962 Define.
9963 (index_Prefer_SSE_for_memop): Define.
9964 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9965
9966 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
9967
9968 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
9969 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
9970
9971 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
9972
9973 [BZ #12191]
9974 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9975 (__x86_64_raw_data_cache_size_half): Likewise.
9976 (__x86_64_raw_shared_cache_size): Likewise.
9977 (__x86_64_raw_shared_cache_size_half): Likewise.
9978
9979 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
9980 (__x86_64_raw_data_cache_size_half): Likewise.
9981 (__x86_64_raw_shared_cache_size): Likewise.
9982 (__x86_64_raw_shared_cache_size_half): Likewise.
9983 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
9984 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
9985 and __x86_64_raw_shared_cache_size_half. Round
9986 __x86_64_data_cache_size_half, __x86_64_data_cache_size
9987 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
9988 to multiple of 256 bytes.
9989
9990 2010-11-03 Ulrich Drepper <drepper@gmail.com>
9991
9992 [BZ #12167]
9993 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
9994 of inacessible symlinks. Verify result of symlink before returning it.
9995 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9996 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
9997
9998 2010-10-28 Erich Ritz <erichritz@gmail.com>
9999
10000 * math/math.h (isinf): Fix typo in comment.
10001
10002 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10003
10004 * po/da.po: Update from translation team.
10005
10006 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10007
10008 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10009 is added to the list.
10010
10011 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10012 Ulrich Drepper <drepper@gmail.com>
10013
10014 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10015 the global list here. Move code to...
10016 (_dl_add_to_namespace_list): ...here. New function.
10017 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10018 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10019 * elf/dl-load.c (lose): Don't remove the element from the list.
10020 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10021 (_dl_map_object): Likewise.
10022
10023 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10024
10025 [BZ #12159]
10026 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10027 into all bytes of SSE register.
10028 Patch by Richard Li <richardpku@gmail.com>.
10029
10030 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10031
10032 [BZ #12140]
10033 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10034 perturbing.
10035
10036 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10037
10038 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10039 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10040 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10041 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10043 submachine.
10044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10045
10046 2010-10-22 Andreas Schwab <schwab@redhat.com>
10047
10048 * include/dlfcn.h (__RTLD_SECURE): Define.
10049 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10050 mode & __RTLD_SECURE instead.
10051 (open_path): Rename preloaded parameter to secure.
10052 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10053 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10054 * elf/dl-deps.c (openaux): Likewise.
10055 * elf/rtld.c (struct map_args): Remove is_preloaded.
10056 (map_doit): Don't use it.
10057 (dl_main): Likewise.
10058 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10059 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10060
10061 2010-09-09 Andreas Schwab <schwab@redhat.com>
10062
10063 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10064 (sysd-rules-targets): Remove duplicates.
10065 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10066 rtld-%.$o dependency.
10067
10068 2010-10-18 Andreas Schwab <schwab@redhat.com>
10069
10070 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10071 _dl_map_object do it.
10072
10073 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10074
10075 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10076 fast fma builtins, define the macros in the C99 standard.
10077 (FP_FAST_FMAF): Likewise.
10078 (FP_FAST_FMAL): Likewise.
10079 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10080
10081 * bits/mathdef.h: Update copyright year.
10082 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10083
10084 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10085
10086 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10087 builtins, define the macros in the C99 standard.
10088 (FP_FAST_FMAF): Likewise.
10089 (FP_FAST_FMAL): Likewise.
10090 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10091 multiply/add.
10092 (FP_FAST_FMAF): Likewise.
10093
10094 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10095
10096 [BZ #3268]
10097 * math/libm-test.inc (fma_test): Some new testcases.
10098 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10099 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10100 y and infinite z. Do multiplication by C already in long double.
10101 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10103 y and infinite z. Do bitwise or of inexact bit into u.d.
10104 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10105 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10106 * sysdeps/i386/fpu/s_fma.S: Removed.
10107 * sysdeps/i386/fpu/s_fmal.S: Removed.
10108
10109 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10110
10111 [BZ #3268]
10112 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10113 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10114 computation is not scheduled after fetestexcept. Fix value
10115 of minimum denormal long double.
10116
10117 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10118
10119 [BZ #3268]
10120 * math/libm-test.inc (fma_test): Add some more tests.
10121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10122 correctly.
10123
10124 2010-10-15 Andreas Schwab <schwab@redhat.com>
10125
10126 * scripts/data/localplt-s390-linux-gnu.data: New file.
10127 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10128
10129 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10130
10131 [BZ #3268]
10132 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10133 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10134 instead of dbl-64.
10135 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10136 inlines.
10137 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10139 if one of x and y is very large and the other is subnormal.
10140 * sysdeps/s390/fpu/s_fmaf.c: New file.
10141 * sysdeps/s390/fpu/s_fma.c: New file.
10142 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10143 * sysdeps/powerpc/fpu/s_fma.S: New file.
10144 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10145 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10146 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10147
10148 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10149
10150 [BZ #3268]
10151 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10152 fma tests.
10153 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10154 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10155 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10156 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10157 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10158 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10159 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10160
10161 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10162
10163 [BZ #12078]
10164 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10165 * posix/bug-regex31.input: Add test case.
10166
10167 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10168
10169 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10170 * posix/bug-regex31.input: New file.
10171
10172 [BZ #12078]
10173 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10174 (parse_sub_exp): Fix last change, use postorder.
10175
10176 * posix/bug-regex31.c: New file.
10177 * posix/Makefile: Add rules to build and run bug-regex31.
10178
10179 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10180
10181 [BZ #12078]
10182 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10183
10184 [BZ #12108]
10185 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10186 to have entries in sys_siglist.
10187
10188 [BZ #12093]
10189 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10190 be NULL.
10191
10192 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10193
10194 [BZ #3268]
10195 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10196 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10197 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10198 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10199 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10200 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10201 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10202 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10203 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10204 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10205 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10206 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10207 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10208 * math/ftestexcept.c (fetestexcept): Likewise.
10209 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10210 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10211 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10212 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10213 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10214 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10215 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10216
10217 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10218
10219 [BZ #12107]
10220 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10221 newline.
10222
10223 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10224
10225 * string/bug-strstr1.c: New file.
10226 * string/Makefile: Add rules to build and run bug-strstr1.
10227
10228 2010-10-05 Eric Blake <eblake@redhat.com>
10229
10230 [BZ #12092]
10231 * string/str-two-way.h (two_way_long_needle): Always clear memory
10232 when skipping input due to the shift table.
10233
10234 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10235
10236 [BZ #12005]
10237 * malloc/mcheck.c: Handle large requests.
10238
10239 [BZ #12077]
10240 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10241 for strncmp and strncasecmp.
10242 * string/stratcliff.c: Add tests for strcmp and strncmp.
10243 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10244
10245 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10246
10247 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10248 __set_fpscr.
10249
10250 2010-09-30 Andreas Jaeger <aj@suse.de>
10251
10252 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10253 (CGROUP_SUPER_MAGIC): Define.
10254 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10255 Handle btrfs and cgroup file systems.
10256 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10257 Likewise.
10258
10259 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10260
10261 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10262 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10263
10264 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10265
10266 [BZ #12067]
10267 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10268 trying to locate the ELF header.
10269
10270 2010-09-27 Andreas Schwab <schwab@redhat.com>
10271
10272 [BZ #11611]
10273 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10274 Mask out sign-bit copies when constructing f_fsid.
10275
10276 2010-09-24 Petr Baudis <pasky@suse.cz>
10277
10278 * debug/stack_chk_fail_local.c: Add missing licence exception.
10279 * debug/warning-nop.c: Likewise.
10280
10281 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10282
10283 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10284 implementing getdents64 using getdents syscall, set d_type if
10285 __ASSUME_GETDENTS32_D_TYPE.
10286
10287 2010-09-16 Andreas Schwab <schwab@redhat.com>
10288
10289 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10290 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10291
10292 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10293
10294 [BZ #12037]
10295 * posix/unistd.h: Undo change of feature selection for ftruncate from
10296 2010-01-11.
10297
10298 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10299
10300 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10301 detection.
10302
10303 2010-09-20 Andreas Schwab <schwab@redhat.com>
10304
10305 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10306 fanotify_mark.
10307 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10308
10309 2010-09-14 Andreas Schwab <schwab@redhat.com>
10310
10311 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10312 variables after CHECK_SP call.
10313 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10314
10315 2010-09-13 Andreas Schwab <schwab@redhat.com>
10316 Ulrich Drepper <drepper@redhat.com>
10317
10318 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10319 re-relocationg ld.so.
10320 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10321 _dl_init_paths call.
10322 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10323 here anymore.
10324
10325 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10326
10327 * resolv/res_init.c (__res_vinit): Count the default server we added.
10328
10329 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10330 Ulrich Drepper <drepper@redhat.com>
10331
10332 [BZ #11968]
10333 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10334 (____longjmp_chk): Use %ebx for saving value across system call.
10335 Add unwind info.
10336
10337 2010-09-06 Andreas Schwab <schwab@redhat.com>
10338
10339 * manual/Makefile: Don't mix pattern rules with normal rules.
10340
10341 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10342
10343 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10344 operation.
10345 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10346 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10347 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10348 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10349 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10350 Likewise.
10351
10352 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10353
10354 [BZ #11979]
10355 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10356 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10357
10358 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10359
10360 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10361 * sysdeps/x86_64/addmul_1.S: Likewise.
10362 * sysdeps/x86_64/lshift.S: Likewise.
10363 * sysdeps/x86_64/mul_1.S: Likewise.
10364 * sysdeps/x86_64/rshift.S: Likewise.
10365 * sysdeps/x86_64/sub_n.S: Likewise.
10366 * sysdeps/x86_64/submul_1.S: Likewise.
10367
10368 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10369
10370 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10371 Define __sched_param instead of SCHED_* and sched_param when
10372 <bits/sched.h> is included with __need_schedparam defined.
10373 * bits/sched.h [__need_schedparam]
10374 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10375 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10376 (__defined_schedparam): Define to 1.
10377 (__sched_param): New structure, identical to sched_param.
10378 (__need_schedparam): Undefine.
10379
10380 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10381
10382 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10383 (epoll_create1): Declare.
10384
10385 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10386
10387 2010-08-31 Andreas Schwab <schwab@redhat.com>
10388
10389 [BZ #7066]
10390 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10391 shifting retval into place.
10392
10393 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10394
10395 * nis/rpcsvc/nis.h: Update copyright notice.
10396 * nis/rpcsvc/nis.x: Likewise.
10397 * nis/rpcsvc/nis_callback.h: Likewise.
10398 * nis/rpcsvc/nis_callback.x: Likewise.
10399 * nis/rpcsvc/nis_object.x: Likewise.
10400 * nis/rpcsvc/nis_tags.h: Likewise.
10401 * nis/rpcsvc/yp.h: Likewise.
10402 * nis/rpcsvc/yp.x: Likewise.
10403 * nis/rpcsvc/ypupd.h: Likewise.
10404 * nis/yp_xdr.c: Likewise.
10405 * nis/ypupdate_xdr.c: Likewise.
10406
10407 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10408 mainly the body of pmap_getport. Add parameters to specify timeouts.
10409 (pmap_getport): Use __libc_rpc_getport.
10410 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10411 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10412 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10413
10414 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10415
10416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10417 fanotify_mark.
10418
10419 2010-08-27 Roland McGrath <roland@redhat.com>
10420
10421 * sysdeps/i386/i686/multiarch/Makefile
10422 (CFLAGS-varshift.c): New variable.
10423
10424 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10425
10426 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10427 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10428
10429 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10430
10431 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10432
10433 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10434
10435 * sysdeps/x86_64/strlen.S: Unroll the loop.
10436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10437 strlen-sse2 strlen-sse2-bsf.
10438 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10439 __strlen_no_bsf if bit_Slow_BSF is set.
10440 (__strlen_sse42): Removed.
10441 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10442 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10443
10444 2010-08-25 Roland McGrath <roland@redhat.com>
10445
10446 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10447 * sysdeps/x86_64/multiarch/varshift.c: New file.
10448 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10449 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10450 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10451 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10452
10453 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10454
10455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10456 strlen-sse2 strlen-sse2-bsf.
10457 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10458 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10459 (__strlen_sse2): Removed.
10460 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10461 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10462 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10463 bit_Slow_BSF for Atom.
10464 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10465 (index_Slow_BSF): Define.
10466 (HAS_SLOW_BSF): Define.
10467
10468 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10469
10470 [BZ #10851]
10471 * resolv/res_init.c (__res_vinit): When no server address at all
10472 is given default to loopback.
10473
10474 2010-08-24 Roland McGrath <roland@redhat.com>
10475
10476 * configure.in: Remove config-name.h generation.
10477 * configure: Regenerated.
10478 * config-name.in: File removed.
10479 * scripts/config-uname.sh: New file.
10480 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10481 ($(objdir)config-name.h): New target.
10482
10483 * sunrpc/rpc_parse.h: Avoid nested comment.
10484
10485 2010-08-24 Richard Henderson <rth@redhat.com>
10486 Ulrich Drepper <drepper@redhat.com>
10487 H.J. Lu <hongjiu.lu@intel.com>
10488
10489 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10491 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10492 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10493 _mm_alignr_epi8 with _mm_loadu_si128.
10494 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10495 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10496 (__m128i_shift_right): Removed.
10497 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10498 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10499 * sysdeps/x86_64/multiarch/varshift.h: New file.
10500 * sysdeps/x86_64/multiarch/varshift.S: New file.
10501
10502 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10503
10504 * configure.in: Move assembler checks to before sysdep dir checking.
10505
10506 2010-08-20 Petr Baudis <pasky@suse.cz>
10507
10508 * LICENSES: Sync the sunrpc license.
10509
10510 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10511
10512 * sunrpc/auth_des.c: Update copyright notice once again.
10513 * sunrpc/auth_none.c: Likewise.
10514 * sunrpc/auth_unix.c: Likewise.
10515 * sunrpc/authdes_prot.c: Likewise.
10516 * sunrpc/authuxprot.c: Likewise.
10517 * sunrpc/bindrsvprt.c: Likewise.
10518 * sunrpc/clnt_gen.c: Likewise.
10519 * sunrpc/clnt_perr.c: Likewise.
10520 * sunrpc/clnt_raw.c: Likewise.
10521 * sunrpc/clnt_simp.c: Likewise.
10522 * sunrpc/clnt_tcp.c: Likewise.
10523 * sunrpc/clnt_udp.c: Likewise.
10524 * sunrpc/clnt_unix.c: Likewise.
10525 * sunrpc/des_crypt.c: Likewise.
10526 * sunrpc/des_soft.c: Likewise.
10527 * sunrpc/get_myaddr.c: Likewise.
10528 * sunrpc/getrpcport.c: Likewise.
10529 * sunrpc/key_call.c: Likewise.
10530 * sunrpc/key_prot.c: Likewise.
10531 * sunrpc/openchild.c: Likewise.
10532 * sunrpc/pm_getmaps.c: Likewise.
10533 * sunrpc/pm_getport.c: Likewise.
10534 * sunrpc/pmap_clnt.c: Likewise.
10535 * sunrpc/pmap_prot.c: Likewise.
10536 * sunrpc/pmap_prot2.c: Likewise.
10537 * sunrpc/pmap_rmt.c: Likewise.
10538 * sunrpc/rpc/auth.h: Likewise.
10539 * sunrpc/rpc/auth_unix.h: Likewise.
10540 * sunrpc/rpc/clnt.h: Likewise.
10541 * sunrpc/rpc/des_crypt.h: Likewise.
10542 * sunrpc/rpc/key_prot.h: Likewise.
10543 * sunrpc/rpc/netdb.h: Likewise.
10544 * sunrpc/rpc/pmap_clnt.h: Likewise.
10545 * sunrpc/rpc/pmap_prot.h: Likewise.
10546 * sunrpc/rpc/pmap_rmt.h: Likewise.
10547 * sunrpc/rpc/rpc.h: Likewise.
10548 * sunrpc/rpc/rpc_des.h: Likewise.
10549 * sunrpc/rpc/rpc_msg.h: Likewise.
10550 * sunrpc/rpc/svc.h: Likewise.
10551 * sunrpc/rpc/svc_auth.h: Likewise.
10552 * sunrpc/rpc/types.h: Likewise.
10553 * sunrpc/rpc/xdr.h: Likewise.
10554 * sunrpc/rpc_clntout.c: Likewise.
10555 * sunrpc/rpc_cmsg.c: Likewise.
10556 * sunrpc/rpc_common.c: Likewise.
10557 * sunrpc/rpc_cout.c: Likewise.
10558 * sunrpc/rpc_dtable.c: Likewise.
10559 * sunrpc/rpc_hout.c: Likewise.
10560 * sunrpc/rpc_main.c: Likewise.
10561 * sunrpc/rpc_parse.c: Likewise.
10562 * sunrpc/rpc_parse.h: Likewise.
10563 * sunrpc/rpc_prot.c: Likewise.
10564 * sunrpc/rpc_sample.c: Likewise.
10565 * sunrpc/rpc_scan.c: Likewise.
10566 * sunrpc/rpc_scan.h: Likewise.
10567 * sunrpc/rpc_svcout.c: Likewise.
10568 * sunrpc/rpc_tblout.c: Likewise.
10569 * sunrpc/rpc_util.c: Likewise.
10570 * sunrpc/rpc_util.h: Likewise.
10571 * sunrpc/rpcinfo.c: Likewise.
10572 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10573 * sunrpc/rpcsvc/key_prot.x: Likewise.
10574 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10575 * sunrpc/rpcsvc/mount.x: Likewise.
10576 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10577 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10578 * sunrpc/rpcsvc/rex.x: Likewise.
10579 * sunrpc/rpcsvc/rstat.x: Likewise.
10580 * sunrpc/rpcsvc/rusers.x: Likewise.
10581 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10582 * sunrpc/rpcsvc/spray.x: Likewise.
10583 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10584 * sunrpc/rtime.c: Likewise.
10585 * sunrpc/svc.c: Likewise.
10586 * sunrpc/svc_auth.c: Likewise.
10587 * sunrpc/svc_authux.c: Likewise.
10588 * sunrpc/svc_raw.c: Likewise.
10589 * sunrpc/svc_run.c: Likewise.
10590 * sunrpc/svc_simple.c: Likewise.
10591 * sunrpc/svc_tcp.c: Likewise.
10592 * sunrpc/svc_udp.c: Likewise.
10593 * sunrpc/svc_unix.c: Likewise.
10594 * sunrpc/svcauth_des.c: Likewise.
10595 * sunrpc/xcrypt.c: Likewise.
10596 * sunrpc/xdr.c: Likewise.
10597 * sunrpc/xdr_array.c: Likewise.
10598 * sunrpc/xdr_float.c: Likewise.
10599 * sunrpc/xdr_mem.c: Likewise.
10600 * sunrpc/xdr_rec.c: Likewise.
10601 * sunrpc/xdr_ref.c: Likewise.
10602 * sunrpc/xdr_sizeof.c: Likewise.
10603 * sunrpc/xdr_stdio.c: Likewise.
10604
10605 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10606 handling.
10607
10608 2010-08-19 Andreas Schwab <schwab@redhat.com>
10609
10610 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10611
10612 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10613
10614 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10615 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10616 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10617 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10618 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10619 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10620 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10621 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10622 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10623 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10624 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10625 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10626 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10627 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10628
10629 2010-07-26 Anton Blanchard <anton@samba.org>
10630
10631 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10632 * malloc/arena.c (heap_trim): Likewise.
10633
10634 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10635
10636 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10637 here. Not...
10638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10639 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10640
10641 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10642
10643 * sysdeps/i386/elf/Makefile: New file.
10644
10645 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10646
10647 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10648 from fanotify_init.
10649 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10651
10652 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10653
10654 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10655 of strncasecmp_l.
10656 * sysdeps/multiarch/strcmp.S: Likewise.
10657
10658 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10659
10660 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10661 strncase_l-nonascii.
10662 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10663 Add strncase_l-ssse3.
10664 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10665 * sysdeps/x86_64/strcmp.S: Likewise.
10666 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10667 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10668 * sysdeps/x86_64/strncase.S: New file.
10669 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10670 * sysdeps/x86_64/strncase_l.S: New file.
10671 * string/Makefile (strop-tests): Add strncasecmp.
10672 * string/test-strncasecmp.c: New file.
10673
10674 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10675 warning.
10676
10677 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10678 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10679
10680 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10681
10682 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10683
10684 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10685
10686 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10687 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10688 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10689
10690 2010-05-01 Alan Modra <amodra@gmail.com>
10691
10692 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10693 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10694 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10695 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10696 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10697 tidying. Don't tail-call __sigjmp_save for static lib.
10698 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10699 save location.
10700 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10701 (CALL_MCOUNT): Add eh info, and nop after bl.
10702 (TAIL_CALL_SYSCALL_ERROR): New macro.
10703 (PSEUDO_RET): Use it.
10704 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10705 Correct save location of integer regs and cr.
10706 (_dl_profile_resolve): Correct cr save location. Delete nops
10707 after bl when SHARED. Reduce cfi size a little by better
10708 placement of cfi directives.
10709 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10710 make a stack frame. Instead use parm save area as a temp.
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10712 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10714 Don't make a stack frame for parent, use parm save area.
10715 Increase child stack frame to 112 bytes. Don't save unused reg,
10716 and adjust reg usage. Set up cfi on error recovery and
10717 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10719 (__makecontext): Add dummy nop after jump to exit.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10721 Use correct parm save area and cr save, reduce stack frame.
10722 Correct cfi for possible PSEUDO_RET frame setup.
10723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10724 Branch to local label emitted by PSEUDO_RET rather than
10725 __syscall_error.
10726
10727 2010-08-12 Andreas Schwab <schwab@redhat.com>
10728
10729 [BZ #11904]
10730 * locale/programs/locale.c (print_assignment): New function.
10731 (show_locale_vars): Use it.
10732
10733 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10734
10735 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10736 field.
10737 (struct statfs64): Likewise.
10738 (_STATFS_F_FLAGS): Define.
10739 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10740 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10741 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10742 (ST_VALID): Define locally.
10743 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10744 __statvfs_getflags, use the provided value.
10745 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10746 __ASSUME_STATFS_F_FLAGS.
10747
10748 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10749
10750 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10751 Add sys/fanotify.h.
10752 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10753 fanotify_mask for GLIBC_2.13.
10754 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10755 fanotify_init and fanotify_mark.
10756 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10757 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10758
10759 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10760 Add prlimit.
10761 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10762 prlimit64 for GLIBC_2.13.
10763 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10764 prlimit64.
10765 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10766 syscall.
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10768 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10769 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10770 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10771 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10772 add prlimit alias.
10773 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10774
10775 [BZ #11903]
10776 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10777 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10778
10779 * nss/Makefile: Add rules to build and run tst-nss-test1.
10780 * shlib-versions: Add entry for libnss_test1.
10781 * nss/nss_test1.c: New file.
10782 * nss/tst-nss-test1.c: New file.
10783
10784 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10785 (__nss_configure_lookup): Set appropriate entry in
10786 __nss_configure_lookup to true.
10787 * nss/nsswitch.h: Define enum with indeces of databases in
10788 databases and __nss_database_custom arrays. Declare
10789 __nss_database_custom.
10790 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10791 to avoid using nscd when custom rules are installed.
10792 * nss/getXXbyYY_r.c: Likewise.
10793 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10794
10795 * nss/nss_files/files-parse.c: Whitespace fixes.
10796
10797 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10798
10799 [BZ #11883]
10800 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10801 * posix/fnmatch_loop.c: Likewise.
10802
10803 2010-07-17 Andi Kleen <ak@linux.intel.com>
10804
10805 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10806 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10807 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10808 * Versions.def [GLIBC_2.13]: Add.
10809
10810 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10811
10812 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10813 Also fail if tpwd after pwuid call is NULL.
10814
10815 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10816
10817 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10818 when converting to ms.
10819
10820 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10821
10822 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10823 EOPNOTSUPP errors with ENOTTY.
10824 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10825 EOPNOTSUPP errors with ENOTTY.
10826
10827 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10828
10829 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10830 Add strcasecmp_l-ssse3.
10831 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10832 strcasecmp.
10833 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10834 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10835 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10836
10837 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10838
10839 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10840
10841 * string/Makefile (strop-tests): Add strcasecmp.
10842 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10843 strcasecmp_l-nonascii.
10844 (gen-as-const-headers): Add locale-defines.sym.
10845 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10846 * sysdeps/x86_64/strcasecmp.S: New file.
10847 * sysdeps/x86_64/strcasecmp_l.S: New file.
10848 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10849 * sysdeps/x86_64/locale-defines.sym: New file.
10850 * string/test-strcasecmp.c: New file.
10851
10852 * string/test-strcasestr.c: Test both ends of the range of characters.
10853 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10854
10855 2010-07-29 Roland McGrath <roland@redhat.com>
10856
10857 [BZ #11856]
10858 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10859
10860 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10861
10862 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10863 for ld.so.
10864
10865 2010-07-27 Andreas Schwab <schwab@redhat.com>
10866
10867 * manual/memory.texi (Malloc Tunable Parameters): Document
10868 M_PERTURB.
10869
10870 2010-07-26 Roland McGrath <roland@redhat.com>
10871
10872 [BZ #11840]
10873 * configure.in (-fgnu89-inline check): Set and substitute
10874 gnu89_inline, not libc_cv_gnu89_inline.
10875 * configure: Regenerated.
10876 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10877
10878 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10879
10880 * string/test-strnlen.c: New file.
10881 * string/Makefile (strop-tests): Add strnlen.
10882 * string/tester.c (test_strnlen): Add a few more test cases.
10883 * string/tst-strlen.c: Better error reporting.
10884
10885 * sysdeps/x86_64/strnlen.S: New file.
10886
10887 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10888
10889 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10890 lower-latency instructions.
10891
10892 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10893
10894 * string/test-strcasestr.c: New file.
10895 * string/test-strstr.c: New file.
10896 * string/Makefile (strop-tests): Add strstr and strcasestr.
10897 * string/str-two-way.h: Don't undefine MAX.
10898 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10899
10900 2010-07-21 Andreas Schwab <schwab@redhat.com>
10901
10902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10903 strcasestr-nonascii.
10904 (CFLAGS-strcasestr-nonascii.c): Define.
10905 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10906 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10907 Remove unused attribute.
10908
10909 2010-07-20 Roland McGrath <roland@redhat.com>
10910
10911 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10912 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10913 ld.so.cache was broken. With it, there is no way to disable dsocaps
10914 like LD_HWCAP_MASK can disable hwcaps.
10915
10916 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10917
10918 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10919
10920 2010-07-16 Ulrich Drepper <drepper@redhat.com>
10921
10922 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10923 call in strcasestr.
10924 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10925 __strcasestr_sse42_nonascii.
10926 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10927 strcasestr-nonascii.c.
10928 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10929
10930 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
10931
10932 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10933 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10934 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10935 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10936
10937 2010-07-09 Ulrich Drepper <drepper@redhat.com>
10938
10939 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10940 fcntl.
10941
10942 2010-07-06 Andreas Schwab <schwab@redhat.com>
10943
10944 [BZ #11577]
10945 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10946 dl_signal_cerror.
10947
10948 2010-07-06 Ulrich Drepper <drepper@redhat.com>
10949
10950 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10951 _PC_PIPE_BUF using F_GETPIPE_SZ.
10952
10953 2010-07-05 Roland McGrath <roland@redhat.com>
10954
10955 * manual/arith.texi (Rounding Functions): Fix rint description
10956 implicit in round description.
10957
10958 2010-07-02 Ulrich Drepper <drepper@redhat.com>
10959
10960 * elf/Makefile: Fix linking for a few tests to make recent linker
10961 happy.
10962
10963 2010-06-30 Andreas Schwab <schwab@redhat.com>
10964
10965 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10966 $(common-objpfx)libc_nonshared.a.
10967
10968 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
10969
10970 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
10971 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
10972 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10973 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10974 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
10975 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
10976 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10977 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
10979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
10981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
10982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
10983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
10984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
10986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
10987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
10989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
10990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
10991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
10992 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
10993 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
10994 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
10995 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
10996 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
10997 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
10998 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
10999 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11000 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11001 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11002 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11003 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11018
11019 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11020
11021 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11022 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11023 * string/memmove.c (memmove): Renamed to ...
11024 (MEMMOVE): ...this. Default to memmove.
11025 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11026 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11027 (END_CHK): Define.
11028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11029 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11030 mempcpy-ssse3-back memmove-ssse3-back.
11031 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11032 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11033 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11034 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11035 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11036 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11037 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11038 * sysdeps/x86_64/multiarch/memmove.c: New file.
11039 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11040 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11041 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11042 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11043 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11044 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11045 Define.
11046 (index_Fast_Copy_Backward): Define.
11047 (HAS_ARCH_FEATURE): Define.
11048 (HAS_FAST_REP_STRING): Define.
11049 (HAS_FAST_COPY_BACKWARD): Define.
11050
11051 2010-06-21 Andreas Schwab <schwab@redhat.com>
11052
11053 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11054 Restore proper fallback handling.
11055
11056 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11057
11058 [BZ #11701]
11059 * posix/group_member.c (__group_member): Correct checking loop.
11060
11061 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11062 OOM in getpwuid_r correctly. Return error number when the caller
11063 should return, otherwise -1.
11064 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11065 call returning > 0 value.
11066 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11067
11068 2010-06-07 Andreas Schwab <schwab@redhat.com>
11069
11070 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11071 libc_nonshared.a from targets in modules-names.
11072
11073 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11074
11075 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11076 requires it.
11077
11078 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11079
11080 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11081 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11082 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11083 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11084
11085 2010-06-02 Andreas Schwab <schwab@redhat.com>
11086
11087 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11088
11089 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11090
11091 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11092 and F_GETPIPE_SZ.
11093 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11094 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11095 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11096 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11097 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11098 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11099
11100 2010-06-14 Roland McGrath <roland@redhat.com>
11101
11102 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11103
11104 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11105
11106 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11107 __REDIRECT followed by __THROW.
11108 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11109 * posix/getopt.h (getopt): Likewise.
11110
11111 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11112
11113 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11114 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11115 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11116 in AT_FLAGS.
11117 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11118 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11119
11120 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11121
11122 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11123
11124 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11125
11126 [BZ #11640]
11127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11128 Properly check family and model.
11129
11130 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11131
11132 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11133
11134 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11135
11136 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11137
11138 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11139
11140 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11141 symbol reference.
11142
11143 2010-05-19 Andreas Schwab <schwab@redhat.com>
11144
11145 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11146 symbol reference.
11147
11148 2010-05-21 Andreas Schwab <schwab@redhat.com>
11149
11150 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11151 and internal_recvmmsg.
11152 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11153 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11154 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11155 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11156
11157 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11158 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11159 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11160
11161 2010-05-20 Andreas Schwab <schwab@redhat.com>
11162
11163 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11164
11165 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11166
11167 POWER7 optimizations.
11168 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11169 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11170
11171 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11172
11173 * version.h: Update for 2.13 development version.
11174
11175 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11176
11177 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11178 exceptions. Return 0.
11179
11180 2010-05-07 Roland McGrath <roland@redhat.com>
11181
11182 * elf/ldconfig.c (main): Add a const.
11183
11184 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11185
11186 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11187 (args_options): Add no-idn option.
11188 (ahosts_keys_int): Add idn_flags to ai_flags.
11189 (parse_option): Handle 'i' option to clear idn_flags.
11190
11191 * malloc/malloc.c (_int_free): Possible race in the most recently
11192 added check. Only act on the data if no current modification
11193 happened.
11194
11195 See ChangeLog.17 for earlier changes.
This page took 0.505147 seconds and 6 git commands to generate.