]> sourceware.org Git - glibc.git/blob - ChangeLog
Fix CL typos.
[glibc.git] / ChangeLog
1 2012-04-05 David S. Miller <davem@davemloft.net>
2
3 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4 lazy binding.
5 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6 undefined symbol errors.
7
8 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
9 DT_NEEDED entries.
10
11 2012-04-05 Michael Matz <matz@suse.de>
12
13 [BZ #13592]
14 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15
16 2012-04-05 Andreas Jaeger <aj@suse.de>
17
18 [BZ #13908]
19 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20 comment.
21
22 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23
24 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25 which ROUND is no valid rounding mode.
26
27 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
28
29 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30 read again.
31 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32
33 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34
35 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36 an exception using FPU order intentionally.
37
38 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39
40 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44
45 2012-04-05 Simon Josefsson <simon@josefsson.org>
46
47 [BZ #12340]
48 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49 EINVAL when BUFLEN is too smal.
50
51 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
52
53 [BZ #13553]
54 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
56
57 2012-04-03 Andreas Jaeger <aj@suse.de>
58
59 [BZ #13938]
60 * manual/setjmp.texi (System V contexts): Fix sentence.
61
62 [BZ #13926]
63 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64 New macro for this case.
65 [!__GNUC__] (__bswap_64): New inline function for this case.
66 * sysdeps/x86_64/bits/byteswap.h: Likewise.
67 * bits/byteswap.h: Likewise.
68 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69 ull, guard with __GLIBC_HAVE_LONG_LONG.
70
71 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
72 __GLIBC_HAVE_LONG_LONG.
73
74 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
75 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
76
77 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78
79 [BZ #13691]
80 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
81 inptr and inend, rather than using last_ch.
82
83 2012-04-02 David S. Miller <davem@davemloft.net>
84
85 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
86 * stdio-common/printf-parse.h (read_int): Change return type to
87 'int', return -1 on INT_MAX overflow.
88 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
89 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
90 overflows INT_MAX. Check for overflow of in-format-string precision
91 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
92 SIZE_MAX not INT_MAX for integer overflow test.
93 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
94 skip the construct in the format string but do not record anything.
95 * stdio-common/bug22.c: Adjust to test both width/prevision
96 INT_MAX overflow as well as total length INT_MAX overflow. Check
97 explicitly for proper errno values.
98
99 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
100
101 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
102 CHAR_MAX.
103 * string/test-strcmp.c [! WIDE]: Likewise.
104 * time/tst-mktime2.c: Likewise for INT_MAX.
105 * string/test-string.h: #include <sys/param.h> for MIN.
106
107 * csu/init-first.c (__libc_init_first): Call __ctype_init.
108 * sysdeps/i386/init-first.c (init): Likewise.
109 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
110 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
111 * sysdeps/sh/init-first.c (init): Likewise.
112
113 2012-04-01 Ulrich Drepper <drepper@gmail.com>
114
115 * po/ru.po: Update from translation team.
116 * po/vi.po: Likewise.
117
118 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
119
120 * resolv/nss_dns/dns-host.c: Merge copyright years.
121
122 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
123
124 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
125 Optimize memcpy with prefetch if
126 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
127 src, dst pointers have unequal 16 byte alignments.
128
129 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
130
131 [BZ #13928]
132 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
133 from a CNAME entry and return the minimum ttl for the query.
134 (gaih_getanswer_slice): Likewise.
135
136 2012-03-30 Jeff Law <law@redhat.com>
137
138 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
139 due to long keys.
140 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
141 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
142
143 * resolv/nss_dns/dns-host.c: Update copyright year.
144
145 2012-03-30 Ulrich Drepper <drepper@gmail.com>
146
147 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
148 requests to save a system call. Fix check that all bytes are sent.
149
150 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
151 comments for sendmmsg.
152
153 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
154
155 [BZ #13691]
156 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
157 with only 1 character between 0x0041 and 0x01b0.
158 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
159 * wcsmbs/tst-mbsnrtowcs.c: New file.
160
161 2012-03-29 David S. Miller <davem@davemloft.net>
162
163 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
164 small copies by hand.
165
166 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
167
168 [BZ #13761]
169 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
170 _nss_compat_initgroups_dyn): Fall back to malloc/free
171 for large group memberships.
172
173 2012-03-28 David S. Miller <davem@davemloft.net>
174
175 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
176 that branches into memcpy.
177 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
178 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
179 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
180 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
181 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
182 bits.
183 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
184 implementation too.
185 * sysdeps/sparc/mempcpy.S: New file.
186
187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
188 the IFUNC routine in the libc case.
189 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
190
191 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
192 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
193 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
194 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
195 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
196 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
197 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
198 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
199
200 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
201 loop to 256 bytes instead of 64 bytes and fix test signedness.
202
203 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
204 * sysdeps/sparc/sparc32/Makefile: rather than here...
205 * sysdeps/sparc/sparc64/Makefile: and here.
206
207 2012-03-28 Ulrich Drepper <drepper@gmail.com>
208
209 * malloc/mallocbug.c: Avoid warnings about unused variables.
210
211 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
212
213 [BZ #13760]
214 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
215 in the right place. Discard and retry query if response is
216 larger than input buffer size.
217
218 2012-03-28 Joseph Myers <joseph@codesourcery.com>
219
220 [BZ #369]
221 [BZ #2678]
222 [BZ #3866]
223 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
224 x for large integer exponent.
225 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
226 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
227 sign of result as needed afterwards.
228 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
229 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
230 result for underflowing pow the same as for overflow.
231 (__kernel_standard_l): Handle powl overflow and underflow here
232 rather than calling __kernel_standard.
233 * math/libm-test.inc (pow_test): Add more tests.
234
235 [BZ #3868]
236 [BZ #13879]
237 [BZ #13910]
238 [BZ #13911]
239 [BZ #13912]
240 [BZ #13913]
241 [BZ #13915]
242 [BZ #13916]
243 [BZ #13917]
244 [BZ #13918]
245 [BZ #13919]
246 [BZ #13920]
247 [BZ #13921]
248 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
249 * sysdeps/ieee754/k_standard.c: Include <float.h>.
250 (__kernel_standard_l): New function.
251 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
252 __kernel_standard.
253 * math/w_acosl.c (__acosl): Likewise.
254 * math/w_asinl.c (__asinl): Likewise.
255 * math/w_atan2l.c (__atan2l): Likewise.
256 * math/w_atanhl.c (__atanhl): Likewise.
257 * math/w_coshl.c (__coshl): Likewise.
258 * math/w_exp10l.c (__exp10l): Likewise.
259 * math/w_exp2l.c (__exp2l): Likewise.
260 * math/w_fmodl.c (__fmodl): Likewise.
261 * math/w_hypotl.c (__hypotl): Likewise.
262 * math/w_j0l.c (__j0l, __y0l): Likewise.
263 * math/w_j1l.c (__j1l, __y1l): Likewise.
264 * math/w_jnl.c (__jnl, __ynl): Likewise.
265 * math/w_lgammal.c (__lgammal): Likewise.
266 * math/w_log10l.c (__log10l): Likewise.
267 * math/w_log2l.c (__log2l): Likewise.
268 * math/w_logl.c (__logl): Likewise.
269 * math/w_powl.c (__powl): Likewise.
270 * math/w_remainderl.c (__remainderl): Likewise.
271 * math/w_scalbl.c (sysv_scalbl): Likewise.
272 * math/w_sinhl.c (__sinhl): Likewise.
273 * math/w_sqrtl.c (__sqrtl): Likewise.
274 * math/w_tgammal.c (__tgammal): Likewise.
275 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
276 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
277 * math/libm-test.inc (acos_test): Add more tests.
278 (acosh_test): Likewise.
279 (asin_test): Likewise.
280 (atanh_test): Likewise.
281 (exp_test): Likewise.
282 (exp10_test): Likewise.
283 (exp2_test): Likewise.
284 (expm1_test): Likewise.
285 (lgamma_test): Likewise.
286 (log_test): Likewise.
287 (log10_test): Likewise.
288 (log1p_test): Likewise.
289 (log2_test): Likewise.
290 (pow_test): Do not allow some spurious overflow exceptions.
291 (sqrt_test): Add more tests.
292 (tgamma_test): Likewise.
293 (y0_test): Likewise.
294 (y1_test): Likewise.
295 (yn_test): Likewise.
296
297 2012-03-27 Anton Blanchard <anton@samba.org>
298
299 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
300 MAP_HUGETLB.
301 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
302 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
303 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
304
305 2012-03-27 David S. Miller <davem@davemloft.net>
306
307 * conform/Makefile: Run run-conformtest.sh using $(BASH).
308
309 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
310 have-as-vis3 check.
311
312 2012-03-27 Andreas Jaeger <aj@suse.de>
313
314 * sysdeps/x86_64/elf/configure.in: Moved to ...
315 * sysdeps/x86_64/configure.in: ... here.
316 * sysdeps/x86_64/elf/start.S: Moved to ...
317 * sysdeps/x86_64/start.S: ... here.
318 * sysdeps/x86_64/elf/configure: Delete.
319
320 * sysdeps/x86_64/configure.in: Merge contents from
321 sysdeps/i386/configure.in (without i686 check).
322
323 * sysdeps/i386/elf/Versions: Merge into ...
324 * sysdeps/i386/Versions: ... this.
325 * sysdeps/i386/elf/Versions: Delete file.
326 * sysdeps/i386/elf/start.S: Moved to ...
327 * sysdeps/i386/start.S: ...here.
328 * sysdeps/i386/elf/configure.in: Merge into...
329 * sysdeps/i386/configure.in: ...here.
330 * sysdeps/i386/elf/configure.in: Delete file.
331 * sysdeps/i386/elf/configure: Delete file.
332
333 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
334 * debug/backtracesyms.c: ... here.
335 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
336 * debug/backtracesymsfd.c: ... here.
337 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
338 * sysdeps/generic/ifunc-sel.h: ... here.
339
340 * sysdeps/unix/i386/start.c: Delete file.
341 * sysdeps/unix/sparc/start.c: Delete file.
342 * sysdeps/unix/start.c: Delete file.
343
344 * sysdeps/sh/elf/configure.in: Moved to ...
345 * sysdeps/sh/configure.in: ... here.
346 * sysdeps/sh/elf/start.S: Moved to ...
347 * sysdeps/sh/start.S: ... here.
348 * sysdeps/sh/elf/configure: Delete file.
349
350 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
351 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
352 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
353 * sysdeps/powerpc/powerpc64/entry.h: ... here.
354 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
355 * sysdeps/powerpc/powerpc64/start.S: here.
356 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
357 * sysdeps/powerpc/powerpc64/Makefile: ... this.
358 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
359 * sysdeps/powerpc/powerpc64/configure.in: ... this.
360 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
361
362 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
363 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
364 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
365 * sysdeps/powerpc/powerpc32/start.S: ... here.
366 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
367 * sysdeps/powerpc/powerpc32/configure.in: ... this.
368 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
369
370 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
371 * sysdeps/powerpc/ifunc-sel.h: ... here.
372 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
373 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
374
375 * sysdeps/sparc/elf/configure.in: Moved to ...
376 * sysdeps/sparc/configure.in: ... here.
377 * sysdeps/sparc/elf/configure: Delete file.
378 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
379 * sysdeps/sparc/sparc32/start.S: ... here.
380 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
381 * sysdeps/sparc/sparc64/start.S: ... here.
382 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
383 * sysdeps/sparc/sparc32/Makefile: ... this.
384 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
385 * sysdeps/sparc/sparc64/Makefile: ... this.
386
387 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
388 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
389 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
390 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
391 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
392 * sysdeps/s390/s390-32/setjmp.S: ... here.
393 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
394 * sysdeps/s390/s390-32/configure.in: ... here.
395 * sysdeps/s390/s390-32/elf/configure: Delete file.
396 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
397 * sysdeps/s390/s390-32/start.S: ... here.
398
399 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
400 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
401 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
402 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
403 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
404 * sysdeps/s390/s390-64/setjmp.S: ... here.
405 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
406 * sysdeps/s390/s390-64/configure.in: ... here
407 * sysdeps/s390/s390-64/elf/configure: Delete file.
408 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
409 * sysdeps/s390/s390-64/start.S: ... here.
410 * sysdeps/s390/s390-64/elf/configure: Delete.
411
412 * configure.in: Remove support for elf directories in sysdeps.
413
414 * configure: Regenerated.
415 * sysdeps/i386/configure: Regenerated.
416 * sysdeps/powerpc/powerpc32/configure: Regenerated.
417 * sysdeps/powerpc/powerpc64/configure: Regenerated.
418 * sysdeps/s390/s390-32/configure: Regenerated.
419 * sysdeps/s390/s390-64/configure: Regenerated.
420 * sysdeps/sh/configure: Regenerated.
421 * sysdeps/sparc/configure: Regenerated.
422 * sysdeps/x86_64/configure: Regenerated.
423
424 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
425
426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
427
428 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
429 denormal result into account.
430
431 2012-03-25 Roland McGrath <roland@hack.frob.com>
432
433 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
434 Reported by Allan McRae <allan@archlinux.org>.
435
436 2012-03-23 Jeff Law <law@redhat.com>
437
438 * nss/getnssent.c (__nss_getent): Fix typo.
439
440 2012-03-23 David S. Miller <davem@davemloft.net>
441
442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
443
444 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
445
446 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
447 to pad to uint64_t for each field.
448 (dl_tls_index): Replace unsigned long with uint64_t.
449
450 2012-03-23 Daniel Jacobowitz <dmj@google.com>
451 Paul Pluzhnikov <ppluzhnikov@google.com>
452
453 [BZ #6528]
454 * grp/Makefile (otherlibs): Don't set it.
455 * inet/Makefile (otherlibs): Likewise.
456 * login/Makefile (otherlibs): Likewise.
457 * nscd/Makefile (otherlibs): Likewise.
458 * posix/Makefile (otherlibs): Likewise.
459 * pwd/Makefile (otherlibs): Likewise.
460 * rt/Makefile (otherlibs): Likewise.
461 * sunrpc/Makefile (otherlibs): Likewise.
462 * nss/Makefile (otherlibs): Likewise.
463 Add libnss_files to routines and static-only-routines.
464 ($(objpfx)getent): Remove rule.
465 * resolv/Makefile: Add libnss_dns and libresolv to routines and
466 static-only-routines.
467
468 2012-03-22 Joseph Myers <joseph@codesourcery.com>
469
470 [BZ #13892]
471 * math/s_cexp.c: Include <float.h>.
472 (__cexp): Handle exp result overflowing not necessarily
473 overflowing both real and imaginary parts of result.
474 * math/s_cexpf.c: Likewise.
475 * math/s_cexpl.c: Likewise.
476 * math/libm-test.inc (cexp_test): Add more tests.
477 * sysdeps/i386/fpu/libm-test-ulps: Update.
478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
479
480 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
481
482 * include/link.h (ELFW): New macro.
483 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
484 Replace ELF64_R_TYPE with ELFW(R_TYPE).
485
486 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
487
488 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
489 with uint64_t.
490
491 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
492
493 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
494 declaration.
495 (struct La_x32_retval): Likewise.
496
497 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
498
499 * sysdeps/x86_64/preconfigure.in: New file.
500 * sysdeps/x86_64/preconfigure: New generated file.
501
502 2012-03-22 Joseph Myers <joseph@codesourcery.com>
503
504 [BZ #13824]
505 * math/e_exp2l.c: Include <float.h>.
506 (__ieee754_exp2l): Handle overflow and underflow cases
507 separately. Only pass fractional part of argument to
508 __ieee754_expl.
509 * math/libm-test.inc (exp2_test): Add more tests.
510
511 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
512 negating x to take absolute value.
513 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
514 Likewise.
515 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
516 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
517 Likewise.
518 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
519 computing low part if x was negated.
520 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
521
522 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
523
524 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
525 la_x32_gnu_pltexit.
526 (pltexit): Cast int_retval to ptrdiff_t.
527 * elf/tst-auditmod3b.c: Likewise.
528 * elf/tst-auditmod4b.c: Likewise.
529 * elf/tst-auditmod5b.c: Likewise.
530 * elf/tst-auditmod6b.c: Likewise.
531 * elf/tst-auditmod6c.c: Likewise.
532 * elf/tst-auditmod7b.c: Likewise.
533
534 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
535 and x32_gnu_pltexit.
536
537 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
538 __ELF_NATIVE_CLASS.
539 (La_x32_regs): New macro.
540 (La_x32_retval): Likewise.
541 (la_x32_gnu_pltenter): New function prototype.
542 (la_x32_gnu_pltexit): Likewise.
543
544 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
545
546 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
547 exponent.
548
549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
550
551 * configure.in (libc_cv_cc_nofma): Check for option to disable
552 generation of FMA instructions.
553 * configure: Regenerate.
554 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
555 * sysdeps/ieee754/dbl-64/Makefile: New file.
556 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
557 Remove brandred-fma4.
558 (CFLAGS-brandred-fma4.c): Remove.
559 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
560 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
561 define.
562 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
563 define.
564
565 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
566
567 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
568 LLONG_MAX != LONG_MAX.
569 (_itoa_word): Use _ITOA_WORD_TYPE on value.
570 (_fitoa_word): Likewise.
571 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
572 LLONG_MAX != LONG_MAX.
573 * stdio-common/_itowa.h: Include <_itoa.h>.
574 (_itowa_word): Use _ITOA_WORD_TYPE on value.
575 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
576 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
577 only if not defined.
578 (_ITOA_WORD_TYPE): Likewise.
579 (_itoa_word): Use _ITOA_WORD_TYPE on value.
580 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
581
582 2012-03-21 David S. Miller <davem@davemloft.net>
583
584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
585
586 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
587
588 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
589 of x86_64 when setting libc_cv_slibdir, libdir and
590 libc_cv_localedir.
591 * sysdeps/unix/sysv/linux/configure: Regenerated.
592
593 2012-03-21 Joseph Myers <joseph@codesourcery.com>
594
595 * manual/lang.texi (Old Varargs): Remove section.
596 (How Variadic): Update menu.
597 (va_start): Do not mention varargs.h.
598
599 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
600 Joseph Myers <joseph@codesourcery.com>
601
602 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
603 link test.
604 * configure: Regenerated.
605
606 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
607
608 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
609 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
610 conformtest.pl
611
612 2012-03-21 Joseph Myers <joseph@codesourcery.com>
613
614 * NOTES: Remove.
615 * Makefile (files-for-dist): Remove NOTES.
616 (NOTES): Remove rule.
617 * README: Don't refer to NOTES.
618 * manual/creature.texi: Don't include macros.texi.
619 * manual/intro.texi (creature.texi): Remove comment referring to
620 NOTES.
621
622 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
623 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
624 * configure: Regenerated.
625 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
626 LIBC_TRY_CC_OPTION.
627 (libc_cv_as_i686): Likewise.
628 (libc_cv_cc_avx): Likewise.
629 (libc_cv_cc_sse2avx): Likewise.
630 (libc_cv_cc_fma4): Likewise.
631 (libc_cv_cc_novzeroupper): Likewise.
632 * sysdeps/i386/configure: Regenerated.
633
634 [BZ #13883]
635 * sysdeps/i386/fpu/s_cexp.S: Remove.
636 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
637 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
638 * math/libm-test.inc (cexp_test): Add more tests.
639 * sysdeps/i386/fpu/libm-test-ulps: Update.
640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
641
642 2012-03-21 Allan McRae <allan@archlinux.org>
643
644 * timezone/Makefile: Do not install iso3166.tab and zone.tab
645
646 2012-03-21 Joseph Myers <joseph@codesourcery.com>
647
648 [BZ #13871]
649 * math/w_exp2.c: Do not include <float.h>.
650 (o_threshold, u_threshold): Remove.
651 (__exp2): Calculate result before checking finiteness and calling
652 __kernel_standard.
653 * math/w_exp2f.c: Likewise.
654 * math/w_exp2l.c: Likewise.
655 * math/libm-test.inc (exp2_test): Require overflow exception for
656 1e6 input.
657
658 [BZ #3866]
659 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
660 range of signed 64-bit integers before using fistpll. Remove
661 checks for whether integers fit in mantissa bits.
662 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
663 the range of signed 32-bit integers before using fistpl. Remove
664 checks for whether integers fit in mantissa bits.
665 * sysdeps/i386/fpu/e_powl.S (p64): New object.
666 (__ieee754_powl): Test for y outside the range of signed 64-bit
667 integers before using fistpll. Reduce 64-bit values to 63-bit
668 ones as needed.
669 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
670 divide-by-zero is raised for zero to large negative powers.
671 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
672 (__ieee754_powl): Test for y outside the range of signed 64-bit
673 integers before using fistpll. Reduce 64-bit values to 63-bit
674 ones as needed.
675 * math/libm-test.inc (pow_test): Add more tests.
676
677 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
678
679 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
680 <stdio-common/_itoa.h>.
681 * debug/segfault.c: Likewise.
682 * elf/dl-cache.c: Likewise.
683 * elf/dl-minimal.c: Likewise.
684 * elf/dl-misc.c: Likewise.
685 * elf/dl-sysdep.c: Likewise.
686 * elf/dl-version.c: Likewise.
687 * elf/rtld.c: Likewise.
688 * hurd/hurdsock.c: Likewise.
689 * hurd/lookup-retry.c: Likewise.
690 * malloc/malloc.c: Likewise.
691 * malloc/mtrace.c: Likewise.
692 * nscd/nscd_getgr_r.c: Likewise.
693 * nscd/nscd_getpw_r.c: Likewise.
694 * nscd/nscd_getserv_r.c: Likewise.
695 * posix/getopt_init.c: Likewise.
696 * posix/wordexp.c: Likewise.
697 * stdio-common/_itoa.c: Likewise.
698 * stdio-common/printf_fphex.c: Likewise.
699 * stdio-common/vfprintf.c: Likewise.
700 * string/_strerror.c: Likewise.
701 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
702 * sysdeps/i386/i686/hp-timing.h: Likewise.
703 * sysdeps/mach/_strerror.c: Likewise.
704 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
705 * sysdeps/mach/hurd/sethostid.c: Likewise.
706 * sysdeps/mach/hurd/xmknodat.c: Likewise.
707 * sysdeps/mach/xpg-strerror.c: Likewise.
708 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
709 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
710 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
711 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
712 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
713 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
714 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
715 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
716 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
717 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
718 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
719 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
720 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
721 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
722 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
723 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
724 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
725 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
726 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
727 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
728 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
729
730 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
731
732 * stdio-common/_itoa.h: Moved to ...
733 * sysdeps/generic/_itoa.h: Here.
734
735 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
736
737 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
738 instead of "_itoa.h" and "_itowa.h".
739 * stdio-common/vfprintf.: Likewise.
740
741 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
742
743 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
744 <bits/wordsize.h>.
745 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
746 (__signbit): Likwise.
747 (llrintf): Likwise.
748 (llrint): Likwise.
749
750 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
751
752 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
753 __WORDSIZE != 64.
754
755 2012-03-20 Joseph Myers <joseph@codesourcery.com>
756
757 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
758 OVERFLOW_EXCEPTION_OK.
759 * math/libm-test.inc ("Philosophy"): Update comment about
760 exception testing.
761 (OVERFLOW_EXCEPTION): Define.
762 (OVERFLOW_EXCEPTION_OK): Likewise.
763 (INVALID_EXCEPTION_OK): Renumber.
764 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
765 (IGNORE_ZERO_INF_SIGN): Likewise.
766 (test_exceptions): Handle FE_OVERFLOW.
767 (exp10_test): Expect overflow exceptions.
768 (exp2_test): Likewise.
769 (expm1_test): Likewise.
770 (nextafter_test): Likewise.
771 (pow_test): Likewise.
772 (scalbn_test): Likewise.
773 (scalbln_test): Likewise.
774
775 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
776
777 * sysdeps/x86_64/bits/atomic.h
778 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
779 64bit integer.
780 (atomic_exchange_acq): Likewise.
781 (__arch_exchange_and_add_body): Likewise.
782 (__arch_add_body): Likewise.
783 (atomic_add_negative): Likewise.
784 (atomic_add_zero): Likewise.
785
786 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
787
788 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
789 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
790
791 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
792
793 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
794 Check __x86_64__ instead of __WORDSIZE.
795
796 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
797
798 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
799
800 2012-03-19 David S. Miller <davem@davemloft.net>
801
802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
803
804 * sysdeps/sparc/fpu/fenv_private.h: New file.
805 * sysdeps/sparc/fpu/math_private.h: Use it.
806 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
807 Remove.
808 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
809 (libc_feholdexcept_setroundl): Remove.
810 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
811 Remove.
812 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
813 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
814
815 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
816
817 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
818 int64_t instead of long int.
819 (INSERT_WORDS64): Likwise.
820
821 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
822
823 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
824 _Unwind_GetCFA return to _Unwind_Ptr first.
825
826 2012-03-19 Joseph Myers <joseph@codesourcery.com>
827
828 [BZ #13629]
829 * math/s_clog.c: Include <float.h>.
830 (__clog): Scale large or subnormal inputs.
831 * math/s_clogf.c: Likewise.
832 * math/s_clogl.c: Likewise.
833 * math/s_clog10.c: Include <float.h>.
834 (M_LOG10_2): Define.
835 (__clog10): Scale large or subnormal inputs.
836 * math/s_clog10f.c: Likewise.
837 * math/s_clog10l.c: Likewise.
838 * math/libm-test.inc (clog_test): Add more tests.
839 (clog10_test): Likewise.
840 * sysdeps/i386/fpu/libm-test-ulps: Update.
841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
842
843 [BZ #11451]
844 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
845 x and y.
846 * math/libm-test.inc (atan2_test): Add another test.
847
848 * Makerules (common-objdir-compile): Remove.
849 * sysdeps/unix/Makefile (config-generated): Do not add
850 $(unix-generated) to variable.
851 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
852 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
853 Remove rule.
854 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
855 Likewise.
856 [generic bits/local_lim.h] (before-compile): Do not append to
857 variable.
858 [generic bits/local_lim.h] (common-generated): Likewise.
859 [generic sys/param.h] (before-compile): Do not append to variable.
860 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
861 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
862 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
863 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
864 include.
865 [generic sys/param.h] (sys/param.h-includes): Remove variable.
866 [generic sys/param.h] (sys/param.h-includes): Remove rule.
867 [generic sys/param.h] ($(addprefix
868 $(common-objpfx),$(sys/param.h-includes))): Likewise.
869 [generic sys/param.h] (common-generated): Do not append to
870 variable.
871 [generic sys/param.h] (sysdep_headers): Likewise.
872 [generic bits/errno.h] (before-compile): Do not append to
873 variable.
874 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
875 rule.
876 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
877 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
878 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
879 [generic bits/errno.h] (common-generated): Do not append to
880 variable.
881 [generic bits/ioctls.h] (before-compile): Do not append to
882 variable.
883 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
884 rule.
885 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
886 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
887 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
888 rule.
889 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
890 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
891 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
892 [generic bits/ioctls.h] (common-generated): Do not append to
893 variable.
894 [generic sys/syscall.h] (syscall.h): Remove variable.
895 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
896 rule.
897 [generic sys/syscall.h] (before-compile): Do not append to
898 variable.
899 [generic sys/syscall.h] (common-generated): Likewise.
900 * sysdeps/unix/errnos-tmpl.c: Remove file.
901 * sysdeps/unix/errnos.awk: Likewise.
902 * sysdeps/unix/ioctls-tmpl.c: Likewise.
903 * sysdeps/unix/ioctls.awk: Likewise.
904 * sysdeps/unix/mk-local_lim.c: Likewise.
905 * sysdeps/unix/snarf-ioctls: Likewise.
906
907 2012-03-19 Richard Henderson <rth@twiddle.net>
908
909 * sysdeps/i386/fpu/fenv_private.h: New file.
910 * sysdeps/i386/fpu/math_private.h: Use it.
911 (math_opt_barrier, math_force_eval): Remove.
912 (libc_feholdexcept_setround_53bit): Remove.
913 (libc_feupdateenv_53bit): Remove.
914 * sysdeps/x86_64/fpu/math_private.h: Likewise.
915 (math_opt_barrier, math_force_eval): Remove.
916 (libc_feholdexcept): Remove.
917 (libc_feholdexcept_setround): Remove.
918 (libc_fetestexcept, libc_fesetenv): Remove.
919 (libc_feupdateenv_test): Remove.
920 (libc_feupdateenv, libc_feholdsetround): Remove.
921 (libc_feresetround): Remove.
922
923 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
924 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
925
926 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
927 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
928 (libc_feupdateenv_testl): New.
929 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
930 (libc_feupdateenv_testf): New.
931 (libc_feupdateenv): Use libc_feupdateenv_test.
932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
933 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
934
935 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
936 (libc_feholdsetroundf, libc_feholdsetroundl): New.
937 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
938 (libc_feresetround_noex): New.
939 (libc_feresetround_noexf): New.
940 (libc_feresetround_noexl): New.
941 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
942 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
943 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
944 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
945 SET_RESTORE_ROUND.
946 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
947 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
948 (__cos): Likewise.
949 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
950 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
951 SET_RESTORE_ROUND_NOEX.
952 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
953 SET_RESTORE_ROUND_NOEXF.
954 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
955 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
956 (libc_feholdsetroundf): New.
957 (libc_feresetround, libc_feresetroundf): New.
958
959 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
960 (libc_feholdexcept_setround_53bit): Convert from macro to function.
961 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
962
963 * sysdeps/generic/math_private.h: Include <fenv.h>.
964 (default_libc_feholdexcept): New.
965 (default_libc_feholdexcept_setround): New.
966 (default_libc_fesetenv, default_libc_feupdateenv): New.
967 (libc_feholdexcept): Only define if undefined.
968 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
969 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
970 (libc_feholdexcept_setroundl): Likewise.
971 (libc_feholdexcept_setround_53bit): Likewise.
972 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
973 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
974 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
975 (libc_feupdateenv_53bit): Likewise.
976 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
977 (libc_feholdexcept): Convert from macro to inline function.
978 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
979 (libc_fesetenv, libc_feupdateenv): Likewise.
980
981 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
982 not previously defined.
983 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
984 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
985 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
986 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
987 * sysdeps/ieee754/flt-32/math_private.h: New file.
988 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
989 math_private.h below SET_FLOAT_WORD.
990 (__isnan, __isinf_ns, __finite): Remove.
991 (__isnanf, __isinf_nsf, __finitef): Remove.
992
993 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
994
995 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
996
997 2012-03-17 David S. Miller <davem@davemloft.net>
998
999 [BZ #6471]
1000 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1001 for 2.16.
1002
1003 2012-03-16 David S. Miller <davem@davemloft.net>
1004
1005 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1006 warnings.
1007
1008 [BZ #6471]
1009 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1010 properly.
1011 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1012 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1013 sysdep_routines when subdir is sysvipc.
1014 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1015 __getshmlba helper.
1016
1017 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1018
1019 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1020
1021 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1022 [__LP64__].
1023
1024 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1025
1026 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1027 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1028 (__lround): Renamed to ...
1029 (__llround): This. Replace long int with long long int.
1030 Define lround functions as aliases of llround functions.
1031 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1032
1033 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1034
1035 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1036 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1037 adresses to uintptr_t. Replace "long int" and "unsigned long
1038 int" with "greg_t" on va_arg.
1039
1040 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1043 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1044
1045 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1046 Move e_machine check before EI_CLASS check. Handle x32
1047 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1048 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1049 SKIP_EM_IA_64 and include
1050 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1051
1052 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1053 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1054 (add_system_dir): New macro.
1055
1056 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1057 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1058
1059 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1060
1061 [BZ #2551]
1062 [BZ #2552]
1063 [BZ #2553]
1064 [BZ #2554]
1065 [BZ #2562]
1066 [BZ #2563]
1067 [BZ #2565]
1068 [BZ #2566]
1069 [BZ #2576]
1070 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1071 (y0): Likewise.
1072 * math/w_j0f.c (j0f): Likewise.
1073 (y0f): Likewise.
1074 * math/w_j0l.c (__j0l): Likewise.
1075 (__y0l): Likewise.
1076 * math/w_j1.c (j1): Likewise.
1077 (y1): Likewise.
1078 * math/w_j1f.c (j1f): Likewise.
1079 (y1f): Likewise.
1080 * math/w_j1l.c (__j1l): Likewise.
1081 (__y1l): Likewise.
1082 * math/w_jn.c (jn): Likewise.
1083 (yn): Likewise.
1084 * math/w_jnf.c (jnf): Likewise.
1085 (ynf): Likewise.
1086 * math/w_jnl.c (__jnl): Likewise.
1087 (__ynl): Likewise.
1088 * math/libm-test.inc (j0_test): Add more tests.
1089 (j1_test): Likewise.
1090 (jn_test): Likewise. Add trailing semicolon to existing test.
1091 (y0_test): Likewise.
1092 (y1_test): Likewise.
1093 * sysdeps/i386/fpu/libm-test-ulps: Update.
1094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1095
1096 [BZ #13851]
1097 [BZ #13854]
1098 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1099 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1100 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1101 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1102 (__tanl): Set errno for infinite argument.
1103 * sysdeps/i386/fpu/mptan.c: Remove.
1104 * sysdeps/i386/fpu/s_tan.S: Likewise.
1105 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1106 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1107 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1108 * math/libm-test.inc (tan_test): Add more tests and enable more
1109 tests for double and long double.
1110 * sysdeps/i386/fpu/libm-test-ulps: Update.
1111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1112
1113 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1114
1115 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1116 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1117
1118 2012-03-16 Roland McGrath <roland@hack.frob.com>
1119
1120 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1121 * configure.in: Use it for both main tree and add-ons.
1122 * configure: Regenerated.
1123
1124 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1127
1128 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1129
1130 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1131 in comment.
1132
1133 [BZ #13851]
1134 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1135 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1136 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1137 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1138 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1139 infinite argument.
1140 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1141 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1142 != 0 for prec == 2.
1143 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1144 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1145 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1146 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1147 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1148 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1149 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1150 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1151 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1152 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1153 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1154 * math/libm-test.inc (cos_test): Add more tests and enable more
1155 tests for long double.
1156 (sin_test): Likewise.
1157 (sincos_test): Likewise.
1158 * sysdeps/i386/fpu/libm-test-ulps: Update.
1159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1160
1161 2012-03-16 David S. Miller <davem@davemloft.net>
1162
1163 * sysdeps/sparc/fpu/math_private.h: New file.
1164
1165 2012-03-15 David S. Miller <davem@davemloft.net>
1166
1167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1168 file.
1169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1171 file.
1172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1177 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1178 sysdep routines.
1179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1180
1181 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1182 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1183
1184 * sysdeps/sparc/sparc-ifunc.h: New file.
1185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1186 sparc-ifunc.h
1187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1189 Likewise.
1190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1191 Likewise.
1192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1196 Likewise.
1197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1202 Likewise.
1203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1204 Likewise.
1205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1212 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1225 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1226 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1227 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1228 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1229
1230 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1231
1232 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1233 scaling.
1234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1235
1236 2012-03-15 Andreas Jaeger <aj@suse.de>
1237
1238 [BZ #13852]
1239 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1240 ieee754/flt-32 implementation for sin, cos and sincos.
1241 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1242 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1243 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1244 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1245 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1246 ieee754/flt-32 implementation for tan.
1247
1248 * math/libm-test.inc (cos_test): Enable some large input tests for
1249 float as well
1250 (sin_test): Likewise.
1251 (sincos_test): Likewise.
1252 (tan_test): Add tests for large input.
1253
1254 * sysdeps/i386/fpu/libm-test-ulps: Update.
1255
1256 2012-03-15 Andreas Jaeger <aj@suse.de>
1257
1258 [BZ #13658]
1259 * math/libm-test.inc (cos_test): Add more test cases.
1260 (sin_test): Likewise.
1261 (sincos_test): Likewise.
1262
1263 2012-03-15 Andreas Jaeger <aj@suse.de>
1264
1265 [BZ #13837]
1266 * math/libm-test.inc (cos_test): Add a test case for large input
1267 value.
1268 (sin_test): Likewise.
1269 (sincos_test): Likewise.
1270
1271 2012-03-15 Andreas Jaeger <aj@suse.de>,
1272 Joseph Myers <joseph@codesourcery.com>
1273
1274 [BZ #13658]
1275 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1276 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1277 * sysdeps/i386/fpu/branred.c: Likewise.
1278 * sysdeps/i386/fpu/dosincos.c: Likewise.
1279 * sysdeps/i386/fpu/mpa.c: Likewise.
1280 * sysdeps/i386/fpu/s_cos.S: Likewise.
1281 * sysdeps/i386/fpu/s_sin.S: Likewise.
1282 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1283 * sysdeps/i386/fpu/sincos32.c: Likewise.
1284
1285 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1286 Define.
1287 (libc_feupdateenv_53bit): Define.
1288 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1289 Define.
1290 (libc_feupdateenv_53bit): Define.
1291
1292 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1293 53 bit (without extend i386 double precision).
1294
1295 * math/libm-test.inc (sincos_test): Add tests for large input.
1296 (sin): Likewise.
1297 (cos): Likewise.
1298
1299 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1300
1301 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1302
1303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1304
1305 2012-03-15 David S. Miller <davem@davemloft.net>
1306
1307 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1308 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1309 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1310 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1321 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1323 file.
1324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1326 file.
1327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1329 file.
1330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1332 file.
1333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1334 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1335 fmin/fmax sysdep routines.
1336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1337
1338 2012-03-14 David S. Miller <davem@davemloft.net>
1339
1340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1344 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1346 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1347 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1350 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1360 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1361 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1362 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1363 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1364 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1365 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1366 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1367 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1368 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1369 routines.
1370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1371 file.
1372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1374 file.
1375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1377 file.
1378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1380 file.
1381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1383 file.
1384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1386 file.
1387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1388 file.
1389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1390 file.
1391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1392 file.
1393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1394 New file.
1395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1396 file.
1397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1398 file.
1399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1401 file.
1402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1404 file.
1405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1407 file.
1408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1410 VIS3 routines.
1411
1412 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1413 New file.
1414
1415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1416
1417 * sysdeps/sparc/configure.in: New file.
1418 * sysdeps/sparc/configure: Generate.
1419 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1420 * configure: Regenerate.
1421 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1422 * config.make.in (have-as-vis3): New.
1423 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1424 available use -Av9d instead of -Av9a.
1425 * sysdeps/sparc/sparc64/Makefile: Likewise.
1426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1428 New file.
1429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1430 file.
1431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1432 New file.
1433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1434 file.
1435 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1436 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1437 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1438 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1439 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1440
1441 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1442 fzeros/fnegs to load 0x80000000 into a float register instead of
1443 using the stack.
1444 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1445
1446 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1447
1448 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1449 bits/syscall.h.
1450 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1451 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1452 ($(inst_includedir)/bits/syscall.h): Remove rule.
1453 ($(objpfx)bits/syscall.d): Include instead of
1454 $(objpfx)syscall-list.d.
1455 (generated): Change syscall-list.h and syscall-list.d to
1456 bits/syscall.h and bits/syscall.d.
1457
1458 2012-03-14 Roland McGrath <roland@hack.frob.com>
1459
1460 [BZ #13846]
1461 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1462
1463 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1464
1465 [BZ #13841]
1466 * math/s_csqrt.c: Include <float.h>.
1467 (__csqrt): Scale large or subnormal inputs.
1468 * math/s_csqrtf.c: Likewise.
1469 * math/s_csqrtl.c: Likewise.
1470 * math/libm-test.inc (csqrt_test): Add more tests.
1471 * sysdeps/i386/fpu/libm-test-ulps: Update.
1472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1473
1474 [BZ #13840]
1475 * math/libm-test.inc (hypot_test): Add more tests.
1476
1477 2012-03-13 David S. Miller <davem@davemloft.net>
1478
1479 [BZ #13840]
1480 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1481 double-precision for the calculation instead of scaling.
1482
1483 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1484
1485 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1486 manipulate bits before adding and subtracting TWO52[sx].
1487 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1488 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1489 Likewise.
1490 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1491
1492 2012-03-13 David S. Miller <davem@davemloft.net>
1493
1494 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1495 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1496 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1497 rtld-global-offsets.h
1498 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1499
1500 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1501 large parameters.
1502
1503 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1504
1505 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1506 'err' in the ifdef scope in which it is actually used.
1507
1508 * nss/nss_db/db-init.c: Include string.h
1509
1510 2012-03-12 David S. Miller <davem@davemloft.net>
1511
1512 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1513 masking out of the most significant byte of random value used.
1514 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1515 Fix coding style in previous change.
1516
1517 * sysdeps/unix/sysv/linux/kernel-features.h
1518 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1519 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1520 expression.
1521 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1522 later.
1523
1524 2012-03-11 David S. Miller <davem@davemloft.net>
1525
1526 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1527 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1528 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1529 for 'resultvar' otherwise things get truncated on 64-bit.
1530
1531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1532 Fix masking out of the most significant byte of random value used.
1533
1534 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1535
1536 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1537
1538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1539
1540 2012-03-09 David S. Miller <davem@davemloft.net>
1541
1542 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1543 variables with appropriate CPP guards.
1544 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1545 frame pointer, not the stack pointer. Correct layout comments. Fix test
1546 on resulting framesize and the management of the outregs buffer for pltexit.
1547 Preserve floating point return values across _dl_call_pltexit call.
1548 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1549 framesize and the management of the outregs buffer for pltexit.
1550 Preserve floating point return values across _dl_call_pltexit
1551 call.
1552 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1553 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1554 (print_exit): Fix format string for return register value.
1555
1556 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1557
1558 * sunrpc/Makefile (others): Add rpcgen.
1559 ($(objpfx)rpcgen): Remove special build rule and dependency on
1560 libc.
1561 * sunrpc/rpcgen.c: New file.
1562
1563 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1564
1565 [BZ #13673]
1566 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1567 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1568 * sysdeps/i386/crti.S: Likewise.
1569 * sysdeps/i386/crtn.S: Likewise.
1570 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1571 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1572 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1573 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1574 * sysdeps/sh/crti.S: Likewise.
1575 * sysdeps/sh/crtn.S: Likewise.
1576 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1577
1578 [BZ #13673]
1579 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1580 with URL.
1581 * locale/programs/locfile-kw.gperf: Likewise.
1582 * locale/programs/charmap-kw.h: Regenerated.
1583 * locale/programs/locfile-kw.h: Likewise.
1584
1585 [BZ #13673]
1586 * intl/plural.y: Replace FSF snail mail address with URL.
1587 * intl/plural.c: Regenerated.
1588
1589 2012-03-09 Richard Henderson <rth@twiddle.net>
1590
1591 * include/math_private.h: Remove file.
1592 * math/math_private.h: Move file ...
1593 * sysdeps/generic/math_private.h: ... here.
1594
1595 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1596 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1597 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1598
1599 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1600 and <math_private.h>.
1601 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1602 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1603 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1604 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1605 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1606 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1607 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1608 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1609 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1610 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1612 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1613 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1614 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1615 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1616 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1617 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1618 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1619 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1620 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1622 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1623 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1625 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1626 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1627 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1628 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1630 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1631 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1633 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1634 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1635 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1636 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1637 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1638 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1639 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1640 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1641 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1642 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1643 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1644 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1645 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1646 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1647 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1648 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1649 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1650 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1651 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1652 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1653 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1654 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1655 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1656 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1657 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1658 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1659 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1660 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1661 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1662 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1664 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1665 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1666 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1667 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1668 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1669 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1670 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1671 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1672 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1673 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1674 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1675 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1677 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1679 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1680 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1681 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1682 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1683 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1684 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1685 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1686 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1687 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1688 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1689 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1690 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1691 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1692 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1693 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1694 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1695 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1696 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1697 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1698 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1699 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1700 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1701 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1702 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1703 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1704 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1705 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1706 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1707 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1708 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1709 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1710 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1711 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1712 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1713 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1714 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1715 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1716 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1717 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1718 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1719 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1720 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1721 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1722 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1723 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1724 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1725 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1726 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1727 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1728 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1729 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1730 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1731 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1732 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1733 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1734 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1735 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1736 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1737 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1738 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1739 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1740 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1741 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1742 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1743 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1744 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1745 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1746 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1747 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1748 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1749 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1750 * sysdeps/ieee754/k_standard.c: Likewise.
1751 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1753 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1755 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1757 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1760 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1761 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1762 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1763 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1764 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1765 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1766 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1767 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1768 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1769 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1772 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1773 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1774 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1776 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1778 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1779 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1780 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1781 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1782 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1783 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1784 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1785 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1786 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1787 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1788 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1789 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1790 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1791 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1792 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1793 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1794 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1795 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1796 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1797 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1798 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1799 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1800 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1801 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1802 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1803 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1804 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1805 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1806 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1807 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1808 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1809 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1810 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1811 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1812 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1813 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1814 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1817 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1818 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1819 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1820 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1821 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1823 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1824 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1825 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1826 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1827 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1828 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1829 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1830 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1835 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1842 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1844 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1866 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1870 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1871 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1872 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1873 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1876 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1878 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1883 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1890 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1891 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1896 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1899 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1900 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1901 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1911 * sysdeps/ieee754/s_lib_version.c: Likewise.
1912 * sysdeps/ieee754/s_matherr.c: Likewise.
1913 * sysdeps/ieee754/s_signgam.c: Likewise.
1914 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1915 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1916 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1917 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1918 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1919 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1920 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1921 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1922 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1923 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1924 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1925 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1926 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1927 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1928 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1929 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1930 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1931 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1932 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1933 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1935
1936 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1937
1938 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1939 * sunrpc/rpc_main.c: Likewise.
1940 * sunrpc/rpc_svcout.c: Likewise.
1941
1942 2012-03-09 David S. Miller <davem@davemloft.net>
1943
1944 * include/math_private.h: New file.
1945
1946 2012-03-09 Joseph Myers <joseph@codesourcery.com>
1947
1948 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1949 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1950 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1951 from <bits/socket_type.h>.
1952 (enum __socket_type): Don't define here.
1953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1955 bits/socket_type.h.
1956
1957 [BZ #13566]
1958 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1959 checking __USE_GNU.
1960
1961 * Makerules ($(inst_includedir)/%.h): New rule.
1962 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1963 (install-others): Remove variable setting.
1964 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1965
1966 2012-03-08 Richard Henderson <rth@twiddle.net>
1967
1968 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1969 from macro to inline function; merge with the
1970 !__LIBC_INTERNAL_MATH_INLINES version.
1971 (__ieee754_sqrtf): Likewise.
1972
1973 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1974 to inline function.
1975 (__rintf, __floor, __floorf): Likewise.
1976
1977 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1978 macro to inline function.
1979 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1980
1981 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1982 not <math/math_private.h>.
1983
1984 2012-03-08 David S. Miller <davem@davemloft.net>
1985
1986 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1987 copyright year.
1988 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1989
1990 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1991
1992 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1993 normalization.
1994 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1995 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1996
1997 2012-03-08 Ulrich Drepper <drepper@gmail.com>
1998
1999 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2000 be defined individually, they must be defined as a block. Define
2001 S for printing a string instead of hidint the different by using a
2002 macro for adding the 'l'.
2003 * stdio-common/tst-fphex-wide.c: Adjust.
2004
2005 2012-03-07 Marek Polacek <polacek@redhat.com>
2006
2007 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2008
2009 2012-03-08 Marek Polacek <polacek@redhat.com>
2010
2011 [BZ #13806]
2012 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2013 * stdio-common/tst-fphex.c: Define a few macros to make the
2014 test reusable. Use them.
2015 * stdio-common/tst-fphex-wide.c: New file.
2016
2017 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2018
2019 [BZ #6911]
2020 * manual/macros.texi (gnusystems): New macro.
2021 (nongnusystems): Likewise.
2022 (gnulinuxhurdsystems): Likewise.
2023 (gnuhurdsystems): Likewise..
2024 (gnulinuxsystems): Likewise.
2025 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2026 variants of the GNU system, not "GNU system".
2027 * manual/conf.texi: Likewise.
2028 * manual/errno.texi: Likewise. Update example of errno macro
2029 expansion.
2030 * manual/filesys.texi: Likewise.
2031 (getumask): Document as specific to GNU/Hurd.
2032 * manual/install.texi: Likewise. Reword some references to
2033 GNU/Linux.
2034 * manual/intro.texi: Likewise.
2035 * manual/io.texi: Likewise.
2036 (File Name Portability): Detail which constraints are inapplicable
2037 to all GNU systems and which are only inapplicable to GNU/Hurd.
2038 * manual/job.texi: Likewise.
2039 * manual/llio.texi: Likewise.
2040 (O_NOCTTY): Document as present on GNU/Linux.
2041 * manual/maint.texi: Likewise.
2042 * manual/memory.texi: Likewise.
2043 * manual/pattern.texi: Likewise.
2044 * manual/pipe.texi: Likewise.
2045 * manual/process.texi: Likewise.
2046 * manual/resource.texi: Likewise.
2047 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2048 child on GNU/Hurd.
2049 * manual/setjmp.texi: Likewise.
2050 * manual/signal.texi: Likewise.
2051 * manual/startup.texi: Likewise.
2052 * manual/stdio.texi: Likewise.
2053 * manual/terminal.texi: Likewise.
2054 (ONLCR): Document as POSIX.
2055 (OXTABS): Document availability on GNU/Linux as XTABS.
2056 (ONOEOT): Document availability separately from other bits.
2057 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2058 * manual/time.texi: Likewise.
2059 * manual/users.texi: Likewise.
2060 * INSTALL: Regenerated.
2061 * sysdeps/gnu/errlist.c: Regenerated.
2062
2063 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2064 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2065 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2066 puts.
2067 * configure: Regenerated.
2068
2069 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2070
2071 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2072 default includes instead of AC_HEADER_CHECK.
2073 * sysdeps/i386/configure: Regenerated.
2074
2075 [BZ #10716]
2076 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2077 * math/s_cacoshf.c (__cacoshf): Likewise.
2078 * math/s_cacoshl.c (__cacoshl): Likewise.
2079 * math/s_casinh.c (__casinh): Set signs of result from argument.
2080 * math/s_casinhf.c (__casinhf): Likewise.
2081 * math/s_casinhl.c (__casinhl): Likewise.
2082 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2083 (casinh_test): Add more tests.
2084 * sysdeps/i386/fpu/libm-test-ulps: Update.
2085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2086
2087 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2088
2089 * po/zh_TW.po: Update from translation team.
2090
2091 * login/Makefile (distribute): Remove variable.
2092 * catgets/Makefile: Likewise.
2093 * mach/Makefile: Likewise.
2094 * malloc/Makefile: Likewise.
2095 * misc/Makefile: Likewise.
2096 * iconv/Makefile: Likewise.
2097 * nscd/Makefile: Likewise.
2098 * hurd/Makefile: Likewise.
2099 * manual/Makefile: Likewise.
2100 * locale/Makefile: Likewise.
2101 * intl/Makefile: Likewise.
2102 * conform/Makefile: Likewise.
2103 * nss/Makefile: Likewise.
2104 * time/Makefile: Likewise.
2105 * soft-fp/Makefile: Likewise.
2106 * dirent/Makefile: Likewise.
2107 * gmon/Makefile: Likewise.
2108 * po/Makefile: Likewise.
2109 * rt/Makefile: Likewise.
2110 * socket/Makefile: Likewise.
2111 * math/Makefile: Likewise.
2112 * signal/Makefile: Likewise.
2113 * debug/Makefile: Likewise.
2114 * elf/Makefile: Likewise.
2115 * timezone/Makefile: Likewise.
2116 * stdlib/Makefile: Likewise.
2117 * iconvdata/Makefile: Likewise.
2118 * sunrpc/Makefile: Likewise.
2119 * io/Makefile: Likewise.
2120 * argp/Makefile: Likewise.
2121 * inet/Makefile: Likewise.
2122 * hesiod/Makefile: Likewise.
2123 * grp/Makefile: Likewise.
2124 * csu/Makefile: Likewise.
2125 * wctype/Makefile: Likewise.
2126 * crypt/Makefile: Likewise.
2127 * libio/Makefile: Likewise.
2128 * string/Makefile: Likewise.
2129 * nis/Makefile: Likewise.
2130 * resolv/Makefile: Likewise.
2131 * stdio-common/Makefile: Likewise.
2132 * wcsmbs/Makefile: Likewise.
2133 * dlfcn/Makefile: Likewise.
2134 * posix/Makefile: Likewise.
2135
2136 * timezone/Makefile: Don't install timezone files, just the programs
2137 and scripts.
2138
2139 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2140
2141 * nss/databases.def: Add missing gshadow entry.
2142
2143 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2144
2145 2012-03-06 Marek Polacek <polacek@redhat.com>
2146
2147 [BZ #13726]
2148 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2149 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2150 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2151 * stdio-common/tst-long-dbl-fphex.c: New file.
2152
2153 2012-03-06 David S. Miller <davem@davemloft.net>
2154
2155 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2156 (set_obp_int): New function.
2157 (get_obp_int): New function.
2158 (__get_clockfreq_via_dev_openprom): Likewise.
2159 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2160 Avoid unused variable warnings on 'val' and use builtin_expect.
2161 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2162 __builtin_expect.
2163 (INLINE_CLONE_SYSCALL): Likewise.
2164
2165 2012-03-05 David S. Miller <davem@davemloft.net>
2166
2167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2168
2169 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2170
2171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2172
2173 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2174 only for |x| >= 40.
2175 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2176
2177 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2178
2179 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2180 Replace gettimeofday with __vdso_gettimeofday.
2181
2182 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2183 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2184 __vdso_clock_gettime and __vdso_getcpu.
2185
2186 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2187 time with __vdso_time.
2188
2189 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2190
2191 * manual/lang.texi (size_t): Note types to which size_t may be
2192 equivalent with the GNU C Library, but do not describe when
2193 differences between them are significant.
2194
2195 2012-03-05 Andreas Jaeger <aj@suse.de>
2196
2197 * sysdeps/i386/fpu/libm-test-ulps: Update.
2198
2199 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2200
2201 [BZ #3976]
2202 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2203 (__ieee754_pow): Save and restore rounding mode and use
2204 round-to-nearest for main computations.
2205 * math/libm-test.inc (pow_test_tonearest): New function.
2206 (pow_test_towardzero): Likewise.
2207 (pow_test_downward): Likewise.
2208 (pow_test_upward): Likewise.
2209 (main): Call the new functions.
2210 * sysdeps/i386/fpu/libm-test-ulps: Update.
2211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2212
2213 [BZ #3976]
2214 * math/libm-test.inc (cosh_test_tonearest): New function.
2215 (cosh_test_towardzero): Likewise.
2216 (cosh_test_downward): Likewise.
2217 (cosh_test_upward): Likewise.
2218 (sinh_test_tonearest): Likewise.
2219 (sinh_test_towardzero): Likewise.
2220 (sinh_test_downward): Likewise.
2221 (sinh_test_upward): Likewise.
2222 (main): Call the new functions.
2223 * sysdeps/i386/fpu/libm-test-ulps: Update.
2224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2225
2226 2012-03-05 Tom de Vries <tom@codesourcery.com>
2227
2228 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2229 default stack guard is set in last bytes.
2230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2231
2232 2012-03-05 Kees Cook <keescook@chromium.org>
2233
2234 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2235
2236 [BZ #13656]
2237 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2238 possibly allocate from heap instead of stack.
2239 * stdio-common/bug-vfprintf-nargs.c: New file.
2240 * stdio-common/Makefile (tests): Add nargs overflow test.
2241
2242 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2243
2244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2245
2246 2012-03-03 Marek Polacek <polacek@redhat.com>
2247
2248 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2249 * math/math_private.h: Likewise.
2250 * stdlib/tst-strtod.c: Likewise.
2251 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2252 * sysdeps/x86_64/bits/atomic.h: Likewise.
2253
2254 2012-03-02 David S. Miller <davem@davemloft.net>
2255
2256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2260 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2261 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2262 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2263 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2264
2265 2012-03-02 Roland McGrath <roland@hack.frob.com>
2266
2267 [BZ #13792]
2268 * manual/examples/README: New file, says the example source files
2269 can be used under GPL>=2.
2270 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2271 line containing just "*/".
2272 * manual/examples/add.c: Add copyright header (GPL>=2).
2273 * manual/examples/argp-ex1.c: Likewise.
2274 * manual/examples/argp-ex2.c: Likewise.
2275 * manual/examples/argp-ex3.c: Likewise.
2276 * manual/examples/argp-ex4.c: Likewise.
2277 * manual/examples/atexit.c: Likewise.
2278 * manual/examples/db.c: Likewise.
2279 * manual/examples/dir.c: Likewise.
2280 * manual/examples/dir2.c: Likewise.
2281 * manual/examples/execinfo.c: Likewise.
2282 * manual/examples/filecli.c: Likewise.
2283 * manual/examples/filesrv.c: Likewise.
2284 * manual/examples/fmtmsgexpl.c: Likewise.
2285 * manual/examples/genpass.c: Likewise.
2286 * manual/examples/inetcli.c: Likewise.
2287 * manual/examples/inetsrv.c: Likewise.
2288 * manual/examples/isockad.c: Likewise.
2289 * manual/examples/longopt.c: Likewise.
2290 * manual/examples/memopen.c: Likewise.
2291 * manual/examples/memstrm.c: Likewise.
2292 * manual/examples/mkfsock.c: Likewise.
2293 * manual/examples/mkisock.c: Likewise.
2294 * manual/examples/mygetpass.c: Likewise.
2295 * manual/examples/pipe.c: Likewise.
2296 * manual/examples/popen.c: Likewise.
2297 * manual/examples/rprintf.c: Likewise.
2298 * manual/examples/search.c: Likewise.
2299 * manual/examples/select.c: Likewise.
2300 * manual/examples/setjmp.c: Likewise.
2301 * manual/examples/sigh1.c: Likewise.
2302 * manual/examples/sigusr.c: Likewise.
2303 * manual/examples/stpcpy.c: Likewise.
2304 * manual/examples/strdupa.c: Likewise.
2305 * manual/examples/strftim.c: Likewise.
2306 * manual/examples/strncat.c: Likewise.
2307 * manual/examples/subopt.c: Likewise.
2308 * manual/examples/swapcontext.c: Likewise.
2309 * manual/examples/termios.c: Likewise.
2310 * manual/examples/testopt.c: Likewise.
2311 * manual/examples/testpass.c: Likewise.
2312 * manual/examples/timeval_subtract.c: Likewise.
2313
2314 [BZ #13792]
2315 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2316 function to ...
2317 * manual/timeval_subtract.c.texi: ... here, new file.
2318
2319 2012-03-02 David S. Miller <davem@davemloft.net>
2320
2321 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2322
2323 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2324
2325 [BZ #3976]
2326 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2327 (__sin): Save and restore rounding mode and use round-to-nearest
2328 for all computations.
2329 (__cos): Save and restore rounding mode and use round-to-nearest
2330 for all computations.
2331 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2332 <fenv.h>.
2333 (tan): Save and restore rounding mode and use round-to-nearest for
2334 all computations.
2335 * math/libm-test.inc (cos_test_tonearest): New function.
2336 (cos_test_towardzero): Likewise.
2337 (cos_test_downward): Likewise.
2338 (cos_test_upward): Likewise.
2339 (sin_test_tonearest): Likewise.
2340 (sin_test_towardzero): Likewise.
2341 (sin_test_downward): Likewise.
2342 (sin_test_upward): Likewise.
2343 (tan_test_tonearest): Likewise.
2344 (tan_test_towardzero): Likewise.
2345 (tan_test_downward): Likewise.
2346 (tan_test_upward): Likewise.
2347 (main): Call the new functions.
2348 * sysdeps/i386/fpu/libm-test-ulps: Update.
2349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2350
2351 [BZ #10135]
2352 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2353 small n, then large n, before computing and testing k+n.
2354 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2355 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2356 Likewise.
2357 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2358 Likewise.
2359 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2360 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2361 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2362 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2363 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2364 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2365 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2366 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2367 * math/libm-test.inc (scalbn_test): Add more tests.
2368 (scalbln_test): Likewise.
2369
2370 * manual/filesys.texi (mode_t): Describe constraints on size and
2371 signedness, not exact equivalence to a particular type.
2372 (ino_t): Likewise.
2373 (ino64_t): Likewise.
2374 (dev_t): Likewise.
2375 (nlink_t): Likewise.
2376 (blkcnt_t): Likewise.
2377 (blkcnt64_t): Likewise.
2378 * manual/llio.texi (off_t): Likewise.
2379
2380 [BZ #3976]
2381 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2382 (__ieee754_exp): Save and restore rounding mode and use
2383 round-to-nearest for all computations.
2384 * math/libm-test.inc (exp_test_tonearest): New function.
2385 (exp_test_towardzero): Likewise.
2386 (exp_test_downward): Likewise.
2387 (exp_test_upward): Likewise.
2388 (main): Call the new functions.
2389 * sysdeps/i386/fpu/libm-test-ulps: Update.
2390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2391
2392 2012-03-01 Chris Demetriou <cgd@google.com>
2393
2394 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2395 have predictable order.
2396
2397 2012-03-01 David S. Miller <davem@davemloft.net>
2398
2399 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2400
2401 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2402 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2403 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2404 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2405
2406 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2407 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2408 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2410 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2411 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2412 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2413 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2414 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2415
2416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2417
2418 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2419 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2420 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2421
2422 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2423 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2424 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2425 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2426 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2427 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2428 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2429 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2430 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2431 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2432 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2433 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2434 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2435 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2436 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2438 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2439 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2440 * sysdeps/sparc/elf/configure: Regenerated.
2441
2442 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2443
2444 * configure.in (AS, LD): Require binutils 2.20 or later.
2445 * configure: Regenerated.
2446 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2447 as required minimum version.
2448 * INSTALL: Regenerated.
2449
2450 [BZ #2541]
2451 [BZ #4108]
2452 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2453 before squaring exponent.
2454 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2455 bottom long double and 27 bits of top long double before squaring
2456 exponent.
2457 * math/libm-test.inc (erfc_test): Add more tests.
2458 * sysdeps/i386/fpu/libm-test-ulps: Update.
2459 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2461
2462 2012-03-01 Kai Tietz <ktietz@redhat.com>
2463
2464 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2465 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2466 containing bit-fields.
2467 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2468 * soft-fp/single.h (_FP_UNION_S): Likewise.
2469 * soft-fp/double.h (_FP_UNION_D): Likewise.
2470
2471 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2472
2473 [BZ #13786]
2474 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2475 not include ../strcmp.S.
2476 [USE_AS_STRNCASECMP_L]: Likewise.
2477 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2478 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2479 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2480 (__strncasecmp_l_ia32): Define as alias to
2481 __strncasecmp_l_nonascii.
2482
2483 [BZ #5794]
2484 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2485 * sysdeps/i386/fpu/libm-test-ulps: Update.
2486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2487
2488 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2490
2491 2012-02-29 Jeff Law <law@redhat.com>
2492
2493 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2494 out of bounds read.
2495
2496 2012-02-29 Marek Polacek <polacek@redhat.com>
2497
2498 [BZ #13706]
2499 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2500 * elf/Makefile: Add rules to run tst-unused-dep.out.
2501
2502 2012-02-28 David S. Miller <davem@davemloft.net>
2503
2504 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2505 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2506 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2507 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2508 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2509 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2510
2511 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2512
2513 * math/libm-test.inc (llround_test): Move one test from
2514 lround_test. Use TEST_f_L in moved test.
2515 (lround_test): Move misplaced test to llround_test. Add testcase
2516 from bug 2561.
2517
2518 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2519
2520 * sysdeps/x86_64/fpu/e_expf.S: New file.
2521 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2522
2523 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2524
2525 [BZ #13637]
2526 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2527 of remain_len that may cause incomplete multi-byte character and
2528 false match.
2529 * posix/bug-regex33.c: New file.
2530 * posix/Makefile (tests): Add bug-regex33.
2531
2532 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2533
2534 * manual/macros.texi: New file.
2535 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2536 * manual/libc.texinfo: Include macros.texi.
2537 * manual/creatute.texi: Likewise.
2538 * manual/install.texi: Likewise.
2539 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2540 @glibcadj{} in references to the GNU C Library.
2541 * manual/charset.texi: Likewise.
2542 * manual/conf.texi: Likewise.
2543 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2544 when not using those macros.
2545 * manual/creature.texi: Likewise.
2546 * manual/crypt.texi: Likewise.
2547 * manual/errno.texi: Likewise.
2548 * manual/filesys.texi: Likewise.
2549 * manual/header.texi: Likewise.
2550 * manual/install.texi: Likewise.
2551 * manual/intro.texi: Likewise.
2552 * manual/io.texi: Likewise.
2553 * manual/job.texi: Likewise.
2554 * manual/lang.texi: Likewise.
2555 * manual/libc.texiinfo: Likewise.
2556 * manual/llio.texi: Likewise.
2557 * manual/locale.texi: Likewise.
2558 * manual/maint.texi: Likewise.
2559 * manual/math.texi: Likewise.
2560 * manual/memory.texi: Likewise.
2561 * manual/message.texi: Likewise.
2562 * manual/nss.texi: Likewise.
2563 * manual/pattern.texi: Likewise.
2564 * manual/process.texi: Likewise.
2565 * manual/resource.texi: Likewise.
2566 * manual/search.texi: Likewise.
2567 * manual/setjmp.texi: Likewise.
2568 * manual/signal.texi: Likewise.
2569 * manual/socket.texi: Likewise.
2570 * manual/startup.texi: Likewise.
2571 * manual/stdio.texi: Likewise.
2572 * manual/string.texi: Likewise.
2573 * manual/sysinfo.texi: Likewise.
2574 * manual/syslog.texi: Likewise.
2575 * manual/terminal.texi: Likewise.
2576 * manual/time.texi: Likewise.
2577 * manual/users.texi: Likewise.
2578 * INSTALL: Regenerated.
2579 * NOTES: Regenerated.
2580 * sysdeps/gnu/errlist.c: Regenerated.
2581
2582 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2583
2584 * include/dirent.h: Include <dirstream.h> before
2585 <dirent/dirent.h>.
2586
2587 2012-02-28 David S. Miller <davem@davemloft.net>
2588
2589 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2590 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2591 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2592 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2593
2594 2012-02-27 David S. Miller <davem@davemloft.net>
2595
2596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2598 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2599 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2600
2601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2602 frame pointer instead of stack pointer relative arg slot.
2603 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2604 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2605 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2606
2607 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2608
2609 [BZ #3992]
2610 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2611
2612 2012-02-27 David S. Miller <davem@davemloft.net>
2613
2614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2618 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2619 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2620 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2621 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2622
2623 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2624
2625 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2626 later. Allow versions 5-9.
2627 * configure: Regenerated.
2628 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2629 required minimum version and 4.6 as recommended version. Do not
2630 mention bugs in GCC 2.7 and 2.8.
2631 * INSTALL: Regenerated.
2632
2633 2012-02-27 David S. Miller <davem@davemloft.net>
2634
2635 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2639 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2640 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2641 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2642 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2643
2644 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2645 manipulate bits before adding and subtracting TWO112[sx].
2646 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2647
2648 2012-02-27 Roland McGrath <roland@hack.frob.com>
2649
2650 [BZ #13775]
2651 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2652 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2653 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2654 being in POSIX, because they are in 1003.1-2008.
2655
2656 * rt/tst-aio.c: Include <fcntl.h>.
2657 * rt/tst-aio7.c: Likewise.
2658 * rt/tst-aio64.c: Likewise.
2659
2660 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2661
2662 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2663
2664 * manual/install.texi (--with-headers): Describe headers as
2665 interface headers, not private headers.
2666 (Specific advice for GNU/Linux systems): Describe use of headers
2667 from "make headers_install", not private headers from older
2668 kernels.
2669 * INSTALL: Regenerated.
2670 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2671 Change to 2.6.19.
2672 * sysdeps/unix/sysv/linux/configure: Regenerated.
2673
2674 * manual/llio.texi (fclean): Remove documentation.
2675
2676 * manual/Makefile (libc-texi-generated): New variable. Include
2677 version.texi.
2678 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2679 $(libc-texi-generated), not duplicated list of files.
2680 (version.texi, stamp-version): New rules.
2681 (realclean): Remove $(libc-texi-generated), not individual files
2682 from that list. Do not remove dir-add.texinfo.
2683 * manual/libc.texinfo: Comment out uses of edition numbers and
2684 references to printed manual. Remove last-updated dates.
2685 (EDITION): Comment out.
2686 (ISBN): Likewise.
2687 (VERSION, UPDATED): Remove.
2688 (version.texi): Include.
2689
2690 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2691
2692 * sysdeps/posix/spawni.c: Include <signal.h>.
2693 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2694 * sysdeps/pthread/aio_fsync.c: Likewise.
2695
2696 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2697
2698 * conform/Makefile (tests): Run only when not cross-compiling and
2699 when fast-check is not defined.
2700
2701 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2702 * conform/data/limits.h-data: Fixes for POSIX2008.
2703 * conform/run-conformtest.sh: Run all tests.
2704 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2705 headers.
2706 * include/bits/dlfcn.h: Likewise.
2707 * include/langinfo.h: Likewise.
2708 * include/monetary.h: Likewise.
2709 * include/sys/poll.h: Likewise.
2710
2711 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2712 for __USE_GNU.
2713 * posix/spawn.h: Define __need_sigset_t.
2714 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2715 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2716 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2717 to get sigevent_t only.
2718 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2719 only for __USE_GNU.
2720 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2721 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2722 process_vm_writev only for __USE_GNU.
2723 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2724
2725 * conform/Makefile: For now ignore errors from run-conformtest.
2726 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2727 POSIX to avoid namespace pollution. Don't prepend headers.
2728 * conform/data/aio.h-data: Fixes for POSIX testing.
2729 * conform/data/fcntl.h-data: Likewise.
2730 * conform/data/glob.h-data: Likewise.
2731 * conform/data/grp.h-data: Likewise.
2732 * conform/data/pthread.h-data: Likewise.
2733 * conform/data/pwd.h-data: Likewise.
2734 * conform/data/signal.h-data: Likewise.
2735 * conform/data/spawn.h-data: Likewise.
2736 * conform/data/stdio.h-data: Likewise.
2737 * conform/data/stdlib.h-data: Likewise.
2738 * conform/data/stropts.h-data: Likewise.
2739 * conform/data/sys/mman.h-data: Likewise.
2740 * conform/data/sys/stat.h-data: Likewise.
2741 * conform/data/sys/types.h-data: Likewise.
2742 * conform/data/sys/wait.h-data: Likewise.
2743 * conform/data/time.h-data: Likewise.
2744 * conform/data/unistd.h-data: Likewise.
2745 * conform/data/utime.h-data: Likewise.
2746
2747 * io/sys/stat.h: fchmod was always in POSIX.
2748 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2749 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2750 * rt/aio.h: Define __need_timespec before including <time.h>.
2751 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2752 struct. Add forward declaration of pthread_attr_t and use it in
2753 sigevent.
2754 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2755 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2756 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2757 always remove CLK_TCK definition.
2758
2759 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2760
2761 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2762
2763 2012-02-25 Ulrich Drepper <drepper@gmail.com>
2764
2765 * conform/run-conformtest.sh: New file.
2766 * conform/Makefile: Run run-conformtest for tests.
2767 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2768 support.
2769
2770 * conform/data/uchar.h-data: New file.
2771 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2772 * conform/data/arpa/inet.h-data: Likewise.
2773 * conform/data/assert.h-data: Likewise.
2774 * conform/data/complex.h-data: Likewise.
2775 * conform/data/cpio.h-data: Likewise.
2776 * conform/data/ctype.h-data: Likewise.
2777 * conform/data/dirent.h-data: Likewise.
2778 * conform/data/dlfcn.h-data: Likewise.
2779 * conform/data/errno.h-data: Likewise.
2780 * conform/data/fcntl.h-data: Likewise.
2781 * conform/data/float.h-data: Likewise.
2782 * conform/data/fmtmsg.h-data: Likewise.
2783 * conform/data/fnmatch.h-data: Likewise.
2784 * conform/data/ftw.h-data: Likewise.
2785 * conform/data/glob.h-data: Likewise.
2786 * conform/data/grp.h-data: Likewise.
2787 * conform/data/iconv.h-data: Likewise.
2788 * conform/data/inttypes.h-data: Likewise.
2789 * conform/data/langinfo.h-data: Likewise.
2790 * conform/data/libgen.h-data: Likewise.
2791 * conform/data/limits.h-data: Likewise.
2792 * conform/data/locale.h-data: Likewise.
2793 * conform/data/math.h-data: Likewise.
2794 * conform/data/monetary.h-data: Likewise.
2795 * conform/data/mqueue.h-data: Likewise.
2796 * conform/data/ndbm.h-data: Likewise.
2797 * conform/data/net/if.h-data: Likewise.
2798 * conform/data/netdb.h-data: Likewise.
2799 * conform/data/netinet/in.h-data: Likewise.
2800 * conform/data/nl_types.h-data: Likewise.
2801 * conform/data/poll.h-data: Likewise.
2802 * conform/data/pthread.h-data: Likewise.
2803 * conform/data/pwd.h-data: Likewise.
2804 * conform/data/regex.h-data: Likewise.
2805 * conform/data/sched.h-data: Likewise.
2806 * conform/data/search.h-data: Likewise.
2807 * conform/data/semaphore.h-data: Likewise.
2808 * conform/data/setjmp.h-data: Likewise.
2809 * conform/data/signal.h-data: Likewise.
2810 * conform/data/spawn.h-data: Likewise.
2811 * conform/data/stdarg.h-data: Likewise.
2812 * conform/data/stdio.h-data: Likewise.
2813 * conform/data/stdlib.h-data: Likewise.
2814 * conform/data/string.h-data: Likewise.
2815 * conform/data/strings.h-data: Likewise.
2816 * conform/data/stropts.h-data: Likewise.
2817 * conform/data/sys/ipc.h-data: Likewise.
2818 * conform/data/sys/mman.h-data: Likewise.
2819 * conform/data/sys/msg.h-data: Likewise.
2820 * conform/data/sys/resource.h-data: Likewise.
2821 * conform/data/sys/select.h-data: Likewise.
2822 * conform/data/sys/sem.h-data: Likewise.
2823 * conform/data/sys/shm.h-data: Likewise.
2824 * conform/data/sys/socket.h-data: Likewise.
2825 * conform/data/sys/stat.h-data: Likewise.
2826 * conform/data/sys/statvfs.h-data: Likewise.
2827 * conform/data/sys/time.h-data: Likewise.
2828 * conform/data/sys/timeb.h-data: Likewise.
2829 * conform/data/sys/times.h-data: Likewise.
2830 * conform/data/sys/types.h-data: Likewise.
2831 * conform/data/sys/uio.h-data: Likewise.
2832 * conform/data/sys/un.h-data: Likewise.
2833 * conform/data/sys/utsname.h-data: Likewise.
2834 * conform/data/sys/wait.h-data: Likewise.
2835 * conform/data/syslog.h-data: Likewise.
2836 * conform/data/tar.h-data: Likewise.
2837 * conform/data/termios.h-data: Likewise.
2838 * conform/data/utime.h-data: Likewise.
2839 * conform/data/utmpx.h-data: Likewise.
2840 * conform/data/varargs.h-data: Likewise.
2841 * conform/data/wchar.h-data: Likewise.
2842 * conform/data/wctype.h-data: Likewise.
2843 * conform/data/wordexp.h-data: Likewise.
2844
2845 * include/stropts.h: New file.
2846 * include/uchar.h: New file.
2847 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2848 * include/assert.h: Likewise.
2849 * include/ctype.h: Likewise.
2850 * include/dirent.h: Likewise.
2851 * include/dlfcn.h: Likewise.
2852 * include/fcntl.h: Likewise.
2853 * include/fnmatch.h: Likewise.
2854 * include/glob.h: Likewise.
2855 * include/grp.h: Likewise.
2856 * include/libio.h: Likewise.
2857 * include/locale.h: Likewise.
2858 * include/math.h: Likewise.
2859 * include/net/if.h: Likewise.
2860 * include/netdb.h: Likewise.
2861 * include/netinet/in.h: Likewise.
2862 * include/pthread.h: Likewise.
2863 * include/pwd.h: Likewise.
2864 * include/regex.h: Likewise.
2865 * include/sched.h: Likewise.
2866 * include/search.h: Likewise.
2867 * include/setjmp.h: Likewise.
2868 * include/signal.h: Likewise.
2869 * include/stdio.h: Likewise.
2870 * include/stdlib.h: Likewise.
2871 * include/string.h: Likewise.
2872 * include/sys/cdefs.h: Likewise.
2873 * include/sys/mman.h: Likewise.
2874 * include/sys/msg.h: Likewise.
2875 * include/sys/resource.h: Likewise.
2876 * include/sys/select.h: Likewise.
2877 * include/sys/socket.h: Likewise.
2878 * include/sys/stat.h: Likewise.
2879 * include/sys/statvfs.h: Likewise.
2880 * include/sys/time.h: Likewise.
2881 * include/sys/times.h: Likewise.
2882 * include/sys/uio.h: Likewise.
2883 * include/sys/utsname.h: Likewise.
2884 * include/sys/wait.h: Likewise.
2885 * include/termios.h: Likewise.
2886 * include/time.h: Likewise.
2887 * include/ulimit.h: Likewise.
2888 * include/unistd.h: Likewise.
2889 * include/utime.h: Likewise.
2890 * include/wchar.h: Likewise.
2891 * include/wctype.h: Likewise.
2892 * include/wordexp.h: Likewise.
2893
2894 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2895
2896 * time/time.h: TIME_UTC must be a macro.
2897 Make timespec_get available for ISO C11 only as well.
2898
2899 2012-02-24 Ulrich Drepper <drepper@gmail.com>
2900
2901 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2902 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2903
2904 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2905
2906 * configure.in: Use -o not -a in test for unsupported multi-arch.
2907
2908 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2909
2910 * manual/texinfo.tex: Update to version 2012-01-19.16.
2911
2912 2012-02-24 Joseph Myers <joseph@codesourcery.com>
2913
2914 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2915
2916 2012-02-24 Roland McGrath <roland@hack.frob.com>
2917
2918 [BZ #13738]
2919 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2920 * manual/fdl-1.3.texi: New file.
2921 * manual/fdl-1.1.texi: File removed.
2922
2923 [BZ #13738]
2924 * manual/libc.texinfo (FDL_VERSION): New @set.
2925 Use it for mention of FDL in cover text.
2926 (Documentation License): Use it in @include file name.
2927
2928 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2929 Roland McGrath <roland@hack.frob.com>
2930
2931 [BZ #5461]
2932 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2933 not LONG_LONG_MAX and LONG_LONG_MIN.
2934 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2935 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2936 name.
2937 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2938
2939 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2940
2941 [BZ #2547]
2942 [BZ #11365]
2943 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2944 manipulate bits before adding and subtracting TWO23[sx].
2945 * math/libm-test.inc (nearbyint_test): Add more tests.
2946
2947 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2948
2949 [BZ #2548]
2950 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2951 bits before adding and subtracting TWO23[sx].
2952 * math/libm-test.inc (rint_test): Add more tests.
2953 (rint_test_tonearest): Likewise.
2954 (rint_test_towardzero): Likewise.
2955 (rint_test_downward): Likewise.
2956 (rint_test_upward: Likewise.
2957
2958 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2959
2960 [BZ #10110]
2961 * include/stdc-predef.h: New file. Extracted from features.h.
2962 * include/features.h: Include stdc-predef.h.
2963 * Makefile (headers): Add stdc-predef.h.
2964 * CONFORMANCE (Compiler limitations): Update.
2965
2966 2012-02-22 Joseph Myers <joseph@codesourcery.com>
2967
2968 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2969
2970 2012-02-21 David S. Miller <davem@davemloft.net>
2971
2972 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2973 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2974
2975 2012-02-20 David S. Miller <davem@davemloft.net>
2976
2977 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2978 using a normal save/restore sequence, rather than allocating a
2979 dummy stack frame just to store a frame pointer and restore.
2980 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2981
2982 2012-02-21 Joseph Myers <joseph@codesourcery.com>
2983
2984 * manual/install.texi: Fix stray word in line-wrapped comment.
2985
2986 2012-02-20 David S. Miller <davem@davemloft.net>
2987
2988 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2989 both binutils and gcc support GOTDATA.
2990
2991 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2992 "rd %pc" in the PIC register setup sequences.
2993
2994 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2995 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2996 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2997 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2998 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2999 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3000 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3001 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3002 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3003 (SYSCALL_ERROR_HANDLER): Likewise.
3004 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3005 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3006 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3007 (SYSCALL_ERROR_HANDLER): Likewise.
3008
3009 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3010 (HAVE_GCC_GOTDATA): New.
3011 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3012 relocation support in both binutils and gcc.
3013 * sysdeps/sparc/elf/configure: Regenerate.
3014
3015 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3016 * sysdeps/sparc/sparc32/elf/configure: Delete.
3017 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3018 * sysdeps/sparc/sparc64/elf/configure: Delete.
3019 * sysdeps/sparc/elf/configure.in: New file.
3020 * sysdeps/sparc/elf/configure: Generate.
3021
3022 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3023 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3024 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3025 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3026 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3027
3028 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3029
3030 * manual/install.texi: Do not mention specific glibc version
3031 numbers.
3032 * manual/libc.texinfo (VERSION, UPDATED): Update.
3033 (@copying): Use @copyright{} and range of years.
3034
3035 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3036
3037 [BZ #13695]
3038 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3039 [crti.S not in sysdirs] (generated): Do not append.
3040 [crti.S not in sysdirs] (omit-deps): Likewise.
3041 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3042 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3043 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3044 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3045 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3046 Likewise.
3047 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3048 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3049 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3050 * csu/defs.awk: Remove file.
3051 * sysdeps/generic/initfini.c: Likewise.
3052 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3053 variable.
3054 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3055 Likewise.
3056
3057 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3058
3059 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3060 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3061 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3062 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3063 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3064 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3065 <bits/epoll.h>.
3066 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3067 (__EPOLL_PACKED): Define to empty if not defined by
3068 <bits/epoll.h>.
3069 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3071 bits/epoll.h.
3072
3073 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3074
3075 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3076 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3077 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3078 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3079 <bits/timerfd.h>.
3080 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3082 bits/timerfd.h.
3083
3084 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3085
3086 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3087 in C locale.
3088 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3089 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3090 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3092
3093 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3094
3095 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3096 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3097
3098 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3099
3100 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3101 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3102 defined.
3103 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3104 Likewise.
3105 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3106 entry for 2.16.
3107
3108 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3109
3110 * math/w_acos.c: Use non-signaling floating-point comparisons.
3111 * math/w_acosf.c: Likewise.
3112 * math/w_acosh.c: Likewise.
3113 * math/w_acoshf.c: Likewise.
3114 * math/w_acoshl.c: Likewise.
3115 * math/w_acosl.c: Likewise.
3116 * math/w_asin.c: Likewise.
3117 * math/w_asinf.c: Likewise.
3118 * math/w_asinl.c: Likewise.
3119 * math/w_atanh.c: Likewise.
3120 * math/w_atanhf.c: Likewise.
3121 * math/w_atanhl.c: Likewise.
3122 * math/w_exp2.c: Likewise.
3123 * math/w_exp2f.c: Likewise.
3124 * math/w_exp2l.c: Likewise.
3125 * math/w_j0.c: Likewise.
3126 * math/w_j0f.c: Likewise.
3127 * math/w_j0l.c: Likewise.
3128 * math/w_j1.c: Likewise.
3129 * math/w_j1f.c: Likewise.
3130 * math/w_j1l.c: Likewise.
3131 * math/w_jn.c: Likewise.
3132 * math/w_jnf.c: Likewise.
3133 * math/w_log.c: Likewise.
3134 * math/w_log10.c: Likewise.
3135 * math/w_log10f.c: Likewise.
3136 * math/w_log10l.c: Likewise.
3137 * math/w_log2.c: Likewise.
3138 * math/w_log2f.c: Likewise.
3139 * math/w_log2l.c: Likewise.
3140 * math/w_logf.c: Likewise.
3141 * math/w_logl.c: Likewise.
3142 * math/w_sqrt.c: Likewise.
3143 * math/w_sqrtf.c: Likewise.
3144 * math/w_sqrtl.c: Likewise.
3145 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3146 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3147 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3148 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3149 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3150
3151 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3152
3153 [BZ #9739]
3154 * manual/string.texi (strnlen): Use correct parameter name in
3155 equivalent expression.
3156
3157 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3158
3159 [BZ #11174]
3160 * manual/users.texi (seteuid): Consistently use neweuid for
3161 argument name.
3162
3163 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3164
3165 [BZ #13704]
3166 * manual/nss.texi (Services in the NSS configuration): Correct
3167 list of services in example configuration file.
3168
3169 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3170
3171 [BZ #11322]
3172 * manual/arith.texi: Remove statements about negative zero
3173 behaving identically to zero.
3174
3175 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3176
3177 [BZ #5993]
3178 * manual/install.texi: Do not document upgrading from libc5.
3179
3180 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3181
3182 [BZ #4596]
3183 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3184
3185 2012-02-18 David S. Miller <davem@davemloft.net>
3186
3187 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3188 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3189 %o7 across the call.
3190 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3191 instead.
3192 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3193 SETUP_PIC_REG_LEAF.
3194 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3195 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3196 * sysdeps/sparc/crtn.S: Likewise.
3197
3198 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3199
3200 * aout/Makefile: Remove.
3201
3202 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3203
3204 [BZ #13058]
3205 * manual/examples/argp-ex1.c (main): Format definition in GNU
3206 style.
3207 * manual/examples/argp-ex2.c (main): Likewise.
3208 * manual/examples/argp-ex3.c (main): Likewise.
3209 * manual/examples/argp-ex4.c (main): Likewise.
3210 * manual/examples/longopt.c (main): Use new-style prototype
3211 definition.
3212 * manual/examples/strncat.c (main): Specify return type and use
3213 (void) for arguments.
3214 * manual/examples/subopt.c (main): Use char **argv argument.
3215
3216 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3217
3218 [BZ #5077]
3219 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3220 rounding modes.
3221
3222 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3223
3224 [BZ #6907]
3225 * manual/string.texi (strchr): Change when strchrnul is
3226 recommended.
3227
3228 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3229
3230 [BZ #174]
3231 * manual/locale.texi (setlocale): Document LOCPATH.
3232
3233 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3234
3235 [BZ #10210]
3236 * manual/process.texi (execle): Move @dots{} before last argument.
3237
3238 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3239
3240 [BZ #12047]
3241 * manual/charset.texi (Generic Charset Conversion): Fix typo
3242 (LC_TYPE -> LC_CTYPE).
3243
3244 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3245
3246 [BZ #5805]
3247 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3248 (scalbnf): Likewise.
3249 (scalbnl): Likewise.
3250 (scalbln): Likewise.
3251 (scalblnf): Likewise.
3252 (scalblnl): Likewise.
3253 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3254 (vwarnx): Likewise.
3255 (verr): Likewise.
3256 (verrx): Likewise.
3257 * manual/filesys.texi (telldir): Use braces around return type.
3258 * manual/llio.texi (mmap): Add space after comma.
3259 (mmap64): Likewise.
3260 * manual/math.texi (jn): Use @var{} on parameter names.
3261 (jnf): Likewise.
3262 (jnl): Likewise.
3263 (yn): Likewise.
3264 (ynf): Likewise.
3265 (ynl): Likewise.
3266 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3267 line.
3268 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3269 "...".
3270 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3271 (sched_get_priority_max): Likewise.
3272 * manual/signal.texi (sigvec): Add space after comma.
3273 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3274 names.
3275 (if_indextoname): Likewise.
3276 (if_freenameindex): Likewise.
3277 (sendto): Use ',' instead of '.' in prototype.
3278 * manual/startup.texi (syscall): Use @dots{} instead of literal
3279 "...".
3280 * manual/stdio.texi (__fpending): Separate initial words of
3281 paragraph from @deftypefun line.
3282 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3283 "...".
3284 (vsyslog): Use @var{} on parameter names.
3285 * manual/terminal.texi (stty): Use @var{} on parameter names.
3286 * manual/users.texi (getutmp): Use @var{} on parameter names.
3287 (getutmpx): Likewise.
3288
3289 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3290
3291 [BZ #6884]
3292 * manual/stdio.texi (fopen): Fix typos in description of
3293 ",ccs=STRING".
3294
3295 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3296
3297 [BZ #4026]
3298 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3299 get clock_id definition.
3300
3301 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3302
3303 [BZ #4822]
3304 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3305 (madvise): Cast every argument to void on its own.
3306
3307 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3308
3309 [BZ #9902]
3310 * manual/startup.texi (Exit Status): Fix typo.
3311
3312 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3313
3314 [BZ #10140]
3315 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3316 * manual/examples/argp-ex2.c: Likewise.
3317 * manual/examples/argp-ex3.c: Likewise.
3318
3319 2012-02-16 Richard Henderson <rth@redhat.com>
3320
3321 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3322 * sysdeps/s390/s390-32/initfini.c: Remove.
3323 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3324 * sysdeps/s390/s390-64/initfini.c: Remove.
3325
3326 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3327
3328 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3329 compiler output for sysdeps/generic/initfini.c.
3330 * sysdeps/sh/elf/initfini.c: Remove file.
3331
3332 2012-02-16 David S. Miller <davem@davemloft.net>
3333
3334 [BZ #11494]
3335 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3336
3337 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3338 * sysdeps/sparc/crti.S: New file.
3339 * sysdeps/sparc/crtn.S: New file.
3340 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3341 * sysdeps/sparc/sparc64/Makefile: Likewise.
3342
3343 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3344
3345 [BZ #3335]
3346 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3347
3348 2012-02-15 Roland McGrath <roland@hack.frob.com>
3349
3350 [BZ #4822]
3351 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3352
3353 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3354 (write, read, close): Likewise.
3355 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3356
3357 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3358
3359 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3360 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3361 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3362 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3363 <bits/signalfd.h>.
3364 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3366 bits/signalfd.h.
3367
3368 2012-02-14 Marek Polacek <polacek@redhat.com>
3369
3370 * sysdeps/x86_64/crti.S: New file.
3371 * sysdeps/x86_64/crtn.S: New file.
3372 * sysdeps/x86_64/elf/initfini.c: Remove file.
3373
3374 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3375
3376 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3377 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3378 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3379 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3380 <bits/inotify.h>.
3381 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3383 bits/inotify.h.
3384
3385 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3386
3387 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3388 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3389 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3390 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3391 <bits/eventfd.h>.
3392 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3393 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3394 bits/eventfd.h.
3395
3396 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3397
3398 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3399 __feraiseexcept instead of feraiseexcept.
3400
3401 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3402 nanosleep invocations.
3403 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3404 strings, and add error checking for a nanosleep invocations.
3405
3406 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3407
3408 Replace FSF snail mail address with URLs, as per GNU coding standards.
3409 Most of the snail mail addresses were wrong anyway, and omitting
3410 them makes the source code easier to maintain. Almost all of the
3411 changes are to license notices and to locale LC_IDENTIFICATION
3412 addresses, except for this one:
3413 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3414 not its snail mail address.
3415
3416 2012-02-09 Richard Henderson <rth@twiddle.net>
3417
3418 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3419 of kernel-features.h.
3420
3421 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3422
3423 2012-02-08 Marek Polacek <polacek@redhat.com>
3424
3425 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3426 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3427 * sysdeps/gnu/_G_config.h: Likewise.
3428 * sysdeps/generic/_G_config.h: Likewise.
3429
3430 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3431
3432 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3433 tests.
3434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3435
3436 * sysdeps/powerpc/powerpc32/crti.S: New file.
3437 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3438 * sysdeps/powerpc/powerpc64/crti.S: New file.
3439 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3440
3441 * Makeconfig (have-initfini): Don't set.
3442 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3443 * configure.in (nopic_initfini): Don't substitute.
3444 * config.h.in (HAVE_INITFINI): Don't #undef.
3445 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3446 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3447
3448 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3449
3450 Support crti.S and crtn.S provided directly by architectures.
3451 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3452 [crti.S in sysdirs] (omit-deps): Likewise.
3453 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3454 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3455 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3456 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3457 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3458 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3459 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3460 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3461 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3462 compiler output for sysdeps/generic/initfini.c.
3463 * sysdeps/i386/elf/Makefile: Remove file.
3464 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3465
3466 2012-02-07 Marek Polacek <polacek@redhat.com>
3467
3468 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3469 * sysdeps/gnu/_G_config.h: Likewise.
3470 * sysdeps/mach/hurd/_G_config.h: Likewise.
3471
3472 2012-02-07 Marek Polacek <polacek@redhat.com>
3473
3474 * math/Makefile (tests): Add tst-CMPLX2.
3475 * math/tst-CMPLX2.c: New file.
3476
3477 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3478
3479 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3480
3481 * math/libm-test.inc (jn_test): Add missing L suffix.
3482
3483 2012-02-06 Marek Polacek <polacek@redhat.com>
3484
3485 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3486 * sysdeps/i386/fpu/e_powf.S: Likewise.
3487 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3488 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3489 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3490 * sysdeps/i386/fpu/e_pow.S: Likewise.
3491 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3492 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3493 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3494 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3495 * sysdeps/i386/fpu/e_log2.S: Likewise.
3496 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3497 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3498 * sysdeps/i386/fpu/e_powl.S: Likewise.
3499 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3500 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3501 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3502 * sysdeps/i386/fpu/e_logl.S: Likewise.
3503 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3504 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3505 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3506 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3507 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3508 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3509 * sysdeps/i386/fpu/e_log.S: Likewise.
3510 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3511 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3512 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3513 * sysdeps/i386/fpu/e_logf.S: Likewise.
3514 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3515 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3516 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3517 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3518 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3519 * sysdeps/i386/fpu/e_log10.S: Likewise.
3520 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3521 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3522 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3523 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3524 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3525 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3526 * sysdeps/i386/asm-syntax.h: Likewise.
3527 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3528 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3529 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3530 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3531 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3532 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3533 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3534 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3535 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3536 * sysdeps/powerpc/sysdep.h: Likewise.
3537 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3538 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3539
3540 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3541
3542 [BZ #411]
3543 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3544
3545 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3546
3547 * sysdeps/i386/sysdep.h: Include <features.h>.
3548 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3549 version.
3550
3551 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3552
3553 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3554 Define.
3555 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3556 LOAD_PIC_REG_STR.
3557
3558 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3559
3560 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3561 (SETUP_PIC_REG): Use GET_PC_THUNK.
3562 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3563 macro.
3564
3565 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3566
3567 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3568 for non-PIC compilation.
3569 (SETUP_PIC_REG): Add .p2align directive.
3570 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3571 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3572 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3573 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3574 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3575 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3576 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3577 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3578 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3579 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3580 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3581 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3582 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3583 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3584 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3585 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3586 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3587 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3588 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3589 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3590 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3591 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3592 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3593 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3594 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3595 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3596 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3597 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3598 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3599 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3600 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3601 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3602 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3603 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3604 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3605 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3606 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3607 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3608 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3609 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3610 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3611
3612 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3613
3614 * math/tst-CMPLX.c: Include <stdio.h>.
3615
3616 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3617
3618 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3619 float.
3620 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3621 * sysdeps/sparc/bits/mathdef.h: Likewise.
3622
3623 2012-01-31 Marek Polacek <polacek@redhat.com>
3624
3625 * libio/libio.h: Don't define _PARAMS.
3626 * locale/programs/config.h: Don't define PARAMS.
3627 * stdlib/strtol_l.c: Likewise.
3628 (__strtol_l): Remove PARAMS from the prototype.
3629
3630 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3631
3632 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3633 names. Just use the correct names. Remove unnecessary wrapper
3634 functions.
3635 * malloc/arena.c: Likewise.
3636 * malloc/hooks.c: Likewise.
3637
3638 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3639 ARENA_TEST says not to. Simplify test for creation of a new arena.
3640 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3641
3642 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3643
3644 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3645 into tail calls.
3646 (update_get_addr): New function.
3647 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3648 GET_ADDR_MODULE parameter.
3649
3650 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3651
3652 * crypt/cert.c: Remove __STDC__ conditionals.
3653 * crypt/crypt-entry.c: Likewise.
3654 * crypt/crypt_util.c: Likewise.
3655 * libio/filedoalloc.c: Likewise.
3656 * libio/fileops.c: Likewise.
3657 * libio/genops.c: Likewise.
3658 * libio/iofclose.c: Likewise.
3659 * libio/iofdopen.c: Likewise.
3660 * libio/iofopen.c: Likewise.
3661 * libio/iofopen64.c: Likewise.
3662 * libio/iogetdelim.c: Likewise.
3663 * libio/iopopen.c: Likewise.
3664 * libio/obprintf.c: Likewise.
3665 * libio/oldfileops.c: Likewise.
3666 * libio/oldiofclose.c: Likewise.
3667 * libio/oldiofdopen.c: Likewise.
3668 * libio/oldiofopen.c: Likewise.
3669 * libio/oldiopopen.c: Likewise.
3670 * libio/wfiledoalloc.c: Likewise.
3671 * libio/wgenops.c: Likewise.
3672 * locale/programs/xmalloc.c: Likewise.
3673 * misc/syslog.c: Likewise.
3674 * stdio-common/xbug.c: Likewise.
3675 * string/memchr.c: Likewise.
3676 * string/memcmp.c: Likewise.
3677 * string/memrchr.c: Likewise.
3678 * string/rawmemchr.c: Likewise.
3679 * sysdeps/posix/getcwd.c: Likewise.
3680 * time/strftime_l.c: Likewise.
3681
3682 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3683
3684 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3685 * config.make.in (config-cflags-sse2avx): Define.
3686 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3687 Fix typo.
3688
3689 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3690
3691 * scripts/config.guess: Update from upstream config git repository.
3692 * scripts/config.sub: Likewise.
3693
3694 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3695
3696 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3697 (EM_NUM): Update.
3698 (R_TILEPRO_*, R_TILEGX_*): New macros.
3699
3700 * scripts/firstversions.awk: Fix bug in version range handling.
3701
3702 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3703
3704 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3705
3706 * include/sys/epoll.h: New file.
3707 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3708 libc_hidden_def.
3709
3710 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3711
3712 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3713 Avoid unnecessary __WORDSIZE == 64 test.
3714 (fmaxf): Use VEX format if possible.
3715 (fmax): Likewise.
3716 (fminf): Likewise.
3717 (fmin): Likewise.
3718
3719 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3720 * math/math_private.h: Remove libc_fegetround* and
3721 libc_fesetround*.
3722 * sysdeps/i386/configure.in: Check for -msse2avx.
3723 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3724 also if SSE2AVX is defined.
3725 Remove libc_fegetround* and libc_fesetround*.
3726 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3727 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3728 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3729 of HAS_YMM_USABLE.
3730 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3731 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3732 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3733 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3734 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3735
3736 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3737
3738 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3739
3740 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3741 size is not set.
3742 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3743
3744 2012-01-27 Ulrich Drepper <drepper@gmail.com>
3745
3746 [BZ #13618]
3747 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3748 relocation.
3749 * Makeconfig (libm): Define.
3750 * elf/Makefile: Add rules to build and run tst-relsort1.
3751 * elf/tst-relsort1.c: New file.
3752 * elf/tst-relsort1mod1.c: New file.
3753 * elf/tst-relsort1mod2.c: New file.
3754
3755 2012-01-27 Joseph Myers <joseph@codesourcery.com>
3756
3757 * math/s_ldexp.c: Remove __STDC__ conditionals.
3758 * math/s_ldexpf.c: Likewise.
3759 * math/s_ldexpl.c: Likewise.
3760 * math/s_nextafter.c: Likewise.
3761 * math/s_nexttowardf.c: Likewise.
3762 * math/s_significand.c: Likewise.
3763 * math/s_significandf.c: Likewise.
3764 * math/s_significandl.c: Likewise.
3765 * math/w_jnl.c: Likewise.
3766 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3767 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3768 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3769 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3770 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3771 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3772 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3773 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3774 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3775 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3776 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3777 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3778 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3779 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3780 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3781 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3782 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3783 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3784 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3785 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3786 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3787 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3788 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3789 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3790 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3791 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3792 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3793 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3794 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3795 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3796 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3797 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3798 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3799 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3800 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3801 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3802 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3803 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3804 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3805 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3806 * sysdeps/ieee754/k_standard.c: Likewise.
3807 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3809 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3810 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3811 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3812 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3813 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3814 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3815 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3816 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3817 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3818 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3819 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3820 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3821 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3822 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3823 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3824 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3825 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3826 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3827 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3828 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3829 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3830 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3831 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3832 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3833 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3834 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3838 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3839 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3840 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3841 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3842 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3843 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3847 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3849 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3850 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3851 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3852 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3853 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3854 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3855 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3856 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3857 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3858 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3859 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3860 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3861 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3862 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3863 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3864 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3865 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3866 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3867 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3868 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3869 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3870 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3872 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3873 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3874 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3875 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3876 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3877 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3878 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3879 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3881 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3882 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3883 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3886 * sysdeps/ieee754/s_matherr.c: Likewise.
3887 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3888 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3889 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3890 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3891
3892 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3893
3894 * crypt/md5.h: Remove __STDC__ conditionals.
3895 * libio/libioP.h: Likewise.
3896 * locale/programs/config.h: Likewise.
3897 * sysdeps/generic/sysdep.h: Likewise.
3898 * sysdeps/i386/asm-syntax.h: Likewise.
3899 * sysdeps/s390/asm-syntax.h: Likewise.
3900 * sysdeps/unix/sysdep.h: Likewise.
3901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3903
3904 2012-01-26 Joseph Myers <joseph@codesourcery.com>
3905
3906 * libio/libio.h: Remove __STDC__ conditionals.
3907 * malloc/obstack.h: Likewise.
3908 * math/complex.h: Likewise.
3909 * math/math.h: Likewise.
3910 * sysdeps/generic/_G_config.h: Likewise.
3911 * sysdeps/gnu/_G_config.h: Likewise.
3912 * sysdeps/mach/hurd/_G_config.h: Likewise.
3913 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3914 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3915 * sysdeps/sparc/bits/mathdef.h: Likewise.
3916
3917 2012-01-26 Ulrich Drepper <drepper@gmail.com>
3918
3919 [BZ #13583]
3920 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
3921 Clean up HAS_* macros.
3922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
3923 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3924 possible.
3925 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3926 HAS_AVX.
3927 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3928 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3929 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3930 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3931 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3932
3933 2012-01-25 Joseph Myers <joseph@codesourcery.com>
3934
3935 * elf/tst-unique3.cc (gets): Remove declaration.
3936 * elf/tst-unique3lib.cc (gets): Likewise.
3937 * elf/tst-unique3lib2.cc (gets): Likewise.
3938 * elf/tst-unique4.cc (gets): Likewise.
3939
3940 2012-01-24 Ulrich Drepper <drepper@gmail.com>
3941
3942 * include/stdio.h: Add C++ protection. Add gets declarations and
3943 definitions.
3944 * debug/tst-chk1.c: Don't declare gets here.
3945 * stdio-common/tst-gets.c: Likewise.
3946
3947 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3948
3949 * posix/glob: Remove directory.
3950
3951 2012-01-24 Joseph Myers <joseph@codesourcery.com>
3952
3953 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3954
3955 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3956
3957 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3958 of the non-standard EPFNOSUPPORT.
3959
3960 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3961
3962 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3963 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3964 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3965
3966 2012-01-21 Ulrich Drepper <drepper@gmail.com>
3967
3968 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3969
3970 2012-01-20 Ulrich Drepper <drepper@gmail.com>
3971
3972 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3973 transient errors.
3974 * nscd/grpcache.c (cache_addgr): Likewise.
3975 * nscd/hstcache.c (cache_addhst): Likewise.
3976 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3977 * nscd/pwdcache.c (cache_addpw): Likewise.
3978 * nscd/servicescache.c (cache_addserv): Likewise.
3979
3980 2012-01-16 Ulrich Drepper <drepper@gmail.com>
3981
3982 * malloc/malloc.c: Various cleanups.
3983 * malloc/hooks.c: Likewise.
3984
3985 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3986 * stdlib/bug-fmtmsg1.c: New file.
3987
3988 * stdlib/fmtmsg.c (init): Add missing unlock.
3989 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3990
3991 2012-01-12 Marek Polacek <polacek@redhat.com>
3992
3993 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3994 and _GNU_SOURCE.
3995
3996 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3997
3998 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3999 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4000 macro to ensure uniqueness of label name.
4001 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4002 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4003
4004 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4005
4006 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4007
4008 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4009 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4010 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4012
4013 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4014
4015 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4016
4017 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4018 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4019 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4020
4021 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4022
4023 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4024 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4025 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4027
4028 * math/bits/math-finite.h: Add ldexp support.
4029
4030 2012-01-10 Marek Polacek <polacek@redhat.com>
4031
4032 * locale/programs/localedef.h (show_archive_content): Add noreturn
4033 attribute.
4034
4035 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4036
4037 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4038
4039 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4040
4041 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4042
4043 * io/Makefile (headers): Add bits/poll2.h.
4044
4045 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4046
4047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4048 typo #include statement.
4049
4050 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4051
4052 * include/sys/cdefs.h: Define __attribute_alloc_size.
4053 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4054 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4055 * elf/pldd.c: Likewise.
4056 * iconv/iconv_charmap.c: Likewise.
4057 * iconv/iconvconfig.c: Likewise.
4058 * iconv/strtab.c: Likewise.
4059 * locale/programs/locale.c: Likewise.
4060 * locale/programs/localedef.h: Likewise.
4061 * locale/programs/simple-hash.c: Likewise.
4062 * nscd/nscd.h: Likewise.
4063 * nss/makedb.c: Likewise.
4064 * sysdeps/generic/ldconfig.h: Likewise.
4065 * locale/programs/localedef.c: Remove xmalloc prototype.
4066 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4067
4068 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4069
4070 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4071 appropriate.
4072
4073 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4074
4075 * math/Makefile (tests): Add tst-CMPLX.
4076 * math/tst-CMPLX.c: New file.
4077
4078 * math/complex.h (CMPLXL): Fix typo.
4079
4080 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4081 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4082 GLIBC_2.16.
4083 * debug/tst-chk1.c: Add poll and ppoll tests.
4084 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4085 * include/sys/poll.h: Add hidden proto for ppoll.
4086 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4087 * sysdeps/mach/hurd/ppoll.c: Likewise.
4088 * io/ppoll.c: Likewise.
4089 * debug/poll_chk.c: New file.
4090 * debug/ppoll_chk.c: New file.
4091 * include/bits/poll2.h: New file.
4092 * io/bits/poll2.h: New file.
4093
4094 [BZ #1350]
4095 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4096
4097 * configure.in: static is always set to yes. Remove.
4098 * config.make.in: Don't set build-static.
4099 * Makeconfig: Remove use of build-static.
4100 * dlfcn/Makefile: Likewise.
4101 * elf/Makefile: Likewise.
4102 * math/Makefile: Likewise.
4103 * misc/Makefile: Likewise.
4104 * nptl/Makefile: Likewise.
4105 * sysdeps/mach/hurd/Makefile: Likewise.
4106
4107 * configure.in: PWD_P is not used anymore.
4108 * config.make.in: Remove PWD_P entry.
4109
4110 * configure.in: Remove last remnants of RANLIB.
4111 No need to check for signed size_t anymore.
4112 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4113 and IA-64.
4114 Remove __builtin_expect test because we require at least gcc 3.4.
4115 * aclocal.m4: Likewise.
4116
4117 * wcsmbs/mbrtoc16.c: Implement using towc function.
4118 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4119 * wcsmbs/wcsmbsload.c: Likewise.
4120 * iconv/gconv_simple.c: Likewise.
4121 * iconv/gconv_int.h: Likewise.
4122 * iconv/gconv_builtin.h: Likewise.
4123 * iconv/iconv_prog.c: Remove CHAR16 handling.
4124
4125 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4126
4127 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4128
4129 * configure.in: Remove --with-elf and --enable-bounded options.
4130 Dont set base_machine for ia64. More non-ELF conditions removed.
4131 Remove testing and setting of leading underscore information.
4132 * config.make.in (build-bounded): Set to no.
4133 * config.h.in: Remove NO_UNDERSCORES entry.
4134 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4135 them.
4136 * csu/start.c: Remove !NO_UNDERSCORE code.
4137 * locale/localeinfo.h: Likewise.
4138 * sysdeps/generic/machine-gmon.h: Likewise.
4139 * sysdeps/generic/sysdep.h: Likewise.
4140 * sysdeps/i386/sysdep.h: Likewise.
4141 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4142 * sysdeps/mach/sysdep.h: Likewise.
4143 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4144 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4145 * sysdeps/sh/sysdep.h: Likewise.
4146 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4147 * sysdeps/unix/i386/sysdep.S: Likewise.
4148 * sysdeps/unix/sparc/start.c: Likewise.
4149 * sysdeps/unix/sparc/sysdep.S: Likewise.
4150 * sysdeps/unix/sparc/sysdep.h: Likewise.
4151 * sysdeps/unix/start.c: Likewise.
4152 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4153 * sysdeps/x86_64/sysdep.h: Likewise.
4154
4155 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4156
4157 [BZ #13553]
4158 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4159 for non-gcc.
4160 * argp/argp-fmtstream.h: Use const instead __const.
4161 * argp/argp.h: Likewise.
4162 * assert/assert.h: Likewise.
4163 * bits/fenv.h: Likewise.
4164 * bits/sched.h: Likewise.
4165 * bits/sigset.h: Likewise.
4166 * bits/sigthread.h: Likewise.
4167 * catgets/nl_types.h: Likewise.
4168 * conform/data/pthread.h-data: Likewise.
4169 * crypt/crypt-private.h: Likewise.
4170 * crypt/crypt.h: Likewise.
4171 * crypt/crypt_util.c: Likewise.
4172 * ctype/ctype.h: Likewise.
4173 * debug/execinfo.h: Likewise.
4174 * debug/mbsnrtowcs_chk.c: Likewise.
4175 * debug/mbsrtowcs_chk.c: Likewise.
4176 * debug/wcsnrtombs_chk.c: Likewise.
4177 * debug/wcsrtombs_chk.c: Likewise.
4178 * debug/wcstombs_chk.c: Likewise.
4179 * dirent/dirent.h: Likewise.
4180 * dlfcn/dlfcn.h: Likewise.
4181 * elf/neededtest4.c: Likewise.
4182 * grp/grp.h: Likewise.
4183 * gshadow/gshadow.h: Likewise.
4184 * iconv/gconv.h: Likewise.
4185 * iconv/gconv_int.h: Likewise.
4186 * iconv/gconv_simple.c: Likewise.
4187 * iconv/iconv.h: Likewise.
4188 * iconv/loop.c: Likewise.
4189 * iconv/skeleton.c: Likewise.
4190 * include/aio.h: Likewise.
4191 * include/aliases.h: Likewise.
4192 * include/argz.h: Likewise.
4193 * include/arpa/inet.h: Likewise.
4194 * include/assert.h: Likewise.
4195 * include/dirent.h: Likewise.
4196 * include/dlfcn.h: Likewise.
4197 * include/execinfo.h: Likewise.
4198 * include/fcntl.h: Likewise.
4199 * include/fenv.h: Likewise.
4200 * include/glob.h: Likewise.
4201 * include/grp.h: Likewise.
4202 * include/libintl.h: Likewise.
4203 * include/mntent.h: Likewise.
4204 * include/netdb.h: Likewise.
4205 * include/pwd.h: Likewise.
4206 * include/rpc/netdb.h: Likewise.
4207 * include/sched.h: Likewise.
4208 * include/search.h: Likewise.
4209 * include/shadow.h: Likewise.
4210 * include/signal.h: Likewise.
4211 * include/stdio.h: Likewise.
4212 * include/stdlib.h: Likewise.
4213 * include/string.h: Likewise.
4214 * include/sys/socket.h: Likewise.
4215 * include/sys/stat.h: Likewise.
4216 * include/sys/statfs.h: Likewise.
4217 * include/sys/statvfs.h: Likewise.
4218 * include/sys/syslog.h: Likewise.
4219 * include/sys/time.h: Likewise.
4220 * include/sys/uio.h: Likewise.
4221 * include/time.h: Likewise.
4222 * include/unistd.h: Likewise.
4223 * include/utmp.h: Likewise.
4224 * include/wchar.h: Likewise.
4225 * include/wctype.h: Likewise.
4226 * inet/aliases.h: Likewise.
4227 * inet/arpa/inet.h: Likewise.
4228 * inet/netinet/ether.h: Likewise.
4229 * inet/netinet/in.h: Likewise.
4230 * intl/libintl.h: Likewise.
4231 * io/bits/fcntl2.h: Likewise.
4232 * io/fcntl.h: Likewise.
4233 * io/ftw.h: Likewise.
4234 * io/sys/poll.h: Likewise.
4235 * io/sys/stat.h: Likewise.
4236 * io/sys/statfs.h: Likewise.
4237 * io/sys/statvfs.h: Likewise.
4238 * io/utime.h: Likewise.
4239 * libio/bits/stdio.h: Likewise.
4240 * libio/bits/stdio2.h: Likewise.
4241 * libio/libio.h: Likewise.
4242 * libio/libioP.h: Likewise.
4243 * libio/stdio.h: Likewise.
4244 * locale/lc-ctype.c: Likewise.
4245 * locale/locale.h: Likewise.
4246 * login/utmp.h: Likewise.
4247 * malloc/arena.c: Likewise.
4248 * malloc/malloc.c: Likewise.
4249 * malloc/malloc.h: Likewise.
4250 * malloc/mcheck.c: Likewise.
4251 * malloc/mtrace.c: Likewise.
4252 * math/bits/mathcalls.h: Likewise.
4253 * math/fenv.h: Likewise.
4254 * math/math_private.h: Likewise.
4255 * misc/bits/error.h: Likewise.
4256 * misc/bits/syslog.h: Likewise.
4257 * misc/err.h: Likewise.
4258 * misc/error.h: Likewise.
4259 * misc/fstab.h: Likewise.
4260 * misc/mntent.h: Likewise.
4261 * misc/regexp.h: Likewise.
4262 * misc/search.h: Likewise.
4263 * misc/sgtty.h: Likewise.
4264 * misc/sys/mman.h: Likewise.
4265 * misc/sys/syslog.h: Likewise.
4266 * misc/sys/uio.h: Likewise.
4267 * misc/sys/xattr.h: Likewise.
4268 * misc/ttyent.h: Likewise.
4269 * nis/rpcsvc/ypclnt.h: Likewise.
4270 * nss/nss.h: Likewise.
4271 * posix/bits/unistd.h: Likewise.
4272 * posix/fnmatch.h: Likewise.
4273 * posix/glob.h: Likewise.
4274 * posix/sched.h: Likewise.
4275 * posix/spawn.h: Likewise.
4276 * posix/sys/wait.h: Likewise.
4277 * posix/unistd.h: Likewise.
4278 * posix/wordexp.h: Likewise.
4279 * pwd/pwd.h: Likewise.
4280 * resolv/netdb.h: Likewise.
4281 * resource/sys/resource.h: Likewise.
4282 * rt/aio.h: Likewise.
4283 * rt/bits/mqueue2.h: Likewise.
4284 * rt/mqueue.h: Likewise.
4285 * shadow/shadow.h: Likewise.
4286 * signal/signal.h: Likewise.
4287 * socket/send.c: Likewise.
4288 * socket/sendto.c: Likewise.
4289 * socket/sys/socket.h: Likewise.
4290 * stdio-common/printf.h: Likewise.
4291 * stdlib/bits/stdlib.h: Likewise.
4292 * stdlib/fmtmsg.h: Likewise.
4293 * stdlib/monetary.h: Likewise.
4294 * stdlib/stdlib.h: Likewise.
4295 * stdlib/ucontext.h: Likewise.
4296 * streams/stropts.h: Likewise.
4297 * string/argz.h: Likewise.
4298 * string/bits/string2.h: Likewise.
4299 * string/string.h: Likewise.
4300 * string/strings.h: Likewise.
4301 * sunrpc/rpc/auth.h: Likewise.
4302 * sunrpc/rpc/auth_des.h: Likewise.
4303 * sunrpc/rpc/clnt.h: Likewise.
4304 * sunrpc/rpc/netdb.h: Likewise.
4305 * sunrpc/rpc/pmap_clnt.h: Likewise.
4306 * sunrpc/rpc/xdr.h: Likewise.
4307 * sysdeps/generic/inttypes.h: Likewise.
4308 * sysdeps/generic/net/if.h: Likewise.
4309 * sysdeps/generic/sys/swap.h: Likewise.
4310 * sysdeps/gnu/net/if.h: Likewise.
4311 * sysdeps/gnu/utmpx.h: Likewise.
4312 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4313 * sysdeps/i386/i486/bits/string.h: Likewise.
4314 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4315 * sysdeps/s390/bits/string.h: Likewise.
4316 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4317 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4318 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4319 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4320 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4321 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4322 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4323 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4324 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4325 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4326 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4327 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4328 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4329 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4330 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4331 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4332 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4333 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4334 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4335 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4336 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4337 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4338 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4339 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4340 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4341 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4342 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4343 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4344 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4345 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4346 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4347 * sysvipc/sys/ipc.h: Likewise.
4348 * sysvipc/sys/msg.h: Likewise.
4349 * sysvipc/sys/sem.h: Likewise.
4350 * sysvipc/sys/shm.h: Likewise.
4351 * termios/termios.h: Likewise.
4352 * time/sys/time.h: Likewise.
4353 * time/time.h: Likewise.
4354 * wcsmbs/bits/wchar2.h: Likewise.
4355 * wcsmbs/uchar.h: Likewise.
4356 * wcsmbs/wchar.h: Likewise.
4357 * wctype/wctype.h: Likewise.
4358
4359 [BZ #13551]
4360 * Makeconfig: Remove all but ELF support including AIX support.
4361 * Makerules: Likewise.
4362 * config.h.in: Likewise.
4363 * config.make.in: Likewise.
4364 * configure: Likewise.
4365 * configure.in: Likewise.
4366 * csu/Makefile: Likewise.
4367 * csu/version.c: Likewise.
4368 * debug/Makefile: Likewise.
4369 * dlfcn/Makefile: Likewise.
4370 * elf/Makefile: Likewise.
4371 * extra-lib.mk: Likewise.
4372 * iconv/Makefile: Likewise.
4373 * include/libc-symbols.h: Likewise.
4374 * include/shlib-compat.h: Likewise.
4375 * resolv/Makefile: Likewise.
4376 * resolv/res_libc.c: Likewise.
4377 * rt/Makefile: Likewise.
4378 * sysdeps/i386/asm-syntax.h: Likewise.
4379 * sysdeps/i386/sysdep.h: Likewise.
4380 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4381 * sysdeps/mach/sysdep.h: Likewise.
4382 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4383 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4384 * sysdeps/s390/asm-syntax.h: Likewise.
4385 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4386 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4387 * sysdeps/sh/sysdep.h: Likewise.
4388 * sysdeps/unix/sparc/sysdep.h: Likewise.
4389 * sysdeps/wordsize-32/divdi3.c: Likewise.
4390 * sysdeps/x86_64/sysdep.h: Likewise.
4391
4392 * argp/Versions: Remove _argp_unlock_xxx.
4393
4394 [BZ #13559]
4395 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4396 * abilist/libBrokenLocale.abilist: Likewise.
4397 * abilist/libanl.abilist: Likewise.
4398 * abilist/libc.abilist: Likewise.
4399 * abilist/libcrypt.abilist: Likewise.
4400 * abilist/libdl.abilist: Likewise.
4401 * abilist/libm.abilist: Likewise.
4402 * abilist/libnsl.abilist: Likewise.
4403 * abilist/libpthread.abilist: Likewise.
4404 * abilist/libresolv.abilist: Likewise.
4405 * abilist/librt.abilist: Likewise.
4406 * abilist/libthread_db.abilist: Likewise.
4407 * abilist/libutil.abilist: Likewise.
4408 * abilist/libnss_db.abilist: New file.
4409
4410 * scripts/abilist.awk: Add support for indirect functions.
4411
4412 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4413
4414 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4415
4416 * shlib-versions: Remove entries for ports architectures.
4417
4418 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4419 files in ports.
4420 * elf/stackguard-macros.h: Remove support for IA-64.
4421 * elf/tst-auditmod1.c: Likewise.
4422 * sysdeps/generic/ldsodefs.h: Likewise.
4423
4424 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4425 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4426 configure files.
4427
4428 [BZ #13552]
4429 * configure.in: Remove --enable-omitfp support.
4430 * FAQ.in: Adjust.
4431 * config.make.in: Likewise.
4432 * Makeconfig: Likewise.
4433 * manual/install.texi: Likewise.
4434
4435 In case anyone cares, the IA-64 architecture could move to ports.
4436 * sysdeps/ia64/*: Removed.
4437 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4438 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4439
4440 [BZ #13555]
4441 * configure.in: Remove entries for unsupported architectures.
4442
4443 [BZ #13533]
4444 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4445 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4446 routines.
4447 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4448 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4449 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4450 fall back to using wcrtomb.
4451 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4452 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4453 renaming.
4454 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4455 * wcsmbs/tst-c16c32-1.c: New file.
4456
4457 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4458 local variable.
4459
4460 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4461
4462 * elf/tst-unique3.cc: Add explicit declaration of gets.
4463 * elf/tst-unique3lib.cc: Likewise.
4464 * elf/tst-unique3lib2.cc: Likewise.
4465 * elf/tst-unique4.cc: Likewise.
4466
4467 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4468
4469 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4470
4471 [BZ #13566]
4472 * assert/assert.h (static_assert): Don't define for C++.
4473 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4474 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4475
4476 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4477
4478 * iconv/loop.c (single loop): Fix assertion in storing of
4479 remaining bytes.
4480
4481 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4482
4483 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4484
4485 * posix/getconf.c: Update copyright year.
4486 * nss/getent.c: Likewise.
4487 * nss/makedb.c: Likewise.
4488 * iconv/iconvconfig.c: Likewise.
4489 * iconv/iconv_prog.c: Likewise.
4490 * elf/ldconfig.c: Likewise.
4491 * elf/pldd.c: Likewise.
4492 * elf/sotruss.ksh: Likewise.
4493 * catgets/gencat.c: Likewise.
4494 * csu/version.c: Likewise.
4495 * elf/ldd.bash.in: Likewise.
4496 * elf/sprof.c (print_version): Likewise.
4497 * locale/programs/locale.c: Likewise.
4498 * locale/programs/localedef.c: Likewise.
4499 * login/programs/pt_chown.c: Likewise.
4500 * nscd/nscd.c (print_version): Likewise.
4501 * debug/xtrace.sh: Likewise.
4502 * malloc/memusage.sh: Likewise.
4503 * malloc/mtrace.pl: Likewise.
4504 * debug/catchsegv.sh: Likewise.
4505
4506 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4507
4508 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4509 pure attribute.
4510
4511 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4512
4513 [BZ #13533]
4514 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4515 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4516 transformations.
4517 * iconv/gconv_int.h: Likewise.
4518 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4519 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4520 from libc for GLIBC_2.16.
4521 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4522 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4523 * wcsmbs/uchar.h: Really define mbstate_t.
4524 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4525 * wcsmbs/c16rtomb.c: New file.
4526 * wcsmbs/mbrtoc16.c: New file.
4527 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4528 for C/POSIX locale.
4529 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4530 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4531
4532 * wcsmbs/wchar.h: Add missing __restrict.
4533
4534 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4535
4536 [BZ #13532]
4537 * time/Makefile (routines): Add timespec_get.
4538 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4539 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4540 timespec for ISO C11.
4541 * time/timespec_get.c: New file.
4542 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4543 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4544
4545 [BZ #13531]
4546 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4547 * stdlib/stdlib.h: Declare aligned_alloc.
4548 * Versions.def: Add GLIBC_2.16 for libc.
4549 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4550
4551 [BZ 13527]
4552 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4553 ISO C11.
4554
4555 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4556 code.
4557
4558 [BZ #13528]
4559 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4560
4561 [BZ #13529]
4562 * assert/assert.h (static_assert): Define.
4563
4564 * version.h: Update for 2.16 development version.
4565
4566 [BZ #13526]
4567 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4568 _ISOC11_SOURCE.
4569
4570 * version.h (RELEASE): Bump for 2.15 release.
4571 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4572
4573 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4574 Patch by Marek Polacek <mpolacek@redhat.com>.
4575
4576 * bits/byteswap.h: Protect long long constants with __extension__.
4577 * sysdeps/i386/bits/byteswap.h: Likewise.
4578 * sysdeps/ia64/bits/byteswap.h: Likewise.
4579 * sysdeps/s390/bits/byteswap.h: Likewise.
4580 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4581
4582 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4583
4584 [BZ #13540]
4585 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4586 destination buffer.
4587 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4588
4589 2011-12-23 Marek Polacek <polacek@redhat.com>
4590
4591 * elf/dl-addr.c (determine_info): Add inline keyword.
4592 * elf/tst-auditmod4b.c (check_avx): Likewise.
4593 * elf/tst-auditmod6b.c (check_avx): Likewise.
4594 * elf/tst-auditmod6c.c (check_avx): Likewise.
4595 * elf/tst-auditmod7b.c (check_avx): Likewise.
4596
4597 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4598
4599 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4600 !__SSE_MATH__.
4601
4602 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4603
4604 [BZ #13540]
4605 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4606 processing for last bytes.
4607
4608 2011-08-06 Bruno Haible <bruno@clisp.org>
4609
4610 [BZ #13061]
4611 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4612 U+0385, not to U+1FEE.
4613
4614 [BZ #13062]
4615 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4616 entry for U+00A5 U+0301.
4617
4618 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4619
4620 [BZ #13166]
4621 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4622 buffer for the output is too small.
4623
4624 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4625 optimization.
4626
4627 [BZ #13185]
4628 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4629 SSE flags if possible.
4630
4631 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4632
4633 [BZ #13540]
4634 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4635 processing for last bytes.
4636
4637 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4638
4639 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4640 (syscall-list-default-options, syscall-list-default-condition)
4641 (syscall-list-includes): Define.
4642 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4643 list of ABIs and options and #if conditions for each ABI. Do not
4644 handle common syscalls between ABIs specially.
4645 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4646 Remove.
4647 (syscall-list-variants, syscall-list-32bit-options)
4648 (syscall-list-32bit-condition, syscall-list-64bit-options)
4649 (syscall-list-64bit-condition): Define.
4650 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4651 (syscall-list-variants, syscall-list-32bit-options)
4652 (syscall-list-32bit-condition, syscall-list-64bit-options)
4653 (syscall-list-64bit-condition): Define.
4654 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4655 Remove.
4656 (syscall-list-variants, syscall-list-32bit-options)
4657 (syscall-list-32bit-condition, syscall-list-64bit-options)
4658 (syscall-list-64bit-condition): Define.
4659 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4660 Remove.
4661 (syscall-list-variants, syscall-list-32bit-options)
4662 (syscall-list-32bit-condition, syscall-list-64bit-options)
4663 (syscall-list-64bit-condition): Define.
4664
4665 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4666
4667 * locale/iso-639.def: Add brx entry.
4668
4669 [BZ #13328]
4670 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4671 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4672
4673 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4674 __feraiseexcept_renamed.
4675
4676 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4677
4678 [BZ #13538]
4679 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4680 EPOLLET with unsigned values.
4681 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4682 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4683
4684 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4685 to large cancellation.
4686 * math/s_cacoshf.c: Likewise.
4687 * math/s_cacoshl.c: Likewise.
4688
4689 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4690
4691 [BZ #13305]
4692 [BZ #12786]
4693 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4694 * math/s_cacoshf.c: Likewise.
4695 * math/s_cacoshl.c: Likewise.
4696
4697 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4698
4699 [BZ #13439]
4700 * iconv/gconv.h: Define __GCONV_SWAP.
4701 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4702 * iconvdata/utf-16.c: Likewise.
4703 * iconvdata/utf-32.c: Likewise.
4704
4705 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4706
4707 [BZ #13524]
4708 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4709 numerator after shifting it by one limb.
4710
4711 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4712
4713 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4714 under [__USE_EXTERN_INLINES].
4715
4716 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4717
4718 [BZ #13446]
4719 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4720
4721 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4722
4723 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4724 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4725 optimized code.
4726 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4727 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4728 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4729 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4730 for strncasecmp/strncasecmp_l compilation.
4731 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4732 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4733
4734 2011-12-08 Marek Polacek <mpolacek@redhat.com>
4735
4736 [BZ #13484]
4737 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4738 of __asm__.
4739
4740 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4741
4742 [BZ #13506]
4743 * time/tzfile.c (__tzfile_read): Check values from file header.
4744
4745 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4746
4747 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4748 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4749 * powerpc/powerpc32/dl-start.S: Likewise.
4750 * powerpc/powerpc32/elf/start.S: Likewise.
4751 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4752 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4753 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4754 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4755 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4756 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4757 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4758 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4759 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4760 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4761 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4762 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4763 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4764 * powerpc/powerpc32/memset.S: Likewise.
4765 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4766 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4767 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4768 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4769 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4770 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4771 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4772 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4773 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4774 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4775 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4776 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4777 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4778
4779 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4780
4781 * math/libm-test.inc: Added more nearbyint tests.
4782 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4783 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4784 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4785 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4786
4787 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4788
4789 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4790 FD_CLOEXEC.
4791
4792 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4793
4794 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4795 Add wcscpy-ssse3 wcscpy-c.
4796 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4797 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4798 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4799 * sysdeps/x86_64/wcschr.S: New file.
4800 * sysdeps/x86_64/wcsrchr.S: New file.
4801 * string/test-strcmp.c: Remove checking of wcscmp function for
4802 wrong alignments.
4803 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4804 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4805 wcsrchr-sse2 wcsrchr-c.
4806 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4807 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4808 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4809 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4810 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4811 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4812 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4813 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4814 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4815 * wcsmbc/wcschr.c (WCSCHR): New macro.
4816
4817 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4818
4819 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4820 * wcsmbs/test-wcsrchr.c: New file.
4821 * string/test-strrchr.c: Add wcsrchr support.
4822 (WIDE): New macro.
4823 * wcsmbs/test-wcscpy.c: New file.
4824 * string/test-strcpy.c: Add wcscpy support.
4825 (WIDE): New macro.
4826
4827 2011-12-10 Ulrich Drepper <drepper@gmail.com>
4828
4829 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4830 the inner loop.
4831
4832 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4833
4834 [BZ #13472]
4835 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4836
4837 2011-12-04 Ulrich Drepper <drepper@gmail.com>
4838
4839 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
4840 Minor optimizations.
4841
4842 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4843 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4844 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4845
4846 2011-12-03 Ulrich Drepper <drepper@gmail.com>
4847
4848 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4849 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4850 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4851 for gcc to avoid warnings.
4852 * inet/Makefile (tests): Add tst-checks.
4853 * inet/tst-checks.c: New file.
4854
4855 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4856 warning.
4857
4858 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4859 __wmemcmp_sse2.
4860
4861 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4862 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4863
4864 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4865
4866 2011-12-02 Ulrich Drepper <drepper@gmail.com>
4867
4868 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4869 problem.
4870
4871 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4872
4873 2011-11-29 Joseph Myers <joseph@codesourcery.com>
4874
4875 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4876 conditional on GCC version.
4877 (__arch_compare_and_exchange_val_8_acq)
4878 (__arch_compare_and_exchange_val_16_acq)
4879 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4880 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4881 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4882
4883 2011-12-02 Joseph Myers <joseph@codesourcery.com>
4884
4885 * sysdeps/sh/backtrace.c: New file.
4886
4887 2011-12-02 Andreas Schwab <schwab@redhat.com>
4888
4889 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4890 parenthesis.
4891
4892 2011-12-01 Andreas Schwab <schwab@redhat.com>
4893
4894 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4895 falling back to utime.
4896
4897 2011-11-30 Andreas Schwab <schwab@redhat.com>
4898
4899 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4900 expectations for float.
4901
4902 2011-11-29 Andreas Schwab <schwab@redhat.com>
4903
4904 * locale/weight.h (findidx): Add parameter len.
4905 * locale/weightwc.h (findidx): Likewise.
4906 * posix/fnmatch_loop.c (FCT): Adjust caller.
4907 * posix/regcomp.c (build_equiv_class): Likewise.
4908 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4909 * posix/regexec.c (check_node_accept_bytes): Likewise.
4910 * string/strcoll_l.c (STRCOLL): Likewise.
4911 * string/strxfrm_l.c (STRXFRM): Likewise.
4912
4913 2011-11-17 Ulrich Drepper <drepper@gmail.com>
4914
4915 * Makefile.in: Remove CVSOPT handling.
4916 * configure.in: Remove use of AC_REVISION.
4917 * iconvdata/Makefile (distribute): No need to filter out CVS.
4918 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4919 handling.
4920
4921 2011-11-16 Andreas Schwab <schwab@redhat.com>
4922
4923 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4924 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4925 [USE_AS_STRNCASECMP_L]: Likewise.
4926 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4927 NO_TLS_DIRECT_SEG_REFS.
4928 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4929 Fix argument offsets for non-PIC.
4930 [USE_AS_STRNCASECMP_L]: Likewise.
4931 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4932 NO_TLS_DIRECT_SEG_REFS.
4933
4934 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4935
4936 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
4937 O_CLOEXEC.
4938 * locale/loadlocale.c (_nl_load_locale): Likewise.
4939
4940 2011-11-15 Andreas Schwab <schwab@redhat.com>
4941
4942 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4943 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4944 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4945 (SYSCALL_GETTIME): Set errno on error.
4946
4947 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4948 count references to noai6ai_cached.
4949
4950 2011-11-15 Ulrich Drepper <drepper@gmail.com>
4951
4952 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4953
4954 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4955 FD_CLOEXEC for /proc/self/maps.
4956
4957 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4958 FD_CLOEXEC for /proc/meminfo.
4959
4960 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4961 gai.conf.
4962
4963 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4964 FD_CLOEXEC for given file.
4965
4966 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4967
4968 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4969 FD_CLOEXEC for /etc/hosts.
4970 (_gethtent): Likewise.
4971
4972 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4973
4974 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4975 cancellation and set FD_CLOEXEC for /etc/netgroup.
4976
4977 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4978 reading /etc/publickey.
4979
4980 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4981 allow cancellation when reading /etc/group.
4982
4983 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4984 cancellation.
4985 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4986
4987 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4988 when using data file.
4989
4990 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4991
4992 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4993 (write_nis_obj): Use "c" and "e" in fopen.
4994
4995 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4996
4997 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4998
4999 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5000
5001 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5002
5003 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5004 locale.alias.
5005
5006 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5007
5008 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5009
5010 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5011
5012 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5013 file parsing and set FD_CLOEXEC.
5014
5015 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5016
5017 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5018
5019 2011-11-14 Andreas Schwab <schwab@redhat.com>
5020
5021 * malloc/arena.c (arena_get2): Don't call reused_arena when
5022 _int_new_arena failed.
5023
5024 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5025
5026 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5027 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5028 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5029 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5030 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5031 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5032 to compile strcasecmp and strncasecmp.
5033 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5034 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5035
5036 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5037
5038 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5039
5040 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5041 locale-defines.sym to gen-as-const-headers.
5042 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5043 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5045 to compile strcasecmp and strncasecmp.
5046 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5047 strcasecmp_l and strncasecmp_l.
5048 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5049 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5050 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5051 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5052 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5053 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5054 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5055 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5056 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5057 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5058 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5059
5060 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5061
5062 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5063 result of SYSDEP_GETTIME_CPU to retval.
5064 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5065 parameter list to macro. Remove trailing semicolon. Adjust users.
5066
5067 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5068 variable.
5069
5070 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5071 mantissa words.
5072 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5073
5074 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5075 from unused variable.
5076
5077 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5078 DWARF definitions.
5079 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5080 for assembling.
5081
5082 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5083 over namespaces.
5084
5085 * sunrpc/rpc_prot.c (rejected): Fix case value.
5086
5087 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5088 unsigned long long int to avoid warnings in shift.
5089
5090 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5091 of use of trans.
5092 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5093 variable tmp.
5094
5095 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5096 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5097 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5098
5099 * nis/nis_table.c (nis_list): Use variable of correct type for
5100 result of __follow_path call.
5101
5102 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5103
5104 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5105 of math functions ceil, trunc, floor, round, and sqrt, when
5106 avaliable on the platform.
5107 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5108 name clash.
5109 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5110 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5111 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5112
5113 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5114
5115 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5116 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5117
5118 2011-11-11 Roland McGrath <roland@hack.frob.com>
5119
5120 * include/unistd.h: Fix __readlink return type.
5121 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5122
5123 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5124
5125 * stdlib/ucontext.h: Undo last change for makecontext.
5126
5127 2011-11-11 Andreas Schwab <schwab@redhat.com>
5128
5129 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5130
5131 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5132 * setjmp/setjmp.h: Mark functions as non-leaf.
5133 * setjmp/bits/setjmp2.h: Likewise.
5134 * stdlib/ucontext.h: Likewise.
5135
5136 2011-11-10 Andreas Schwab <schwab@redhat.com>
5137
5138 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5139 (reused_arena): Don't check arena limit.
5140 (arena_get2): Atomically check arena limit.
5141
5142 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5143
5144 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5145 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5146
5147 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5148 instructions.
5149
5150 2011-11-07 Andreas Schwab <schwab@redhat.com>
5151
5152 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5153 handler when locking.
5154
5155 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5156 Fix size of allocated buffer.
5157
5158 2011-11-04 Andreas Schwab <schwab@redhat.com>
5159
5160 [BZ #10103]
5161 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5162 declarations for long double functions.
5163 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5164
5165 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5166
5167 2011-11-03 Andreas Schwab <schwab@redhat.com>
5168
5169 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5170 installed.
5171
5172 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5173 is disabled.
5174
5175 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5176
5177 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5178
5179 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5180
5181 * include/alloca.h (stackinfo_alloca_round): Define.
5182 (extend_alloca): Use it.
5183 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5184 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5185 here.
5186
5187 * scripts/check-local-headers.sh: Ignore libaudit.h.
5188
5189 * nscd/Makefile (extra-objs): Make recursively expanded.
5190
5191 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5192
5193 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5194 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5195
5196 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5197 * posix/tst-rfc3484-2.c: Likewise.
5198 * posix/tst-rfc3484-3.c: Likewise.
5199
5200 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5201 process_vm_writev.
5202 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5203 process_vm_writev.
5204 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5205 process_vm_writev from libc using GLIBC_2.15 version.
5206
5207 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5208
5209 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5210
5211 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5212 stack usage.
5213
5214 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5215
5216 [BZ #13367]
5217 * nss/getent.c (initgroups_keys): Show error message in case no group
5218 names are given.
5219
5220 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5221 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5222 __bump_nl_timestamp.
5223 * nscd/connections (nscd_init): When host database is served open
5224 netlink socket and request notification about configuration changes.
5225 (main_loop_poll): Track netlink file descriptor and bump timestamp
5226 in case data becomes available.
5227 (main_loop_epoll): Likewise.
5228 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5229 (database_pers_head): Add extra_data fileds.
5230 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5231 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5232 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5233 Adjust caller.
5234 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5235 in6ai data, call __free_in6ai.
5236 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5237 Add -DHAVE_NETLINK.
5238 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5239 interface information. Reuse previous data if netlink timestamp
5240 is not changed.
5241 (__bump_nl_timestamp): New function.
5242 (__free_in6ai): New function.
5243
5244 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5245
5246 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5247 close_not_cancel_no_status here.
5248 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5249
5250 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5251
5252 [BZ #13276]
5253 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5254 return value.
5255
5256 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5257 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5258 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5259
5260 2011-07-03 Andreas Jaeger <aj@suse.de>
5261
5262 [BZ #10709]
5263 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5264 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5265 * math/libm-test.inc (sin_test): Add test case.
5266
5267 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5268
5269 [BZ #13337]
5270 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5271 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5272
5273 * elf/chroot_canon.c (chroot_canon): Cleanups.
5274
5275 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5276
5277 [BZ #13335]
5278 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5279 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5280
5281 * string/test-strchr.c: Make usable for strchrnul testing.
5282 * string/test-strchrnul.c: New file.
5283 * string/Makefile (strop-tests): Add strchrnul.
5284
5285 * po/it.po: Update from translation team.
5286 * po/es.po: Likewise.
5287
5288 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5289
5290 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5291 the three constants needed as parameters. Drop the others.
5292 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5293 __m128i_strloadu_tolower.
5294 Create and initialize variable zero and use it in all the places
5295 where _mm_setzero_si128 was used.
5296
5297 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5298 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5299 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5300 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5301 anymore.
5302 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5303 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5304 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5305 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5306 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5307 __mpranred, __mptan.
5308 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5309 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5310 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5311 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5312 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5313 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5314 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5315 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5316 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5317
5318 2011-10-28 Andreas Schwab <schwab@redhat.com>
5319
5320 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5321 redefine if SHARED.
5322 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5323
5324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5325 wide char related routines to wcsmbs subdir.
5326
5327 2011-10-27 Andreas Schwab <schwab@redhat.com>
5328
5329 [BZ #13344]
5330 * misc/sys/cdefs.h (__THROWNL): Define.
5331 * posix/unistd.h: Use __THREADNL instead of __THREAD
5332 for memory synchronization functions.
5333
5334 2011-10-26 Roland McGrath <roland@hack.frob.com>
5335
5336 [BZ #13349]
5337 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5338 doesn't exist.
5339 * manual/stdio.texi (Obstack Streams): Node removed.
5340
5341 2011-10-26 Andreas Schwab <schwab@redhat.com>
5342
5343 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5344 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5345 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5346
5347 * math/math_private.h (math_force_eval): Allow non-addressable
5348 arguments.
5349 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5350
5351 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5352
5353 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5354 file is not needed.
5355
5356 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5357 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5358 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5359 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5360 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5361 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5362 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5363 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5364 Add AVX variants.
5365 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5366 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5367 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5368 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5369 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5370 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5371 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5372 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5373 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5374 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5375 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5376 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5377 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5378 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5379 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5380 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5381 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5382 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5383 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5384
5385 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5386 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5387
5388 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5389 place. Use VEX encoding when compiling for AVX.
5390
5391 2011-10-25 Andreas Schwab <schwab@redhat.com>
5392
5393 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5394 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5395
5396 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5397
5398 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5399
5400 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5401 useless if() expression.
5402 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5403 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5404 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5405 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5406 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5407 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5408 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5409 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5410 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5411 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5412 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5413 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5414 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5415 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5416 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5417 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5418 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5420 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5421
5422 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5423
5424 2011-10-25 Andreas Schwab <schwab@redhat.com>
5425
5426 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5427 condition.
5428 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5429
5430 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5431
5432 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5433 .text section. Avoid duplicate constants.
5434 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5436 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5437 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5438 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5439 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5440 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5441 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5442 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5443 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5444 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5445 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5446 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5447 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5448 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5449 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5450 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5451 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5452 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5453 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5454 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5455 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5456 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5457 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5458 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5459 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5460 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5461 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5462 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5463 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5464 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5465 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5466 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5467 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5468 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5469 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5470 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5471 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5472 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5473 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5474 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5475 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5476 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5477 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5478 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5479
5480 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5481
5482 * sysdeps/x86_64/dla.h: Move to ...
5483 * sysdeps/x86_64/fpu/dla.h: ...here.
5484 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5485 situations. Use __builtin_fma only for gcc 4.6 and up.
5486
5487 * config.make.in: Add have-mfma4 entry.
5488 * configure.in: Substitute libc_cv_cc_fma4.
5489 * math/Makefile (dbl-only-routines): Add sincostab.
5490 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5491 Use __sincostab not sincos.
5492 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5493 name is a macro.
5494 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5496 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5497 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5498 using __copysign.
5499 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5500 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5501 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5502 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5503 and __inv.
5504 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5505 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5506 __copysign.
5507 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5508 define aliases when function name is a macro.
5509 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5510 sysdeps/ieee754/dbl-64/sincos.tbl.
5511 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5512 fma4-enabled routines.
5513 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5514 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5515 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5516 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5517 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5518 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5519 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5520 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5521 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5522 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5523 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5524 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5525 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5526 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5527 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5528 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5529 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5530 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5531 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5532 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5533 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5534 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5535 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5536 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5537 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5538 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5539 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5540 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5541 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5542 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5543
5544 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5545 rename.
5546 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5549 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5552 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5553 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5554
5555 2011-10-24 Andreas Schwab <schwab@redhat.com>
5556
5557 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5558
5559 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5560
5561 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5562
5563 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5564 prediction.
5565 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5566
5567 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5568 Remove unused variable magic_bits.
5569 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5570
5571 * string/strnlen.c: Define and use STRNLEN macro.
5572 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5573 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5574 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5575 * wcsmbs/wcslen.c: Define and use WCSLEN.
5576 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5577 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5578 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5579 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5580 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5581 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5582 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5583
5584 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5585
5586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5587 strnlen-sse2-no-bsf.
5588 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5589 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5590 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5591 Add strnlen support.
5592 (USE_AS_STRNLEN): New macro.
5593 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5594 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5595 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5596 * sysdeps/x86_64/wcslen.S: New file.
5597
5598 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5599
5600 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5601 XMM-moves are used for copying on small sizes.
5602
5603 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5604
5605 * wcsmbs/Makefile (strop-tests): Add wcschr.
5606 * wcsmbs/test-wcschr.c: New file.
5607 * string/test-strchr.c: Update.
5608 Add wcschr support.
5609 (WIDE): New macro.
5610
5611 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5612
5613 * wcsmbs/Makefile (strop-tests): Add wcslen.
5614 * wcsmbs/test-wcslen.c: New file.
5615 * string/test-strlen.c: Update.
5616 Add wcslen support.
5617 (WIDE): New macro.
5618
5619 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5620
5621 * po/it.po: Update from translation team.
5622
5623 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5624
5625 * sysdeps/x86_64/wcscmp.S: Update.
5626 Fix wrong comparison semantics.
5627 wcscmp shall use signed comparison not unsigned.
5628 Don't use substraction to avoid overflow bug.
5629 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5630 * wcsmbc/wcscmp.c: Likewise.
5631 * string/test-strcmp.c: Likewise.
5632 Add new tests to check cases with negative values.
5633
5634 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5635
5636 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5637 * sysdeps/x86_64/dla.h: ...here. New file.
5638 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5639 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5642 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5644 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5645 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5647
5648 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5649
5650 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5651 __ynl_finite aliases.
5652
5653 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5654
5655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5656
5657 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5658 define DLA_FMA.
5659 [DLA_FMA] (EMULV): Use DLA_FMA.
5660 [DLA_FMA] (MUL12): Use EMULV.
5661 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5662 that are not needed.
5663 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5667 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5668 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5669 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5670
5671 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5672
5673 * math/s_nan.c: Undef __nan.
5674 * math/s_nanf.c: Undef __nanf.
5675 * math/s_nanl.c: Undef __nanl.
5676 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5677 "math_private.h".
5678
5679 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5680
5681 * math/s_catan.c: Add branch predictions.
5682 * math/s_catanf.c: Likewise.
5683 * math/s_catanh.c: Likewise.
5684 * math/s_catanhf.c: Likewise.
5685 * math/s_catanhl.c: Likewise.
5686 * math/s_catanl.c: Likewise.
5687 * math/s_cexp.c: Likewise.
5688 * math/s_cexpf.c: Likewise.
5689 * math/s_cexpl.c: Likewise.
5690 * math/s_clog.c: Likewise.
5691 * math/s_clog10.c: Likewise.
5692 * math/s_clog10f.c: Likewise.
5693 * math/s_clog10l.c: Likewise.
5694 * math/s_clogf.c: Likewise.
5695 * math/s_clogl.c: Likewise.
5696 * math/s_csqrt.c: Likewise.
5697 * math/s_csqrtf.c: Likewise.
5698 * math/s_csqrtl.c: Likewise.
5699 * math/s_ctanf.c: Likewise.
5700 * math/s_ctanh.c: Likewise.
5701 * math/s_ctanhf.c: Likewise.
5702 * math/s_ctanhl.c: Likewise.
5703 * math/s_ctanl.c: Likewise.
5704
5705 * math/math_private.h: Define __nan, __nanf, __nanl.
5706 * math/s_cacosh.c: Include <math_private.h>.
5707 * math/s_cacoshl.c: Likewise.
5708 * math/s_casinh.c: Likewise.
5709 * math/s_casinhf.c: Likewise.
5710 * math/s_casinhl.c: Likewise.
5711 * math/s_ccos.c: Rely entire on ccosh.
5712 * math/s_ccosf.c: Rely entire on ccoshf.
5713 * math/s_ccosl.c: Rely entirely on ccoshl.
5714 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5715 Remove tests for FE_INVALID.
5716 * math/s_ccoshf.c: Likewise.
5717 * math/s_ccoshl.c: Likewise.
5718 * math/s_csin.c: Likewise.
5719 * math/s_csinf.c: Likewise.
5720 * math/s_csinh.c Likewise.
5721 * math/s_csinhf.c: Likewise.
5722 * math/s_csinhl.c: Likewise.
5723 * math/s_csinl.c: Likewise.
5724 * math/s_ctan.c: Likewise.
5725 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5726 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5727 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5728
5729 2011-10-21 Ulrich Drepper <drepper@gmail.com>
5730
5731 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5732 compilation problems.
5733
5734 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5735 __builtin_expect.
5736
5737 2011-10-20 Ulrich Drepper <drepper@gmail.com>
5738
5739 * sysdeps/i386/configure.in: Test for -mfma4 option.
5740 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5741 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5742 COMMON_CPUID_INDEX_80000001.
5743 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5744 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5745 use it if FMA3 is not supported.
5746 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5747
5748 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5749 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5750
5751 2011-10-20 Andreas Schwab <schwab@redhat.com>
5752
5753 [BZ #12892]
5754 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5755 it would create a cycle with a link time dependency.
5756
5757 2011-10-19 Ulrich Drepper <drepper@gmail.com>
5758
5759 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5760 instruction.
5761 * string/Makefile (strop-tests): Add rawmemchr.
5762 * string/test-rawmemchr.c: New file.
5763
5764 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5765 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5766 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5767 when compiling str{,n}casecmp and when AVX is available. Hook up
5768 new optimized code in initializers.
5769
5770 2011-10-19 Andreas Schwab <schwab@redhat.com>
5771
5772 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5773 __feraiseexcept instead of feraiseexcept.
5774
5775 2011-10-18 Ulrich Drepper <drepper@gmail.com>
5776
5777 * math/math_private.h: Define defaults for libc_fetestexcept and
5778 libc_feupdateenv.
5779 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5780 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5781 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5782 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5783 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5784 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5785 libc_fetestexcept and libc_feupdateenv.
5786
5787 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5788 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5789 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5790 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5791 libc_feholdexcept_setround.
5792
5793 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5794 Add s_nearbyint-c and s_nearbyintf-c.
5795 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5796 nearbyintf inlines.
5797 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5798 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5799 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5800 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5801
5802 * math/math_private.h: Define defaults for libc_fegetround,
5803 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5804 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5805 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5806 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5807 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5808 standard functions.
5809 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5810 Remove comments and hacks for old compiler versions.
5811 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5812 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5813 libc_feholdexceptl.
5814
5815 2011-10-18 Andreas Schwab <schwab@redhat.com>
5816
5817 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
5818 (__feraiseexcept_renamed): Add __NTH.
5819 (feraiseexcept): Add __NTH. Rename local variables to fix
5820 namespace violations.
5821
5822 2011-10-17 Ulrich Drepper <drepper@gmail.com>
5823
5824 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5825
5826 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5827
5828 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5829 recently added interfaces.
5830 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5831
5832 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5833 about macro parameter expansion.
5834
5835 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5836 __NO_MATH_INLINES is defined. Cleanups.
5837
5838 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5839 and __floorf is target has SSE4.1.
5840 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5841 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5842 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5843 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5844
5845 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5846 name.
5847 (floorf): Likewise.
5848
5849 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5850
5851 2011-10-17 Andreas Schwab <schwab@redhat.com>
5852
5853 * misc/sys/cdefs.h: Fix last change.
5854
5855 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5856 database lookup.
5857
5858 2011-10-16 Ulrich Drepper <drepper@gmail.com>
5859
5860 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5861
5862 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5863 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5864 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5865 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5866 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5867 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5868 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5869 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5870 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5871 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5872 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5873 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5874 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5875 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5876 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5877 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5878 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5879 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5880 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5881 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5882 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5883 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5884
5885 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5886 ceil, ceilf, floor, floorf.
5887
5888 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5889 Perform IRELATIVE relocations last.
5890
5891 * elf/do-rel.h: Add another parameter nrelative, replacing the
5892 local variable with the same name. Change name of the function
5893 to end in Rel or Rela (uppercase).
5894 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5895 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5896 elf_dynamic_do_##reloc function.
5897
5898 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5899
5900 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5901 is sufficient, at least on modern CPUs.
5902
5903 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5904
5905 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5906 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5907
5908 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5909 __expl_finite.
5910 * math/bits/math-finite.h: Add entries for exp.
5911 * math/e_expl.c: Add __*_finite alias.
5912 * sysdeps/i386/fpu/e_exp.S: Likewise.
5913 * sysdeps/i386/fpu/e_expf.S: Likewise.
5914 * sysdeps/i386/fpu/e_expl.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5916 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5917 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5918 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5919 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5920 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5921 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5922
5923 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5924 is sufficient, at least on modern CPUs.
5925
5926 * ctype/ctype-info.c (__ctype_init): Define.
5927 * include/ctype.h (__ctype_init): Declare.
5928 (__ctype_b_loc): The variable is always initialized.
5929 (__ctype_toupper_loc): Likewise.
5930 (__ctype_tolower_loc): Likewise.
5931 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5932 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5933
5934 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5935
5936 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5937
5938 * configure.in: Also look in $cxxmachine/include for C++ system
5939 headers.
5940
5941 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5942
5943 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5944 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5945 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5946 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5947 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5948 (USE_AS_WMEMCMP): New macro.
5949 Fixing indents.
5950 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5951 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5952 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5953 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5955 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5956 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5957 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5958 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5959 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5960 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5961 (USE_AS_WMEMCMP): New macro.
5962 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5963 * sysdeps/string/test-memcmp.c: Update.
5964 Fix simple_wmemcmp.
5965 Add new tests.
5966 * wcsmbs/wmemcmp.c: Update.
5967 (WMEMCMP): New macro.
5968 Fix overflow bug.
5969
5970 2011-10-12 Andreas Jaeger <aj@suse.de>
5971
5972 [BZ #13268]
5973 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5974
5975 2011-10-15 Ulrich Drepper <drepper@gmail.com>
5976
5977 * libio/iofwide.c (do_length): Avoid warning.
5978
5979 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5980
5981 2011-10-14 Ulrich Drepper <drepper@gmail.com>
5982
5983 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5984
5985 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5986 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5987 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5988 * sysdeps/i386/i686/fpu/e_log.S: New file.
5989 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5990 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5991
5992 * ctype/ctype.h: Add support for inlined isXXX functions when
5993 compiling C++ code.
5994
5995 2011-10-14 Andreas Schwab <schwab@redhat.com>
5996
5997 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5998
5999 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6000
6001 2011-10-13 Roland McGrath <roland@hack.frob.com>
6002
6003 [BZ #13291]
6004 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6005
6006 2011-10-13 Andreas Schwab <schwab@redhat.com>
6007
6008 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6009 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6010 feraiseexcept.
6011
6012 * sysdeps/x86_64/memrchr.S: Check for zero size.
6013
6014 * string/stratcliff.c: Add memrchr tests.
6015
6016 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6017
6018 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6019 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6020 rawmemchr-sse2 rawmemchr-sse2-bsf.
6021 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6022 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6023 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6024 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6025 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6026 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6027 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6028 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6029 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6030 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6031 * string/memrchr.c (MEMRCHR): New macro.
6032
6033 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6034
6035 Add integration with gcc's -ffinite-math-only and optimize wrapper
6036 functions in libm.
6037 * Versions.def: Define GLIBC_2.15 version for libm.
6038 * math/Makefile (headers): Add bits/math-finite.h.
6039 * math/bits/math-finite.h: New file.
6040 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6041 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6042 * math/e_acoshl.c: Add __*_finite alias.
6043 * math/e_acosl.c: Likewise.
6044 * math/e_asinl.c: Likewise.
6045 * math/e_atan2l.c: Likewise.
6046 * math/e_atanhl.c: Likewise.
6047 * math/e_coshl.c: Likewise.
6048 * math/e_exp10.c: Likewise.
6049 * math/e_exp10f.c: Likewise.
6050 * math/e_exp10l.c: Likewise.
6051 * math/e_exp2l.c: Likewise.
6052 * math/e_fmodl.c: Likewise.
6053 * math/e_gammal_r.c: Likewise.
6054 * math/e_hypotl.c: Likewise.
6055 * math/e_j0l.c: Likewise.
6056 * math/e_j1l.c: Likewise.
6057 * math/e_jnl.c: Likewise.
6058 * math/e_lgammal_r.c: Likewise.
6059 * math/e_log10l.c: Likewise.
6060 * math/e_log2l.c: Likewise.
6061 * math/e_logl.c: Likewise.
6062 * math/e_powl.c: Likewise.
6063 * math/e_sinhl.c: Likewise.
6064 * math/e_sqrtl.c: Likewise.
6065 * math/e_scalb.c: Completely rewritten and optimized.
6066 * math/e_scalbf.c: Likewise.
6067 * math/e_scalbl.c: Likewise.
6068 * math/w_acos.c: Likewise.
6069 * math/w_acosf.c: Likewise.
6070 * math/w_acosl.c: Likewise.
6071 * math/w_acosh.c: Likewise.
6072 * math/w_acoshf.c: Likewise.
6073 * math/w_acoshl.c: Likewise.
6074 * math/w_asin.c: Likewise.
6075 * math/w_asinf.c: Likewise.
6076 * math/w_asinl.c: Likewise.
6077 * math/w_atan2.c: Likewise.
6078 * math/w_atan2f.c: Likewise.
6079 * math/w_atan2l.c: Likewise.
6080 * math/w_atanh.c: Likewise.
6081 * math/w_atanhf.c: Likewise.
6082 * math/w_atanhl.c: Likewise.
6083 * math/w_exp10.c: Likewise.
6084 * math/w_exp10f.c: Likewise.
6085 * math/w_exp10l.c: Likewise.
6086 * math/w_fmod.c: Likewise.
6087 * math/w_fmodf.c: Likewise.
6088 * math/w_fmodl.c: Likewise.
6089 * math/w_j0.c: Likewise.
6090 * math/w_j0f.c: Likewise.
6091 * math/w_j0l.c: Likewise.
6092 * math/w_j1.c: Likewise.
6093 * math/w_j1f.c: Likewise.
6094 * math/w_j1l.c: Likewise.
6095 * math/w_jn.c: Likewise.
6096 * math/w_jnf.c: Likewise.
6097 * math/w_log.c: Likewise.
6098 * math/w_logf.c: Likewise.
6099 * math/w_logl.c: Likewise.
6100 * math/w_log10.c: Likewise.
6101 * math/w_log10f.c: Likewise.
6102 * math/w_log10l.c: Likewise.
6103 * math/w_log2.c: Likewise.
6104 * math/w_log2f.c: Likewise.
6105 * math/w_log2l.c: Likewise.
6106 * math/w_pow.c: Likewise.
6107 * math/w_powf.c: Likewise.
6108 * math/w_powl.c: Likewise.
6109 * math/w_remainder.c: Likewise.
6110 * math/w_remainderf.c: Likewise.
6111 * math/w_remainderl.c: Likewise.
6112 * math/w_scalb.c: Likewise.
6113 * math/w_scalbf.c: Likewise.
6114 * math/w_scalbl.c: Likewise.
6115 * math/w_sqrt.c: Likewise.
6116 * math/w_sqrtf.c: Likewise.
6117 * math/w_sqrtl.c: Likewise.
6118 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6119 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6120 used.
6121 * math/math_private.h: Declare __kernel_standard_f.
6122 * math/w_cosh.c: Remove cruft and optimize a bit.
6123 * math/w_coshf.c: Likewise.
6124 * math/w_coshl.c: Likewise.
6125 * math/w_exp2.c: Likewise.
6126 * math/w_exp2f.c: Likewise.
6127 * math/w_exp2l.c: Likewise.
6128 * math/w_hypot.c: Likewise.
6129 * math/w_hypotf.c: Likewise.
6130 * math/w_hypotl.c: Likewise.
6131 * math/w_lgamma.c: Likewise.
6132 * math/w_lgamma_r.c: Likewise.
6133 * math/w_lgammaf.c: Likewise.
6134 * math/w_lgammaf_r.c: Likewise.
6135 * math/w_lgammal.c: Likewise.
6136 * math/w_lgammal_r.c: Likewise.
6137 * math/w_sinh.c: Likewise.
6138 * math/w_sinhf.c: Likewise.
6139 * math/w_sinhl.c: Likewise.
6140 * math/w_tgamma.c: Likewise.
6141 * math/w_tgammaf.c: Likewise.
6142 * math/w_tgammal.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6144 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6145 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6146 Minor optimizations. Pretty printing. Remove cruft.
6147 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6148 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6149 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6150 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6151 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6152 * sysdeps/i386/fpu/e_asin.S: Likewise.
6153 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6154 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6155 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6156 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6157 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6158 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6159 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6160 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6161 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6162 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6163 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6164 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6165 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6166 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6167 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6168 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6169 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6170 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6171 * sysdeps/i386/fpu/e_log.S: Likewise.
6172 * sysdeps/i386/fpu/e_log10.S: Likewise.
6173 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6174 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6175 * sysdeps/i386/fpu/e_log2.S: Likewise.
6176 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6177 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6178 * sysdeps/i386/fpu/e_logf.S: Likewise.
6179 * sysdeps/i386/fpu/e_logl.S: Likewise.
6180 * sysdeps/i386/fpu/e_pow.S: Likewise.
6181 * sysdeps/i386/fpu/e_powf.S: Likewise.
6182 * sysdeps/i386/fpu/e_powl.S: Likewise.
6183 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6184 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6185 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6186 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6187 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6188 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6189 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6190 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6191 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6192 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6193 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6199 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6200 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6201 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6202 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6203 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6205 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6206 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6208 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6209 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6210 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6211 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6212 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6213 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6214 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6215 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6216 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6217 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6218 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6219 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6220 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6221 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6222 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6223 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6224 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6225 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6226 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6227 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6228 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6229 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6230 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6231 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6232 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6233 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6234 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6235 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6236 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6237 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6238 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6239 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6240 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6243 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6244 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6245 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6246 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6247 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6248 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6249 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6250 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6251 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6252 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6254 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6272 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6275 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6277 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6278 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6279 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6280 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6283 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6284 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6285 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6286 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6287 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6288 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6289 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6290 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6291 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6292 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6293 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6294 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6295 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6296 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6297 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6298 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6299 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6300 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6301 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6302 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6303 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6304 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6305 (__isnanf): Likewise.
6306 (__isinf_ns): Likewise.
6307 (__isinf_nsf): Likewise.
6308 (__finite): Likewise.
6309 (__finitef): Likewise.
6310 (__ieee754_sqrt): Define as macro.
6311 (__ieee754_sqrtf): Define as macro.
6312 (__ieee754_sqrtl): Define as macro.
6313 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6314 inlined copy.
6315 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6316 __FINITE_MATH_ONLY__ consistent.
6317 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6318
6319 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6320
6321 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6322 of rawmemchr.
6323
6324 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6325
6326 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6327
6328 * po/ja.po: Update from translation team.
6329
6330 2011-10-08 Roland McGrath <roland@hack.frob.com>
6331
6332 * locale/programs/locarchive.c (prepare_address_space): New function.
6333 (create_archive, enlarge_archive, open_archive): Use it.
6334
6335 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6336 inside [SHARED], where it is used.
6337
6338 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6339
6340 * nss/getent.c (netgroup_keys): Remove unused variable.
6341 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6342
6343 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6344
6345 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6346 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6347 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6348 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6349 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6350 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6351 * math/Makefile (libm-calls): Add s_isinf_ns.
6352 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6353 * math/multc3.c: Likewise.
6354 * math/s_casin.c: Likewise.
6355 * math/s_casinf.c: Likewise.
6356 * math/s_casinl.c: Likewise.
6357 * math/s_ccos.c: Likewise.
6358 * math/s_ccosf.c: Likewise.
6359 * math/s_ccosl.c: Likewise.
6360 * math/s_ctan.c: Likewise.
6361 * math/s_ctanf.c: Likewise.
6362 * math/s_ctanh.c: Likewise.
6363 * math/s_ctanhf.c: Likewise.
6364 * math/s_ctanhl.c: Likewise.
6365 * math/s_ctanl.c: Likewise.
6366 * math/w_fmod.c: Likewise.
6367 * math/w_fmodf.c: Likewise.
6368 * math/w_fmodl.c: Likewise.
6369 * math/w_remainder.c: Likewise.
6370 * math/w_remainderf.c: Likewise.
6371 * math/w_remainderl.c: Likewise.
6372 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6373 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6374 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6375 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6376 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6377 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6378 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6379 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6380
6381 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6382 of the number.
6383 * stdio-common/printf_fphex.c: Likewise.
6384 * stdio-common/printf_size.c: Likewise.
6385
6386 * math/e_exp10.c: Include math_private.h using <...> not "...".
6387 * math/e_exp10f.c: Likewise.
6388 * math/e_exp10l.c: Likewise.
6389 * math/e_exp2l.c: Likewise.
6390 * math/e_j0l.c: Likewise.
6391 * math/e_j1l.c: Likewise.
6392 * math/e_jnl.c: Likewise.
6393 * math/e_lgammal_r.c: Likewise.
6394 * math/e_rem_pio2l.c: Likewise.
6395 * math/e_scalb.c: Likewise.
6396 * math/e_scalbf.c: Likewise.
6397 * math/e_scalbl.c: Likewise.
6398 * math/k_cosl.c: Likewise.
6399 * math/k_sinl.c: Likewise.
6400 * math/k_tanl.c: Likewise.
6401 * math/s_cacoshf.c: Likewise.
6402 * math/s_catan.c: Likewise.
6403 * math/s_catanf.c: Likewise.
6404 * math/s_catanh.c: Likewise.
6405 * math/s_catanhf.c: Likewise.
6406 * math/s_catanhl.c: Likewise.
6407 * math/s_catanl.c: Likewise.
6408 * math/s_ccosh.c: Likewise.
6409 * math/s_ccoshf.c: Likewise.
6410 * math/s_ccoshl.c: Likewise.
6411 * math/s_cexp.c: Likewise.
6412 * math/s_cexpf.c: Likewise.
6413 * math/s_cexpl.c: Likewise.
6414 * math/s_clog.c: Likewise.
6415 * math/s_clog10.c: Likewise.
6416 * math/s_clog10f.c: Likewise.
6417 * math/s_clog10l.c: Likewise.
6418 * math/s_clogf.c: Likewise.
6419 * math/s_clogl.c: Likewise.
6420 * math/s_csin.c: Likewise.
6421 * math/s_csinf.c: Likewise.
6422 * math/s_csinh.c: Likewise.
6423 * math/s_csinhf.c: Likewise.
6424 * math/s_csinhl.c: Likewise.
6425 * math/s_csinl.c: Likewise.
6426 * math/s_csqrt.c: Likewise.
6427 * math/s_csqrtf.c: Likewise.
6428 * math/s_csqrtl.c: Likewise.
6429 * math/s_ctan.c: Likewise.
6430 * math/s_ctanf.c: Likewise.
6431 * math/s_ctanh.c: Likewise.
6432 * math/s_ctanhf.c: Likewise.
6433 * math/s_ctanhl.c: Likewise.
6434 * math/s_ctanl.c: Likewise.
6435 * math/s_ldexp.c: Likewise.
6436 * math/s_ldexpf.c: Likewise.
6437 * math/s_ldexpl.c: Likewise.
6438 * math/s_significand.c: Likewise.
6439 * math/s_significandf.c: Likewise.
6440 * math/s_significandl.c: Likewise.
6441 * math/w_acos.c: Likewise.
6442 * math/w_acosf.c: Likewise.
6443 * math/w_acosh.c: Likewise.
6444 * math/w_acoshf.c: Likewise.
6445 * math/w_acoshl.c: Likewise.
6446 * math/w_acosl.c: Likewise.
6447 * math/w_asin.c: Likewise.
6448 * math/w_asinf.c: Likewise.
6449 * math/w_asinl.c: Likewise.
6450 * math/w_atan2.c: Likewise.
6451 * math/w_atan2f.c: Likewise.
6452 * math/w_atan2l.c: Likewise.
6453 * math/w_atanh.c: Likewise.
6454 * math/w_atanhf.c: Likewise.
6455 * math/w_atanhl.c: Likewise.
6456 * math/w_cosh.c: Likewise.
6457 * math/w_coshf.c: Likewise.
6458 * math/w_coshl.c: Likewise.
6459 * math/w_dremf.c: Likewise.
6460 * math/w_exp10.c: Likewise.
6461 * math/w_exp10f.c: Likewise.
6462 * math/w_exp10l.c: Likewise.
6463 * math/w_exp2.c: Likewise.
6464 * math/w_exp2f.c: Likewise.
6465 * math/w_fmod.c: Likewise.
6466 * math/w_fmodf.c: Likewise.
6467 * math/w_fmodl.c: Likewise.
6468 * math/w_hypot.c: Likewise.
6469 * math/w_hypotf.c: Likewise.
6470 * math/w_hypotl.c: Likewise.
6471 * math/w_j0.c: Likewise.
6472 * math/w_j0f.c: Likewise.
6473 * math/w_j0l.c: Likewise.
6474 * math/w_j1.c: Likewise.
6475 * math/w_j1f.c: Likewise.
6476 * math/w_j1l.c: Likewise.
6477 * math/w_jn.c: Likewise.
6478 * math/w_jnf.c: Likewise.
6479 * math/w_jnl.c: Likewise.
6480 * math/w_lgamma.c: Likewise.
6481 * math/w_lgamma_r.c: Likewise.
6482 * math/w_lgammaf.c: Likewise.
6483 * math/w_lgammaf_r.c: Likewise.
6484 * math/w_lgammal.c: Likewise.
6485 * math/w_lgammal_r.c: Likewise.
6486 * math/w_log.c: Likewise.
6487 * math/w_log10.c: Likewise.
6488 * math/w_log10f.c: Likewise.
6489 * math/w_log10l.c: Likewise.
6490 * math/w_log2.c: Likewise.
6491 * math/w_log2f.c: Likewise.
6492 * math/w_log2l.c: Likewise.
6493 * math/w_logf.c: Likewise.
6494 * math/w_logl.c: Likewise.
6495 * math/w_pow.c: Likewise.
6496 * math/w_powf.c: Likewise.
6497 * math/w_powl.c: Likewise.
6498 * math/w_remainder.c: Likewise.
6499 * math/w_remainderf.c: Likewise.
6500 * math/w_remainderl.c: Likewise.
6501 * math/w_scalb.c: Likewise.
6502 * math/w_scalbf.c: Likewise.
6503 * math/w_scalbl.c: Likewise.
6504 * math/w_sinh.c: Likewise.
6505 * math/w_sinhf.c: Likewise.
6506 * math/w_sinhl.c: Likewise.
6507 * math/w_sqrt.c: Likewise.
6508 * math/w_sqrtf.c: Likewise.
6509 * math/w_sqrtl.c: Likewise.
6510 * math/w_tgamma.c: Likewise.
6511 * math/w_tgammaf.c: Likewise.
6512 * math/w_tgammal.c: Likewise.
6513
6514 * po/ja.po: Update from translation team.
6515
6516 2011-09-29 Andreas Jaeger <aj@suse.de>
6517
6518 [BZ #13179]
6519 * sunrpc/netname.c (netname2host): Fix logic.
6520
6521 [BZ #6779]
6522 [BZ #6783]
6523 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6524 correctly.
6525 * math/w_remainder.c (__remainder): Likewise.
6526 * math/w_remainderf.c (__remainderf): Likewise.
6527 * math/libm-test.inc (remainder_test): Add test cases.
6528
6529 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6530
6531 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6532 sdiv_qrnnd.
6533
6534 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6535
6536 * string/test-memcmp.c: Avoid unncessary #defines.
6537 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6538
6539 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6540
6541 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6542 Use new sse2 version for core i3 - i7 as it's faster
6543 than sse42 version.
6544 (bit_Prefer_PMINUB_for_stringop): New.
6545 * sysdeps/x86_64/rawmemchr.S: Update.
6546 Replace with faster SSE2 version.
6547 * sysdeps/x86_64/memrchr.S: New file.
6548 * sysdeps/x86_64/memchr.S: Update.
6549 Replace with faster SSE2 version.
6550
6551 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6552
6553 * elf/dl-load.c (lose): Add cast to avoid warning.
6554
6555 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6556
6557 * po/ca.po: Update from translation team.
6558
6559 * inet/getnetgrent_r.c: Hook up nscd.
6560 * nscd/Makefile (routines): Add nscd_netgroup.
6561 (nscd-modules): Add netgroupcache.
6562 (CFLAGS-netgroupcache.c): Define.
6563 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6564 (cache_search): Add const to second parameter.
6565 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6566 INNETGR.
6567 (dbs): Add netgrdb entry.
6568 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6569 (verify_persistent_db): Handle netgrdb.
6570 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6571 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6572 GETFDNETGR.
6573 (netgroup_response_header): Define.
6574 (innetgroup_response_header): Define.
6575 (datahead): Add netgroup_response_header and innetgroup_response_header
6576 elements.
6577 * nscd/nscd.conf: Add entries for netgroup cache.
6578 * nscd/nscd.h (dbtype): Add netgrdb.
6579 (_PATH_NSCD_NETGROUP_DB): Define.
6580 (netgroup_iov_disabled): Declare.
6581 (xmalloc, xcalloc, xrealloc): Move declarations here.
6582 (cache_search): Adjust prototype.
6583 Add netgroup-related prototypes.
6584 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6585 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6586 (__nscd_innetgr): Declare.
6587 * nscd/selinux.c (perms): Use access_vector_t as element type and
6588 add netgroup-related initializers.
6589 * nscd/netgroupcache.c: New file.
6590 * nscd/nscd_netgroup.c: New file.
6591 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6592 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6593 For four parameters use innetgr.
6594 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6595 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6596 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6597 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6598
6599 * nscd/connections.c (register_traced_file): Don't register file
6600 for disabled databases.
6601
6602 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6603
6604 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6605
6606 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6607 from tree and freeing node.
6608
6609 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6610
6611 * nss/nsswitch.c (__nss_database_lookup): Handle
6612 nss_parse_service_list out of memory case.
6613
6614 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6615
6616 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6617 out of memory case.
6618
6619 2011-10-04 Andreas Schwab <schwab@redhat.com>
6620
6621 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6622 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6623 pass it down.
6624 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6625 elf_machine_rela, elf_machine_lazy_rel.
6626 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6627 (ELF_DYNAMIC_DO_REL): Likewise.
6628 (ELF_DYNAMIC_DO_RELA): Likewise.
6629 (ELF_DYNAMIC_RELOCATE): Likewise.
6630 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6631 to ELF_DYNAMIC_DO_REL.
6632 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6633 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6634 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6635 elf_machine_rela.
6636 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6637 skip_ifunc, don't call ifunc function if non-zero.
6638 (elf_machine_rela): Likewise.
6639 (elf_machine_lazy_rel): Likewise.
6640 (elf_machine_lazy_rela): Likewise.
6641 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6642 (elf_machine_lazy_rel): Likewise.
6643 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6644 Likewise.
6645 (elf_machine_lazy_rel): Likewise.
6646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6647 Likewise.
6648 (elf_machine_lazy_rel): Likewise.
6649 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6650 (elf_machine_lazy_rel): Likewise.
6651 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6652 (elf_machine_lazy_rel): Likewise.
6653 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6654 (elf_machine_lazy_rel): Likewise.
6655 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6656 (elf_machine_lazy_rel): Likewise.
6657 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6658 (elf_machine_lazy_rel): Likewise.
6659 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6660 (elf_machine_lazy_rel): Likewise.
6661
6662 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6663
6664 * nss/nss_files/files-init.c (_nss_files_init): Use static
6665 initialization for all the *_traced_file variables.
6666
6667 2011-09-28 Andreas Schwab <schwab@redhat.com>
6668
6669 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6670
6671 2011-09-27 Roland McGrath <roland@hack.frob.com>
6672
6673 [BZ #13226]
6674 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6675
6676 2011-09-27 Andreas Schwab <schwab@redhat.com>
6677
6678 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6679 Reread the line before reparsing it.
6680
6681 2011-09-26 Andreas Schwab <schwab@redhat.com>
6682
6683 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6684
6685 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6686 Maxim Kuvyrkov <maxim@codesourcery.com>
6687 Joseph Myers <joseph@codesourcery.com>
6688
6689 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6690 if needed for __stack_chk_guard.
6691
6692 2011-09-19 Roland McGrath <roland@hack.frob.com>
6693
6694 * sysdeps/posix/spawni.c (script_execute): Always define it.
6695 It will be optimized away if unused.
6696 (maybe_script_execute): New function.
6697 (__spawni): Call it.
6698
6699 * Makerules: Don't include tls.make.
6700 (config-tls): Always set to thread.
6701 * tls.make.c: File removed.
6702
6703 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6704
6705 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6706 * config.make.in (CPPFLAGS-config): New substituted variable.
6707
6708 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6709
6710 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6711
6712 [BZ #13192]
6713 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6714 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6715
6716 2011-09-15 Roland McGrath <roland@hack.frob.com>
6717
6718 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6719 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6720 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6721 (CALL_FAIL): Likewise.
6722 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6723 (CALL_FAIL): Macro removed.
6724 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6725
6726 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6727
6728 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6729 for __FINITE_MATH_ONLY__ == 1.
6730
6731 2011-09-15 Andreas Schwab <schwab@redhat.com>
6732
6733 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6734 __ieee754_sqrt instead of sqrt.
6735 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6736 __ieee754_sqrtf instead of sqrtf.
6737 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6738 __floorf instead of floorf.
6739 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6740 __floorf, __truncf instead of floorf, truncf.
6741
6742 2011-09-14 Ulrich Drepper <drepper@gmail.com>
6743
6744 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6745
6746 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6747 __extern_always_inline.
6748 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6749 32-bit.
6750
6751 2011-09-14 Andreas Schwab <schwab@redhat.com>
6752
6753 * elf/rtld.c (dl_main): Also relocate in dependency order when
6754 doing symbol dependency testing.
6755
6756 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6757
6758 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6759 Always define `refsym'.
6760
6761 2011-09-13 Andreas Schwab <schwab@redhat.com>
6762
6763 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6764 (__FD_ELT): Renamed from __FDELT.
6765 * misc/bits/select2.h (__FD_ELT): Likewise.
6766 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6767 __FD_MASK instead of __FDELT, __FDMASK.
6768 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6769 Likewise.
6770 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6771 Likewise.
6772
6773 * elf/Makefile (gen-ldd): Fix pattern.
6774
6775 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6776 (init_tls): Likewise.
6777
6778 2011-09-12 Ulrich Drepper <drepper@gmail.com>
6779
6780 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6781
6782 2011-09-12 Andreas Schwab <schwab@redhat.com>
6783
6784 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6785 `struct cmsghdr *' instead of `void *'.
6786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6787 Likewise.
6788
6789 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6790
6791 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6792 if non-absolute.
6793 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6794 ldd_rewrite_script.
6795
6796 2011-09-11 Ulrich Drepper <drepper@gmail.com>
6797
6798 * configure.in: Remove --with-tls option.
6799 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6800 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6801 out in case it is missing.
6802 * sysdeps/ia64/elf/configure.in: Likewise.
6803 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6804 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6805 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6806 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6807 * sysdeps/sh/elf/configure.in: Likewise.
6808 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6809 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6810 * sysdeps/x86_64/elf/configure.in: Likewise.
6811 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6812 * sysdeps/mach/hurd/tls.h: Likewise.
6813
6814 [BZ #13067]
6815 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6816
6817 [BZ #13090]
6818 * configure.in: Fix use of AC_INIT.
6819
6820 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6821
6822 2011-09-10 Ulrich Drepper <drepper@gmail.com>
6823
6824 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6825 __set_errno.
6826 * malloc/hooks.c: Likewise.
6827
6828 [BZ #11929]
6829 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6830 variables statically.
6831 (narenas): Initialize.
6832 (list_lock): Initialize.
6833 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6834 initializtion of main_arena and list_lock. Small cleanups.
6835 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6836 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6837 Add initializers to main_arena and mp_.
6838 (malloc_state): Remove pagesize member. Change all users to use
6839 GLRO(dl_pagesize).
6840
6841 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6842 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6843 is always initialized.
6844
6845 * malloc/malloc.c: Removed unused configurations and dead code.
6846 * malloc/arena.c: Likewise.
6847 * malloc/hooks.c: Likewise.
6848 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
6849
6850 * include/tls.h: Removed. USE___THREAD must always be defined.
6851 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6852 * elf/dl-libc.c: Likewise.
6853 * elf/dl-tsd.c: Likewise.
6854 * include/errno.h: Likewise.
6855 * include/netdb.h: Likewise.
6856 * include/resolv.h: Likewise.
6857 * inet/herrno-loc.c: Likewise.
6858 * inet/herrno.c: Likewise.
6859 * malloc/arena.c: Likewise.
6860 * malloc/hooks.c: Likewise.
6861 * malloc/malloc.c: Likewise.
6862 * resolv/res-state.c: Likewise.
6863 * resolv/res_libc.c: Likewise.
6864 * sysdeps/i386/dl-machine.h: Likewise.
6865 * sysdeps/ia64/dl-machine.h: Likewise.
6866 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6867 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6868 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6869 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6870 * sysdeps/sh/dl-machine.h: Likewise.
6871 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6872 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6873 * sysdeps/unix/i386/sysdep.S: Likewise.
6874 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6875 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6876 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6877 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6878 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6879 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6880 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6881 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6884 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6885 * sysdeps/x86_64/dl-machine.h: Likewise.
6886 * tls.make.c: Likewise.
6887
6888 * configure.in: Remove --with-__thread option. Make tests for
6889 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6890 tls_model attribute fail if no support is available. Remove
6891 USE_IN_LIBIO.
6892 * Makeconfig: Adjust for dropped configure option. All features are
6893 now mandatory.
6894 * Makerules: Likewise.
6895 * Versions.def: Likewise.
6896 * argp/argp-fmtstream.c: Likewise.
6897 * argp/argp-fmtstream.h: Likewise.
6898 * argp/argp-help.c: Likewise.
6899 * assert/assert.c: Likewise.
6900 * config.h.in: Likewise.
6901 * config.make.in: Likewise.
6902 * configure: Likewise.
6903 * configure.in: Likewise.
6904 * csu/Versions: Likewise.
6905 * csu/init.c: Likewise.
6906 * elf/tst-audit2.c: Likewise.
6907 * elf/tst-tls10.c: Likewise.
6908 * elf/tst-tls10.h: Likewise.
6909 * elf/tst-tls11.c: Likewise.
6910 * elf/tst-tls12.c: Likewise.
6911 * elf/tst-tls14.c: Likewise.
6912 * elf/tst-tlsmod11.c: Likewise.
6913 * elf/tst-tlsmod12.c: Likewise.
6914 * elf/tst-tlsmod13.c: Likewise.
6915 * elf/tst-tlsmod13a.c: Likewise.
6916 * elf/tst-tlsmod14a.c: Likewise.
6917 * elf/tst-tlsmod15b.c: Likewise.
6918 * elf/tst-tlsmod16a.c: Likewise.
6919 * elf/tst-tlsmod16b.c: Likewise.
6920 * elf/tst-tlsmod7.c: Likewise.
6921 * elf/tst-tlsmod8.c: Likewise.
6922 * elf/tst-tlsmod9.c: Likewise.
6923 * gmon/gmon.c: Likewise.
6924 * grp/fgetgrent_r.c: Likewise.
6925 * grp/putgrent.c: Likewise.
6926 * hurd/fopenport.c: Likewise.
6927 * include/libc-symbols.h: Likewise.
6928 * include/tls.h: Likewise.
6929 * intl/gettextP.h: Likewise.
6930 * intl/loadinfo.h: Likewise.
6931 * locale/global-locale.c: Likewise.
6932 * locale/localeinfo.h: Likewise.
6933 * mach/devstream.c: Likewise.
6934 * malloc/arena.c: Likewise.
6935 * malloc/set-freeres.c: Likewise.
6936 * misc/err.c: Likewise.
6937 * misc/getttyent.c: Likewise.
6938 * misc/mntent_r.c: Likewise.
6939 * posix/getopt.c: Likewise.
6940 * posix/wordexp.c: Likewise.
6941 * pwd/fgetpwent_r.c: Likewise.
6942 * resolv/Versions: Likewise.
6943 * resolv/res_hconf.c: Likewise.
6944 * shadow/fgetspent_r.c: Likewise.
6945 * shadow/putspent.c: Likewise.
6946 * stdio-common/printf_fphex.c: Likewise.
6947 * stdio-common/tmpfile.c: Likewise.
6948 * stdlib/abort.c: Likewise.
6949 * stdlib/fmtmsg.c: Likewise.
6950 * sunrpc/auth_unix.c: Likewise.
6951 * sunrpc/clnt_perr.c: Likewise.
6952 * sunrpc/clnt_tcp.c: Likewise.
6953 * sunrpc/clnt_udp.c: Likewise.
6954 * sunrpc/clnt_unix.c: Likewise.
6955 * sunrpc/openchild.c: Likewise.
6956 * sunrpc/svc_simple.c: Likewise.
6957 * sunrpc/svc_tcp.c: Likewise.
6958 * sunrpc/svc_udp.c: Likewise.
6959 * sunrpc/svc_unix.c: Likewise.
6960 * sunrpc/xdr.c: Likewise.
6961 * sunrpc/xdr_array.c: Likewise.
6962 * sunrpc/xdr_rec.c: Likewise.
6963 * sunrpc/xdr_ref.c: Likewise.
6964 * sunrpc/xdr_stdio.c: Likewise.
6965
6966 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6967
6968 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6969
6970 2011-07-03 Andreas Jaeger <aj@suse.de>
6971
6972 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6973 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6974 regenerate with gen-libm-tests.pl.
6975
6976 2010-05-12 Petr Baudis <pasky@suse.cz>
6977
6978 [BZ #11589]
6979 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6980 around j0() zero points by switching to j1().
6981 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6982 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6983 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6984 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6985
6986 2011-09-09 Ulrich Drepper <drepper@gmail.com>
6987
6988 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6989 instead of 0.
6990 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6991 instead of 0. .
6992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6993 Patch in part by Pavel Roskin <proski@gnu.org>.
6994
6995 [BZ #13138]
6996 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6997 realloc.
6998 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6999 Free memory block if necessary.
7000
7001 [BZ #12847]
7002 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7003 be NULL. Don't lock in this case.
7004
7005 2011-09-09 Roland McGrath <roland@hack.frob.com>
7006
7007 * elf/elf.h (ELFOSABI_GNU): New macro.
7008 (ELFOSABI_LINUX): Define to that.
7009
7010 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7011
7012 * string/strncat.c (strncat): Undef the symbol in case it has been
7013 defined in bits/string.h.
7014
7015 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7016
7017 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7018
7019 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7020 link map.
7021
7022 2011-08-17 Andreas Jaeger <aj@suse.de>
7023
7024 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7025
7026 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7027 Ian Lance Taylor <iant@google.com>
7028
7029 * math/libm-test.inc (lround_test): New testcase.
7030 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7031
7032 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7033
7034 * Makefile: Remove support for automatic cvs check-ins.
7035 * Makerules: Likewise.
7036 * config.make.in: Likewise.
7037 * configure.in: Likewise.
7038 * intl/Makefile: Likewise.
7039 * locale/Makefile: Likewise.
7040 * po/Makefile: Likewise.
7041 * posix/Makefile: Likewise.
7042 * sysdeps/gnu/Makefile: Likewise.
7043 * sysdeps/mach/hurd/Makefile: Likewise.
7044 * sysdeps/sparc/sparc32/Makefile: Likewise.
7045
7046 [BZ #13118]
7047 * posix/Makefile (bug-regex32-ENV): Define.
7048 Patch by John Stanley <jpsinthemix@verizon.net>.
7049
7050 * misc/Makefile (headers): Add bits/select2.h.
7051 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7052 * misc/bits/select2.h: New file.
7053 * include/bits/select2.h: New file.
7054 * debug/Makefile (routines): Add fdelt_chk.
7055 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7056 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7057 FD_ISSET.
7058 * debug/fdelt_chk.c: New file.
7059
7060 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7061 * wcsmbs/test-wmemcmp.c: Likewise.
7062 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7063 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7064
7065 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7066
7067 * string/Makefile (strop-tests): Add memcmp.
7068 * string/test-wmemcmp.c: New file.
7069 * string/test-memcmp.c: Add wmemcmp support.
7070
7071 2011-09-08 Roland McGrath <roland@hack.frob.com>
7072
7073 [BZ #13153]
7074 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7075 2011-07-19 change.
7076
7077 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7078 garbage value in a __mach_port_mod_refs call in the cases of the
7079 task-self and thread-self ports.
7080
7081 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7082
7083 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7084
7085 2011-09-08 Andreas Schwab <schwab@redhat.com>
7086
7087 * elf/dl-load.c (lose): Check for non-null L.
7088
7089 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7090
7091 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7092
7093 * elf/dl-libc.c (dlerror_run): Pass back error code from
7094 dl_catch_error.
7095
7096 [BZ #13123]
7097 * elf/dl-load.c (lose): Free l_origin if it is valid.
7098
7099 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7100 names.
7101 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7102 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7103 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7104 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7105 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7106 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7107
7108 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7109
7110 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7111 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7112 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7113 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7114 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7115 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7116 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7117 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7118 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7119 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7120
7121 2011-08-15 Alan Modra <amodra@gmail.com>
7122
7123 [BZ #13092]
7124 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7125 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7126 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7127 ppc_mcount to static-only-routines.
7128 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7129 __mcount_internal.
7130 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7131 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7132
7133 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7134
7135 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7136 for finite and infinity parameters.
7137
7138 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7139
7140 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7141 and add nop instructions for throughput optimization.
7142 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7143
7144 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7145
7146 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7147 aligned copy for power7 with vector-scalar instructions.
7148 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7149
7150 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7151
7152 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7153 AVX check.
7154
7155 2011-09-07 Andreas Schwab <schwab@redhat.com>
7156
7157 [BZ #13144]
7158 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7159 last change.
7160
7161 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7162
7163 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7164 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7165 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7166 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7167 clock_gettime.
7168
7169 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7170
7171 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7172 Forgot to demangle the pointer.
7173
7174 * sysdeps/i386/sysdep.h: Define atom_text_section.
7175 * sysdeps/x86_64/sysdep.h: Likewise.
7176 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7177 section with atom_text_section.
7178 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7179 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7180 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7181 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7182 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7183
7184 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7185 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7186 already be defined. Change to take two parameters and don't assign
7187 result to variable. Adjust all users.
7188 Define INTERNAL_GETTIME if not already defined.
7189 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7190 call.
7191 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7192 HAVE_CLOCK_GETTIME_VSYSCALL.
7193 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7194
7195 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7196 gettimeofday vsyscall, just use time.
7197
7198 2011-09-06 Andreas Schwab <schwab@redhat.com>
7199
7200 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7201 <errno.h>.
7202
7203 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7204
7205 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7206 syscall on x86-64.
7207 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7208 syscall.
7209 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7210 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7211 syscall if possible.
7212
7213 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7214
7215 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7216 e_ident. Don't pass to find_mapsXX.
7217 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7218
7219 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7220
7221 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7222 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7223 * sysdeps/x86_64/multiarch/strchr.S: Update.
7224 Check bit_slow_BSF bit.
7225 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7226 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7227 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7228
7229 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7230
7231 [BZ #13134]
7232 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7233 before glibc 2.15.
7234 (tryshell): Define.
7235 (__spawni): Change last parameter to be flag. Test
7236 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7237 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7238 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7239 * posix/spawni.c: Likewise.
7240 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7241 * posix/spawnp.c: Likewise. Change normal version to use
7242 SPAWN_XFLAGS_USE_PATH.
7243 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7244 SPAWN_XFLAGS_TRY_SHELL.
7245
7246 [BZ #13150]
7247 * posix/glob.h: Remove gcc 1.x support.
7248
7249 [BZ #13068]
7250 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7251
7252 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7253
7254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7255 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7256 strrchr-sse2-bsf
7257 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7258 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7259 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7260 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7261 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7262 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7263
7264 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7265
7266 * sysdeps/x86_64/wcscmp.S: New file.
7267
7268 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7269 wcscmp-c wcscmp-sse2
7270 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7271 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7272 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7273 * wcsmbs/wcscmp.c: Allow renaming.
7274
7275 2011-09-05 David S. Miller <davem@davemloft.net>
7276
7277 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7278 stack slot, rather than the struct return pointer slot.
7279 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7280 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7282 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7283
7284 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7285
7286 * po/ja.po: Update from translation team.
7287
7288 [BZ #13144]
7289 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7290 kernel in 64-bit binaries.
7291
7292 2011-09-01 David S. Miller <davem@davemloft.net>
7293
7294 * elf/elf.h (HWCAP_SPARC_*): Move to..
7295 * sysdeps/sparc/sysdep.h: this new file and add new values.
7296 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7297 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7298 _DL_HWCAP_COUNT to 24.
7299 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7300 entries.
7301 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7302 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7303 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7305 instead of magic constants.
7306 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7307
7308 2011-08-31 David S. Miller <davem@davemloft.net>
7309
7310 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7311 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7312 Reimplement to do errno handling inline.
7313 (SYSCALL_ERROR_HANDLER): New macro.
7314 (__SYSCALL_STRING): Do not do errno handling in asm.
7315 (__CLONE_SYSCALL_STRING): Delete.
7316 (__INTERNAL_SYSCALL_STRING): Delete.
7317 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7318 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7319 (PSEUDO): Reimplement to do errno handling inline.
7320 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7321 (SYSCALL_ERROR_HANDLER): New macro.
7322 (__SYSCALL_STRING): Do not do errno handling in asm.
7323 (__CLONE_SYSCALL_STRING): Delete.
7324 (__INTERNAL_SYSCALL_STRING): Delete.
7325 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7326 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7327 i386.
7328 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7329 (inline_syscall*): Add 'err' argument.
7330 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7331 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7332 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7333 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7334
7335 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7336 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7337
7338 2011-08-30 Andreas Schwab <schwab@redhat.com>
7339
7340 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7341
7342 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7343
7344 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7345 directive.
7346
7347 2011-08-24 David S. Miller <davem@davemloft.net>
7348
7349 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7350
7351 2011-08-24 Andreas Schwab <schwab@redhat.com>
7352
7353 * elf/Makefile: Add rules to build and run unload8 test.
7354 * elf/unload8.c: New file.
7355 * elf/unload8mod1.c: New file.
7356 * elf/unload8mod1x.c: New file.
7357 * elf/unload8mod2.c: New file.
7358 * elf/unload8mod3.c: New file.
7359
7360 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7361 it wasn't used.
7362
7363 2011-08-23 David S. Miller <davem@davemloft.net>
7364
7365 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7366 subtract stack bias.
7367 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7368 %sp not %fp in calculations.
7369 (_JMPBUF_UNWINDS_ADJ): Likewise.
7370
7371 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7372 (aio_suspend): Call it to force an exception region around the
7373 AIO_MISC_WAIT() invocation.
7374
7375 2011-08-23 Andreas Schwab <schwab@redhat.com>
7376
7377 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7378 backslash.
7379
7380 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7381
7382 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7383 protection macro.
7384 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7385 and <dl-machine.h>.
7386 (Elf64_FuncDesc): Remove.
7387
7388 2011-08-22 David S. Miller <davem@davemloft.net>
7389
7390 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7391 sigaltstack check, add missing cfi directives.
7392 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7393 missing cfi directives, and sigaltstack handling.
7394
7395 2011-08-16 Andreas Schwab <schwab@redhat.com>
7396
7397 [BZ #11724]
7398 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7399 object is seen twice.
7400 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7401
7402 * elf/Makefile (distribute): Add tst-initorder2.c.
7403 (tests): Add tst-initorder2.
7404 (modules-names): Add tst-initorder2a tst-initorder2b
7405 tst-initorder2c tst-initorder2d. Add rules to build them.
7406 ($(objpfx)tst-initorder2.out): New rule.
7407 * elf/tst-initorder2.c: New file.
7408 * elf/tst-initorder2.exp: New file.
7409
7410 2011-08-22 Andreas Schwab <schwab@redhat.com>
7411
7412 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7413
7414 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7415 dependencies back to end of function.
7416
7417 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7418 $(elfobjdir)/ld.so.
7419
7420 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7421
7422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7423 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7424 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7425 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7426 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7427 of __vdso_gettimeofday.
7428 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7429 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7430 attribute_hidden.
7431 (_libc_vdso_platform_setup): Remove initialization of
7432 __vdso_gettimeofday and __vdso_time.
7433
7434 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7435
7436 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7437 and fgetc_unlocked.
7438 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7439 getc_unlocked.
7440
7441 * elf/dl-open.c (add_to_global): Report additions to the global scope
7442 for LD_DEBUG=scopes.
7443 (dl_open_worker): Also print scope of newly loaded dependencies.
7444 (_dl_show_scope): Indicate if there is no scope.
7445
7446 [BZ #13114]
7447 * stdio-common/Makefile (tests): Add bug24.
7448 * stdio-common/bug24.c: New file.
7449
7450 2011-08-19 Andreas Jaeger <aj@suse.de>
7451
7452 [BZ #13114]
7453 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7454 non-existant file when using close-on-exec mode.
7455
7456 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7457
7458 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7459 the very first instruction.
7460
7461 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7462 the CFI state in the end.
7463 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7464 inclusion of dl-trampoline.h.
7465 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7466
7467 2011-08-19 Andreas Schwab <schwab@redhat.com>
7468
7469 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7470 expectations for long double.
7471
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7473 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7474
7475 2011-08-14 David S. Miller <davem@davemloft.net>
7476
7477 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7478 artificual limit depends upon the system page size.
7479
7480 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7481
7482 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7483 * resolv/Makefile: Define CFLAGS-libresolv.
7484
7485 2011-08-17 Andreas Schwab <schwab@redhat.com>
7486
7487 * nss/makedb.c (compute_tables): Make variables used in nested
7488 function static.
7489
7490 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7491
7492 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7493 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7494 if buffer was too small.
7495
7496 * elf/pldd.c (main): Attach to all threads in the process.
7497 Rewrite /proc handling to use *at functions.
7498
7499 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7500
7501 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7502 specifies first scope to show.
7503 (dl_open_worker): Update callers. Move printing scope of new
7504 object to before the relocation.
7505 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7506 * sysdeps/generic/ldsodefs.h: Update declaration.
7507
7508 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7509 string for the scope number.
7510
7511 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7512
7513 * nscd/servicescache.c (cache_addserv): Make sure written is always
7514 initialized.
7515
7516 2011-08-14 Roland McGrath <roland@hack.frob.com>
7517
7518 * sysdeps/i386/i486/bits/atomic.h
7519 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7520 statement expression, so as to suppress "set but not used" warning.
7521 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7522
7523 * string/strncat.c (STRNCAT): Use prototype definition.
7524
7525 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7526 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7527 -Iprograms here.
7528 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7529 (localedef-modules): Add localedef.
7530 (locale-modules): Add locale.
7531
7532 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7533 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7534 to avoid a warning.
7535
7536 2011-08-14 David S. Miller <davem@davemloft.net>
7537
7538 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7539 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7540
7541 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7542
7543 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7544 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7545 * elf/rtld.c (dl_main): Set l_name of vDSO.
7546 Call _dl_show_scope when DL_DEBUG_SCOPES.
7547 (process_dl_debug): Recognize scopes flag and also set it for all.
7548 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7549 Declare _dl_show_scope.
7550
7551 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7552 (do_dlopen): Pass caller_dlopen to dl_open.
7553 (__libc_dlopen_mode): Initialize caller_dlopen.
7554
7555 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7556 of libc. Make tolower call locale-independent. Optimize a bit by
7557 using isdigit instead of isalnum.
7558 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7559
7560 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7561
7562 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7563 was a dependency or dynamically loaded.
7564
7565 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7566
7567 * intl/l10nflist.c: Allow architecture-specific pop function.
7568 * sysdeps/x86_64/l10nflist.c: New file.
7569
7570 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7571 classification.
7572
7573 2011-08-10 Andreas Schwab <schwab@redhat.com>
7574
7575 * include/dirent.h: Add libc_hidden_proto for scandirat and
7576 scandirat64. Don't declare __scandirat64.
7577 * dirent/scandirat.c: Add libc_hidden_def.
7578 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7579 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7580
7581 2011-08-10 David S. Miller <davem@davemloft.net>
7582
7583 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7584 enum.
7585 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7586 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7587 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7588
7589 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7590
7591 * Versions.def [libc]: Add GLIBC_2.15.
7592 * dirent/Makefile (routines): Add scandirat and scandirat64.
7593 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7594 GLIBC_2.15.
7595 * dirent/dirent.h: Declare scandirat and scandirat64.
7596 * dirent/scandirat.c: New file.
7597 * dirent/scandirat64.c: New file.
7598 * sysdeps/wordsize-64/scandirat.c: New file.
7599 * sysdeps/wordsize-64/scandirat64.c: New file.
7600 * dirent/opendir.c: Define opendirat.
7601 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7602 using scandirat.
7603 * dirent/scandir64.c: Adjust for scandir.c change.
7604 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7605 __scandirat64, and __scandir_cancel_handler.
7606 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7607 additional parameter and use openat instead of open (outside of ld.so).
7608 Add new __opendir as wrapper around __opendirat.
7609 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7610 here without requiring old scandirat implementation.
7611
7612 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7613
7614 * dirent/scandir.c (cancel_handler): Renamed to
7615 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7616 defined. Adjust users.
7617 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7618 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7619
7620 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7621
7622 * string/test-string.h (IMPL): Use __STRING to expand name and then
7623 stringify it.
7624
7625 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7626 of cleanups.
7627
7628 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7629
7630 * string/Makefile: Update.
7631 (strop-tests): Append strncat.
7632 * string/test-wcscmp.c: New file.
7633 New comprehensive test for wcscmp.
7634 * string/test-strcmp.c: Update.
7635 (WIDE): New define.
7636
7637 2011-07-22 Andreas Schwab <schwab@redhat.com>
7638
7639 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7640 line.
7641
7642 2011-07-26 Andreas Schwab <schwab@redhat.com>
7643
7644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7645 encoding to ACE if AI_IDN.
7646
7647 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7648
7649 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7650 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7651
7652 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7653
7654 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7655 Fix overflow bug in strncat.
7656 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7657
7658 * string/test-strncat.c: Update.
7659 Add new tests for checking overflow bugs.
7660
7661 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7662
7663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7664 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7665 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7666 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7667 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7668 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7669 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7670 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7671 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7672
7673 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7674 (USE_AS_STRCAT): Define.
7675 Add strcat and strncat support.
7676 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7677
7678 2011-07-25 Andreas Schwab <schwab@redhat.com>
7679
7680 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7681 __n bigger than INT_MAX+1.
7682 (__strncmp_g): Likewise.
7683
7684 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7685
7686 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7687 * libio/stido.h: Likewise.
7688
7689 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7690 (AF_NFC): Define.
7691 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7692 (AF_NFC): Define.
7693
7694 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7695 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7696 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7697 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7698 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7699
7700 [BZ #13021]
7701 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7702 installed.
7703
7704 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7705 typo.
7706 (_dl_x86_64_save_sse): Likewise.
7707
7708 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7709
7710 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7711 OSXSAVE.
7712 (_dl_x86_64_save_sse): Likewise.
7713
7714 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7715
7716 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7717
7718 2011-07-21 Andreas Schwab <schwab@redhat.com>
7719
7720 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7721 change.
7722 (_dl_x86_64_save_sse): Use correct AVX check.
7723
7724 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7725
7726 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7727 bug in strncpy/strncat.
7728 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7729
7730 2011-07-21 Ulrich Drepper <drepper@gmail.com>
7731
7732 * string/tester.c (test_strcat): Add tests for different alignments
7733 of source and destination.
7734 (test_strncat): Likewise.
7735
7736 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7737
7738 [BZ #12852]
7739 * posix/glob.c (glob): Check passed in values before using them in
7740 expressions to avoid some overflows.
7741 (glob_in_dir): Likewise.
7742
7743 [BZ #13007]
7744 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7745 check for AVX enablement so that we don't crash with old kernels and
7746 new hardware.
7747 * elf/tst-audit4.c: Add same checks here.
7748 * elf/tst-audit6.c: Likewise.
7749
7750 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7751
7752 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7753
7754 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7755
7756 2011-07-20 Ulrich Drepper <drepper@gmail.com>
7757
7758 * po/cs.po: Update from translation team.
7759 * po/bg.po: Likewise.
7760
7761 2011-07-12 Marek Polacek <mpolacek@redhat.com>
7762
7763 * misc/sys/cdefs.h: Add support for const attribute.
7764 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7765 to gnu_dev_{major,minor,makedev} functions.
7766
7767 2011-07-20 Marek Polacek <mpolacek@redhat.com>
7768
7769 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7770
7771 2011-07-20 Andreas Schwab <schwab@redhat.com>
7772
7773 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7774 strlen results.
7775
7776 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7777
7778 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7779 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7780 register in order to avoid conflicts with the soft frame pointer
7781 being held in r11 when necessary.
7782 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7783 (INTERNAL_VSYSCALL_NCS): Likewise.
7784
7785 2011-07-14 Marek Polacek <mpolacek@redhat.com>
7786
7787 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7788 * elf/dl-fini.c (_dl_fini): Adjust caller.
7789 * elf/dl-close.c (_dl_close_worker): Likewise.
7790 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7791
7792 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7793
7794 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7795 "aux_cache->nlibs < 0".
7796
7797 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7798 in the reload-count case.
7799
7800 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7801
7802 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7803 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7804 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7805 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7806 * sysdeps/x86_64/multiarch/strcat.S: New file.
7807 * sysdeps/x86_64/multiarch/strncat.S: New file.
7808 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7809 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7810 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7811 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7813 (USE_AS_STRCAT): Define.
7814 Add strcat and strncat support.
7815 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7816 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7817 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7818 * string/strncat.c: Update.
7819 (USE_AS_STRNCAT): Define.
7820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7821 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7822 and i7.
7823 * sysdeps/x86_64/multiarch/init-arch.h
7824 (bit_Prefer_PMINUB_for_stringop): New.
7825 (index_Prefer_PMINUB_for_stringop): Likewise.
7826 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7827 bit_Prefer_PMINUB_for_stringop.
7828
7829 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7830
7831 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7832 buffer64.
7833 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7834 of casting of buffer.
7835 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7836 buffer32 and buffer64.
7837 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7838 writes instead of casting of buffer.
7839 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7840 buffer32.
7841 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7842 casting of buffer.
7843
7844 2011-07-19 Andreas Schwab <schwab@redhat.com>
7845
7846 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7847
7848 2011-07-19 Ulrich Drepper <drepper@gmail.com>
7849
7850 * nscd/nscd.c (termination_handler): Don't do anything for a database
7851 if it has not yet been initialized.
7852
7853 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7854
7855 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7856
7857 2011-07-15 Marek Polacek <mpolacek@redhat.com>
7858
7859 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7860
7861 2011-07-18 Ulrich Drepper <drepper@gmail.com>
7862
7863 * po/nl.po: Update from translation team.
7864 * po/sv.po: Likewise.
7865
7866 2011-07-16 Roland McGrath <roland@hack.frob.com>
7867
7868 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7869 now disallowed by GCC.
7870
7871 * configure.in (use-default-link): Default to yes if a test -shared
7872 link meets our qualifications.
7873 * configure: Regenerated.
7874
7875 * config.make.in (output-format): New variable.
7876 * configure.in: Check for ld --print-output-format support.
7877 * configure: Regenerated.
7878 * Makerules ($(common-objpfx)format.lds)
7879 [$(output-format) != unknown]: Just use $(output-format),
7880 instead of the linker-script munging.
7881
7882 2011-07-14 Roland McGrath <roland@hack.frob.com>
7883
7884 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7885 of $(common-objpfx)shlib.lds.
7886 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7887
7888 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7889 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7890
7891 * configure.in (-z relro check): Adjust test code to add a large
7892 writable data section after it.
7893 * configure: Regenerated.
7894
7895 2011-07-11 Roland McGrath <roland@hack.frob.com>
7896
7897 * configure.in (-z relro check): Fix test code to make the variable
7898 truly const.
7899 * configure: Regenerated.
7900
7901 2011-07-11 Ulrich Drepper <drepper@gmail.com>
7902
7903 * nscd/nscd.h (struct traced_file): Define.
7904 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7905 elements. Add traced_files.
7906 (inotify_fd): Declare.
7907 (register_traced_file): Declare.
7908 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7909 (inotify_fd): Export.
7910 (resolv_conf_descr): Remove.
7911 (nscd_init): Move inotify descriptor creation to main.
7912 Don't register files for notification here.
7913 (register_traced_file): New function.
7914 (invalidate_cache): Don't use reset_res to determine whether to call
7915 res_init, go through the list of registered files.
7916 (main_loop_poll): The inotify descriptors are now stored in the
7917 structures for the traced files.
7918 (main_loop_epoll): Likewise
7919 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7920 to __nss_disable_nscd.
7921 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7922 for a database anymore. Check the records for all the registered
7923 files instead.
7924 * nss/Makefile (libnss_files-routines): Add files-init.
7925 (libnss_db-routines): Add db-init.
7926 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7927 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7928 * nss/nss_db/db-init.c: New file.
7929 * nss/nss_files/files-init.c: New file.
7930 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7931 __nss_lookup_function.
7932 (__nss_lookup_function): Call nss_load_library.
7933 (nss_load_all_libraries): New function.
7934 (__nss_disable_nscd): Take parameter with callback function for files
7935 to register. Set is_nscd. Load all the DSOs for the NSS modules
7936 used for the cached services.
7937 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7938 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7939 options for features to all the files in nscd.
7940
7941 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7942
7943 2011-07-10 Roland McGrath <roland@hack.frob.com>
7944
7945 * csu/elf-init.c (__libc_csu_init): Comment typo.
7946
7947 2011-07-09 Ulrich Drepper <drepper@gmail.com>
7948
7949 * po/pl.po: Update from translation team.
7950 * po/ja.po: Likewise.
7951 * po/ru.po: Likewise.
7952 * po/ko.po: Likewise.
7953 * po/fr.po: Likewise.
7954
7955 2011-07-09 Roland McGrath <roland@hack.frob.com>
7956
7957 * configure.in (.ctors/.dtors header and trailer check):
7958 Use an empirical test on a built program.
7959 * configure: Regenerated.
7960
7961 * configure.in (-z relro check): Use an empirical test on a built DSO.
7962 Detect, but do not require, on ia64.
7963 * configure: Regenerated.
7964
7965 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7966 Update tests that use readelf to use $READELF instead.
7967 * configure: Regenerated.
7968
7969 2011-07-08 Ulrich Drepper <drepper@gmail.com>
7970
7971 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7972 if the result is not used.
7973
7974 2011-07-05 Andreas Jaeger <aj@suse.de>
7975
7976 [BZ#9696]
7977 * stdlib/tst-strtod.c: Add testcase.
7978
7979 2011-07-07 Ulrich Drepper <drepper@gmail.com>
7980
7981 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
7982 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
7983 The latter has a higher limit. Take additional parameter to pass to
7984 the new function.
7985 (__pathconf): Pass file to __statfs_link_max.
7986 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7987 __statfs_link_max.
7988 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7989 __statfs_link_max.
7990
7991 [BZ #12868]
7992 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7993 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7994 Handle Lustre.
7995 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7996 (__statfs_filesize_max): Likewise.
7997 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7998
7999 2011-07-05 Andreas Jaeger <aj@suse.de>
8000
8001 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8002
8003 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8004
8005 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8006 `status' variable.
8007 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8008 Likewise.
8009
8010 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8011
8012 * Makefile (strop-tests): Add strncat.
8013 * string/test-strncat.c: New file.
8014
8015 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8016
8017 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8018
8019 2011-06-21 Andreas Jaeger <aj@suse.de>
8020
8021 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8022 Copy rule from iconvdata/Makefile.
8023
8024 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8025
8026 [BZ #12922]
8027 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8028 but no long options are defined, just return 'W'.
8029
8030 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8031
8032 [BZ #9696]
8033 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8034
8035 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8036
8037 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8038 netgroups to read.
8039 (innetgr): Likewise.
8040
8041 2011-07-05 Roland McGrath <roland@hack.frob.com>
8042
8043 * config.make.in (install_root): Default to $(DESTDIR).
8044
8045 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8046
8047 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8048
8049 2011-07-02 Roland McGrath <roland@hack.frob.com>
8050
8051 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8052
8053 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8054 containing directory rather than embedding absolute directory names.
8055
8056 * scripts/check-local-headers.sh: Rewritten using awk.
8057 Match by word, not by line. Print error messages for matches.
8058 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8059
8060 * Makerules [shlib-lds-flags empty]:
8061 ($(common-objpfx)libc_pic.opts): New target.
8062 ($(common-objpfx)libc_pic.os.clean): New target.
8063 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8064
8065 * config.make.in (OBJCOPY): New variable.
8066 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8067 * configure: Regenerated.
8068
8069 * config.make.in (use-default-link): New variable.
8070 * configure.in (use_default_link): Grok --with-default-link to set it.
8071 * configure: Regenerated.
8072 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8073 (shlib-lds, shlib-lds-flags): Define to empty.
8074
8075 * Makerules (shlib-lds): New variable.
8076 (shlib-lds-flags): New variable.
8077 (build-shlib, build-moduile, build-module-asneeded): Use it.
8078 ($(common-objpfx)libc.so): Use $(shlib-lds).
8079 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8080 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8081
8082 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8083 DT_FLAGS/DT_FLAGS_1 with zero flags.
8084
8085 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8086 linker script munging.
8087
8088 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8089
8090 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8091 as 128-bit value.
8092 * crypt/sha512.c (sha512_process_block): Perform total addition using
8093 128-bit if possible.
8094 (__sha512_finish_ctx): Likewise.
8095 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8096 as 64-bit value.
8097 * crypt/sha256.c (SWAP64): Define.
8098 (sha256_process_block): Perform total addition using 64-bit if
8099 possible.
8100 (__sha256_finish_ctx): Likewise.
8101
8102 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8103
8104 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8105 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8106 * nscd/hstcache.c (cache_addhst): Likewise.
8107 * nscd/grpcache.c (cache_addgr): Likewise.
8108 * nscd/aicache.c (addhstaiX): Likewise
8109 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8110
8111 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8112
8113 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8114 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8115 * nscd/hstcache.c (cache_addhst): Likewise.
8116 * nscd/grpcache.c (cache_addgr): Likewise.
8117 * nscd/aicache.c (addhstaiX): Likewise
8118
8119 2011-07-01 Andreas Schwab <schwab@redhat.com>
8120
8121 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8122 domain only when needed.
8123
8124 2011-06-30 Andreas Schwab <schwab@redhat.com>
8125
8126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8127 is always restored.
8128
8129 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8130
8131 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8132 are re-adding the entry.
8133 * nscd/servicescache.c (cache_addserv): Likewise.
8134
8135 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8136
8137 * sysdeps/generic/dl-irel.h: fix protection against multiple
8138 inclusions.
8139 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8140
8141 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8142
8143 [BZ #12935]
8144 * malloc/memusage.sh: Fix quoting in message.
8145 * debug/xtrace.sh: Likewise.
8146
8147 * configure.in: Remove support for --experimental-malloc option, make
8148 it the default.
8149 * config.make.in: Likewise.
8150 * malloc/Makefile: Likewise.
8151
8152 2011-06-27 Andreas Schwab <schwab@redhat.com>
8153
8154 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8155 two-byte characters.
8156
8157 2011-06-27 Roland McGrath <roland@hack.frob.com>
8158
8159 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8160 AC_CACHE_CHECK invocation.
8161 * configure: Regenerated.
8162
8163 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8164
8165 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8166
8167 [BZ #12350]
8168 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8169 bit from old_res_options.
8170
8171 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8172
8173 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8174 value type for setfct.
8175
8176 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8177
8178 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8179 __gettimeofday instead of gettimeofday.
8180
8181 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8182
8183 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8184
8185 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8186
8187 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8188
8189 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8190 info.
8191
8192 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8193
8194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8195 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8196 strcpy-sse2-unaligned strncpy-sse2-unaligned
8197 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8198 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8199 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8200 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8201 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8202 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8203 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8204 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8205 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8206 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8207 (STRCPY): Support SSE2 and SSSE3 versions.
8208
8209 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8210
8211 [BZ #12874]
8212 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8213 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8214 kernels which artificially limit size of requests.
8215
8216 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8217
8218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8219 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8220 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8221 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8222 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8223 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8224 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8225 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8226 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8227 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8228 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8229 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8230 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8231 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8232 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8234 Enable unaligned load optimization for Intel Core i3, i5 and i7
8235 processors.
8236 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8237 Define.
8238 (index_Fast_Unaligned_Load): Define.
8239 (HAS_FAST_UNALIGNED_LOAD): Define.
8240
8241 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8242
8243 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8244
8245 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8246
8247 [BZ #12907]
8248 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8249 until it is clear that the information is realy needed.
8250 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8251
8252 2011-06-22 Andreas Schwab <schwab@redhat.com>
8253
8254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8255
8256 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8257
8258 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8259 /sys/devices/system/cpu/online if it is usable.
8260
8261 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8262 reading the information from the /proc filesystem to once a second.
8263
8264 2011-06-21 Andreas Jaeger <aj@suse.de>
8265
8266 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8267 NULL after inclusion of kernel headers.
8268
8269 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8270
8271 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8272 calls to internal_setent.
8273
8274 [BZ #12885]
8275 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8276 addresses using gethostbyname4_r ignore IPv4 addresses.
8277
8278 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8279 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8280
8281 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8282
8283 2011-06-20 David S. Miller <davem@davemloft.net>
8284
8285 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8286 inclusions.
8287 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8288
8289 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8290 (elf_irel): Use it.
8291 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8292 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8293 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8294 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8295 * sysdeps/x86_64/dl-irel.h: Likewise.
8296
8297 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8298 * elf/dl-sym.c: Likewise.
8299
8300 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8301
8302 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8303 need to dereference resplen2.
8304
8305 2011-06-14 Andreas Schwab <schwab@redhat.com>
8306
8307 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8308
8309 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8310
8311 * Makeconfig: Define vardbdir and inst_vardbdir.
8312 * nss/Makefile: Add rules to install db-Makefile.
8313
8314 * nss/nss_db/db-XXX.c: Cleanup.
8315
8316 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8317 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8318 GLIBC_PRIVATE.
8319 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8320 * nss/makedb.c: Implement -g option to specify that value strings
8321 are generated and should not be added to table iterated over for
8322 get*ent calls.
8323 * nss/nss_db/db-initgroups.c: New file.
8324
8325 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8326 interface.
8327
8328 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8329 (internal_getgrouplist): Adjust to name change.
8330 Update use_initgroups_entry if this is not the first call.
8331 * nss/databases.def: Add initgroups entry.
8332
8333 * nss/makedb.c (compute_tables): Check result of multiple hash table
8334 sizes to minimize maximum chain length.
8335
8336 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8337
8338 * Versions.def: Add entry for libnss_db.
8339 * shlib-versions: Likewise.
8340 * nss/Makefile: Add rules to build libnss_db.
8341 * nss/Versions: Add libnss_db information. Organize libnss_files
8342 entries better.
8343 * nss/db-Makefile: Add gshadow support. Change rules for the new
8344 makedb progra. Some minor improvements to generate smaller files.
8345 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8346 here from...
8347 * nss/makedb.c: ...here.
8348 Improve database format to be smaller and require less memory at
8349 runtime.
8350 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8351 db anymore.
8352 * nss/nss_db/db-netgrp.c: Likewise.
8353 * nss/nss_db/db-open.c: Likewise.
8354 * nss/nss_files/flies-XXX.x: Adjust comments.
8355 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8356 * nss/nss_files/files-grp.c: Likewise.
8357 * nss/nss_files/files-hosts.c: Likewise.
8358 * nss/nss_files/files-network.c: Likewise.
8359 * nss/nss_files/files-proto.c: Likewise.
8360 * nss/nss_files/files-pwd.c: Likewise.
8361 * nss/nss_files/files-rpc.c: Likewise.
8362 * nss/nss_files/files-service.c: Likewise.
8363 * nss/nss_files/files-sgrp.c: Likewise.
8364 * nss/nss_files/files-spwd.c: Likewise.
8365 * nss/nss_db/db-alias.c: Removed.
8366 * nss/nss_db/dummy-db.h: Removed.
8367
8368 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8369
8370 * nss/makedb.c: Rewritten to not use database library.
8371 * nss/Makefile: Update to build new makedb program.
8372
8373 2011-06-14 Andreas Jaeger <aj@suse.de>
8374
8375 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8376 memset declaration.
8377
8378 2011-06-10 Andreas Schwab <schwab@redhat.com>
8379
8380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8381 tmpbuf.
8382
8383 2011-06-10 Roland McGrath <roland@hack.frob.com>
8384
8385 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8386 * elf/Makefile ($(objpfx)ld.so): Likewise.
8387
8388 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8389 Don't list ld.so twice in dependencies.
8390
8391 * posix/bug-regex31.c: Include <stdlib.h>.
8392
8393 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8394
8395 * nis/nss_compat/compat-spwd.c
8396 (getspent_next_nss_netgr): Remove unused variable.
8397 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8398
8399 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8400 nonmembers" output to use the right array.
8401
8402 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8403
8404 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8405
8406 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8407 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8408 * catgets/gencat.c (read_input_file): Likewise.
8409 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8410
8411 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8412 variable definition inside #if's controlling its use.
8413
8414 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8415
8416 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8417
8418 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8419
8420 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8421 unreachable code.
8422
8423 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8424
8425 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8426 * configure: Regenerated.
8427
8428 * Makerules: Revert last change.
8429 * elf/Makefile: Likewise.
8430
8431 2011-06-09 Roland McGrath <roland@hack.frob.com>
8432
8433 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8434 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8435 (reloc-link): Likewise.
8436
8437 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8438
8439 * elf/Makefile: Add rules to build pldd.
8440 * elf/pldd.c: New file.
8441 * elf/pldd-xx.c: New file.
8442
8443 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8444
8445 * version.h: Update for 2.15 development version.
8446
8447 2011-06-07 David S. Miller <davem@davemloft.net>
8448
8449 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8450 ifuncs.
8451 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8452 elf_machine_lazy_rel): Likewise.
8453 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8454 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8455 elf_machine_lazy_rel): Likewise.
8456 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8457 dl_hwcap via passed in argument.
8458 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8459 Likewise.
8460
8461 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8462
8463 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8464
8465 2011-06-06 Roland McGrath <roland@hack.frob.com>
8466
8467 [BZ #12849]
8468 * manual/fdl-1.1.texi: New file, verbatim from:
8469 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8470 * manual/lgpl-2.1.texi: New file, verbatim from:
8471 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8472 * manual/Makefile (licenses): New variable, list those new file names.
8473 (texis): Use it.
8474 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8475
8476 * manual/fdl.texi: File removed.
8477 * manual/lesser.texi: File removed.
8478 * manual/libc.texinfo (Copying, Documentation License):
8479 Use new @include file names, put @appendix directive before @include.
8480
8481 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8482
8483 [BZ #12841]
8484 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8485 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8486 (mq_open): Add __NTH.
8487
8488 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8489
8490 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8491 Assume Intel Core i3/i5/i7 processor if AVX is available.
8492
8493 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8494
8495 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8496 typo.
8497
8498 2011-05-31 Andreas Schwab <schwab@redhat.com>
8499
8500 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8501 memory. Use alloca_account. Fix memory leak when retrying.
8502
8503 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8504
8505 * version.h (RELEASE): Bump for 2.14 release.
8506 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8507
8508 * config.make.in (RANLIB): Remove entry.
8509
8510 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8511
8512 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8513 (libc.pot): Work around missing support for .ksh extension in xgettext.
8514
8515 [BZ #12684]
8516 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8517 if both request failed.
8518 (send_dg): In case of server errors clear resplen or *resplen2.
8519
8520 [BZ #12454]
8521 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8522 when there are multiple maps.
8523 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8524 (_dl_fini): Remove test here.
8525
8526 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8527
8528 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8529
8530 [BZ #12350]
8531 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8532 bit from old_res_options.
8533 (gaih_inet): Likewise.
8534
8535 [BZ #11099]
8536 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8537 as signed.
8538
8539 * resolv/res_init.c (res_setoptions): Make the code more compact.
8540
8541 [BZ #11558]
8542 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8543 set RES_USEVC.
8544
8545 [BZ #11634]
8546 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8547
8548 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8549
8550 [BZ #11781]
8551 * malloc/malloc.h: Declare malloc hook variables as volatile.
8552
8553 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8554 in last patch.
8555
8556 [BZ #11799]
8557 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8558 raise in the comment.
8559 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8560 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8561 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8562
8563 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8564
8565 [BZ #12811]
8566 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8567 grow the buffers more if it already has to be sufficient.
8568 (build_wcs_upper_buffer): Likewise.
8569 * posix/regexec.c (check_matching): Likewise.
8570 (clean_state_log_if_needed): Likewise.
8571 (extend_buffers): Don't enlarge buffers beyond size of the input
8572 buffer.
8573 Patches mostly by Emil Wojak <emil@wojak.eu>.
8574 * posix/bug-regex32.c: New file.
8575 * posix/Makefile (tests): Add bug-regex32.
8576
8577 * locale/findlocale.c (_nl_find_locale): Return right away if
8578 _nl_explode_name failed.
8579 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8580
8581 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8582
8583 * debug/xtrace.sh: Unify messages.
8584 * malloc/memusage.sh: Likewise.
8585
8586 [BZ #12813]
8587 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8588 time symbol from vDSO. Substitute with vsyscall if not available.
8589 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8590 __vdso_time.
8591
8592 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8593 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8594 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8595 Add sendmmsg and internal_sendmmsg.
8596 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8597 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8598 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8599
8600 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8601 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8602 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8603
8604 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8605
8606 [BZ #12813]
8607 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8608 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8609 available.
8610 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8611 __vdso_getcpu.
8612
8613 [BZ #12814]
8614 * iconvdata/Makefile (tests): Add bug-iconv9.
8615 * iconvdata/bug-iconv9.c: New file.
8616
8617 2011-05-27 Andreas Schwab <schwab@redhat.com>
8618
8619 [BZ #12814]
8620 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8621
8622 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8623
8624 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8625 (struct user_regs_struct): Change intcs field back to cs.
8626
8627 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8628
8629 * po/ja.po: Update from translation team.
8630
8631 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8632
8633 [BZ #12795]
8634 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8635 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8636
8637 2011-05-20 Andreas Schwab <schwab@redhat.com>
8638
8639 * stdlib/longlong.h: Update from GCC.
8640
8641 2011-05-23 Andreas Schwab <schwab@redhat.com>
8642
8643 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8644 parameter name.
8645 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8646 Add parameter name.
8647 (__sysconf): Pass it down.
8648
8649 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8650
8651 [BZ #12671]
8652 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8653 some situations.
8654 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8655 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8656 add in in __libc_use_alloca calls. Adjust callers.
8657 (glob): Use malloc in some situations.
8658
8659 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8660 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8661 pltexit.
8662
8663 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8664
8665 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8666 and CLOCK_BOOTTIME_ALARM.
8667
8668 [BZ #12782]
8669 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8670 is returned.
8671
8672 * string/_strerror.c (__strerror_r): Print negative errors as signed
8673 numbers.
8674
8675 [BZ #12777]
8676 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8677 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8678 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8679
8680 * configure.in: Fix typo in redirection and correct removal of test
8681 files in two cases.
8682
8683 [BZ #12788]
8684 * locale/setlocale.c (new_composite_name): Fix test to check for
8685 identical name of all categories.
8686
8687 [BZ #12792]
8688 * libio/filedoalloc.c (local_isatty): New function.
8689 (_IO_file_doallocate): Use local_isatty.
8690 * stdio-common/perror.c (perror): In case a new stream is used
8691 forward the stream error.
8692 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8693 error flag.
8694
8695 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8696
8697 [BZ #11869]
8698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8699 alloca.
8700 * include/alloca.h (extend_alloca_account): Define.
8701
8702 [BZ #11857]
8703 * posix/regex.h: Fix comments with documentation of user-accessible
8704 fields after compilation and describe correct free'ing of pattern
8705 after re_compile_pattern.
8706 Patch by Reuben Thomas <rrt@sc3d.org>.
8707
8708 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8709
8710 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8711 and -mno-altivec to prevent the compiler from using Altivec and/or
8712 VSX instructions when the corresponding registers are not available.
8713
8714 2011-05-19 Andreas Schwab <schwab@redhat.com>
8715
8716 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8717
8718 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8719
8720 * libio/freopen.c (freopen): Use __dup2, not dup2.
8721 * libio/freopen64.c (freopen64): Likewise.
8722
8723 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8724
8725 [BZ #12775]
8726 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8727 * math/Makefile (tests): Add test-powl.
8728 (CFLAGS-test-powl.c): Define.
8729 * math/test-powl.c: New file.
8730
8731 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8732
8733 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8734
8735 2011-05-17 Ulrich Drepper <drepper@gmail.com>
8736
8737 [BZ #11837]
8738 * iconvdata/gb18030.c: Update to GB18020-2005.
8739
8740 2011-05-16 Ulrich Drepper <drepper@gmail.com>
8741
8742 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8743 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8744 Patch by Aharon Robbins <arnold@skeeve.com>.
8745
8746 [BZ #11892]
8747 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8748 on the stack.
8749
8750 [BZ #11895]
8751 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8752 through underflows.
8753
8754 [BZ #12766]
8755 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8756 point to strings before performing equality test for error_one_per_line
8757 mode.
8758
8759 [BZ #11697]
8760 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8761
8762 [BZ #11820]
8763 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8764 (struct user_fpregs_struct): Avoid __uint*_t types.
8765
8766 [BZ #6420]
8767 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8768 symbol info. Use it instead of calling _dl_addr locally.
8769 (lock_and_info): New function.
8770 (tr_freehook): Call lock_and_info and pass symbol info as additional
8771 parameter to tr_where.
8772 (tr_mallochook): Likewise.
8773 (tr_reallochook): Likewise.
8774 (tr_memalignhook): Likewise.
8775
8776 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8777 used and couldn't be at all thread-safe.
8778
8779 2011-05-15 Ulrich Drepper <drepper@gmail.com>
8780
8781 * libio/freopen.c (freopen): Don't close old file descriptor
8782 before the new one is opened. Instead dup the new file descriptor
8783 to the old one after the new stream is created.
8784 * libio/freopen64.c (freopen64): Likewise.
8785 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8786 * libio/fileops.c (_IO_new_file_close_it): Handle new
8787 _IO_FLAGS2_NOCLOSE flag.
8788 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8789 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8790 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8791 _IO_FLAGS2_NOCLOSE flag.
8792 * include/unistd.h: Add hidden_proto for dup3.
8793 Define __have_dup3.
8794 * io/dup3.c: Define hidden symbol.
8795 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8796
8797 [BZ #7101]
8798 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8799 when an incomplete long option is used.
8800 * posix/tst-getopt_long1.c: New file.
8801 * posix/Makefile (tests): Add tst-getopt_long1.
8802
8803 [BZ #10138]
8804 * scripts/config.guess: Update from autoconf-2.68.
8805 * scripts/config.sub: Likewise.
8806
8807 [BZ #10157]
8808 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8809 tests into ...
8810 (has_cpuclock): ...this. New function.
8811 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8812 macro here based on has_cpuclock code.
8813
8814 [BZ #10149]
8815 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8816 First byte (not low byte) is now always NUL.
8817 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8818
8819 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8820 Use non-cancelable interfaces.
8821
8822 [BZ #9809]
8823 * locale/iso-639.def: Add entry for Sorani.
8824
8825 [BZ #11901]
8826 * include/stdlib.h: Move include protection to the right place.
8827 Define abort_msg_s. Declare __abort_msg with it.
8828 * stdlib/abort.c (__abort_msg): Adjust type.
8829 * assert/assert.c (__assert_fail_base): New function. Majority
8830 of code from __assert_fail. Allocate memory for __abort_msg with
8831 mmap.
8832 (__assert_fail): Now call __assert_fail_base.
8833 * assert/assert-perr.c: Remove bulk of implementation. Use
8834 __assert_fail_base.
8835 * include/assert.hL Declare __assert_fail_base.
8836 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8837 mmap.
8838 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8839
8840 2011-05-14 Ulrich Drepper <drepper@gmail.com>
8841
8842 [BZ #11952]
8843 [BZ #12453]
8844 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8845 until all modules are registered in the DTV.
8846 * elf/Makefile: Add rules to build and run tst-tls19.
8847 * elf/tst-tls19.c: New file.
8848 * elf/tst-tls19mod1.c: New file.
8849 * elf/tst-tls19mod2.c: New file.
8850 * elf/tst-tls19mod3.c: New file.
8851 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8852
8853 [BZ #12083]
8854 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8855 correctly.
8856
8857 [BZ #12601]
8858 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8859 two-byte sequence errors.
8860 * iconvdata/Makefile (tests): Add bug-iconv8.
8861 * iconvdata/bug-iconv8.c: New file.
8862
8863 [BZ #12626]
8864 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8865 buf2 definition.
8866
8867 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8868
8869 [BZ #12432]
8870 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8871 (dummy_getcfa): New function.
8872 (init): Get _Unwind_GetCFA address, use dummy if not found.
8873 (backtrace_helper): In recursion check, also check whether CFA changes.
8874 (__backtrace): Completely initialize arg.
8875
8876 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
8877 storing incomplete byte sequence in state object. Avoid testing for
8878 guaranteed too small input if we know there is enough data available.
8879
8880 2011-05-11 Andreas Schwab <schwab@redhat.com>
8881
8882 * Makeconfig (+link-pie): Indent.
8883 * Rules (binaries-pie): Define if $(have-fpie) and
8884 $(build-shared).
8885 (binaries-shared): Also filter out $(binaries-pie).
8886 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8887 * nscd/Makefile (others-pie): Add nscd.
8888 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8889 ($(objpfx)nscd): Remove command override.
8890 * login/Makefile (others-pie): Add pt_chown.
8891 ($(objpfx)pt_chown): Remove command override.
8892 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8893 remove command overrides.
8894
8895 2011-05-13 Ulrich Drepper <drepper@gmail.com>
8896
8897 * libio/tst_putwc.c: Fix error messages.
8898
8899 [BZ #12724]
8900 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8901 currently writing and seek to current position when not.
8902 * libio/Makefile (tests): Add bug-fclose1.
8903 * libio/bug-fclose1.c: New file.
8904
8905 2011-05-12 Ulrich Drepper <drepper@gmail.com>
8906
8907 [BZ #12511]
8908 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8909 don't set DF_1_NODELETE here.
8910 (do_lookup_x): When entering new entry test for copy relocation
8911 and if necessary set DF_1_NODELETE flag.
8912 * elf/tst-unique4.cc: New file.
8913 * elf/tst-unique4.h: New file.
8914 * elf/tst-unique4lib.cc: New file.
8915 * elf/Makefile: Add rules to build and run tst-unique4.
8916 Patch by Piotr Bury <pbury@goahead.com>.
8917
8918 2011-05-11 Ulrich Drepper <drepper@gmail.com>
8919
8920 [BZ #12052]
8921 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8922
8923 [BZ #12625]
8924 * misc/mntent_r.c (addmntent): Flush the stream after the output
8925
8926 [BZ #12393]
8927 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8928 (is_trusted_path_normalize): Skip initial colon. Append slash
8929 to empty buffer. Duplicate is_trusted_path code but allow
8930 constructed patch to be prefix.
8931 (is_dst): Allow $ORIGIN followed by /.
8932 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8933 Correct testing of result of is_trusted_path_normalize
8934 (decompose_rpath): Fix warning.
8935
8936 2011-05-10 Ulrich Drepper <drepper@gmail.com>
8937
8938 [BZ #11257]
8939 * grp/initgroups.c (internal_getgrouplist): When we found the service
8940 list through the initgroups entry in nsswitch.conf do not always
8941 continue on a successful lookup. Don't always use the
8942 __nss_group_database value if it is set.
8943 * nss/nsswitch.conf (initgroups): Change action for successful db
8944 lookup to continue for compatibility.
8945
8946 2011-05-09 Ulrich Drepper <drepper@gmail.com>
8947
8948 [BZ #11532]
8949 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8950 and CP774 modules.
8951 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8952 and CP774 modules.
8953 * iconvdata/tst-tables.sh: Likewise.
8954 * iconvdata/cp770.c: New file.
8955 * iconvdata/cp771.c: New file.
8956 * iconvdata/cp772.c: New file.
8957 * iconvdata/cp773.c: New file.
8958 * iconvdata/cp774.c: New file.
8959 * iconvdata/testdata/CP770: New file.
8960 * iconvdata/testdata/CP770..UTF8: New file.
8961 * iconvdata/testdata/CP771: New file.
8962 * iconvdata/testdata/CP771..UTF8: New file.
8963 * iconvdata/testdata/CP772: New file.
8964 * iconvdata/testdata/CP772..UTF8: New file.
8965 * iconvdata/testdata/CP773: New file.
8966 * iconvdata/testdata/CP773..UTF8: New file.
8967 * iconvdata/testdata/CP774: New file.
8968 * iconvdata/testdata/CP774..UTF8: New file.
8969
8970 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8971 END CHARMAP line.
8972 * iconvdata/gen-8bit-gap.sh: Likewise.
8973 * iconvdata/gen-8bit.sh: Likewise.
8974
8975 * locale/iso-639.def: Add ary entry.
8976
8977 [BZ #11258]
8978 * locale/C-translit.h.in: Add U20A1 transliteration.
8979
8980 [BZ #12178]
8981 * locale/iso-639.def: Add wae entry.
8982 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8983
8984 [BZ #12545]
8985 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8986 for n.
8987
8988 [BZ #12711]
8989 * locale/C-translit.h.in: Add entry for U20B9.
8990 Patch by pravin.d.s@gmail.com.
8991
8992 2011-05-08 Ulrich Drepper <drepper@gmail.com>
8993
8994 [BZ #12713]
8995 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8996 ENAMETOOLONG use generic getcwd.
8997 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8998 in rtld. Use *stat64.
8999 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9000 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9001 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9002 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9003 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9004 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9005 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9006 __fstatat64 macros.
9007 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9008 * dirent/rewinddir.c: Add libc_hidden_def.
9009 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9010 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9011
9012 * include/dirent.h (__alloc_dir): Add flags parameter.
9013 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9014 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9015 __alloc_dir.
9016 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9017 from fdopendir if O_CLOEXEC is already set.
9018
9019 2011-03-15 Alan Modra <amodra@gmail.com>
9020
9021 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9022 l_tls_firstbyte_offset non-zero. Save padding offset in
9023 l_tls_firstbyte_offset for later use.
9024 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9025 freeing static tls block.
9026
9027 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9028
9029 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9030 where #ifdef was intended. The intent is to prevent ARG_MAX from
9031 being defined by the kernel headers.
9032
9033 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9034
9035 [BZ #12734]
9036 * resolv/resolv.h: Define RES_NOTLDQUERY.
9037 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9038 no-tld-query and set RES_NOTLDQUERY.
9039 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9040 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9041 modern BIND to search name as TLD unless forbidden.
9042
9043 2011-05-07 Petr Baudis <pasky@suse.cz>
9044 Ulrich Drepper <drepper@gmail.com>
9045
9046 [BZ #12393]
9047 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9048 (is_trusted_path): ...to here.
9049 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9050 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9051 using is_trusted_path_normalize() in setuid scripts.
9052
9053 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9054
9055 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9056 __BEGIN/__END_DECLS.
9057
9058 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9059
9060 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9061 NSS_STATUS_NOTFOUND if no record was found.
9062
9063 2011-05-05 Andreas Schwab <schwab@redhat.com>
9064
9065 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9066 (headers-not-in-tirpc): Remove rpc/netdb.h
9067 * resolv/netdb.h: Revert last change.
9068
9069 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9070
9071 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9072 circular dependency between libgcc.a and libc.a.
9073
9074 2011-05-05 Andreas Schwab <schwab@redhat.com>
9075
9076 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9077 * nis/Makefile: Don't install rpcsvc/*.
9078 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9079 instead of <rpc/types.h>.
9080 (MAXHOSTNAMELEN): Define.
9081
9082 2011-05-03 Andreas Schwab <schwab@redhat.com>
9083
9084 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9085
9086 2011-04-28 Maciej Babinski <mbabinski@google.com>
9087
9088 [BZ #12714]
9089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9090 gethostbyname4_r when IPv6 results are possible.
9091
9092 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9093
9094 [BZ #12723]
9095 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9096 _PC_PIPE_BUF handling.
9097
9098 2011-04-30 Bruno Haible <bruno@clisp.org>
9099
9100 [BZ #12717]
9101 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9102 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9103 to 'int'.
9104 * inet/getnameinfo.c (getnameinfo): Likewise.
9105
9106 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9107
9108 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9109 to groups setting in database lookup.
9110 * nss/nsswitch.conf: Add initgroups entry.
9111
9112 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9113
9114 [BZ #12685]
9115 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9116 mode string.
9117 Patch by Eric Blake <eblake@redhat.com>.
9118
9119 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9120
9121 * sunrpc/Makefile (need-export-routines): Add svc_run.
9122 (routines): Remove svc_run.
9123 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9124 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9125 * sunrpc/svc_run.c (svc_run): Likewise.
9126 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9127
9128 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9129
9130 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9131 problem in reallocation in last patch.
9132
9133 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9134
9135 * sunrpc/Makefile: Move inclusion of Rules.
9136
9137 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9138
9139 * nss/nss_files/files-initgroups.c: New file.
9140 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9141 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9142 _nss_files_initgroups_dyn.
9143
9144 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9145
9146 * elf/elf.h (R_ARM_IRELATIVE): Define.
9147
9148 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9149
9150 * po/ru.po: Update from translation team.
9151
9152 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9153
9154 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9155 dependencies.
9156
9157 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9158
9159 [BZ #12653]
9160 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9161 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9162 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9163 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9164 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9165
9166 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9167
9168 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9169 differing bytes.
9170 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9171 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9172 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9173
9174 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9175
9176 [BZ #12420]
9177 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9178 storing it.
9179 * stdlib/bug-getcontext.c: New file.
9180 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9181
9182 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9183
9184 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9185 instructions into .machine "z9-109".
9186 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9187 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9188
9189 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9190
9191 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9192 between environment variables and auxiliary vector.
9193
9194 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9195
9196 * Makefile: Add rules to build linkobj/libc.so.
9197 * include/libc-symbols.h: Define libc_hidden_nolink.
9198 * include/rpc/auth.h: Mark functions which are to be hidden.
9199 * include/rpc/auth_des.h: Likewise.
9200 * include/rpc/auth_unix.h: Likewise.
9201 * include/rpc/clnt.h: Likewise.
9202 * include/rpc/des_crypt.h: Likewise.
9203 * include/rpc/key_prot.h: Likewise.
9204 * include/rpc/pmap_clnt.h: Likewise.
9205 * include/rpc/pmap_prot.h: Likewise.
9206 * include/rpc/pmap_rmt.h: Likewise.
9207 * include/rpc/rpc_msg.h: Likewise.
9208 * include/rpc/svc.h: Likewise.
9209 * include/rpc/svc_auth.h: Likewise.
9210 * include/rpc/xdr.h: Likewise.
9211 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9212 * nss/Makefile: Likewise.
9213 * sunrpc/Makefile: Don't install headers. Build library with normal
9214 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9215 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9216 for the compat linking library. Remove use of INTDEF/INTUSE.
9217 * sunrpc/auth_none.c: Likewise.
9218 * sunrpc/auth_unix.c: Likewise.
9219 * sunrpc/authdes_prot.c: Likewise.
9220 * sunrpc/authuxprot.c: Likewise.
9221 * sunrpc/clnt_gen.c: Likewise.
9222 * sunrpc/clnt_perr.c: Likewise.
9223 * sunrpc/clnt_raw.c: Likewise.
9224 * sunrpc/clnt_simp.c: Likewise.
9225 * sunrpc/clnt_tcp.c: Likewise.
9226 * sunrpc/clnt_udp.c: Likewise.
9227 * sunrpc/clnt_unix.c: Likewise.
9228 * sunrpc/des_crypt.c: Likewise.
9229 * sunrpc/des_soft.c: Likewise.
9230 * sunrpc/get_myaddr.c: Likewise.
9231 * sunrpc/key_call.c: Likewise.
9232 * sunrpc/key_prot.c: Likewise.
9233 * sunrpc/netname.c: Likewise.
9234 * sunrpc/pm_getmaps.c: Likewise.
9235 * sunrpc/pm_getport.c: Likewise.
9236 * sunrpc/pmap_clnt.c: Likewise.
9237 * sunrpc/pmap_prot.c: Likewise.
9238 * sunrpc/pmap_prot2.c: Likewise.
9239 * sunrpc/pmap_rmt.c: Likewise.
9240 * sunrpc/publickey.c: Likewise.
9241 * sunrpc/rpc_cmsg.c: Likewise.
9242 * sunrpc/rpc_common.c: Likewise.
9243 * sunrpc/rpc_dtable.c: Likewise.
9244 * sunrpc/rpc_prot.c: Likewise.
9245 * sunrpc/rpc_thread.c: Likewise.
9246 * sunrpc/rtime.c: Likewise.
9247 * sunrpc/svc.c: Likewise.
9248 * sunrpc/svc_auth.c: Likewise.
9249 * sunrpc/svc_authux.c: Likewise.
9250 * sunrpc/svc_raw.c: Likewise.
9251 * sunrpc/svc_run.c: Likewise.
9252 * sunrpc/svc_simple.c: Likewise.
9253 * sunrpc/svc_tcp.c: Likewise.
9254 * sunrpc/svc_udp.c: Likewise.
9255 * sunrpc/svc_unix.c: Likewise.
9256 * sunrpc/svcauth_des.c: Likewise.
9257 * sunrpc/xcrypt.c: Likewise.
9258 * sunrpc/xdr.c: Likewise.
9259 * sunrpc/xdr_array.c: Likewise.
9260 * sunrpc/xdr_float.c: Likewise.
9261 * sunrpc/xdr_intXX_t.c: Likewise.
9262 * sunrpc/xdr_mem.c: Likewise.
9263 * sunrpc/xdr_rec.c: Likewise.
9264 * sunrpc/xdr_ref.c: Likewise.
9265 * sunrpc/xdr_sizeof.c: Likewise.
9266 * sunrpc/xdr_stdio.c: Likewise.
9267
9268 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9269
9270 [BZ #12650]
9271 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9272 * sysdeps/ia64/dl-tls.h: Likewise.
9273 * sysdeps/powerpc/dl-tls.h: Likewise.
9274 * sysdeps/s390/dl-tls.h: Likewise.
9275 * sysdeps/sh/dl-tls.h: Likewise.
9276 * sysdeps/sparc/dl-tls.h: Likewise.
9277 * sysdeps/x86_64/dl-tls.h: Likewise.
9278 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9279
9280 2011-03-14 Andreas Schwab <schwab@redhat.com>
9281
9282 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9283 rpath element also skip the following colon.
9284 (expand_dynamic_string_token): Add is_path parameter and pass
9285 down to DL_DST_REQUIRED and _dl_dst_substitute.
9286 (decompose_rpath): Call expand_dynamic_string_token with
9287 non-zero is_path. Ignore empty rpaths.
9288 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9289 with zero is_path.
9290
9291 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9292
9293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9294 Make cancelable.
9295
9296 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9297
9298 [BZ #12655]
9299 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9300 Patch by Filipe David Manana <fdmanana@apache.org>.
9301
9302 2011-04-07 Andreas Schwab <schwab@redhat.com>
9303
9304 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9305 Maintain aligned stack.
9306 (CHECK_RSP): Remove unused macro.
9307
9308 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9309
9310 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9311 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9312
9313 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9314
9315 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9316
9317 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9318
9319 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9320
9321 [BZ #12518]
9322 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9323 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9324 * sysdeps/x86_64/memmove.c: New file.
9325 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9326 (memcpy): Renamed to ...
9327 (__new_memcpy): This.
9328 (memcpy): Provide GLIBC_2_14 memcpy.
9329 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9330 (memcpy): Provide GLIBC_2_2_5 memcpy.
9331
9332 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9333
9334 [BZ #12631]
9335 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9336
9337 2011-03-30 Andreas Schwab <schwab@redhat.com>
9338
9339 * misc/syncfs.c: New file.
9340 * misc/Makefile (routines): Add syncfs.
9341 * posix/unistd.h: Declare syncfs.
9342 * sysdeps/unix/syscalls.list: Add syncfs.
9343
9344 2011-04-01 Andreas Schwab <schwab@redhat.com>
9345
9346 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9347 open_by_handle_at.
9348 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9349 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9350 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9351 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9353 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9354 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9355
9356 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9357
9358 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9359 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9360 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9361 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9362 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9363 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9364 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9365
9366 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9367 sync_file_range.c with -fexceptions.
9368 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9369 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9370 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9371 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9372 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9373 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9374 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9375 sync_file_range as cancellation point
9376 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9377 now a wrapper around __call_sync_file_range with cancellation handling.
9378 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9379 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9380 function name to __call_sync_file_range.
9381 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9382 Add call_sync_file_range.
9383
9384 2011-04-01 Andreas Schwab <schwab@redhat.com>
9385
9386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9387 bits/timex.h.
9388
9389 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9390
9391 * iconv/iconv.h: Fix typo in comment.
9392 * io/fcntl.h: Likewise.
9393 * libio/stdio.h: Likewise.
9394 * posix/spawn.h: Likewise.
9395 * posix/unistd.h: Likewise.
9396 * stdlib/stdlib.h: Likewise.
9397 * time/time.h: Likewise.
9398 * wcsmbs/wchar.h: Likewise.
9399
9400 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9401 open_by_handle): Add.
9402 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9403 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9404 Augment a few comments.
9405 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9407 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9409 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9410 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9411 open_by_handle.
9412
9413 * io/fcntl.h (AT_EMPTY_PATH): Define.
9414
9415 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9416
9417 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9418 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9419 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9420 to...
9421 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9422 * Versions.def: Add GLIBC_2.14.
9423 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9424 Export.
9425
9426 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9427
9428 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9429 round counter.
9430 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9431
9432 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9433
9434 [BZ #12597]
9435 * string/test-strncmp.c (do_page_test): New function.
9436 (check2): Likewise.
9437 (test_main): Call check2.
9438 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9439
9440 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9441
9442 [BZ #12587]
9443 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9444 Handle cache information in CPU leaf 4.
9445 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9446
9447 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9448
9449 [BZ #12583]
9450 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9451 character representation.
9452 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9453
9454 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9455
9456 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9457 END(__isnan) to END(__isnanf) to match function entry point/label
9458 EALIGN(__isnanf,...).
9459
9460 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9461
9462 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9463
9464 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9465
9466 [BZ #12510]
9467 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9468 copy from the symbol referenced in the relocation to initialize the
9469 used variable.
9470 Patch by Piotr Bury <pbury@goahead.com>.
9471 * elf/Makefile: Add rules to build and tst-unique3.
9472 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9473 * elf/tst-unique3.cc: New file.
9474 * elf/tst-unique3.h: New file.
9475 * elf/tst-unique3lib.cc: New file.
9476 * elf/tst-unique3lib2.cc: New file.
9477
9478 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9479
9480 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9481
9482 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9483 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9484 to _start.
9485
9486 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9487
9488 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9489 to-be-loaded object along a path to loader is ld.so.
9490
9491 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9492 Ulrich Drepper <drepper@gmail.com>
9493
9494 * sysdeps/x86_64/memset.S: After aligning destination, code
9495 branches to different locations depending on the value of
9496 misalignment, when multiarch is enabled. Fix this.
9497
9498 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9499
9500 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9501 Set _x86_64_preferred_memory_instruction for AMD processsors.
9502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9503 Set bit_Prefer_SSE_for_memop for AMD processors.
9504
9505 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9506
9507 * libio/fmemopen.c (fmemopen): Optimize a bit.
9508
9509 2011-03-03 Andreas Schwab <schwab@redhat.com>
9510
9511 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9512
9513 2011-03-03 Roland McGrath <roland@redhat.com>
9514
9515 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9516
9517 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9518
9519 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9520 __bzero_ultra1 instead of __memset_ultra1.
9521
9522 2011-02-23 Andreas Schwab <schwab@redhat.com>
9523 Ulrich Drepper <drepper@gmail.com>
9524
9525 [BZ #12509]
9526 * include/link.h (struct link_map): Add l_orig_initfini.
9527 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9528 returning unsuccessfully.
9529 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9530 close of a file loaded at startup, restore the original l_initfini
9531 list.
9532 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9533 list, store the pointer.
9534 * elf/Makefile ($(objpfx)noload-mem): New rule.
9535 (noload-ENV): Define.
9536 (tests): Add $(objpfx)noload-mem.
9537 * elf/noload.c: Include <memcheck.h>.
9538 (main): Call mtrace. Close all opened handles.
9539
9540 2011-02-17 Andreas Schwab <schwab@redhat.com>
9541
9542 [BZ #12454]
9543 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9544 dependencies are missing.
9545
9546 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9547
9548 Fix __if_freereq crash: Unlike the generic version which uses free,
9549 Hurd needs munmap.
9550 * sysdeps/mach/hurd/ifreq.h: New file.
9551
9552 2011-01-27 Petr Baudis <pasky@suse.cz>
9553 Ulrich Drepper <drepper@gmail.com>
9554
9555 [BZ 12445]#
9556 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9557 to extend_alloca().
9558 * stdio-common/bug23.c: New file.
9559 * stdio-common/Makefile (tests): Add bug23.
9560
9561 2010-09-28 Andreas Schwab <schwab@redhat.com>
9562 Ulrich Drepper <drepper@gmail.com>
9563
9564 [BZ #12489]
9565 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9566 before performing relro protection. At old place add assertion
9567 to make sure nothing changed.
9568
9569 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9570 Glauber de Oliveira Costa <glommer@gmail.com>
9571
9572 * elf/elf.h: Add new ARM TLS relocs.
9573
9574 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9575
9576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9577 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9578 cast from r3.
9579 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9580 'tests' variable.
9581 * sysdeps/wordsize-64/tst-writev.c: New file.
9582
9583 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9584
9585 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9586 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9587 insns in _dl_start to prevent a TOC reference before relocs are
9588 resolved.
9589
9590 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9591
9592 [BZ #12469]
9593 * Makeconfig: Remove RANLIB definition.
9594 * Makerules: Don't use RANLIB.
9595 * aclocal.m4: Remove ranlib test.
9596 * configure.in: No need to check for ranlib.
9597 * elf/rtld-Rules: Don't use RANLIB.
9598
9599 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9600
9601 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9602 protection macro.
9603 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9604 inclusion protection macro.
9605
9606 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9607 SIGRTMIN and SIGRTMAX and print information in that case only when
9608 SIGRTMIN is defined.
9609
9610 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9611
9612 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9613 arginfo fn returning -1.
9614
9615 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9616 and thousands string is zero terminated.
9617
9618 2011-02-03 Andreas Schwab <schwab@redhat.com>
9619
9620 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9621 sysdeps/unix/sysv/linux/bits/socket.h.
9622
9623 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9624
9625 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9626 (__CPU_COUNT): Remove old macros.
9627 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9628 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9629 (__CPU_ALLOC, __CPU_FREE): Add macros.
9630 (__sched_cpualloc, __sched_cpufree): Add declarations.
9631
9632 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9633
9634 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9635 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9636 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9637 (readdhstai): Return value of addhstaiX call.
9638 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9639 (addgrbyX): Return value returned by cache_addgr.
9640 (readdgrbyname): Return value returned by addgrbyX.
9641 (readdgrbygid): Likewise.
9642 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9643 (addpwbyX): Return value returned by cache_addpw.
9644 (readdpwbyname): Return value returned by addhstbyX.
9645 (readdpwbyuid): Likewise.
9646 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9647 (addservbyX): Return value returned by cache_addserv.
9648 (readdservbyname): Return value returned by addservbyX:
9649 (readdservbyport): Likewise.
9650 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9651 (addhstbyX): Return value returned by cache_addhst.
9652 (readdhstbyname): Return value returned by addhstbyX.
9653 (readdhstbyaddr): Likewise.
9654 (readdhstbynamev6): Likewise.
9655 (readdhstbyaddrv6): Likewise.
9656 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9657 (readdinitgroups): Return value returned by addinitgroupsX.
9658 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9659 (prune_cache): Keep track of timeout value of re-added entries.
9660 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9661 * nscd/nscd.h: Adjust prototypes of readd* functions.
9662
9663 2011-02-04 Roland McGrath <roland@redhat.com>
9664
9665 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9666 (nis_stats): Likewise.
9667 * nis/nis_modify.c (nis_modify): Likewise.
9668 * nis/nis_remove.c (nis_remove): Likewise.
9669 * nis/nis_add.c (nis_add): Likewise.
9670
9671 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9672
9673 * posix/fnmatch_loop.c: Add some consts.
9674
9675 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9676
9677 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9678
9679 [BZ #12460]
9680 * config.make.in (config-cflags-novzeroupper): Define.
9681 * configure.in: Substitute libc_cv_cc_novzeroupper.
9682 * elf/Makefile (AVX-CFLAGS): Define.
9683 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9684 (CFLAGS-tst-auditmod4a.c): Likewise.
9685 (CFLAGS-tst-auditmod4b.c): Likewise.
9686 (CFLAGS-tst-auditmod6b.c): Likewise.
9687 (CFLAGS-tst-auditmod6c.c): Likewise.
9688 (CFLAGS-tst-auditmod7b.c): Likewise.
9689 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9690
9691 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9692
9693 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9694 function to the callback.
9695 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9696
9697 2011-02-02 Andreas Schwab <schwab@redhat.com>
9698
9699 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9700 of errno.
9701
9702 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9703
9704 [BZ #11724]
9705 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9706 of constructors.
9707 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9708 of destructors.
9709 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9710
9711 [BZ #11724]
9712 * elf/Makefile: Add rules to build and run new test.
9713 * elf/tst-initorder.c: New file.
9714 * elf/tst-initorder.exp: New file.
9715 * elf/tst-initordera1.c: New file.
9716 * elf/tst-initordera2.c: New file.
9717 * elf/tst-initordera3.c: New file.
9718 * elf/tst-initordera4.c: New file.
9719 * elf/tst-initorderb1.c: New file.
9720 * elf/tst-initorderb2.c: New file.
9721 * elf/tst-order-a1.c: New file.
9722 * elf/tst-order-a2.c: New file.
9723 * elf/tst-order-a3.c: New file.
9724 * elf/tst-order-a4.c: New file.
9725 * elf/tst-order-b1.c: New file.
9726 * elf/tst-order-b2.c: New file.
9727 * elf/tst-order-main.c: New file.
9728 New test case by George Gensure <werkt0@gmail.com>.
9729
9730 2010-10-01 Andreas Schwab <schwab@redhat.com>
9731
9732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9733 decoding ACE if AI_CANONIDN.
9734
9735 2011-01-18 Ulrich Drepper <drepper@gmail.com>
9736
9737 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9738
9739 2011-01-17 Ulrich Drepper <drepper@gmail.com>
9740
9741 * version.h (RELEASE): Bump for 2.13 release.
9742 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9743
9744 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9745
9746 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9747 MADV_NOHUGEPAGE.
9748 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9749 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9750 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9751 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9752 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9753 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9754
9755 * posix/getconf.c: Update copyright year.
9756 * catgets/gencat.c: Likewise.
9757 * csu/version.c: Likewise.
9758 * debug/catchsegv.sh: Likewise.
9759 * debug/xtrace.sh: Likewise.
9760 * elf/ldconfig.c: Likewise.
9761 * elf/ldd.bash.in: Likewise.
9762 * elf/sprof.c (print_version): Likewise.
9763 * iconv/iconv_prog.c: Likewise.
9764 * iconv/iconvconfig.c: Likewise.
9765 * locale/programs/locale.c: Likewise.
9766 * locale/programs/localedef.c: Likewise.
9767 * malloc/memusage.sh: Likewise.
9768 * malloc/mtrace.pl: Likewise.
9769 * nscd/nscd.c (print_version): Likewise.
9770 * nss/getent.c: Likewise.
9771
9772 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9773 PF_CAIF, and PF_ALG.
9774 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9775
9776 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9777
9778 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9779 (modules-names): Use them.
9780 (ifunc-test-modules, ifunc-pie-tests): Define.
9781 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9782 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9783 (test-extras): Likewise.
9784 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9785 $(compile-command.c).
9786 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9787 (all-built-dso): Define.
9788 (check-textrel.out, check-execstack.out): Depend on it.
9789
9790 * configure.in: Don't override --enable-multi-arch.
9791
9792 2011-01-15 Ulrich Drepper <drepper@gmail.com>
9793
9794 [BZ #6812]
9795 * nscd/hstcache.c (tryagain): Define.
9796 (cache_addhst): Return tryagain not notfound for temporary errors.
9797 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9798 failed.
9799
9800 2011-01-14 Ulrich Drepper <drepper@gmail.com>
9801
9802 [BZ #10563]
9803 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9804 to make the syscall.
9805 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9806
9807 [BZ #12378]
9808 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9809 and fall back to matching as normal character if the string ends before
9810 the matching ']' is found. This is what POSIX requires.
9811 * posix/testfnm.c: Adjust test result.
9812 * posix/globtest.sh: Adjust test result. Add new test.
9813 * posix/tst-fnmatch.input: Likewise.
9814 * posix/tst-fnmatch2.c: Add new test.
9815
9816 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9817
9818 * elf/Makefile (check-execstack): Revert last change. Depend on
9819 check-execstack.h.
9820 (check-execstack.h): New target.
9821 (generated): Add check-execstack.h.
9822 * elf/check-execstack.c: Include "check-execstack.h".
9823 (main): Revert last change.
9824 (handle_file): Return zero if GNU_STACK is absent and
9825 DEFAULT_STACK_PERMS doesn't include PF_X.
9826
9827 2011-01-13 Ulrich Drepper <drepper@gmail.com>
9828
9829 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9830 in child fails because the descriptor is already closed.
9831 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9832 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9833 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
9834
9835 [BZ #12397]
9836 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9837 syscall.
9838
9839 [BZ #10484]
9840 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9841 temporary buffer used to handle multi lookups locally.
9842 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
9843
9844 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9845
9846 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9847 loader is ld.so.
9848
9849 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9850
9851 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9852 alignment for SSE2.
9853
9854 2011-01-12 Ulrich Drepper <drepper@gmail.com>
9855
9856 [BZ #12394]
9857 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9858 characters. When rounding increased number of integer digits recompute
9859 number of groups.
9860 * stdio-common/tst-grouping.c: New file.
9861 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9862
9863 2011-01-09 Ulrich Drepper <drepper@gmail.com>
9864
9865 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9866 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9867
9868 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9869 void.
9870 * bits/select.h: Likewise.
9871
9872 2011-01-08 Ulrich Drepper <drepper@gmail.com>
9873
9874 * po/ja.po: Update from translation team.
9875
9876 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
9877
9878 [BZ #11155]
9879 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9880 implementation just like for lxstat, fxstatat, et al.
9881
9882 2010-12-27 Jim Meyering <meyering@redhat.com>
9883
9884 [BZ #12348]
9885 * posix/regexec.c (build_trtable): Return failure indication upon
9886 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9887
9888 2010-12-25 Ulrich Drepper <drepper@gmail.com>
9889
9890 [BZ #12201]
9891 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9892 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9893 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9894 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9895
9896 [BZ #12207]
9897 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9898
9899 [BZ #12204]
9900 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9901 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9902
9903 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9904
9905 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9906 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9907 script has SORT_BY_INIT_PRIORITY.
9908 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9909 NO_CTORS_DTORS_SECTIONS is defined.
9910 * elf/soinit.c: Likewise.
9911 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9912 NO_CTORS_DTORS_SECTIONS is defined.
9913 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9914 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9915 * sysdeps/sh/init-first.c: Likewise.
9916 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9917
9918 2010-12-24 Ulrich Drepper <drepper@gmail.com>
9919
9920 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9921 always use the slow path.
9922
9923 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9924
9925 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9926 similar rule which adds the sysdep directories to the header search in
9927 order to pick up the correct platform stackinfo.h.
9928 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9929 perform test if it is, otherwise return successfully without testing.
9930 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9931 DEFAULT_STACK_PERMS define in stackinfo.h.
9932 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9933 defined in stackinfo.h.
9934 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9935 DEFAULT_STACK_PERMS defined in stackinfo.h.
9936 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9937 * sysdeps/ia64/stackinfo.h: Likewise.
9938 * sysdeps/s390/stackinfo.h: Likewise.
9939 * sysdeps/sh/stackinfo.h: Likewise.
9940 * sysdeps/sparc/stackinfo.h: Likewise.
9941 * sysdeps/x86_64/stackinfo.h: Likewise.
9942 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9943 PF_X for powerpc64. Retain PF_X for powerpc32.
9944
9945 2010-12-19 Ulrich Drepper <drepper@gmail.com>
9946
9947 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9948 accurately.
9949 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9950 GETDENTS_64BIT_ALIGNED.
9951
9952 2010-12-14 Ulrich Drepper <dreper@gmail.com>
9953
9954 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
9955
9956 2010-12-10 Andreas Schwab <schwab@redhat.com>
9957
9958 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9959 _GNU_SOURCE.
9960
9961 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9962 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9963 Remove __restrict.
9964 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9965 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9966
9967 2010-12-09 Ulrich Drepper <drepper@gmail.com>
9968
9969 [BZ #11655]
9970 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9971 are initialized.
9972
9973 2010-12-09 Jakub Jelinek <jakub@redhat.com>
9974
9975 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9976
9977 2010-12-03 Ulrich Drepper <drepper@gmail.com>
9978
9979 * po/it.po: Update from translation team.
9980
9981 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9982
9983 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9984 unused codes.
9985
9986 2010-11-30 Ulrich Drepper <drepper@gmail.com>
9987
9988 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9989
9990 2010-11-24 Andreas Schwab <schwab@redhat.com>
9991
9992 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9993 specially.
9994 (gaih_getanswer_slice): Likewise.
9995
9996 2010-10-20 Jakub Jelinek <jakub@redhat.com>
9997
9998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9999
10000 2010-05-31 Petr Baudis <pasky@suse.cz>
10001
10002 [BZ #11149]
10003 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10004 silently even in the chroot mode.
10005
10006 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10007
10008 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10009 last patch a bit. Pretty printing
10010
10011 2010-05-31 Petr Baudis <pasky@suse.cz>
10012
10013 [BZ #10085]
10014 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10015 initialization of skip_initgroups_dyn.
10016
10017 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10018
10019 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10020 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10021
10022 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10023
10024 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10025
10026 2010-11-11 Andreas Schwab <schwab@redhat.com>
10027
10028 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10029 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10030 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10031 ($(objpfx)tst-fnmatch-mem): New rule.
10032 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10033 * posix/tst-fnmatch.c (main): Call mtrace.
10034
10035 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10036
10037 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10038 Support Intel processor model 6 and model 0x2c.
10039
10040 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10041
10042 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10043 signed comparison.
10044
10045 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10046
10047 [BZ #12205]
10048 * string/test-strncasecmp.c (check_result): New function.
10049 (do_one_test): Use it.
10050 (check1): New function.
10051 (test_main): Use it.
10052 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10053 Support strcasecmp and strncasecmp.
10054
10055 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10056
10057 [BZ #12194]
10058 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10059 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10060
10061 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10062
10063 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10064 IFUNC support.
10065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10066 memset-x86-64.
10067 * sysdeps/x86_64/multiarch/bzero.S: New file.
10068 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10069 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10070 * sysdeps/x86_64/multiarch/memset.S: New file.
10071 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10072 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10073 Set bit_Prefer_SSE_for_memop for Intel processors.
10074 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10075 Define.
10076 (index_Prefer_SSE_for_memop): Define.
10077 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10078
10079 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10080
10081 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10082 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10083
10084 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10085
10086 [BZ #12191]
10087 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10088 (__x86_64_raw_data_cache_size_half): Likewise.
10089 (__x86_64_raw_shared_cache_size): Likewise.
10090 (__x86_64_raw_shared_cache_size_half): Likewise.
10091
10092 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10093 (__x86_64_raw_data_cache_size_half): Likewise.
10094 (__x86_64_raw_shared_cache_size): Likewise.
10095 (__x86_64_raw_shared_cache_size_half): Likewise.
10096 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10097 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10098 and __x86_64_raw_shared_cache_size_half. Round
10099 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10100 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10101 to multiple of 256 bytes.
10102
10103 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10104
10105 [BZ #12167]
10106 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10107 of inacessible symlinks. Verify result of symlink before returning it.
10108 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10109 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10110
10111 2010-10-28 Erich Ritz <erichritz@gmail.com>
10112
10113 * math/math.h (isinf): Fix typo in comment.
10114
10115 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10116
10117 * po/da.po: Update from translation team.
10118
10119 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10120
10121 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10122 is added to the list.
10123
10124 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10125 Ulrich Drepper <drepper@gmail.com>
10126
10127 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10128 the global list here. Move code to...
10129 (_dl_add_to_namespace_list): ...here. New function.
10130 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10131 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10132 * elf/dl-load.c (lose): Don't remove the element from the list.
10133 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10134 (_dl_map_object): Likewise.
10135
10136 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10137
10138 [BZ #12159]
10139 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10140 into all bytes of SSE register.
10141 Patch by Richard Li <richardpku@gmail.com>.
10142
10143 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10144
10145 [BZ #12140]
10146 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10147 perturbing.
10148
10149 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10150
10151 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10152 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10153 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10154 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10156 submachine.
10157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10158
10159 2010-10-22 Andreas Schwab <schwab@redhat.com>
10160
10161 * include/dlfcn.h (__RTLD_SECURE): Define.
10162 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10163 mode & __RTLD_SECURE instead.
10164 (open_path): Rename preloaded parameter to secure.
10165 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10166 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10167 * elf/dl-deps.c (openaux): Likewise.
10168 * elf/rtld.c (struct map_args): Remove is_preloaded.
10169 (map_doit): Don't use it.
10170 (dl_main): Likewise.
10171 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10172 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10173
10174 2010-09-09 Andreas Schwab <schwab@redhat.com>
10175
10176 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10177 (sysd-rules-targets): Remove duplicates.
10178 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10179 rtld-%.$o dependency.
10180
10181 2010-10-18 Andreas Schwab <schwab@redhat.com>
10182
10183 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10184 _dl_map_object do it.
10185
10186 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10187
10188 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10189 fast fma builtins, define the macros in the C99 standard.
10190 (FP_FAST_FMAF): Likewise.
10191 (FP_FAST_FMAL): Likewise.
10192 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10193
10194 * bits/mathdef.h: Update copyright year.
10195 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10196
10197 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10198
10199 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10200 builtins, define the macros in the C99 standard.
10201 (FP_FAST_FMAF): Likewise.
10202 (FP_FAST_FMAL): Likewise.
10203 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10204 multiply/add.
10205 (FP_FAST_FMAF): Likewise.
10206
10207 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10208
10209 [BZ #3268]
10210 * math/libm-test.inc (fma_test): Some new testcases.
10211 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10212 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10213 y and infinite z. Do multiplication by C already in long double.
10214 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10216 y and infinite z. Do bitwise or of inexact bit into u.d.
10217 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10218 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10219 * sysdeps/i386/fpu/s_fma.S: Removed.
10220 * sysdeps/i386/fpu/s_fmal.S: Removed.
10221
10222 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10223
10224 [BZ #3268]
10225 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10227 computation is not scheduled after fetestexcept. Fix value
10228 of minimum denormal long double.
10229
10230 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10231
10232 [BZ #3268]
10233 * math/libm-test.inc (fma_test): Add some more tests.
10234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10235 correctly.
10236
10237 2010-10-15 Andreas Schwab <schwab@redhat.com>
10238
10239 * scripts/data/localplt-s390-linux-gnu.data: New file.
10240 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10241
10242 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10243
10244 [BZ #3268]
10245 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10246 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10247 instead of dbl-64.
10248 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10249 inlines.
10250 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10251 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10252 if one of x and y is very large and the other is subnormal.
10253 * sysdeps/s390/fpu/s_fmaf.c: New file.
10254 * sysdeps/s390/fpu/s_fma.c: New file.
10255 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10256 * sysdeps/powerpc/fpu/s_fma.S: New file.
10257 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10258 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10259 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10260
10261 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10262
10263 [BZ #3268]
10264 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10265 fma tests.
10266 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10267 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10268 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10269 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10270 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10271 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10272 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10273
10274 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10275
10276 [BZ #12078]
10277 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10278 * posix/bug-regex31.input: Add test case.
10279
10280 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10281
10282 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10283 * posix/bug-regex31.input: New file.
10284
10285 [BZ #12078]
10286 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10287 (parse_sub_exp): Fix last change, use postorder.
10288
10289 * posix/bug-regex31.c: New file.
10290 * posix/Makefile: Add rules to build and run bug-regex31.
10291
10292 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10293
10294 [BZ #12078]
10295 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10296
10297 [BZ #12108]
10298 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10299 to have entries in sys_siglist.
10300
10301 [BZ #12093]
10302 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10303 be NULL.
10304
10305 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10306
10307 [BZ #3268]
10308 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10309 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10310 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10311 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10312 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10313 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10314 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10315 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10316 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10317 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10318 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10319 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10320 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10321 * math/ftestexcept.c (fetestexcept): Likewise.
10322 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10323 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10324 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10325 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10326 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10327 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10328 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10329
10330 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10331
10332 [BZ #12107]
10333 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10334 newline.
10335
10336 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10337
10338 * string/bug-strstr1.c: New file.
10339 * string/Makefile: Add rules to build and run bug-strstr1.
10340
10341 2010-10-05 Eric Blake <eblake@redhat.com>
10342
10343 [BZ #12092]
10344 * string/str-two-way.h (two_way_long_needle): Always clear memory
10345 when skipping input due to the shift table.
10346
10347 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10348
10349 [BZ #12005]
10350 * malloc/mcheck.c: Handle large requests.
10351
10352 [BZ #12077]
10353 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10354 for strncmp and strncasecmp.
10355 * string/stratcliff.c: Add tests for strcmp and strncmp.
10356 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10357
10358 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10359
10360 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10361 __set_fpscr.
10362
10363 2010-09-30 Andreas Jaeger <aj@suse.de>
10364
10365 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10366 (CGROUP_SUPER_MAGIC): Define.
10367 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10368 Handle btrfs and cgroup file systems.
10369 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10370 Likewise.
10371
10372 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10373
10374 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10375 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10376
10377 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10378
10379 [BZ #12067]
10380 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10381 trying to locate the ELF header.
10382
10383 2010-09-27 Andreas Schwab <schwab@redhat.com>
10384
10385 [BZ #11611]
10386 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10387 Mask out sign-bit copies when constructing f_fsid.
10388
10389 2010-09-24 Petr Baudis <pasky@suse.cz>
10390
10391 * debug/stack_chk_fail_local.c: Add missing licence exception.
10392 * debug/warning-nop.c: Likewise.
10393
10394 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10395
10396 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10397 implementing getdents64 using getdents syscall, set d_type if
10398 __ASSUME_GETDENTS32_D_TYPE.
10399
10400 2010-09-16 Andreas Schwab <schwab@redhat.com>
10401
10402 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10403 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10404
10405 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10406
10407 [BZ #12037]
10408 * posix/unistd.h: Undo change of feature selection for ftruncate from
10409 2010-01-11.
10410
10411 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10412
10413 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10414 detection.
10415
10416 2010-09-20 Andreas Schwab <schwab@redhat.com>
10417
10418 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10419 fanotify_mark.
10420 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10421
10422 2010-09-14 Andreas Schwab <schwab@redhat.com>
10423
10424 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10425 variables after CHECK_SP call.
10426 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10427
10428 2010-09-13 Andreas Schwab <schwab@redhat.com>
10429 Ulrich Drepper <drepper@redhat.com>
10430
10431 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10432 re-relocationg ld.so.
10433 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10434 _dl_init_paths call.
10435 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10436 here anymore.
10437
10438 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10439
10440 * resolv/res_init.c (__res_vinit): Count the default server we added.
10441
10442 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10443 Ulrich Drepper <drepper@redhat.com>
10444
10445 [BZ #11968]
10446 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10447 (____longjmp_chk): Use %ebx for saving value across system call.
10448 Add unwind info.
10449
10450 2010-09-06 Andreas Schwab <schwab@redhat.com>
10451
10452 * manual/Makefile: Don't mix pattern rules with normal rules.
10453
10454 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10455
10456 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10457 operation.
10458 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10459 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10460 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10461 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10462 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10463 Likewise.
10464
10465 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10466
10467 [BZ #11979]
10468 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10469 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10470
10471 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10472
10473 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10474 * sysdeps/x86_64/addmul_1.S: Likewise.
10475 * sysdeps/x86_64/lshift.S: Likewise.
10476 * sysdeps/x86_64/mul_1.S: Likewise.
10477 * sysdeps/x86_64/rshift.S: Likewise.
10478 * sysdeps/x86_64/sub_n.S: Likewise.
10479 * sysdeps/x86_64/submul_1.S: Likewise.
10480
10481 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10482
10483 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10484 Define __sched_param instead of SCHED_* and sched_param when
10485 <bits/sched.h> is included with __need_schedparam defined.
10486 * bits/sched.h [__need_schedparam]
10487 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10488 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10489 (__defined_schedparam): Define to 1.
10490 (__sched_param): New structure, identical to sched_param.
10491 (__need_schedparam): Undefine.
10492
10493 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10494
10495 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10496 (epoll_create1): Declare.
10497
10498 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10499
10500 2010-08-31 Andreas Schwab <schwab@redhat.com>
10501
10502 [BZ #7066]
10503 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10504 shifting retval into place.
10505
10506 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10507
10508 * nis/rpcsvc/nis.h: Update copyright notice.
10509 * nis/rpcsvc/nis.x: Likewise.
10510 * nis/rpcsvc/nis_callback.h: Likewise.
10511 * nis/rpcsvc/nis_callback.x: Likewise.
10512 * nis/rpcsvc/nis_object.x: Likewise.
10513 * nis/rpcsvc/nis_tags.h: Likewise.
10514 * nis/rpcsvc/yp.h: Likewise.
10515 * nis/rpcsvc/yp.x: Likewise.
10516 * nis/rpcsvc/ypupd.h: Likewise.
10517 * nis/yp_xdr.c: Likewise.
10518 * nis/ypupdate_xdr.c: Likewise.
10519
10520 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10521 mainly the body of pmap_getport. Add parameters to specify timeouts.
10522 (pmap_getport): Use __libc_rpc_getport.
10523 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10524 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10525 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10526
10527 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10528
10529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10530 fanotify_mark.
10531
10532 2010-08-27 Roland McGrath <roland@redhat.com>
10533
10534 * sysdeps/i386/i686/multiarch/Makefile
10535 (CFLAGS-varshift.c): New variable.
10536
10537 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10538
10539 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10540 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10541
10542 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10543
10544 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10545
10546 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10547
10548 * sysdeps/x86_64/strlen.S: Unroll the loop.
10549 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10550 strlen-sse2 strlen-sse2-bsf.
10551 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10552 __strlen_no_bsf if bit_Slow_BSF is set.
10553 (__strlen_sse42): Removed.
10554 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10555 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10556
10557 2010-08-25 Roland McGrath <roland@redhat.com>
10558
10559 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10560 * sysdeps/x86_64/multiarch/varshift.c: New file.
10561 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10562 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10563 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10564 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10565
10566 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10567
10568 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10569 strlen-sse2 strlen-sse2-bsf.
10570 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10571 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10572 (__strlen_sse2): Removed.
10573 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10574 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10576 bit_Slow_BSF for Atom.
10577 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10578 (index_Slow_BSF): Define.
10579 (HAS_SLOW_BSF): Define.
10580
10581 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10582
10583 [BZ #10851]
10584 * resolv/res_init.c (__res_vinit): When no server address at all
10585 is given default to loopback.
10586
10587 2010-08-24 Roland McGrath <roland@redhat.com>
10588
10589 * configure.in: Remove config-name.h generation.
10590 * configure: Regenerated.
10591 * config-name.in: File removed.
10592 * scripts/config-uname.sh: New file.
10593 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10594 ($(objdir)config-name.h): New target.
10595
10596 * sunrpc/rpc_parse.h: Avoid nested comment.
10597
10598 2010-08-24 Richard Henderson <rth@redhat.com>
10599 Ulrich Drepper <drepper@redhat.com>
10600 H.J. Lu <hongjiu.lu@intel.com>
10601
10602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10603 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10604 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10605 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10606 _mm_alignr_epi8 with _mm_loadu_si128.
10607 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10608 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10609 (__m128i_shift_right): Removed.
10610 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10611 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10612 * sysdeps/x86_64/multiarch/varshift.h: New file.
10613 * sysdeps/x86_64/multiarch/varshift.S: New file.
10614
10615 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10616
10617 * configure.in: Move assembler checks to before sysdep dir checking.
10618
10619 2010-08-20 Petr Baudis <pasky@suse.cz>
10620
10621 * LICENSES: Sync the sunrpc license.
10622
10623 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10624
10625 * sunrpc/auth_des.c: Update copyright notice once again.
10626 * sunrpc/auth_none.c: Likewise.
10627 * sunrpc/auth_unix.c: Likewise.
10628 * sunrpc/authdes_prot.c: Likewise.
10629 * sunrpc/authuxprot.c: Likewise.
10630 * sunrpc/bindrsvprt.c: Likewise.
10631 * sunrpc/clnt_gen.c: Likewise.
10632 * sunrpc/clnt_perr.c: Likewise.
10633 * sunrpc/clnt_raw.c: Likewise.
10634 * sunrpc/clnt_simp.c: Likewise.
10635 * sunrpc/clnt_tcp.c: Likewise.
10636 * sunrpc/clnt_udp.c: Likewise.
10637 * sunrpc/clnt_unix.c: Likewise.
10638 * sunrpc/des_crypt.c: Likewise.
10639 * sunrpc/des_soft.c: Likewise.
10640 * sunrpc/get_myaddr.c: Likewise.
10641 * sunrpc/getrpcport.c: Likewise.
10642 * sunrpc/key_call.c: Likewise.
10643 * sunrpc/key_prot.c: Likewise.
10644 * sunrpc/openchild.c: Likewise.
10645 * sunrpc/pm_getmaps.c: Likewise.
10646 * sunrpc/pm_getport.c: Likewise.
10647 * sunrpc/pmap_clnt.c: Likewise.
10648 * sunrpc/pmap_prot.c: Likewise.
10649 * sunrpc/pmap_prot2.c: Likewise.
10650 * sunrpc/pmap_rmt.c: Likewise.
10651 * sunrpc/rpc/auth.h: Likewise.
10652 * sunrpc/rpc/auth_unix.h: Likewise.
10653 * sunrpc/rpc/clnt.h: Likewise.
10654 * sunrpc/rpc/des_crypt.h: Likewise.
10655 * sunrpc/rpc/key_prot.h: Likewise.
10656 * sunrpc/rpc/netdb.h: Likewise.
10657 * sunrpc/rpc/pmap_clnt.h: Likewise.
10658 * sunrpc/rpc/pmap_prot.h: Likewise.
10659 * sunrpc/rpc/pmap_rmt.h: Likewise.
10660 * sunrpc/rpc/rpc.h: Likewise.
10661 * sunrpc/rpc/rpc_des.h: Likewise.
10662 * sunrpc/rpc/rpc_msg.h: Likewise.
10663 * sunrpc/rpc/svc.h: Likewise.
10664 * sunrpc/rpc/svc_auth.h: Likewise.
10665 * sunrpc/rpc/types.h: Likewise.
10666 * sunrpc/rpc/xdr.h: Likewise.
10667 * sunrpc/rpc_clntout.c: Likewise.
10668 * sunrpc/rpc_cmsg.c: Likewise.
10669 * sunrpc/rpc_common.c: Likewise.
10670 * sunrpc/rpc_cout.c: Likewise.
10671 * sunrpc/rpc_dtable.c: Likewise.
10672 * sunrpc/rpc_hout.c: Likewise.
10673 * sunrpc/rpc_main.c: Likewise.
10674 * sunrpc/rpc_parse.c: Likewise.
10675 * sunrpc/rpc_parse.h: Likewise.
10676 * sunrpc/rpc_prot.c: Likewise.
10677 * sunrpc/rpc_sample.c: Likewise.
10678 * sunrpc/rpc_scan.c: Likewise.
10679 * sunrpc/rpc_scan.h: Likewise.
10680 * sunrpc/rpc_svcout.c: Likewise.
10681 * sunrpc/rpc_tblout.c: Likewise.
10682 * sunrpc/rpc_util.c: Likewise.
10683 * sunrpc/rpc_util.h: Likewise.
10684 * sunrpc/rpcinfo.c: Likewise.
10685 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10686 * sunrpc/rpcsvc/key_prot.x: Likewise.
10687 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10688 * sunrpc/rpcsvc/mount.x: Likewise.
10689 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10690 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10691 * sunrpc/rpcsvc/rex.x: Likewise.
10692 * sunrpc/rpcsvc/rstat.x: Likewise.
10693 * sunrpc/rpcsvc/rusers.x: Likewise.
10694 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10695 * sunrpc/rpcsvc/spray.x: Likewise.
10696 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10697 * sunrpc/rtime.c: Likewise.
10698 * sunrpc/svc.c: Likewise.
10699 * sunrpc/svc_auth.c: Likewise.
10700 * sunrpc/svc_authux.c: Likewise.
10701 * sunrpc/svc_raw.c: Likewise.
10702 * sunrpc/svc_run.c: Likewise.
10703 * sunrpc/svc_simple.c: Likewise.
10704 * sunrpc/svc_tcp.c: Likewise.
10705 * sunrpc/svc_udp.c: Likewise.
10706 * sunrpc/svc_unix.c: Likewise.
10707 * sunrpc/svcauth_des.c: Likewise.
10708 * sunrpc/xcrypt.c: Likewise.
10709 * sunrpc/xdr.c: Likewise.
10710 * sunrpc/xdr_array.c: Likewise.
10711 * sunrpc/xdr_float.c: Likewise.
10712 * sunrpc/xdr_mem.c: Likewise.
10713 * sunrpc/xdr_rec.c: Likewise.
10714 * sunrpc/xdr_ref.c: Likewise.
10715 * sunrpc/xdr_sizeof.c: Likewise.
10716 * sunrpc/xdr_stdio.c: Likewise.
10717
10718 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10719 handling.
10720
10721 2010-08-19 Andreas Schwab <schwab@redhat.com>
10722
10723 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10724
10725 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
10726
10727 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10728 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10729 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10730 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10731 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10732 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10733 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10734 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10735 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10736 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10737 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10738 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10739 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10740 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10741
10742 2010-07-26 Anton Blanchard <anton@samba.org>
10743
10744 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10745 * malloc/arena.c (heap_trim): Likewise.
10746
10747 2010-08-16 Ulrich Drepper <drepper@redhat.com>
10748
10749 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10750 here. Not...
10751 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10752 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10753
10754 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10755
10756 * sysdeps/i386/elf/Makefile: New file.
10757
10758 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10759
10760 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10761 from fanotify_init.
10762 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10763 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10764
10765 2010-08-15 Ulrich Drepper <drepper@redhat.com>
10766
10767 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10768 of strncasecmp_l.
10769 * sysdeps/multiarch/strcmp.S: Likewise.
10770
10771 2010-08-14 Ulrich Drepper <drepper@redhat.com>
10772
10773 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10774 strncase_l-nonascii.
10775 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10776 Add strncase_l-ssse3.
10777 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10778 * sysdeps/x86_64/strcmp.S: Likewise.
10779 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10780 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10781 * sysdeps/x86_64/strncase.S: New file.
10782 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10783 * sysdeps/x86_64/strncase_l.S: New file.
10784 * string/Makefile (strop-tests): Add strncasecmp.
10785 * string/test-strncasecmp.c: New file.
10786
10787 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10788 warning.
10789
10790 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10791 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10792
10793 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10794
10795 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10796
10797 2010-08-12 Ulrich Drepper <drepper@redhat.com>
10798
10799 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10800 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10801 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10802
10803 2010-05-01 Alan Modra <amodra@gmail.com>
10804
10805 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10806 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10807 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10808 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10809 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10810 tidying. Don't tail-call __sigjmp_save for static lib.
10811 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10812 save location.
10813 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10814 (CALL_MCOUNT): Add eh info, and nop after bl.
10815 (TAIL_CALL_SYSCALL_ERROR): New macro.
10816 (PSEUDO_RET): Use it.
10817 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10818 Correct save location of integer regs and cr.
10819 (_dl_profile_resolve): Correct cr save location. Delete nops
10820 after bl when SHARED. Reduce cfi size a little by better
10821 placement of cfi directives.
10822 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10823 make a stack frame. Instead use parm save area as a temp.
10824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10825 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10827 Don't make a stack frame for parent, use parm save area.
10828 Increase child stack frame to 112 bytes. Don't save unused reg,
10829 and adjust reg usage. Set up cfi on error recovery and
10830 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10832 (__makecontext): Add dummy nop after jump to exit.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10834 Use correct parm save area and cr save, reduce stack frame.
10835 Correct cfi for possible PSEUDO_RET frame setup.
10836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10837 Branch to local label emitted by PSEUDO_RET rather than
10838 __syscall_error.
10839
10840 2010-08-12 Andreas Schwab <schwab@redhat.com>
10841
10842 [BZ #11904]
10843 * locale/programs/locale.c (print_assignment): New function.
10844 (show_locale_vars): Use it.
10845
10846 2010-08-11 Ulrich Drepper <drepper@redhat.com>
10847
10848 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10849 field.
10850 (struct statfs64): Likewise.
10851 (_STATFS_F_FLAGS): Define.
10852 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10853 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10854 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10855 (ST_VALID): Define locally.
10856 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10857 __statvfs_getflags, use the provided value.
10858 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10859 __ASSUME_STATFS_F_FLAGS.
10860
10861 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10862
10863 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10864 Add sys/fanotify.h.
10865 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10866 fanotify_mask for GLIBC_2.13.
10867 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10868 fanotify_init and fanotify_mark.
10869 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10870 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10871
10872 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10873 Add prlimit.
10874 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10875 prlimit64 for GLIBC_2.13.
10876 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10877 prlimit64.
10878 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10879 syscall.
10880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10881 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10882 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10883 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10884 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10885 add prlimit alias.
10886 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10887
10888 [BZ #11903]
10889 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10890 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10891
10892 * nss/Makefile: Add rules to build and run tst-nss-test1.
10893 * shlib-versions: Add entry for libnss_test1.
10894 * nss/nss_test1.c: New file.
10895 * nss/tst-nss-test1.c: New file.
10896
10897 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10898 (__nss_configure_lookup): Set appropriate entry in
10899 __nss_configure_lookup to true.
10900 * nss/nsswitch.h: Define enum with indeces of databases in
10901 databases and __nss_database_custom arrays. Declare
10902 __nss_database_custom.
10903 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10904 to avoid using nscd when custom rules are installed.
10905 * nss/getXXbyYY_r.c: Likewise.
10906 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10907
10908 * nss/nss_files/files-parse.c: Whitespace fixes.
10909
10910 2010-08-09 Ulrich Drepper <drepper@redhat.com>
10911
10912 [BZ #11883]
10913 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10914 * posix/fnmatch_loop.c: Likewise.
10915
10916 2010-07-17 Andi Kleen <ak@linux.intel.com>
10917
10918 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10919 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10920 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10921 * Versions.def [GLIBC_2.13]: Add.
10922
10923 2010-08-06 Ulrich Drepper <drepper@redhat.com>
10924
10925 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10926 Also fail if tpwd after pwuid call is NULL.
10927
10928 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10929
10930 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10931 when converting to ms.
10932
10933 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10934
10935 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10936 EOPNOTSUPP errors with ENOTTY.
10937 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10938 EOPNOTSUPP errors with ENOTTY.
10939
10940 2010-07-31 Ulrich Drepper <drepper@redhat.com>
10941
10942 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10943 Add strcasecmp_l-ssse3.
10944 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10945 strcasecmp.
10946 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10947 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10948 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10949
10950 2010-07-30 Ulrich Drepper <drepper@redhat.com>
10951
10952 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10953
10954 * string/Makefile (strop-tests): Add strcasecmp.
10955 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10956 strcasecmp_l-nonascii.
10957 (gen-as-const-headers): Add locale-defines.sym.
10958 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10959 * sysdeps/x86_64/strcasecmp.S: New file.
10960 * sysdeps/x86_64/strcasecmp_l.S: New file.
10961 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10962 * sysdeps/x86_64/locale-defines.sym: New file.
10963 * string/test-strcasecmp.c: New file.
10964
10965 * string/test-strcasestr.c: Test both ends of the range of characters.
10966 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10967
10968 2010-07-29 Roland McGrath <roland@redhat.com>
10969
10970 [BZ #11856]
10971 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10972
10973 2010-07-27 Ulrich Drepper <drepper@redhat.com>
10974
10975 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10976 for ld.so.
10977
10978 2010-07-27 Andreas Schwab <schwab@redhat.com>
10979
10980 * manual/memory.texi (Malloc Tunable Parameters): Document
10981 M_PERTURB.
10982
10983 2010-07-26 Roland McGrath <roland@redhat.com>
10984
10985 [BZ #11840]
10986 * configure.in (-fgnu89-inline check): Set and substitute
10987 gnu89_inline, not libc_cv_gnu89_inline.
10988 * configure: Regenerated.
10989 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10990
10991 2010-07-26 Ulrich Drepper <drepper@redhat.com>
10992
10993 * string/test-strnlen.c: New file.
10994 * string/Makefile (strop-tests): Add strnlen.
10995 * string/tester.c (test_strnlen): Add a few more test cases.
10996 * string/tst-strlen.c: Better error reporting.
10997
10998 * sysdeps/x86_64/strnlen.S: New file.
10999
11000 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11001
11002 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11003 lower-latency instructions.
11004
11005 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11006
11007 * string/test-strcasestr.c: New file.
11008 * string/test-strstr.c: New file.
11009 * string/Makefile (strop-tests): Add strstr and strcasestr.
11010 * string/str-two-way.h: Don't undefine MAX.
11011 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11012
11013 2010-07-21 Andreas Schwab <schwab@redhat.com>
11014
11015 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11016 strcasestr-nonascii.
11017 (CFLAGS-strcasestr-nonascii.c): Define.
11018 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11019 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11020 Remove unused attribute.
11021
11022 2010-07-20 Roland McGrath <roland@redhat.com>
11023
11024 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11025 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11026 ld.so.cache was broken. With it, there is no way to disable dsocaps
11027 like LD_HWCAP_MASK can disable hwcaps.
11028
11029 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11030
11031 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11032
11033 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11034
11035 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11036 call in strcasestr.
11037 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11038 __strcasestr_sse42_nonascii.
11039 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11040 strcasestr-nonascii.c.
11041 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11042
11043 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11044
11045 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11046 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11047 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11048 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11049
11050 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11051
11052 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11053 fcntl.
11054
11055 2010-07-06 Andreas Schwab <schwab@redhat.com>
11056
11057 [BZ #11577]
11058 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11059 dl_signal_cerror.
11060
11061 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11062
11063 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11064 _PC_PIPE_BUF using F_GETPIPE_SZ.
11065
11066 2010-07-05 Roland McGrath <roland@redhat.com>
11067
11068 * manual/arith.texi (Rounding Functions): Fix rint description
11069 implicit in round description.
11070
11071 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11072
11073 * elf/Makefile: Fix linking for a few tests to make recent linker
11074 happy.
11075
11076 2010-06-30 Andreas Schwab <schwab@redhat.com>
11077
11078 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11079 $(common-objpfx)libc_nonshared.a.
11080
11081 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11082
11083 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11084 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11085 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11086 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11087 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11088 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11089 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11090 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11105 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11106 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11107 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11108 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11109 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11110 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11111 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11112 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11113 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11114 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11115 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11116 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11131
11132 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11133
11134 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11135 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11136 * string/memmove.c (memmove): Renamed to ...
11137 (MEMMOVE): ...this. Default to memmove.
11138 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11139 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11140 (END_CHK): Define.
11141 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11142 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11143 mempcpy-ssse3-back memmove-ssse3-back.
11144 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11145 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11146 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11147 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11148 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11149 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11150 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11151 * sysdeps/x86_64/multiarch/memmove.c: New file.
11152 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11153 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11154 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11155 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11156 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11157 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11158 Define.
11159 (index_Fast_Copy_Backward): Define.
11160 (HAS_ARCH_FEATURE): Define.
11161 (HAS_FAST_REP_STRING): Define.
11162 (HAS_FAST_COPY_BACKWARD): Define.
11163
11164 2010-06-21 Andreas Schwab <schwab@redhat.com>
11165
11166 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11167 Restore proper fallback handling.
11168
11169 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11170
11171 [BZ #11701]
11172 * posix/group_member.c (__group_member): Correct checking loop.
11173
11174 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11175 OOM in getpwuid_r correctly. Return error number when the caller
11176 should return, otherwise -1.
11177 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11178 call returning > 0 value.
11179 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11180
11181 2010-06-07 Andreas Schwab <schwab@redhat.com>
11182
11183 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11184 libc_nonshared.a from targets in modules-names.
11185
11186 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11187
11188 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11189 requires it.
11190
11191 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11192
11193 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11194 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11195 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11196 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11197
11198 2010-06-02 Andreas Schwab <schwab@redhat.com>
11199
11200 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11201
11202 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11203
11204 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11205 and F_GETPIPE_SZ.
11206 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11207 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11208 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11209 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11210 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11211 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11212
11213 2010-06-14 Roland McGrath <roland@redhat.com>
11214
11215 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11216
11217 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11218
11219 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11220 __REDIRECT followed by __THROW.
11221 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11222 * posix/getopt.h (getopt): Likewise.
11223
11224 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11225
11226 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11227 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11228 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11229 in AT_FLAGS.
11230 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11231 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11232
11233 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11234
11235 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11236
11237 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11238
11239 [BZ #11640]
11240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11241 Properly check family and model.
11242
11243 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11244
11245 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11246
11247 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11248
11249 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11250
11251 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11252
11253 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11254 symbol reference.
11255
11256 2010-05-19 Andreas Schwab <schwab@redhat.com>
11257
11258 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11259 symbol reference.
11260
11261 2010-05-21 Andreas Schwab <schwab@redhat.com>
11262
11263 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11264 and internal_recvmmsg.
11265 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11266 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11267 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11268 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11269
11270 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11271 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11272 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11273
11274 2010-05-20 Andreas Schwab <schwab@redhat.com>
11275
11276 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11277
11278 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11279
11280 POWER7 optimizations.
11281 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11282 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11283
11284 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11285
11286 * version.h: Update for 2.13 development version.
11287
11288 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11289
11290 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11291 exceptions. Return 0.
11292
11293 2010-05-07 Roland McGrath <roland@redhat.com>
11294
11295 * elf/ldconfig.c (main): Add a const.
11296
11297 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11298
11299 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11300 (args_options): Add no-idn option.
11301 (ahosts_keys_int): Add idn_flags to ai_flags.
11302 (parse_option): Handle 'i' option to clear idn_flags.
11303
11304 * malloc/malloc.c (_int_free): Possible race in the most recently
11305 added check. Only act on the data if no current modification
11306 happened.
11307
11308 See ChangeLog.17 for earlier changes.
This page took 0.522998 seconds and 6 git commands to generate.