]> sourceware.org Git - glibc.git/blob - ChangeLog
Fix return value of SH fesetround.
[glibc.git] / ChangeLog
1 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2
3 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4 which ROUND is no valid rounding mode.
5
6 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7
8 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
9 read again.
10 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
11
12 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13
14 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15 an exception using FPU order intentionally.
16
17 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18
19 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
21 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23
24 2012-04-05 Simon Josefsson <simon@josefsson.org>
25
26 [BZ #12340]
27 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
28 EINVAL when BUFLEN is too smal.
29
30 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31
32 [BZ #13553]
33 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35
36 2012-04-03 Andreas Jaeger <aj@suse.de>
37
38 [BZ #13938]
39 * manual/setjmp.texi (System V contexts): Fix sentence.
40
41 [BZ #13926]
42 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43 New macro for this case.
44 [!__GNUC__] (__bswap_64): New inline function for this case.
45 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46 * bits/byteswap.h: Likewise.
47 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48 ull, guard with __GLIBC_HAVE_LONG_LONG.
49
50 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
51 __GLIBC_HAVE_LONG_LONG.
52
53 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55
56 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
57
58 [BZ #13691]
59 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
60 inptr and inend, rather than using last_ch.
61
62 2012-04-02 David S. Miller <davem@davemloft.net>
63
64 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
65 * stdio-common/printf-parse.h (read_int): Change return type to
66 'int', return -1 on INT_MAX overflow.
67 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
69 overflows INT_MAX. Check for overflow of in-format-string precision
70 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
71 SIZE_MAX not INT_MAX for integer overflow test.
72 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
73 skip the construct in the format string but do not record anything.
74 * stdio-common/bug22.c: Adjust to test both width/prevision
75 INT_MAX overflow as well as total length INT_MAX overflow. Check
76 explicitly for proper errno values.
77
78 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
79
80 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
81 CHAR_MAX.
82 * string/test-strcmp.c [! WIDE]: Likewise.
83 * time/tst-mktime2.c: Likewise for INT_MAX.
84 * string/test-string.h: #include <sys/param.h> for MIN.
85
86 * csu/init-first.c (__libc_init_first): Call __ctype_init.
87 * sysdeps/i386/init-first.c (init): Likewise.
88 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
89 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
90 * sysdeps/sh/init-first.c (init): Likewise.
91
92 2012-04-01 Ulrich Drepper <drepper@gmail.com>
93
94 * po/ru.po: Update from translation team.
95 * po/vi.po: Likewise.
96
97 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
98
99 * resolv/nss_dns/dns-host.c: Merge copyright years.
100
101 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
102
103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
104 Optimize memcpy with prefetch if
105 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
106 src, dst pointers have unequal 16 byte alignments.
107
108 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
109
110 [BZ #13928]
111 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
112 from a CNAME entry and return the minimum ttl for the query.
113 (gaih_getanswer_slice): Likewise.
114
115 2012-03-30 Jeff Law <law@redhat.com>
116
117 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
118 due to long keys.
119 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
120 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
121
122 * resolv/nss_dns/dns-host.c: Update copyright year.
123
124 2012-03-30 Ulrich Drepper <drepper@gmail.com>
125
126 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
127 requests to save a system call. Fix check that all bytes are sent.
128
129 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
130 comments for sendmmsg.
131
132 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
133
134 [BZ #13691]
135 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
136 with only 1 character between 0x0041 and 0x01b0.
137 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
138 * wcsmbs/tst-mbsnrtowcs.c: New file.
139
140 2012-03-29 David S. Miller <davem@davemloft.net>
141
142 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
143 small copies by hand.
144
145 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
146
147 [BZ #13761]
148 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
149 _nss_compat_initgroups_dyn): Fall back to malloc/free
150 for large group memberships.
151
152 2012-03-28 David S. Miller <davem@davemloft.net>
153
154 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
155 that branches into memcpy.
156 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
157 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
158 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
159 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
160 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
161 bits.
162 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
163 implementation too.
164 * sysdeps/sparc/mempcpy.S: New file.
165
166 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
167 the IFUNC routine in the libc case.
168 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
169
170 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
171 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
172 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
173 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
174 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
175 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
176 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
177 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
178
179 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
180 loop to 256 bytes instead of 64 bytes and fix test signedness.
181
182 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
183 * sysdeps/sparc/sparc32/Makefile: rather than here...
184 * sysdeps/sparc/sparc64/Makefile: and here.
185
186 2012-03-28 Ulrich Drepper <drepper@gmail.com>
187
188 * malloc/mallocbug.c: Avoid warnings about unused variables.
189
190 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
191
192 [BZ #13760]
193 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
194 in the right place. Discard and retry query if response is
195 larger than input buffer size.
196
197 2012-03-28 Joseph Myers <joseph@codesourcery.com>
198
199 [BZ #369]
200 [BZ #2678]
201 [BZ #3866]
202 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
203 x for large integer exponent.
204 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
205 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
206 sign of result as needed afterwards.
207 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
208 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
209 result for underflowing pow the same as for overflow.
210 (__kernel_standard_l): Handle powl overflow and underflow here
211 rather than calling __kernel_standard.
212 * math/libm-test.inc (pow_test): Add more tests.
213
214 [BZ #3868]
215 [BZ #13879]
216 [BZ #13910]
217 [BZ #13911]
218 [BZ #13912]
219 [BZ #13913]
220 [BZ #13915]
221 [BZ #13916]
222 [BZ #13917]
223 [BZ #13918]
224 [BZ #13919]
225 [BZ #13920]
226 [BZ #13921]
227 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
228 * sysdeps/ieee754/k_standard.c: Include <float.h>.
229 (__kernel_standard_l): New function.
230 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
231 __kernel_standard.
232 * math/w_acosl.c (__acosl): Likewise.
233 * math/w_asinl.c (__asinl): Likewise.
234 * math/w_atan2l.c (__atan2l): Likewise.
235 * math/w_atanhl.c (__atanhl): Likewise.
236 * math/w_coshl.c (__coshl): Likewise.
237 * math/w_exp10l.c (__exp10l): Likewise.
238 * math/w_exp2l.c (__exp2l): Likewise.
239 * math/w_fmodl.c (__fmodl): Likewise.
240 * math/w_hypotl.c (__hypotl): Likewise.
241 * math/w_j0l.c (__j0l, __y0l): Likewise.
242 * math/w_j1l.c (__j1l, __y1l): Likewise.
243 * math/w_jnl.c (__jnl, __ynl): Likewise.
244 * math/w_lgammal.c (__lgammal): Likewise.
245 * math/w_log10l.c (__log10l): Likewise.
246 * math/w_log2l.c (__log2l): Likewise.
247 * math/w_logl.c (__logl): Likewise.
248 * math/w_powl.c (__powl): Likewise.
249 * math/w_remainderl.c (__remainderl): Likewise.
250 * math/w_scalbl.c (sysv_scalbl): Likewise.
251 * math/w_sinhl.c (__sinhl): Likewise.
252 * math/w_sqrtl.c (__sqrtl): Likewise.
253 * math/w_tgammal.c (__tgammal): Likewise.
254 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
255 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
256 * math/libm-test.inc (acos_test): Add more tests.
257 (acosh_test): Likewise.
258 (asin_test): Likewise.
259 (atanh_test): Likewise.
260 (exp_test): Likewise.
261 (exp10_test): Likewise.
262 (exp2_test): Likewise.
263 (expm1_test): Likewise.
264 (lgamma_test): Likewise.
265 (log_test): Likewise.
266 (log10_test): Likewise.
267 (log1p_test): Likewise.
268 (log2_test): Likewise.
269 (pow_test): Do not allow some spurious overflow exceptions.
270 (sqrt_test): Add more tests.
271 (tgamma_test): Likewise.
272 (y0_test): Likewise.
273 (y1_test): Likewise.
274 (yn_test): Likewise.
275
276 2012-03-27 Anton Blanchard <anton@samba.org>
277
278 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
279 MAP_HUGETLB.
280 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
281 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
282 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
283
284 2012-03-27 David S. Miller <davem@davemloft.net>
285
286 * conform/Makefile: Run run-conformtest.sh using $(BASH).
287
288 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
289 have-as-vis3 check.
290
291 2012-03-27 Andreas Jaeger <aj@suse.de>
292
293 * sysdeps/x86_64/elf/configure.in: Moved to ...
294 * sysdeps/x86_64/configure.in: ... here.
295 * sysdeps/x86_64/elf/start.S: Moved to ...
296 * sysdeps/x86_64/start.S: ... here.
297 * sysdeps/x86_64/elf/configure: Delete.
298
299 * sysdeps/x86_64/configure.in: Merge contents from
300 sysdeps/i386/configure.in (without i686 check).
301
302 * sysdeps/i386/elf/Versions: Merge into ...
303 * sysdeps/i386/Versions: ... this.
304 * sysdeps/i386/elf/Versions: Delete file.
305 * sysdeps/i386/elf/start.S: Moved to ...
306 * sysdeps/i386/start.S: ...here.
307 * sysdeps/i386/elf/configure.in: Merge into...
308 * sysdeps/i386/configure.in: ...here.
309 * sysdeps/i386/elf/configure.in: Delete file.
310 * sysdeps/i386/elf/configure: Delete file.
311
312 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
313 * debug/backtracesyms.c: ... here.
314 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
315 * debug/backtracesymsfd.c: ... here.
316 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
317 * sysdeps/generic/ifunc-sel.h: ... here.
318
319 * sysdeps/unix/i386/start.c: Delete file.
320 * sysdeps/unix/sparc/start.c: Delete file.
321 * sysdeps/unix/start.c: Delete file.
322
323 * sysdeps/sh/elf/configure.in: Moved to ...
324 * sysdeps/sh/configure.in: ... here.
325 * sysdeps/sh/elf/start.S: Moved to ...
326 * sysdeps/sh/start.S: ... here.
327 * sysdeps/sh/elf/configure: Delete file.
328
329 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
330 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
331 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
332 * sysdeps/powerpc/powerpc64/entry.h: ... here.
333 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
334 * sysdeps/powerpc/powerpc64/start.S: here.
335 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
336 * sysdeps/powerpc/powerpc64/Makefile: ... this.
337 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
338 * sysdeps/powerpc/powerpc64/configure.in: ... this.
339 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
340
341 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
342 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
343 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
344 * sysdeps/powerpc/powerpc32/start.S: ... here.
345 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
346 * sysdeps/powerpc/powerpc32/configure.in: ... this.
347 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
348
349 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
350 * sysdeps/powerpc/ifunc-sel.h: ... here.
351 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
352 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
353
354 * sysdeps/sparc/elf/configure.in: Moved to ...
355 * sysdeps/sparc/configure.in: ... here.
356 * sysdeps/sparc/elf/configure: Delete file.
357 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
358 * sysdeps/sparc/sparc32/start.S: ... here.
359 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
360 * sysdeps/sparc/sparc64/start.S: ... here.
361 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
362 * sysdeps/sparc/sparc32/Makefile: ... this.
363 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
364 * sysdeps/sparc/sparc64/Makefile: ... this.
365
366 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
367 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
368 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
369 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
370 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
371 * sysdeps/s390/s390-32/setjmp.S: ... here.
372 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
373 * sysdeps/s390/s390-32/configure.in: ... here.
374 * sysdeps/s390/s390-32/elf/configure: Delete file.
375 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
376 * sysdeps/s390/s390-32/start.S: ... here.
377
378 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
379 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
380 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
381 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
382 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
383 * sysdeps/s390/s390-64/setjmp.S: ... here.
384 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
385 * sysdeps/s390/s390-64/configure.in: ... here
386 * sysdeps/s390/s390-64/elf/configure: Delete file.
387 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
388 * sysdeps/s390/s390-64/start.S: ... here.
389 * sysdeps/s390/s390-64/elf/configure: Delete.
390
391 * configure.in: Remove support for elf directories in sysdeps.
392
393 * configure: Regenerated.
394 * sysdeps/i386/configure: Regenerated.
395 * sysdeps/powerpc/powerpc32/configure: Regenerated.
396 * sysdeps/powerpc/powerpc64/configure: Regenerated.
397 * sysdeps/s390/s390-32/configure: Regenerated.
398 * sysdeps/s390/s390-64/configure: Regenerated.
399 * sysdeps/sh/configure: Regenerated.
400 * sysdeps/sparc/configure: Regenerated.
401 * sysdeps/x86_64/configure: Regenerated.
402
403 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
404
405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
406
407 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
408 denormal result into account.
409
410 2012-03-25 Roland McGrath <roland@hack.frob.com>
411
412 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
413 Reported by Allan McRae <allan@archlinux.org>.
414
415 2012-03-23 Jeff Law <law@redhat.com>
416
417 * nss/getnssent.c (__nss_getent): Fix typo.
418
419 2012-03-23 David S. Miller <davem@davemloft.net>
420
421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
422
423 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
424
425 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
426 to pad to uint64_t for each field.
427 (dl_tls_index): Replace unsigned long with uint64_t.
428
429 2012-03-23 Daniel Jacobowitz <dmj@google.com>
430 Paul Pluzhnikov <ppluzhnikov@google.com>
431
432 [BZ #6528]
433 * grp/Makefile (otherlibs): Don't set it.
434 * inet/Makefile (otherlibs): Likewise.
435 * login/Makefile (otherlibs): Likewise.
436 * nscd/Makefile (otherlibs): Likewise.
437 * posix/Makefile (otherlibs): Likewise.
438 * pwd/Makefile (otherlibs): Likewise.
439 * rt/Makefile (otherlibs): Likewise.
440 * sunrpc/Makefile (otherlibs): Likewise.
441 * nss/Makefile (otherlibs): Likewise.
442 Add libnss_files to routines and static-only-routines.
443 ($(objpfx)getent): Remove rule.
444 * resolv/Makefile: Add libnss_dns and libresolv to routines and
445 static-only-routines.
446
447 2012-03-22 Joseph Myers <joseph@codesourcery.com>
448
449 [BZ #13892]
450 * math/s_cexp.c: Include <float.h>.
451 (__cexp): Handle exp result overflowing not necessarily
452 overflowing both real and imaginary parts of result.
453 * math/s_cexpf.c: Likewise.
454 * math/s_cexpl.c: Likewise.
455 * math/libm-test.inc (cexp_test): Add more tests.
456 * sysdeps/i386/fpu/libm-test-ulps: Update.
457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
458
459 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
460
461 * include/link.h (ELFW): New macro.
462 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
463 Replace ELF64_R_TYPE with ELFW(R_TYPE).
464
465 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
466
467 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
468 with uint64_t.
469
470 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
471
472 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
473 declaration.
474 (struct La_x32_retval): Likewise.
475
476 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
477
478 * sysdeps/x86_64/preconfigure.in: New file.
479 * sysdeps/x86_64/preconfigure: New generated file.
480
481 2012-03-22 Joseph Myers <joseph@codesourcery.com>
482
483 [BZ #13824]
484 * math/e_exp2l.c: Include <float.h>.
485 (__ieee754_exp2l): Handle overflow and underflow cases
486 separately. Only pass fractional part of argument to
487 __ieee754_expl.
488 * math/libm-test.inc (exp2_test): Add more tests.
489
490 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
491 negating x to take absolute value.
492 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
493 Likewise.
494 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
495 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
496 Likewise.
497 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
498 computing low part if x was negated.
499 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
500
501 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
502
503 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
504 la_x32_gnu_pltexit.
505 (pltexit): Cast int_retval to ptrdiff_t.
506 * elf/tst-auditmod3b.c: Likewise.
507 * elf/tst-auditmod4b.c: Likewise.
508 * elf/tst-auditmod5b.c: Likewise.
509 * elf/tst-auditmod6b.c: Likewise.
510 * elf/tst-auditmod6c.c: Likewise.
511 * elf/tst-auditmod7b.c: Likewise.
512
513 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
514 and x32_gnu_pltexit.
515
516 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
517 __ELF_NATIVE_CLASS.
518 (La_x32_regs): New macro.
519 (La_x32_retval): Likewise.
520 (la_x32_gnu_pltenter): New function prototype.
521 (la_x32_gnu_pltexit): Likewise.
522
523 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
524
525 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
526 exponent.
527
528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
529
530 * configure.in (libc_cv_cc_nofma): Check for option to disable
531 generation of FMA instructions.
532 * configure: Regenerate.
533 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
534 * sysdeps/ieee754/dbl-64/Makefile: New file.
535 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
536 Remove brandred-fma4.
537 (CFLAGS-brandred-fma4.c): Remove.
538 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
539 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
540 define.
541 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
542 define.
543
544 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
545
546 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
547 LLONG_MAX != LONG_MAX.
548 (_itoa_word): Use _ITOA_WORD_TYPE on value.
549 (_fitoa_word): Likewise.
550 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
551 LLONG_MAX != LONG_MAX.
552 * stdio-common/_itowa.h: Include <_itoa.h>.
553 (_itowa_word): Use _ITOA_WORD_TYPE on value.
554 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
555 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
556 only if not defined.
557 (_ITOA_WORD_TYPE): Likewise.
558 (_itoa_word): Use _ITOA_WORD_TYPE on value.
559 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
560
561 2012-03-21 David S. Miller <davem@davemloft.net>
562
563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
564
565 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
566
567 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
568 of x86_64 when setting libc_cv_slibdir, libdir and
569 libc_cv_localedir.
570 * sysdeps/unix/sysv/linux/configure: Regenerated.
571
572 2012-03-21 Joseph Myers <joseph@codesourcery.com>
573
574 * manual/lang.texi (Old Varargs): Remove section.
575 (How Variadic): Update menu.
576 (va_start): Do not mention varargs.h.
577
578 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
579 Joseph Myers <joseph@codesourcery.com>
580
581 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
582 link test.
583 * configure: Regenerated.
584
585 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
586
587 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
588 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
589 conformtest.pl
590
591 2012-03-21 Joseph Myers <joseph@codesourcery.com>
592
593 * NOTES: Remove.
594 * Makefile (files-for-dist): Remove NOTES.
595 (NOTES): Remove rule.
596 * README: Don't refer to NOTES.
597 * manual/creature.texi: Don't include macros.texi.
598 * manual/intro.texi (creature.texi): Remove comment referring to
599 NOTES.
600
601 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
602 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
603 * configure: Regenerated.
604 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
605 LIBC_TRY_CC_OPTION.
606 (libc_cv_as_i686): Likewise.
607 (libc_cv_cc_avx): Likewise.
608 (libc_cv_cc_sse2avx): Likewise.
609 (libc_cv_cc_fma4): Likewise.
610 (libc_cv_cc_novzeroupper): Likewise.
611 * sysdeps/i386/configure: Regenerated.
612
613 [BZ #13883]
614 * sysdeps/i386/fpu/s_cexp.S: Remove.
615 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
616 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
617 * math/libm-test.inc (cexp_test): Add more tests.
618 * sysdeps/i386/fpu/libm-test-ulps: Update.
619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
620
621 2012-03-21 Allan McRae <allan@archlinux.org>
622
623 * timezone/Makefile: Do not install iso3166.tab and zone.tab
624
625 2012-03-21 Joseph Myers <joseph@codesourcery.com>
626
627 [BZ #13871]
628 * math/w_exp2.c: Do not include <float.h>.
629 (o_threshold, u_threshold): Remove.
630 (__exp2): Calculate result before checking finiteness and calling
631 __kernel_standard.
632 * math/w_exp2f.c: Likewise.
633 * math/w_exp2l.c: Likewise.
634 * math/libm-test.inc (exp2_test): Require overflow exception for
635 1e6 input.
636
637 [BZ #3866]
638 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
639 range of signed 64-bit integers before using fistpll. Remove
640 checks for whether integers fit in mantissa bits.
641 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
642 the range of signed 32-bit integers before using fistpl. Remove
643 checks for whether integers fit in mantissa bits.
644 * sysdeps/i386/fpu/e_powl.S (p64): New object.
645 (__ieee754_powl): Test for y outside the range of signed 64-bit
646 integers before using fistpll. Reduce 64-bit values to 63-bit
647 ones as needed.
648 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
649 divide-by-zero is raised for zero to large negative powers.
650 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
651 (__ieee754_powl): Test for y outside the range of signed 64-bit
652 integers before using fistpll. Reduce 64-bit values to 63-bit
653 ones as needed.
654 * math/libm-test.inc (pow_test): Add more tests.
655
656 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
657
658 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
659 <stdio-common/_itoa.h>.
660 * debug/segfault.c: Likewise.
661 * elf/dl-cache.c: Likewise.
662 * elf/dl-minimal.c: Likewise.
663 * elf/dl-misc.c: Likewise.
664 * elf/dl-sysdep.c: Likewise.
665 * elf/dl-version.c: Likewise.
666 * elf/rtld.c: Likewise.
667 * hurd/hurdsock.c: Likewise.
668 * hurd/lookup-retry.c: Likewise.
669 * malloc/malloc.c: Likewise.
670 * malloc/mtrace.c: Likewise.
671 * nscd/nscd_getgr_r.c: Likewise.
672 * nscd/nscd_getpw_r.c: Likewise.
673 * nscd/nscd_getserv_r.c: Likewise.
674 * posix/getopt_init.c: Likewise.
675 * posix/wordexp.c: Likewise.
676 * stdio-common/_itoa.c: Likewise.
677 * stdio-common/printf_fphex.c: Likewise.
678 * stdio-common/vfprintf.c: Likewise.
679 * string/_strerror.c: Likewise.
680 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
681 * sysdeps/i386/i686/hp-timing.h: Likewise.
682 * sysdeps/mach/_strerror.c: Likewise.
683 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
684 * sysdeps/mach/hurd/sethostid.c: Likewise.
685 * sysdeps/mach/hurd/xmknodat.c: Likewise.
686 * sysdeps/mach/xpg-strerror.c: Likewise.
687 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
688 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
689 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
690 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
691 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
692 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
693 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
694 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
695 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
696 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
697 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
698 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
699 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
700 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
701 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
702 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
703 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
704 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
705 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
706 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
707 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
708
709 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
710
711 * stdio-common/_itoa.h: Moved to ...
712 * sysdeps/generic/_itoa.h: Here.
713
714 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
715
716 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
717 instead of "_itoa.h" and "_itowa.h".
718 * stdio-common/vfprintf.: Likewise.
719
720 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
721
722 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
723 <bits/wordsize.h>.
724 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
725 (__signbit): Likwise.
726 (llrintf): Likwise.
727 (llrint): Likwise.
728
729 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
730
731 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
732 __WORDSIZE != 64.
733
734 2012-03-20 Joseph Myers <joseph@codesourcery.com>
735
736 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
737 OVERFLOW_EXCEPTION_OK.
738 * math/libm-test.inc ("Philosophy"): Update comment about
739 exception testing.
740 (OVERFLOW_EXCEPTION): Define.
741 (OVERFLOW_EXCEPTION_OK): Likewise.
742 (INVALID_EXCEPTION_OK): Renumber.
743 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
744 (IGNORE_ZERO_INF_SIGN): Likewise.
745 (test_exceptions): Handle FE_OVERFLOW.
746 (exp10_test): Expect overflow exceptions.
747 (exp2_test): Likewise.
748 (expm1_test): Likewise.
749 (nextafter_test): Likewise.
750 (pow_test): Likewise.
751 (scalbn_test): Likewise.
752 (scalbln_test): Likewise.
753
754 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
755
756 * sysdeps/x86_64/bits/atomic.h
757 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
758 64bit integer.
759 (atomic_exchange_acq): Likewise.
760 (__arch_exchange_and_add_body): Likewise.
761 (__arch_add_body): Likewise.
762 (atomic_add_negative): Likewise.
763 (atomic_add_zero): Likewise.
764
765 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
766
767 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
768 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
769
770 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
771
772 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
773 Check __x86_64__ instead of __WORDSIZE.
774
775 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
776
777 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
778
779 2012-03-19 David S. Miller <davem@davemloft.net>
780
781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
782
783 * sysdeps/sparc/fpu/fenv_private.h: New file.
784 * sysdeps/sparc/fpu/math_private.h: Use it.
785 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
786 Remove.
787 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
788 (libc_feholdexcept_setroundl): Remove.
789 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
790 Remove.
791 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
792 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
793
794 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
795
796 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
797 int64_t instead of long int.
798 (INSERT_WORDS64): Likwise.
799
800 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
801
802 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
803 _Unwind_GetCFA return to _Unwind_Ptr first.
804
805 2012-03-19 Joseph Myers <joseph@codesourcery.com>
806
807 [BZ #13629]
808 * math/s_clog.c: Include <float.h>.
809 (__clog): Scale large or subnormal inputs.
810 * math/s_clogf.c: Likewise.
811 * math/s_clogl.c: Likewise.
812 * math/s_clog10.c: Include <float.h>.
813 (M_LOG10_2): Define.
814 (__clog10): Scale large or subnormal inputs.
815 * math/s_clog10f.c: Likewise.
816 * math/s_clog10l.c: Likewise.
817 * math/libm-test.inc (clog_test): Add more tests.
818 (clog10_test): Likewise.
819 * sysdeps/i386/fpu/libm-test-ulps: Update.
820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
821
822 [BZ #11451]
823 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
824 x and y.
825 * math/libm-test.inc (atan2_test): Add another test.
826
827 * Makerules (common-objdir-compile): Remove.
828 * sysdeps/unix/Makefile (config-generated): Do not add
829 $(unix-generated) to variable.
830 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
831 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
832 Remove rule.
833 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
834 Likewise.
835 [generic bits/local_lim.h] (before-compile): Do not append to
836 variable.
837 [generic bits/local_lim.h] (common-generated): Likewise.
838 [generic sys/param.h] (before-compile): Do not append to variable.
839 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
840 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
841 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
842 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
843 include.
844 [generic sys/param.h] (sys/param.h-includes): Remove variable.
845 [generic sys/param.h] (sys/param.h-includes): Remove rule.
846 [generic sys/param.h] ($(addprefix
847 $(common-objpfx),$(sys/param.h-includes))): Likewise.
848 [generic sys/param.h] (common-generated): Do not append to
849 variable.
850 [generic sys/param.h] (sysdep_headers): Likewise.
851 [generic bits/errno.h] (before-compile): Do not append to
852 variable.
853 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
854 rule.
855 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
856 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
857 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
858 [generic bits/errno.h] (common-generated): Do not append to
859 variable.
860 [generic bits/ioctls.h] (before-compile): Do not append to
861 variable.
862 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
863 rule.
864 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
865 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
866 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
867 rule.
868 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
869 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
870 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
871 [generic bits/ioctls.h] (common-generated): Do not append to
872 variable.
873 [generic sys/syscall.h] (syscall.h): Remove variable.
874 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
875 rule.
876 [generic sys/syscall.h] (before-compile): Do not append to
877 variable.
878 [generic sys/syscall.h] (common-generated): Likewise.
879 * sysdeps/unix/errnos-tmpl.c: Remove file.
880 * sysdeps/unix/errnos.awk: Likewise.
881 * sysdeps/unix/ioctls-tmpl.c: Likewise.
882 * sysdeps/unix/ioctls.awk: Likewise.
883 * sysdeps/unix/mk-local_lim.c: Likewise.
884 * sysdeps/unix/snarf-ioctls: Likewise.
885
886 2012-03-19 Richard Henderson <rth@twiddle.net>
887
888 * sysdeps/i386/fpu/fenv_private.h: New file.
889 * sysdeps/i386/fpu/math_private.h: Use it.
890 (math_opt_barrier, math_force_eval): Remove.
891 (libc_feholdexcept_setround_53bit): Remove.
892 (libc_feupdateenv_53bit): Remove.
893 * sysdeps/x86_64/fpu/math_private.h: Likewise.
894 (math_opt_barrier, math_force_eval): Remove.
895 (libc_feholdexcept): Remove.
896 (libc_feholdexcept_setround): Remove.
897 (libc_fetestexcept, libc_fesetenv): Remove.
898 (libc_feupdateenv_test): Remove.
899 (libc_feupdateenv, libc_feholdsetround): Remove.
900 (libc_feresetround): Remove.
901
902 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
903 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
904
905 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
906 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
907 (libc_feupdateenv_testl): New.
908 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
909 (libc_feupdateenv_testf): New.
910 (libc_feupdateenv): Use libc_feupdateenv_test.
911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
912 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
913
914 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
915 (libc_feholdsetroundf, libc_feholdsetroundl): New.
916 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
917 (libc_feresetround_noex): New.
918 (libc_feresetround_noexf): New.
919 (libc_feresetround_noexl): New.
920 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
921 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
922 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
923 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
924 SET_RESTORE_ROUND.
925 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
926 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
927 (__cos): Likewise.
928 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
929 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
930 SET_RESTORE_ROUND_NOEX.
931 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
932 SET_RESTORE_ROUND_NOEXF.
933 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
934 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
935 (libc_feholdsetroundf): New.
936 (libc_feresetround, libc_feresetroundf): New.
937
938 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
939 (libc_feholdexcept_setround_53bit): Convert from macro to function.
940 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
941
942 * sysdeps/generic/math_private.h: Include <fenv.h>.
943 (default_libc_feholdexcept): New.
944 (default_libc_feholdexcept_setround): New.
945 (default_libc_fesetenv, default_libc_feupdateenv): New.
946 (libc_feholdexcept): Only define if undefined.
947 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
948 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
949 (libc_feholdexcept_setroundl): Likewise.
950 (libc_feholdexcept_setround_53bit): Likewise.
951 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
952 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
953 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
954 (libc_feupdateenv_53bit): Likewise.
955 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
956 (libc_feholdexcept): Convert from macro to inline function.
957 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
958 (libc_fesetenv, libc_feupdateenv): Likewise.
959
960 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
961 not previously defined.
962 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
963 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
964 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
965 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
966 * sysdeps/ieee754/flt-32/math_private.h: New file.
967 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
968 math_private.h below SET_FLOAT_WORD.
969 (__isnan, __isinf_ns, __finite): Remove.
970 (__isnanf, __isinf_nsf, __finitef): Remove.
971
972 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
973
974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
975
976 2012-03-17 David S. Miller <davem@davemloft.net>
977
978 [BZ #6471]
979 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
980 for 2.16.
981
982 2012-03-16 David S. Miller <davem@davemloft.net>
983
984 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
985 warnings.
986
987 [BZ #6471]
988 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
989 properly.
990 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
991 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
992 sysdep_routines when subdir is sysvipc.
993 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
994 __getshmlba helper.
995
996 * sysdeps/sparc/fpu/libm-test/ulps: Update.
997
998 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
999
1000 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1001 [__LP64__].
1002
1003 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1004
1005 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1006 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1007 (__lround): Renamed to ...
1008 (__llround): This. Replace long int with long long int.
1009 Define lround functions as aliases of llround functions.
1010 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1011
1012 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1013
1014 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1015 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1016 adresses to uintptr_t. Replace "long int" and "unsigned long
1017 int" with "greg_t" on va_arg.
1018
1019 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1022 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1023
1024 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1025 Move e_machine check before EI_CLASS check. Handle x32
1026 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1027 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1028 SKIP_EM_IA_64 and include
1029 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1030
1031 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1032 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1033 (add_system_dir): New macro.
1034
1035 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1036 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1037
1038 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1039
1040 [BZ #2551]
1041 [BZ #2552]
1042 [BZ #2553]
1043 [BZ #2554]
1044 [BZ #2562]
1045 [BZ #2563]
1046 [BZ #2565]
1047 [BZ #2566]
1048 [BZ #2576]
1049 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1050 (y0): Likewise.
1051 * math/w_j0f.c (j0f): Likewise.
1052 (y0f): Likewise.
1053 * math/w_j0l.c (__j0l): Likewise.
1054 (__y0l): Likewise.
1055 * math/w_j1.c (j1): Likewise.
1056 (y1): Likewise.
1057 * math/w_j1f.c (j1f): Likewise.
1058 (y1f): Likewise.
1059 * math/w_j1l.c (__j1l): Likewise.
1060 (__y1l): Likewise.
1061 * math/w_jn.c (jn): Likewise.
1062 (yn): Likewise.
1063 * math/w_jnf.c (jnf): Likewise.
1064 (ynf): Likewise.
1065 * math/w_jnl.c (__jnl): Likewise.
1066 (__ynl): Likewise.
1067 * math/libm-test.inc (j0_test): Add more tests.
1068 (j1_test): Likewise.
1069 (jn_test): Likewise. Add trailing semicolon to existing test.
1070 (y0_test): Likewise.
1071 (y1_test): Likewise.
1072 * sysdeps/i386/fpu/libm-test-ulps: Update.
1073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1074
1075 [BZ #13851]
1076 [BZ #13854]
1077 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1078 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1079 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1080 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1081 (__tanl): Set errno for infinite argument.
1082 * sysdeps/i386/fpu/mptan.c: Remove.
1083 * sysdeps/i386/fpu/s_tan.S: Likewise.
1084 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1085 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1086 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1087 * math/libm-test.inc (tan_test): Add more tests and enable more
1088 tests for double and long double.
1089 * sysdeps/i386/fpu/libm-test-ulps: Update.
1090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1091
1092 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1093
1094 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1095 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1096
1097 2012-03-16 Roland McGrath <roland@hack.frob.com>
1098
1099 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1100 * configure.in: Use it for both main tree and add-ons.
1101 * configure: Regenerated.
1102
1103 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1104
1105 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1106
1107 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1108
1109 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1110 in comment.
1111
1112 [BZ #13851]
1113 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1114 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1115 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1116 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1117 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1118 infinite argument.
1119 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1120 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1121 != 0 for prec == 2.
1122 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1123 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1124 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1125 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1126 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1127 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1128 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1129 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1130 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1131 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1132 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1133 * math/libm-test.inc (cos_test): Add more tests and enable more
1134 tests for long double.
1135 (sin_test): Likewise.
1136 (sincos_test): Likewise.
1137 * sysdeps/i386/fpu/libm-test-ulps: Update.
1138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1139
1140 2012-03-16 David S. Miller <davem@davemloft.net>
1141
1142 * sysdeps/sparc/fpu/math_private.h: New file.
1143
1144 2012-03-15 David S. Miller <davem@davemloft.net>
1145
1146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1147 file.
1148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1150 file.
1151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1157 sysdep routines.
1158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1159
1160 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1161 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1162
1163 * sysdeps/sparc/sparc-ifunc.h: New file.
1164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1165 sparc-ifunc.h
1166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1168 Likewise.
1169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1170 Likewise.
1171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1175 Likewise.
1176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1181 Likewise.
1182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1183 Likewise.
1184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1190 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1191 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1202 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1203 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1205 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1208
1209 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1210
1211 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1212 scaling.
1213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1214
1215 2012-03-15 Andreas Jaeger <aj@suse.de>
1216
1217 [BZ #13852]
1218 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1219 ieee754/flt-32 implementation for sin, cos and sincos.
1220 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1221 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1222 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1223 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1224 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1225 ieee754/flt-32 implementation for tan.
1226
1227 * math/libm-test.inc (cos_test): Enable some large input tests for
1228 float as well
1229 (sin_test): Likewise.
1230 (sincos_test): Likewise.
1231 (tan_test): Add tests for large input.
1232
1233 * sysdeps/i386/fpu/libm-test-ulps: Update.
1234
1235 2012-03-15 Andreas Jaeger <aj@suse.de>
1236
1237 [BZ #13658]
1238 * math/libm-test.inc (cos_test): Add more test cases.
1239 (sin_test): Likewise.
1240 (sincos_test): Likewise.
1241
1242 2012-03-15 Andreas Jaeger <aj@suse.de>
1243
1244 [BZ #13837]
1245 * math/libm-test.inc (cos_test): Add a test case for large input
1246 value.
1247 (sin_test): Likewise.
1248 (sincos_test): Likewise.
1249
1250 2012-03-15 Andreas Jaeger <aj@suse.de>,
1251 Joseph Myers <joseph@codesourcery.com>
1252
1253 [BZ #13658]
1254 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1255 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1256 * sysdeps/i386/fpu/branred.c: Likewise.
1257 * sysdeps/i386/fpu/dosincos.c: Likewise.
1258 * sysdeps/i386/fpu/mpa.c: Likewise.
1259 * sysdeps/i386/fpu/s_cos.S: Likewise.
1260 * sysdeps/i386/fpu/s_sin.S: Likewise.
1261 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1262 * sysdeps/i386/fpu/sincos32.c: Likewise.
1263
1264 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1265 Define.
1266 (libc_feupdateenv_53bit): Define.
1267 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1268 Define.
1269 (libc_feupdateenv_53bit): Define.
1270
1271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1272 53 bit (without extend i386 double precision).
1273
1274 * math/libm-test.inc (sincos_test): Add tests for large input.
1275 (sin): Likewise.
1276 (cos): Likewise.
1277
1278 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1279
1280 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1281
1282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1283
1284 2012-03-15 David S. Miller <davem@davemloft.net>
1285
1286 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1287 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1288 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1289 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1294 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1295 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1302 file.
1303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1305 file.
1306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1308 file.
1309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1311 file.
1312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1313 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1314 fmin/fmax sysdep routines.
1315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1316
1317 2012-03-14 David S. Miller <davem@davemloft.net>
1318
1319 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1320 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1323 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1324 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1326 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1327 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1328 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1331 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1332 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1340 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1342 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1343 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1344 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1345 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1346 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1347 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1348 routines.
1349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1350 file.
1351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1353 file.
1354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1356 file.
1357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1359 file.
1360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1362 file.
1363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1365 file.
1366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1367 file.
1368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1369 file.
1370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1371 file.
1372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1373 New file.
1374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1375 file.
1376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1377 file.
1378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1380 file.
1381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1383 file.
1384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1386 file.
1387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1389 VIS3 routines.
1390
1391 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1392 New file.
1393
1394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1395
1396 * sysdeps/sparc/configure.in: New file.
1397 * sysdeps/sparc/configure: Generate.
1398 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1399 * configure: Regenerate.
1400 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1401 * config.make.in (have-as-vis3): New.
1402 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1403 available use -Av9d instead of -Av9a.
1404 * sysdeps/sparc/sparc64/Makefile: Likewise.
1405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1407 New file.
1408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1409 file.
1410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1411 New file.
1412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1413 file.
1414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1416 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1417 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1418 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1419
1420 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1421 fzeros/fnegs to load 0x80000000 into a float register instead of
1422 using the stack.
1423 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1424
1425 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1426
1427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1428 bits/syscall.h.
1429 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1430 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1431 ($(inst_includedir)/bits/syscall.h): Remove rule.
1432 ($(objpfx)bits/syscall.d): Include instead of
1433 $(objpfx)syscall-list.d.
1434 (generated): Change syscall-list.h and syscall-list.d to
1435 bits/syscall.h and bits/syscall.d.
1436
1437 2012-03-14 Roland McGrath <roland@hack.frob.com>
1438
1439 [BZ #13846]
1440 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1441
1442 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1443
1444 [BZ #13841]
1445 * math/s_csqrt.c: Include <float.h>.
1446 (__csqrt): Scale large or subnormal inputs.
1447 * math/s_csqrtf.c: Likewise.
1448 * math/s_csqrtl.c: Likewise.
1449 * math/libm-test.inc (csqrt_test): Add more tests.
1450 * sysdeps/i386/fpu/libm-test-ulps: Update.
1451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1452
1453 [BZ #13840]
1454 * math/libm-test.inc (hypot_test): Add more tests.
1455
1456 2012-03-13 David S. Miller <davem@davemloft.net>
1457
1458 [BZ #13840]
1459 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1460 double-precision for the calculation instead of scaling.
1461
1462 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1463
1464 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1465 manipulate bits before adding and subtracting TWO52[sx].
1466 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1467 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1468 Likewise.
1469 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1470
1471 2012-03-13 David S. Miller <davem@davemloft.net>
1472
1473 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1474 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1475 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1476 rtld-global-offsets.h
1477 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1478
1479 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1480 large parameters.
1481
1482 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1483
1484 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1485 'err' in the ifdef scope in which it is actually used.
1486
1487 * nss/nss_db/db-init.c: Include string.h
1488
1489 2012-03-12 David S. Miller <davem@davemloft.net>
1490
1491 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1492 masking out of the most significant byte of random value used.
1493 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1494 Fix coding style in previous change.
1495
1496 * sysdeps/unix/sysv/linux/kernel-features.h
1497 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1498 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1499 expression.
1500 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1501 later.
1502
1503 2012-03-11 David S. Miller <davem@davemloft.net>
1504
1505 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1506 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1507 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1508 for 'resultvar' otherwise things get truncated on 64-bit.
1509
1510 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1511 Fix masking out of the most significant byte of random value used.
1512
1513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1514
1515 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1516
1517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1518
1519 2012-03-09 David S. Miller <davem@davemloft.net>
1520
1521 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1522 variables with appropriate CPP guards.
1523 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1524 frame pointer, not the stack pointer. Correct layout comments. Fix test
1525 on resulting framesize and the management of the outregs buffer for pltexit.
1526 Preserve floating point return values across _dl_call_pltexit call.
1527 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1528 framesize and the management of the outregs buffer for pltexit.
1529 Preserve floating point return values across _dl_call_pltexit
1530 call.
1531 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1532 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1533 (print_exit): Fix format string for return register value.
1534
1535 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1536
1537 * sunrpc/Makefile (others): Add rpcgen.
1538 ($(objpfx)rpcgen): Remove special build rule and dependency on
1539 libc.
1540 * sunrpc/rpcgen.c: New file.
1541
1542 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1543
1544 [BZ #13673]
1545 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1546 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1547 * sysdeps/i386/crti.S: Likewise.
1548 * sysdeps/i386/crtn.S: Likewise.
1549 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1550 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1551 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1552 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1553 * sysdeps/sh/crti.S: Likewise.
1554 * sysdeps/sh/crtn.S: Likewise.
1555 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1556
1557 [BZ #13673]
1558 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1559 with URL.
1560 * locale/programs/locfile-kw.gperf: Likewise.
1561 * locale/programs/charmap-kw.h: Regenerated.
1562 * locale/programs/locfile-kw.h: Likewise.
1563
1564 [BZ #13673]
1565 * intl/plural.y: Replace FSF snail mail address with URL.
1566 * intl/plural.c: Regenerated.
1567
1568 2012-03-09 Richard Henderson <rth@twiddle.net>
1569
1570 * include/math_private.h: Remove file.
1571 * math/math_private.h: Move file ...
1572 * sysdeps/generic/math_private.h: ... here.
1573
1574 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1575 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1576 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1577
1578 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1579 and <math_private.h>.
1580 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1581 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1582 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1583 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1584 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1587 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1588 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1589 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1603 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1604 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1605 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1606 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1607 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1610 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1611 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1612 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1613 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1614 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1615 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1616 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1617 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1618 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1619 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1620 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1621 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1622 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1623 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1624 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1625 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1626 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1627 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1628 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1629 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1630 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1631 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1632 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1633 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1634 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1635 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1636 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1637 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1638 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1639 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1640 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1641 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1642 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1643 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1644 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1645 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1646 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1647 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1648 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1649 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1650 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1651 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1652 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1653 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1654 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1655 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1656 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1657 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1658 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1659 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1660 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1661 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1662 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1663 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1664 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1665 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1666 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1667 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1668 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1669 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1670 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1671 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1672 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1673 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1674 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1675 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1676 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1677 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1678 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1680 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1681 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1682 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1683 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1684 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1685 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1686 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1687 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1688 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1689 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1690 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1691 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1692 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1693 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1694 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1695 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1696 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1697 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1698 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1699 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1700 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1701 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1702 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1703 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1704 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1705 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1706 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1707 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1708 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1709 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1710 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1711 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1712 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1713 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1714 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1715 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1716 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1717 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1718 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1719 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1720 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1721 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1722 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1723 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1724 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1725 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1726 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1727 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1728 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1729 * sysdeps/ieee754/k_standard.c: Likewise.
1730 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1734 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1736 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1739 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1740 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1742 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1743 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1744 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1746 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1747 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1749 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1750 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1753 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1757 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1760 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1761 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1762 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1763 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1765 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1766 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1767 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1769 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1776 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1778 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1779 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1780 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1781 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1782 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1783 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1784 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1785 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1786 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1787 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1788 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1789 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1790 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1791 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1792 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1793 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1794 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1795 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1796 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1797 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1798 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1799 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1800 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1801 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1802 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1803 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1804 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1805 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1806 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1807 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1808 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1809 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1810 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1811 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1812 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1813 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1814 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1815 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1816 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1817 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1818 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1820 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1821 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1822 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1823 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1824 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1826 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1827 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1829 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1835 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1842 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1844 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1845 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1849 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1850 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1852 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1857 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1862 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1872 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1876 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1878 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1879 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1880 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1890 * sysdeps/ieee754/s_lib_version.c: Likewise.
1891 * sysdeps/ieee754/s_matherr.c: Likewise.
1892 * sysdeps/ieee754/s_signgam.c: Likewise.
1893 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1894 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1895 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1896 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1897 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1898 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1899 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1900 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1901 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1902 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1903 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1904 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1905 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1906 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1907 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1908 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1909 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1910 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1911 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1912 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1913 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1914
1915 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1916
1917 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1918 * sunrpc/rpc_main.c: Likewise.
1919 * sunrpc/rpc_svcout.c: Likewise.
1920
1921 2012-03-09 David S. Miller <davem@davemloft.net>
1922
1923 * include/math_private.h: New file.
1924
1925 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1926
1927 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1928 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1929 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1930 from <bits/socket_type.h>.
1931 (enum __socket_type): Don't define here.
1932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1934 bits/socket_type.h.
1935
1936 [BZ #13566]
1937 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1938 checking __USE_GNU.
1939
1940 * Makerules ($(inst_includedir)/%.h): New rule.
1941 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1942 (install-others): Remove variable setting.
1943 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1944
1945 2012-03-08 Richard Henderson <rth@twiddle.net>
1946
1947 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1948 from macro to inline function; merge with the
1949 !__LIBC_INTERNAL_MATH_INLINES version.
1950 (__ieee754_sqrtf): Likewise.
1951
1952 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1953 to inline function.
1954 (__rintf, __floor, __floorf): Likewise.
1955
1956 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1957 macro to inline function.
1958 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1959
1960 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1961 not <math/math_private.h>.
1962
1963 2012-03-08 David S. Miller <davem@davemloft.net>
1964
1965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1966 copyright year.
1967 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1968
1969 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1970
1971 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1972 normalization.
1973 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1974 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1975
1976 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1977
1978 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1979 be defined individually, they must be defined as a block. Define
1980 S for printing a string instead of hidint the different by using a
1981 macro for adding the 'l'.
1982 * stdio-common/tst-fphex-wide.c: Adjust.
1983
1984 2012-03-07 Marek Polacek <polacek@redhat.com>
1985
1986 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1987
1988 2012-03-08 Marek Polacek <polacek@redhat.com>
1989
1990 [BZ #13806]
1991 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1992 * stdio-common/tst-fphex.c: Define a few macros to make the
1993 test reusable. Use them.
1994 * stdio-common/tst-fphex-wide.c: New file.
1995
1996 2012-03-08 Joseph Myers <joseph@codesourcery.com>
1997
1998 [BZ #6911]
1999 * manual/macros.texi (gnusystems): New macro.
2000 (nongnusystems): Likewise.
2001 (gnulinuxhurdsystems): Likewise.
2002 (gnuhurdsystems): Likewise..
2003 (gnulinuxsystems): Likewise.
2004 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2005 variants of the GNU system, not "GNU system".
2006 * manual/conf.texi: Likewise.
2007 * manual/errno.texi: Likewise. Update example of errno macro
2008 expansion.
2009 * manual/filesys.texi: Likewise.
2010 (getumask): Document as specific to GNU/Hurd.
2011 * manual/install.texi: Likewise. Reword some references to
2012 GNU/Linux.
2013 * manual/intro.texi: Likewise.
2014 * manual/io.texi: Likewise.
2015 (File Name Portability): Detail which constraints are inapplicable
2016 to all GNU systems and which are only inapplicable to GNU/Hurd.
2017 * manual/job.texi: Likewise.
2018 * manual/llio.texi: Likewise.
2019 (O_NOCTTY): Document as present on GNU/Linux.
2020 * manual/maint.texi: Likewise.
2021 * manual/memory.texi: Likewise.
2022 * manual/pattern.texi: Likewise.
2023 * manual/pipe.texi: Likewise.
2024 * manual/process.texi: Likewise.
2025 * manual/resource.texi: Likewise.
2026 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2027 child on GNU/Hurd.
2028 * manual/setjmp.texi: Likewise.
2029 * manual/signal.texi: Likewise.
2030 * manual/startup.texi: Likewise.
2031 * manual/stdio.texi: Likewise.
2032 * manual/terminal.texi: Likewise.
2033 (ONLCR): Document as POSIX.
2034 (OXTABS): Document availability on GNU/Linux as XTABS.
2035 (ONOEOT): Document availability separately from other bits.
2036 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2037 * manual/time.texi: Likewise.
2038 * manual/users.texi: Likewise.
2039 * INSTALL: Regenerated.
2040 * sysdeps/gnu/errlist.c: Regenerated.
2041
2042 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2043 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2044 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2045 puts.
2046 * configure: Regenerated.
2047
2048 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2049
2050 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2051 default includes instead of AC_HEADER_CHECK.
2052 * sysdeps/i386/configure: Regenerated.
2053
2054 [BZ #10716]
2055 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2056 * math/s_cacoshf.c (__cacoshf): Likewise.
2057 * math/s_cacoshl.c (__cacoshl): Likewise.
2058 * math/s_casinh.c (__casinh): Set signs of result from argument.
2059 * math/s_casinhf.c (__casinhf): Likewise.
2060 * math/s_casinhl.c (__casinhl): Likewise.
2061 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2062 (casinh_test): Add more tests.
2063 * sysdeps/i386/fpu/libm-test-ulps: Update.
2064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2065
2066 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2067
2068 * po/zh_TW.po: Update from translation team.
2069
2070 * login/Makefile (distribute): Remove variable.
2071 * catgets/Makefile: Likewise.
2072 * mach/Makefile: Likewise.
2073 * malloc/Makefile: Likewise.
2074 * misc/Makefile: Likewise.
2075 * iconv/Makefile: Likewise.
2076 * nscd/Makefile: Likewise.
2077 * hurd/Makefile: Likewise.
2078 * manual/Makefile: Likewise.
2079 * locale/Makefile: Likewise.
2080 * intl/Makefile: Likewise.
2081 * conform/Makefile: Likewise.
2082 * nss/Makefile: Likewise.
2083 * time/Makefile: Likewise.
2084 * soft-fp/Makefile: Likewise.
2085 * dirent/Makefile: Likewise.
2086 * gmon/Makefile: Likewise.
2087 * po/Makefile: Likewise.
2088 * rt/Makefile: Likewise.
2089 * socket/Makefile: Likewise.
2090 * math/Makefile: Likewise.
2091 * signal/Makefile: Likewise.
2092 * debug/Makefile: Likewise.
2093 * elf/Makefile: Likewise.
2094 * timezone/Makefile: Likewise.
2095 * stdlib/Makefile: Likewise.
2096 * iconvdata/Makefile: Likewise.
2097 * sunrpc/Makefile: Likewise.
2098 * io/Makefile: Likewise.
2099 * argp/Makefile: Likewise.
2100 * inet/Makefile: Likewise.
2101 * hesiod/Makefile: Likewise.
2102 * grp/Makefile: Likewise.
2103 * csu/Makefile: Likewise.
2104 * wctype/Makefile: Likewise.
2105 * crypt/Makefile: Likewise.
2106 * libio/Makefile: Likewise.
2107 * string/Makefile: Likewise.
2108 * nis/Makefile: Likewise.
2109 * resolv/Makefile: Likewise.
2110 * stdio-common/Makefile: Likewise.
2111 * wcsmbs/Makefile: Likewise.
2112 * dlfcn/Makefile: Likewise.
2113 * posix/Makefile: Likewise.
2114
2115 * timezone/Makefile: Don't install timezone files, just the programs
2116 and scripts.
2117
2118 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2119
2120 * nss/databases.def: Add missing gshadow entry.
2121
2122 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2123
2124 2012-03-06 Marek Polacek <polacek@redhat.com>
2125
2126 [BZ #13726]
2127 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2128 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2129 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2130 * stdio-common/tst-long-dbl-fphex.c: New file.
2131
2132 2012-03-06 David S. Miller <davem@davemloft.net>
2133
2134 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2135 (set_obp_int): New function.
2136 (get_obp_int): New function.
2137 (__get_clockfreq_via_dev_openprom): Likewise.
2138 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2139 Avoid unused variable warnings on 'val' and use builtin_expect.
2140 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2141 __builtin_expect.
2142 (INLINE_CLONE_SYSCALL): Likewise.
2143
2144 2012-03-05 David S. Miller <davem@davemloft.net>
2145
2146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2147
2148 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2149
2150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2151
2152 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2153 only for |x| >= 40.
2154 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2155
2156 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2157
2158 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2159 Replace gettimeofday with __vdso_gettimeofday.
2160
2161 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2162 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2163 __vdso_clock_gettime and __vdso_getcpu.
2164
2165 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2166 time with __vdso_time.
2167
2168 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2169
2170 * manual/lang.texi (size_t): Note types to which size_t may be
2171 equivalent with the GNU C Library, but do not describe when
2172 differences between them are significant.
2173
2174 2012-03-05 Andreas Jaeger <aj@suse.de>
2175
2176 * sysdeps/i386/fpu/libm-test-ulps: Update.
2177
2178 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2179
2180 [BZ #3976]
2181 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2182 (__ieee754_pow): Save and restore rounding mode and use
2183 round-to-nearest for main computations.
2184 * math/libm-test.inc (pow_test_tonearest): New function.
2185 (pow_test_towardzero): Likewise.
2186 (pow_test_downward): Likewise.
2187 (pow_test_upward): Likewise.
2188 (main): Call the new functions.
2189 * sysdeps/i386/fpu/libm-test-ulps: Update.
2190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2191
2192 [BZ #3976]
2193 * math/libm-test.inc (cosh_test_tonearest): New function.
2194 (cosh_test_towardzero): Likewise.
2195 (cosh_test_downward): Likewise.
2196 (cosh_test_upward): Likewise.
2197 (sinh_test_tonearest): Likewise.
2198 (sinh_test_towardzero): Likewise.
2199 (sinh_test_downward): Likewise.
2200 (sinh_test_upward): Likewise.
2201 (main): Call the new functions.
2202 * sysdeps/i386/fpu/libm-test-ulps: Update.
2203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2204
2205 2012-03-05 Tom de Vries <tom@codesourcery.com>
2206
2207 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2208 default stack guard is set in last bytes.
2209 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2210
2211 2012-03-05 Kees Cook <keescook@chromium.org>
2212
2213 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2214
2215 [BZ #13656]
2216 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2217 possibly allocate from heap instead of stack.
2218 * stdio-common/bug-vfprintf-nargs.c: New file.
2219 * stdio-common/Makefile (tests): Add nargs overflow test.
2220
2221 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2222
2223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2224
2225 2012-03-03 Marek Polacek <polacek@redhat.com>
2226
2227 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2228 * math/math_private.h: Likewise.
2229 * stdlib/tst-strtod.c: Likewise.
2230 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2231 * sysdeps/x86_64/bits/atomic.h: Likewise.
2232
2233 2012-03-02 David S. Miller <davem@davemloft.net>
2234
2235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2239 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2240 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2241 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2242 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2243
2244 2012-03-02 Roland McGrath <roland@hack.frob.com>
2245
2246 [BZ #13792]
2247 * manual/examples/README: New file, says the example source files
2248 can be used under GPL>=2.
2249 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2250 line containing just "*/".
2251 * manual/examples/add.c: Add copyright header (GPL>=2).
2252 * manual/examples/argp-ex1.c: Likewise.
2253 * manual/examples/argp-ex2.c: Likewise.
2254 * manual/examples/argp-ex3.c: Likewise.
2255 * manual/examples/argp-ex4.c: Likewise.
2256 * manual/examples/atexit.c: Likewise.
2257 * manual/examples/db.c: Likewise.
2258 * manual/examples/dir.c: Likewise.
2259 * manual/examples/dir2.c: Likewise.
2260 * manual/examples/execinfo.c: Likewise.
2261 * manual/examples/filecli.c: Likewise.
2262 * manual/examples/filesrv.c: Likewise.
2263 * manual/examples/fmtmsgexpl.c: Likewise.
2264 * manual/examples/genpass.c: Likewise.
2265 * manual/examples/inetcli.c: Likewise.
2266 * manual/examples/inetsrv.c: Likewise.
2267 * manual/examples/isockad.c: Likewise.
2268 * manual/examples/longopt.c: Likewise.
2269 * manual/examples/memopen.c: Likewise.
2270 * manual/examples/memstrm.c: Likewise.
2271 * manual/examples/mkfsock.c: Likewise.
2272 * manual/examples/mkisock.c: Likewise.
2273 * manual/examples/mygetpass.c: Likewise.
2274 * manual/examples/pipe.c: Likewise.
2275 * manual/examples/popen.c: Likewise.
2276 * manual/examples/rprintf.c: Likewise.
2277 * manual/examples/search.c: Likewise.
2278 * manual/examples/select.c: Likewise.
2279 * manual/examples/setjmp.c: Likewise.
2280 * manual/examples/sigh1.c: Likewise.
2281 * manual/examples/sigusr.c: Likewise.
2282 * manual/examples/stpcpy.c: Likewise.
2283 * manual/examples/strdupa.c: Likewise.
2284 * manual/examples/strftim.c: Likewise.
2285 * manual/examples/strncat.c: Likewise.
2286 * manual/examples/subopt.c: Likewise.
2287 * manual/examples/swapcontext.c: Likewise.
2288 * manual/examples/termios.c: Likewise.
2289 * manual/examples/testopt.c: Likewise.
2290 * manual/examples/testpass.c: Likewise.
2291 * manual/examples/timeval_subtract.c: Likewise.
2292
2293 [BZ #13792]
2294 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2295 function to ...
2296 * manual/timeval_subtract.c.texi: ... here, new file.
2297
2298 2012-03-02 David S. Miller <davem@davemloft.net>
2299
2300 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2301
2302 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2303
2304 [BZ #3976]
2305 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2306 (__sin): Save and restore rounding mode and use round-to-nearest
2307 for all computations.
2308 (__cos): Save and restore rounding mode and use round-to-nearest
2309 for all computations.
2310 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2311 <fenv.h>.
2312 (tan): Save and restore rounding mode and use round-to-nearest for
2313 all computations.
2314 * math/libm-test.inc (cos_test_tonearest): New function.
2315 (cos_test_towardzero): Likewise.
2316 (cos_test_downward): Likewise.
2317 (cos_test_upward): Likewise.
2318 (sin_test_tonearest): Likewise.
2319 (sin_test_towardzero): Likewise.
2320 (sin_test_downward): Likewise.
2321 (sin_test_upward): Likewise.
2322 (tan_test_tonearest): Likewise.
2323 (tan_test_towardzero): Likewise.
2324 (tan_test_downward): Likewise.
2325 (tan_test_upward): Likewise.
2326 (main): Call the new functions.
2327 * sysdeps/i386/fpu/libm-test-ulps: Update.
2328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2329
2330 [BZ #10135]
2331 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2332 small n, then large n, before computing and testing k+n.
2333 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2334 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2335 Likewise.
2336 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2337 Likewise.
2338 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2339 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2340 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2341 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2342 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2343 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2344 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2345 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2346 * math/libm-test.inc (scalbn_test): Add more tests.
2347 (scalbln_test): Likewise.
2348
2349 * manual/filesys.texi (mode_t): Describe constraints on size and
2350 signedness, not exact equivalence to a particular type.
2351 (ino_t): Likewise.
2352 (ino64_t): Likewise.
2353 (dev_t): Likewise.
2354 (nlink_t): Likewise.
2355 (blkcnt_t): Likewise.
2356 (blkcnt64_t): Likewise.
2357 * manual/llio.texi (off_t): Likewise.
2358
2359 [BZ #3976]
2360 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2361 (__ieee754_exp): Save and restore rounding mode and use
2362 round-to-nearest for all computations.
2363 * math/libm-test.inc (exp_test_tonearest): New function.
2364 (exp_test_towardzero): Likewise.
2365 (exp_test_downward): Likewise.
2366 (exp_test_upward): Likewise.
2367 (main): Call the new functions.
2368 * sysdeps/i386/fpu/libm-test-ulps: Update.
2369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2370
2371 2012-03-01 Chris Demetriou <cgd@google.com>
2372
2373 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2374 have predictable order.
2375
2376 2012-03-01 David S. Miller <davem@davemloft.net>
2377
2378 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2379
2380 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2381 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2382 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2383 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2384
2385 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2386 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2387 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2389 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2390 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2391 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2392 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2393 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2394
2395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2396
2397 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2398 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2399 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2400
2401 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2402 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2403 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2404 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2405 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2406 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2408 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2409 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2410 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2411 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2412 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2414 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2415 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2417 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2418 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2419 * sysdeps/sparc/elf/configure: Regenerated.
2420
2421 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2422
2423 * configure.in (AS, LD): Require binutils 2.20 or later.
2424 * configure: Regenerated.
2425 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2426 as required minimum version.
2427 * INSTALL: Regenerated.
2428
2429 [BZ #2541]
2430 [BZ #4108]
2431 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2432 before squaring exponent.
2433 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2434 bottom long double and 27 bits of top long double before squaring
2435 exponent.
2436 * math/libm-test.inc (erfc_test): Add more tests.
2437 * sysdeps/i386/fpu/libm-test-ulps: Update.
2438 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2440
2441 2012-03-01 Kai Tietz <ktietz@redhat.com>
2442
2443 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2444 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2445 containing bit-fields.
2446 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2447 * soft-fp/single.h (_FP_UNION_S): Likewise.
2448 * soft-fp/double.h (_FP_UNION_D): Likewise.
2449
2450 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2451
2452 [BZ #13786]
2453 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2454 not include ../strcmp.S.
2455 [USE_AS_STRNCASECMP_L]: Likewise.
2456 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2457 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2458 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2459 (__strncasecmp_l_ia32): Define as alias to
2460 __strncasecmp_l_nonascii.
2461
2462 [BZ #5794]
2463 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2464 * sysdeps/i386/fpu/libm-test-ulps: Update.
2465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2466
2467 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2469
2470 2012-02-29 Jeff Law <law@redhat.com>
2471
2472 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2473 out of bounds read.
2474
2475 2012-02-29 Marek Polacek <polacek@redhat.com>
2476
2477 [BZ #13706]
2478 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2479 * elf/Makefile: Add rules to run tst-unused-dep.out.
2480
2481 2012-02-28 David S. Miller <davem@davemloft.net>
2482
2483 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2484 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2485 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2486 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2487 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2488 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2489
2490 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2491
2492 * math/libm-test.inc (llround_test): Move one test from
2493 lround_test. Use TEST_f_L in moved test.
2494 (lround_test): Move misplaced test to llround_test. Add testcase
2495 from bug 2561.
2496
2497 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2498
2499 * sysdeps/x86_64/fpu/e_expf.S: New file.
2500 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2501
2502 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2503
2504 [BZ #13637]
2505 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2506 of remain_len that may cause incomplete multi-byte character and
2507 false match.
2508 * posix/bug-regex33.c: New file.
2509 * posix/Makefile (tests): Add bug-regex33.
2510
2511 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2512
2513 * manual/macros.texi: New file.
2514 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2515 * manual/libc.texinfo: Include macros.texi.
2516 * manual/creatute.texi: Likewise.
2517 * manual/install.texi: Likewise.
2518 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2519 @glibcadj{} in references to the GNU C Library.
2520 * manual/charset.texi: Likewise.
2521 * manual/conf.texi: Likewise.
2522 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2523 when not using those macros.
2524 * manual/creature.texi: Likewise.
2525 * manual/crypt.texi: Likewise.
2526 * manual/errno.texi: Likewise.
2527 * manual/filesys.texi: Likewise.
2528 * manual/header.texi: Likewise.
2529 * manual/install.texi: Likewise.
2530 * manual/intro.texi: Likewise.
2531 * manual/io.texi: Likewise.
2532 * manual/job.texi: Likewise.
2533 * manual/lang.texi: Likewise.
2534 * manual/libc.texiinfo: Likewise.
2535 * manual/llio.texi: Likewise.
2536 * manual/locale.texi: Likewise.
2537 * manual/maint.texi: Likewise.
2538 * manual/math.texi: Likewise.
2539 * manual/memory.texi: Likewise.
2540 * manual/message.texi: Likewise.
2541 * manual/nss.texi: Likewise.
2542 * manual/pattern.texi: Likewise.
2543 * manual/process.texi: Likewise.
2544 * manual/resource.texi: Likewise.
2545 * manual/search.texi: Likewise.
2546 * manual/setjmp.texi: Likewise.
2547 * manual/signal.texi: Likewise.
2548 * manual/socket.texi: Likewise.
2549 * manual/startup.texi: Likewise.
2550 * manual/stdio.texi: Likewise.
2551 * manual/string.texi: Likewise.
2552 * manual/sysinfo.texi: Likewise.
2553 * manual/syslog.texi: Likewise.
2554 * manual/terminal.texi: Likewise.
2555 * manual/time.texi: Likewise.
2556 * manual/users.texi: Likewise.
2557 * INSTALL: Regenerated.
2558 * NOTES: Regenerated.
2559 * sysdeps/gnu/errlist.c: Regenerated.
2560
2561 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2562
2563 * include/dirent.h: Include <dirstream.h> before
2564 <dirent/dirent.h>.
2565
2566 2012-02-28 David S. Miller <davem@davemloft.net>
2567
2568 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2569 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2570 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2571 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2572
2573 2012-02-27 David S. Miller <davem@davemloft.net>
2574
2575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2577 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2578 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2579
2580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2581 frame pointer instead of stack pointer relative arg slot.
2582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2583 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2584 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2585
2586 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2587
2588 [BZ #3992]
2589 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2590
2591 2012-02-27 David S. Miller <davem@davemloft.net>
2592
2593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2597 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2598 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2599 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2600 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2601
2602 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2603
2604 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2605 later. Allow versions 5-9.
2606 * configure: Regenerated.
2607 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2608 required minimum version and 4.6 as recommended version. Do not
2609 mention bugs in GCC 2.7 and 2.8.
2610 * INSTALL: Regenerated.
2611
2612 2012-02-27 David S. Miller <davem@davemloft.net>
2613
2614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2618 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2619 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2620 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2621 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2622
2623 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2624 manipulate bits before adding and subtracting TWO112[sx].
2625 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2626
2627 2012-02-27 Roland McGrath <roland@hack.frob.com>
2628
2629 [BZ #13775]
2630 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2631 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2632 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2633 being in POSIX, because they are in 1003.1-2008.
2634
2635 * rt/tst-aio.c: Include <fcntl.h>.
2636 * rt/tst-aio7.c: Likewise.
2637 * rt/tst-aio64.c: Likewise.
2638
2639 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2640
2641 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2642
2643 * manual/install.texi (--with-headers): Describe headers as
2644 interface headers, not private headers.
2645 (Specific advice for GNU/Linux systems): Describe use of headers
2646 from "make headers_install", not private headers from older
2647 kernels.
2648 * INSTALL: Regenerated.
2649 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2650 Change to 2.6.19.
2651 * sysdeps/unix/sysv/linux/configure: Regenerated.
2652
2653 * manual/llio.texi (fclean): Remove documentation.
2654
2655 * manual/Makefile (libc-texi-generated): New variable. Include
2656 version.texi.
2657 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2658 $(libc-texi-generated), not duplicated list of files.
2659 (version.texi, stamp-version): New rules.
2660 (realclean): Remove $(libc-texi-generated), not individual files
2661 from that list. Do not remove dir-add.texinfo.
2662 * manual/libc.texinfo: Comment out uses of edition numbers and
2663 references to printed manual. Remove last-updated dates.
2664 (EDITION): Comment out.
2665 (ISBN): Likewise.
2666 (VERSION, UPDATED): Remove.
2667 (version.texi): Include.
2668
2669 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2670
2671 * sysdeps/posix/spawni.c: Include <signal.h>.
2672 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2673 * sysdeps/pthread/aio_fsync.c: Likewise.
2674
2675 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2676
2677 * conform/Makefile (tests): Run only when not cross-compiling and
2678 when fast-check is not defined.
2679
2680 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2681 * conform/data/limits.h-data: Fixes for POSIX2008.
2682 * conform/run-conformtest.sh: Run all tests.
2683 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2684 headers.
2685 * include/bits/dlfcn.h: Likewise.
2686 * include/langinfo.h: Likewise.
2687 * include/monetary.h: Likewise.
2688 * include/sys/poll.h: Likewise.
2689
2690 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2691 for __USE_GNU.
2692 * posix/spawn.h: Define __need_sigset_t.
2693 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2694 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2695 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2696 to get sigevent_t only.
2697 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2698 only for __USE_GNU.
2699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2700 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2701 process_vm_writev only for __USE_GNU.
2702 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2703
2704 * conform/Makefile: For now ignore errors from run-conformtest.
2705 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2706 POSIX to avoid namespace pollution. Don't prepend headers.
2707 * conform/data/aio.h-data: Fixes for POSIX testing.
2708 * conform/data/fcntl.h-data: Likewise.
2709 * conform/data/glob.h-data: Likewise.
2710 * conform/data/grp.h-data: Likewise.
2711 * conform/data/pthread.h-data: Likewise.
2712 * conform/data/pwd.h-data: Likewise.
2713 * conform/data/signal.h-data: Likewise.
2714 * conform/data/spawn.h-data: Likewise.
2715 * conform/data/stdio.h-data: Likewise.
2716 * conform/data/stdlib.h-data: Likewise.
2717 * conform/data/stropts.h-data: Likewise.
2718 * conform/data/sys/mman.h-data: Likewise.
2719 * conform/data/sys/stat.h-data: Likewise.
2720 * conform/data/sys/types.h-data: Likewise.
2721 * conform/data/sys/wait.h-data: Likewise.
2722 * conform/data/time.h-data: Likewise.
2723 * conform/data/unistd.h-data: Likewise.
2724 * conform/data/utime.h-data: Likewise.
2725
2726 * io/sys/stat.h: fchmod was always in POSIX.
2727 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2728 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2729 * rt/aio.h: Define __need_timespec before including <time.h>.
2730 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2731 struct. Add forward declaration of pthread_attr_t and use it in
2732 sigevent.
2733 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2734 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2735 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2736 always remove CLK_TCK definition.
2737
2738 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2739
2740 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2741
2742 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2743
2744 * conform/run-conformtest.sh: New file.
2745 * conform/Makefile: Run run-conformtest for tests.
2746 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2747 support.
2748
2749 * conform/data/uchar.h-data: New file.
2750 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2751 * conform/data/arpa/inet.h-data: Likewise.
2752 * conform/data/assert.h-data: Likewise.
2753 * conform/data/complex.h-data: Likewise.
2754 * conform/data/cpio.h-data: Likewise.
2755 * conform/data/ctype.h-data: Likewise.
2756 * conform/data/dirent.h-data: Likewise.
2757 * conform/data/dlfcn.h-data: Likewise.
2758 * conform/data/errno.h-data: Likewise.
2759 * conform/data/fcntl.h-data: Likewise.
2760 * conform/data/float.h-data: Likewise.
2761 * conform/data/fmtmsg.h-data: Likewise.
2762 * conform/data/fnmatch.h-data: Likewise.
2763 * conform/data/ftw.h-data: Likewise.
2764 * conform/data/glob.h-data: Likewise.
2765 * conform/data/grp.h-data: Likewise.
2766 * conform/data/iconv.h-data: Likewise.
2767 * conform/data/inttypes.h-data: Likewise.
2768 * conform/data/langinfo.h-data: Likewise.
2769 * conform/data/libgen.h-data: Likewise.
2770 * conform/data/limits.h-data: Likewise.
2771 * conform/data/locale.h-data: Likewise.
2772 * conform/data/math.h-data: Likewise.
2773 * conform/data/monetary.h-data: Likewise.
2774 * conform/data/mqueue.h-data: Likewise.
2775 * conform/data/ndbm.h-data: Likewise.
2776 * conform/data/net/if.h-data: Likewise.
2777 * conform/data/netdb.h-data: Likewise.
2778 * conform/data/netinet/in.h-data: Likewise.
2779 * conform/data/nl_types.h-data: Likewise.
2780 * conform/data/poll.h-data: Likewise.
2781 * conform/data/pthread.h-data: Likewise.
2782 * conform/data/pwd.h-data: Likewise.
2783 * conform/data/regex.h-data: Likewise.
2784 * conform/data/sched.h-data: Likewise.
2785 * conform/data/search.h-data: Likewise.
2786 * conform/data/semaphore.h-data: Likewise.
2787 * conform/data/setjmp.h-data: Likewise.
2788 * conform/data/signal.h-data: Likewise.
2789 * conform/data/spawn.h-data: Likewise.
2790 * conform/data/stdarg.h-data: Likewise.
2791 * conform/data/stdio.h-data: Likewise.
2792 * conform/data/stdlib.h-data: Likewise.
2793 * conform/data/string.h-data: Likewise.
2794 * conform/data/strings.h-data: Likewise.
2795 * conform/data/stropts.h-data: Likewise.
2796 * conform/data/sys/ipc.h-data: Likewise.
2797 * conform/data/sys/mman.h-data: Likewise.
2798 * conform/data/sys/msg.h-data: Likewise.
2799 * conform/data/sys/resource.h-data: Likewise.
2800 * conform/data/sys/select.h-data: Likewise.
2801 * conform/data/sys/sem.h-data: Likewise.
2802 * conform/data/sys/shm.h-data: Likewise.
2803 * conform/data/sys/socket.h-data: Likewise.
2804 * conform/data/sys/stat.h-data: Likewise.
2805 * conform/data/sys/statvfs.h-data: Likewise.
2806 * conform/data/sys/time.h-data: Likewise.
2807 * conform/data/sys/timeb.h-data: Likewise.
2808 * conform/data/sys/times.h-data: Likewise.
2809 * conform/data/sys/types.h-data: Likewise.
2810 * conform/data/sys/uio.h-data: Likewise.
2811 * conform/data/sys/un.h-data: Likewise.
2812 * conform/data/sys/utsname.h-data: Likewise.
2813 * conform/data/sys/wait.h-data: Likewise.
2814 * conform/data/syslog.h-data: Likewise.
2815 * conform/data/tar.h-data: Likewise.
2816 * conform/data/termios.h-data: Likewise.
2817 * conform/data/utime.h-data: Likewise.
2818 * conform/data/utmpx.h-data: Likewise.
2819 * conform/data/varargs.h-data: Likewise.
2820 * conform/data/wchar.h-data: Likewise.
2821 * conform/data/wctype.h-data: Likewise.
2822 * conform/data/wordexp.h-data: Likewise.
2823
2824 * include/stropts.h: New file.
2825 * include/uchar.h: New file.
2826 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2827 * include/assert.h: Likewise.
2828 * include/ctype.h: Likewise.
2829 * include/dirent.h: Likewise.
2830 * include/dlfcn.h: Likewise.
2831 * include/fcntl.h: Likewise.
2832 * include/fnmatch.h: Likewise.
2833 * include/glob.h: Likewise.
2834 * include/grp.h: Likewise.
2835 * include/libio.h: Likewise.
2836 * include/locale.h: Likewise.
2837 * include/math.h: Likewise.
2838 * include/net/if.h: Likewise.
2839 * include/netdb.h: Likewise.
2840 * include/netinet/in.h: Likewise.
2841 * include/pthread.h: Likewise.
2842 * include/pwd.h: Likewise.
2843 * include/regex.h: Likewise.
2844 * include/sched.h: Likewise.
2845 * include/search.h: Likewise.
2846 * include/setjmp.h: Likewise.
2847 * include/signal.h: Likewise.
2848 * include/stdio.h: Likewise.
2849 * include/stdlib.h: Likewise.
2850 * include/string.h: Likewise.
2851 * include/sys/cdefs.h: Likewise.
2852 * include/sys/mman.h: Likewise.
2853 * include/sys/msg.h: Likewise.
2854 * include/sys/resource.h: Likewise.
2855 * include/sys/select.h: Likewise.
2856 * include/sys/socket.h: Likewise.
2857 * include/sys/stat.h: Likewise.
2858 * include/sys/statvfs.h: Likewise.
2859 * include/sys/time.h: Likewise.
2860 * include/sys/times.h: Likewise.
2861 * include/sys/uio.h: Likewise.
2862 * include/sys/utsname.h: Likewise.
2863 * include/sys/wait.h: Likewise.
2864 * include/termios.h: Likewise.
2865 * include/time.h: Likewise.
2866 * include/ulimit.h: Likewise.
2867 * include/unistd.h: Likewise.
2868 * include/utime.h: Likewise.
2869 * include/wchar.h: Likewise.
2870 * include/wctype.h: Likewise.
2871 * include/wordexp.h: Likewise.
2872
2873 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2874
2875 * time/time.h: TIME_UTC must be a macro.
2876 Make timespec_get available for ISO C11 only as well.
2877
2878 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2879
2880 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2881 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2882
2883 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2884
2885 * configure.in: Use -o not -a in test for unsupported multi-arch.
2886
2887 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2888
2889 * manual/texinfo.tex: Update to version 2012-01-19.16.
2890
2891 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2892
2893 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2894
2895 2012-02-24 Roland McGrath <roland@hack.frob.com>
2896
2897 [BZ #13738]
2898 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2899 * manual/fdl-1.3.texi: New file.
2900 * manual/fdl-1.1.texi: File removed.
2901
2902 [BZ #13738]
2903 * manual/libc.texinfo (FDL_VERSION): New @set.
2904 Use it for mention of FDL in cover text.
2905 (Documentation License): Use it in @include file name.
2906
2907 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2908 Roland McGrath <roland@hack.frob.com>
2909
2910 [BZ #5461]
2911 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2912 not LONG_LONG_MAX and LONG_LONG_MIN.
2913 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2914 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2915 name.
2916 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2917
2918 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2919
2920 [BZ #2547]
2921 [BZ #11365]
2922 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2923 manipulate bits before adding and subtracting TWO23[sx].
2924 * math/libm-test.inc (nearbyint_test): Add more tests.
2925
2926 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2927
2928 [BZ #2548]
2929 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2930 bits before adding and subtracting TWO23[sx].
2931 * math/libm-test.inc (rint_test): Add more tests.
2932 (rint_test_tonearest): Likewise.
2933 (rint_test_towardzero): Likewise.
2934 (rint_test_downward): Likewise.
2935 (rint_test_upward: Likewise.
2936
2937 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2938
2939 [BZ #10110]
2940 * include/stdc-predef.h: New file. Extracted from features.h.
2941 * include/features.h: Include stdc-predef.h.
2942 * Makefile (headers): Add stdc-predef.h.
2943 * CONFORMANCE (Compiler limitations): Update.
2944
2945 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2946
2947 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2948
2949 2012-02-21 David S. Miller <davem@davemloft.net>
2950
2951 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2952 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2953
2954 2012-02-20 David S. Miller <davem@davemloft.net>
2955
2956 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2957 using a normal save/restore sequence, rather than allocating a
2958 dummy stack frame just to store a frame pointer and restore.
2959 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2960
2961 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2962
2963 * manual/install.texi: Fix stray word in line-wrapped comment.
2964
2965 2012-02-20 David S. Miller <davem@davemloft.net>
2966
2967 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2968 both binutils and gcc support GOTDATA.
2969
2970 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2971 "rd %pc" in the PIC register setup sequences.
2972
2973 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2974 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2975 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2976 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2977 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2979 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2980 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2982 (SYSCALL_ERROR_HANDLER): Likewise.
2983 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2984 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2986 (SYSCALL_ERROR_HANDLER): Likewise.
2987
2988 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2989 (HAVE_GCC_GOTDATA): New.
2990 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2991 relocation support in both binutils and gcc.
2992 * sysdeps/sparc/elf/configure: Regenerate.
2993
2994 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2995 * sysdeps/sparc/sparc32/elf/configure: Delete.
2996 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2997 * sysdeps/sparc/sparc64/elf/configure: Delete.
2998 * sysdeps/sparc/elf/configure.in: New file.
2999 * sysdeps/sparc/elf/configure: Generate.
3000
3001 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3002 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3003 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3004 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3005 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3006
3007 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3008
3009 * manual/install.texi: Do not mention specific glibc version
3010 numbers.
3011 * manual/libc.texinfo (VERSION, UPDATED): Update.
3012 (@copying): Use @copyright{} and range of years.
3013
3014 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3015
3016 [BZ #13695]
3017 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3018 [crti.S not in sysdirs] (generated): Do not append.
3019 [crti.S not in sysdirs] (omit-deps): Likewise.
3020 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3021 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3022 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3023 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3024 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3025 Likewise.
3026 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3027 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3028 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3029 * csu/defs.awk: Remove file.
3030 * sysdeps/generic/initfini.c: Likewise.
3031 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3032 variable.
3033 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3034 Likewise.
3035
3036 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3037
3038 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3039 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3040 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3041 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3042 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3043 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3044 <bits/epoll.h>.
3045 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3046 (__EPOLL_PACKED): Define to empty if not defined by
3047 <bits/epoll.h>.
3048 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3050 bits/epoll.h.
3051
3052 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3053
3054 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3055 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3056 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3057 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3058 <bits/timerfd.h>.
3059 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3061 bits/timerfd.h.
3062
3063 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3064
3065 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3066 in C locale.
3067 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3068 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3069 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3071
3072 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3073
3074 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3075 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3076
3077 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3078
3079 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3080 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3081 defined.
3082 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3083 Likewise.
3084 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3085 entry for 2.16.
3086
3087 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3088
3089 * math/w_acos.c: Use non-signaling floating-point comparisons.
3090 * math/w_acosf.c: Likewise.
3091 * math/w_acosh.c: Likewise.
3092 * math/w_acoshf.c: Likewise.
3093 * math/w_acoshl.c: Likewise.
3094 * math/w_acosl.c: Likewise.
3095 * math/w_asin.c: Likewise.
3096 * math/w_asinf.c: Likewise.
3097 * math/w_asinl.c: Likewise.
3098 * math/w_atanh.c: Likewise.
3099 * math/w_atanhf.c: Likewise.
3100 * math/w_atanhl.c: Likewise.
3101 * math/w_exp2.c: Likewise.
3102 * math/w_exp2f.c: Likewise.
3103 * math/w_exp2l.c: Likewise.
3104 * math/w_j0.c: Likewise.
3105 * math/w_j0f.c: Likewise.
3106 * math/w_j0l.c: Likewise.
3107 * math/w_j1.c: Likewise.
3108 * math/w_j1f.c: Likewise.
3109 * math/w_j1l.c: Likewise.
3110 * math/w_jn.c: Likewise.
3111 * math/w_jnf.c: Likewise.
3112 * math/w_log.c: Likewise.
3113 * math/w_log10.c: Likewise.
3114 * math/w_log10f.c: Likewise.
3115 * math/w_log10l.c: Likewise.
3116 * math/w_log2.c: Likewise.
3117 * math/w_log2f.c: Likewise.
3118 * math/w_log2l.c: Likewise.
3119 * math/w_logf.c: Likewise.
3120 * math/w_logl.c: Likewise.
3121 * math/w_sqrt.c: Likewise.
3122 * math/w_sqrtf.c: Likewise.
3123 * math/w_sqrtl.c: Likewise.
3124 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3125 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3127 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3128 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3129
3130 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3131
3132 [BZ #9739]
3133 * manual/string.texi (strnlen): Use correct parameter name in
3134 equivalent expression.
3135
3136 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3137
3138 [BZ #11174]
3139 * manual/users.texi (seteuid): Consistently use neweuid for
3140 argument name.
3141
3142 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3143
3144 [BZ #13704]
3145 * manual/nss.texi (Services in the NSS configuration): Correct
3146 list of services in example configuration file.
3147
3148 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3149
3150 [BZ #11322]
3151 * manual/arith.texi: Remove statements about negative zero
3152 behaving identically to zero.
3153
3154 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3155
3156 [BZ #5993]
3157 * manual/install.texi: Do not document upgrading from libc5.
3158
3159 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3160
3161 [BZ #4596]
3162 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3163
3164 2012-02-18 David S. Miller <davem@davemloft.net>
3165
3166 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3167 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3168 %o7 across the call.
3169 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3170 instead.
3171 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3172 SETUP_PIC_REG_LEAF.
3173 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3174 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3175 * sysdeps/sparc/crtn.S: Likewise.
3176
3177 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3178
3179 * aout/Makefile: Remove.
3180
3181 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3182
3183 [BZ #13058]
3184 * manual/examples/argp-ex1.c (main): Format definition in GNU
3185 style.
3186 * manual/examples/argp-ex2.c (main): Likewise.
3187 * manual/examples/argp-ex3.c (main): Likewise.
3188 * manual/examples/argp-ex4.c (main): Likewise.
3189 * manual/examples/longopt.c (main): Use new-style prototype
3190 definition.
3191 * manual/examples/strncat.c (main): Specify return type and use
3192 (void) for arguments.
3193 * manual/examples/subopt.c (main): Use char **argv argument.
3194
3195 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3196
3197 [BZ #5077]
3198 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3199 rounding modes.
3200
3201 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3202
3203 [BZ #6907]
3204 * manual/string.texi (strchr): Change when strchrnul is
3205 recommended.
3206
3207 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3208
3209 [BZ #174]
3210 * manual/locale.texi (setlocale): Document LOCPATH.
3211
3212 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3213
3214 [BZ #10210]
3215 * manual/process.texi (execle): Move @dots{} before last argument.
3216
3217 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3218
3219 [BZ #12047]
3220 * manual/charset.texi (Generic Charset Conversion): Fix typo
3221 (LC_TYPE -> LC_CTYPE).
3222
3223 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3224
3225 [BZ #5805]
3226 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3227 (scalbnf): Likewise.
3228 (scalbnl): Likewise.
3229 (scalbln): Likewise.
3230 (scalblnf): Likewise.
3231 (scalblnl): Likewise.
3232 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3233 (vwarnx): Likewise.
3234 (verr): Likewise.
3235 (verrx): Likewise.
3236 * manual/filesys.texi (telldir): Use braces around return type.
3237 * manual/llio.texi (mmap): Add space after comma.
3238 (mmap64): Likewise.
3239 * manual/math.texi (jn): Use @var{} on parameter names.
3240 (jnf): Likewise.
3241 (jnl): Likewise.
3242 (yn): Likewise.
3243 (ynf): Likewise.
3244 (ynl): Likewise.
3245 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3246 line.
3247 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3248 "...".
3249 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3250 (sched_get_priority_max): Likewise.
3251 * manual/signal.texi (sigvec): Add space after comma.
3252 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3253 names.
3254 (if_indextoname): Likewise.
3255 (if_freenameindex): Likewise.
3256 (sendto): Use ',' instead of '.' in prototype.
3257 * manual/startup.texi (syscall): Use @dots{} instead of literal
3258 "...".
3259 * manual/stdio.texi (__fpending): Separate initial words of
3260 paragraph from @deftypefun line.
3261 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3262 "...".
3263 (vsyslog): Use @var{} on parameter names.
3264 * manual/terminal.texi (stty): Use @var{} on parameter names.
3265 * manual/users.texi (getutmp): Use @var{} on parameter names.
3266 (getutmpx): Likewise.
3267
3268 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3269
3270 [BZ #6884]
3271 * manual/stdio.texi (fopen): Fix typos in description of
3272 ",ccs=STRING".
3273
3274 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3275
3276 [BZ #4026]
3277 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3278 get clock_id definition.
3279
3280 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3281
3282 [BZ #4822]
3283 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3284 (madvise): Cast every argument to void on its own.
3285
3286 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3287
3288 [BZ #9902]
3289 * manual/startup.texi (Exit Status): Fix typo.
3290
3291 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3292
3293 [BZ #10140]
3294 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3295 * manual/examples/argp-ex2.c: Likewise.
3296 * manual/examples/argp-ex3.c: Likewise.
3297
3298 2012-02-16 Richard Henderson <rth@redhat.com>
3299
3300 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3301 * sysdeps/s390/s390-32/initfini.c: Remove.
3302 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3303 * sysdeps/s390/s390-64/initfini.c: Remove.
3304
3305 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3306
3307 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3308 compiler output for sysdeps/generic/initfini.c.
3309 * sysdeps/sh/elf/initfini.c: Remove file.
3310
3311 2012-02-16 David S. Miller <davem@davemloft.net>
3312
3313 [BZ #11494]
3314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3315
3316 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3317 * sysdeps/sparc/crti.S: New file.
3318 * sysdeps/sparc/crtn.S: New file.
3319 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3320 * sysdeps/sparc/sparc64/Makefile: Likewise.
3321
3322 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3323
3324 [BZ #3335]
3325 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3326
3327 2012-02-15 Roland McGrath <roland@hack.frob.com>
3328
3329 [BZ #4822]
3330 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3331
3332 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3333 (write, read, close): Likewise.
3334 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3335
3336 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3337
3338 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3339 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3340 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3341 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3342 <bits/signalfd.h>.
3343 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3345 bits/signalfd.h.
3346
3347 2012-02-14 Marek Polacek <polacek@redhat.com>
3348
3349 * sysdeps/x86_64/crti.S: New file.
3350 * sysdeps/x86_64/crtn.S: New file.
3351 * sysdeps/x86_64/elf/initfini.c: Remove file.
3352
3353 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3354
3355 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3356 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3357 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3358 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3359 <bits/inotify.h>.
3360 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3361 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3362 bits/inotify.h.
3363
3364 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3365
3366 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3367 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3368 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3369 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3370 <bits/eventfd.h>.
3371 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3372 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3373 bits/eventfd.h.
3374
3375 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3376
3377 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3378 __feraiseexcept instead of feraiseexcept.
3379
3380 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3381 nanosleep invocations.
3382 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3383 strings, and add error checking for a nanosleep invocations.
3384
3385 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3386
3387 Replace FSF snail mail address with URLs, as per GNU coding standards.
3388 Most of the snail mail addresses were wrong anyway, and omitting
3389 them makes the source code easier to maintain. Almost all of the
3390 changes are to license notices and to locale LC_IDENTIFICATION
3391 addresses, except for this one:
3392 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3393 not its snail mail address.
3394
3395 2012-02-09 Richard Henderson <rth@twiddle.net>
3396
3397 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3398 of kernel-features.h.
3399
3400 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3401
3402 2012-02-08 Marek Polacek <polacek@redhat.com>
3403
3404 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3405 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3406 * sysdeps/gnu/_G_config.h: Likewise.
3407 * sysdeps/generic/_G_config.h: Likewise.
3408
3409 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3410
3411 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3412 tests.
3413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3414
3415 * sysdeps/powerpc/powerpc32/crti.S: New file.
3416 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3417 * sysdeps/powerpc/powerpc64/crti.S: New file.
3418 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3419
3420 * Makeconfig (have-initfini): Don't set.
3421 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3422 * configure.in (nopic_initfini): Don't substitute.
3423 * config.h.in (HAVE_INITFINI): Don't #undef.
3424 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3425 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3426
3427 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3428
3429 Support crti.S and crtn.S provided directly by architectures.
3430 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3431 [crti.S in sysdirs] (omit-deps): Likewise.
3432 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3433 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3434 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3435 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3436 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3437 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3438 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3439 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3440 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3441 compiler output for sysdeps/generic/initfini.c.
3442 * sysdeps/i386/elf/Makefile: Remove file.
3443 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3444
3445 2012-02-07 Marek Polacek <polacek@redhat.com>
3446
3447 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3448 * sysdeps/gnu/_G_config.h: Likewise.
3449 * sysdeps/mach/hurd/_G_config.h: Likewise.
3450
3451 2012-02-07 Marek Polacek <polacek@redhat.com>
3452
3453 * math/Makefile (tests): Add tst-CMPLX2.
3454 * math/tst-CMPLX2.c: New file.
3455
3456 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3457
3458 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3459
3460 * math/libm-test.inc (jn_test): Add missing L suffix.
3461
3462 2012-02-06 Marek Polacek <polacek@redhat.com>
3463
3464 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3465 * sysdeps/i386/fpu/e_powf.S: Likewise.
3466 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3467 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3468 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3469 * sysdeps/i386/fpu/e_pow.S: Likewise.
3470 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3471 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3472 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3473 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3474 * sysdeps/i386/fpu/e_log2.S: Likewise.
3475 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3476 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3477 * sysdeps/i386/fpu/e_powl.S: Likewise.
3478 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3479 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3480 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3481 * sysdeps/i386/fpu/e_logl.S: Likewise.
3482 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3483 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3484 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3485 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3486 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3487 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3488 * sysdeps/i386/fpu/e_log.S: Likewise.
3489 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3490 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3491 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3492 * sysdeps/i386/fpu/e_logf.S: Likewise.
3493 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3494 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3495 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3496 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3497 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3498 * sysdeps/i386/fpu/e_log10.S: Likewise.
3499 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3500 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3501 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3502 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3503 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3504 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3505 * sysdeps/i386/asm-syntax.h: Likewise.
3506 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3507 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3508 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3509 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3510 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3511 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3512 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3513 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3514 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3515 * sysdeps/powerpc/sysdep.h: Likewise.
3516 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3517 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3518
3519 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3520
3521 [BZ #411]
3522 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3523
3524 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3525
3526 * sysdeps/i386/sysdep.h: Include <features.h>.
3527 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3528 version.
3529
3530 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3531
3532 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3533 Define.
3534 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3535 LOAD_PIC_REG_STR.
3536
3537 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3538
3539 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3540 (SETUP_PIC_REG): Use GET_PC_THUNK.
3541 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3542 macro.
3543
3544 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3545
3546 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3547 for non-PIC compilation.
3548 (SETUP_PIC_REG): Add .p2align directive.
3549 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3550 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3551 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3552 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3553 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3554 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3555 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3556 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3557 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3558 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3559 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3560 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3561 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3562 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3563 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3564 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3565 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3566 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3567 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3568 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3569 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3570 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3571 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3573 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3577 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3578 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3579 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3580 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3581 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3582 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3583 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3584 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3585 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3586 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3587 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3588 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3589 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3590
3591 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3592
3593 * math/tst-CMPLX.c: Include <stdio.h>.
3594
3595 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3596
3597 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3598 float.
3599 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3600 * sysdeps/sparc/bits/mathdef.h: Likewise.
3601
3602 2012-01-31 Marek Polacek <polacek@redhat.com>
3603
3604 * libio/libio.h: Don't define _PARAMS.
3605 * locale/programs/config.h: Don't define PARAMS.
3606 * stdlib/strtol_l.c: Likewise.
3607 (__strtol_l): Remove PARAMS from the prototype.
3608
3609 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3610
3611 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3612 names. Just use the correct names. Remove unnecessary wrapper
3613 functions.
3614 * malloc/arena.c: Likewise.
3615 * malloc/hooks.c: Likewise.
3616
3617 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3618 ARENA_TEST says not to. Simplify test for creation of a new arena.
3619 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3620
3621 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3622
3623 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3624 into tail calls.
3625 (update_get_addr): New function.
3626 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3627 GET_ADDR_MODULE parameter.
3628
3629 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3630
3631 * crypt/cert.c: Remove __STDC__ conditionals.
3632 * crypt/crypt-entry.c: Likewise.
3633 * crypt/crypt_util.c: Likewise.
3634 * libio/filedoalloc.c: Likewise.
3635 * libio/fileops.c: Likewise.
3636 * libio/genops.c: Likewise.
3637 * libio/iofclose.c: Likewise.
3638 * libio/iofdopen.c: Likewise.
3639 * libio/iofopen.c: Likewise.
3640 * libio/iofopen64.c: Likewise.
3641 * libio/iogetdelim.c: Likewise.
3642 * libio/iopopen.c: Likewise.
3643 * libio/obprintf.c: Likewise.
3644 * libio/oldfileops.c: Likewise.
3645 * libio/oldiofclose.c: Likewise.
3646 * libio/oldiofdopen.c: Likewise.
3647 * libio/oldiofopen.c: Likewise.
3648 * libio/oldiopopen.c: Likewise.
3649 * libio/wfiledoalloc.c: Likewise.
3650 * libio/wgenops.c: Likewise.
3651 * locale/programs/xmalloc.c: Likewise.
3652 * misc/syslog.c: Likewise.
3653 * stdio-common/xbug.c: Likewise.
3654 * string/memchr.c: Likewise.
3655 * string/memcmp.c: Likewise.
3656 * string/memrchr.c: Likewise.
3657 * string/rawmemchr.c: Likewise.
3658 * sysdeps/posix/getcwd.c: Likewise.
3659 * time/strftime_l.c: Likewise.
3660
3661 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3662
3663 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3664 * config.make.in (config-cflags-sse2avx): Define.
3665 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3666 Fix typo.
3667
3668 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3669
3670 * scripts/config.guess: Update from upstream config git repository.
3671 * scripts/config.sub: Likewise.
3672
3673 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3674
3675 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3676 (EM_NUM): Update.
3677 (R_TILEPRO_*, R_TILEGX_*): New macros.
3678
3679 * scripts/firstversions.awk: Fix bug in version range handling.
3680
3681 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3682
3683 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3684
3685 * include/sys/epoll.h: New file.
3686 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3687 libc_hidden_def.
3688
3689 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3690
3691 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3692 Avoid unnecessary __WORDSIZE == 64 test.
3693 (fmaxf): Use VEX format if possible.
3694 (fmax): Likewise.
3695 (fminf): Likewise.
3696 (fmin): Likewise.
3697
3698 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3699 * math/math_private.h: Remove libc_fegetround* and
3700 libc_fesetround*.
3701 * sysdeps/i386/configure.in: Check for -msse2avx.
3702 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3703 also if SSE2AVX is defined.
3704 Remove libc_fegetround* and libc_fesetround*.
3705 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3706 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3708 of HAS_YMM_USABLE.
3709 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3710 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3711 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3712 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3713 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3714
3715 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3716
3717 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3718
3719 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3720 size is not set.
3721 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3722
3723 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3724
3725 [BZ #13618]
3726 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3727 relocation.
3728 * Makeconfig (libm): Define.
3729 * elf/Makefile: Add rules to build and run tst-relsort1.
3730 * elf/tst-relsort1.c: New file.
3731 * elf/tst-relsort1mod1.c: New file.
3732 * elf/tst-relsort1mod2.c: New file.
3733
3734 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3735
3736 * math/s_ldexp.c: Remove __STDC__ conditionals.
3737 * math/s_ldexpf.c: Likewise.
3738 * math/s_ldexpl.c: Likewise.
3739 * math/s_nextafter.c: Likewise.
3740 * math/s_nexttowardf.c: Likewise.
3741 * math/s_significand.c: Likewise.
3742 * math/s_significandf.c: Likewise.
3743 * math/s_significandl.c: Likewise.
3744 * math/w_jnl.c: Likewise.
3745 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3746 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3747 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3748 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3749 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3750 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3751 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3752 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3753 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3754 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3755 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3756 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3757 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3758 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3759 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3760 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3761 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3762 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3763 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3764 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3765 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3766 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3767 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3768 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3769 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3770 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3771 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3772 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3773 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3774 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3775 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3776 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3777 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3778 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3779 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3780 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3781 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3782 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3783 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3784 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3785 * sysdeps/ieee754/k_standard.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3788 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3790 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3792 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3795 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3796 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3798 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3799 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3800 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3801 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3802 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3803 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3804 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3805 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3807 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3809 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3810 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3811 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3813 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3815 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3816 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3817 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3818 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3819 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3821 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3822 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3823 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3824 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3825 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3826 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3827 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3829 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3830 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3832 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3834 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3838 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3839 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3840 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3841 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3842 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3843 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3847 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3850 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3852 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3854 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3855 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3856 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3858 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3859 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3860 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3861 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3863 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3865 * sysdeps/ieee754/s_matherr.c: Likewise.
3866 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3867 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3868 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3870
3871 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3872
3873 * crypt/md5.h: Remove __STDC__ conditionals.
3874 * libio/libioP.h: Likewise.
3875 * locale/programs/config.h: Likewise.
3876 * sysdeps/generic/sysdep.h: Likewise.
3877 * sysdeps/i386/asm-syntax.h: Likewise.
3878 * sysdeps/s390/asm-syntax.h: Likewise.
3879 * sysdeps/unix/sysdep.h: Likewise.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3882
3883 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3884
3885 * libio/libio.h: Remove __STDC__ conditionals.
3886 * malloc/obstack.h: Likewise.
3887 * math/complex.h: Likewise.
3888 * math/math.h: Likewise.
3889 * sysdeps/generic/_G_config.h: Likewise.
3890 * sysdeps/gnu/_G_config.h: Likewise.
3891 * sysdeps/mach/hurd/_G_config.h: Likewise.
3892 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3893 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3894 * sysdeps/sparc/bits/mathdef.h: Likewise.
3895
3896 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3897
3898 [BZ #13583]
3899 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3900 Clean up HAS_* macros.
3901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3902 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3903 possible.
3904 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3905 HAS_AVX.
3906 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3907 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3908 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3909 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3910 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3911
3912 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3913
3914 * elf/tst-unique3.cc (gets): Remove declaration.
3915 * elf/tst-unique3lib.cc (gets): Likewise.
3916 * elf/tst-unique3lib2.cc (gets): Likewise.
3917 * elf/tst-unique4.cc (gets): Likewise.
3918
3919 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3920
3921 * include/stdio.h: Add C++ protection. Add gets declarations and
3922 definitions.
3923 * debug/tst-chk1.c: Don't declare gets here.
3924 * stdio-common/tst-gets.c: Likewise.
3925
3926 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3927
3928 * posix/glob: Remove directory.
3929
3930 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3931
3932 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3933
3934 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3935
3936 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3937 of the non-standard EPFNOSUPPORT.
3938
3939 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3940
3941 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3942 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3943 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3944
3945 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3946
3947 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3948
3949 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3950
3951 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3952 transient errors.
3953 * nscd/grpcache.c (cache_addgr): Likewise.
3954 * nscd/hstcache.c (cache_addhst): Likewise.
3955 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3956 * nscd/pwdcache.c (cache_addpw): Likewise.
3957 * nscd/servicescache.c (cache_addserv): Likewise.
3958
3959 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3960
3961 * malloc/malloc.c: Various cleanups.
3962 * malloc/hooks.c: Likewise.
3963
3964 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3965 * stdlib/bug-fmtmsg1.c: New file.
3966
3967 * stdlib/fmtmsg.c (init): Add missing unlock.
3968 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3969
3970 2012-01-12 Marek Polacek <polacek@redhat.com>
3971
3972 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3973 and _GNU_SOURCE.
3974
3975 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3976
3977 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3978 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3979 macro to ensure uniqueness of label name.
3980 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3981 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3982
3983 2012-01-11 Ulrich Drepper <drepper@gmail.com>
3984
3985 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3986
3987 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3988 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3989 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3991
3992 2012-01-10 Ulrich Drepper <drepper@gmail.com>
3993
3994 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3995
3996 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3997 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3998 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3999
4000 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4001
4002 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4003 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4004 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4006
4007 * math/bits/math-finite.h: Add ldexp support.
4008
4009 2012-01-10 Marek Polacek <polacek@redhat.com>
4010
4011 * locale/programs/localedef.h (show_archive_content): Add noreturn
4012 attribute.
4013
4014 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4015
4016 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4017
4018 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4019
4020 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4021
4022 * io/Makefile (headers): Add bits/poll2.h.
4023
4024 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4025
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4027 typo #include statement.
4028
4029 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4030
4031 * include/sys/cdefs.h: Define __attribute_alloc_size.
4032 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4033 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4034 * elf/pldd.c: Likewise.
4035 * iconv/iconv_charmap.c: Likewise.
4036 * iconv/iconvconfig.c: Likewise.
4037 * iconv/strtab.c: Likewise.
4038 * locale/programs/locale.c: Likewise.
4039 * locale/programs/localedef.h: Likewise.
4040 * locale/programs/simple-hash.c: Likewise.
4041 * nscd/nscd.h: Likewise.
4042 * nss/makedb.c: Likewise.
4043 * sysdeps/generic/ldconfig.h: Likewise.
4044 * locale/programs/localedef.c: Remove xmalloc prototype.
4045 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4046
4047 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4048
4049 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4050 appropriate.
4051
4052 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4053
4054 * math/Makefile (tests): Add tst-CMPLX.
4055 * math/tst-CMPLX.c: New file.
4056
4057 * math/complex.h (CMPLXL): Fix typo.
4058
4059 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4060 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4061 GLIBC_2.16.
4062 * debug/tst-chk1.c: Add poll and ppoll tests.
4063 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4064 * include/sys/poll.h: Add hidden proto for ppoll.
4065 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4066 * sysdeps/mach/hurd/ppoll.c: Likewise.
4067 * io/ppoll.c: Likewise.
4068 * debug/poll_chk.c: New file.
4069 * debug/ppoll_chk.c: New file.
4070 * include/bits/poll2.h: New file.
4071 * io/bits/poll2.h: New file.
4072
4073 [BZ #1350]
4074 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4075
4076 * configure.in: static is always set to yes. Remove.
4077 * config.make.in: Don't set build-static.
4078 * Makeconfig: Remove use of build-static.
4079 * dlfcn/Makefile: Likewise.
4080 * elf/Makefile: Likewise.
4081 * math/Makefile: Likewise.
4082 * misc/Makefile: Likewise.
4083 * nptl/Makefile: Likewise.
4084 * sysdeps/mach/hurd/Makefile: Likewise.
4085
4086 * configure.in: PWD_P is not used anymore.
4087 * config.make.in: Remove PWD_P entry.
4088
4089 * configure.in: Remove last remnants of RANLIB.
4090 No need to check for signed size_t anymore.
4091 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4092 and IA-64.
4093 Remove __builtin_expect test because we require at least gcc 3.4.
4094 * aclocal.m4: Likewise.
4095
4096 * wcsmbs/mbrtoc16.c: Implement using towc function.
4097 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4098 * wcsmbs/wcsmbsload.c: Likewise.
4099 * iconv/gconv_simple.c: Likewise.
4100 * iconv/gconv_int.h: Likewise.
4101 * iconv/gconv_builtin.h: Likewise.
4102 * iconv/iconv_prog.c: Remove CHAR16 handling.
4103
4104 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4105
4106 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4107
4108 * configure.in: Remove --with-elf and --enable-bounded options.
4109 Dont set base_machine for ia64. More non-ELF conditions removed.
4110 Remove testing and setting of leading underscore information.
4111 * config.make.in (build-bounded): Set to no.
4112 * config.h.in: Remove NO_UNDERSCORES entry.
4113 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4114 them.
4115 * csu/start.c: Remove !NO_UNDERSCORE code.
4116 * locale/localeinfo.h: Likewise.
4117 * sysdeps/generic/machine-gmon.h: Likewise.
4118 * sysdeps/generic/sysdep.h: Likewise.
4119 * sysdeps/i386/sysdep.h: Likewise.
4120 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4121 * sysdeps/mach/sysdep.h: Likewise.
4122 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4123 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4124 * sysdeps/sh/sysdep.h: Likewise.
4125 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4126 * sysdeps/unix/i386/sysdep.S: Likewise.
4127 * sysdeps/unix/sparc/start.c: Likewise.
4128 * sysdeps/unix/sparc/sysdep.S: Likewise.
4129 * sysdeps/unix/sparc/sysdep.h: Likewise.
4130 * sysdeps/unix/start.c: Likewise.
4131 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4132 * sysdeps/x86_64/sysdep.h: Likewise.
4133
4134 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4135
4136 [BZ #13553]
4137 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4138 for non-gcc.
4139 * argp/argp-fmtstream.h: Use const instead __const.
4140 * argp/argp.h: Likewise.
4141 * assert/assert.h: Likewise.
4142 * bits/fenv.h: Likewise.
4143 * bits/sched.h: Likewise.
4144 * bits/sigset.h: Likewise.
4145 * bits/sigthread.h: Likewise.
4146 * catgets/nl_types.h: Likewise.
4147 * conform/data/pthread.h-data: Likewise.
4148 * crypt/crypt-private.h: Likewise.
4149 * crypt/crypt.h: Likewise.
4150 * crypt/crypt_util.c: Likewise.
4151 * ctype/ctype.h: Likewise.
4152 * debug/execinfo.h: Likewise.
4153 * debug/mbsnrtowcs_chk.c: Likewise.
4154 * debug/mbsrtowcs_chk.c: Likewise.
4155 * debug/wcsnrtombs_chk.c: Likewise.
4156 * debug/wcsrtombs_chk.c: Likewise.
4157 * debug/wcstombs_chk.c: Likewise.
4158 * dirent/dirent.h: Likewise.
4159 * dlfcn/dlfcn.h: Likewise.
4160 * elf/neededtest4.c: Likewise.
4161 * grp/grp.h: Likewise.
4162 * gshadow/gshadow.h: Likewise.
4163 * iconv/gconv.h: Likewise.
4164 * iconv/gconv_int.h: Likewise.
4165 * iconv/gconv_simple.c: Likewise.
4166 * iconv/iconv.h: Likewise.
4167 * iconv/loop.c: Likewise.
4168 * iconv/skeleton.c: Likewise.
4169 * include/aio.h: Likewise.
4170 * include/aliases.h: Likewise.
4171 * include/argz.h: Likewise.
4172 * include/arpa/inet.h: Likewise.
4173 * include/assert.h: Likewise.
4174 * include/dirent.h: Likewise.
4175 * include/dlfcn.h: Likewise.
4176 * include/execinfo.h: Likewise.
4177 * include/fcntl.h: Likewise.
4178 * include/fenv.h: Likewise.
4179 * include/glob.h: Likewise.
4180 * include/grp.h: Likewise.
4181 * include/libintl.h: Likewise.
4182 * include/mntent.h: Likewise.
4183 * include/netdb.h: Likewise.
4184 * include/pwd.h: Likewise.
4185 * include/rpc/netdb.h: Likewise.
4186 * include/sched.h: Likewise.
4187 * include/search.h: Likewise.
4188 * include/shadow.h: Likewise.
4189 * include/signal.h: Likewise.
4190 * include/stdio.h: Likewise.
4191 * include/stdlib.h: Likewise.
4192 * include/string.h: Likewise.
4193 * include/sys/socket.h: Likewise.
4194 * include/sys/stat.h: Likewise.
4195 * include/sys/statfs.h: Likewise.
4196 * include/sys/statvfs.h: Likewise.
4197 * include/sys/syslog.h: Likewise.
4198 * include/sys/time.h: Likewise.
4199 * include/sys/uio.h: Likewise.
4200 * include/time.h: Likewise.
4201 * include/unistd.h: Likewise.
4202 * include/utmp.h: Likewise.
4203 * include/wchar.h: Likewise.
4204 * include/wctype.h: Likewise.
4205 * inet/aliases.h: Likewise.
4206 * inet/arpa/inet.h: Likewise.
4207 * inet/netinet/ether.h: Likewise.
4208 * inet/netinet/in.h: Likewise.
4209 * intl/libintl.h: Likewise.
4210 * io/bits/fcntl2.h: Likewise.
4211 * io/fcntl.h: Likewise.
4212 * io/ftw.h: Likewise.
4213 * io/sys/poll.h: Likewise.
4214 * io/sys/stat.h: Likewise.
4215 * io/sys/statfs.h: Likewise.
4216 * io/sys/statvfs.h: Likewise.
4217 * io/utime.h: Likewise.
4218 * libio/bits/stdio.h: Likewise.
4219 * libio/bits/stdio2.h: Likewise.
4220 * libio/libio.h: Likewise.
4221 * libio/libioP.h: Likewise.
4222 * libio/stdio.h: Likewise.
4223 * locale/lc-ctype.c: Likewise.
4224 * locale/locale.h: Likewise.
4225 * login/utmp.h: Likewise.
4226 * malloc/arena.c: Likewise.
4227 * malloc/malloc.c: Likewise.
4228 * malloc/malloc.h: Likewise.
4229 * malloc/mcheck.c: Likewise.
4230 * malloc/mtrace.c: Likewise.
4231 * math/bits/mathcalls.h: Likewise.
4232 * math/fenv.h: Likewise.
4233 * math/math_private.h: Likewise.
4234 * misc/bits/error.h: Likewise.
4235 * misc/bits/syslog.h: Likewise.
4236 * misc/err.h: Likewise.
4237 * misc/error.h: Likewise.
4238 * misc/fstab.h: Likewise.
4239 * misc/mntent.h: Likewise.
4240 * misc/regexp.h: Likewise.
4241 * misc/search.h: Likewise.
4242 * misc/sgtty.h: Likewise.
4243 * misc/sys/mman.h: Likewise.
4244 * misc/sys/syslog.h: Likewise.
4245 * misc/sys/uio.h: Likewise.
4246 * misc/sys/xattr.h: Likewise.
4247 * misc/ttyent.h: Likewise.
4248 * nis/rpcsvc/ypclnt.h: Likewise.
4249 * nss/nss.h: Likewise.
4250 * posix/bits/unistd.h: Likewise.
4251 * posix/fnmatch.h: Likewise.
4252 * posix/glob.h: Likewise.
4253 * posix/sched.h: Likewise.
4254 * posix/spawn.h: Likewise.
4255 * posix/sys/wait.h: Likewise.
4256 * posix/unistd.h: Likewise.
4257 * posix/wordexp.h: Likewise.
4258 * pwd/pwd.h: Likewise.
4259 * resolv/netdb.h: Likewise.
4260 * resource/sys/resource.h: Likewise.
4261 * rt/aio.h: Likewise.
4262 * rt/bits/mqueue2.h: Likewise.
4263 * rt/mqueue.h: Likewise.
4264 * shadow/shadow.h: Likewise.
4265 * signal/signal.h: Likewise.
4266 * socket/send.c: Likewise.
4267 * socket/sendto.c: Likewise.
4268 * socket/sys/socket.h: Likewise.
4269 * stdio-common/printf.h: Likewise.
4270 * stdlib/bits/stdlib.h: Likewise.
4271 * stdlib/fmtmsg.h: Likewise.
4272 * stdlib/monetary.h: Likewise.
4273 * stdlib/stdlib.h: Likewise.
4274 * stdlib/ucontext.h: Likewise.
4275 * streams/stropts.h: Likewise.
4276 * string/argz.h: Likewise.
4277 * string/bits/string2.h: Likewise.
4278 * string/string.h: Likewise.
4279 * string/strings.h: Likewise.
4280 * sunrpc/rpc/auth.h: Likewise.
4281 * sunrpc/rpc/auth_des.h: Likewise.
4282 * sunrpc/rpc/clnt.h: Likewise.
4283 * sunrpc/rpc/netdb.h: Likewise.
4284 * sunrpc/rpc/pmap_clnt.h: Likewise.
4285 * sunrpc/rpc/xdr.h: Likewise.
4286 * sysdeps/generic/inttypes.h: Likewise.
4287 * sysdeps/generic/net/if.h: Likewise.
4288 * sysdeps/generic/sys/swap.h: Likewise.
4289 * sysdeps/gnu/net/if.h: Likewise.
4290 * sysdeps/gnu/utmpx.h: Likewise.
4291 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4292 * sysdeps/i386/i486/bits/string.h: Likewise.
4293 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4294 * sysdeps/s390/bits/string.h: Likewise.
4295 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4296 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4297 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4298 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4299 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4300 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4301 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4302 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4303 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4304 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4305 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4306 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4307 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4308 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4309 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4310 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4311 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4313 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4314 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4315 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4316 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4317 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4318 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4319 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4320 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4321 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4322 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4323 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4324 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4325 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4326 * sysvipc/sys/ipc.h: Likewise.
4327 * sysvipc/sys/msg.h: Likewise.
4328 * sysvipc/sys/sem.h: Likewise.
4329 * sysvipc/sys/shm.h: Likewise.
4330 * termios/termios.h: Likewise.
4331 * time/sys/time.h: Likewise.
4332 * time/time.h: Likewise.
4333 * wcsmbs/bits/wchar2.h: Likewise.
4334 * wcsmbs/uchar.h: Likewise.
4335 * wcsmbs/wchar.h: Likewise.
4336 * wctype/wctype.h: Likewise.
4337
4338 [BZ #13551]
4339 * Makeconfig: Remove all but ELF support including AIX support.
4340 * Makerules: Likewise.
4341 * config.h.in: Likewise.
4342 * config.make.in: Likewise.
4343 * configure: Likewise.
4344 * configure.in: Likewise.
4345 * csu/Makefile: Likewise.
4346 * csu/version.c: Likewise.
4347 * debug/Makefile: Likewise.
4348 * dlfcn/Makefile: Likewise.
4349 * elf/Makefile: Likewise.
4350 * extra-lib.mk: Likewise.
4351 * iconv/Makefile: Likewise.
4352 * include/libc-symbols.h: Likewise.
4353 * include/shlib-compat.h: Likewise.
4354 * resolv/Makefile: Likewise.
4355 * resolv/res_libc.c: Likewise.
4356 * rt/Makefile: Likewise.
4357 * sysdeps/i386/asm-syntax.h: Likewise.
4358 * sysdeps/i386/sysdep.h: Likewise.
4359 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4360 * sysdeps/mach/sysdep.h: Likewise.
4361 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4362 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4363 * sysdeps/s390/asm-syntax.h: Likewise.
4364 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4365 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4366 * sysdeps/sh/sysdep.h: Likewise.
4367 * sysdeps/unix/sparc/sysdep.h: Likewise.
4368 * sysdeps/wordsize-32/divdi3.c: Likewise.
4369 * sysdeps/x86_64/sysdep.h: Likewise.
4370
4371 * argp/Versions: Remove _argp_unlock_xxx.
4372
4373 [BZ #13559]
4374 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4375 * abilist/libBrokenLocale.abilist: Likewise.
4376 * abilist/libanl.abilist: Likewise.
4377 * abilist/libc.abilist: Likewise.
4378 * abilist/libcrypt.abilist: Likewise.
4379 * abilist/libdl.abilist: Likewise.
4380 * abilist/libm.abilist: Likewise.
4381 * abilist/libnsl.abilist: Likewise.
4382 * abilist/libpthread.abilist: Likewise.
4383 * abilist/libresolv.abilist: Likewise.
4384 * abilist/librt.abilist: Likewise.
4385 * abilist/libthread_db.abilist: Likewise.
4386 * abilist/libutil.abilist: Likewise.
4387 * abilist/libnss_db.abilist: New file.
4388
4389 * scripts/abilist.awk: Add support for indirect functions.
4390
4391 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4392
4393 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4394
4395 * shlib-versions: Remove entries for ports architectures.
4396
4397 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4398 files in ports.
4399 * elf/stackguard-macros.h: Remove support for IA-64.
4400 * elf/tst-auditmod1.c: Likewise.
4401 * sysdeps/generic/ldsodefs.h: Likewise.
4402
4403 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4404 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4405 configure files.
4406
4407 [BZ #13552]
4408 * configure.in: Remove --enable-omitfp support.
4409 * FAQ.in: Adjust.
4410 * config.make.in: Likewise.
4411 * Makeconfig: Likewise.
4412 * manual/install.texi: Likewise.
4413
4414 In case anyone cares, the IA-64 architecture could move to ports.
4415 * sysdeps/ia64/*: Removed.
4416 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4417 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4418
4419 [BZ #13555]
4420 * configure.in: Remove entries for unsupported architectures.
4421
4422 [BZ #13533]
4423 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4424 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4425 routines.
4426 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4427 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4428 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4429 fall back to using wcrtomb.
4430 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4431 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4432 renaming.
4433 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4434 * wcsmbs/tst-c16c32-1.c: New file.
4435
4436 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4437 local variable.
4438
4439 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4440
4441 * elf/tst-unique3.cc: Add explicit declaration of gets.
4442 * elf/tst-unique3lib.cc: Likewise.
4443 * elf/tst-unique3lib2.cc: Likewise.
4444 * elf/tst-unique4.cc: Likewise.
4445
4446 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4447
4448 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4449
4450 [BZ #13566]
4451 * assert/assert.h (static_assert): Don't define for C++.
4452 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4453 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4454
4455 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4456
4457 * iconv/loop.c (single loop): Fix assertion in storing of
4458 remaining bytes.
4459
4460 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4461
4462 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4463
4464 * posix/getconf.c: Update copyright year.
4465 * nss/getent.c: Likewise.
4466 * nss/makedb.c: Likewise.
4467 * iconv/iconvconfig.c: Likewise.
4468 * iconv/iconv_prog.c: Likewise.
4469 * elf/ldconfig.c: Likewise.
4470 * elf/pldd.c: Likewise.
4471 * elf/sotruss.ksh: Likewise.
4472 * catgets/gencat.c: Likewise.
4473 * csu/version.c: Likewise.
4474 * elf/ldd.bash.in: Likewise.
4475 * elf/sprof.c (print_version): Likewise.
4476 * locale/programs/locale.c: Likewise.
4477 * locale/programs/localedef.c: Likewise.
4478 * login/programs/pt_chown.c: Likewise.
4479 * nscd/nscd.c (print_version): Likewise.
4480 * debug/xtrace.sh: Likewise.
4481 * malloc/memusage.sh: Likewise.
4482 * malloc/mtrace.pl: Likewise.
4483 * debug/catchsegv.sh: Likewise.
4484
4485 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4486
4487 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4488 pure attribute.
4489
4490 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4491
4492 [BZ #13533]
4493 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4494 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4495 transformations.
4496 * iconv/gconv_int.h: Likewise.
4497 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4498 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4499 from libc for GLIBC_2.16.
4500 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4501 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4502 * wcsmbs/uchar.h: Really define mbstate_t.
4503 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4504 * wcsmbs/c16rtomb.c: New file.
4505 * wcsmbs/mbrtoc16.c: New file.
4506 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4507 for C/POSIX locale.
4508 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4509 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4510
4511 * wcsmbs/wchar.h: Add missing __restrict.
4512
4513 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4514
4515 [BZ #13532]
4516 * time/Makefile (routines): Add timespec_get.
4517 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4518 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4519 timespec for ISO C11.
4520 * time/timespec_get.c: New file.
4521 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4522 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4523
4524 [BZ #13531]
4525 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4526 * stdlib/stdlib.h: Declare aligned_alloc.
4527 * Versions.def: Add GLIBC_2.16 for libc.
4528 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4529
4530 [BZ 13527]
4531 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4532 ISO C11.
4533
4534 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4535 code.
4536
4537 [BZ #13528]
4538 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4539
4540 [BZ #13529]
4541 * assert/assert.h (static_assert): Define.
4542
4543 * version.h: Update for 2.16 development version.
4544
4545 [BZ #13526]
4546 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4547 _ISOC11_SOURCE.
4548
4549 * version.h (RELEASE): Bump for 2.15 release.
4550 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4551
4552 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4553 Patch by Marek Polacek <mpolacek@redhat.com>.
4554
4555 * bits/byteswap.h: Protect long long constants with __extension__.
4556 * sysdeps/i386/bits/byteswap.h: Likewise.
4557 * sysdeps/ia64/bits/byteswap.h: Likewise.
4558 * sysdeps/s390/bits/byteswap.h: Likewise.
4559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4560
4561 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4562
4563 [BZ #13540]
4564 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4565 destination buffer.
4566 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4567
4568 2011-12-23 Marek Polacek <polacek@redhat.com>
4569
4570 * elf/dl-addr.c (determine_info): Add inline keyword.
4571 * elf/tst-auditmod4b.c (check_avx): Likewise.
4572 * elf/tst-auditmod6b.c (check_avx): Likewise.
4573 * elf/tst-auditmod6c.c (check_avx): Likewise.
4574 * elf/tst-auditmod7b.c (check_avx): Likewise.
4575
4576 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4577
4578 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4579 !__SSE_MATH__.
4580
4581 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4582
4583 [BZ #13540]
4584 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4585 processing for last bytes.
4586
4587 2011-08-06 Bruno Haible <bruno@clisp.org>
4588
4589 [BZ #13061]
4590 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4591 U+0385, not to U+1FEE.
4592
4593 [BZ #13062]
4594 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4595 entry for U+00A5 U+0301.
4596
4597 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4598
4599 [BZ #13166]
4600 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4601 buffer for the output is too small.
4602
4603 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4604 optimization.
4605
4606 [BZ #13185]
4607 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4608 SSE flags if possible.
4609
4610 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4611
4612 [BZ #13540]
4613 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4614 processing for last bytes.
4615
4616 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4617
4618 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4619 (syscall-list-default-options, syscall-list-default-condition)
4620 (syscall-list-includes): Define.
4621 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4622 list of ABIs and options and #if conditions for each ABI. Do not
4623 handle common syscalls between ABIs specially.
4624 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4625 Remove.
4626 (syscall-list-variants, syscall-list-32bit-options)
4627 (syscall-list-32bit-condition, syscall-list-64bit-options)
4628 (syscall-list-64bit-condition): Define.
4629 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4630 (syscall-list-variants, syscall-list-32bit-options)
4631 (syscall-list-32bit-condition, syscall-list-64bit-options)
4632 (syscall-list-64bit-condition): Define.
4633 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4634 Remove.
4635 (syscall-list-variants, syscall-list-32bit-options)
4636 (syscall-list-32bit-condition, syscall-list-64bit-options)
4637 (syscall-list-64bit-condition): Define.
4638 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4639 Remove.
4640 (syscall-list-variants, syscall-list-32bit-options)
4641 (syscall-list-32bit-condition, syscall-list-64bit-options)
4642 (syscall-list-64bit-condition): Define.
4643
4644 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4645
4646 * locale/iso-639.def: Add brx entry.
4647
4648 [BZ #13328]
4649 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4650 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4651
4652 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4653 __feraiseexcept_renamed.
4654
4655 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4656
4657 [BZ #13538]
4658 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4659 EPOLLET with unsigned values.
4660 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4661 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4662
4663 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4664 to large cancellation.
4665 * math/s_cacoshf.c: Likewise.
4666 * math/s_cacoshl.c: Likewise.
4667
4668 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4669
4670 [BZ #13305]
4671 [BZ #12786]
4672 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4673 * math/s_cacoshf.c: Likewise.
4674 * math/s_cacoshl.c: Likewise.
4675
4676 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4677
4678 [BZ #13439]
4679 * iconv/gconv.h: Define __GCONV_SWAP.
4680 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4681 * iconvdata/utf-16.c: Likewise.
4682 * iconvdata/utf-32.c: Likewise.
4683
4684 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4685
4686 [BZ #13524]
4687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4688 numerator after shifting it by one limb.
4689
4690 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4691
4692 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4693 under [__USE_EXTERN_INLINES].
4694
4695 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4696
4697 [BZ #13446]
4698 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4699
4700 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4701
4702 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4703 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4704 optimized code.
4705 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4706 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4707 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4708 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4709 for strncasecmp/strncasecmp_l compilation.
4710 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4711 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4712
4713 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4714
4715 [BZ #13484]
4716 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4717 of __asm__.
4718
4719 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4720
4721 [BZ #13506]
4722 * time/tzfile.c (__tzfile_read): Check values from file header.
4723
4724 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4725
4726 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4727 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4728 * powerpc/powerpc32/dl-start.S: Likewise.
4729 * powerpc/powerpc32/elf/start.S: Likewise.
4730 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4731 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4732 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4733 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4734 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4735 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4736 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4737 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4738 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4739 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4740 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4741 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4742 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4743 * powerpc/powerpc32/memset.S: Likewise.
4744 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4745 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4746 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4747 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4748 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4749 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4750 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4751 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4752 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4753 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4754 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4755 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4756 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4757
4758 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4759
4760 * math/libm-test.inc: Added more nearbyint tests.
4761 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4762 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4763 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4764 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4765
4766 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4767
4768 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4769 FD_CLOEXEC.
4770
4771 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4772
4773 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4774 Add wcscpy-ssse3 wcscpy-c.
4775 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4776 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4777 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4778 * sysdeps/x86_64/wcschr.S: New file.
4779 * sysdeps/x86_64/wcsrchr.S: New file.
4780 * string/test-strcmp.c: Remove checking of wcscmp function for
4781 wrong alignments.
4782 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4783 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4784 wcsrchr-sse2 wcsrchr-c.
4785 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4786 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4787 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4788 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4789 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4790 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4791 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4792 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4793 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4794 * wcsmbc/wcschr.c (WCSCHR): New macro.
4795
4796 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4797
4798 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4799 * wcsmbs/test-wcsrchr.c: New file.
4800 * string/test-strrchr.c: Add wcsrchr support.
4801 (WIDE): New macro.
4802 * wcsmbs/test-wcscpy.c: New file.
4803 * string/test-strcpy.c: Add wcscpy support.
4804 (WIDE): New macro.
4805
4806 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4807
4808 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4809 the inner loop.
4810
4811 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4812
4813 [BZ #13472]
4814 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4815
4816 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4817
4818 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4819 Minor optimizations.
4820
4821 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4822 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4823 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4824
4825 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4826
4827 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4828 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4829 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4830 for gcc to avoid warnings.
4831 * inet/Makefile (tests): Add tst-checks.
4832 * inet/tst-checks.c: New file.
4833
4834 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4835 warning.
4836
4837 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4838 __wmemcmp_sse2.
4839
4840 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4841 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4842
4843 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4844
4845 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4846
4847 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4848 problem.
4849
4850 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4851
4852 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4853
4854 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4855 conditional on GCC version.
4856 (__arch_compare_and_exchange_val_8_acq)
4857 (__arch_compare_and_exchange_val_16_acq)
4858 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4859 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4860 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4861
4862 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4863
4864 * sysdeps/sh/backtrace.c: New file.
4865
4866 2011-12-02 Andreas Schwab <schwab@redhat.com>
4867
4868 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4869 parenthesis.
4870
4871 2011-12-01 Andreas Schwab <schwab@redhat.com>
4872
4873 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4874 falling back to utime.
4875
4876 2011-11-30 Andreas Schwab <schwab@redhat.com>
4877
4878 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4879 expectations for float.
4880
4881 2011-11-29 Andreas Schwab <schwab@redhat.com>
4882
4883 * locale/weight.h (findidx): Add parameter len.
4884 * locale/weightwc.h (findidx): Likewise.
4885 * posix/fnmatch_loop.c (FCT): Adjust caller.
4886 * posix/regcomp.c (build_equiv_class): Likewise.
4887 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4888 * posix/regexec.c (check_node_accept_bytes): Likewise.
4889 * string/strcoll_l.c (STRCOLL): Likewise.
4890 * string/strxfrm_l.c (STRXFRM): Likewise.
4891
4892 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4893
4894 * Makefile.in: Remove CVSOPT handling.
4895 * configure.in: Remove use of AC_REVISION.
4896 * iconvdata/Makefile (distribute): No need to filter out CVS.
4897 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4898 handling.
4899
4900 2011-11-16 Andreas Schwab <schwab@redhat.com>
4901
4902 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4903 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4904 [USE_AS_STRNCASECMP_L]: Likewise.
4905 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4906 NO_TLS_DIRECT_SEG_REFS.
4907 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4908 Fix argument offsets for non-PIC.
4909 [USE_AS_STRNCASECMP_L]: Likewise.
4910 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4911 NO_TLS_DIRECT_SEG_REFS.
4912
4913 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4914
4915 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4916 O_CLOEXEC.
4917 * locale/loadlocale.c (_nl_load_locale): Likewise.
4918
4919 2011-11-15 Andreas Schwab <schwab@redhat.com>
4920
4921 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4922 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4923 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4924 (SYSCALL_GETTIME): Set errno on error.
4925
4926 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4927 count references to noai6ai_cached.
4928
4929 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4930
4931 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4932
4933 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4934 FD_CLOEXEC for /proc/self/maps.
4935
4936 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4937 FD_CLOEXEC for /proc/meminfo.
4938
4939 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4940 gai.conf.
4941
4942 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4943 FD_CLOEXEC for given file.
4944
4945 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4946
4947 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4948 FD_CLOEXEC for /etc/hosts.
4949 (_gethtent): Likewise.
4950
4951 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4952
4953 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4954 cancellation and set FD_CLOEXEC for /etc/netgroup.
4955
4956 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4957 reading /etc/publickey.
4958
4959 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4960 allow cancellation when reading /etc/group.
4961
4962 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4963 cancellation.
4964 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4965
4966 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4967 when using data file.
4968
4969 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4970
4971 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4972 (write_nis_obj): Use "c" and "e" in fopen.
4973
4974 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4975
4976 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4977
4978 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4979
4980 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4981
4982 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4983 locale.alias.
4984
4985 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4986
4987 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4988
4989 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4990
4991 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4992 file parsing and set FD_CLOEXEC.
4993
4994 2011-11-14 Ulrich Drepper <drepper@gmail.com>
4995
4996 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4997
4998 2011-11-14 Andreas Schwab <schwab@redhat.com>
4999
5000 * malloc/arena.c (arena_get2): Don't call reused_arena when
5001 _int_new_arena failed.
5002
5003 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5004
5005 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5006 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5007 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5008 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5009 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5010 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5011 to compile strcasecmp and strncasecmp.
5012 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5013 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5014
5015 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5016
5017 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5018
5019 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5020 locale-defines.sym to gen-as-const-headers.
5021 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5022 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5023 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5024 to compile strcasecmp and strncasecmp.
5025 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5026 strcasecmp_l and strncasecmp_l.
5027 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5028 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5029 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5030 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5031 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5032 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5033 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5034 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5035 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5036 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5037 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5038
5039 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5040
5041 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5042 result of SYSDEP_GETTIME_CPU to retval.
5043 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5044 parameter list to macro. Remove trailing semicolon. Adjust users.
5045
5046 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5047 variable.
5048
5049 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5050 mantissa words.
5051 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5052
5053 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5054 from unused variable.
5055
5056 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5057 DWARF definitions.
5058 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5059 for assembling.
5060
5061 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5062 over namespaces.
5063
5064 * sunrpc/rpc_prot.c (rejected): Fix case value.
5065
5066 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5067 unsigned long long int to avoid warnings in shift.
5068
5069 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5070 of use of trans.
5071 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5072 variable tmp.
5073
5074 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5075 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5076 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5077
5078 * nis/nis_table.c (nis_list): Use variable of correct type for
5079 result of __follow_path call.
5080
5081 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5082
5083 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5084 of math functions ceil, trunc, floor, round, and sqrt, when
5085 avaliable on the platform.
5086 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5087 name clash.
5088 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5089 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5090 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5091
5092 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5093
5094 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5095 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5096
5097 2011-11-11 Roland McGrath <roland@hack.frob.com>
5098
5099 * include/unistd.h: Fix __readlink return type.
5100 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5101
5102 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5103
5104 * stdlib/ucontext.h: Undo last change for makecontext.
5105
5106 2011-11-11 Andreas Schwab <schwab@redhat.com>
5107
5108 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5109
5110 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5111 * setjmp/setjmp.h: Mark functions as non-leaf.
5112 * setjmp/bits/setjmp2.h: Likewise.
5113 * stdlib/ucontext.h: Likewise.
5114
5115 2011-11-10 Andreas Schwab <schwab@redhat.com>
5116
5117 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5118 (reused_arena): Don't check arena limit.
5119 (arena_get2): Atomically check arena limit.
5120
5121 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5122
5123 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5124 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5125
5126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5127 instructions.
5128
5129 2011-11-07 Andreas Schwab <schwab@redhat.com>
5130
5131 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5132 handler when locking.
5133
5134 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5135 Fix size of allocated buffer.
5136
5137 2011-11-04 Andreas Schwab <schwab@redhat.com>
5138
5139 [BZ #10103]
5140 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5141 declarations for long double functions.
5142 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5143
5144 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5145
5146 2011-11-03 Andreas Schwab <schwab@redhat.com>
5147
5148 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5149 installed.
5150
5151 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5152 is disabled.
5153
5154 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5155
5156 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5157
5158 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5159
5160 * include/alloca.h (stackinfo_alloca_round): Define.
5161 (extend_alloca): Use it.
5162 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5163 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5164 here.
5165
5166 * scripts/check-local-headers.sh: Ignore libaudit.h.
5167
5168 * nscd/Makefile (extra-objs): Make recursively expanded.
5169
5170 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5171
5172 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5173 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5174
5175 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5176 * posix/tst-rfc3484-2.c: Likewise.
5177 * posix/tst-rfc3484-3.c: Likewise.
5178
5179 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5180 process_vm_writev.
5181 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5182 process_vm_writev.
5183 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5184 process_vm_writev from libc using GLIBC_2.15 version.
5185
5186 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5187
5188 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5189
5190 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5191 stack usage.
5192
5193 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5194
5195 [BZ #13367]
5196 * nss/getent.c (initgroups_keys): Show error message in case no group
5197 names are given.
5198
5199 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5200 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5201 __bump_nl_timestamp.
5202 * nscd/connections (nscd_init): When host database is served open
5203 netlink socket and request notification about configuration changes.
5204 (main_loop_poll): Track netlink file descriptor and bump timestamp
5205 in case data becomes available.
5206 (main_loop_epoll): Likewise.
5207 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5208 (database_pers_head): Add extra_data fileds.
5209 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5210 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5211 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5212 Adjust caller.
5213 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5214 in6ai data, call __free_in6ai.
5215 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5216 Add -DHAVE_NETLINK.
5217 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5218 interface information. Reuse previous data if netlink timestamp
5219 is not changed.
5220 (__bump_nl_timestamp): New function.
5221 (__free_in6ai): New function.
5222
5223 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5224
5225 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5226 close_not_cancel_no_status here.
5227 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5228
5229 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5230
5231 [BZ #13276]
5232 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5233 return value.
5234
5235 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5236 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5237 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5238
5239 2011-07-03 Andreas Jaeger <aj@suse.de>
5240
5241 [BZ #10709]
5242 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5243 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5244 * math/libm-test.inc (sin_test): Add test case.
5245
5246 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5247
5248 [BZ #13337]
5249 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5250 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5251
5252 * elf/chroot_canon.c (chroot_canon): Cleanups.
5253
5254 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5255
5256 [BZ #13335]
5257 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5258 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5259
5260 * string/test-strchr.c: Make usable for strchrnul testing.
5261 * string/test-strchrnul.c: New file.
5262 * string/Makefile (strop-tests): Add strchrnul.
5263
5264 * po/it.po: Update from translation team.
5265 * po/es.po: Likewise.
5266
5267 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5268
5269 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5270 the three constants needed as parameters. Drop the others.
5271 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5272 __m128i_strloadu_tolower.
5273 Create and initialize variable zero and use it in all the places
5274 where _mm_setzero_si128 was used.
5275
5276 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5277 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5278 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5279 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5280 anymore.
5281 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5282 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5283 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5284 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5285 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5286 __mpranred, __mptan.
5287 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5288 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5289 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5290 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5291 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5292 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5293 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5294 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5295 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5296
5297 2011-10-28 Andreas Schwab <schwab@redhat.com>
5298
5299 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5300 redefine if SHARED.
5301 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5302
5303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5304 wide char related routines to wcsmbs subdir.
5305
5306 2011-10-27 Andreas Schwab <schwab@redhat.com>
5307
5308 [BZ #13344]
5309 * misc/sys/cdefs.h (__THROWNL): Define.
5310 * posix/unistd.h: Use __THREADNL instead of __THREAD
5311 for memory synchronization functions.
5312
5313 2011-10-26 Roland McGrath <roland@hack.frob.com>
5314
5315 [BZ #13349]
5316 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5317 doesn't exist.
5318 * manual/stdio.texi (Obstack Streams): Node removed.
5319
5320 2011-10-26 Andreas Schwab <schwab@redhat.com>
5321
5322 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5323 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5324 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5325
5326 * math/math_private.h (math_force_eval): Allow non-addressable
5327 arguments.
5328 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5329
5330 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5331
5332 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5333 file is not needed.
5334
5335 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5336 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5337 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5338 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5339 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5340 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5341 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5342 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5343 Add AVX variants.
5344 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5345 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5346 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5347 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5348 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5349 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5350 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5351 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5352 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5353 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5354 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5355 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5356 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5357 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5358 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5359 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5360 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5361 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5362 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5363
5364 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5365 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5366
5367 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5368 place. Use VEX encoding when compiling for AVX.
5369
5370 2011-10-25 Andreas Schwab <schwab@redhat.com>
5371
5372 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5373 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5374
5375 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5376
5377 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5378
5379 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5380 useless if() expression.
5381 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5382 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5383 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5384 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5385 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5386 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5387 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5389 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5390 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5391 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5392 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5393 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5394 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5395 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5396 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5397 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5399 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5400
5401 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5402
5403 2011-10-25 Andreas Schwab <schwab@redhat.com>
5404
5405 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5406 condition.
5407 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5408
5409 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5410
5411 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5412 .text section. Avoid duplicate constants.
5413 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5415 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5417 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5418 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5419 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5421 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5422 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5423 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5424 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5425 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5426 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5427 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5428 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5429 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5430 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5431 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5432 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5433 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5434 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5436 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5437 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5438 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5439 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5440 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5441 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5442 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5443 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5444 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5445 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5446 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5447 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5448 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5449 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5450 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5451 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5452 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5453 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5454 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5455 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5456 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5457 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5458
5459 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5460
5461 * sysdeps/x86_64/dla.h: Move to ...
5462 * sysdeps/x86_64/fpu/dla.h: ...here.
5463 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5464 situations. Use __builtin_fma only for gcc 4.6 and up.
5465
5466 * config.make.in: Add have-mfma4 entry.
5467 * configure.in: Substitute libc_cv_cc_fma4.
5468 * math/Makefile (dbl-only-routines): Add sincostab.
5469 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5470 Use __sincostab not sincos.
5471 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5472 name is a macro.
5473 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5474 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5475 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5476 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5477 using __copysign.
5478 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5479 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5480 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5481 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5482 and __inv.
5483 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5484 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5485 __copysign.
5486 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5487 define aliases when function name is a macro.
5488 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5489 sysdeps/ieee754/dbl-64/sincos.tbl.
5490 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5491 fma4-enabled routines.
5492 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5493 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5494 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5495 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5496 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5497 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5498 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5499 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5500 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5501 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5502 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5503 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5504 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5505 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5506 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5507 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5508 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5509 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5510 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5511 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5512 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5513 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5514 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5515 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5516 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5517 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5518 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5519 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5520 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5521 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5522
5523 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5524 rename.
5525 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
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/halfulp.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5533
5534 2011-10-24 Andreas Schwab <schwab@redhat.com>
5535
5536 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5537
5538 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5539
5540 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5541
5542 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5543 prediction.
5544 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5545
5546 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5547 Remove unused variable magic_bits.
5548 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5549
5550 * string/strnlen.c: Define and use STRNLEN macro.
5551 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5552 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5553 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5554 * wcsmbs/wcslen.c: Define and use WCSLEN.
5555 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5556 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5557 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5558 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5559 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5560 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5561 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5562
5563 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5564
5565 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5566 strnlen-sse2-no-bsf.
5567 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5568 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5569 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5570 Add strnlen support.
5571 (USE_AS_STRNLEN): New macro.
5572 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5573 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5574 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5575 * sysdeps/x86_64/wcslen.S: New file.
5576
5577 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5578
5579 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5580 XMM-moves are used for copying on small sizes.
5581
5582 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5583
5584 * wcsmbs/Makefile (strop-tests): Add wcschr.
5585 * wcsmbs/test-wcschr.c: New file.
5586 * string/test-strchr.c: Update.
5587 Add wcschr support.
5588 (WIDE): New macro.
5589
5590 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5591
5592 * wcsmbs/Makefile (strop-tests): Add wcslen.
5593 * wcsmbs/test-wcslen.c: New file.
5594 * string/test-strlen.c: Update.
5595 Add wcslen support.
5596 (WIDE): New macro.
5597
5598 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5599
5600 * po/it.po: Update from translation team.
5601
5602 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5603
5604 * sysdeps/x86_64/wcscmp.S: Update.
5605 Fix wrong comparison semantics.
5606 wcscmp shall use signed comparison not unsigned.
5607 Don't use substraction to avoid overflow bug.
5608 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5609 * wcsmbc/wcscmp.c: Likewise.
5610 * string/test-strcmp.c: Likewise.
5611 Add new tests to check cases with negative values.
5612
5613 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5614
5615 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5616 * sysdeps/x86_64/dla.h: ...here. New file.
5617 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5618 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5619 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5620 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5624 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5626
5627 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5628
5629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5630 __ynl_finite aliases.
5631
5632 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5633
5634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5635
5636 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5637 define DLA_FMA.
5638 [DLA_FMA] (EMULV): Use DLA_FMA.
5639 [DLA_FMA] (MUL12): Use EMULV.
5640 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5641 that are not needed.
5642 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5644 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5645 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5647 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5648 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5649
5650 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5651
5652 * math/s_nan.c: Undef __nan.
5653 * math/s_nanf.c: Undef __nanf.
5654 * math/s_nanl.c: Undef __nanl.
5655 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5656 "math_private.h".
5657
5658 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5659
5660 * math/s_catan.c: Add branch predictions.
5661 * math/s_catanf.c: Likewise.
5662 * math/s_catanh.c: Likewise.
5663 * math/s_catanhf.c: Likewise.
5664 * math/s_catanhl.c: Likewise.
5665 * math/s_catanl.c: Likewise.
5666 * math/s_cexp.c: Likewise.
5667 * math/s_cexpf.c: Likewise.
5668 * math/s_cexpl.c: Likewise.
5669 * math/s_clog.c: Likewise.
5670 * math/s_clog10.c: Likewise.
5671 * math/s_clog10f.c: Likewise.
5672 * math/s_clog10l.c: Likewise.
5673 * math/s_clogf.c: Likewise.
5674 * math/s_clogl.c: Likewise.
5675 * math/s_csqrt.c: Likewise.
5676 * math/s_csqrtf.c: Likewise.
5677 * math/s_csqrtl.c: Likewise.
5678 * math/s_ctanf.c: Likewise.
5679 * math/s_ctanh.c: Likewise.
5680 * math/s_ctanhf.c: Likewise.
5681 * math/s_ctanhl.c: Likewise.
5682 * math/s_ctanl.c: Likewise.
5683
5684 * math/math_private.h: Define __nan, __nanf, __nanl.
5685 * math/s_cacosh.c: Include <math_private.h>.
5686 * math/s_cacoshl.c: Likewise.
5687 * math/s_casinh.c: Likewise.
5688 * math/s_casinhf.c: Likewise.
5689 * math/s_casinhl.c: Likewise.
5690 * math/s_ccos.c: Rely entire on ccosh.
5691 * math/s_ccosf.c: Rely entire on ccoshf.
5692 * math/s_ccosl.c: Rely entirely on ccoshl.
5693 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5694 Remove tests for FE_INVALID.
5695 * math/s_ccoshf.c: Likewise.
5696 * math/s_ccoshl.c: Likewise.
5697 * math/s_csin.c: Likewise.
5698 * math/s_csinf.c: Likewise.
5699 * math/s_csinh.c Likewise.
5700 * math/s_csinhf.c: Likewise.
5701 * math/s_csinhl.c: Likewise.
5702 * math/s_csinl.c: Likewise.
5703 * math/s_ctan.c: Likewise.
5704 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5705 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5706 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5707
5708 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5709
5710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5711 compilation problems.
5712
5713 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5714 __builtin_expect.
5715
5716 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5717
5718 * sysdeps/i386/configure.in: Test for -mfma4 option.
5719 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5720 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5721 COMMON_CPUID_INDEX_80000001.
5722 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5723 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5724 use it if FMA3 is not supported.
5725 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5726
5727 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5728 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5729
5730 2011-10-20 Andreas Schwab <schwab@redhat.com>
5731
5732 [BZ #12892]
5733 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5734 it would create a cycle with a link time dependency.
5735
5736 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5737
5738 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5739 instruction.
5740 * string/Makefile (strop-tests): Add rawmemchr.
5741 * string/test-rawmemchr.c: New file.
5742
5743 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5745 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5746 when compiling str{,n}casecmp and when AVX is available. Hook up
5747 new optimized code in initializers.
5748
5749 2011-10-19 Andreas Schwab <schwab@redhat.com>
5750
5751 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5752 __feraiseexcept instead of feraiseexcept.
5753
5754 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5755
5756 * math/math_private.h: Define defaults for libc_fetestexcept and
5757 libc_feupdateenv.
5758 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5759 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5760 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5761 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5762 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5763 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5764 libc_fetestexcept and libc_feupdateenv.
5765
5766 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5767 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5768 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5769 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5770 libc_feholdexcept_setround.
5771
5772 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5773 Add s_nearbyint-c and s_nearbyintf-c.
5774 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5775 nearbyintf inlines.
5776 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5777 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5778 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5779 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5780
5781 * math/math_private.h: Define defaults for libc_fegetround,
5782 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5783 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5784 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5785 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5786 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5787 standard functions.
5788 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5789 Remove comments and hacks for old compiler versions.
5790 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5791 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5792 libc_feholdexceptl.
5793
5794 2011-10-18 Andreas Schwab <schwab@redhat.com>
5795
5796 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5797 (__feraiseexcept_renamed): Add __NTH.
5798 (feraiseexcept): Add __NTH. Rename local variables to fix
5799 namespace violations.
5800
5801 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5802
5803 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5804
5805 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5806
5807 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5808 recently added interfaces.
5809 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5810
5811 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5812 about macro parameter expansion.
5813
5814 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5815 __NO_MATH_INLINES is defined. Cleanups.
5816
5817 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5818 and __floorf is target has SSE4.1.
5819 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5820 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5821 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5822 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5823
5824 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5825 name.
5826 (floorf): Likewise.
5827
5828 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5829
5830 2011-10-17 Andreas Schwab <schwab@redhat.com>
5831
5832 * misc/sys/cdefs.h: Fix last change.
5833
5834 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5835 database lookup.
5836
5837 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5838
5839 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5840
5841 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5842 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5843 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5844 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5845 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5846 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5847 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5848 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5849 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5850 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5851 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5852 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5853 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5854 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5855 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5856 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5857 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5858 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5859 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5860 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5861 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5862 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5863
5864 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5865 ceil, ceilf, floor, floorf.
5866
5867 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5868 Perform IRELATIVE relocations last.
5869
5870 * elf/do-rel.h: Add another parameter nrelative, replacing the
5871 local variable with the same name. Change name of the function
5872 to end in Rel or Rela (uppercase).
5873 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5874 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5875 elf_dynamic_do_##reloc function.
5876
5877 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5878
5879 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5880 is sufficient, at least on modern CPUs.
5881
5882 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5883
5884 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5885 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5886
5887 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5888 __expl_finite.
5889 * math/bits/math-finite.h: Add entries for exp.
5890 * math/e_expl.c: Add __*_finite alias.
5891 * sysdeps/i386/fpu/e_exp.S: Likewise.
5892 * sysdeps/i386/fpu/e_expf.S: Likewise.
5893 * sysdeps/i386/fpu/e_expl.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5895 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5896 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5897 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5898 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5899 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5900 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5901
5902 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5903 is sufficient, at least on modern CPUs.
5904
5905 * ctype/ctype-info.c (__ctype_init): Define.
5906 * include/ctype.h (__ctype_init): Declare.
5907 (__ctype_b_loc): The variable is always initialized.
5908 (__ctype_toupper_loc): Likewise.
5909 (__ctype_tolower_loc): Likewise.
5910 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5911 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5912
5913 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5914
5915 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5916
5917 * configure.in: Also look in $cxxmachine/include for C++ system
5918 headers.
5919
5920 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5921
5922 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5923 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5924 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5925 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5926 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5927 (USE_AS_WMEMCMP): New macro.
5928 Fixing indents.
5929 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5930 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5931 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5932 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5934 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5935 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5936 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5937 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5938 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5939 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5940 (USE_AS_WMEMCMP): New macro.
5941 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5942 * sysdeps/string/test-memcmp.c: Update.
5943 Fix simple_wmemcmp.
5944 Add new tests.
5945 * wcsmbs/wmemcmp.c: Update.
5946 (WMEMCMP): New macro.
5947 Fix overflow bug.
5948
5949 2011-10-12 Andreas Jaeger <aj@suse.de>
5950
5951 [BZ #13268]
5952 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5953
5954 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5955
5956 * libio/iofwide.c (do_length): Avoid warning.
5957
5958 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5959
5960 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5961
5962 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5963
5964 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5965 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5966 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5967 * sysdeps/i386/i686/fpu/e_log.S: New file.
5968 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5969 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5970
5971 * ctype/ctype.h: Add support for inlined isXXX functions when
5972 compiling C++ code.
5973
5974 2011-10-14 Andreas Schwab <schwab@redhat.com>
5975
5976 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5977
5978 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5979
5980 2011-10-13 Roland McGrath <roland@hack.frob.com>
5981
5982 [BZ #13291]
5983 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5984
5985 2011-10-13 Andreas Schwab <schwab@redhat.com>
5986
5987 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5988 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5989 feraiseexcept.
5990
5991 * sysdeps/x86_64/memrchr.S: Check for zero size.
5992
5993 * string/stratcliff.c: Add memrchr tests.
5994
5995 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5996
5997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5998 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5999 rawmemchr-sse2 rawmemchr-sse2-bsf.
6000 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6001 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6002 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6003 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6004 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6005 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6006 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6007 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6008 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6009 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6010 * string/memrchr.c (MEMRCHR): New macro.
6011
6012 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6013
6014 Add integration with gcc's -ffinite-math-only and optimize wrapper
6015 functions in libm.
6016 * Versions.def: Define GLIBC_2.15 version for libm.
6017 * math/Makefile (headers): Add bits/math-finite.h.
6018 * math/bits/math-finite.h: New file.
6019 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6020 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6021 * math/e_acoshl.c: Add __*_finite alias.
6022 * math/e_acosl.c: Likewise.
6023 * math/e_asinl.c: Likewise.
6024 * math/e_atan2l.c: Likewise.
6025 * math/e_atanhl.c: Likewise.
6026 * math/e_coshl.c: Likewise.
6027 * math/e_exp10.c: Likewise.
6028 * math/e_exp10f.c: Likewise.
6029 * math/e_exp10l.c: Likewise.
6030 * math/e_exp2l.c: Likewise.
6031 * math/e_fmodl.c: Likewise.
6032 * math/e_gammal_r.c: Likewise.
6033 * math/e_hypotl.c: Likewise.
6034 * math/e_j0l.c: Likewise.
6035 * math/e_j1l.c: Likewise.
6036 * math/e_jnl.c: Likewise.
6037 * math/e_lgammal_r.c: Likewise.
6038 * math/e_log10l.c: Likewise.
6039 * math/e_log2l.c: Likewise.
6040 * math/e_logl.c: Likewise.
6041 * math/e_powl.c: Likewise.
6042 * math/e_sinhl.c: Likewise.
6043 * math/e_sqrtl.c: Likewise.
6044 * math/e_scalb.c: Completely rewritten and optimized.
6045 * math/e_scalbf.c: Likewise.
6046 * math/e_scalbl.c: Likewise.
6047 * math/w_acos.c: Likewise.
6048 * math/w_acosf.c: Likewise.
6049 * math/w_acosl.c: Likewise.
6050 * math/w_acosh.c: Likewise.
6051 * math/w_acoshf.c: Likewise.
6052 * math/w_acoshl.c: Likewise.
6053 * math/w_asin.c: Likewise.
6054 * math/w_asinf.c: Likewise.
6055 * math/w_asinl.c: Likewise.
6056 * math/w_atan2.c: Likewise.
6057 * math/w_atan2f.c: Likewise.
6058 * math/w_atan2l.c: Likewise.
6059 * math/w_atanh.c: Likewise.
6060 * math/w_atanhf.c: Likewise.
6061 * math/w_atanhl.c: Likewise.
6062 * math/w_exp10.c: Likewise.
6063 * math/w_exp10f.c: Likewise.
6064 * math/w_exp10l.c: Likewise.
6065 * math/w_fmod.c: Likewise.
6066 * math/w_fmodf.c: Likewise.
6067 * math/w_fmodl.c: Likewise.
6068 * math/w_j0.c: Likewise.
6069 * math/w_j0f.c: Likewise.
6070 * math/w_j0l.c: Likewise.
6071 * math/w_j1.c: Likewise.
6072 * math/w_j1f.c: Likewise.
6073 * math/w_j1l.c: Likewise.
6074 * math/w_jn.c: Likewise.
6075 * math/w_jnf.c: Likewise.
6076 * math/w_log.c: Likewise.
6077 * math/w_logf.c: Likewise.
6078 * math/w_logl.c: Likewise.
6079 * math/w_log10.c: Likewise.
6080 * math/w_log10f.c: Likewise.
6081 * math/w_log10l.c: Likewise.
6082 * math/w_log2.c: Likewise.
6083 * math/w_log2f.c: Likewise.
6084 * math/w_log2l.c: Likewise.
6085 * math/w_pow.c: Likewise.
6086 * math/w_powf.c: Likewise.
6087 * math/w_powl.c: Likewise.
6088 * math/w_remainder.c: Likewise.
6089 * math/w_remainderf.c: Likewise.
6090 * math/w_remainderl.c: Likewise.
6091 * math/w_scalb.c: Likewise.
6092 * math/w_scalbf.c: Likewise.
6093 * math/w_scalbl.c: Likewise.
6094 * math/w_sqrt.c: Likewise.
6095 * math/w_sqrtf.c: Likewise.
6096 * math/w_sqrtl.c: Likewise.
6097 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6098 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6099 used.
6100 * math/math_private.h: Declare __kernel_standard_f.
6101 * math/w_cosh.c: Remove cruft and optimize a bit.
6102 * math/w_coshf.c: Likewise.
6103 * math/w_coshl.c: Likewise.
6104 * math/w_exp2.c: Likewise.
6105 * math/w_exp2f.c: Likewise.
6106 * math/w_exp2l.c: Likewise.
6107 * math/w_hypot.c: Likewise.
6108 * math/w_hypotf.c: Likewise.
6109 * math/w_hypotl.c: Likewise.
6110 * math/w_lgamma.c: Likewise.
6111 * math/w_lgamma_r.c: Likewise.
6112 * math/w_lgammaf.c: Likewise.
6113 * math/w_lgammaf_r.c: Likewise.
6114 * math/w_lgammal.c: Likewise.
6115 * math/w_lgammal_r.c: Likewise.
6116 * math/w_sinh.c: Likewise.
6117 * math/w_sinhf.c: Likewise.
6118 * math/w_sinhl.c: Likewise.
6119 * math/w_tgamma.c: Likewise.
6120 * math/w_tgammaf.c: Likewise.
6121 * math/w_tgammal.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6124 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6125 Minor optimizations. Pretty printing. Remove cruft.
6126 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6127 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6128 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6129 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6130 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6131 * sysdeps/i386/fpu/e_asin.S: Likewise.
6132 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6133 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6134 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6135 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6136 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6137 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6138 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6139 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6140 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6141 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6142 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6143 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6144 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6145 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6146 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6147 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6148 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6149 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6150 * sysdeps/i386/fpu/e_log.S: Likewise.
6151 * sysdeps/i386/fpu/e_log10.S: Likewise.
6152 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6153 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6154 * sysdeps/i386/fpu/e_log2.S: Likewise.
6155 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6156 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6157 * sysdeps/i386/fpu/e_logf.S: Likewise.
6158 * sysdeps/i386/fpu/e_logl.S: Likewise.
6159 * sysdeps/i386/fpu/e_pow.S: Likewise.
6160 * sysdeps/i386/fpu/e_powf.S: Likewise.
6161 * sysdeps/i386/fpu/e_powl.S: Likewise.
6162 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6163 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6164 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6165 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6166 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6167 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6168 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6169 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6170 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6171 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6172 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6174 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6175 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6176 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6177 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6180 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6181 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6182 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6183 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6185 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6187 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6188 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6189 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6192 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6193 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6194 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6195 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6196 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6197 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6198 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6199 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6200 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6201 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6202 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6203 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6204 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6205 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6206 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6207 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6208 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6209 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6210 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6211 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6212 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6213 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6214 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6215 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6216 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6217 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6218 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6219 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6220 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6221 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6222 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6223 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6224 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6226 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6227 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6228 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6229 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6230 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6231 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6232 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6233 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6235 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6236 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6237 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6238 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6239 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6240 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6243 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6244 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6246 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6247 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6248 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6249 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6250 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6251 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6252 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6254 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6256 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6257 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6259 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6262 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6263 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6264 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6265 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6266 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6267 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6268 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6269 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6270 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6271 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6272 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6273 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6274 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6275 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6276 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6277 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6278 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6279 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6280 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6281 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6282 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6283 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6284 (__isnanf): Likewise.
6285 (__isinf_ns): Likewise.
6286 (__isinf_nsf): Likewise.
6287 (__finite): Likewise.
6288 (__finitef): Likewise.
6289 (__ieee754_sqrt): Define as macro.
6290 (__ieee754_sqrtf): Define as macro.
6291 (__ieee754_sqrtl): Define as macro.
6292 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6293 inlined copy.
6294 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6295 __FINITE_MATH_ONLY__ consistent.
6296 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6297
6298 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6299
6300 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6301 of rawmemchr.
6302
6303 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6304
6305 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6306
6307 * po/ja.po: Update from translation team.
6308
6309 2011-10-08 Roland McGrath <roland@hack.frob.com>
6310
6311 * locale/programs/locarchive.c (prepare_address_space): New function.
6312 (create_archive, enlarge_archive, open_archive): Use it.
6313
6314 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6315 inside [SHARED], where it is used.
6316
6317 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6318
6319 * nss/getent.c (netgroup_keys): Remove unused variable.
6320 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6321
6322 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6323
6324 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6325 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6326 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6327 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6328 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6329 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6330 * math/Makefile (libm-calls): Add s_isinf_ns.
6331 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6332 * math/multc3.c: Likewise.
6333 * math/s_casin.c: Likewise.
6334 * math/s_casinf.c: Likewise.
6335 * math/s_casinl.c: Likewise.
6336 * math/s_ccos.c: Likewise.
6337 * math/s_ccosf.c: Likewise.
6338 * math/s_ccosl.c: Likewise.
6339 * math/s_ctan.c: Likewise.
6340 * math/s_ctanf.c: Likewise.
6341 * math/s_ctanh.c: Likewise.
6342 * math/s_ctanhf.c: Likewise.
6343 * math/s_ctanhl.c: Likewise.
6344 * math/s_ctanl.c: Likewise.
6345 * math/w_fmod.c: Likewise.
6346 * math/w_fmodf.c: Likewise.
6347 * math/w_fmodl.c: Likewise.
6348 * math/w_remainder.c: Likewise.
6349 * math/w_remainderf.c: Likewise.
6350 * math/w_remainderl.c: Likewise.
6351 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6352 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6353 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6355 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6356 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6357 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6358 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6359
6360 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6361 of the number.
6362 * stdio-common/printf_fphex.c: Likewise.
6363 * stdio-common/printf_size.c: Likewise.
6364
6365 * math/e_exp10.c: Include math_private.h using <...> not "...".
6366 * math/e_exp10f.c: Likewise.
6367 * math/e_exp10l.c: Likewise.
6368 * math/e_exp2l.c: Likewise.
6369 * math/e_j0l.c: Likewise.
6370 * math/e_j1l.c: Likewise.
6371 * math/e_jnl.c: Likewise.
6372 * math/e_lgammal_r.c: Likewise.
6373 * math/e_rem_pio2l.c: Likewise.
6374 * math/e_scalb.c: Likewise.
6375 * math/e_scalbf.c: Likewise.
6376 * math/e_scalbl.c: Likewise.
6377 * math/k_cosl.c: Likewise.
6378 * math/k_sinl.c: Likewise.
6379 * math/k_tanl.c: Likewise.
6380 * math/s_cacoshf.c: Likewise.
6381 * math/s_catan.c: Likewise.
6382 * math/s_catanf.c: Likewise.
6383 * math/s_catanh.c: Likewise.
6384 * math/s_catanhf.c: Likewise.
6385 * math/s_catanhl.c: Likewise.
6386 * math/s_catanl.c: Likewise.
6387 * math/s_ccosh.c: Likewise.
6388 * math/s_ccoshf.c: Likewise.
6389 * math/s_ccoshl.c: Likewise.
6390 * math/s_cexp.c: Likewise.
6391 * math/s_cexpf.c: Likewise.
6392 * math/s_cexpl.c: Likewise.
6393 * math/s_clog.c: Likewise.
6394 * math/s_clog10.c: Likewise.
6395 * math/s_clog10f.c: Likewise.
6396 * math/s_clog10l.c: Likewise.
6397 * math/s_clogf.c: Likewise.
6398 * math/s_clogl.c: Likewise.
6399 * math/s_csin.c: Likewise.
6400 * math/s_csinf.c: Likewise.
6401 * math/s_csinh.c: Likewise.
6402 * math/s_csinhf.c: Likewise.
6403 * math/s_csinhl.c: Likewise.
6404 * math/s_csinl.c: Likewise.
6405 * math/s_csqrt.c: Likewise.
6406 * math/s_csqrtf.c: Likewise.
6407 * math/s_csqrtl.c: Likewise.
6408 * math/s_ctan.c: Likewise.
6409 * math/s_ctanf.c: Likewise.
6410 * math/s_ctanh.c: Likewise.
6411 * math/s_ctanhf.c: Likewise.
6412 * math/s_ctanhl.c: Likewise.
6413 * math/s_ctanl.c: Likewise.
6414 * math/s_ldexp.c: Likewise.
6415 * math/s_ldexpf.c: Likewise.
6416 * math/s_ldexpl.c: Likewise.
6417 * math/s_significand.c: Likewise.
6418 * math/s_significandf.c: Likewise.
6419 * math/s_significandl.c: Likewise.
6420 * math/w_acos.c: Likewise.
6421 * math/w_acosf.c: Likewise.
6422 * math/w_acosh.c: Likewise.
6423 * math/w_acoshf.c: Likewise.
6424 * math/w_acoshl.c: Likewise.
6425 * math/w_acosl.c: Likewise.
6426 * math/w_asin.c: Likewise.
6427 * math/w_asinf.c: Likewise.
6428 * math/w_asinl.c: Likewise.
6429 * math/w_atan2.c: Likewise.
6430 * math/w_atan2f.c: Likewise.
6431 * math/w_atan2l.c: Likewise.
6432 * math/w_atanh.c: Likewise.
6433 * math/w_atanhf.c: Likewise.
6434 * math/w_atanhl.c: Likewise.
6435 * math/w_cosh.c: Likewise.
6436 * math/w_coshf.c: Likewise.
6437 * math/w_coshl.c: Likewise.
6438 * math/w_dremf.c: Likewise.
6439 * math/w_exp10.c: Likewise.
6440 * math/w_exp10f.c: Likewise.
6441 * math/w_exp10l.c: Likewise.
6442 * math/w_exp2.c: Likewise.
6443 * math/w_exp2f.c: Likewise.
6444 * math/w_fmod.c: Likewise.
6445 * math/w_fmodf.c: Likewise.
6446 * math/w_fmodl.c: Likewise.
6447 * math/w_hypot.c: Likewise.
6448 * math/w_hypotf.c: Likewise.
6449 * math/w_hypotl.c: Likewise.
6450 * math/w_j0.c: Likewise.
6451 * math/w_j0f.c: Likewise.
6452 * math/w_j0l.c: Likewise.
6453 * math/w_j1.c: Likewise.
6454 * math/w_j1f.c: Likewise.
6455 * math/w_j1l.c: Likewise.
6456 * math/w_jn.c: Likewise.
6457 * math/w_jnf.c: Likewise.
6458 * math/w_jnl.c: Likewise.
6459 * math/w_lgamma.c: Likewise.
6460 * math/w_lgamma_r.c: Likewise.
6461 * math/w_lgammaf.c: Likewise.
6462 * math/w_lgammaf_r.c: Likewise.
6463 * math/w_lgammal.c: Likewise.
6464 * math/w_lgammal_r.c: Likewise.
6465 * math/w_log.c: Likewise.
6466 * math/w_log10.c: Likewise.
6467 * math/w_log10f.c: Likewise.
6468 * math/w_log10l.c: Likewise.
6469 * math/w_log2.c: Likewise.
6470 * math/w_log2f.c: Likewise.
6471 * math/w_log2l.c: Likewise.
6472 * math/w_logf.c: Likewise.
6473 * math/w_logl.c: Likewise.
6474 * math/w_pow.c: Likewise.
6475 * math/w_powf.c: Likewise.
6476 * math/w_powl.c: Likewise.
6477 * math/w_remainder.c: Likewise.
6478 * math/w_remainderf.c: Likewise.
6479 * math/w_remainderl.c: Likewise.
6480 * math/w_scalb.c: Likewise.
6481 * math/w_scalbf.c: Likewise.
6482 * math/w_scalbl.c: Likewise.
6483 * math/w_sinh.c: Likewise.
6484 * math/w_sinhf.c: Likewise.
6485 * math/w_sinhl.c: Likewise.
6486 * math/w_sqrt.c: Likewise.
6487 * math/w_sqrtf.c: Likewise.
6488 * math/w_sqrtl.c: Likewise.
6489 * math/w_tgamma.c: Likewise.
6490 * math/w_tgammaf.c: Likewise.
6491 * math/w_tgammal.c: Likewise.
6492
6493 * po/ja.po: Update from translation team.
6494
6495 2011-09-29 Andreas Jaeger <aj@suse.de>
6496
6497 [BZ #13179]
6498 * sunrpc/netname.c (netname2host): Fix logic.
6499
6500 [BZ #6779]
6501 [BZ #6783]
6502 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6503 correctly.
6504 * math/w_remainder.c (__remainder): Likewise.
6505 * math/w_remainderf.c (__remainderf): Likewise.
6506 * math/libm-test.inc (remainder_test): Add test cases.
6507
6508 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6509
6510 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6511 sdiv_qrnnd.
6512
6513 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6514
6515 * string/test-memcmp.c: Avoid unncessary #defines.
6516 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6517
6518 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6519
6520 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6521 Use new sse2 version for core i3 - i7 as it's faster
6522 than sse42 version.
6523 (bit_Prefer_PMINUB_for_stringop): New.
6524 * sysdeps/x86_64/rawmemchr.S: Update.
6525 Replace with faster SSE2 version.
6526 * sysdeps/x86_64/memrchr.S: New file.
6527 * sysdeps/x86_64/memchr.S: Update.
6528 Replace with faster SSE2 version.
6529
6530 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6531
6532 * elf/dl-load.c (lose): Add cast to avoid warning.
6533
6534 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6535
6536 * po/ca.po: Update from translation team.
6537
6538 * inet/getnetgrent_r.c: Hook up nscd.
6539 * nscd/Makefile (routines): Add nscd_netgroup.
6540 (nscd-modules): Add netgroupcache.
6541 (CFLAGS-netgroupcache.c): Define.
6542 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6543 (cache_search): Add const to second parameter.
6544 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6545 INNETGR.
6546 (dbs): Add netgrdb entry.
6547 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6548 (verify_persistent_db): Handle netgrdb.
6549 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6550 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6551 GETFDNETGR.
6552 (netgroup_response_header): Define.
6553 (innetgroup_response_header): Define.
6554 (datahead): Add netgroup_response_header and innetgroup_response_header
6555 elements.
6556 * nscd/nscd.conf: Add entries for netgroup cache.
6557 * nscd/nscd.h (dbtype): Add netgrdb.
6558 (_PATH_NSCD_NETGROUP_DB): Define.
6559 (netgroup_iov_disabled): Declare.
6560 (xmalloc, xcalloc, xrealloc): Move declarations here.
6561 (cache_search): Adjust prototype.
6562 Add netgroup-related prototypes.
6563 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6564 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6565 (__nscd_innetgr): Declare.
6566 * nscd/selinux.c (perms): Use access_vector_t as element type and
6567 add netgroup-related initializers.
6568 * nscd/netgroupcache.c: New file.
6569 * nscd/nscd_netgroup.c: New file.
6570 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6571 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6572 For four parameters use innetgr.
6573 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6574 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6575 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6576 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6577
6578 * nscd/connections.c (register_traced_file): Don't register file
6579 for disabled databases.
6580
6581 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6582
6583 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6584
6585 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6586 from tree and freeing node.
6587
6588 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6589
6590 * nss/nsswitch.c (__nss_database_lookup): Handle
6591 nss_parse_service_list out of memory case.
6592
6593 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6594
6595 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6596 out of memory case.
6597
6598 2011-10-04 Andreas Schwab <schwab@redhat.com>
6599
6600 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6601 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6602 pass it down.
6603 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6604 elf_machine_rela, elf_machine_lazy_rel.
6605 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6606 (ELF_DYNAMIC_DO_REL): Likewise.
6607 (ELF_DYNAMIC_DO_RELA): Likewise.
6608 (ELF_DYNAMIC_RELOCATE): Likewise.
6609 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6610 to ELF_DYNAMIC_DO_REL.
6611 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6612 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6613 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6614 elf_machine_rela.
6615 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6616 skip_ifunc, don't call ifunc function if non-zero.
6617 (elf_machine_rela): Likewise.
6618 (elf_machine_lazy_rel): Likewise.
6619 (elf_machine_lazy_rela): Likewise.
6620 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6621 (elf_machine_lazy_rel): Likewise.
6622 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6623 Likewise.
6624 (elf_machine_lazy_rel): Likewise.
6625 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6626 Likewise.
6627 (elf_machine_lazy_rel): Likewise.
6628 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6629 (elf_machine_lazy_rel): Likewise.
6630 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6631 (elf_machine_lazy_rel): Likewise.
6632 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6633 (elf_machine_lazy_rel): Likewise.
6634 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6635 (elf_machine_lazy_rel): Likewise.
6636 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6637 (elf_machine_lazy_rel): Likewise.
6638 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6639 (elf_machine_lazy_rel): Likewise.
6640
6641 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6642
6643 * nss/nss_files/files-init.c (_nss_files_init): Use static
6644 initialization for all the *_traced_file variables.
6645
6646 2011-09-28 Andreas Schwab <schwab@redhat.com>
6647
6648 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6649
6650 2011-09-27 Roland McGrath <roland@hack.frob.com>
6651
6652 [BZ #13226]
6653 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6654
6655 2011-09-27 Andreas Schwab <schwab@redhat.com>
6656
6657 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6658 Reread the line before reparsing it.
6659
6660 2011-09-26 Andreas Schwab <schwab@redhat.com>
6661
6662 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6663
6664 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6665 Maxim Kuvyrkov <maxim@codesourcery.com>
6666 Joseph Myers <joseph@codesourcery.com>
6667
6668 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6669 if needed for __stack_chk_guard.
6670
6671 2011-09-19 Roland McGrath <roland@hack.frob.com>
6672
6673 * sysdeps/posix/spawni.c (script_execute): Always define it.
6674 It will be optimized away if unused.
6675 (maybe_script_execute): New function.
6676 (__spawni): Call it.
6677
6678 * Makerules: Don't include tls.make.
6679 (config-tls): Always set to thread.
6680 * tls.make.c: File removed.
6681
6682 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6683
6684 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6685 * config.make.in (CPPFLAGS-config): New substituted variable.
6686
6687 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6688
6689 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6690
6691 [BZ #13192]
6692 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6693 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6694
6695 2011-09-15 Roland McGrath <roland@hack.frob.com>
6696
6697 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6698 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6699 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6700 (CALL_FAIL): Likewise.
6701 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6702 (CALL_FAIL): Macro removed.
6703 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6704
6705 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6706
6707 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6708 for __FINITE_MATH_ONLY__ == 1.
6709
6710 2011-09-15 Andreas Schwab <schwab@redhat.com>
6711
6712 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6713 __ieee754_sqrt instead of sqrt.
6714 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6715 __ieee754_sqrtf instead of sqrtf.
6716 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6717 __floorf instead of floorf.
6718 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6719 __floorf, __truncf instead of floorf, truncf.
6720
6721 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6722
6723 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6724
6725 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6726 __extern_always_inline.
6727 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6728 32-bit.
6729
6730 2011-09-14 Andreas Schwab <schwab@redhat.com>
6731
6732 * elf/rtld.c (dl_main): Also relocate in dependency order when
6733 doing symbol dependency testing.
6734
6735 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6736
6737 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6738 Always define `refsym'.
6739
6740 2011-09-13 Andreas Schwab <schwab@redhat.com>
6741
6742 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6743 (__FD_ELT): Renamed from __FDELT.
6744 * misc/bits/select2.h (__FD_ELT): Likewise.
6745 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6746 __FD_MASK instead of __FDELT, __FDMASK.
6747 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6748 Likewise.
6749 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6750 Likewise.
6751
6752 * elf/Makefile (gen-ldd): Fix pattern.
6753
6754 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6755 (init_tls): Likewise.
6756
6757 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6758
6759 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6760
6761 2011-09-12 Andreas Schwab <schwab@redhat.com>
6762
6763 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6764 `struct cmsghdr *' instead of `void *'.
6765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6766 Likewise.
6767
6768 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6769
6770 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6771 if non-absolute.
6772 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6773 ldd_rewrite_script.
6774
6775 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6776
6777 * configure.in: Remove --with-tls option.
6778 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6779 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6780 out in case it is missing.
6781 * sysdeps/ia64/elf/configure.in: Likewise.
6782 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6783 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6784 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6785 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6786 * sysdeps/sh/elf/configure.in: Likewise.
6787 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6788 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6789 * sysdeps/x86_64/elf/configure.in: Likewise.
6790 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6791 * sysdeps/mach/hurd/tls.h: Likewise.
6792
6793 [BZ #13067]
6794 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6795
6796 [BZ #13090]
6797 * configure.in: Fix use of AC_INIT.
6798
6799 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6800
6801 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6802
6803 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6804 __set_errno.
6805 * malloc/hooks.c: Likewise.
6806
6807 [BZ #11929]
6808 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6809 variables statically.
6810 (narenas): Initialize.
6811 (list_lock): Initialize.
6812 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6813 initializtion of main_arena and list_lock. Small cleanups.
6814 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6815 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6816 Add initializers to main_arena and mp_.
6817 (malloc_state): Remove pagesize member. Change all users to use
6818 GLRO(dl_pagesize).
6819
6820 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6821 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6822 is always initialized.
6823
6824 * malloc/malloc.c: Removed unused configurations and dead code.
6825 * malloc/arena.c: Likewise.
6826 * malloc/hooks.c: Likewise.
6827 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6828
6829 * include/tls.h: Removed. USE___THREAD must always be defined.
6830 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6831 * elf/dl-libc.c: Likewise.
6832 * elf/dl-tsd.c: Likewise.
6833 * include/errno.h: Likewise.
6834 * include/netdb.h: Likewise.
6835 * include/resolv.h: Likewise.
6836 * inet/herrno-loc.c: Likewise.
6837 * inet/herrno.c: Likewise.
6838 * malloc/arena.c: Likewise.
6839 * malloc/hooks.c: Likewise.
6840 * malloc/malloc.c: Likewise.
6841 * resolv/res-state.c: Likewise.
6842 * resolv/res_libc.c: Likewise.
6843 * sysdeps/i386/dl-machine.h: Likewise.
6844 * sysdeps/ia64/dl-machine.h: Likewise.
6845 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6846 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6847 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6848 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6849 * sysdeps/sh/dl-machine.h: Likewise.
6850 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6851 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6852 * sysdeps/unix/i386/sysdep.S: Likewise.
6853 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6854 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6855 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6856 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6857 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6858 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6859 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6860 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6861 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6862 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6863 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6864 * sysdeps/x86_64/dl-machine.h: Likewise.
6865 * tls.make.c: Likewise.
6866
6867 * configure.in: Remove --with-__thread option. Make tests for
6868 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6869 tls_model attribute fail if no support is available. Remove
6870 USE_IN_LIBIO.
6871 * Makeconfig: Adjust for dropped configure option. All features are
6872 now mandatory.
6873 * Makerules: Likewise.
6874 * Versions.def: Likewise.
6875 * argp/argp-fmtstream.c: Likewise.
6876 * argp/argp-fmtstream.h: Likewise.
6877 * argp/argp-help.c: Likewise.
6878 * assert/assert.c: Likewise.
6879 * config.h.in: Likewise.
6880 * config.make.in: Likewise.
6881 * configure: Likewise.
6882 * configure.in: Likewise.
6883 * csu/Versions: Likewise.
6884 * csu/init.c: Likewise.
6885 * elf/tst-audit2.c: Likewise.
6886 * elf/tst-tls10.c: Likewise.
6887 * elf/tst-tls10.h: Likewise.
6888 * elf/tst-tls11.c: Likewise.
6889 * elf/tst-tls12.c: Likewise.
6890 * elf/tst-tls14.c: Likewise.
6891 * elf/tst-tlsmod11.c: Likewise.
6892 * elf/tst-tlsmod12.c: Likewise.
6893 * elf/tst-tlsmod13.c: Likewise.
6894 * elf/tst-tlsmod13a.c: Likewise.
6895 * elf/tst-tlsmod14a.c: Likewise.
6896 * elf/tst-tlsmod15b.c: Likewise.
6897 * elf/tst-tlsmod16a.c: Likewise.
6898 * elf/tst-tlsmod16b.c: Likewise.
6899 * elf/tst-tlsmod7.c: Likewise.
6900 * elf/tst-tlsmod8.c: Likewise.
6901 * elf/tst-tlsmod9.c: Likewise.
6902 * gmon/gmon.c: Likewise.
6903 * grp/fgetgrent_r.c: Likewise.
6904 * grp/putgrent.c: Likewise.
6905 * hurd/fopenport.c: Likewise.
6906 * include/libc-symbols.h: Likewise.
6907 * include/tls.h: Likewise.
6908 * intl/gettextP.h: Likewise.
6909 * intl/loadinfo.h: Likewise.
6910 * locale/global-locale.c: Likewise.
6911 * locale/localeinfo.h: Likewise.
6912 * mach/devstream.c: Likewise.
6913 * malloc/arena.c: Likewise.
6914 * malloc/set-freeres.c: Likewise.
6915 * misc/err.c: Likewise.
6916 * misc/getttyent.c: Likewise.
6917 * misc/mntent_r.c: Likewise.
6918 * posix/getopt.c: Likewise.
6919 * posix/wordexp.c: Likewise.
6920 * pwd/fgetpwent_r.c: Likewise.
6921 * resolv/Versions: Likewise.
6922 * resolv/res_hconf.c: Likewise.
6923 * shadow/fgetspent_r.c: Likewise.
6924 * shadow/putspent.c: Likewise.
6925 * stdio-common/printf_fphex.c: Likewise.
6926 * stdio-common/tmpfile.c: Likewise.
6927 * stdlib/abort.c: Likewise.
6928 * stdlib/fmtmsg.c: Likewise.
6929 * sunrpc/auth_unix.c: Likewise.
6930 * sunrpc/clnt_perr.c: Likewise.
6931 * sunrpc/clnt_tcp.c: Likewise.
6932 * sunrpc/clnt_udp.c: Likewise.
6933 * sunrpc/clnt_unix.c: Likewise.
6934 * sunrpc/openchild.c: Likewise.
6935 * sunrpc/svc_simple.c: Likewise.
6936 * sunrpc/svc_tcp.c: Likewise.
6937 * sunrpc/svc_udp.c: Likewise.
6938 * sunrpc/svc_unix.c: Likewise.
6939 * sunrpc/xdr.c: Likewise.
6940 * sunrpc/xdr_array.c: Likewise.
6941 * sunrpc/xdr_rec.c: Likewise.
6942 * sunrpc/xdr_ref.c: Likewise.
6943 * sunrpc/xdr_stdio.c: Likewise.
6944
6945 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6946
6947 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6948
6949 2011-07-03 Andreas Jaeger <aj@suse.de>
6950
6951 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6952 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6953 regenerate with gen-libm-tests.pl.
6954
6955 2010-05-12 Petr Baudis <pasky@suse.cz>
6956
6957 [BZ #11589]
6958 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6959 around j0() zero points by switching to j1().
6960 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6964
6965 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6966
6967 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6968 instead of 0.
6969 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6970 instead of 0. .
6971 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6972 Patch in part by Pavel Roskin <proski@gnu.org>.
6973
6974 [BZ #13138]
6975 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6976 realloc.
6977 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6978 Free memory block if necessary.
6979
6980 [BZ #12847]
6981 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6982 be NULL. Don't lock in this case.
6983
6984 2011-09-09 Roland McGrath <roland@hack.frob.com>
6985
6986 * elf/elf.h (ELFOSABI_GNU): New macro.
6987 (ELFOSABI_LINUX): Define to that.
6988
6989 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6990
6991 * string/strncat.c (strncat): Undef the symbol in case it has been
6992 defined in bits/string.h.
6993
6994 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6995
6996 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6997
6998 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
6999 link map.
7000
7001 2011-08-17 Andreas Jaeger <aj@suse.de>
7002
7003 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7004
7005 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7006 Ian Lance Taylor <iant@google.com>
7007
7008 * math/libm-test.inc (lround_test): New testcase.
7009 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7010
7011 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7012
7013 * Makefile: Remove support for automatic cvs check-ins.
7014 * Makerules: Likewise.
7015 * config.make.in: Likewise.
7016 * configure.in: Likewise.
7017 * intl/Makefile: Likewise.
7018 * locale/Makefile: Likewise.
7019 * po/Makefile: Likewise.
7020 * posix/Makefile: Likewise.
7021 * sysdeps/gnu/Makefile: Likewise.
7022 * sysdeps/mach/hurd/Makefile: Likewise.
7023 * sysdeps/sparc/sparc32/Makefile: Likewise.
7024
7025 [BZ #13118]
7026 * posix/Makefile (bug-regex32-ENV): Define.
7027 Patch by John Stanley <jpsinthemix@verizon.net>.
7028
7029 * misc/Makefile (headers): Add bits/select2.h.
7030 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7031 * misc/bits/select2.h: New file.
7032 * include/bits/select2.h: New file.
7033 * debug/Makefile (routines): Add fdelt_chk.
7034 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7035 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7036 FD_ISSET.
7037 * debug/fdelt_chk.c: New file.
7038
7039 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7040 * wcsmbs/test-wmemcmp.c: Likewise.
7041 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7042 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7043
7044 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7045
7046 * string/Makefile (strop-tests): Add memcmp.
7047 * string/test-wmemcmp.c: New file.
7048 * string/test-memcmp.c: Add wmemcmp support.
7049
7050 2011-09-08 Roland McGrath <roland@hack.frob.com>
7051
7052 [BZ #13153]
7053 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7054 2011-07-19 change.
7055
7056 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7057 garbage value in a __mach_port_mod_refs call in the cases of the
7058 task-self and thread-self ports.
7059
7060 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7061
7062 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7063
7064 2011-09-08 Andreas Schwab <schwab@redhat.com>
7065
7066 * elf/dl-load.c (lose): Check for non-null L.
7067
7068 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7069
7070 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7071
7072 * elf/dl-libc.c (dlerror_run): Pass back error code from
7073 dl_catch_error.
7074
7075 [BZ #13123]
7076 * elf/dl-load.c (lose): Free l_origin if it is valid.
7077
7078 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7079 names.
7080 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7081 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7082 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7083 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7084 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7085 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7086
7087 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7088
7089 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7090 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7091 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7092 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7093 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7094 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7095 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7096 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7097 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7098 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7099
7100 2011-08-15 Alan Modra <amodra@gmail.com>
7101
7102 [BZ #13092]
7103 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7104 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7105 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7106 ppc_mcount to static-only-routines.
7107 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7108 __mcount_internal.
7109 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7110 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7111
7112 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7113
7114 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7115 for finite and infinity parameters.
7116
7117 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7118
7119 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7120 and add nop instructions for throughput optimization.
7121 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7122
7123 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7124
7125 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7126 aligned copy for power7 with vector-scalar instructions.
7127 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7128
7129 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7130
7131 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7132 AVX check.
7133
7134 2011-09-07 Andreas Schwab <schwab@redhat.com>
7135
7136 [BZ #13144]
7137 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7138 last change.
7139
7140 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7141
7142 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7143 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7144 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7145 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7146 clock_gettime.
7147
7148 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7149
7150 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7151 Forgot to demangle the pointer.
7152
7153 * sysdeps/i386/sysdep.h: Define atom_text_section.
7154 * sysdeps/x86_64/sysdep.h: Likewise.
7155 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7156 section with atom_text_section.
7157 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7158 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7159 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7160 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7161 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7162
7163 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7164 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7165 already be defined. Change to take two parameters and don't assign
7166 result to variable. Adjust all users.
7167 Define INTERNAL_GETTIME if not already defined.
7168 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7169 call.
7170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7171 HAVE_CLOCK_GETTIME_VSYSCALL.
7172 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7173
7174 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7175 gettimeofday vsyscall, just use time.
7176
7177 2011-09-06 Andreas Schwab <schwab@redhat.com>
7178
7179 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7180 <errno.h>.
7181
7182 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7183
7184 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7185 syscall on x86-64.
7186 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7187 syscall.
7188 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7189 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7190 syscall if possible.
7191
7192 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7193
7194 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7195 e_ident. Don't pass to find_mapsXX.
7196 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7197
7198 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7199
7200 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7201 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7202 * sysdeps/x86_64/multiarch/strchr.S: Update.
7203 Check bit_slow_BSF bit.
7204 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7205 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7206 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7207
7208 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7209
7210 [BZ #13134]
7211 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7212 before glibc 2.15.
7213 (tryshell): Define.
7214 (__spawni): Change last parameter to be flag. Test
7215 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7216 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7217 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7218 * posix/spawni.c: Likewise.
7219 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7220 * posix/spawnp.c: Likewise. Change normal version to use
7221 SPAWN_XFLAGS_USE_PATH.
7222 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7223 SPAWN_XFLAGS_TRY_SHELL.
7224
7225 [BZ #13150]
7226 * posix/glob.h: Remove gcc 1.x support.
7227
7228 [BZ #13068]
7229 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7230
7231 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7232
7233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7234 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7235 strrchr-sse2-bsf
7236 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7237 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7238 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7239 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7240 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7241 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7242
7243 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7244
7245 * sysdeps/x86_64/wcscmp.S: New file.
7246
7247 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7248 wcscmp-c wcscmp-sse2
7249 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7250 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7251 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7252 * wcsmbs/wcscmp.c: Allow renaming.
7253
7254 2011-09-05 David S. Miller <davem@davemloft.net>
7255
7256 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7257 stack slot, rather than the struct return pointer slot.
7258 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7259 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7261 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7262
7263 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7264
7265 * po/ja.po: Update from translation team.
7266
7267 [BZ #13144]
7268 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7269 kernel in 64-bit binaries.
7270
7271 2011-09-01 David S. Miller <davem@davemloft.net>
7272
7273 * elf/elf.h (HWCAP_SPARC_*): Move to..
7274 * sysdeps/sparc/sysdep.h: this new file and add new values.
7275 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7276 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7277 _DL_HWCAP_COUNT to 24.
7278 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7279 entries.
7280 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7281 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7282 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7284 instead of magic constants.
7285 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7286
7287 2011-08-31 David S. Miller <davem@davemloft.net>
7288
7289 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7290 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7291 Reimplement to do errno handling inline.
7292 (SYSCALL_ERROR_HANDLER): New macro.
7293 (__SYSCALL_STRING): Do not do errno handling in asm.
7294 (__CLONE_SYSCALL_STRING): Delete.
7295 (__INTERNAL_SYSCALL_STRING): Delete.
7296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7297 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7298 (PSEUDO): Reimplement to do errno handling inline.
7299 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7300 (SYSCALL_ERROR_HANDLER): New macro.
7301 (__SYSCALL_STRING): Do not do errno handling in asm.
7302 (__CLONE_SYSCALL_STRING): Delete.
7303 (__INTERNAL_SYSCALL_STRING): Delete.
7304 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7305 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7306 i386.
7307 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7308 (inline_syscall*): Add 'err' argument.
7309 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7310 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7311 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7312 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7313
7314 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7315 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7316
7317 2011-08-30 Andreas Schwab <schwab@redhat.com>
7318
7319 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7320
7321 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7322
7323 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7324 directive.
7325
7326 2011-08-24 David S. Miller <davem@davemloft.net>
7327
7328 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7329
7330 2011-08-24 Andreas Schwab <schwab@redhat.com>
7331
7332 * elf/Makefile: Add rules to build and run unload8 test.
7333 * elf/unload8.c: New file.
7334 * elf/unload8mod1.c: New file.
7335 * elf/unload8mod1x.c: New file.
7336 * elf/unload8mod2.c: New file.
7337 * elf/unload8mod3.c: New file.
7338
7339 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7340 it wasn't used.
7341
7342 2011-08-23 David S. Miller <davem@davemloft.net>
7343
7344 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7345 subtract stack bias.
7346 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7347 %sp not %fp in calculations.
7348 (_JMPBUF_UNWINDS_ADJ): Likewise.
7349
7350 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7351 (aio_suspend): Call it to force an exception region around the
7352 AIO_MISC_WAIT() invocation.
7353
7354 2011-08-23 Andreas Schwab <schwab@redhat.com>
7355
7356 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7357 backslash.
7358
7359 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7360
7361 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7362 protection macro.
7363 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7364 and <dl-machine.h>.
7365 (Elf64_FuncDesc): Remove.
7366
7367 2011-08-22 David S. Miller <davem@davemloft.net>
7368
7369 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7370 sigaltstack check, add missing cfi directives.
7371 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7372 missing cfi directives, and sigaltstack handling.
7373
7374 2011-08-16 Andreas Schwab <schwab@redhat.com>
7375
7376 [BZ #11724]
7377 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7378 object is seen twice.
7379 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7380
7381 * elf/Makefile (distribute): Add tst-initorder2.c.
7382 (tests): Add tst-initorder2.
7383 (modules-names): Add tst-initorder2a tst-initorder2b
7384 tst-initorder2c tst-initorder2d. Add rules to build them.
7385 ($(objpfx)tst-initorder2.out): New rule.
7386 * elf/tst-initorder2.c: New file.
7387 * elf/tst-initorder2.exp: New file.
7388
7389 2011-08-22 Andreas Schwab <schwab@redhat.com>
7390
7391 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7392
7393 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7394 dependencies back to end of function.
7395
7396 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7397 $(elfobjdir)/ld.so.
7398
7399 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7400
7401 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7402 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7403 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7404 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7405 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7406 of __vdso_gettimeofday.
7407 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7408 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7409 attribute_hidden.
7410 (_libc_vdso_platform_setup): Remove initialization of
7411 __vdso_gettimeofday and __vdso_time.
7412
7413 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7414
7415 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7416 and fgetc_unlocked.
7417 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7418 getc_unlocked.
7419
7420 * elf/dl-open.c (add_to_global): Report additions to the global scope
7421 for LD_DEBUG=scopes.
7422 (dl_open_worker): Also print scope of newly loaded dependencies.
7423 (_dl_show_scope): Indicate if there is no scope.
7424
7425 [BZ #13114]
7426 * stdio-common/Makefile (tests): Add bug24.
7427 * stdio-common/bug24.c: New file.
7428
7429 2011-08-19 Andreas Jaeger <aj@suse.de>
7430
7431 [BZ #13114]
7432 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7433 non-existant file when using close-on-exec mode.
7434
7435 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7436
7437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7438 the very first instruction.
7439
7440 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7441 the CFI state in the end.
7442 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7443 inclusion of dl-trampoline.h.
7444 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7445
7446 2011-08-19 Andreas Schwab <schwab@redhat.com>
7447
7448 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7449 expectations for long double.
7450
7451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7452 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7453
7454 2011-08-14 David S. Miller <davem@davemloft.net>
7455
7456 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7457 artificual limit depends upon the system page size.
7458
7459 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7460
7461 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7462 * resolv/Makefile: Define CFLAGS-libresolv.
7463
7464 2011-08-17 Andreas Schwab <schwab@redhat.com>
7465
7466 * nss/makedb.c (compute_tables): Make variables used in nested
7467 function static.
7468
7469 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7470
7471 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7472 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7473 if buffer was too small.
7474
7475 * elf/pldd.c (main): Attach to all threads in the process.
7476 Rewrite /proc handling to use *at functions.
7477
7478 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7479
7480 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7481 specifies first scope to show.
7482 (dl_open_worker): Update callers. Move printing scope of new
7483 object to before the relocation.
7484 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7485 * sysdeps/generic/ldsodefs.h: Update declaration.
7486
7487 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7488 string for the scope number.
7489
7490 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7491
7492 * nscd/servicescache.c (cache_addserv): Make sure written is always
7493 initialized.
7494
7495 2011-08-14 Roland McGrath <roland@hack.frob.com>
7496
7497 * sysdeps/i386/i486/bits/atomic.h
7498 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7499 statement expression, so as to suppress "set but not used" warning.
7500 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7501
7502 * string/strncat.c (STRNCAT): Use prototype definition.
7503
7504 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7505 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7506 -Iprograms here.
7507 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7508 (localedef-modules): Add localedef.
7509 (locale-modules): Add locale.
7510
7511 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7512 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7513 to avoid a warning.
7514
7515 2011-08-14 David S. Miller <davem@davemloft.net>
7516
7517 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7518 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7519
7520 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7521
7522 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7523 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7524 * elf/rtld.c (dl_main): Set l_name of vDSO.
7525 Call _dl_show_scope when DL_DEBUG_SCOPES.
7526 (process_dl_debug): Recognize scopes flag and also set it for all.
7527 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7528 Declare _dl_show_scope.
7529
7530 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7531 (do_dlopen): Pass caller_dlopen to dl_open.
7532 (__libc_dlopen_mode): Initialize caller_dlopen.
7533
7534 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7535 of libc. Make tolower call locale-independent. Optimize a bit by
7536 using isdigit instead of isalnum.
7537 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7538
7539 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7540
7541 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7542 was a dependency or dynamically loaded.
7543
7544 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7545
7546 * intl/l10nflist.c: Allow architecture-specific pop function.
7547 * sysdeps/x86_64/l10nflist.c: New file.
7548
7549 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7550 classification.
7551
7552 2011-08-10 Andreas Schwab <schwab@redhat.com>
7553
7554 * include/dirent.h: Add libc_hidden_proto for scandirat and
7555 scandirat64. Don't declare __scandirat64.
7556 * dirent/scandirat.c: Add libc_hidden_def.
7557 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7558 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7559
7560 2011-08-10 David S. Miller <davem@davemloft.net>
7561
7562 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7563 enum.
7564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7565 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7566 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7567
7568 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7569
7570 * Versions.def [libc]: Add GLIBC_2.15.
7571 * dirent/Makefile (routines): Add scandirat and scandirat64.
7572 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7573 GLIBC_2.15.
7574 * dirent/dirent.h: Declare scandirat and scandirat64.
7575 * dirent/scandirat.c: New file.
7576 * dirent/scandirat64.c: New file.
7577 * sysdeps/wordsize-64/scandirat.c: New file.
7578 * sysdeps/wordsize-64/scandirat64.c: New file.
7579 * dirent/opendir.c: Define opendirat.
7580 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7581 using scandirat.
7582 * dirent/scandir64.c: Adjust for scandir.c change.
7583 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7584 __scandirat64, and __scandir_cancel_handler.
7585 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7586 additional parameter and use openat instead of open (outside of ld.so).
7587 Add new __opendir as wrapper around __opendirat.
7588 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7589 here without requiring old scandirat implementation.
7590
7591 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7592
7593 * dirent/scandir.c (cancel_handler): Renamed to
7594 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7595 defined. Adjust users.
7596 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7597 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7598
7599 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7600
7601 * string/test-string.h (IMPL): Use __STRING to expand name and then
7602 stringify it.
7603
7604 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7605 of cleanups.
7606
7607 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7608
7609 * string/Makefile: Update.
7610 (strop-tests): Append strncat.
7611 * string/test-wcscmp.c: New file.
7612 New comprehensive test for wcscmp.
7613 * string/test-strcmp.c: Update.
7614 (WIDE): New define.
7615
7616 2011-07-22 Andreas Schwab <schwab@redhat.com>
7617
7618 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7619 line.
7620
7621 2011-07-26 Andreas Schwab <schwab@redhat.com>
7622
7623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7624 encoding to ACE if AI_IDN.
7625
7626 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7627
7628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7629 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7630
7631 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7632
7633 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7634 Fix overflow bug in strncat.
7635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7636
7637 * string/test-strncat.c: Update.
7638 Add new tests for checking overflow bugs.
7639
7640 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7641
7642 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7643 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7644 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7645 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7646 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7647 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7648 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7649 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7650 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7651
7652 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7653 (USE_AS_STRCAT): Define.
7654 Add strcat and strncat support.
7655 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7656
7657 2011-07-25 Andreas Schwab <schwab@redhat.com>
7658
7659 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7660 __n bigger than INT_MAX+1.
7661 (__strncmp_g): Likewise.
7662
7663 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7664
7665 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7666 * libio/stido.h: Likewise.
7667
7668 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7669 (AF_NFC): Define.
7670 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7671 (AF_NFC): Define.
7672
7673 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7674 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7675 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7676 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7677 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7678
7679 [BZ #13021]
7680 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7681 installed.
7682
7683 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7684 typo.
7685 (_dl_x86_64_save_sse): Likewise.
7686
7687 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7688
7689 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7690 OSXSAVE.
7691 (_dl_x86_64_save_sse): Likewise.
7692
7693 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7694
7695 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7696
7697 2011-07-21 Andreas Schwab <schwab@redhat.com>
7698
7699 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7700 change.
7701 (_dl_x86_64_save_sse): Use correct AVX check.
7702
7703 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7704
7705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7706 bug in strncpy/strncat.
7707 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7708
7709 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7710
7711 * string/tester.c (test_strcat): Add tests for different alignments
7712 of source and destination.
7713 (test_strncat): Likewise.
7714
7715 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7716
7717 [BZ #12852]
7718 * posix/glob.c (glob): Check passed in values before using them in
7719 expressions to avoid some overflows.
7720 (glob_in_dir): Likewise.
7721
7722 [BZ #13007]
7723 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7724 check for AVX enablement so that we don't crash with old kernels and
7725 new hardware.
7726 * elf/tst-audit4.c: Add same checks here.
7727 * elf/tst-audit6.c: Likewise.
7728
7729 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7730
7731 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7732
7733 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7734
7735 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7736
7737 * po/cs.po: Update from translation team.
7738 * po/bg.po: Likewise.
7739
7740 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7741
7742 * misc/sys/cdefs.h: Add support for const attribute.
7743 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7744 to gnu_dev_{major,minor,makedev} functions.
7745
7746 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7747
7748 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7749
7750 2011-07-20 Andreas Schwab <schwab@redhat.com>
7751
7752 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7753 strlen results.
7754
7755 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7756
7757 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7758 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7759 register in order to avoid conflicts with the soft frame pointer
7760 being held in r11 when necessary.
7761 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7762 (INTERNAL_VSYSCALL_NCS): Likewise.
7763
7764 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7765
7766 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7767 * elf/dl-fini.c (_dl_fini): Adjust caller.
7768 * elf/dl-close.c (_dl_close_worker): Likewise.
7769 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7770
7771 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7772
7773 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7774 "aux_cache->nlibs < 0".
7775
7776 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7777 in the reload-count case.
7778
7779 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7780
7781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7782 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7783 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7784 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7785 * sysdeps/x86_64/multiarch/strcat.S: New file.
7786 * sysdeps/x86_64/multiarch/strncat.S: New file.
7787 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7788 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7789 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7790 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7791 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7792 (USE_AS_STRCAT): Define.
7793 Add strcat and strncat support.
7794 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7795 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7796 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7797 * string/strncat.c: Update.
7798 (USE_AS_STRNCAT): Define.
7799 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7800 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7801 and i7.
7802 * sysdeps/x86_64/multiarch/init-arch.h
7803 (bit_Prefer_PMINUB_for_stringop): New.
7804 (index_Prefer_PMINUB_for_stringop): Likewise.
7805 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7806 bit_Prefer_PMINUB_for_stringop.
7807
7808 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7809
7810 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7811 buffer64.
7812 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7813 of casting of buffer.
7814 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7815 buffer32 and buffer64.
7816 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7817 writes instead of casting of buffer.
7818 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7819 buffer32.
7820 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7821 casting of buffer.
7822
7823 2011-07-19 Andreas Schwab <schwab@redhat.com>
7824
7825 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7826
7827 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7828
7829 * nscd/nscd.c (termination_handler): Don't do anything for a database
7830 if it has not yet been initialized.
7831
7832 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7833
7834 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7835
7836 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7837
7838 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7839
7840 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7841
7842 * po/nl.po: Update from translation team.
7843 * po/sv.po: Likewise.
7844
7845 2011-07-16 Roland McGrath <roland@hack.frob.com>
7846
7847 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7848 now disallowed by GCC.
7849
7850 * configure.in (use-default-link): Default to yes if a test -shared
7851 link meets our qualifications.
7852 * configure: Regenerated.
7853
7854 * config.make.in (output-format): New variable.
7855 * configure.in: Check for ld --print-output-format support.
7856 * configure: Regenerated.
7857 * Makerules ($(common-objpfx)format.lds)
7858 [$(output-format) != unknown]: Just use $(output-format),
7859 instead of the linker-script munging.
7860
7861 2011-07-14 Roland McGrath <roland@hack.frob.com>
7862
7863 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7864 of $(common-objpfx)shlib.lds.
7865 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7866
7867 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7868 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7869
7870 * configure.in (-z relro check): Adjust test code to add a large
7871 writable data section after it.
7872 * configure: Regenerated.
7873
7874 2011-07-11 Roland McGrath <roland@hack.frob.com>
7875
7876 * configure.in (-z relro check): Fix test code to make the variable
7877 truly const.
7878 * configure: Regenerated.
7879
7880 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7881
7882 * nscd/nscd.h (struct traced_file): Define.
7883 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7884 elements. Add traced_files.
7885 (inotify_fd): Declare.
7886 (register_traced_file): Declare.
7887 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7888 (inotify_fd): Export.
7889 (resolv_conf_descr): Remove.
7890 (nscd_init): Move inotify descriptor creation to main.
7891 Don't register files for notification here.
7892 (register_traced_file): New function.
7893 (invalidate_cache): Don't use reset_res to determine whether to call
7894 res_init, go through the list of registered files.
7895 (main_loop_poll): The inotify descriptors are now stored in the
7896 structures for the traced files.
7897 (main_loop_epoll): Likewise
7898 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7899 to __nss_disable_nscd.
7900 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7901 for a database anymore. Check the records for all the registered
7902 files instead.
7903 * nss/Makefile (libnss_files-routines): Add files-init.
7904 (libnss_db-routines): Add db-init.
7905 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7906 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7907 * nss/nss_db/db-init.c: New file.
7908 * nss/nss_files/files-init.c: New file.
7909 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7910 __nss_lookup_function.
7911 (__nss_lookup_function): Call nss_load_library.
7912 (nss_load_all_libraries): New function.
7913 (__nss_disable_nscd): Take parameter with callback function for files
7914 to register. Set is_nscd. Load all the DSOs for the NSS modules
7915 used for the cached services.
7916 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7917 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7918 options for features to all the files in nscd.
7919
7920 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7921
7922 2011-07-10 Roland McGrath <roland@hack.frob.com>
7923
7924 * csu/elf-init.c (__libc_csu_init): Comment typo.
7925
7926 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7927
7928 * po/pl.po: Update from translation team.
7929 * po/ja.po: Likewise.
7930 * po/ru.po: Likewise.
7931 * po/ko.po: Likewise.
7932 * po/fr.po: Likewise.
7933
7934 2011-07-09 Roland McGrath <roland@hack.frob.com>
7935
7936 * configure.in (.ctors/.dtors header and trailer check):
7937 Use an empirical test on a built program.
7938 * configure: Regenerated.
7939
7940 * configure.in (-z relro check): Use an empirical test on a built DSO.
7941 Detect, but do not require, on ia64.
7942 * configure: Regenerated.
7943
7944 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7945 Update tests that use readelf to use $READELF instead.
7946 * configure: Regenerated.
7947
7948 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7949
7950 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7951 if the result is not used.
7952
7953 2011-07-05 Andreas Jaeger <aj@suse.de>
7954
7955 [BZ#9696]
7956 * stdlib/tst-strtod.c: Add testcase.
7957
7958 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7959
7960 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7961 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7962 The latter has a higher limit. Take additional parameter to pass to
7963 the new function.
7964 (__pathconf): Pass file to __statfs_link_max.
7965 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7966 __statfs_link_max.
7967 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7968 __statfs_link_max.
7969
7970 [BZ #12868]
7971 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7972 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7973 Handle Lustre.
7974 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7975 (__statfs_filesize_max): Likewise.
7976 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7977
7978 2011-07-05 Andreas Jaeger <aj@suse.de>
7979
7980 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7981
7982 2011-07-06 Marek Polacek <mpolacek@redhat.com>
7983
7984 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7985 `status' variable.
7986 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7987 Likewise.
7988
7989 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7990
7991 * Makefile (strop-tests): Add strncat.
7992 * string/test-strncat.c: New file.
7993
7994 2011-06-30 Marek Polacek <mpolacek@redhat.com>
7995
7996 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7997
7998 2011-06-21 Andreas Jaeger <aj@suse.de>
7999
8000 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8001 Copy rule from iconvdata/Makefile.
8002
8003 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8004
8005 [BZ #12922]
8006 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8007 but no long options are defined, just return 'W'.
8008
8009 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8010
8011 [BZ #9696]
8012 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8013
8014 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8015
8016 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8017 netgroups to read.
8018 (innetgr): Likewise.
8019
8020 2011-07-05 Roland McGrath <roland@hack.frob.com>
8021
8022 * config.make.in (install_root): Default to $(DESTDIR).
8023
8024 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8025
8026 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8027
8028 2011-07-02 Roland McGrath <roland@hack.frob.com>
8029
8030 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8031
8032 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8033 containing directory rather than embedding absolute directory names.
8034
8035 * scripts/check-local-headers.sh: Rewritten using awk.
8036 Match by word, not by line. Print error messages for matches.
8037 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8038
8039 * Makerules [shlib-lds-flags empty]:
8040 ($(common-objpfx)libc_pic.opts): New target.
8041 ($(common-objpfx)libc_pic.os.clean): New target.
8042 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8043
8044 * config.make.in (OBJCOPY): New variable.
8045 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8046 * configure: Regenerated.
8047
8048 * config.make.in (use-default-link): New variable.
8049 * configure.in (use_default_link): Grok --with-default-link to set it.
8050 * configure: Regenerated.
8051 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8052 (shlib-lds, shlib-lds-flags): Define to empty.
8053
8054 * Makerules (shlib-lds): New variable.
8055 (shlib-lds-flags): New variable.
8056 (build-shlib, build-moduile, build-module-asneeded): Use it.
8057 ($(common-objpfx)libc.so): Use $(shlib-lds).
8058 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8059 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8060
8061 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8062 DT_FLAGS/DT_FLAGS_1 with zero flags.
8063
8064 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8065 linker script munging.
8066
8067 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8068
8069 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8070 as 128-bit value.
8071 * crypt/sha512.c (sha512_process_block): Perform total addition using
8072 128-bit if possible.
8073 (__sha512_finish_ctx): Likewise.
8074 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8075 as 64-bit value.
8076 * crypt/sha256.c (SWAP64): Define.
8077 (sha256_process_block): Perform total addition using 64-bit if
8078 possible.
8079 (__sha256_finish_ctx): Likewise.
8080
8081 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8082
8083 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8084 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8085 * nscd/hstcache.c (cache_addhst): Likewise.
8086 * nscd/grpcache.c (cache_addgr): Likewise.
8087 * nscd/aicache.c (addhstaiX): Likewise
8088 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8089
8090 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8091
8092 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8093 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8094 * nscd/hstcache.c (cache_addhst): Likewise.
8095 * nscd/grpcache.c (cache_addgr): Likewise.
8096 * nscd/aicache.c (addhstaiX): Likewise
8097
8098 2011-07-01 Andreas Schwab <schwab@redhat.com>
8099
8100 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8101 domain only when needed.
8102
8103 2011-06-30 Andreas Schwab <schwab@redhat.com>
8104
8105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8106 is always restored.
8107
8108 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8109
8110 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8111 are re-adding the entry.
8112 * nscd/servicescache.c (cache_addserv): Likewise.
8113
8114 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8115
8116 * sysdeps/generic/dl-irel.h: fix protection against multiple
8117 inclusions.
8118 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8119
8120 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8121
8122 [BZ #12935]
8123 * malloc/memusage.sh: Fix quoting in message.
8124 * debug/xtrace.sh: Likewise.
8125
8126 * configure.in: Remove support for --experimental-malloc option, make
8127 it the default.
8128 * config.make.in: Likewise.
8129 * malloc/Makefile: Likewise.
8130
8131 2011-06-27 Andreas Schwab <schwab@redhat.com>
8132
8133 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8134 two-byte characters.
8135
8136 2011-06-27 Roland McGrath <roland@hack.frob.com>
8137
8138 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8139 AC_CACHE_CHECK invocation.
8140 * configure: Regenerated.
8141
8142 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8143
8144 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8145
8146 [BZ #12350]
8147 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8148 bit from old_res_options.
8149
8150 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8151
8152 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8153 value type for setfct.
8154
8155 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8156
8157 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8158 __gettimeofday instead of gettimeofday.
8159
8160 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8161
8162 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8163
8164 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8165
8166 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8167
8168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8169 info.
8170
8171 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8172
8173 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8174 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8175 strcpy-sse2-unaligned strncpy-sse2-unaligned
8176 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8177 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8178 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8179 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8180 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8181 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8182 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8183 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8184 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8185 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8186 (STRCPY): Support SSE2 and SSSE3 versions.
8187
8188 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8189
8190 [BZ #12874]
8191 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8192 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8193 kernels which artificially limit size of requests.
8194
8195 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8196
8197 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8198 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8199 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8200 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8201 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8202 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8203 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8204 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8205 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8206 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8207 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8208 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8209 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8210 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8211 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8213 Enable unaligned load optimization for Intel Core i3, i5 and i7
8214 processors.
8215 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8216 Define.
8217 (index_Fast_Unaligned_Load): Define.
8218 (HAS_FAST_UNALIGNED_LOAD): Define.
8219
8220 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8221
8222 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8223
8224 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8225
8226 [BZ #12907]
8227 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8228 until it is clear that the information is realy needed.
8229 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8230
8231 2011-06-22 Andreas Schwab <schwab@redhat.com>
8232
8233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8234
8235 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8236
8237 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8238 /sys/devices/system/cpu/online if it is usable.
8239
8240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8241 reading the information from the /proc filesystem to once a second.
8242
8243 2011-06-21 Andreas Jaeger <aj@suse.de>
8244
8245 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8246 NULL after inclusion of kernel headers.
8247
8248 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8249
8250 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8251 calls to internal_setent.
8252
8253 [BZ #12885]
8254 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8255 addresses using gethostbyname4_r ignore IPv4 addresses.
8256
8257 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8258 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8259
8260 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8261
8262 2011-06-20 David S. Miller <davem@davemloft.net>
8263
8264 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8265 inclusions.
8266 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8267
8268 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8269 (elf_irel): Use it.
8270 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8271 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8272 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8273 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8274 * sysdeps/x86_64/dl-irel.h: Likewise.
8275
8276 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8277 * elf/dl-sym.c: Likewise.
8278
8279 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8280
8281 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8282 need to dereference resplen2.
8283
8284 2011-06-14 Andreas Schwab <schwab@redhat.com>
8285
8286 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8287
8288 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8289
8290 * Makeconfig: Define vardbdir and inst_vardbdir.
8291 * nss/Makefile: Add rules to install db-Makefile.
8292
8293 * nss/nss_db/db-XXX.c: Cleanup.
8294
8295 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8296 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8297 GLIBC_PRIVATE.
8298 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8299 * nss/makedb.c: Implement -g option to specify that value strings
8300 are generated and should not be added to table iterated over for
8301 get*ent calls.
8302 * nss/nss_db/db-initgroups.c: New file.
8303
8304 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8305 interface.
8306
8307 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8308 (internal_getgrouplist): Adjust to name change.
8309 Update use_initgroups_entry if this is not the first call.
8310 * nss/databases.def: Add initgroups entry.
8311
8312 * nss/makedb.c (compute_tables): Check result of multiple hash table
8313 sizes to minimize maximum chain length.
8314
8315 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8316
8317 * Versions.def: Add entry for libnss_db.
8318 * shlib-versions: Likewise.
8319 * nss/Makefile: Add rules to build libnss_db.
8320 * nss/Versions: Add libnss_db information. Organize libnss_files
8321 entries better.
8322 * nss/db-Makefile: Add gshadow support. Change rules for the new
8323 makedb progra. Some minor improvements to generate smaller files.
8324 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8325 here from...
8326 * nss/makedb.c: ...here.
8327 Improve database format to be smaller and require less memory at
8328 runtime.
8329 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8330 db anymore.
8331 * nss/nss_db/db-netgrp.c: Likewise.
8332 * nss/nss_db/db-open.c: Likewise.
8333 * nss/nss_files/flies-XXX.x: Adjust comments.
8334 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8335 * nss/nss_files/files-grp.c: Likewise.
8336 * nss/nss_files/files-hosts.c: Likewise.
8337 * nss/nss_files/files-network.c: Likewise.
8338 * nss/nss_files/files-proto.c: Likewise.
8339 * nss/nss_files/files-pwd.c: Likewise.
8340 * nss/nss_files/files-rpc.c: Likewise.
8341 * nss/nss_files/files-service.c: Likewise.
8342 * nss/nss_files/files-sgrp.c: Likewise.
8343 * nss/nss_files/files-spwd.c: Likewise.
8344 * nss/nss_db/db-alias.c: Removed.
8345 * nss/nss_db/dummy-db.h: Removed.
8346
8347 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8348
8349 * nss/makedb.c: Rewritten to not use database library.
8350 * nss/Makefile: Update to build new makedb program.
8351
8352 2011-06-14 Andreas Jaeger <aj@suse.de>
8353
8354 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8355 memset declaration.
8356
8357 2011-06-10 Andreas Schwab <schwab@redhat.com>
8358
8359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8360 tmpbuf.
8361
8362 2011-06-10 Roland McGrath <roland@hack.frob.com>
8363
8364 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8365 * elf/Makefile ($(objpfx)ld.so): Likewise.
8366
8367 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8368 Don't list ld.so twice in dependencies.
8369
8370 * posix/bug-regex31.c: Include <stdlib.h>.
8371
8372 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8373
8374 * nis/nss_compat/compat-spwd.c
8375 (getspent_next_nss_netgr): Remove unused variable.
8376 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8377
8378 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8379 nonmembers" output to use the right array.
8380
8381 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8382
8383 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8384
8385 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8386 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8387 * catgets/gencat.c (read_input_file): Likewise.
8388 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8389
8390 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8391 variable definition inside #if's controlling its use.
8392
8393 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8394
8395 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8396
8397 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8398
8399 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8400 unreachable code.
8401
8402 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8403
8404 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8405 * configure: Regenerated.
8406
8407 * Makerules: Revert last change.
8408 * elf/Makefile: Likewise.
8409
8410 2011-06-09 Roland McGrath <roland@hack.frob.com>
8411
8412 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8413 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8414 (reloc-link): Likewise.
8415
8416 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8417
8418 * elf/Makefile: Add rules to build pldd.
8419 * elf/pldd.c: New file.
8420 * elf/pldd-xx.c: New file.
8421
8422 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8423
8424 * version.h: Update for 2.15 development version.
8425
8426 2011-06-07 David S. Miller <davem@davemloft.net>
8427
8428 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8429 ifuncs.
8430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8431 elf_machine_lazy_rel): Likewise.
8432 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8433 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8434 elf_machine_lazy_rel): Likewise.
8435 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8436 dl_hwcap via passed in argument.
8437 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8438 Likewise.
8439
8440 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8441
8442 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8443
8444 2011-06-06 Roland McGrath <roland@hack.frob.com>
8445
8446 [BZ #12849]
8447 * manual/fdl-1.1.texi: New file, verbatim from:
8448 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8449 * manual/lgpl-2.1.texi: New file, verbatim from:
8450 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8451 * manual/Makefile (licenses): New variable, list those new file names.
8452 (texis): Use it.
8453 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8454
8455 * manual/fdl.texi: File removed.
8456 * manual/lesser.texi: File removed.
8457 * manual/libc.texinfo (Copying, Documentation License):
8458 Use new @include file names, put @appendix directive before @include.
8459
8460 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8461
8462 [BZ #12841]
8463 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8464 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8465 (mq_open): Add __NTH.
8466
8467 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8468
8469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8470 Assume Intel Core i3/i5/i7 processor if AVX is available.
8471
8472 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8473
8474 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8475 typo.
8476
8477 2011-05-31 Andreas Schwab <schwab@redhat.com>
8478
8479 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8480 memory. Use alloca_account. Fix memory leak when retrying.
8481
8482 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8483
8484 * version.h (RELEASE): Bump for 2.14 release.
8485 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8486
8487 * config.make.in (RANLIB): Remove entry.
8488
8489 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8490
8491 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8492 (libc.pot): Work around missing support for .ksh extension in xgettext.
8493
8494 [BZ #12684]
8495 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8496 if both request failed.
8497 (send_dg): In case of server errors clear resplen or *resplen2.
8498
8499 [BZ #12454]
8500 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8501 when there are multiple maps.
8502 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8503 (_dl_fini): Remove test here.
8504
8505 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8506
8507 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8508
8509 [BZ #12350]
8510 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8511 bit from old_res_options.
8512 (gaih_inet): Likewise.
8513
8514 [BZ #11099]
8515 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8516 as signed.
8517
8518 * resolv/res_init.c (res_setoptions): Make the code more compact.
8519
8520 [BZ #11558]
8521 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8522 set RES_USEVC.
8523
8524 [BZ #11634]
8525 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8526
8527 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8528
8529 [BZ #11781]
8530 * malloc/malloc.h: Declare malloc hook variables as volatile.
8531
8532 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8533 in last patch.
8534
8535 [BZ #11799]
8536 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8537 raise in the comment.
8538 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8539 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8540 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8541
8542 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8543
8544 [BZ #12811]
8545 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8546 grow the buffers more if it already has to be sufficient.
8547 (build_wcs_upper_buffer): Likewise.
8548 * posix/regexec.c (check_matching): Likewise.
8549 (clean_state_log_if_needed): Likewise.
8550 (extend_buffers): Don't enlarge buffers beyond size of the input
8551 buffer.
8552 Patches mostly by Emil Wojak <emil@wojak.eu>.
8553 * posix/bug-regex32.c: New file.
8554 * posix/Makefile (tests): Add bug-regex32.
8555
8556 * locale/findlocale.c (_nl_find_locale): Return right away if
8557 _nl_explode_name failed.
8558 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8559
8560 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8561
8562 * debug/xtrace.sh: Unify messages.
8563 * malloc/memusage.sh: Likewise.
8564
8565 [BZ #12813]
8566 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8567 time symbol from vDSO. Substitute with vsyscall if not available.
8568 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8569 __vdso_time.
8570
8571 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8572 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8573 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8574 Add sendmmsg and internal_sendmmsg.
8575 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8576 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8577 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8578
8579 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8580 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8581 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8582
8583 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8584
8585 [BZ #12813]
8586 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8587 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8588 available.
8589 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8590 __vdso_getcpu.
8591
8592 [BZ #12814]
8593 * iconvdata/Makefile (tests): Add bug-iconv9.
8594 * iconvdata/bug-iconv9.c: New file.
8595
8596 2011-05-27 Andreas Schwab <schwab@redhat.com>
8597
8598 [BZ #12814]
8599 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8600
8601 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8602
8603 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8604 (struct user_regs_struct): Change intcs field back to cs.
8605
8606 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8607
8608 * po/ja.po: Update from translation team.
8609
8610 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8611
8612 [BZ #12795]
8613 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8614 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8615
8616 2011-05-20 Andreas Schwab <schwab@redhat.com>
8617
8618 * stdlib/longlong.h: Update from GCC.
8619
8620 2011-05-23 Andreas Schwab <schwab@redhat.com>
8621
8622 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8623 parameter name.
8624 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8625 Add parameter name.
8626 (__sysconf): Pass it down.
8627
8628 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8629
8630 [BZ #12671]
8631 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8632 some situations.
8633 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8634 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8635 add in in __libc_use_alloca calls. Adjust callers.
8636 (glob): Use malloc in some situations.
8637
8638 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8639 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8640 pltexit.
8641
8642 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8643
8644 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8645 and CLOCK_BOOTTIME_ALARM.
8646
8647 [BZ #12782]
8648 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8649 is returned.
8650
8651 * string/_strerror.c (__strerror_r): Print negative errors as signed
8652 numbers.
8653
8654 [BZ #12777]
8655 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8656 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8657 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8658
8659 * configure.in: Fix typo in redirection and correct removal of test
8660 files in two cases.
8661
8662 [BZ #12788]
8663 * locale/setlocale.c (new_composite_name): Fix test to check for
8664 identical name of all categories.
8665
8666 [BZ #12792]
8667 * libio/filedoalloc.c (local_isatty): New function.
8668 (_IO_file_doallocate): Use local_isatty.
8669 * stdio-common/perror.c (perror): In case a new stream is used
8670 forward the stream error.
8671 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8672 error flag.
8673
8674 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8675
8676 [BZ #11869]
8677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8678 alloca.
8679 * include/alloca.h (extend_alloca_account): Define.
8680
8681 [BZ #11857]
8682 * posix/regex.h: Fix comments with documentation of user-accessible
8683 fields after compilation and describe correct free'ing of pattern
8684 after re_compile_pattern.
8685 Patch by Reuben Thomas <rrt@sc3d.org>.
8686
8687 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8688
8689 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8690 and -mno-altivec to prevent the compiler from using Altivec and/or
8691 VSX instructions when the corresponding registers are not available.
8692
8693 2011-05-19 Andreas Schwab <schwab@redhat.com>
8694
8695 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8696
8697 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8698
8699 * libio/freopen.c (freopen): Use __dup2, not dup2.
8700 * libio/freopen64.c (freopen64): Likewise.
8701
8702 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8703
8704 [BZ #12775]
8705 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8706 * math/Makefile (tests): Add test-powl.
8707 (CFLAGS-test-powl.c): Define.
8708 * math/test-powl.c: New file.
8709
8710 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8711
8712 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8713
8714 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8715
8716 [BZ #11837]
8717 * iconvdata/gb18030.c: Update to GB18020-2005.
8718
8719 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8720
8721 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8722 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8723 Patch by Aharon Robbins <arnold@skeeve.com>.
8724
8725 [BZ #11892]
8726 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8727 on the stack.
8728
8729 [BZ #11895]
8730 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8731 through underflows.
8732
8733 [BZ #12766]
8734 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8735 point to strings before performing equality test for error_one_per_line
8736 mode.
8737
8738 [BZ #11697]
8739 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8740
8741 [BZ #11820]
8742 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8743 (struct user_fpregs_struct): Avoid __uint*_t types.
8744
8745 [BZ #6420]
8746 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8747 symbol info. Use it instead of calling _dl_addr locally.
8748 (lock_and_info): New function.
8749 (tr_freehook): Call lock_and_info and pass symbol info as additional
8750 parameter to tr_where.
8751 (tr_mallochook): Likewise.
8752 (tr_reallochook): Likewise.
8753 (tr_memalignhook): Likewise.
8754
8755 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8756 used and couldn't be at all thread-safe.
8757
8758 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8759
8760 * libio/freopen.c (freopen): Don't close old file descriptor
8761 before the new one is opened. Instead dup the new file descriptor
8762 to the old one after the new stream is created.
8763 * libio/freopen64.c (freopen64): Likewise.
8764 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8765 * libio/fileops.c (_IO_new_file_close_it): Handle new
8766 _IO_FLAGS2_NOCLOSE flag.
8767 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8768 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8769 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8770 _IO_FLAGS2_NOCLOSE flag.
8771 * include/unistd.h: Add hidden_proto for dup3.
8772 Define __have_dup3.
8773 * io/dup3.c: Define hidden symbol.
8774 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8775
8776 [BZ #7101]
8777 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8778 when an incomplete long option is used.
8779 * posix/tst-getopt_long1.c: New file.
8780 * posix/Makefile (tests): Add tst-getopt_long1.
8781
8782 [BZ #10138]
8783 * scripts/config.guess: Update from autoconf-2.68.
8784 * scripts/config.sub: Likewise.
8785
8786 [BZ #10157]
8787 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8788 tests into ...
8789 (has_cpuclock): ...this. New function.
8790 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8791 macro here based on has_cpuclock code.
8792
8793 [BZ #10149]
8794 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8795 First byte (not low byte) is now always NUL.
8796 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8797
8798 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8799 Use non-cancelable interfaces.
8800
8801 [BZ #9809]
8802 * locale/iso-639.def: Add entry for Sorani.
8803
8804 [BZ #11901]
8805 * include/stdlib.h: Move include protection to the right place.
8806 Define abort_msg_s. Declare __abort_msg with it.
8807 * stdlib/abort.c (__abort_msg): Adjust type.
8808 * assert/assert.c (__assert_fail_base): New function. Majority
8809 of code from __assert_fail. Allocate memory for __abort_msg with
8810 mmap.
8811 (__assert_fail): Now call __assert_fail_base.
8812 * assert/assert-perr.c: Remove bulk of implementation. Use
8813 __assert_fail_base.
8814 * include/assert.hL Declare __assert_fail_base.
8815 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8816 mmap.
8817 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8818
8819 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8820
8821 [BZ #11952]
8822 [BZ #12453]
8823 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8824 until all modules are registered in the DTV.
8825 * elf/Makefile: Add rules to build and run tst-tls19.
8826 * elf/tst-tls19.c: New file.
8827 * elf/tst-tls19mod1.c: New file.
8828 * elf/tst-tls19mod2.c: New file.
8829 * elf/tst-tls19mod3.c: New file.
8830 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8831
8832 [BZ #12083]
8833 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8834 correctly.
8835
8836 [BZ #12601]
8837 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8838 two-byte sequence errors.
8839 * iconvdata/Makefile (tests): Add bug-iconv8.
8840 * iconvdata/bug-iconv8.c: New file.
8841
8842 [BZ #12626]
8843 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8844 buf2 definition.
8845
8846 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8847
8848 [BZ #12432]
8849 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8850 (dummy_getcfa): New function.
8851 (init): Get _Unwind_GetCFA address, use dummy if not found.
8852 (backtrace_helper): In recursion check, also check whether CFA changes.
8853 (__backtrace): Completely initialize arg.
8854
8855 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8856 storing incomplete byte sequence in state object. Avoid testing for
8857 guaranteed too small input if we know there is enough data available.
8858
8859 2011-05-11 Andreas Schwab <schwab@redhat.com>
8860
8861 * Makeconfig (+link-pie): Indent.
8862 * Rules (binaries-pie): Define if $(have-fpie) and
8863 $(build-shared).
8864 (binaries-shared): Also filter out $(binaries-pie).
8865 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8866 * nscd/Makefile (others-pie): Add nscd.
8867 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8868 ($(objpfx)nscd): Remove command override.
8869 * login/Makefile (others-pie): Add pt_chown.
8870 ($(objpfx)pt_chown): Remove command override.
8871 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8872 remove command overrides.
8873
8874 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8875
8876 * libio/tst_putwc.c: Fix error messages.
8877
8878 [BZ #12724]
8879 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8880 currently writing and seek to current position when not.
8881 * libio/Makefile (tests): Add bug-fclose1.
8882 * libio/bug-fclose1.c: New file.
8883
8884 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8885
8886 [BZ #12511]
8887 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8888 don't set DF_1_NODELETE here.
8889 (do_lookup_x): When entering new entry test for copy relocation
8890 and if necessary set DF_1_NODELETE flag.
8891 * elf/tst-unique4.cc: New file.
8892 * elf/tst-unique4.h: New file.
8893 * elf/tst-unique4lib.cc: New file.
8894 * elf/Makefile: Add rules to build and run tst-unique4.
8895 Patch by Piotr Bury <pbury@goahead.com>.
8896
8897 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8898
8899 [BZ #12052]
8900 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8901
8902 [BZ #12625]
8903 * misc/mntent_r.c (addmntent): Flush the stream after the output
8904
8905 [BZ #12393]
8906 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8907 (is_trusted_path_normalize): Skip initial colon. Append slash
8908 to empty buffer. Duplicate is_trusted_path code but allow
8909 constructed patch to be prefix.
8910 (is_dst): Allow $ORIGIN followed by /.
8911 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8912 Correct testing of result of is_trusted_path_normalize
8913 (decompose_rpath): Fix warning.
8914
8915 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8916
8917 [BZ #11257]
8918 * grp/initgroups.c (internal_getgrouplist): When we found the service
8919 list through the initgroups entry in nsswitch.conf do not always
8920 continue on a successful lookup. Don't always use the
8921 __nss_group_database value if it is set.
8922 * nss/nsswitch.conf (initgroups): Change action for successful db
8923 lookup to continue for compatibility.
8924
8925 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8926
8927 [BZ #11532]
8928 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8929 and CP774 modules.
8930 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8931 and CP774 modules.
8932 * iconvdata/tst-tables.sh: Likewise.
8933 * iconvdata/cp770.c: New file.
8934 * iconvdata/cp771.c: New file.
8935 * iconvdata/cp772.c: New file.
8936 * iconvdata/cp773.c: New file.
8937 * iconvdata/cp774.c: New file.
8938 * iconvdata/testdata/CP770: New file.
8939 * iconvdata/testdata/CP770..UTF8: New file.
8940 * iconvdata/testdata/CP771: New file.
8941 * iconvdata/testdata/CP771..UTF8: New file.
8942 * iconvdata/testdata/CP772: New file.
8943 * iconvdata/testdata/CP772..UTF8: New file.
8944 * iconvdata/testdata/CP773: New file.
8945 * iconvdata/testdata/CP773..UTF8: New file.
8946 * iconvdata/testdata/CP774: New file.
8947 * iconvdata/testdata/CP774..UTF8: New file.
8948
8949 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8950 END CHARMAP line.
8951 * iconvdata/gen-8bit-gap.sh: Likewise.
8952 * iconvdata/gen-8bit.sh: Likewise.
8953
8954 * locale/iso-639.def: Add ary entry.
8955
8956 [BZ #11258]
8957 * locale/C-translit.h.in: Add U20A1 transliteration.
8958
8959 [BZ #12178]
8960 * locale/iso-639.def: Add wae entry.
8961 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8962
8963 [BZ #12545]
8964 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8965 for n.
8966
8967 [BZ #12711]
8968 * locale/C-translit.h.in: Add entry for U20B9.
8969 Patch by pravin.d.s@gmail.com.
8970
8971 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8972
8973 [BZ #12713]
8974 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8975 ENAMETOOLONG use generic getcwd.
8976 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8977 in rtld. Use *stat64.
8978 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
8979 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
8980 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
8981 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8982 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8983 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8984 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8985 __fstatat64 macros.
8986 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8987 * dirent/rewinddir.c: Add libc_hidden_def.
8988 * sysdeps/mach/hurd/rewinddir.c: Likewise.
8989 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
8990
8991 * include/dirent.h (__alloc_dir): Add flags parameter.
8992 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8993 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8994 __alloc_dir.
8995 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8996 from fdopendir if O_CLOEXEC is already set.
8997
8998 2011-03-15 Alan Modra <amodra@gmail.com>
8999
9000 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9001 l_tls_firstbyte_offset non-zero. Save padding offset in
9002 l_tls_firstbyte_offset for later use.
9003 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9004 freeing static tls block.
9005
9006 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9007
9008 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9009 where #ifdef was intended. The intent is to prevent ARG_MAX from
9010 being defined by the kernel headers.
9011
9012 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9013
9014 [BZ #12734]
9015 * resolv/resolv.h: Define RES_NOTLDQUERY.
9016 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9017 no-tld-query and set RES_NOTLDQUERY.
9018 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9019 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9020 modern BIND to search name as TLD unless forbidden.
9021
9022 2011-05-07 Petr Baudis <pasky@suse.cz>
9023 Ulrich Drepper <drepper@gmail.com>
9024
9025 [BZ #12393]
9026 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9027 (is_trusted_path): ...to here.
9028 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9029 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9030 using is_trusted_path_normalize() in setuid scripts.
9031
9032 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9033
9034 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9035 __BEGIN/__END_DECLS.
9036
9037 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9038
9039 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9040 NSS_STATUS_NOTFOUND if no record was found.
9041
9042 2011-05-05 Andreas Schwab <schwab@redhat.com>
9043
9044 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9045 (headers-not-in-tirpc): Remove rpc/netdb.h
9046 * resolv/netdb.h: Revert last change.
9047
9048 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9049
9050 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9051 circular dependency between libgcc.a and libc.a.
9052
9053 2011-05-05 Andreas Schwab <schwab@redhat.com>
9054
9055 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9056 * nis/Makefile: Don't install rpcsvc/*.
9057 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9058 instead of <rpc/types.h>.
9059 (MAXHOSTNAMELEN): Define.
9060
9061 2011-05-03 Andreas Schwab <schwab@redhat.com>
9062
9063 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9064
9065 2011-04-28 Maciej Babinski <mbabinski@google.com>
9066
9067 [BZ #12714]
9068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9069 gethostbyname4_r when IPv6 results are possible.
9070
9071 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9072
9073 [BZ #12723]
9074 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9075 _PC_PIPE_BUF handling.
9076
9077 2011-04-30 Bruno Haible <bruno@clisp.org>
9078
9079 [BZ #12717]
9080 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9081 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9082 to 'int'.
9083 * inet/getnameinfo.c (getnameinfo): Likewise.
9084
9085 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9086
9087 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9088 to groups setting in database lookup.
9089 * nss/nsswitch.conf: Add initgroups entry.
9090
9091 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9092
9093 [BZ #12685]
9094 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9095 mode string.
9096 Patch by Eric Blake <eblake@redhat.com>.
9097
9098 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9099
9100 * sunrpc/Makefile (need-export-routines): Add svc_run.
9101 (routines): Remove svc_run.
9102 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9103 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9104 * sunrpc/svc_run.c (svc_run): Likewise.
9105 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9106
9107 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9108
9109 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9110 problem in reallocation in last patch.
9111
9112 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9113
9114 * sunrpc/Makefile: Move inclusion of Rules.
9115
9116 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9117
9118 * nss/nss_files/files-initgroups.c: New file.
9119 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9120 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9121 _nss_files_initgroups_dyn.
9122
9123 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9124
9125 * elf/elf.h (R_ARM_IRELATIVE): Define.
9126
9127 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9128
9129 * po/ru.po: Update from translation team.
9130
9131 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9132
9133 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9134 dependencies.
9135
9136 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9137
9138 [BZ #12653]
9139 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9140 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9141 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9142 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9143 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9144
9145 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9146
9147 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9148 differing bytes.
9149 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9150 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9151 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9152
9153 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9154
9155 [BZ #12420]
9156 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9157 storing it.
9158 * stdlib/bug-getcontext.c: New file.
9159 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9160
9161 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9162
9163 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9164 instructions into .machine "z9-109".
9165 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9166 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9167
9168 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9169
9170 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9171 between environment variables and auxiliary vector.
9172
9173 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9174
9175 * Makefile: Add rules to build linkobj/libc.so.
9176 * include/libc-symbols.h: Define libc_hidden_nolink.
9177 * include/rpc/auth.h: Mark functions which are to be hidden.
9178 * include/rpc/auth_des.h: Likewise.
9179 * include/rpc/auth_unix.h: Likewise.
9180 * include/rpc/clnt.h: Likewise.
9181 * include/rpc/des_crypt.h: Likewise.
9182 * include/rpc/key_prot.h: Likewise.
9183 * include/rpc/pmap_clnt.h: Likewise.
9184 * include/rpc/pmap_prot.h: Likewise.
9185 * include/rpc/pmap_rmt.h: Likewise.
9186 * include/rpc/rpc_msg.h: Likewise.
9187 * include/rpc/svc.h: Likewise.
9188 * include/rpc/svc_auth.h: Likewise.
9189 * include/rpc/xdr.h: Likewise.
9190 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9191 * nss/Makefile: Likewise.
9192 * sunrpc/Makefile: Don't install headers. Build library with normal
9193 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9194 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9195 for the compat linking library. Remove use of INTDEF/INTUSE.
9196 * sunrpc/auth_none.c: Likewise.
9197 * sunrpc/auth_unix.c: Likewise.
9198 * sunrpc/authdes_prot.c: Likewise.
9199 * sunrpc/authuxprot.c: Likewise.
9200 * sunrpc/clnt_gen.c: Likewise.
9201 * sunrpc/clnt_perr.c: Likewise.
9202 * sunrpc/clnt_raw.c: Likewise.
9203 * sunrpc/clnt_simp.c: Likewise.
9204 * sunrpc/clnt_tcp.c: Likewise.
9205 * sunrpc/clnt_udp.c: Likewise.
9206 * sunrpc/clnt_unix.c: Likewise.
9207 * sunrpc/des_crypt.c: Likewise.
9208 * sunrpc/des_soft.c: Likewise.
9209 * sunrpc/get_myaddr.c: Likewise.
9210 * sunrpc/key_call.c: Likewise.
9211 * sunrpc/key_prot.c: Likewise.
9212 * sunrpc/netname.c: Likewise.
9213 * sunrpc/pm_getmaps.c: Likewise.
9214 * sunrpc/pm_getport.c: Likewise.
9215 * sunrpc/pmap_clnt.c: Likewise.
9216 * sunrpc/pmap_prot.c: Likewise.
9217 * sunrpc/pmap_prot2.c: Likewise.
9218 * sunrpc/pmap_rmt.c: Likewise.
9219 * sunrpc/publickey.c: Likewise.
9220 * sunrpc/rpc_cmsg.c: Likewise.
9221 * sunrpc/rpc_common.c: Likewise.
9222 * sunrpc/rpc_dtable.c: Likewise.
9223 * sunrpc/rpc_prot.c: Likewise.
9224 * sunrpc/rpc_thread.c: Likewise.
9225 * sunrpc/rtime.c: Likewise.
9226 * sunrpc/svc.c: Likewise.
9227 * sunrpc/svc_auth.c: Likewise.
9228 * sunrpc/svc_authux.c: Likewise.
9229 * sunrpc/svc_raw.c: Likewise.
9230 * sunrpc/svc_run.c: Likewise.
9231 * sunrpc/svc_simple.c: Likewise.
9232 * sunrpc/svc_tcp.c: Likewise.
9233 * sunrpc/svc_udp.c: Likewise.
9234 * sunrpc/svc_unix.c: Likewise.
9235 * sunrpc/svcauth_des.c: Likewise.
9236 * sunrpc/xcrypt.c: Likewise.
9237 * sunrpc/xdr.c: Likewise.
9238 * sunrpc/xdr_array.c: Likewise.
9239 * sunrpc/xdr_float.c: Likewise.
9240 * sunrpc/xdr_intXX_t.c: Likewise.
9241 * sunrpc/xdr_mem.c: Likewise.
9242 * sunrpc/xdr_rec.c: Likewise.
9243 * sunrpc/xdr_ref.c: Likewise.
9244 * sunrpc/xdr_sizeof.c: Likewise.
9245 * sunrpc/xdr_stdio.c: Likewise.
9246
9247 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9248
9249 [BZ #12650]
9250 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9251 * sysdeps/ia64/dl-tls.h: Likewise.
9252 * sysdeps/powerpc/dl-tls.h: Likewise.
9253 * sysdeps/s390/dl-tls.h: Likewise.
9254 * sysdeps/sh/dl-tls.h: Likewise.
9255 * sysdeps/sparc/dl-tls.h: Likewise.
9256 * sysdeps/x86_64/dl-tls.h: Likewise.
9257 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9258
9259 2011-03-14 Andreas Schwab <schwab@redhat.com>
9260
9261 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9262 rpath element also skip the following colon.
9263 (expand_dynamic_string_token): Add is_path parameter and pass
9264 down to DL_DST_REQUIRED and _dl_dst_substitute.
9265 (decompose_rpath): Call expand_dynamic_string_token with
9266 non-zero is_path. Ignore empty rpaths.
9267 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9268 with zero is_path.
9269
9270 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9271
9272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9273 Make cancelable.
9274
9275 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9276
9277 [BZ #12655]
9278 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9279 Patch by Filipe David Manana <fdmanana@apache.org>.
9280
9281 2011-04-07 Andreas Schwab <schwab@redhat.com>
9282
9283 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9284 Maintain aligned stack.
9285 (CHECK_RSP): Remove unused macro.
9286
9287 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9288
9289 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9290 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9291
9292 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9293
9294 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9295
9296 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9297
9298 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9299
9300 [BZ #12518]
9301 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9302 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9303 * sysdeps/x86_64/memmove.c: New file.
9304 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9305 (memcpy): Renamed to ...
9306 (__new_memcpy): This.
9307 (memcpy): Provide GLIBC_2_14 memcpy.
9308 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9309 (memcpy): Provide GLIBC_2_2_5 memcpy.
9310
9311 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9312
9313 [BZ #12631]
9314 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9315
9316 2011-03-30 Andreas Schwab <schwab@redhat.com>
9317
9318 * misc/syncfs.c: New file.
9319 * misc/Makefile (routines): Add syncfs.
9320 * posix/unistd.h: Declare syncfs.
9321 * sysdeps/unix/syscalls.list: Add syncfs.
9322
9323 2011-04-01 Andreas Schwab <schwab@redhat.com>
9324
9325 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9326 open_by_handle_at.
9327 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9328 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9329 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9330 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9331 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9332 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9333 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9334
9335 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9336
9337 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9338 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9339 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9340 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9341 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9342 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9343 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9344
9345 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9346 sync_file_range.c with -fexceptions.
9347 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9348 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9349 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9350 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9351 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9352 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9353 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9354 sync_file_range as cancellation point
9355 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9356 now a wrapper around __call_sync_file_range with cancellation handling.
9357 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9358 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9359 function name to __call_sync_file_range.
9360 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9361 Add call_sync_file_range.
9362
9363 2011-04-01 Andreas Schwab <schwab@redhat.com>
9364
9365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9366 bits/timex.h.
9367
9368 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9369
9370 * iconv/iconv.h: Fix typo in comment.
9371 * io/fcntl.h: Likewise.
9372 * libio/stdio.h: Likewise.
9373 * posix/spawn.h: Likewise.
9374 * posix/unistd.h: Likewise.
9375 * stdlib/stdlib.h: Likewise.
9376 * time/time.h: Likewise.
9377 * wcsmbs/wchar.h: Likewise.
9378
9379 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9380 open_by_handle): Add.
9381 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9382 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9383 Augment a few comments.
9384 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9385 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9386 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9387 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9388 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9389 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9390 open_by_handle.
9391
9392 * io/fcntl.h (AT_EMPTY_PATH): Define.
9393
9394 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9395
9396 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9397 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9398 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9399 to...
9400 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9401 * Versions.def: Add GLIBC_2.14.
9402 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9403 Export.
9404
9405 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9406
9407 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9408 round counter.
9409 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9410
9411 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9412
9413 [BZ #12597]
9414 * string/test-strncmp.c (do_page_test): New function.
9415 (check2): Likewise.
9416 (test_main): Call check2.
9417 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9418
9419 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9420
9421 [BZ #12587]
9422 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9423 Handle cache information in CPU leaf 4.
9424 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9425
9426 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9427
9428 [BZ #12583]
9429 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9430 character representation.
9431 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9432
9433 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9434
9435 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9436 END(__isnan) to END(__isnanf) to match function entry point/label
9437 EALIGN(__isnanf,...).
9438
9439 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9440
9441 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9442
9443 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9444
9445 [BZ #12510]
9446 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9447 copy from the symbol referenced in the relocation to initialize the
9448 used variable.
9449 Patch by Piotr Bury <pbury@goahead.com>.
9450 * elf/Makefile: Add rules to build and tst-unique3.
9451 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9452 * elf/tst-unique3.cc: New file.
9453 * elf/tst-unique3.h: New file.
9454 * elf/tst-unique3lib.cc: New file.
9455 * elf/tst-unique3lib2.cc: New file.
9456
9457 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9458
9459 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9460
9461 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9462 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9463 to _start.
9464
9465 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9466
9467 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9468 to-be-loaded object along a path to loader is ld.so.
9469
9470 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9471 Ulrich Drepper <drepper@gmail.com>
9472
9473 * sysdeps/x86_64/memset.S: After aligning destination, code
9474 branches to different locations depending on the value of
9475 misalignment, when multiarch is enabled. Fix this.
9476
9477 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9478
9479 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9480 Set _x86_64_preferred_memory_instruction for AMD processsors.
9481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9482 Set bit_Prefer_SSE_for_memop for AMD processors.
9483
9484 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9485
9486 * libio/fmemopen.c (fmemopen): Optimize a bit.
9487
9488 2011-03-03 Andreas Schwab <schwab@redhat.com>
9489
9490 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9491
9492 2011-03-03 Roland McGrath <roland@redhat.com>
9493
9494 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9495
9496 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9497
9498 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9499 __bzero_ultra1 instead of __memset_ultra1.
9500
9501 2011-02-23 Andreas Schwab <schwab@redhat.com>
9502 Ulrich Drepper <drepper@gmail.com>
9503
9504 [BZ #12509]
9505 * include/link.h (struct link_map): Add l_orig_initfini.
9506 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9507 returning unsuccessfully.
9508 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9509 close of a file loaded at startup, restore the original l_initfini
9510 list.
9511 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9512 list, store the pointer.
9513 * elf/Makefile ($(objpfx)noload-mem): New rule.
9514 (noload-ENV): Define.
9515 (tests): Add $(objpfx)noload-mem.
9516 * elf/noload.c: Include <memcheck.h>.
9517 (main): Call mtrace. Close all opened handles.
9518
9519 2011-02-17 Andreas Schwab <schwab@redhat.com>
9520
9521 [BZ #12454]
9522 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9523 dependencies are missing.
9524
9525 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9526
9527 Fix __if_freereq crash: Unlike the generic version which uses free,
9528 Hurd needs munmap.
9529 * sysdeps/mach/hurd/ifreq.h: New file.
9530
9531 2011-01-27 Petr Baudis <pasky@suse.cz>
9532 Ulrich Drepper <drepper@gmail.com>
9533
9534 [BZ 12445]#
9535 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9536 to extend_alloca().
9537 * stdio-common/bug23.c: New file.
9538 * stdio-common/Makefile (tests): Add bug23.
9539
9540 2010-09-28 Andreas Schwab <schwab@redhat.com>
9541 Ulrich Drepper <drepper@gmail.com>
9542
9543 [BZ #12489]
9544 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9545 before performing relro protection. At old place add assertion
9546 to make sure nothing changed.
9547
9548 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9549 Glauber de Oliveira Costa <glommer@gmail.com>
9550
9551 * elf/elf.h: Add new ARM TLS relocs.
9552
9553 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9554
9555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9556 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9557 cast from r3.
9558 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9559 'tests' variable.
9560 * sysdeps/wordsize-64/tst-writev.c: New file.
9561
9562 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9563
9564 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9565 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9566 insns in _dl_start to prevent a TOC reference before relocs are
9567 resolved.
9568
9569 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9570
9571 [BZ #12469]
9572 * Makeconfig: Remove RANLIB definition.
9573 * Makerules: Don't use RANLIB.
9574 * aclocal.m4: Remove ranlib test.
9575 * configure.in: No need to check for ranlib.
9576 * elf/rtld-Rules: Don't use RANLIB.
9577
9578 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9579
9580 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9581 protection macro.
9582 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9583 inclusion protection macro.
9584
9585 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9586 SIGRTMIN and SIGRTMAX and print information in that case only when
9587 SIGRTMIN is defined.
9588
9589 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9590
9591 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9592 arginfo fn returning -1.
9593
9594 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9595 and thousands string is zero terminated.
9596
9597 2011-02-03 Andreas Schwab <schwab@redhat.com>
9598
9599 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9600 sysdeps/unix/sysv/linux/bits/socket.h.
9601
9602 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9603
9604 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9605 (__CPU_COUNT): Remove old macros.
9606 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9607 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9608 (__CPU_ALLOC, __CPU_FREE): Add macros.
9609 (__sched_cpualloc, __sched_cpufree): Add declarations.
9610
9611 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9612
9613 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9614 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9615 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9616 (readdhstai): Return value of addhstaiX call.
9617 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9618 (addgrbyX): Return value returned by cache_addgr.
9619 (readdgrbyname): Return value returned by addgrbyX.
9620 (readdgrbygid): Likewise.
9621 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9622 (addpwbyX): Return value returned by cache_addpw.
9623 (readdpwbyname): Return value returned by addhstbyX.
9624 (readdpwbyuid): Likewise.
9625 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9626 (addservbyX): Return value returned by cache_addserv.
9627 (readdservbyname): Return value returned by addservbyX:
9628 (readdservbyport): Likewise.
9629 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9630 (addhstbyX): Return value returned by cache_addhst.
9631 (readdhstbyname): Return value returned by addhstbyX.
9632 (readdhstbyaddr): Likewise.
9633 (readdhstbynamev6): Likewise.
9634 (readdhstbyaddrv6): Likewise.
9635 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9636 (readdinitgroups): Return value returned by addinitgroupsX.
9637 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9638 (prune_cache): Keep track of timeout value of re-added entries.
9639 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9640 * nscd/nscd.h: Adjust prototypes of readd* functions.
9641
9642 2011-02-04 Roland McGrath <roland@redhat.com>
9643
9644 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9645 (nis_stats): Likewise.
9646 * nis/nis_modify.c (nis_modify): Likewise.
9647 * nis/nis_remove.c (nis_remove): Likewise.
9648 * nis/nis_add.c (nis_add): Likewise.
9649
9650 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9651
9652 * posix/fnmatch_loop.c: Add some consts.
9653
9654 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9655
9656 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9657
9658 [BZ #12460]
9659 * config.make.in (config-cflags-novzeroupper): Define.
9660 * configure.in: Substitute libc_cv_cc_novzeroupper.
9661 * elf/Makefile (AVX-CFLAGS): Define.
9662 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9663 (CFLAGS-tst-auditmod4a.c): Likewise.
9664 (CFLAGS-tst-auditmod4b.c): Likewise.
9665 (CFLAGS-tst-auditmod6b.c): Likewise.
9666 (CFLAGS-tst-auditmod6c.c): Likewise.
9667 (CFLAGS-tst-auditmod7b.c): Likewise.
9668 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9669
9670 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9671
9672 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9673 function to the callback.
9674 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9675
9676 2011-02-02 Andreas Schwab <schwab@redhat.com>
9677
9678 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9679 of errno.
9680
9681 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9682
9683 [BZ #11724]
9684 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9685 of constructors.
9686 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9687 of destructors.
9688 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9689
9690 [BZ #11724]
9691 * elf/Makefile: Add rules to build and run new test.
9692 * elf/tst-initorder.c: New file.
9693 * elf/tst-initorder.exp: New file.
9694 * elf/tst-initordera1.c: New file.
9695 * elf/tst-initordera2.c: New file.
9696 * elf/tst-initordera3.c: New file.
9697 * elf/tst-initordera4.c: New file.
9698 * elf/tst-initorderb1.c: New file.
9699 * elf/tst-initorderb2.c: New file.
9700 * elf/tst-order-a1.c: New file.
9701 * elf/tst-order-a2.c: New file.
9702 * elf/tst-order-a3.c: New file.
9703 * elf/tst-order-a4.c: New file.
9704 * elf/tst-order-b1.c: New file.
9705 * elf/tst-order-b2.c: New file.
9706 * elf/tst-order-main.c: New file.
9707 New test case by George Gensure <werkt0@gmail.com>.
9708
9709 2010-10-01 Andreas Schwab <schwab@redhat.com>
9710
9711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9712 decoding ACE if AI_CANONIDN.
9713
9714 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9715
9716 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9717
9718 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9719
9720 * version.h (RELEASE): Bump for 2.13 release.
9721 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9722
9723 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9724
9725 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9726 MADV_NOHUGEPAGE.
9727 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9728 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9729 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9730 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9731 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9732 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9733
9734 * posix/getconf.c: Update copyright year.
9735 * catgets/gencat.c: Likewise.
9736 * csu/version.c: Likewise.
9737 * debug/catchsegv.sh: Likewise.
9738 * debug/xtrace.sh: Likewise.
9739 * elf/ldconfig.c: Likewise.
9740 * elf/ldd.bash.in: Likewise.
9741 * elf/sprof.c (print_version): Likewise.
9742 * iconv/iconv_prog.c: Likewise.
9743 * iconv/iconvconfig.c: Likewise.
9744 * locale/programs/locale.c: Likewise.
9745 * locale/programs/localedef.c: Likewise.
9746 * malloc/memusage.sh: Likewise.
9747 * malloc/mtrace.pl: Likewise.
9748 * nscd/nscd.c (print_version): Likewise.
9749 * nss/getent.c: Likewise.
9750
9751 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9752 PF_CAIF, and PF_ALG.
9753 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9754
9755 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9756
9757 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9758 (modules-names): Use them.
9759 (ifunc-test-modules, ifunc-pie-tests): Define.
9760 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9761 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9762 (test-extras): Likewise.
9763 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9764 $(compile-command.c).
9765 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9766 (all-built-dso): Define.
9767 (check-textrel.out, check-execstack.out): Depend on it.
9768
9769 * configure.in: Don't override --enable-multi-arch.
9770
9771 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9772
9773 [BZ #6812]
9774 * nscd/hstcache.c (tryagain): Define.
9775 (cache_addhst): Return tryagain not notfound for temporary errors.
9776 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9777 failed.
9778
9779 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9780
9781 [BZ #10563]
9782 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9783 to make the syscall.
9784 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9785
9786 [BZ #12378]
9787 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9788 and fall back to matching as normal character if the string ends before
9789 the matching ']' is found. This is what POSIX requires.
9790 * posix/testfnm.c: Adjust test result.
9791 * posix/globtest.sh: Adjust test result. Add new test.
9792 * posix/tst-fnmatch.input: Likewise.
9793 * posix/tst-fnmatch2.c: Add new test.
9794
9795 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9796
9797 * elf/Makefile (check-execstack): Revert last change. Depend on
9798 check-execstack.h.
9799 (check-execstack.h): New target.
9800 (generated): Add check-execstack.h.
9801 * elf/check-execstack.c: Include "check-execstack.h".
9802 (main): Revert last change.
9803 (handle_file): Return zero if GNU_STACK is absent and
9804 DEFAULT_STACK_PERMS doesn't include PF_X.
9805
9806 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9807
9808 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9809 in child fails because the descriptor is already closed.
9810 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9811 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9812 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9813
9814 [BZ #12397]
9815 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9816 syscall.
9817
9818 [BZ #10484]
9819 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9820 temporary buffer used to handle multi lookups locally.
9821 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9822
9823 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9824
9825 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9826 loader is ld.so.
9827
9828 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9829
9830 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9831 alignment for SSE2.
9832
9833 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9834
9835 [BZ #12394]
9836 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9837 characters. When rounding increased number of integer digits recompute
9838 number of groups.
9839 * stdio-common/tst-grouping.c: New file.
9840 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9841
9842 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9843
9844 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9845 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9846
9847 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9848 void.
9849 * bits/select.h: Likewise.
9850
9851 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9852
9853 * po/ja.po: Update from translation team.
9854
9855 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9856
9857 [BZ #11155]
9858 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9859 implementation just like for lxstat, fxstatat, et al.
9860
9861 2010-12-27 Jim Meyering <meyering@redhat.com>
9862
9863 [BZ #12348]
9864 * posix/regexec.c (build_trtable): Return failure indication upon
9865 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9866
9867 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9868
9869 [BZ #12201]
9870 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9871 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9872 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9873 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9874
9875 [BZ #12207]
9876 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9877
9878 [BZ #12204]
9879 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9880 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9881
9882 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9883
9884 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9885 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9886 script has SORT_BY_INIT_PRIORITY.
9887 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9888 NO_CTORS_DTORS_SECTIONS is defined.
9889 * elf/soinit.c: Likewise.
9890 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9891 NO_CTORS_DTORS_SECTIONS is defined.
9892 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9893 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9894 * sysdeps/sh/init-first.c: Likewise.
9895 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9896
9897 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9898
9899 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9900 always use the slow path.
9901
9902 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9903
9904 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9905 similar rule which adds the sysdep directories to the header search in
9906 order to pick up the correct platform stackinfo.h.
9907 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9908 perform test if it is, otherwise return successfully without testing.
9909 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9910 DEFAULT_STACK_PERMS define in stackinfo.h.
9911 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9912 defined in stackinfo.h.
9913 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9914 DEFAULT_STACK_PERMS defined in stackinfo.h.
9915 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9916 * sysdeps/ia64/stackinfo.h: Likewise.
9917 * sysdeps/s390/stackinfo.h: Likewise.
9918 * sysdeps/sh/stackinfo.h: Likewise.
9919 * sysdeps/sparc/stackinfo.h: Likewise.
9920 * sysdeps/x86_64/stackinfo.h: Likewise.
9921 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9922 PF_X for powerpc64. Retain PF_X for powerpc32.
9923
9924 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9925
9926 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9927 accurately.
9928 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9929 GETDENTS_64BIT_ALIGNED.
9930
9931 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9932
9933 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9934
9935 2010-12-10 Andreas Schwab <schwab@redhat.com>
9936
9937 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9938 _GNU_SOURCE.
9939
9940 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9941 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9942 Remove __restrict.
9943 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9944 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9945
9946 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9947
9948 [BZ #11655]
9949 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9950 are initialized.
9951
9952 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9953
9954 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9955
9956 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9957
9958 * po/it.po: Update from translation team.
9959
9960 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9961
9962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9963 unused codes.
9964
9965 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9966
9967 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9968
9969 2010-11-24 Andreas Schwab <schwab@redhat.com>
9970
9971 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9972 specially.
9973 (gaih_getanswer_slice): Likewise.
9974
9975 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9976
9977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9978
9979 2010-05-31 Petr Baudis <pasky@suse.cz>
9980
9981 [BZ #11149]
9982 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9983 silently even in the chroot mode.
9984
9985 2010-11-22 Ulrich Drepper <drepper@gmail.com>
9986
9987 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9988 last patch a bit. Pretty printing
9989
9990 2010-05-31 Petr Baudis <pasky@suse.cz>
9991
9992 [BZ #10085]
9993 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9994 initialization of skip_initgroups_dyn.
9995
9996 2010-11-19 Ulrich Drepper <drepper@gmail.com>
9997
9998 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9999 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10000
10001 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10002
10003 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10004
10005 2010-11-11 Andreas Schwab <schwab@redhat.com>
10006
10007 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10008 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10009 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10010 ($(objpfx)tst-fnmatch-mem): New rule.
10011 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10012 * posix/tst-fnmatch.c (main): Call mtrace.
10013
10014 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10015
10016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10017 Support Intel processor model 6 and model 0x2c.
10018
10019 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10020
10021 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10022 signed comparison.
10023
10024 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10025
10026 [BZ #12205]
10027 * string/test-strncasecmp.c (check_result): New function.
10028 (do_one_test): Use it.
10029 (check1): New function.
10030 (test_main): Use it.
10031 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10032 Support strcasecmp and strncasecmp.
10033
10034 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10035
10036 [BZ #12194]
10037 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10038 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10039
10040 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10041
10042 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10043 IFUNC support.
10044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10045 memset-x86-64.
10046 * sysdeps/x86_64/multiarch/bzero.S: New file.
10047 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10048 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10049 * sysdeps/x86_64/multiarch/memset.S: New file.
10050 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10052 Set bit_Prefer_SSE_for_memop for Intel processors.
10053 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10054 Define.
10055 (index_Prefer_SSE_for_memop): Define.
10056 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10057
10058 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10059
10060 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10061 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10062
10063 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10064
10065 [BZ #12191]
10066 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10067 (__x86_64_raw_data_cache_size_half): Likewise.
10068 (__x86_64_raw_shared_cache_size): Likewise.
10069 (__x86_64_raw_shared_cache_size_half): Likewise.
10070
10071 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10072 (__x86_64_raw_data_cache_size_half): Likewise.
10073 (__x86_64_raw_shared_cache_size): Likewise.
10074 (__x86_64_raw_shared_cache_size_half): Likewise.
10075 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10076 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10077 and __x86_64_raw_shared_cache_size_half. Round
10078 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10079 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10080 to multiple of 256 bytes.
10081
10082 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10083
10084 [BZ #12167]
10085 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10086 of inacessible symlinks. Verify result of symlink before returning it.
10087 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10088 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10089
10090 2010-10-28 Erich Ritz <erichritz@gmail.com>
10091
10092 * math/math.h (isinf): Fix typo in comment.
10093
10094 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10095
10096 * po/da.po: Update from translation team.
10097
10098 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10099
10100 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10101 is added to the list.
10102
10103 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10104 Ulrich Drepper <drepper@gmail.com>
10105
10106 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10107 the global list here. Move code to...
10108 (_dl_add_to_namespace_list): ...here. New function.
10109 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10110 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10111 * elf/dl-load.c (lose): Don't remove the element from the list.
10112 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10113 (_dl_map_object): Likewise.
10114
10115 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10116
10117 [BZ #12159]
10118 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10119 into all bytes of SSE register.
10120 Patch by Richard Li <richardpku@gmail.com>.
10121
10122 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10123
10124 [BZ #12140]
10125 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10126 perturbing.
10127
10128 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10129
10130 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10131 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10132 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10133 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10135 submachine.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10137
10138 2010-10-22 Andreas Schwab <schwab@redhat.com>
10139
10140 * include/dlfcn.h (__RTLD_SECURE): Define.
10141 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10142 mode & __RTLD_SECURE instead.
10143 (open_path): Rename preloaded parameter to secure.
10144 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10145 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10146 * elf/dl-deps.c (openaux): Likewise.
10147 * elf/rtld.c (struct map_args): Remove is_preloaded.
10148 (map_doit): Don't use it.
10149 (dl_main): Likewise.
10150 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10151 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10152
10153 2010-09-09 Andreas Schwab <schwab@redhat.com>
10154
10155 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10156 (sysd-rules-targets): Remove duplicates.
10157 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10158 rtld-%.$o dependency.
10159
10160 2010-10-18 Andreas Schwab <schwab@redhat.com>
10161
10162 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10163 _dl_map_object do it.
10164
10165 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10166
10167 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10168 fast fma builtins, define the macros in the C99 standard.
10169 (FP_FAST_FMAF): Likewise.
10170 (FP_FAST_FMAL): Likewise.
10171 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10172
10173 * bits/mathdef.h: Update copyright year.
10174 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10175
10176 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10177
10178 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10179 builtins, define the macros in the C99 standard.
10180 (FP_FAST_FMAF): Likewise.
10181 (FP_FAST_FMAL): Likewise.
10182 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10183 multiply/add.
10184 (FP_FAST_FMAF): Likewise.
10185
10186 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10187
10188 [BZ #3268]
10189 * math/libm-test.inc (fma_test): Some new testcases.
10190 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10191 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10192 y and infinite z. Do multiplication by C already in long double.
10193 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10194 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10195 y and infinite z. Do bitwise or of inexact bit into u.d.
10196 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10197 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10198 * sysdeps/i386/fpu/s_fma.S: Removed.
10199 * sysdeps/i386/fpu/s_fmal.S: Removed.
10200
10201 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10202
10203 [BZ #3268]
10204 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10205 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10206 computation is not scheduled after fetestexcept. Fix value
10207 of minimum denormal long double.
10208
10209 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10210
10211 [BZ #3268]
10212 * math/libm-test.inc (fma_test): Add some more tests.
10213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10214 correctly.
10215
10216 2010-10-15 Andreas Schwab <schwab@redhat.com>
10217
10218 * scripts/data/localplt-s390-linux-gnu.data: New file.
10219 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10220
10221 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10222
10223 [BZ #3268]
10224 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10225 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10226 instead of dbl-64.
10227 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10228 inlines.
10229 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10231 if one of x and y is very large and the other is subnormal.
10232 * sysdeps/s390/fpu/s_fmaf.c: New file.
10233 * sysdeps/s390/fpu/s_fma.c: New file.
10234 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10235 * sysdeps/powerpc/fpu/s_fma.S: New file.
10236 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10237 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10238 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10239
10240 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10241
10242 [BZ #3268]
10243 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10244 fma tests.
10245 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10246 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10247 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10248 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10249 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10250 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10251 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10252
10253 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10254
10255 [BZ #12078]
10256 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10257 * posix/bug-regex31.input: Add test case.
10258
10259 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10260
10261 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10262 * posix/bug-regex31.input: New file.
10263
10264 [BZ #12078]
10265 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10266 (parse_sub_exp): Fix last change, use postorder.
10267
10268 * posix/bug-regex31.c: New file.
10269 * posix/Makefile: Add rules to build and run bug-regex31.
10270
10271 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10272
10273 [BZ #12078]
10274 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10275
10276 [BZ #12108]
10277 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10278 to have entries in sys_siglist.
10279
10280 [BZ #12093]
10281 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10282 be NULL.
10283
10284 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10285
10286 [BZ #3268]
10287 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10288 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10289 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10290 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10291 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10292 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10293 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10294 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10295 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10296 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10297 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10298 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10299 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10300 * math/ftestexcept.c (fetestexcept): Likewise.
10301 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10302 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10303 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10304 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10305 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10306 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10307 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10308
10309 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10310
10311 [BZ #12107]
10312 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10313 newline.
10314
10315 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10316
10317 * string/bug-strstr1.c: New file.
10318 * string/Makefile: Add rules to build and run bug-strstr1.
10319
10320 2010-10-05 Eric Blake <eblake@redhat.com>
10321
10322 [BZ #12092]
10323 * string/str-two-way.h (two_way_long_needle): Always clear memory
10324 when skipping input due to the shift table.
10325
10326 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10327
10328 [BZ #12005]
10329 * malloc/mcheck.c: Handle large requests.
10330
10331 [BZ #12077]
10332 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10333 for strncmp and strncasecmp.
10334 * string/stratcliff.c: Add tests for strcmp and strncmp.
10335 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10336
10337 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10338
10339 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10340 __set_fpscr.
10341
10342 2010-09-30 Andreas Jaeger <aj@suse.de>
10343
10344 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10345 (CGROUP_SUPER_MAGIC): Define.
10346 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10347 Handle btrfs and cgroup file systems.
10348 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10349 Likewise.
10350
10351 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10352
10353 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10354 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10355
10356 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10357
10358 [BZ #12067]
10359 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10360 trying to locate the ELF header.
10361
10362 2010-09-27 Andreas Schwab <schwab@redhat.com>
10363
10364 [BZ #11611]
10365 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10366 Mask out sign-bit copies when constructing f_fsid.
10367
10368 2010-09-24 Petr Baudis <pasky@suse.cz>
10369
10370 * debug/stack_chk_fail_local.c: Add missing licence exception.
10371 * debug/warning-nop.c: Likewise.
10372
10373 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10374
10375 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10376 implementing getdents64 using getdents syscall, set d_type if
10377 __ASSUME_GETDENTS32_D_TYPE.
10378
10379 2010-09-16 Andreas Schwab <schwab@redhat.com>
10380
10381 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10382 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10383
10384 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10385
10386 [BZ #12037]
10387 * posix/unistd.h: Undo change of feature selection for ftruncate from
10388 2010-01-11.
10389
10390 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10391
10392 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10393 detection.
10394
10395 2010-09-20 Andreas Schwab <schwab@redhat.com>
10396
10397 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10398 fanotify_mark.
10399 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10400
10401 2010-09-14 Andreas Schwab <schwab@redhat.com>
10402
10403 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10404 variables after CHECK_SP call.
10405 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10406
10407 2010-09-13 Andreas Schwab <schwab@redhat.com>
10408 Ulrich Drepper <drepper@redhat.com>
10409
10410 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10411 re-relocationg ld.so.
10412 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10413 _dl_init_paths call.
10414 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10415 here anymore.
10416
10417 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10418
10419 * resolv/res_init.c (__res_vinit): Count the default server we added.
10420
10421 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10422 Ulrich Drepper <drepper@redhat.com>
10423
10424 [BZ #11968]
10425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10426 (____longjmp_chk): Use %ebx for saving value across system call.
10427 Add unwind info.
10428
10429 2010-09-06 Andreas Schwab <schwab@redhat.com>
10430
10431 * manual/Makefile: Don't mix pattern rules with normal rules.
10432
10433 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10434
10435 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10436 operation.
10437 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10438 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10439 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10440 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10441 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10442 Likewise.
10443
10444 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10445
10446 [BZ #11979]
10447 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10448 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10449
10450 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10451
10452 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10453 * sysdeps/x86_64/addmul_1.S: Likewise.
10454 * sysdeps/x86_64/lshift.S: Likewise.
10455 * sysdeps/x86_64/mul_1.S: Likewise.
10456 * sysdeps/x86_64/rshift.S: Likewise.
10457 * sysdeps/x86_64/sub_n.S: Likewise.
10458 * sysdeps/x86_64/submul_1.S: Likewise.
10459
10460 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10461
10462 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10463 Define __sched_param instead of SCHED_* and sched_param when
10464 <bits/sched.h> is included with __need_schedparam defined.
10465 * bits/sched.h [__need_schedparam]
10466 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10467 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10468 (__defined_schedparam): Define to 1.
10469 (__sched_param): New structure, identical to sched_param.
10470 (__need_schedparam): Undefine.
10471
10472 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10473
10474 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10475 (epoll_create1): Declare.
10476
10477 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10478
10479 2010-08-31 Andreas Schwab <schwab@redhat.com>
10480
10481 [BZ #7066]
10482 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10483 shifting retval into place.
10484
10485 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10486
10487 * nis/rpcsvc/nis.h: Update copyright notice.
10488 * nis/rpcsvc/nis.x: Likewise.
10489 * nis/rpcsvc/nis_callback.h: Likewise.
10490 * nis/rpcsvc/nis_callback.x: Likewise.
10491 * nis/rpcsvc/nis_object.x: Likewise.
10492 * nis/rpcsvc/nis_tags.h: Likewise.
10493 * nis/rpcsvc/yp.h: Likewise.
10494 * nis/rpcsvc/yp.x: Likewise.
10495 * nis/rpcsvc/ypupd.h: Likewise.
10496 * nis/yp_xdr.c: Likewise.
10497 * nis/ypupdate_xdr.c: Likewise.
10498
10499 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10500 mainly the body of pmap_getport. Add parameters to specify timeouts.
10501 (pmap_getport): Use __libc_rpc_getport.
10502 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10503 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10504 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10505
10506 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10507
10508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10509 fanotify_mark.
10510
10511 2010-08-27 Roland McGrath <roland@redhat.com>
10512
10513 * sysdeps/i386/i686/multiarch/Makefile
10514 (CFLAGS-varshift.c): New variable.
10515
10516 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10517
10518 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10519 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10520
10521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10522
10523 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10524
10525 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10526
10527 * sysdeps/x86_64/strlen.S: Unroll the loop.
10528 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10529 strlen-sse2 strlen-sse2-bsf.
10530 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10531 __strlen_no_bsf if bit_Slow_BSF is set.
10532 (__strlen_sse42): Removed.
10533 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10534 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10535
10536 2010-08-25 Roland McGrath <roland@redhat.com>
10537
10538 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10539 * sysdeps/x86_64/multiarch/varshift.c: New file.
10540 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10541 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10542 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10543 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10544
10545 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10546
10547 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10548 strlen-sse2 strlen-sse2-bsf.
10549 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10550 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10551 (__strlen_sse2): Removed.
10552 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10553 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10555 bit_Slow_BSF for Atom.
10556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10557 (index_Slow_BSF): Define.
10558 (HAS_SLOW_BSF): Define.
10559
10560 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10561
10562 [BZ #10851]
10563 * resolv/res_init.c (__res_vinit): When no server address at all
10564 is given default to loopback.
10565
10566 2010-08-24 Roland McGrath <roland@redhat.com>
10567
10568 * configure.in: Remove config-name.h generation.
10569 * configure: Regenerated.
10570 * config-name.in: File removed.
10571 * scripts/config-uname.sh: New file.
10572 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10573 ($(objdir)config-name.h): New target.
10574
10575 * sunrpc/rpc_parse.h: Avoid nested comment.
10576
10577 2010-08-24 Richard Henderson <rth@redhat.com>
10578 Ulrich Drepper <drepper@redhat.com>
10579 H.J. Lu <hongjiu.lu@intel.com>
10580
10581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10583 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10584 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10585 _mm_alignr_epi8 with _mm_loadu_si128.
10586 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10587 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10588 (__m128i_shift_right): Removed.
10589 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10590 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10591 * sysdeps/x86_64/multiarch/varshift.h: New file.
10592 * sysdeps/x86_64/multiarch/varshift.S: New file.
10593
10594 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10595
10596 * configure.in: Move assembler checks to before sysdep dir checking.
10597
10598 2010-08-20 Petr Baudis <pasky@suse.cz>
10599
10600 * LICENSES: Sync the sunrpc license.
10601
10602 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10603
10604 * sunrpc/auth_des.c: Update copyright notice once again.
10605 * sunrpc/auth_none.c: Likewise.
10606 * sunrpc/auth_unix.c: Likewise.
10607 * sunrpc/authdes_prot.c: Likewise.
10608 * sunrpc/authuxprot.c: Likewise.
10609 * sunrpc/bindrsvprt.c: Likewise.
10610 * sunrpc/clnt_gen.c: Likewise.
10611 * sunrpc/clnt_perr.c: Likewise.
10612 * sunrpc/clnt_raw.c: Likewise.
10613 * sunrpc/clnt_simp.c: Likewise.
10614 * sunrpc/clnt_tcp.c: Likewise.
10615 * sunrpc/clnt_udp.c: Likewise.
10616 * sunrpc/clnt_unix.c: Likewise.
10617 * sunrpc/des_crypt.c: Likewise.
10618 * sunrpc/des_soft.c: Likewise.
10619 * sunrpc/get_myaddr.c: Likewise.
10620 * sunrpc/getrpcport.c: Likewise.
10621 * sunrpc/key_call.c: Likewise.
10622 * sunrpc/key_prot.c: Likewise.
10623 * sunrpc/openchild.c: Likewise.
10624 * sunrpc/pm_getmaps.c: Likewise.
10625 * sunrpc/pm_getport.c: Likewise.
10626 * sunrpc/pmap_clnt.c: Likewise.
10627 * sunrpc/pmap_prot.c: Likewise.
10628 * sunrpc/pmap_prot2.c: Likewise.
10629 * sunrpc/pmap_rmt.c: Likewise.
10630 * sunrpc/rpc/auth.h: Likewise.
10631 * sunrpc/rpc/auth_unix.h: Likewise.
10632 * sunrpc/rpc/clnt.h: Likewise.
10633 * sunrpc/rpc/des_crypt.h: Likewise.
10634 * sunrpc/rpc/key_prot.h: Likewise.
10635 * sunrpc/rpc/netdb.h: Likewise.
10636 * sunrpc/rpc/pmap_clnt.h: Likewise.
10637 * sunrpc/rpc/pmap_prot.h: Likewise.
10638 * sunrpc/rpc/pmap_rmt.h: Likewise.
10639 * sunrpc/rpc/rpc.h: Likewise.
10640 * sunrpc/rpc/rpc_des.h: Likewise.
10641 * sunrpc/rpc/rpc_msg.h: Likewise.
10642 * sunrpc/rpc/svc.h: Likewise.
10643 * sunrpc/rpc/svc_auth.h: Likewise.
10644 * sunrpc/rpc/types.h: Likewise.
10645 * sunrpc/rpc/xdr.h: Likewise.
10646 * sunrpc/rpc_clntout.c: Likewise.
10647 * sunrpc/rpc_cmsg.c: Likewise.
10648 * sunrpc/rpc_common.c: Likewise.
10649 * sunrpc/rpc_cout.c: Likewise.
10650 * sunrpc/rpc_dtable.c: Likewise.
10651 * sunrpc/rpc_hout.c: Likewise.
10652 * sunrpc/rpc_main.c: Likewise.
10653 * sunrpc/rpc_parse.c: Likewise.
10654 * sunrpc/rpc_parse.h: Likewise.
10655 * sunrpc/rpc_prot.c: Likewise.
10656 * sunrpc/rpc_sample.c: Likewise.
10657 * sunrpc/rpc_scan.c: Likewise.
10658 * sunrpc/rpc_scan.h: Likewise.
10659 * sunrpc/rpc_svcout.c: Likewise.
10660 * sunrpc/rpc_tblout.c: Likewise.
10661 * sunrpc/rpc_util.c: Likewise.
10662 * sunrpc/rpc_util.h: Likewise.
10663 * sunrpc/rpcinfo.c: Likewise.
10664 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10665 * sunrpc/rpcsvc/key_prot.x: Likewise.
10666 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10667 * sunrpc/rpcsvc/mount.x: Likewise.
10668 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10669 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10670 * sunrpc/rpcsvc/rex.x: Likewise.
10671 * sunrpc/rpcsvc/rstat.x: Likewise.
10672 * sunrpc/rpcsvc/rusers.x: Likewise.
10673 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10674 * sunrpc/rpcsvc/spray.x: Likewise.
10675 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10676 * sunrpc/rtime.c: Likewise.
10677 * sunrpc/svc.c: Likewise.
10678 * sunrpc/svc_auth.c: Likewise.
10679 * sunrpc/svc_authux.c: Likewise.
10680 * sunrpc/svc_raw.c: Likewise.
10681 * sunrpc/svc_run.c: Likewise.
10682 * sunrpc/svc_simple.c: Likewise.
10683 * sunrpc/svc_tcp.c: Likewise.
10684 * sunrpc/svc_udp.c: Likewise.
10685 * sunrpc/svc_unix.c: Likewise.
10686 * sunrpc/svcauth_des.c: Likewise.
10687 * sunrpc/xcrypt.c: Likewise.
10688 * sunrpc/xdr.c: Likewise.
10689 * sunrpc/xdr_array.c: Likewise.
10690 * sunrpc/xdr_float.c: Likewise.
10691 * sunrpc/xdr_mem.c: Likewise.
10692 * sunrpc/xdr_rec.c: Likewise.
10693 * sunrpc/xdr_ref.c: Likewise.
10694 * sunrpc/xdr_sizeof.c: Likewise.
10695 * sunrpc/xdr_stdio.c: Likewise.
10696
10697 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10698 handling.
10699
10700 2010-08-19 Andreas Schwab <schwab@redhat.com>
10701
10702 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10703
10704 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10705
10706 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10707 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10708 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10709 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10710 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10711 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10712 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10713 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10714 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10715 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10716 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10717 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10718 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10719 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10720
10721 2010-07-26 Anton Blanchard <anton@samba.org>
10722
10723 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10724 * malloc/arena.c (heap_trim): Likewise.
10725
10726 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10727
10728 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10729 here. Not...
10730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10731 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10732
10733 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10734
10735 * sysdeps/i386/elf/Makefile: New file.
10736
10737 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10738
10739 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10740 from fanotify_init.
10741 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10742 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10743
10744 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10745
10746 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10747 of strncasecmp_l.
10748 * sysdeps/multiarch/strcmp.S: Likewise.
10749
10750 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10751
10752 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10753 strncase_l-nonascii.
10754 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10755 Add strncase_l-ssse3.
10756 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10757 * sysdeps/x86_64/strcmp.S: Likewise.
10758 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10759 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10760 * sysdeps/x86_64/strncase.S: New file.
10761 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10762 * sysdeps/x86_64/strncase_l.S: New file.
10763 * string/Makefile (strop-tests): Add strncasecmp.
10764 * string/test-strncasecmp.c: New file.
10765
10766 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10767 warning.
10768
10769 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10770 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10771
10772 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10773
10774 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10775
10776 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10777
10778 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10779 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10780 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10781
10782 2010-05-01 Alan Modra <amodra@gmail.com>
10783
10784 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10785 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10786 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10787 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10788 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10789 tidying. Don't tail-call __sigjmp_save for static lib.
10790 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10791 save location.
10792 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10793 (CALL_MCOUNT): Add eh info, and nop after bl.
10794 (TAIL_CALL_SYSCALL_ERROR): New macro.
10795 (PSEUDO_RET): Use it.
10796 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10797 Correct save location of integer regs and cr.
10798 (_dl_profile_resolve): Correct cr save location. Delete nops
10799 after bl when SHARED. Reduce cfi size a little by better
10800 placement of cfi directives.
10801 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10802 make a stack frame. Instead use parm save area as a temp.
10803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10804 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10806 Don't make a stack frame for parent, use parm save area.
10807 Increase child stack frame to 112 bytes. Don't save unused reg,
10808 and adjust reg usage. Set up cfi on error recovery and
10809 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10811 (__makecontext): Add dummy nop after jump to exit.
10812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10813 Use correct parm save area and cr save, reduce stack frame.
10814 Correct cfi for possible PSEUDO_RET frame setup.
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10816 Branch to local label emitted by PSEUDO_RET rather than
10817 __syscall_error.
10818
10819 2010-08-12 Andreas Schwab <schwab@redhat.com>
10820
10821 [BZ #11904]
10822 * locale/programs/locale.c (print_assignment): New function.
10823 (show_locale_vars): Use it.
10824
10825 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10826
10827 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10828 field.
10829 (struct statfs64): Likewise.
10830 (_STATFS_F_FLAGS): Define.
10831 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10832 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10833 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10834 (ST_VALID): Define locally.
10835 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10836 __statvfs_getflags, use the provided value.
10837 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10838 __ASSUME_STATFS_F_FLAGS.
10839
10840 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10841
10842 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10843 Add sys/fanotify.h.
10844 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10845 fanotify_mask for GLIBC_2.13.
10846 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10847 fanotify_init and fanotify_mark.
10848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10849 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10850
10851 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10852 Add prlimit.
10853 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10854 prlimit64 for GLIBC_2.13.
10855 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10856 prlimit64.
10857 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10858 syscall.
10859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10860 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10861 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10862 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10863 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10864 add prlimit alias.
10865 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10866
10867 [BZ #11903]
10868 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10869 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10870
10871 * nss/Makefile: Add rules to build and run tst-nss-test1.
10872 * shlib-versions: Add entry for libnss_test1.
10873 * nss/nss_test1.c: New file.
10874 * nss/tst-nss-test1.c: New file.
10875
10876 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10877 (__nss_configure_lookup): Set appropriate entry in
10878 __nss_configure_lookup to true.
10879 * nss/nsswitch.h: Define enum with indeces of databases in
10880 databases and __nss_database_custom arrays. Declare
10881 __nss_database_custom.
10882 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10883 to avoid using nscd when custom rules are installed.
10884 * nss/getXXbyYY_r.c: Likewise.
10885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10886
10887 * nss/nss_files/files-parse.c: Whitespace fixes.
10888
10889 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10890
10891 [BZ #11883]
10892 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10893 * posix/fnmatch_loop.c: Likewise.
10894
10895 2010-07-17 Andi Kleen <ak@linux.intel.com>
10896
10897 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10898 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10899 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10900 * Versions.def [GLIBC_2.13]: Add.
10901
10902 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10903
10904 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10905 Also fail if tpwd after pwuid call is NULL.
10906
10907 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10908
10909 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10910 when converting to ms.
10911
10912 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10913
10914 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10915 EOPNOTSUPP errors with ENOTTY.
10916 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10917 EOPNOTSUPP errors with ENOTTY.
10918
10919 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10920
10921 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10922 Add strcasecmp_l-ssse3.
10923 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10924 strcasecmp.
10925 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10926 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10927 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10928
10929 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10930
10931 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10932
10933 * string/Makefile (strop-tests): Add strcasecmp.
10934 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10935 strcasecmp_l-nonascii.
10936 (gen-as-const-headers): Add locale-defines.sym.
10937 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10938 * sysdeps/x86_64/strcasecmp.S: New file.
10939 * sysdeps/x86_64/strcasecmp_l.S: New file.
10940 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10941 * sysdeps/x86_64/locale-defines.sym: New file.
10942 * string/test-strcasecmp.c: New file.
10943
10944 * string/test-strcasestr.c: Test both ends of the range of characters.
10945 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10946
10947 2010-07-29 Roland McGrath <roland@redhat.com>
10948
10949 [BZ #11856]
10950 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10951
10952 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10953
10954 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10955 for ld.so.
10956
10957 2010-07-27 Andreas Schwab <schwab@redhat.com>
10958
10959 * manual/memory.texi (Malloc Tunable Parameters): Document
10960 M_PERTURB.
10961
10962 2010-07-26 Roland McGrath <roland@redhat.com>
10963
10964 [BZ #11840]
10965 * configure.in (-fgnu89-inline check): Set and substitute
10966 gnu89_inline, not libc_cv_gnu89_inline.
10967 * configure: Regenerated.
10968 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10969
10970 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10971
10972 * string/test-strnlen.c: New file.
10973 * string/Makefile (strop-tests): Add strnlen.
10974 * string/tester.c (test_strnlen): Add a few more test cases.
10975 * string/tst-strlen.c: Better error reporting.
10976
10977 * sysdeps/x86_64/strnlen.S: New file.
10978
10979 2010-07-24 Ulrich Drepper <drepper@redhat.com>
10980
10981 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10982 lower-latency instructions.
10983
10984 2010-07-23 Ulrich Drepper <drepper@redhat.com>
10985
10986 * string/test-strcasestr.c: New file.
10987 * string/test-strstr.c: New file.
10988 * string/Makefile (strop-tests): Add strstr and strcasestr.
10989 * string/str-two-way.h: Don't undefine MAX.
10990 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10991
10992 2010-07-21 Andreas Schwab <schwab@redhat.com>
10993
10994 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10995 strcasestr-nonascii.
10996 (CFLAGS-strcasestr-nonascii.c): Define.
10997 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10998 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10999 Remove unused attribute.
11000
11001 2010-07-20 Roland McGrath <roland@redhat.com>
11002
11003 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11004 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11005 ld.so.cache was broken. With it, there is no way to disable dsocaps
11006 like LD_HWCAP_MASK can disable hwcaps.
11007
11008 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11009
11010 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11011
11012 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11013
11014 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11015 call in strcasestr.
11016 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11017 __strcasestr_sse42_nonascii.
11018 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11019 strcasestr-nonascii.c.
11020 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11021
11022 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11023
11024 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11025 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11026 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11027 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11028
11029 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11030
11031 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11032 fcntl.
11033
11034 2010-07-06 Andreas Schwab <schwab@redhat.com>
11035
11036 [BZ #11577]
11037 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11038 dl_signal_cerror.
11039
11040 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11041
11042 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11043 _PC_PIPE_BUF using F_GETPIPE_SZ.
11044
11045 2010-07-05 Roland McGrath <roland@redhat.com>
11046
11047 * manual/arith.texi (Rounding Functions): Fix rint description
11048 implicit in round description.
11049
11050 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11051
11052 * elf/Makefile: Fix linking for a few tests to make recent linker
11053 happy.
11054
11055 2010-06-30 Andreas Schwab <schwab@redhat.com>
11056
11057 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11058 $(common-objpfx)libc_nonshared.a.
11059
11060 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11061
11062 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11063 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11064 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11065 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11066 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11067 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11068 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11069 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11084 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11085 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11086 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11087 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11088 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11089 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11090 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11091 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11092 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11093 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11094 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11095 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11110
11111 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11112
11113 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11114 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11115 * string/memmove.c (memmove): Renamed to ...
11116 (MEMMOVE): ...this. Default to memmove.
11117 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11118 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11119 (END_CHK): Define.
11120 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11121 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11122 mempcpy-ssse3-back memmove-ssse3-back.
11123 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11124 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11125 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11126 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11127 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11128 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11129 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11130 * sysdeps/x86_64/multiarch/memmove.c: New file.
11131 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11132 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11133 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11134 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11135 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11136 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11137 Define.
11138 (index_Fast_Copy_Backward): Define.
11139 (HAS_ARCH_FEATURE): Define.
11140 (HAS_FAST_REP_STRING): Define.
11141 (HAS_FAST_COPY_BACKWARD): Define.
11142
11143 2010-06-21 Andreas Schwab <schwab@redhat.com>
11144
11145 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11146 Restore proper fallback handling.
11147
11148 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11149
11150 [BZ #11701]
11151 * posix/group_member.c (__group_member): Correct checking loop.
11152
11153 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11154 OOM in getpwuid_r correctly. Return error number when the caller
11155 should return, otherwise -1.
11156 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11157 call returning > 0 value.
11158 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11159
11160 2010-06-07 Andreas Schwab <schwab@redhat.com>
11161
11162 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11163 libc_nonshared.a from targets in modules-names.
11164
11165 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11166
11167 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11168 requires it.
11169
11170 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11171
11172 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11173 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11174 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11175 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11176
11177 2010-06-02 Andreas Schwab <schwab@redhat.com>
11178
11179 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11180
11181 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11182
11183 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11184 and F_GETPIPE_SZ.
11185 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11186 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11188 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11189 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11190 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11191
11192 2010-06-14 Roland McGrath <roland@redhat.com>
11193
11194 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11195
11196 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11197
11198 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11199 __REDIRECT followed by __THROW.
11200 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11201 * posix/getopt.h (getopt): Likewise.
11202
11203 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11204
11205 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11206 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11207 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11208 in AT_FLAGS.
11209 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11210 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11211
11212 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11213
11214 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11215
11216 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11217
11218 [BZ #11640]
11219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11220 Properly check family and model.
11221
11222 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11223
11224 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11225
11226 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11227
11228 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11229
11230 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11231
11232 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11233 symbol reference.
11234
11235 2010-05-19 Andreas Schwab <schwab@redhat.com>
11236
11237 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11238 symbol reference.
11239
11240 2010-05-21 Andreas Schwab <schwab@redhat.com>
11241
11242 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11243 and internal_recvmmsg.
11244 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11245 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11246 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11247 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11248
11249 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11250 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11251 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11252
11253 2010-05-20 Andreas Schwab <schwab@redhat.com>
11254
11255 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11256
11257 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11258
11259 POWER7 optimizations.
11260 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11261 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11262
11263 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11264
11265 * version.h: Update for 2.13 development version.
11266
11267 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11268
11269 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11270 exceptions. Return 0.
11271
11272 2010-05-07 Roland McGrath <roland@redhat.com>
11273
11274 * elf/ldconfig.c (main): Add a const.
11275
11276 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11277
11278 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11279 (args_options): Add no-idn option.
11280 (ahosts_keys_int): Add idn_flags to ai_flags.
11281 (parse_option): Handle 'i' option to clear idn_flags.
11282
11283 * malloc/malloc.c (_int_free): Possible race in the most recently
11284 added check. Only act on the data if no current modification
11285 happened.
11286
11287 See ChangeLog.17 for earlier changes.
This page took 2.609635 seconds and 6 git commands to generate.