1 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3 * Makeconfig (localtime): Remove variable.
4 (inst_localtime-file): Likewise.
6 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
8 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
20 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
27 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32 comparisons to determine direction to adjust input.
33 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
39 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46 * math/libm-test.inc (nexttoward_test): Add more tests.
48 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
51 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52 in version GLIBC_2.1, not GLIBC_2.0.
53 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
56 2012-04-30 Joseph Myers <joseph@codesourcery.com>
59 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
62 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63 * math/libm-test.inc (acos_test): Add more tests.
64 (asin_test): Likewise.
65 * sysdeps/i386/fpu/libm-test-ulps: Update.
66 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
71 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73 * math/libm-test.inc (acos_test_tonearest): New function.
74 (acos_test_towardzero): Likewise.
75 (acos_test_downward): Likewise.
76 (acos_test_upward): Likewise.
77 (asin_test_tonearest): Likewise.
78 (asin_test_towardzero): Likewise.
79 (asin_test_downward): Likewise.
80 (asin_test_upward): Likewise.
81 (main): Call the new functions.
82 * sysdeps/i386/fpu/libm-test-ulps: Update.
83 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
87 * math/e_exp10.c: Include <float.h>.
88 (__ieee754_exp10): Handle underflow here rather than multiplying
89 large negative argument by M_LN10.
90 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
92 * math/e_exp10l.c: Include <float.h>.
93 (__ieee754_exp10l): Handle underflow here rather than multiplying
94 large negative argument by M_LN10l.
95 * math/libm-test.inc (exp10_test): Add another test. Do not allow
96 spurious overflow exception on underflow.
98 2012-04-29 Marek Polacek <polacek@redhat.com>
100 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
101 (__fortify_function): New macro.
102 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
103 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
104 __extern_always_inline.
105 * libio/bits/stdio2.h: Likewise.
106 * libio/bits/stdio.h: Likewise.
107 * string/string.h: Likewise.
108 * string/bits/string3.h: Likewise.
109 * include/stdio.h: Likewise.
110 * stdlib/bits/stdlib.h: Likewise.
111 * stdlib/stdlib.h: Likewise.
112 * rt/bits/mqueue2.h: Likewise.
113 * rt/mqueue.h: Likewise.
114 * posix/bits/unistd.h: Likewise.
115 * posix/unistd.h: Likewise.
116 * io/bits/poll2.h: Likewise.
117 * io/bits/fcntl2.h: Likewise.
118 * io/fcntl.h: Likewise.
119 * io/sys/poll.h: Likewise.
120 * misc/bits/syslog.h: Likewise.
121 * misc/bits/syslog-ldbl.h: Likewise.
122 * misc/sys/syslog.h: Likewise.
123 * socket/bits/socket2.h: Likewise.
124 * socket/sys/socket.h: Likewise.
125 * debug/tst-chk1.c: Likewise.
126 * wcsmbs/bits/wchar2.h: Likewise.
127 * wcsmbs/bits/wchar-ldbl.h: Likewise.
128 * wcsmbs/wchar.h: Likewise.
130 2012-04-29 Andreas Jaeger <aj@suse.de>
132 * Makerules (tests): Remove enable-check-abi protection.
133 (check-abi-warn): Remove.
134 (check-abi-%): Remove check-abi-warn usage.
136 * configure.in: Remove check-abi configure option.
137 * configure: Regenerated.
138 * config.make.in (enable-check-abi): Remove.
140 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
143 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
144 double functions to double *_finite functions.
147 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
148 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
150 * stdio-common/Makefile (tests): Add tst-sprintf3.
151 * stdio-common/tst-sprintf3.c: New file.
153 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
154 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
156 2012-04-28 Joseph Myers <joseph@codesourcery.com>
158 * conform/conformtest.pl: Remove duplicate typed-constant
161 2012-04-28 David S. Miller <davem@davemloft.net>
163 * Makerules (%.abilist): Add vpath on sysdep_dirs.
164 (check-abi-%): Remove AWK script prerequisite and explicit
166 (check-abi): Rewrite to just diff the symlist with the abilist.
167 (config-tls, config-abi-config): Delete, no longer used.
168 (update-abi-%): Remove AWK script and explicit abilist directory.
169 (update-abi): Rewrite to simply compare and conditionally copy the
170 symlist and the sysdep abilist file. Remove update-abi-config
172 * abilist/ld.abilist: Remove.
173 * abilist/libBrokenLocale.abilist: Remove.
174 * abilist/libanl.abilist: Remove.
175 * abilist/libcrypt.abilist: Remove.
176 * abilist/libdl.abilist: Remove.
177 * abilist/librt.abilist: Remove.
178 * abilist/libthread_db.abilist: Remove.
179 * abilist/libutil.abilist: Remove.
180 * scripts/extract-abilist.awk: Remove.
181 * scripts/merge-abilist.awk: Remove.
182 * sysdeps/generic/libcidn.abilist: New file.
183 * sysdeps/generic/libnss_compat.abilist: New file.
184 * sysdeps/generic/libnss_db.abilist: New file.
185 * sysdeps/generic/libnss_dns.abilist: New file.
186 * sysdeps/generic/libnss_files.abilist: New file.
187 * sysdeps/generic/libnss_hesiod.abilist: New file.
188 * sysdeps/generic/libnss_nis.abilist: New file.
189 * sysdeps/generic/libnss_nisplus.abilist: New file.
190 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
191 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
192 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
194 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
195 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
196 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
197 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
198 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
199 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
200 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
201 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
202 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
204 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
205 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
206 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
207 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
209 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
210 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
211 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
212 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
213 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
214 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
216 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
217 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
218 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
220 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
221 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
223 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
225 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
227 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
229 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
231 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
274 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
276 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
298 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
299 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
301 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
323 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
324 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
325 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
327 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
328 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
329 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
330 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
331 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
332 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
333 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
334 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
335 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
336 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
338 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
340 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
362 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
373 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
388 2012-04-28 Joseph Myers <joseph@codesourcery.com>
390 * conform/conformtest.pl: Fix typo in handling typed-constant from
393 2012-04-27 Joseph Myers <joseph@codesourcery.com>
395 * README: Cut down references to pre-2.6 Linux kernels and
396 Linuxthreads. Update lists of configurations in libc and ports
397 and sort alphabetically. Say "or newer" with Linux kernel version
400 * config.h.in [IS_IN_build]: Allow compiling without optimization.
402 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
405 * math/libm-test.inc (logb_test_downward): New test to expose
406 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
409 2012-04-27 Joseph Myers <joseph@codesourcery.com>
412 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
414 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
415 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
417 2012-04-26 Joseph Myers <joseph@codesourcery.com>
419 * sysdeps/unix/i386/brk.S: Remove file.
420 * sysdeps/unix/i386/dl-brk.S: Likewise.
421 * sysdeps/unix/i386/pipe.S: Likewise.
422 * sysdeps/unix/i386/sigreturn.S: Likewise.
423 * sysdeps/unix/i386/syscall.S: Likewise.
424 * sysdeps/unix/i386/vfork.S: Likewise.
425 * sysdeps/unix/i386/wait.S: Likewise.
427 * sysdeps/unix/common/tcsendbrk.c: Move to ...
428 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
430 * configure.in (arm*-none*): Do not allow without
431 --enable-hacker-mode.
432 (netbsd*): Remove case setting base_os.
434 (freebsd*): Likewise.
449 (solaris[2-9]*): Likewise.
451 * configure: Regenerated.
453 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
456 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
457 overflow or cancellation in calculating denominator.
458 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
459 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
460 down expression to avoid unexpected rounding in newer GCCs.
461 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
463 2012-04-26 David S. Miller <davem@davemloft.net>
465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
466 long-double compat symbols.
467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
481 2012-04-25 David S. Miller <davem@davemloft.net>
483 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
484 HWCAP_* values only after the memory barriers have been defined.
485 (atomic_full_barrier): Define.
486 (atomic_read_barrier): Define.
487 (atomic_write_barrier): Define.
489 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
491 * shlib-versions: Add libgcc_s version information.
492 * sysdeps/generic/libgcc_s.h: Remove.
493 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
495 * sysdeps/gnu/unwind-resume.c: Likewise.
496 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
498 2012-04-25 David S. Miller <davem@davemloft.net>
500 * sysdeps/unix/sparc/brk.S: Delete.
501 * sysdeps/unix/sparc/dl-brk.S: Delete.
502 * sysdeps/unix/sparc/pipe.S: Delete.
503 * sysdeps/unix/sparc/sysdep.S: Delete.
504 * sysdeps/unix/sparc/sysdep.h: Delete.
505 * sysdeps/unix/sparc/vfork.S: Delete.
506 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
507 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
508 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
509 ret_ERRVAL, r0, r1, MOVE): Define.
510 (JUMPTARGET): Remove.
511 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
512 sysdeps/unix/sparc/sysdep.h
513 (ENTRY, END): Remove.
514 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
516 2012-04-25 Joseph Myers <joseph@codesourcery.com>
518 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
519 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
522 * timezone/README: Update upstream location and email address for
524 * timezone/zdump.c: Update from tzcode 2012b.
525 * timezone/zic.c: Likewise.
527 * configure.in (libc_cv_as_needed): Remove test.
528 * configure: Regenerated.
529 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
530 conditional definition.
531 [$(have-as-needed) != yes] (no-as-needed): Likewise.
532 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
533 * config.make.in (have-as-needed): Remove variable.
535 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
536 Paul Pluzhnikov <ppluzhnikov@google.com>
538 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
541 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
543 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
544 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
545 * sysdeps/sh/strlen.S: Likewise.
547 2012-04-24 Joseph Myers <joseph@codesourcery.com>
549 * sysdeps/unix/fork.S: Remove file.
550 * sysdeps/unix/i386/fork.S: Likewise.
551 * sysdeps/unix/sparc/fork.S: Likewise.
553 * sysdeps/unix/system.c: Remove file.
554 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
556 * sysdeps/unix/getegid.S: Remove file.
557 * sysdeps/unix/geteuid.S: Likewise.
559 2012-04-24 Roland McGrath <roland@hack.frob.com>
561 * scripts/check-localplt.awk: New file.
562 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
564 * scripts/data/localplt-generic.data: Add a comment.
566 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
567 NODE when __dir_mkfile failed.
568 * sysdeps/mach/hurd/symlinkat.c: Likewise.
569 Reported by Ludovic Courtès <ludo@gnu.org>.
571 2012-04-24 Andreas Jaeger <aj@suse.de>
573 * Makerules (common-clean): Also remove gen-as-const-headers
576 2012-04-24 Joseph Myers <joseph@codesourcery.com>
578 * Makerules (native-compile): Do not change working directory for
579 build. Use $(OUTPUT_OPTION) in command.
580 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
582 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
585 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
586 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
587 * math/libm-test.inc (floor_test): Add more tests.
588 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
590 2012-04-24 Joseph Myers <joseph@codesourcery.com>
592 * sysdeps/unix/getdents.c: Remove file.
593 * sysdeps/unix/sysv/getdents.c: Likewise.
594 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
596 * sysdeps/unix/syscalls.list (madvise): Add syscall from
597 sysdeps/unix/mman/syscalls.list.
599 (mprotect): Likewise.
602 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
603 * sysdeps/unix/mman/syscalls.list: Remove.
604 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
606 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
607 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
608 * configure: Regenerated.
609 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
611 * config.make.in (libgcc_s_suffix): Remove variable.
613 2012-04-23 Joseph Myers <joseph@codesourcery.com>
615 * sysdeps/unix/sysv/gethostname.c: Move to ...
616 * sysdeps/posix/gethostname.c: ... here.
618 * sysdeps/unix/execve.S: Remove file.
620 * sysdeps/unix/_exit.S: Remove file.
622 2012-04-23 Andreas Jaeger <aj@suse.de>
625 * manual/Makefile: Remove make dist support, there's no
626 need for a stand-alone documentation tar ball.
627 (TEXI2DVI): Define always, it's not in Makeconfig.
631 (glibc-doc-$(edition).tar): Removed
635 (ETAGS): Remove, it's in Makeconfig.
636 (move-if-change): Remove, it's in Makeconfig.
638 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
641 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
642 (strtod, strtof, strtold, strtol, strtoul, strtoq)
643 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
644 (strtod_l, strtof_l, strtold_l): Remove __wur.
645 It is not necessarily an error to ignore strtol's return value.
646 One can reliably look at the stored endptr to decide whether
647 the number had valid syntax.
649 2012-04-21 Andreas Jaeger <aj@suse.de>
652 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
654 2012-04-21 Joseph Myers <joseph@codesourcery.com>
656 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
657 * sysdeps/unix/sysv/Versions: Remove file.
659 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
664 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
667 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
670 2012-04-20 Joseph Myers <joseph@codesourcery.com>
672 * sysdeps/unix/common/lxstat.c: Remove file.
673 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
675 * sysdeps/unix/sysv/Makefile: Remove file.
677 * sysdeps/unix/sysv/direct.h: Remove file.
679 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
680 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
681 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
682 * sysdeps/unix/sysv/bits/signum.h: Likewise.
683 * sysdeps/unix/sysv/bits/stat.h: Likewise.
684 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
685 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
687 * sysdeps/unix/sysv/setrlimit.c: Remove file.
689 * sysdeps/unix/xmknod.c: Remove file.
690 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
692 * sysdeps/unix/sysv/settimeofday.c: Remove file.
694 * sysdeps/unix/sysv/i386/time.S: Remove file.
696 * sysdeps/unix/fxstat.c: Remove file.
697 * sysdeps/unix/xstat.c: Likewise.
698 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
700 * sysdeps/unix/sysv/sigaction.c: Remove file.
702 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
703 (sysdep_headers): Remove variable.
704 [termio.h not in sysdep_headers] (generated): Likewise.
705 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
706 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
707 * sysdeps/unix/sysv/tcdrain.c: Likewise.
708 * sysdeps/unix/sysv/tcflow.c: Likewise.
709 * sysdeps/unix/sysv/tcflush.c: Likewise.
710 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
711 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
712 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
713 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
714 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
716 * sysdeps/unix/siglist.c: Remove file.
718 * sysdeps/unix/getppid.S: Remove file.
720 * sysdeps/unix/mkdir.c: Remove file.
721 * sysdeps/unix/rmdir.c: Likewise.
723 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
725 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
727 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
728 errlist-compat value.
730 2012-04-18 David S. Miller <davem@davemloft.net>
732 * sysdeps/generic/memcopy.h (reg_char): Delete.
733 * debug/strcat_chk.c: Use char, not reg_char.
734 * debug/strcpy_chk.c: Likewise.
735 * debug/strncat_chk.c: Likewise.
736 * debug/strncpy_chk.c: Likewise.
737 * string/memchr.c: Likewise.
738 * string/memrchr.c: Likewise.
739 * string/rawmemchr.c: Likewise.
740 * string/strcat.c: Likewise.
741 * string/strchr.c: Likewise.
742 * string/strchrnul.c: Likewise.
743 * string/strcmp.c: Likewise.
744 * string/strcpy.c: Likewise.
745 * string/strncat.c: Likewise.
746 * string/strncmp.c: Likewise.
747 * string/strncpy.c: Likewise.
749 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
751 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
752 __builtin_memcopy is called when src and dest ranges are known to not
755 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
757 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
758 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
759 fwd_align_merge macro call.
760 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
761 bwd_align_merge macro call.
762 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
764 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
766 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
767 bwd_align_merge macros.
768 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
769 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
770 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
772 2012-04-18 David S. Miller <davem@davemloft.net>
774 * sysdeps/sparc/sparc64/memcopy.h: Delete.
776 2012-04-18 Andreas Jaeger <aj@suse.de>
779 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
780 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
781 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
783 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
784 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
785 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
787 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
788 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
789 Adjust for changed ldbl-128 files.
791 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
792 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
793 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
795 2012-04-17 David S. Miller <davem@davemloft.net>
797 * sysdeps/sparc/sparc32/memcopy.h: Delete.
799 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
801 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
802 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
803 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
804 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
805 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
806 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
808 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
811 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
812 * math/libm-test.inc: Add ilogb errno and exception tests.
813 * math/w_ilogb.c: New file: ilogb wrapper.
814 * math/w_ilogbf.c: New file: ilogbf wrapper.
815 * math/w_ilogbl.c: New file: ilogbl wrapper.
816 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
817 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
818 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
819 exception being thrown with 0.0 as argument.
820 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
821 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
822 exception being thrown with 0.0 as argument.
823 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
824 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
825 exception being thrown with 0.0 as argument.
826 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
827 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
828 exception being thrown with 0.0 as argument.
829 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
830 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
831 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
832 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
833 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
834 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
835 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
836 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
837 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
839 2012-04-17 Petr Baudis <pasky@ucw.cz>
841 * include/sys/uio.h: Change __vector to __iovec to avoid clash
844 2012-04-16 Marek Polacek <polacek@redhat.com>
846 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
848 2012-04-16 Marek Polacek <polacek@redhat.com>
850 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
851 operands of fdivp instruction.
853 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
855 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
856 * elf/tst-auditmod3b.c: Likewise.
857 * elf/tst-auditmod4b.c: Likewise.
858 * elf/tst-auditmod5b.c: Likewise.
859 * elf/tst-auditmod6b.c: Likewise.
860 * elf/tst-auditmod6c.c: Likewise.
861 * elf/tst-auditmod7b.c: Likewise.
862 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
863 * sysdeps/x86_64/preconfigure.in: Likewise.
864 * sysdeps/x86_64/preconfigure: Regenerated.
866 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
868 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
871 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
874 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
876 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
879 * locale/iso-639.def: Fix gl language name. Spotted by
882 2012-04-12 Roland McGrath <roland@hack.frob.com>
885 * libio/libio.h (__io_write_fn): Update comment.
887 2012-04-12 Petr Baudis <pasky@ucw.cz>
890 * stdio.texi (Hook Functions): The user provided writer function
891 is not allowed to return -1.
893 2012-04-11 David S. Miller <davem@davemloft.net>
895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
897 2012-04-11 Mike Frysinger <vapier@gentoo.org>
899 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
900 Add a leading slash to rtkaio.
902 2012-04-11 Jim Meyering <meyering@redhat.com>
905 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
906 It is not necessarily an error to ignore fwrite's return
907 value. One can reliably use ferror to test for errors after
910 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
912 * bits/types.h (__snseconds_t): New type.
913 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
915 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
916 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
917 (__SNSECONDS_T_TYPE): Likewise.
918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
919 (__SNSECONDS_T_TYPE): Likewise.
920 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
921 (__SNSECONDS_T_TYPE): Likewise.
923 2012-04-10 Andreas Jaeger <aj@suse.de>
926 * manual/time.texi (Processor Time): Return type of times is
927 elapsed real time since an arbitrary point in the past.
928 (CPU Time): Move CLK_TCK from here...
929 (Processor Time): ...to here. Correct description.
930 * manual/conf.texi (Constants for Sysconf): Correct description of
933 2012-04-10 David S. Miller <davem@davemloft.net>
936 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
937 where the is a gap between DT_REL(A) and DT_JMPREL.
939 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
941 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
942 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
943 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
945 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
947 * elf/dl-support.c (_dl_inhibit_cache): New variable.
948 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
949 (dl_main): Handle --inhibit-cache.
950 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
952 * elf/dl-load.c (_dl_map_object): Use it.
953 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
955 2012-04-09 Joseph Myers <joseph@codesourcery.com>
958 * sysdeps/i386/fpu/e_powl.S (p78): New object.
959 (__ieee754_powl): Saturate large exponents rather than testing for
960 overflow of y*log2(x).
961 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
962 * math/libm-test.inc (pow_test): Do not permit spurious overflow
966 * math/s_ctan.c: Include <float.h>.
967 (__ctan): Avoid internal overflow or cancellation in calculating
969 * math/s_ctanf.c: Likewise.
970 * math/s_ctanl.c: Likewise.
971 * math/s_ctanh.c: Likewise.
972 * math/s_ctanhf.c: Likewise.
973 * math/s_ctanhl.c: Likewise.
974 * math/libm-test.inc (ctan_test): Add more tests.
975 (ctanh_test): Likewise.
976 * sysdeps/i386/fpu/libm-test-ulps: Update.
977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
979 2012-04-09 Andreas Jaeger <aj@suse.de>
982 * manual/filesys.texi (Directory Entries): Mention that d_namlen
983 is an optional BSD extension.
986 * manual/stdio.texi (Opening Streams): Document additional fopen
989 2012-04-09 Roland McGrath <roland@hack.frob.com>
991 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
992 %eax without telling the compiler.
994 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
997 * manual/install.texi: Use sourceware.org.
999 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1002 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1003 (__ieee754_pow): Generate overflow and underflow using huge*huge
1004 and tiny*tiny rather than just returning constant infinity or zero
1005 for large exponents.
1006 * math/libm-test.inc (pow_test): Require overflow exceptions for
1007 applicable cases of large exponents.
1010 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1011 (__ieee754_pow): Use iterative multiplication algorithm only for
1012 integer exponents with absolute value below 1024. Check for odd
1013 integer exponents when using algorithm for real exponents.
1014 * math/libm-test.inc (pow_test): Add more tests.
1015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1017 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1020 * math/libm-test.inc (exp_test): Do not allow overflow exception
1023 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1026 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1027 instead of __kernel_standard_f.
1029 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1031 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1032 * sysdeps/x86_64/memset_chk.S: Likewise.
1034 2012-04-08 Andreas Jaeger <aj@suse.de>
1037 * manual/startup.texi (Environment Access): Describe return value
1038 for putenv and setenv.
1041 * manual/filesys.texi (Directory Entries): Add description for
1045 * manual/filesys.texi (Directory Entries): Clarify that it's file
1046 system not operating system in the description of DT_UNKNOWN.
1049 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1051 2012-04-08 Stephen Compall <s11@member.fsf.org>
1054 * manual/llio.texi (Opening and Closing Files): Add cross
1055 reference to explain mode argument.
1057 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1059 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1060 * sysdeps/x86_64/memset_chk.S: Likewise.
1062 2012-04-07 David S. Miller <davem@davemloft.net>
1064 * elf/elf.h (R_SPARC_WDISP10): Define.
1065 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1067 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1068 R_SPARC_SIZE64 and R_SPARC_H34.
1070 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1072 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1073 conditions and remove no longer applicable assertion.
1075 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1077 * bits/byteswap.h: Include <features.h>.
1078 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1079 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1081 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1083 * bits/byteswap.h (__bswap_16): Removed.
1084 Include <bits/byteswap-16.h> to get __bswap_16.
1085 * sysdeps/i386/bits/byteswap.h: Likewise.
1086 * sysdeps/s390/bits/byteswap.h: Likewise.
1087 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1088 * bits/byteswap-16.h: New file.
1089 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1090 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1091 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1092 * string/Makefile (headers): Add bits/byteswap-16.h.
1094 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1097 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1099 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1100 * nss/tst-nss-static.c: New.
1102 2012-04-06 Robert Millan <rmh@gnu.org>
1105 * manual/llio.texi (File Position Primitive): lseek
1106 refers to WHENCE when it really means OFFSET.
1108 2012-04-06 Andreas Jaeger <aj@suse.de>
1110 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1111 strncmp declarations.
1113 * abilist/libc.abilist: Add __poll and __ppoll.
1115 2012-04-05 David S. Miller <davem@davemloft.net>
1117 * scripts/check-local-headers.sh: Accept a host triplet in the
1118 path matched by the exclude regexp.
1120 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1122 * sysdeps/powerpc/powerpc32/dl-machine.h
1123 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1124 * sysdeps/s390/s390-32/dl-machine.h
1125 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1126 * sysdeps/sparc/sparc32/dl-machine.h
1127 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1128 * sysdeps/sparc/sparc64/dl-machine.h
1129 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1131 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1133 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1134 undefined symbol errors.
1136 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1139 2012-04-05 Michael Matz <matz@suse.de>
1142 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1144 2012-04-05 Andreas Jaeger <aj@suse.de>
1147 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1150 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1152 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1153 which ROUND is no valid rounding mode.
1155 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1157 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1159 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1161 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1163 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1164 an exception using FPU order intentionally.
1166 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1168 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1169 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1170 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1171 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1173 2012-04-05 Simon Josefsson <simon@josefsson.org>
1176 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1177 EINVAL when BUFLEN is too smal.
1179 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1182 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1183 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1185 2012-04-03 Andreas Jaeger <aj@suse.de>
1188 * manual/setjmp.texi (System V contexts): Fix sentence.
1191 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1192 New macro for this case.
1193 [!__GNUC__] (__bswap_64): New inline function for this case.
1194 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1195 * bits/byteswap.h: Likewise.
1196 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1197 ull, guard with __GLIBC_HAVE_LONG_LONG.
1199 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1200 __GLIBC_HAVE_LONG_LONG.
1202 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1203 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1205 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1208 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1209 inptr and inend, rather than using last_ch.
1211 2012-04-02 David S. Miller <davem@davemloft.net>
1213 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1214 * stdio-common/printf-parse.h (read_int): Change return type to
1215 'int', return -1 on INT_MAX overflow.
1216 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1217 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1218 overflows INT_MAX. Check for overflow of in-format-string precision
1219 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1220 SIZE_MAX not INT_MAX for integer overflow test.
1221 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1222 skip the construct in the format string but do not record anything.
1223 * stdio-common/bug22.c: Adjust to test both width/prevision
1224 INT_MAX overflow as well as total length INT_MAX overflow. Check
1225 explicitly for proper errno values.
1227 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1229 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1231 * string/test-strcmp.c [! WIDE]: Likewise.
1232 * time/tst-mktime2.c: Likewise for INT_MAX.
1233 * string/test-string.h: #include <sys/param.h> for MIN.
1235 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1236 * sysdeps/i386/init-first.c (init): Likewise.
1237 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1238 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1239 * sysdeps/sh/init-first.c (init): Likewise.
1241 2012-04-01 Ulrich Drepper <drepper@gmail.com>
1243 * po/ru.po: Update from translation team.
1244 * po/vi.po: Likewise.
1246 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1248 * resolv/nss_dns/dns-host.c: Merge copyright years.
1250 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1252 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1253 Optimize memcpy with prefetch if
1254 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1255 src, dst pointers have unequal 16 byte alignments.
1257 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1260 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1261 from a CNAME entry and return the minimum ttl for the query.
1262 (gaih_getanswer_slice): Likewise.
1264 2012-03-30 Jeff Law <law@redhat.com>
1266 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1268 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1269 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1271 * resolv/nss_dns/dns-host.c: Update copyright year.
1273 2012-03-30 Ulrich Drepper <drepper@gmail.com>
1275 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1276 requests to save a system call. Fix check that all bytes are sent.
1278 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1279 comments for sendmmsg.
1281 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1284 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1285 with only 1 character between 0x0041 and 0x01b0.
1286 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1287 * wcsmbs/tst-mbsnrtowcs.c: New file.
1289 2012-03-29 David S. Miller <davem@davemloft.net>
1291 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1292 small copies by hand.
1294 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1297 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1298 _nss_compat_initgroups_dyn): Fall back to malloc/free
1299 for large group memberships.
1301 2012-03-28 David S. Miller <davem@davemloft.net>
1303 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1304 that branches into memcpy.
1305 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1306 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1307 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1308 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1309 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1311 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1313 * sysdeps/sparc/mempcpy.S: New file.
1315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1316 the IFUNC routine in the libc case.
1317 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1319 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1320 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1321 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1322 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1323 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1324 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1325 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1326 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1328 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1329 loop to 256 bytes instead of 64 bytes and fix test signedness.
1331 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1332 * sysdeps/sparc/sparc32/Makefile: rather than here...
1333 * sysdeps/sparc/sparc64/Makefile: and here.
1335 2012-03-28 Ulrich Drepper <drepper@gmail.com>
1337 * malloc/mallocbug.c: Avoid warnings about unused variables.
1339 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1342 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1343 in the right place. Discard and retry query if response is
1344 larger than input buffer size.
1346 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1351 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1352 x for large integer exponent.
1353 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1354 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1355 sign of result as needed afterwards.
1356 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1357 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1358 result for underflowing pow the same as for overflow.
1359 (__kernel_standard_l): Handle powl overflow and underflow here
1360 rather than calling __kernel_standard.
1361 * math/libm-test.inc (pow_test): Add more tests.
1376 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1377 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1378 (__kernel_standard_l): New function.
1379 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1381 * math/w_acosl.c (__acosl): Likewise.
1382 * math/w_asinl.c (__asinl): Likewise.
1383 * math/w_atan2l.c (__atan2l): Likewise.
1384 * math/w_atanhl.c (__atanhl): Likewise.
1385 * math/w_coshl.c (__coshl): Likewise.
1386 * math/w_exp10l.c (__exp10l): Likewise.
1387 * math/w_exp2l.c (__exp2l): Likewise.
1388 * math/w_fmodl.c (__fmodl): Likewise.
1389 * math/w_hypotl.c (__hypotl): Likewise.
1390 * math/w_j0l.c (__j0l, __y0l): Likewise.
1391 * math/w_j1l.c (__j1l, __y1l): Likewise.
1392 * math/w_jnl.c (__jnl, __ynl): Likewise.
1393 * math/w_lgammal.c (__lgammal): Likewise.
1394 * math/w_log10l.c (__log10l): Likewise.
1395 * math/w_log2l.c (__log2l): Likewise.
1396 * math/w_logl.c (__logl): Likewise.
1397 * math/w_powl.c (__powl): Likewise.
1398 * math/w_remainderl.c (__remainderl): Likewise.
1399 * math/w_scalbl.c (sysv_scalbl): Likewise.
1400 * math/w_sinhl.c (__sinhl): Likewise.
1401 * math/w_sqrtl.c (__sqrtl): Likewise.
1402 * math/w_tgammal.c (__tgammal): Likewise.
1403 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1404 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1405 * math/libm-test.inc (acos_test): Add more tests.
1406 (acosh_test): Likewise.
1407 (asin_test): Likewise.
1408 (atanh_test): Likewise.
1409 (exp_test): Likewise.
1410 (exp10_test): Likewise.
1411 (exp2_test): Likewise.
1412 (expm1_test): Likewise.
1413 (lgamma_test): Likewise.
1414 (log_test): Likewise.
1415 (log10_test): Likewise.
1416 (log1p_test): Likewise.
1417 (log2_test): Likewise.
1418 (pow_test): Do not allow some spurious overflow exceptions.
1419 (sqrt_test): Add more tests.
1420 (tgamma_test): Likewise.
1421 (y0_test): Likewise.
1422 (y1_test): Likewise.
1423 (yn_test): Likewise.
1425 2012-03-27 Anton Blanchard <anton@samba.org>
1427 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1429 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1430 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1431 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1433 2012-03-27 David S. Miller <davem@davemloft.net>
1435 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1437 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1440 2012-03-27 Andreas Jaeger <aj@suse.de>
1442 * sysdeps/x86_64/elf/configure.in: Moved to ...
1443 * sysdeps/x86_64/configure.in: ... here.
1444 * sysdeps/x86_64/elf/start.S: Moved to ...
1445 * sysdeps/x86_64/start.S: ... here.
1446 * sysdeps/x86_64/elf/configure: Delete.
1448 * sysdeps/x86_64/configure.in: Merge contents from
1449 sysdeps/i386/configure.in (without i686 check).
1451 * sysdeps/i386/elf/Versions: Merge into ...
1452 * sysdeps/i386/Versions: ... this.
1453 * sysdeps/i386/elf/Versions: Delete file.
1454 * sysdeps/i386/elf/start.S: Moved to ...
1455 * sysdeps/i386/start.S: ...here.
1456 * sysdeps/i386/elf/configure.in: Merge into...
1457 * sysdeps/i386/configure.in: ...here.
1458 * sysdeps/i386/elf/configure.in: Delete file.
1459 * sysdeps/i386/elf/configure: Delete file.
1461 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1462 * debug/backtracesyms.c: ... here.
1463 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1464 * debug/backtracesymsfd.c: ... here.
1465 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1466 * sysdeps/generic/ifunc-sel.h: ... here.
1468 * sysdeps/unix/i386/start.c: Delete file.
1469 * sysdeps/unix/sparc/start.c: Delete file.
1470 * sysdeps/unix/start.c: Delete file.
1472 * sysdeps/sh/elf/configure.in: Moved to ...
1473 * sysdeps/sh/configure.in: ... here.
1474 * sysdeps/sh/elf/start.S: Moved to ...
1475 * sysdeps/sh/start.S: ... here.
1476 * sysdeps/sh/elf/configure: Delete file.
1478 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1479 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1480 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1481 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1482 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1483 * sysdeps/powerpc/powerpc64/start.S: here.
1484 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1485 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1486 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1487 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1488 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1490 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1491 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1492 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1493 * sysdeps/powerpc/powerpc32/start.S: ... here.
1494 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1495 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1496 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1498 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1499 * sysdeps/powerpc/ifunc-sel.h: ... here.
1500 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1501 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1503 * sysdeps/sparc/elf/configure.in: Moved to ...
1504 * sysdeps/sparc/configure.in: ... here.
1505 * sysdeps/sparc/elf/configure: Delete file.
1506 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1507 * sysdeps/sparc/sparc32/start.S: ... here.
1508 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1509 * sysdeps/sparc/sparc64/start.S: ... here.
1510 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1511 * sysdeps/sparc/sparc32/Makefile: ... this.
1512 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1513 * sysdeps/sparc/sparc64/Makefile: ... this.
1515 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1516 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1517 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1518 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1519 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1520 * sysdeps/s390/s390-32/setjmp.S: ... here.
1521 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1522 * sysdeps/s390/s390-32/configure.in: ... here.
1523 * sysdeps/s390/s390-32/elf/configure: Delete file.
1524 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1525 * sysdeps/s390/s390-32/start.S: ... here.
1527 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1528 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1529 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1530 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1531 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1532 * sysdeps/s390/s390-64/setjmp.S: ... here.
1533 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1534 * sysdeps/s390/s390-64/configure.in: ... here
1535 * sysdeps/s390/s390-64/elf/configure: Delete file.
1536 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1537 * sysdeps/s390/s390-64/start.S: ... here.
1538 * sysdeps/s390/s390-64/elf/configure: Delete.
1540 * configure.in: Remove support for elf directories in sysdeps.
1542 * configure: Regenerated.
1543 * sysdeps/i386/configure: Regenerated.
1544 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1545 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1546 * sysdeps/s390/s390-32/configure: Regenerated.
1547 * sysdeps/s390/s390-64/configure: Regenerated.
1548 * sysdeps/sh/configure: Regenerated.
1549 * sysdeps/sparc/configure: Regenerated.
1550 * sysdeps/x86_64/configure: Regenerated.
1552 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1556 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1557 denormal result into account.
1559 2012-03-25 Roland McGrath <roland@hack.frob.com>
1561 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1562 Reported by Allan McRae <allan@archlinux.org>.
1564 2012-03-23 Jeff Law <law@redhat.com>
1566 * nss/getnssent.c (__nss_getent): Fix typo.
1568 2012-03-23 David S. Miller <davem@davemloft.net>
1570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1572 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1574 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1575 to pad to uint64_t for each field.
1576 (dl_tls_index): Replace unsigned long with uint64_t.
1578 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1579 Paul Pluzhnikov <ppluzhnikov@google.com>
1582 * grp/Makefile (otherlibs): Don't set it.
1583 * inet/Makefile (otherlibs): Likewise.
1584 * login/Makefile (otherlibs): Likewise.
1585 * nscd/Makefile (otherlibs): Likewise.
1586 * posix/Makefile (otherlibs): Likewise.
1587 * pwd/Makefile (otherlibs): Likewise.
1588 * rt/Makefile (otherlibs): Likewise.
1589 * sunrpc/Makefile (otherlibs): Likewise.
1590 * nss/Makefile (otherlibs): Likewise.
1591 Add libnss_files to routines and static-only-routines.
1592 ($(objpfx)getent): Remove rule.
1593 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1594 static-only-routines.
1596 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1599 * math/s_cexp.c: Include <float.h>.
1600 (__cexp): Handle exp result overflowing not necessarily
1601 overflowing both real and imaginary parts of result.
1602 * math/s_cexpf.c: Likewise.
1603 * math/s_cexpl.c: Likewise.
1604 * math/libm-test.inc (cexp_test): Add more tests.
1605 * sysdeps/i386/fpu/libm-test-ulps: Update.
1606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1608 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1610 * include/link.h (ELFW): New macro.
1611 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1612 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1614 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1616 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1619 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1621 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1623 (struct La_x32_retval): Likewise.
1625 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1627 * sysdeps/x86_64/preconfigure.in: New file.
1628 * sysdeps/x86_64/preconfigure: New generated file.
1630 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1633 * math/e_exp2l.c: Include <float.h>.
1634 (__ieee754_exp2l): Handle overflow and underflow cases
1635 separately. Only pass fractional part of argument to
1637 * math/libm-test.inc (exp2_test): Add more tests.
1639 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1640 negating x to take absolute value.
1641 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1643 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1644 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1646 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1647 computing low part if x was negated.
1648 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1650 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1652 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1654 (pltexit): Cast int_retval to ptrdiff_t.
1655 * elf/tst-auditmod3b.c: Likewise.
1656 * elf/tst-auditmod4b.c: Likewise.
1657 * elf/tst-auditmod5b.c: Likewise.
1658 * elf/tst-auditmod6b.c: Likewise.
1659 * elf/tst-auditmod6c.c: Likewise.
1660 * elf/tst-auditmod7b.c: Likewise.
1662 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1663 and x32_gnu_pltexit.
1665 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1667 (La_x32_regs): New macro.
1668 (La_x32_retval): Likewise.
1669 (la_x32_gnu_pltenter): New function prototype.
1670 (la_x32_gnu_pltexit): Likewise.
1672 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1674 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1679 * configure.in (libc_cv_cc_nofma): Check for option to disable
1680 generation of FMA instructions.
1681 * configure: Regenerate.
1682 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1683 * sysdeps/ieee754/dbl-64/Makefile: New file.
1684 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1685 Remove brandred-fma4.
1686 (CFLAGS-brandred-fma4.c): Remove.
1687 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1688 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1690 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1693 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1695 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1696 LLONG_MAX != LONG_MAX.
1697 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1698 (_fitoa_word): Likewise.
1699 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1700 LLONG_MAX != LONG_MAX.
1701 * stdio-common/_itowa.h: Include <_itoa.h>.
1702 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1703 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1704 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1705 only if not defined.
1706 (_ITOA_WORD_TYPE): Likewise.
1707 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1708 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1710 2012-03-21 David S. Miller <davem@davemloft.net>
1712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1714 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1716 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1717 of x86_64 when setting libc_cv_slibdir, libdir and
1719 * sysdeps/unix/sysv/linux/configure: Regenerated.
1721 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1723 * manual/lang.texi (Old Varargs): Remove section.
1724 (How Variadic): Update menu.
1725 (va_start): Do not mention varargs.h.
1727 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1728 Joseph Myers <joseph@codesourcery.com>
1730 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1732 * configure: Regenerated.
1734 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1736 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1737 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1740 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1743 * Makefile (files-for-dist): Remove NOTES.
1744 (NOTES): Remove rule.
1745 * README: Don't refer to NOTES.
1746 * manual/creature.texi: Don't include macros.texi.
1747 * manual/intro.texi (creature.texi): Remove comment referring to
1750 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1751 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1752 * configure: Regenerated.
1753 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1755 (libc_cv_as_i686): Likewise.
1756 (libc_cv_cc_avx): Likewise.
1757 (libc_cv_cc_sse2avx): Likewise.
1758 (libc_cv_cc_fma4): Likewise.
1759 (libc_cv_cc_novzeroupper): Likewise.
1760 * sysdeps/i386/configure: Regenerated.
1763 * sysdeps/i386/fpu/s_cexp.S: Remove.
1764 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1765 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1766 * math/libm-test.inc (cexp_test): Add more tests.
1767 * sysdeps/i386/fpu/libm-test-ulps: Update.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1770 2012-03-21 Allan McRae <allan@archlinux.org>
1772 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1774 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1777 * math/w_exp2.c: Do not include <float.h>.
1778 (o_threshold, u_threshold): Remove.
1779 (__exp2): Calculate result before checking finiteness and calling
1781 * math/w_exp2f.c: Likewise.
1782 * math/w_exp2l.c: Likewise.
1783 * math/libm-test.inc (exp2_test): Require overflow exception for
1787 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1788 range of signed 64-bit integers before using fistpll. Remove
1789 checks for whether integers fit in mantissa bits.
1790 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1791 the range of signed 32-bit integers before using fistpl. Remove
1792 checks for whether integers fit in mantissa bits.
1793 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1794 (__ieee754_powl): Test for y outside the range of signed 64-bit
1795 integers before using fistpll. Reduce 64-bit values to 63-bit
1797 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1798 divide-by-zero is raised for zero to large negative powers.
1799 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1800 (__ieee754_powl): Test for y outside the range of signed 64-bit
1801 integers before using fistpll. Reduce 64-bit values to 63-bit
1803 * math/libm-test.inc (pow_test): Add more tests.
1805 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1807 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1808 <stdio-common/_itoa.h>.
1809 * debug/segfault.c: Likewise.
1810 * elf/dl-cache.c: Likewise.
1811 * elf/dl-minimal.c: Likewise.
1812 * elf/dl-misc.c: Likewise.
1813 * elf/dl-sysdep.c: Likewise.
1814 * elf/dl-version.c: Likewise.
1815 * elf/rtld.c: Likewise.
1816 * hurd/hurdsock.c: Likewise.
1817 * hurd/lookup-retry.c: Likewise.
1818 * malloc/malloc.c: Likewise.
1819 * malloc/mtrace.c: Likewise.
1820 * nscd/nscd_getgr_r.c: Likewise.
1821 * nscd/nscd_getpw_r.c: Likewise.
1822 * nscd/nscd_getserv_r.c: Likewise.
1823 * posix/getopt_init.c: Likewise.
1824 * posix/wordexp.c: Likewise.
1825 * stdio-common/_itoa.c: Likewise.
1826 * stdio-common/printf_fphex.c: Likewise.
1827 * stdio-common/vfprintf.c: Likewise.
1828 * string/_strerror.c: Likewise.
1829 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1830 * sysdeps/i386/i686/hp-timing.h: Likewise.
1831 * sysdeps/mach/_strerror.c: Likewise.
1832 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1833 * sysdeps/mach/hurd/sethostid.c: Likewise.
1834 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1835 * sysdeps/mach/xpg-strerror.c: Likewise.
1836 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1837 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1838 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1839 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1840 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1841 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1842 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1843 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1844 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1845 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1846 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1847 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1848 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1849 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1850 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1851 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1852 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1853 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1854 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1855 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1856 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1858 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1860 * stdio-common/_itoa.h: Moved to ...
1861 * sysdeps/generic/_itoa.h: Here.
1863 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1865 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1866 instead of "_itoa.h" and "_itowa.h".
1867 * stdio-common/vfprintf.: Likewise.
1869 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1871 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1873 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1874 (__signbit): Likwise.
1878 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1880 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1883 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1885 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1886 OVERFLOW_EXCEPTION_OK.
1887 * math/libm-test.inc ("Philosophy"): Update comment about
1889 (OVERFLOW_EXCEPTION): Define.
1890 (OVERFLOW_EXCEPTION_OK): Likewise.
1891 (INVALID_EXCEPTION_OK): Renumber.
1892 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1893 (IGNORE_ZERO_INF_SIGN): Likewise.
1894 (test_exceptions): Handle FE_OVERFLOW.
1895 (exp10_test): Expect overflow exceptions.
1896 (exp2_test): Likewise.
1897 (expm1_test): Likewise.
1898 (nextafter_test): Likewise.
1899 (pow_test): Likewise.
1900 (scalbn_test): Likewise.
1901 (scalbln_test): Likewise.
1903 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1905 * sysdeps/x86_64/bits/atomic.h
1906 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1908 (atomic_exchange_acq): Likewise.
1909 (__arch_exchange_and_add_body): Likewise.
1910 (__arch_add_body): Likewise.
1911 (atomic_add_negative): Likewise.
1912 (atomic_add_zero): Likewise.
1914 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1916 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1917 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1919 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1921 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1922 Check __x86_64__ instead of __WORDSIZE.
1924 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1926 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1928 2012-03-19 David S. Miller <davem@davemloft.net>
1930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1932 * sysdeps/sparc/fpu/fenv_private.h: New file.
1933 * sysdeps/sparc/fpu/math_private.h: Use it.
1934 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1936 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1937 (libc_feholdexcept_setroundl): Remove.
1938 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1940 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1941 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1943 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1945 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1946 int64_t instead of long int.
1947 (INSERT_WORDS64): Likwise.
1949 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1951 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1952 _Unwind_GetCFA return to _Unwind_Ptr first.
1954 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1957 * math/s_clog.c: Include <float.h>.
1958 (__clog): Scale large or subnormal inputs.
1959 * math/s_clogf.c: Likewise.
1960 * math/s_clogl.c: Likewise.
1961 * math/s_clog10.c: Include <float.h>.
1962 (M_LOG10_2): Define.
1963 (__clog10): Scale large or subnormal inputs.
1964 * math/s_clog10f.c: Likewise.
1965 * math/s_clog10l.c: Likewise.
1966 * math/libm-test.inc (clog_test): Add more tests.
1967 (clog10_test): Likewise.
1968 * sysdeps/i386/fpu/libm-test-ulps: Update.
1969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1972 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1974 * math/libm-test.inc (atan2_test): Add another test.
1976 * Makerules (common-objdir-compile): Remove.
1977 * sysdeps/unix/Makefile (config-generated): Do not add
1978 $(unix-generated) to variable.
1979 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1980 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1982 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1984 [generic bits/local_lim.h] (before-compile): Do not append to
1986 [generic bits/local_lim.h] (common-generated): Likewise.
1987 [generic sys/param.h] (before-compile): Do not append to variable.
1988 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1989 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1990 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1991 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1993 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1994 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1995 [generic sys/param.h] ($(addprefix
1996 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1997 [generic sys/param.h] (common-generated): Do not append to
1999 [generic sys/param.h] (sysdep_headers): Likewise.
2000 [generic bits/errno.h] (before-compile): Do not append to
2002 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2004 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2005 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2006 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2007 [generic bits/errno.h] (common-generated): Do not append to
2009 [generic bits/ioctls.h] (before-compile): Do not append to
2011 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2013 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2014 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2015 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2017 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2018 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2019 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2020 [generic bits/ioctls.h] (common-generated): Do not append to
2022 [generic sys/syscall.h] (syscall.h): Remove variable.
2023 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2025 [generic sys/syscall.h] (before-compile): Do not append to
2027 [generic sys/syscall.h] (common-generated): Likewise.
2028 * sysdeps/unix/errnos-tmpl.c: Remove file.
2029 * sysdeps/unix/errnos.awk: Likewise.
2030 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2031 * sysdeps/unix/ioctls.awk: Likewise.
2032 * sysdeps/unix/mk-local_lim.c: Likewise.
2033 * sysdeps/unix/snarf-ioctls: Likewise.
2035 2012-03-19 Richard Henderson <rth@twiddle.net>
2037 * sysdeps/i386/fpu/fenv_private.h: New file.
2038 * sysdeps/i386/fpu/math_private.h: Use it.
2039 (math_opt_barrier, math_force_eval): Remove.
2040 (libc_feholdexcept_setround_53bit): Remove.
2041 (libc_feupdateenv_53bit): Remove.
2042 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2043 (math_opt_barrier, math_force_eval): Remove.
2044 (libc_feholdexcept): Remove.
2045 (libc_feholdexcept_setround): Remove.
2046 (libc_fetestexcept, libc_fesetenv): Remove.
2047 (libc_feupdateenv_test): Remove.
2048 (libc_feupdateenv, libc_feholdsetround): Remove.
2049 (libc_feresetround): Remove.
2051 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2052 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2054 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2055 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2056 (libc_feupdateenv_testl): New.
2057 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2058 (libc_feupdateenv_testf): New.
2059 (libc_feupdateenv): Use libc_feupdateenv_test.
2060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2061 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2063 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2064 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2065 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2066 (libc_feresetround_noex): New.
2067 (libc_feresetround_noexf): New.
2068 (libc_feresetround_noexl): New.
2069 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2070 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2071 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2072 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2075 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2077 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2078 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2079 SET_RESTORE_ROUND_NOEX.
2080 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2081 SET_RESTORE_ROUND_NOEXF.
2082 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2083 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2084 (libc_feholdsetroundf): New.
2085 (libc_feresetround, libc_feresetroundf): New.
2087 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2088 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2089 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2091 * sysdeps/generic/math_private.h: Include <fenv.h>.
2092 (default_libc_feholdexcept): New.
2093 (default_libc_feholdexcept_setround): New.
2094 (default_libc_fesetenv, default_libc_feupdateenv): New.
2095 (libc_feholdexcept): Only define if undefined.
2096 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2097 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2098 (libc_feholdexcept_setroundl): Likewise.
2099 (libc_feholdexcept_setround_53bit): Likewise.
2100 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2101 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2102 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2103 (libc_feupdateenv_53bit): Likewise.
2104 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2105 (libc_feholdexcept): Convert from macro to inline function.
2106 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2107 (libc_fesetenv, libc_feupdateenv): Likewise.
2109 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2110 not previously defined.
2111 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2112 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2113 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2114 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2115 * sysdeps/ieee754/flt-32/math_private.h: New file.
2116 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2117 math_private.h below SET_FLOAT_WORD.
2118 (__isnan, __isinf_ns, __finite): Remove.
2119 (__isnanf, __isinf_nsf, __finitef): Remove.
2121 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2125 2012-03-17 David S. Miller <davem@davemloft.net>
2128 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2131 2012-03-16 David S. Miller <davem@davemloft.net>
2133 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2137 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2139 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2140 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2141 sysdep_routines when subdir is sysvipc.
2142 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2145 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2147 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2149 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2152 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2154 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2155 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2156 (__lround): Renamed to ...
2157 (__llround): This. Replace long int with long long int.
2158 Define lround functions as aliases of llround functions.
2159 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2161 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2163 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2164 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2165 adresses to uintptr_t. Replace "long int" and "unsigned long
2166 int" with "greg_t" on va_arg.
2168 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2170 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2171 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2173 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2174 Move e_machine check before EI_CLASS check. Handle x32
2175 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2176 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2177 SKIP_EM_IA_64 and include
2178 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2180 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2181 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2182 (add_system_dir): New macro.
2184 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2185 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2187 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2198 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2200 * math/w_j0f.c (j0f): Likewise.
2202 * math/w_j0l.c (__j0l): Likewise.
2204 * math/w_j1.c (j1): Likewise.
2206 * math/w_j1f.c (j1f): Likewise.
2208 * math/w_j1l.c (__j1l): Likewise.
2210 * math/w_jn.c (jn): Likewise.
2212 * math/w_jnf.c (jnf): Likewise.
2214 * math/w_jnl.c (__jnl): Likewise.
2216 * math/libm-test.inc (j0_test): Add more tests.
2217 (j1_test): Likewise.
2218 (jn_test): Likewise. Add trailing semicolon to existing test.
2219 (y0_test): Likewise.
2220 (y1_test): Likewise.
2221 * sysdeps/i386/fpu/libm-test-ulps: Update.
2222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2226 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2227 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2228 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2229 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2230 (__tanl): Set errno for infinite argument.
2231 * sysdeps/i386/fpu/mptan.c: Remove.
2232 * sysdeps/i386/fpu/s_tan.S: Likewise.
2233 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2234 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2235 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2236 * math/libm-test.inc (tan_test): Add more tests and enable more
2237 tests for double and long double.
2238 * sysdeps/i386/fpu/libm-test-ulps: Update.
2239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2241 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2243 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2244 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2246 2012-03-16 Roland McGrath <roland@hack.frob.com>
2248 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2249 * configure.in: Use it for both main tree and add-ons.
2250 * configure: Regenerated.
2252 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2254 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2256 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2258 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2262 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2263 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2268 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2269 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2271 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2272 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2273 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2274 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2275 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2276 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2277 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2278 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2279 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2280 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2281 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2282 * math/libm-test.inc (cos_test): Add more tests and enable more
2283 tests for long double.
2284 (sin_test): Likewise.
2285 (sincos_test): Likewise.
2286 * sysdeps/i386/fpu/libm-test-ulps: Update.
2287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2289 2012-03-16 David S. Miller <davem@davemloft.net>
2291 * sysdeps/sparc/fpu/math_private.h: New file.
2293 2012-03-15 David S. Miller <davem@davemloft.net>
2295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2305 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2309 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2310 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2312 * sysdeps/sparc/sparc-ifunc.h: New file.
2313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2339 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2340 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2341 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2342 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2343 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2344 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2349 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2352 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2353 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2354 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2355 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2356 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2358 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2360 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2364 2012-03-15 Andreas Jaeger <aj@suse.de>
2367 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2368 ieee754/flt-32 implementation for sin, cos and sincos.
2369 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2370 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2371 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2372 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2373 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2374 ieee754/flt-32 implementation for tan.
2376 * math/libm-test.inc (cos_test): Enable some large input tests for
2378 (sin_test): Likewise.
2379 (sincos_test): Likewise.
2380 (tan_test): Add tests for large input.
2382 * sysdeps/i386/fpu/libm-test-ulps: Update.
2384 2012-03-15 Andreas Jaeger <aj@suse.de>
2387 * math/libm-test.inc (cos_test): Add more test cases.
2388 (sin_test): Likewise.
2389 (sincos_test): Likewise.
2391 2012-03-15 Andreas Jaeger <aj@suse.de>
2394 * math/libm-test.inc (cos_test): Add a test case for large input
2396 (sin_test): Likewise.
2397 (sincos_test): Likewise.
2399 2012-03-15 Andreas Jaeger <aj@suse.de>,
2400 Joseph Myers <joseph@codesourcery.com>
2403 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2404 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2405 * sysdeps/i386/fpu/branred.c: Likewise.
2406 * sysdeps/i386/fpu/dosincos.c: Likewise.
2407 * sysdeps/i386/fpu/mpa.c: Likewise.
2408 * sysdeps/i386/fpu/s_cos.S: Likewise.
2409 * sysdeps/i386/fpu/s_sin.S: Likewise.
2410 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2411 * sysdeps/i386/fpu/sincos32.c: Likewise.
2413 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2415 (libc_feupdateenv_53bit): Define.
2416 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2418 (libc_feupdateenv_53bit): Define.
2420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2421 53 bit (without extend i386 double precision).
2423 * math/libm-test.inc (sincos_test): Add tests for large input.
2427 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2429 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2433 2012-03-15 David S. Miller <davem@davemloft.net>
2435 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2436 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2437 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2438 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2463 fmin/fmax sysdep routines.
2464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2466 2012-03-14 David S. Miller <davem@davemloft.net>
2468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2472 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2473 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2474 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2475 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2477 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2478 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2480 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2481 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2482 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2483 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2484 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2488 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2489 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2490 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2491 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2492 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2493 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2494 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2495 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2496 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2540 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2545 * sysdeps/sparc/configure.in: New file.
2546 * sysdeps/sparc/configure: Generate.
2547 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2548 * configure: Regenerate.
2549 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2550 * config.make.in (have-as-vis3): New.
2551 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2552 available use -Av9d instead of -Av9a.
2553 * sysdeps/sparc/sparc64/Makefile: Likewise.
2554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2563 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2564 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2565 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2566 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2569 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2570 fzeros/fnegs to load 0x80000000 into a float register instead of
2572 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2574 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2576 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2578 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2579 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2580 ($(inst_includedir)/bits/syscall.h): Remove rule.
2581 ($(objpfx)bits/syscall.d): Include instead of
2582 $(objpfx)syscall-list.d.
2583 (generated): Change syscall-list.h and syscall-list.d to
2584 bits/syscall.h and bits/syscall.d.
2586 2012-03-14 Roland McGrath <roland@hack.frob.com>
2589 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2591 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2594 * math/s_csqrt.c: Include <float.h>.
2595 (__csqrt): Scale large or subnormal inputs.
2596 * math/s_csqrtf.c: Likewise.
2597 * math/s_csqrtl.c: Likewise.
2598 * math/libm-test.inc (csqrt_test): Add more tests.
2599 * sysdeps/i386/fpu/libm-test-ulps: Update.
2600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2603 * math/libm-test.inc (hypot_test): Add more tests.
2605 2012-03-13 David S. Miller <davem@davemloft.net>
2608 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2609 double-precision for the calculation instead of scaling.
2611 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2613 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2614 manipulate bits before adding and subtracting TWO52[sx].
2615 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2616 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2618 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2620 2012-03-13 David S. Miller <davem@davemloft.net>
2622 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2623 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2624 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2625 rtld-global-offsets.h
2626 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2628 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2631 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2633 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2634 'err' in the ifdef scope in which it is actually used.
2636 * nss/nss_db/db-init.c: Include string.h
2638 2012-03-12 David S. Miller <davem@davemloft.net>
2640 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2641 masking out of the most significant byte of random value used.
2642 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2643 Fix coding style in previous change.
2645 * sysdeps/unix/sysv/linux/kernel-features.h
2646 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2647 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2649 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2652 2012-03-11 David S. Miller <davem@davemloft.net>
2654 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2655 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2656 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2657 for 'resultvar' otherwise things get truncated on 64-bit.
2659 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2660 Fix masking out of the most significant byte of random value used.
2662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2664 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2666 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2668 2012-03-09 David S. Miller <davem@davemloft.net>
2670 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2671 variables with appropriate CPP guards.
2672 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2673 frame pointer, not the stack pointer. Correct layout comments. Fix test
2674 on resulting framesize and the management of the outregs buffer for pltexit.
2675 Preserve floating point return values across _dl_call_pltexit call.
2676 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2677 framesize and the management of the outregs buffer for pltexit.
2678 Preserve floating point return values across _dl_call_pltexit
2680 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2681 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2682 (print_exit): Fix format string for return register value.
2684 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2686 * sunrpc/Makefile (others): Add rpcgen.
2687 ($(objpfx)rpcgen): Remove special build rule and dependency on
2689 * sunrpc/rpcgen.c: New file.
2691 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2694 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2695 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2696 * sysdeps/i386/crti.S: Likewise.
2697 * sysdeps/i386/crtn.S: Likewise.
2698 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2699 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2700 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2701 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2702 * sysdeps/sh/crti.S: Likewise.
2703 * sysdeps/sh/crtn.S: Likewise.
2704 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2707 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2709 * locale/programs/locfile-kw.gperf: Likewise.
2710 * locale/programs/charmap-kw.h: Regenerated.
2711 * locale/programs/locfile-kw.h: Likewise.
2714 * intl/plural.y: Replace FSF snail mail address with URL.
2715 * intl/plural.c: Regenerated.
2717 2012-03-09 Richard Henderson <rth@twiddle.net>
2719 * include/math_private.h: Remove file.
2720 * math/math_private.h: Move file ...
2721 * sysdeps/generic/math_private.h: ... here.
2723 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2724 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2725 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2727 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2728 and <math_private.h>.
2729 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2730 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2731 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2732 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2733 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2734 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2735 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2736 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2737 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2738 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2739 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2740 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2743 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2744 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2746 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2747 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2748 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2749 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2750 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2751 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2752 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2753 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2754 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2755 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2756 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2757 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2758 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2759 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2760 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2761 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2762 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2763 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2764 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2765 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2766 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2767 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2768 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2769 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2770 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2771 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2772 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2773 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2774 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2775 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2776 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2777 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2778 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2779 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2780 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2781 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2782 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2783 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2784 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2785 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2786 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2787 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2788 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2789 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2790 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2791 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2792 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2793 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2794 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2795 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2796 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2797 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2798 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2799 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2801 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2802 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2803 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2817 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2818 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2819 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2820 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2821 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2822 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2823 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2824 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2825 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2826 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2827 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2828 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2829 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2830 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2831 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2832 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2833 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2834 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2835 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2836 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2837 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2838 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2839 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2840 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2841 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2842 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2843 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2844 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2845 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2846 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2847 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2848 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2849 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2850 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2851 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2852 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2853 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2854 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2855 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2856 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2857 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2858 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2859 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2860 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2861 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2862 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2863 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2864 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2865 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2866 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2867 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2868 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2869 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2870 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2871 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2872 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2873 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2874 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2875 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2876 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2877 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2878 * sysdeps/ieee754/k_standard.c: Likewise.
2879 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2880 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2881 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2882 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2883 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2884 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2885 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2886 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2887 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2888 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2889 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2890 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2891 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2892 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2893 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2894 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2895 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2896 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2897 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2898 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2899 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2900 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2901 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2902 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2903 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2904 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2905 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2906 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2907 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2908 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2909 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2910 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2911 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2912 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2913 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2914 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2915 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2916 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2917 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2923 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2924 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2925 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2926 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2927 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2928 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2929 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2930 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2931 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2932 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2933 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2934 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2935 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2936 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2937 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2938 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2939 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2940 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2941 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2942 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2943 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2944 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2945 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2946 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2947 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2948 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2949 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2950 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2951 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2952 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2953 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2954 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2955 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2956 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2957 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2958 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2959 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2960 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2961 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2962 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2963 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2964 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2965 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2966 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2967 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2968 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2969 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2970 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2971 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2972 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2973 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2974 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2975 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2976 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2977 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2978 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2979 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2980 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2981 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2982 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2983 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2984 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2985 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2986 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2987 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2988 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2989 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2990 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2991 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2992 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2993 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2994 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2995 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2996 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2997 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2998 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2999 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3000 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3001 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3002 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3003 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3004 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3005 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3006 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3007 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3008 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3009 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3010 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3011 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3012 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3013 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3014 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3015 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3016 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3017 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3018 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3019 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3020 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3021 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3022 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3023 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3024 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3025 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3026 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3027 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3028 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3029 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3030 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3031 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3032 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3033 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3034 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3035 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3036 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3037 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3038 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3039 * sysdeps/ieee754/s_lib_version.c: Likewise.
3040 * sysdeps/ieee754/s_matherr.c: Likewise.
3041 * sysdeps/ieee754/s_signgam.c: Likewise.
3042 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3043 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3044 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3045 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3046 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3047 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3048 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3049 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3050 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3051 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3052 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3053 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3054 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3055 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3056 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3057 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3058 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3059 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3060 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3061 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3062 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3064 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3066 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3067 * sunrpc/rpc_main.c: Likewise.
3068 * sunrpc/rpc_svcout.c: Likewise.
3070 2012-03-09 David S. Miller <davem@davemloft.net>
3072 * include/math_private.h: New file.
3074 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3076 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3077 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3078 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3079 from <bits/socket_type.h>.
3080 (enum __socket_type): Don't define here.
3081 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3086 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3089 * Makerules ($(inst_includedir)/%.h): New rule.
3090 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3091 (install-others): Remove variable setting.
3092 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3094 2012-03-08 Richard Henderson <rth@twiddle.net>
3096 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3097 from macro to inline function; merge with the
3098 !__LIBC_INTERNAL_MATH_INLINES version.
3099 (__ieee754_sqrtf): Likewise.
3101 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3103 (__rintf, __floor, __floorf): Likewise.
3105 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3106 macro to inline function.
3107 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3109 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3110 not <math/math_private.h>.
3112 2012-03-08 David S. Miller <davem@davemloft.net>
3114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3116 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3118 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3120 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3122 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3123 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3125 2012-03-08 Ulrich Drepper <drepper@gmail.com>
3127 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3128 be defined individually, they must be defined as a block. Define
3129 S for printing a string instead of hidint the different by using a
3130 macro for adding the 'l'.
3131 * stdio-common/tst-fphex-wide.c: Adjust.
3133 2012-03-07 Marek Polacek <polacek@redhat.com>
3135 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3137 2012-03-08 Marek Polacek <polacek@redhat.com>
3140 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3141 * stdio-common/tst-fphex.c: Define a few macros to make the
3142 test reusable. Use them.
3143 * stdio-common/tst-fphex-wide.c: New file.
3145 2012-03-08 Joseph Myers <joseph@codesourcery.com>
3148 * manual/macros.texi (gnusystems): New macro.
3149 (nongnusystems): Likewise.
3150 (gnulinuxhurdsystems): Likewise.
3151 (gnuhurdsystems): Likewise..
3152 (gnulinuxsystems): Likewise.
3153 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3154 variants of the GNU system, not "GNU system".
3155 * manual/conf.texi: Likewise.
3156 * manual/errno.texi: Likewise. Update example of errno macro
3158 * manual/filesys.texi: Likewise.
3159 (getumask): Document as specific to GNU/Hurd.
3160 * manual/install.texi: Likewise. Reword some references to
3162 * manual/intro.texi: Likewise.
3163 * manual/io.texi: Likewise.
3164 (File Name Portability): Detail which constraints are inapplicable
3165 to all GNU systems and which are only inapplicable to GNU/Hurd.
3166 * manual/job.texi: Likewise.
3167 * manual/llio.texi: Likewise.
3168 (O_NOCTTY): Document as present on GNU/Linux.
3169 * manual/maint.texi: Likewise.
3170 * manual/memory.texi: Likewise.
3171 * manual/pattern.texi: Likewise.
3172 * manual/pipe.texi: Likewise.
3173 * manual/process.texi: Likewise.
3174 * manual/resource.texi: Likewise.
3175 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3177 * manual/setjmp.texi: Likewise.
3178 * manual/signal.texi: Likewise.
3179 * manual/startup.texi: Likewise.
3180 * manual/stdio.texi: Likewise.
3181 * manual/terminal.texi: Likewise.
3182 (ONLCR): Document as POSIX.
3183 (OXTABS): Document availability on GNU/Linux as XTABS.
3184 (ONOEOT): Document availability separately from other bits.
3185 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3186 * manual/time.texi: Likewise.
3187 * manual/users.texi: Likewise.
3188 * INSTALL: Regenerated.
3189 * sysdeps/gnu/errlist.c: Regenerated.
3191 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3192 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3193 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3195 * configure: Regenerated.
3197 2012-03-07 Joseph Myers <joseph@codesourcery.com>
3199 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3200 default includes instead of AC_HEADER_CHECK.
3201 * sysdeps/i386/configure: Regenerated.
3204 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3205 * math/s_cacoshf.c (__cacoshf): Likewise.
3206 * math/s_cacoshl.c (__cacoshl): Likewise.
3207 * math/s_casinh.c (__casinh): Set signs of result from argument.
3208 * math/s_casinhf.c (__casinhf): Likewise.
3209 * math/s_casinhl.c (__casinhl): Likewise.
3210 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3211 (casinh_test): Add more tests.
3212 * sysdeps/i386/fpu/libm-test-ulps: Update.
3213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3215 2012-03-07 Ulrich Drepper <drepper@gmail.com>
3217 * po/zh_TW.po: Update from translation team.
3219 * login/Makefile (distribute): Remove variable.
3220 * catgets/Makefile: Likewise.
3221 * mach/Makefile: Likewise.
3222 * malloc/Makefile: Likewise.
3223 * misc/Makefile: Likewise.
3224 * iconv/Makefile: Likewise.
3225 * nscd/Makefile: Likewise.
3226 * hurd/Makefile: Likewise.
3227 * manual/Makefile: Likewise.
3228 * locale/Makefile: Likewise.
3229 * intl/Makefile: Likewise.
3230 * conform/Makefile: Likewise.
3231 * nss/Makefile: Likewise.
3232 * time/Makefile: Likewise.
3233 * soft-fp/Makefile: Likewise.
3234 * dirent/Makefile: Likewise.
3235 * gmon/Makefile: Likewise.
3236 * po/Makefile: Likewise.
3237 * rt/Makefile: Likewise.
3238 * socket/Makefile: Likewise.
3239 * math/Makefile: Likewise.
3240 * signal/Makefile: Likewise.
3241 * debug/Makefile: Likewise.
3242 * elf/Makefile: Likewise.
3243 * timezone/Makefile: Likewise.
3244 * stdlib/Makefile: Likewise.
3245 * iconvdata/Makefile: Likewise.
3246 * sunrpc/Makefile: Likewise.
3247 * io/Makefile: Likewise.
3248 * argp/Makefile: Likewise.
3249 * inet/Makefile: Likewise.
3250 * hesiod/Makefile: Likewise.
3251 * grp/Makefile: Likewise.
3252 * csu/Makefile: Likewise.
3253 * wctype/Makefile: Likewise.
3254 * crypt/Makefile: Likewise.
3255 * libio/Makefile: Likewise.
3256 * string/Makefile: Likewise.
3257 * nis/Makefile: Likewise.
3258 * resolv/Makefile: Likewise.
3259 * stdio-common/Makefile: Likewise.
3260 * wcsmbs/Makefile: Likewise.
3261 * dlfcn/Makefile: Likewise.
3262 * posix/Makefile: Likewise.
3265 * timezone/Makefile: Don't install timezone files, just the programs
3268 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3270 * nss/databases.def: Add missing gshadow entry.
3272 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3274 2012-03-06 Marek Polacek <polacek@redhat.com>
3277 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3278 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3279 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3280 * stdio-common/tst-long-dbl-fphex.c: New file.
3282 2012-03-06 David S. Miller <davem@davemloft.net>
3284 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3285 (set_obp_int): New function.
3286 (get_obp_int): New function.
3287 (__get_clockfreq_via_dev_openprom): Likewise.
3288 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3289 Avoid unused variable warnings on 'val' and use builtin_expect.
3290 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3292 (INLINE_CLONE_SYSCALL): Likewise.
3294 2012-03-05 David S. Miller <davem@davemloft.net>
3296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3298 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3302 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3304 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3306 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3308 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3309 Replace gettimeofday with __vdso_gettimeofday.
3311 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3312 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3313 __vdso_clock_gettime and __vdso_getcpu.
3315 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3316 time with __vdso_time.
3318 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3320 * manual/lang.texi (size_t): Note types to which size_t may be
3321 equivalent with the GNU C Library, but do not describe when
3322 differences between them are significant.
3324 2012-03-05 Andreas Jaeger <aj@suse.de>
3326 * sysdeps/i386/fpu/libm-test-ulps: Update.
3328 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3331 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3332 (__ieee754_pow): Save and restore rounding mode and use
3333 round-to-nearest for main computations.
3334 * math/libm-test.inc (pow_test_tonearest): New function.
3335 (pow_test_towardzero): Likewise.
3336 (pow_test_downward): Likewise.
3337 (pow_test_upward): Likewise.
3338 (main): Call the new functions.
3339 * sysdeps/i386/fpu/libm-test-ulps: Update.
3340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3343 * math/libm-test.inc (cosh_test_tonearest): New function.
3344 (cosh_test_towardzero): Likewise.
3345 (cosh_test_downward): Likewise.
3346 (cosh_test_upward): Likewise.
3347 (sinh_test_tonearest): Likewise.
3348 (sinh_test_towardzero): Likewise.
3349 (sinh_test_downward): Likewise.
3350 (sinh_test_upward): Likewise.
3351 (main): Call the new functions.
3352 * sysdeps/i386/fpu/libm-test-ulps: Update.
3353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3355 2012-03-05 Tom de Vries <tom@codesourcery.com>
3357 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3358 default stack guard is set in last bytes.
3359 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3361 2012-03-05 Kees Cook <keescook@chromium.org>
3363 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3366 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3367 possibly allocate from heap instead of stack.
3368 * stdio-common/bug-vfprintf-nargs.c: New file.
3369 * stdio-common/Makefile (tests): Add nargs overflow test.
3371 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3373 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3375 2012-03-03 Marek Polacek <polacek@redhat.com>
3377 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3378 * math/math_private.h: Likewise.
3379 * stdlib/tst-strtod.c: Likewise.
3380 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3381 * sysdeps/x86_64/bits/atomic.h: Likewise.
3383 2012-03-02 David S. Miller <davem@davemloft.net>
3385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3389 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3390 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3391 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3392 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3394 2012-03-02 Roland McGrath <roland@hack.frob.com>
3397 * manual/examples/README: New file, says the example source files
3398 can be used under GPL>=2.
3399 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3400 line containing just "*/".
3401 * manual/examples/add.c: Add copyright header (GPL>=2).
3402 * manual/examples/argp-ex1.c: Likewise.
3403 * manual/examples/argp-ex2.c: Likewise.
3404 * manual/examples/argp-ex3.c: Likewise.
3405 * manual/examples/argp-ex4.c: Likewise.
3406 * manual/examples/atexit.c: Likewise.
3407 * manual/examples/db.c: Likewise.
3408 * manual/examples/dir.c: Likewise.
3409 * manual/examples/dir2.c: Likewise.
3410 * manual/examples/execinfo.c: Likewise.
3411 * manual/examples/filecli.c: Likewise.
3412 * manual/examples/filesrv.c: Likewise.
3413 * manual/examples/fmtmsgexpl.c: Likewise.
3414 * manual/examples/genpass.c: Likewise.
3415 * manual/examples/inetcli.c: Likewise.
3416 * manual/examples/inetsrv.c: Likewise.
3417 * manual/examples/isockad.c: Likewise.
3418 * manual/examples/longopt.c: Likewise.
3419 * manual/examples/memopen.c: Likewise.
3420 * manual/examples/memstrm.c: Likewise.
3421 * manual/examples/mkfsock.c: Likewise.
3422 * manual/examples/mkisock.c: Likewise.
3423 * manual/examples/mygetpass.c: Likewise.
3424 * manual/examples/pipe.c: Likewise.
3425 * manual/examples/popen.c: Likewise.
3426 * manual/examples/rprintf.c: Likewise.
3427 * manual/examples/search.c: Likewise.
3428 * manual/examples/select.c: Likewise.
3429 * manual/examples/setjmp.c: Likewise.
3430 * manual/examples/sigh1.c: Likewise.
3431 * manual/examples/sigusr.c: Likewise.
3432 * manual/examples/stpcpy.c: Likewise.
3433 * manual/examples/strdupa.c: Likewise.
3434 * manual/examples/strftim.c: Likewise.
3435 * manual/examples/strncat.c: Likewise.
3436 * manual/examples/subopt.c: Likewise.
3437 * manual/examples/swapcontext.c: Likewise.
3438 * manual/examples/termios.c: Likewise.
3439 * manual/examples/testopt.c: Likewise.
3440 * manual/examples/testpass.c: Likewise.
3441 * manual/examples/timeval_subtract.c: Likewise.
3444 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3446 * manual/timeval_subtract.c.texi: ... here, new file.
3448 2012-03-02 David S. Miller <davem@davemloft.net>
3450 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3452 2012-03-02 Joseph Myers <joseph@codesourcery.com>
3455 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3456 (__sin): Save and restore rounding mode and use round-to-nearest
3457 for all computations.
3458 (__cos): Save and restore rounding mode and use round-to-nearest
3459 for all computations.
3460 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3462 (tan): Save and restore rounding mode and use round-to-nearest for
3464 * math/libm-test.inc (cos_test_tonearest): New function.
3465 (cos_test_towardzero): Likewise.
3466 (cos_test_downward): Likewise.
3467 (cos_test_upward): Likewise.
3468 (sin_test_tonearest): Likewise.
3469 (sin_test_towardzero): Likewise.
3470 (sin_test_downward): Likewise.
3471 (sin_test_upward): Likewise.
3472 (tan_test_tonearest): Likewise.
3473 (tan_test_towardzero): Likewise.
3474 (tan_test_downward): Likewise.
3475 (tan_test_upward): Likewise.
3476 (main): Call the new functions.
3477 * sysdeps/i386/fpu/libm-test-ulps: Update.
3478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3481 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3482 small n, then large n, before computing and testing k+n.
3483 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3484 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3486 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3488 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3489 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3490 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3491 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3492 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3493 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3494 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3495 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3496 * math/libm-test.inc (scalbn_test): Add more tests.
3497 (scalbln_test): Likewise.
3499 * manual/filesys.texi (mode_t): Describe constraints on size and
3500 signedness, not exact equivalence to a particular type.
3502 (ino64_t): Likewise.
3504 (nlink_t): Likewise.
3505 (blkcnt_t): Likewise.
3506 (blkcnt64_t): Likewise.
3507 * manual/llio.texi (off_t): Likewise.
3510 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3511 (__ieee754_exp): Save and restore rounding mode and use
3512 round-to-nearest for all computations.
3513 * math/libm-test.inc (exp_test_tonearest): New function.
3514 (exp_test_towardzero): Likewise.
3515 (exp_test_downward): Likewise.
3516 (exp_test_upward): Likewise.
3517 (main): Call the new functions.
3518 * sysdeps/i386/fpu/libm-test-ulps: Update.
3519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3521 2012-03-01 Chris Demetriou <cgd@google.com>
3523 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3524 have predictable order.
3526 2012-03-01 David S. Miller <davem@davemloft.net>
3528 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3530 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3531 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3532 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3533 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3535 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3536 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3537 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3539 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3540 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3541 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3542 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3543 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3547 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3548 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3549 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3551 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3552 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3553 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3554 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3555 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3556 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3557 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3558 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3559 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3560 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3561 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3562 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3563 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3564 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3565 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3566 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3567 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3568 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3569 * sysdeps/sparc/elf/configure: Regenerated.
3571 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3573 * configure.in (AS, LD): Require binutils 2.20 or later.
3574 * configure: Regenerated.
3575 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3576 as required minimum version.
3577 * INSTALL: Regenerated.
3581 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3582 before squaring exponent.
3583 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3584 bottom long double and 27 bits of top long double before squaring
3586 * math/libm-test.inc (erfc_test): Add more tests.
3587 * sysdeps/i386/fpu/libm-test-ulps: Update.
3588 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3591 2012-03-01 Kai Tietz <ktietz@redhat.com>
3593 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3594 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3595 containing bit-fields.
3596 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3597 * soft-fp/single.h (_FP_UNION_S): Likewise.
3598 * soft-fp/double.h (_FP_UNION_D): Likewise.
3600 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3603 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3604 not include ../strcmp.S.
3605 [USE_AS_STRNCASECMP_L]: Likewise.
3606 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3607 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3608 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3609 (__strncasecmp_l_ia32): Define as alias to
3610 __strncasecmp_l_nonascii.
3613 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3614 * sysdeps/i386/fpu/libm-test-ulps: Update.
3615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3617 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3620 2012-02-29 Jeff Law <law@redhat.com>
3622 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3625 2012-02-29 Marek Polacek <polacek@redhat.com>
3628 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3629 * elf/Makefile: Add rules to run tst-unused-dep.out.
3631 2012-02-28 David S. Miller <davem@davemloft.net>
3633 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3634 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3635 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3636 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3637 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3638 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3640 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3642 * math/libm-test.inc (llround_test): Move one test from
3643 lround_test. Use TEST_f_L in moved test.
3644 (lround_test): Move misplaced test to llround_test. Add testcase
3647 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3649 * sysdeps/x86_64/fpu/e_expf.S: New file.
3650 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3652 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3655 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3656 of remain_len that may cause incomplete multi-byte character and
3658 * posix/bug-regex33.c: New file.
3659 * posix/Makefile (tests): Add bug-regex33.
3661 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3663 * manual/macros.texi: New file.
3664 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3665 * manual/libc.texinfo: Include macros.texi.
3666 * manual/creatute.texi: Likewise.
3667 * manual/install.texi: Likewise.
3668 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3669 @glibcadj{} in references to the GNU C Library.
3670 * manual/charset.texi: Likewise.
3671 * manual/conf.texi: Likewise.
3672 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3673 when not using those macros.
3674 * manual/creature.texi: Likewise.
3675 * manual/crypt.texi: Likewise.
3676 * manual/errno.texi: Likewise.
3677 * manual/filesys.texi: Likewise.
3678 * manual/header.texi: Likewise.
3679 * manual/install.texi: Likewise.
3680 * manual/intro.texi: Likewise.
3681 * manual/io.texi: Likewise.
3682 * manual/job.texi: Likewise.
3683 * manual/lang.texi: Likewise.
3684 * manual/libc.texiinfo: Likewise.
3685 * manual/llio.texi: Likewise.
3686 * manual/locale.texi: Likewise.
3687 * manual/maint.texi: Likewise.
3688 * manual/math.texi: Likewise.
3689 * manual/memory.texi: Likewise.
3690 * manual/message.texi: Likewise.
3691 * manual/nss.texi: Likewise.
3692 * manual/pattern.texi: Likewise.
3693 * manual/process.texi: Likewise.
3694 * manual/resource.texi: Likewise.
3695 * manual/search.texi: Likewise.
3696 * manual/setjmp.texi: Likewise.
3697 * manual/signal.texi: Likewise.
3698 * manual/socket.texi: Likewise.
3699 * manual/startup.texi: Likewise.
3700 * manual/stdio.texi: Likewise.
3701 * manual/string.texi: Likewise.
3702 * manual/sysinfo.texi: Likewise.
3703 * manual/syslog.texi: Likewise.
3704 * manual/terminal.texi: Likewise.
3705 * manual/time.texi: Likewise.
3706 * manual/users.texi: Likewise.
3707 * INSTALL: Regenerated.
3708 * NOTES: Regenerated.
3709 * sysdeps/gnu/errlist.c: Regenerated.
3711 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3713 * include/dirent.h: Include <dirstream.h> before
3716 2012-02-28 David S. Miller <davem@davemloft.net>
3718 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3719 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3720 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3721 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3723 2012-02-27 David S. Miller <davem@davemloft.net>
3725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3727 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3728 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3731 frame pointer instead of stack pointer relative arg slot.
3732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3733 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3734 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3736 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3739 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3741 2012-02-27 David S. Miller <davem@davemloft.net>
3743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3747 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3748 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3749 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3750 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3752 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3754 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3755 later. Allow versions 5-9.
3756 * configure: Regenerated.
3757 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3758 required minimum version and 4.6 as recommended version. Do not
3759 mention bugs in GCC 2.7 and 2.8.
3760 * INSTALL: Regenerated.
3762 2012-02-27 David S. Miller <davem@davemloft.net>
3764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3768 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3769 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3770 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3771 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3773 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3774 manipulate bits before adding and subtracting TWO112[sx].
3775 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3777 2012-02-27 Roland McGrath <roland@hack.frob.com>
3780 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3781 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3782 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3783 being in POSIX, because they are in 1003.1-2008.
3785 * rt/tst-aio.c: Include <fcntl.h>.
3786 * rt/tst-aio7.c: Likewise.
3787 * rt/tst-aio64.c: Likewise.
3789 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3791 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3793 * manual/install.texi (--with-headers): Describe headers as
3794 interface headers, not private headers.
3795 (Specific advice for GNU/Linux systems): Describe use of headers
3796 from "make headers_install", not private headers from older
3798 * INSTALL: Regenerated.
3799 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3801 * sysdeps/unix/sysv/linux/configure: Regenerated.
3803 * manual/llio.texi (fclean): Remove documentation.
3805 * manual/Makefile (libc-texi-generated): New variable. Include
3807 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3808 $(libc-texi-generated), not duplicated list of files.
3809 (version.texi, stamp-version): New rules.
3810 (realclean): Remove $(libc-texi-generated), not individual files
3811 from that list. Do not remove dir-add.texinfo.
3812 * manual/libc.texinfo: Comment out uses of edition numbers and
3813 references to printed manual. Remove last-updated dates.
3814 (EDITION): Comment out.
3816 (VERSION, UPDATED): Remove.
3817 (version.texi): Include.
3819 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3821 * sysdeps/posix/spawni.c: Include <signal.h>.
3822 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3823 * sysdeps/pthread/aio_fsync.c: Likewise.
3825 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3827 * conform/Makefile (tests): Run only when not cross-compiling and
3828 when fast-check is not defined.
3830 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3831 * conform/data/limits.h-data: Fixes for POSIX2008.
3832 * conform/run-conformtest.sh: Run all tests.
3833 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3835 * include/bits/dlfcn.h: Likewise.
3836 * include/langinfo.h: Likewise.
3837 * include/monetary.h: Likewise.
3838 * include/sys/poll.h: Likewise.
3840 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3842 * posix/spawn.h: Define __need_sigset_t.
3843 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3844 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3845 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3846 to get sigevent_t only.
3847 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3850 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3851 process_vm_writev only for __USE_GNU.
3852 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3854 * conform/Makefile: For now ignore errors from run-conformtest.
3855 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3856 POSIX to avoid namespace pollution. Don't prepend headers.
3857 * conform/data/aio.h-data: Fixes for POSIX testing.
3858 * conform/data/fcntl.h-data: Likewise.
3859 * conform/data/glob.h-data: Likewise.
3860 * conform/data/grp.h-data: Likewise.
3861 * conform/data/pthread.h-data: Likewise.
3862 * conform/data/pwd.h-data: Likewise.
3863 * conform/data/signal.h-data: Likewise.
3864 * conform/data/spawn.h-data: Likewise.
3865 * conform/data/stdio.h-data: Likewise.
3866 * conform/data/stdlib.h-data: Likewise.
3867 * conform/data/stropts.h-data: Likewise.
3868 * conform/data/sys/mman.h-data: Likewise.
3869 * conform/data/sys/stat.h-data: Likewise.
3870 * conform/data/sys/types.h-data: Likewise.
3871 * conform/data/sys/wait.h-data: Likewise.
3872 * conform/data/time.h-data: Likewise.
3873 * conform/data/unistd.h-data: Likewise.
3874 * conform/data/utime.h-data: Likewise.
3876 * io/sys/stat.h: fchmod was always in POSIX.
3877 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3878 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3879 * rt/aio.h: Define __need_timespec before including <time.h>.
3880 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3881 struct. Add forward declaration of pthread_attr_t and use it in
3883 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3884 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3885 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3886 always remove CLK_TCK definition.
3888 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3890 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3892 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3894 * conform/run-conformtest.sh: New file.
3895 * conform/Makefile: Run run-conformtest for tests.
3896 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3899 * conform/data/uchar.h-data: New file.
3900 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3901 * conform/data/arpa/inet.h-data: Likewise.
3902 * conform/data/assert.h-data: Likewise.
3903 * conform/data/complex.h-data: Likewise.
3904 * conform/data/cpio.h-data: Likewise.
3905 * conform/data/ctype.h-data: Likewise.
3906 * conform/data/dirent.h-data: Likewise.
3907 * conform/data/dlfcn.h-data: Likewise.
3908 * conform/data/errno.h-data: Likewise.
3909 * conform/data/fcntl.h-data: Likewise.
3910 * conform/data/float.h-data: Likewise.
3911 * conform/data/fmtmsg.h-data: Likewise.
3912 * conform/data/fnmatch.h-data: Likewise.
3913 * conform/data/ftw.h-data: Likewise.
3914 * conform/data/glob.h-data: Likewise.
3915 * conform/data/grp.h-data: Likewise.
3916 * conform/data/iconv.h-data: Likewise.
3917 * conform/data/inttypes.h-data: Likewise.
3918 * conform/data/langinfo.h-data: Likewise.
3919 * conform/data/libgen.h-data: Likewise.
3920 * conform/data/limits.h-data: Likewise.
3921 * conform/data/locale.h-data: Likewise.
3922 * conform/data/math.h-data: Likewise.
3923 * conform/data/monetary.h-data: Likewise.
3924 * conform/data/mqueue.h-data: Likewise.
3925 * conform/data/ndbm.h-data: Likewise.
3926 * conform/data/net/if.h-data: Likewise.
3927 * conform/data/netdb.h-data: Likewise.
3928 * conform/data/netinet/in.h-data: Likewise.
3929 * conform/data/nl_types.h-data: Likewise.
3930 * conform/data/poll.h-data: Likewise.
3931 * conform/data/pthread.h-data: Likewise.
3932 * conform/data/pwd.h-data: Likewise.
3933 * conform/data/regex.h-data: Likewise.
3934 * conform/data/sched.h-data: Likewise.
3935 * conform/data/search.h-data: Likewise.
3936 * conform/data/semaphore.h-data: Likewise.
3937 * conform/data/setjmp.h-data: Likewise.
3938 * conform/data/signal.h-data: Likewise.
3939 * conform/data/spawn.h-data: Likewise.
3940 * conform/data/stdarg.h-data: Likewise.
3941 * conform/data/stdio.h-data: Likewise.
3942 * conform/data/stdlib.h-data: Likewise.
3943 * conform/data/string.h-data: Likewise.
3944 * conform/data/strings.h-data: Likewise.
3945 * conform/data/stropts.h-data: Likewise.
3946 * conform/data/sys/ipc.h-data: Likewise.
3947 * conform/data/sys/mman.h-data: Likewise.
3948 * conform/data/sys/msg.h-data: Likewise.
3949 * conform/data/sys/resource.h-data: Likewise.
3950 * conform/data/sys/select.h-data: Likewise.
3951 * conform/data/sys/sem.h-data: Likewise.
3952 * conform/data/sys/shm.h-data: Likewise.
3953 * conform/data/sys/socket.h-data: Likewise.
3954 * conform/data/sys/stat.h-data: Likewise.
3955 * conform/data/sys/statvfs.h-data: Likewise.
3956 * conform/data/sys/time.h-data: Likewise.
3957 * conform/data/sys/timeb.h-data: Likewise.
3958 * conform/data/sys/times.h-data: Likewise.
3959 * conform/data/sys/types.h-data: Likewise.
3960 * conform/data/sys/uio.h-data: Likewise.
3961 * conform/data/sys/un.h-data: Likewise.
3962 * conform/data/sys/utsname.h-data: Likewise.
3963 * conform/data/sys/wait.h-data: Likewise.
3964 * conform/data/syslog.h-data: Likewise.
3965 * conform/data/tar.h-data: Likewise.
3966 * conform/data/termios.h-data: Likewise.
3967 * conform/data/utime.h-data: Likewise.
3968 * conform/data/utmpx.h-data: Likewise.
3969 * conform/data/varargs.h-data: Likewise.
3970 * conform/data/wchar.h-data: Likewise.
3971 * conform/data/wctype.h-data: Likewise.
3972 * conform/data/wordexp.h-data: Likewise.
3974 * include/stropts.h: New file.
3975 * include/uchar.h: New file.
3976 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3977 * include/assert.h: Likewise.
3978 * include/ctype.h: Likewise.
3979 * include/dirent.h: Likewise.
3980 * include/dlfcn.h: Likewise.
3981 * include/fcntl.h: Likewise.
3982 * include/fnmatch.h: Likewise.
3983 * include/glob.h: Likewise.
3984 * include/grp.h: Likewise.
3985 * include/libio.h: Likewise.
3986 * include/locale.h: Likewise.
3987 * include/math.h: Likewise.
3988 * include/net/if.h: Likewise.
3989 * include/netdb.h: Likewise.
3990 * include/netinet/in.h: Likewise.
3991 * include/pthread.h: Likewise.
3992 * include/pwd.h: Likewise.
3993 * include/regex.h: Likewise.
3994 * include/sched.h: Likewise.
3995 * include/search.h: Likewise.
3996 * include/setjmp.h: Likewise.
3997 * include/signal.h: Likewise.
3998 * include/stdio.h: Likewise.
3999 * include/stdlib.h: Likewise.
4000 * include/string.h: Likewise.
4001 * include/sys/cdefs.h: Likewise.
4002 * include/sys/mman.h: Likewise.
4003 * include/sys/msg.h: Likewise.
4004 * include/sys/resource.h: Likewise.
4005 * include/sys/select.h: Likewise.
4006 * include/sys/socket.h: Likewise.
4007 * include/sys/stat.h: Likewise.
4008 * include/sys/statvfs.h: Likewise.
4009 * include/sys/time.h: Likewise.
4010 * include/sys/times.h: Likewise.
4011 * include/sys/uio.h: Likewise.
4012 * include/sys/utsname.h: Likewise.
4013 * include/sys/wait.h: Likewise.
4014 * include/termios.h: Likewise.
4015 * include/time.h: Likewise.
4016 * include/ulimit.h: Likewise.
4017 * include/unistd.h: Likewise.
4018 * include/utime.h: Likewise.
4019 * include/wchar.h: Likewise.
4020 * include/wctype.h: Likewise.
4021 * include/wordexp.h: Likewise.
4023 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4025 * time/time.h: TIME_UTC must be a macro.
4026 Make timespec_get available for ISO C11 only as well.
4028 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4030 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4031 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4033 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4035 * configure.in: Use -o not -a in test for unsupported multi-arch.
4037 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4039 * manual/texinfo.tex: Update to version 2012-01-19.16.
4041 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4043 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4045 2012-02-24 Roland McGrath <roland@hack.frob.com>
4048 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4049 * manual/fdl-1.3.texi: New file.
4050 * manual/fdl-1.1.texi: File removed.
4053 * manual/libc.texinfo (FDL_VERSION): New @set.
4054 Use it for mention of FDL in cover text.
4055 (Documentation License): Use it in @include file name.
4057 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4058 Roland McGrath <roland@hack.frob.com>
4061 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4062 not LONG_LONG_MAX and LONG_LONG_MIN.
4063 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4064 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4066 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4068 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4072 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4073 manipulate bits before adding and subtracting TWO23[sx].
4074 * math/libm-test.inc (nearbyint_test): Add more tests.
4076 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4079 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4080 bits before adding and subtracting TWO23[sx].
4081 * math/libm-test.inc (rint_test): Add more tests.
4082 (rint_test_tonearest): Likewise.
4083 (rint_test_towardzero): Likewise.
4084 (rint_test_downward): Likewise.
4085 (rint_test_upward: Likewise.
4087 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4090 * include/stdc-predef.h: New file. Extracted from features.h.
4091 * include/features.h: Include stdc-predef.h.
4092 * Makefile (headers): Add stdc-predef.h.
4093 * CONFORMANCE (Compiler limitations): Update.
4095 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4097 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4099 2012-02-21 David S. Miller <davem@davemloft.net>
4101 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4102 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4104 2012-02-20 David S. Miller <davem@davemloft.net>
4106 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4107 using a normal save/restore sequence, rather than allocating a
4108 dummy stack frame just to store a frame pointer and restore.
4109 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4111 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4113 * manual/install.texi: Fix stray word in line-wrapped comment.
4115 2012-02-20 David S. Miller <davem@davemloft.net>
4117 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4118 both binutils and gcc support GOTDATA.
4120 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4121 "rd %pc" in the PIC register setup sequences.
4123 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4124 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4125 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4126 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4127 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4128 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4129 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4130 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4131 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4132 (SYSCALL_ERROR_HANDLER): Likewise.
4133 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4134 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4136 (SYSCALL_ERROR_HANDLER): Likewise.
4138 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4139 (HAVE_GCC_GOTDATA): New.
4140 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4141 relocation support in both binutils and gcc.
4142 * sysdeps/sparc/elf/configure: Regenerate.
4144 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4145 * sysdeps/sparc/sparc32/elf/configure: Delete.
4146 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4147 * sysdeps/sparc/sparc64/elf/configure: Delete.
4148 * sysdeps/sparc/elf/configure.in: New file.
4149 * sysdeps/sparc/elf/configure: Generate.
4151 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4152 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4153 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4154 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4155 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4157 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4159 * manual/install.texi: Do not mention specific glibc version
4161 * manual/libc.texinfo (VERSION, UPDATED): Update.
4162 (@copying): Use @copyright{} and range of years.
4164 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4167 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4168 [crti.S not in sysdirs] (generated): Do not append.
4169 [crti.S not in sysdirs] (omit-deps): Likewise.
4170 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4171 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4172 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4173 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4174 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4176 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4177 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4178 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4179 * csu/defs.awk: Remove file.
4180 * sysdeps/generic/initfini.c: Likewise.
4181 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4183 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4186 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4188 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4189 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4190 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4191 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4192 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4193 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4195 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4196 (__EPOLL_PACKED): Define to empty if not defined by
4198 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4202 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4204 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4205 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4206 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4207 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4209 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4210 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4213 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4215 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4217 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4218 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4219 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4222 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4224 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4225 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4227 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4229 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4230 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4232 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4234 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4237 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4239 * math/w_acos.c: Use non-signaling floating-point comparisons.
4240 * math/w_acosf.c: Likewise.
4241 * math/w_acosh.c: Likewise.
4242 * math/w_acoshf.c: Likewise.
4243 * math/w_acoshl.c: Likewise.
4244 * math/w_acosl.c: Likewise.
4245 * math/w_asin.c: Likewise.
4246 * math/w_asinf.c: Likewise.
4247 * math/w_asinl.c: Likewise.
4248 * math/w_atanh.c: Likewise.
4249 * math/w_atanhf.c: Likewise.
4250 * math/w_atanhl.c: Likewise.
4251 * math/w_exp2.c: Likewise.
4252 * math/w_exp2f.c: Likewise.
4253 * math/w_exp2l.c: Likewise.
4254 * math/w_j0.c: Likewise.
4255 * math/w_j0f.c: Likewise.
4256 * math/w_j0l.c: Likewise.
4257 * math/w_j1.c: Likewise.
4258 * math/w_j1f.c: Likewise.
4259 * math/w_j1l.c: Likewise.
4260 * math/w_jn.c: Likewise.
4261 * math/w_jnf.c: Likewise.
4262 * math/w_log.c: Likewise.
4263 * math/w_log10.c: Likewise.
4264 * math/w_log10f.c: Likewise.
4265 * math/w_log10l.c: Likewise.
4266 * math/w_log2.c: Likewise.
4267 * math/w_log2f.c: Likewise.
4268 * math/w_log2l.c: Likewise.
4269 * math/w_logf.c: Likewise.
4270 * math/w_logl.c: Likewise.
4271 * math/w_sqrt.c: Likewise.
4272 * math/w_sqrtf.c: Likewise.
4273 * math/w_sqrtl.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4276 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4277 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4278 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4280 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4283 * manual/string.texi (strnlen): Use correct parameter name in
4284 equivalent expression.
4286 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4289 * manual/users.texi (seteuid): Consistently use neweuid for
4292 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4295 * manual/nss.texi (Services in the NSS configuration): Correct
4296 list of services in example configuration file.
4298 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4301 * manual/arith.texi: Remove statements about negative zero
4302 behaving identically to zero.
4304 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4307 * manual/install.texi: Do not document upgrading from libc5.
4309 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4312 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4314 2012-02-18 David S. Miller <davem@davemloft.net>
4316 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4317 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4318 %o7 across the call.
4319 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4321 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4324 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4325 * sysdeps/sparc/crtn.S: Likewise.
4327 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4329 * aout/Makefile: Remove.
4331 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4334 * manual/examples/argp-ex1.c (main): Format definition in GNU
4336 * manual/examples/argp-ex2.c (main): Likewise.
4337 * manual/examples/argp-ex3.c (main): Likewise.
4338 * manual/examples/argp-ex4.c (main): Likewise.
4339 * manual/examples/longopt.c (main): Use new-style prototype
4341 * manual/examples/strncat.c (main): Specify return type and use
4342 (void) for arguments.
4343 * manual/examples/subopt.c (main): Use char **argv argument.
4345 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4348 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4351 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4354 * manual/string.texi (strchr): Change when strchrnul is
4357 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4360 * manual/locale.texi (setlocale): Document LOCPATH.
4362 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4365 * manual/process.texi (execle): Move @dots{} before last argument.
4367 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4370 * manual/charset.texi (Generic Charset Conversion): Fix typo
4371 (LC_TYPE -> LC_CTYPE).
4373 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4376 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4377 (scalbnf): Likewise.
4378 (scalbnl): Likewise.
4379 (scalbln): Likewise.
4380 (scalblnf): Likewise.
4381 (scalblnl): Likewise.
4382 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4386 * manual/filesys.texi (telldir): Use braces around return type.
4387 * manual/llio.texi (mmap): Add space after comma.
4389 * manual/math.texi (jn): Use @var{} on parameter names.
4395 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4397 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4399 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4400 (sched_get_priority_max): Likewise.
4401 * manual/signal.texi (sigvec): Add space after comma.
4402 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4404 (if_indextoname): Likewise.
4405 (if_freenameindex): Likewise.
4406 (sendto): Use ',' instead of '.' in prototype.
4407 * manual/startup.texi (syscall): Use @dots{} instead of literal
4409 * manual/stdio.texi (__fpending): Separate initial words of
4410 paragraph from @deftypefun line.
4411 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4413 (vsyslog): Use @var{} on parameter names.
4414 * manual/terminal.texi (stty): Use @var{} on parameter names.
4415 * manual/users.texi (getutmp): Use @var{} on parameter names.
4416 (getutmpx): Likewise.
4418 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4421 * manual/stdio.texi (fopen): Fix typos in description of
4424 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4427 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4428 get clock_id definition.
4430 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
4433 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4434 (madvise): Cast every argument to void on its own.
4436 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4439 * manual/startup.texi (Exit Status): Fix typo.
4441 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4444 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4445 * manual/examples/argp-ex2.c: Likewise.
4446 * manual/examples/argp-ex3.c: Likewise.
4448 2012-02-16 Richard Henderson <rth@redhat.com>
4450 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4451 * sysdeps/s390/s390-32/initfini.c: Remove.
4452 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4453 * sysdeps/s390/s390-64/initfini.c: Remove.
4455 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4457 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4458 compiler output for sysdeps/generic/initfini.c.
4459 * sysdeps/sh/elf/initfini.c: Remove file.
4461 2012-02-16 David S. Miller <davem@davemloft.net>
4464 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4466 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4467 * sysdeps/sparc/crti.S: New file.
4468 * sysdeps/sparc/crtn.S: New file.
4469 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4470 * sysdeps/sparc/sparc64/Makefile: Likewise.
4472 2012-02-15 Mike Frysinger <vapier@gentoo.org>
4475 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4477 2012-02-15 Roland McGrath <roland@hack.frob.com>
4480 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4482 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4483 (write, read, close): Likewise.
4484 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4486 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4488 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4489 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4490 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4491 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4493 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4494 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4497 2012-02-14 Marek Polacek <polacek@redhat.com>
4499 * sysdeps/x86_64/crti.S: New file.
4500 * sysdeps/x86_64/crtn.S: New file.
4501 * sysdeps/x86_64/elf/initfini.c: Remove file.
4503 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4505 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4506 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4507 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4508 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4510 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4514 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4516 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4517 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4518 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4519 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4521 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4525 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4527 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4528 __feraiseexcept instead of feraiseexcept.
4530 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4531 nanosleep invocations.
4532 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4533 strings, and add error checking for a nanosleep invocations.
4535 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4537 Replace FSF snail mail address with URLs, as per GNU coding standards.
4538 Most of the snail mail addresses were wrong anyway, and omitting
4539 them makes the source code easier to maintain. Almost all of the
4540 changes are to license notices and to locale LC_IDENTIFICATION
4541 addresses, except for this one:
4542 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4543 not its snail mail address.
4545 2012-02-09 Richard Henderson <rth@twiddle.net>
4547 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4548 of kernel-features.h.
4550 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4552 2012-02-08 Marek Polacek <polacek@redhat.com>
4554 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4555 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4556 * sysdeps/gnu/_G_config.h: Likewise.
4557 * sysdeps/generic/_G_config.h: Likewise.
4559 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4561 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4565 * sysdeps/powerpc/powerpc32/crti.S: New file.
4566 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4567 * sysdeps/powerpc/powerpc64/crti.S: New file.
4568 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4570 * Makeconfig (have-initfini): Don't set.
4571 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4572 * configure.in (nopic_initfini): Don't substitute.
4573 * config.h.in (HAVE_INITFINI): Don't #undef.
4574 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4575 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4577 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4579 Support crti.S and crtn.S provided directly by architectures.
4580 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4581 [crti.S in sysdirs] (omit-deps): Likewise.
4582 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4583 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4584 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4585 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4586 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4587 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4588 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4589 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4590 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4591 compiler output for sysdeps/generic/initfini.c.
4592 * sysdeps/i386/elf/Makefile: Remove file.
4593 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4595 2012-02-07 Marek Polacek <polacek@redhat.com>
4597 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4598 * sysdeps/gnu/_G_config.h: Likewise.
4599 * sysdeps/mach/hurd/_G_config.h: Likewise.
4601 2012-02-07 Marek Polacek <polacek@redhat.com>
4603 * math/Makefile (tests): Add tst-CMPLX2.
4604 * math/tst-CMPLX2.c: New file.
4606 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4608 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4610 * math/libm-test.inc (jn_test): Add missing L suffix.
4612 2012-02-06 Marek Polacek <polacek@redhat.com>
4614 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4615 * sysdeps/i386/fpu/e_powf.S: Likewise.
4616 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4617 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4618 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4619 * sysdeps/i386/fpu/e_pow.S: Likewise.
4620 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4621 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4622 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4623 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4624 * sysdeps/i386/fpu/e_log2.S: Likewise.
4625 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4626 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4627 * sysdeps/i386/fpu/e_powl.S: Likewise.
4628 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4629 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4630 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4631 * sysdeps/i386/fpu/e_logl.S: Likewise.
4632 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4633 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4634 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4635 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4636 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4637 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4638 * sysdeps/i386/fpu/e_log.S: Likewise.
4639 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4640 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4641 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4642 * sysdeps/i386/fpu/e_logf.S: Likewise.
4643 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4644 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4645 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4646 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4647 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4648 * sysdeps/i386/fpu/e_log10.S: Likewise.
4649 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4650 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4651 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4652 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4653 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4654 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4655 * sysdeps/i386/asm-syntax.h: Likewise.
4656 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4657 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4658 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4659 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4660 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4661 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4662 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4663 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4664 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4665 * sysdeps/powerpc/sysdep.h: Likewise.
4666 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4667 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4669 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4672 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4674 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4676 * sysdeps/i386/sysdep.h: Include <features.h>.
4677 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4680 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4682 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4684 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4687 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4689 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4690 (SETUP_PIC_REG): Use GET_PC_THUNK.
4691 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4694 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4696 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4697 for non-PIC compilation.
4698 (SETUP_PIC_REG): Add .p2align directive.
4699 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4700 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4701 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4702 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4703 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4704 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4705 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4706 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4707 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4708 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4709 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4710 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4711 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4712 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4713 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4714 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4715 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4716 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4717 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4718 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4719 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4720 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4721 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4722 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4723 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4724 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4725 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4726 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4727 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4728 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4729 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4730 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4731 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4732 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4733 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4734 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4735 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4736 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4737 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4738 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4739 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4741 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4743 * math/tst-CMPLX.c: Include <stdio.h>.
4745 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4747 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4749 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4750 * sysdeps/sparc/bits/mathdef.h: Likewise.
4752 2012-01-31 Marek Polacek <polacek@redhat.com>
4754 * libio/libio.h: Don't define _PARAMS.
4755 * locale/programs/config.h: Don't define PARAMS.
4756 * stdlib/strtol_l.c: Likewise.
4757 (__strtol_l): Remove PARAMS from the prototype.
4759 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4761 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4762 names. Just use the correct names. Remove unnecessary wrapper
4764 * malloc/arena.c: Likewise.
4765 * malloc/hooks.c: Likewise.
4767 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4768 ARENA_TEST says not to. Simplify test for creation of a new arena.
4769 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4771 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4773 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4775 (update_get_addr): New function.
4776 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4777 GET_ADDR_MODULE parameter.
4779 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4781 * crypt/cert.c: Remove __STDC__ conditionals.
4782 * crypt/crypt-entry.c: Likewise.
4783 * crypt/crypt_util.c: Likewise.
4784 * libio/filedoalloc.c: Likewise.
4785 * libio/fileops.c: Likewise.
4786 * libio/genops.c: Likewise.
4787 * libio/iofclose.c: Likewise.
4788 * libio/iofdopen.c: Likewise.
4789 * libio/iofopen.c: Likewise.
4790 * libio/iofopen64.c: Likewise.
4791 * libio/iogetdelim.c: Likewise.
4792 * libio/iopopen.c: Likewise.
4793 * libio/obprintf.c: Likewise.
4794 * libio/oldfileops.c: Likewise.
4795 * libio/oldiofclose.c: Likewise.
4796 * libio/oldiofdopen.c: Likewise.
4797 * libio/oldiofopen.c: Likewise.
4798 * libio/oldiopopen.c: Likewise.
4799 * libio/wfiledoalloc.c: Likewise.
4800 * libio/wgenops.c: Likewise.
4801 * locale/programs/xmalloc.c: Likewise.
4802 * misc/syslog.c: Likewise.
4803 * stdio-common/xbug.c: Likewise.
4804 * string/memchr.c: Likewise.
4805 * string/memcmp.c: Likewise.
4806 * string/memrchr.c: Likewise.
4807 * string/rawmemchr.c: Likewise.
4808 * sysdeps/posix/getcwd.c: Likewise.
4809 * time/strftime_l.c: Likewise.
4811 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4813 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4814 * config.make.in (config-cflags-sse2avx): Define.
4815 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4818 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4820 * scripts/config.guess: Update from upstream config git repository.
4821 * scripts/config.sub: Likewise.
4823 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4825 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4827 (R_TILEPRO_*, R_TILEGX_*): New macros.
4829 * scripts/firstversions.awk: Fix bug in version range handling.
4831 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4833 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4835 * include/sys/epoll.h: New file.
4836 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4839 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4841 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4842 Avoid unnecessary __WORDSIZE == 64 test.
4843 (fmaxf): Use VEX format if possible.
4848 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4849 * math/math_private.h: Remove libc_fegetround* and
4851 * sysdeps/i386/configure.in: Check for -msse2avx.
4852 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4853 also if SSE2AVX is defined.
4854 Remove libc_fegetround* and libc_fesetround*.
4855 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4856 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4857 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4859 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4860 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4861 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4862 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4863 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4865 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4867 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4869 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4871 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4873 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4876 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4878 * Makeconfig (libm): Define.
4879 * elf/Makefile: Add rules to build and run tst-relsort1.
4880 * elf/tst-relsort1.c: New file.
4881 * elf/tst-relsort1mod1.c: New file.
4882 * elf/tst-relsort1mod2.c: New file.
4884 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4886 * math/s_ldexp.c: Remove __STDC__ conditionals.
4887 * math/s_ldexpf.c: Likewise.
4888 * math/s_ldexpl.c: Likewise.
4889 * math/s_nextafter.c: Likewise.
4890 * math/s_nexttowardf.c: Likewise.
4891 * math/s_significand.c: Likewise.
4892 * math/s_significandf.c: Likewise.
4893 * math/s_significandl.c: Likewise.
4894 * math/w_jnl.c: Likewise.
4895 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4896 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4897 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4898 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4899 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4900 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4901 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4902 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4903 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4904 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4905 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4906 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4907 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4908 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4912 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4913 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4914 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4915 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4916 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4917 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4918 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4919 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4920 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4921 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4922 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4923 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4924 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4925 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4926 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4927 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4928 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4929 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4930 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4931 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4932 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4933 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4934 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4935 * sysdeps/ieee754/k_standard.c: Likewise.
4936 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4938 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4940 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4941 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4942 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4945 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4951 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4954 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4955 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4963 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4968 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4969 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4970 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4971 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4972 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4973 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4974 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4975 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4976 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4977 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4978 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4979 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4980 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4981 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4982 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4983 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4984 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4985 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4986 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4987 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4988 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4989 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4990 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4991 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4992 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4993 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4994 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4995 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4996 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4997 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4998 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4999 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5000 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5001 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5002 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5003 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5004 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5005 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5006 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5007 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5008 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5009 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5010 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5011 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5012 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5013 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5014 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5015 * sysdeps/ieee754/s_matherr.c: Likewise.
5016 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5017 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5018 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5019 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5021 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5023 * crypt/md5.h: Remove __STDC__ conditionals.
5024 * libio/libioP.h: Likewise.
5025 * locale/programs/config.h: Likewise.
5026 * sysdeps/generic/sysdep.h: Likewise.
5027 * sysdeps/i386/asm-syntax.h: Likewise.
5028 * sysdeps/s390/asm-syntax.h: Likewise.
5029 * sysdeps/unix/sysdep.h: Likewise.
5030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5033 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5035 * libio/libio.h: Remove __STDC__ conditionals.
5036 * malloc/obstack.h: Likewise.
5037 * math/complex.h: Likewise.
5038 * math/math.h: Likewise.
5039 * sysdeps/generic/_G_config.h: Likewise.
5040 * sysdeps/gnu/_G_config.h: Likewise.
5041 * sysdeps/mach/hurd/_G_config.h: Likewise.
5042 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5043 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5044 * sysdeps/sparc/bits/mathdef.h: Likewise.
5046 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5049 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5050 Clean up HAS_* macros.
5051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5052 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5054 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5056 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5057 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5058 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5059 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5060 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5062 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5064 * elf/tst-unique3.cc (gets): Remove declaration.
5065 * elf/tst-unique3lib.cc (gets): Likewise.
5066 * elf/tst-unique3lib2.cc (gets): Likewise.
5067 * elf/tst-unique4.cc (gets): Likewise.
5069 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5071 * include/stdio.h: Add C++ protection. Add gets declarations and
5073 * debug/tst-chk1.c: Don't declare gets here.
5074 * stdio-common/tst-gets.c: Likewise.
5076 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5078 * posix/glob: Remove directory.
5080 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5082 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5084 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5086 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5087 of the non-standard EPFNOSUPPORT.
5089 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5091 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5092 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5093 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5095 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5097 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5099 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5101 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5103 * nscd/grpcache.c (cache_addgr): Likewise.
5104 * nscd/hstcache.c (cache_addhst): Likewise.
5105 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5106 * nscd/pwdcache.c (cache_addpw): Likewise.
5107 * nscd/servicescache.c (cache_addserv): Likewise.
5109 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5111 * malloc/malloc.c: Various cleanups.
5112 * malloc/hooks.c: Likewise.
5114 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5115 * stdlib/bug-fmtmsg1.c: New file.
5117 * stdlib/fmtmsg.c (init): Add missing unlock.
5118 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5120 2012-01-12 Marek Polacek <polacek@redhat.com>
5122 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5125 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5127 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5128 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5129 macro to ensure uniqueness of label name.
5130 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5131 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5133 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5135 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5137 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5138 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5139 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5140 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5142 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5144 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5146 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5147 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5148 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5150 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5152 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5153 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5154 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5155 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5157 * math/bits/math-finite.h: Add ldexp support.
5159 2012-01-10 Marek Polacek <polacek@redhat.com>
5161 * locale/programs/localedef.h (show_archive_content): Add noreturn
5164 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5166 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5168 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5170 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5172 * io/Makefile (headers): Add bits/poll2.h.
5174 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5177 typo #include statement.
5179 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5181 * include/sys/cdefs.h: Define __attribute_alloc_size.
5182 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5183 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5184 * elf/pldd.c: Likewise.
5185 * iconv/iconv_charmap.c: Likewise.
5186 * iconv/iconvconfig.c: Likewise.
5187 * iconv/strtab.c: Likewise.
5188 * locale/programs/locale.c: Likewise.
5189 * locale/programs/localedef.h: Likewise.
5190 * locale/programs/simple-hash.c: Likewise.
5191 * nscd/nscd.h: Likewise.
5192 * nss/makedb.c: Likewise.
5193 * sysdeps/generic/ldconfig.h: Likewise.
5194 * locale/programs/localedef.c: Remove xmalloc prototype.
5195 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5197 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5199 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5202 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5204 * math/Makefile (tests): Add tst-CMPLX.
5205 * math/tst-CMPLX.c: New file.
5207 * math/complex.h (CMPLXL): Fix typo.
5209 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5210 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5212 * debug/tst-chk1.c: Add poll and ppoll tests.
5213 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5214 * include/sys/poll.h: Add hidden proto for ppoll.
5215 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5216 * sysdeps/mach/hurd/ppoll.c: Likewise.
5217 * io/ppoll.c: Likewise.
5218 * debug/poll_chk.c: New file.
5219 * debug/ppoll_chk.c: New file.
5220 * include/bits/poll2.h: New file.
5221 * io/bits/poll2.h: New file.
5224 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5226 * configure.in: static is always set to yes. Remove.
5227 * config.make.in: Don't set build-static.
5228 * Makeconfig: Remove use of build-static.
5229 * dlfcn/Makefile: Likewise.
5230 * elf/Makefile: Likewise.
5231 * math/Makefile: Likewise.
5232 * misc/Makefile: Likewise.
5233 * nptl/Makefile: Likewise.
5234 * sysdeps/mach/hurd/Makefile: Likewise.
5236 * configure.in: PWD_P is not used anymore.
5237 * config.make.in: Remove PWD_P entry.
5239 * configure.in: Remove last remnants of RANLIB.
5240 No need to check for signed size_t anymore.
5241 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5243 Remove __builtin_expect test because we require at least gcc 3.4.
5244 * aclocal.m4: Likewise.
5246 * wcsmbs/mbrtoc16.c: Implement using towc function.
5247 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5248 * wcsmbs/wcsmbsload.c: Likewise.
5249 * iconv/gconv_simple.c: Likewise.
5250 * iconv/gconv_int.h: Likewise.
5251 * iconv/gconv_builtin.h: Likewise.
5252 * iconv/iconv_prog.c: Remove CHAR16 handling.
5254 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5256 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5258 * configure.in: Remove --with-elf and --enable-bounded options.
5259 Dont set base_machine for ia64. More non-ELF conditions removed.
5260 Remove testing and setting of leading underscore information.
5261 * config.make.in (build-bounded): Set to no.
5262 * config.h.in: Remove NO_UNDERSCORES entry.
5263 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5265 * csu/start.c: Remove !NO_UNDERSCORE code.
5266 * locale/localeinfo.h: Likewise.
5267 * sysdeps/generic/machine-gmon.h: Likewise.
5268 * sysdeps/generic/sysdep.h: Likewise.
5269 * sysdeps/i386/sysdep.h: Likewise.
5270 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5271 * sysdeps/mach/sysdep.h: Likewise.
5272 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5273 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5274 * sysdeps/sh/sysdep.h: Likewise.
5275 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5276 * sysdeps/unix/i386/sysdep.S: Likewise.
5277 * sysdeps/unix/sparc/start.c: Likewise.
5278 * sysdeps/unix/sparc/sysdep.S: Likewise.
5279 * sysdeps/unix/sparc/sysdep.h: Likewise.
5280 * sysdeps/unix/start.c: Likewise.
5281 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5282 * sysdeps/x86_64/sysdep.h: Likewise.
5284 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5287 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5289 * argp/argp-fmtstream.h: Use const instead __const.
5290 * argp/argp.h: Likewise.
5291 * assert/assert.h: Likewise.
5292 * bits/fenv.h: Likewise.
5293 * bits/sched.h: Likewise.
5294 * bits/sigset.h: Likewise.
5295 * bits/sigthread.h: Likewise.
5296 * catgets/nl_types.h: Likewise.
5297 * conform/data/pthread.h-data: Likewise.
5298 * crypt/crypt-private.h: Likewise.
5299 * crypt/crypt.h: Likewise.
5300 * crypt/crypt_util.c: Likewise.
5301 * ctype/ctype.h: Likewise.
5302 * debug/execinfo.h: Likewise.
5303 * debug/mbsnrtowcs_chk.c: Likewise.
5304 * debug/mbsrtowcs_chk.c: Likewise.
5305 * debug/wcsnrtombs_chk.c: Likewise.
5306 * debug/wcsrtombs_chk.c: Likewise.
5307 * debug/wcstombs_chk.c: Likewise.
5308 * dirent/dirent.h: Likewise.
5309 * dlfcn/dlfcn.h: Likewise.
5310 * elf/neededtest4.c: Likewise.
5311 * grp/grp.h: Likewise.
5312 * gshadow/gshadow.h: Likewise.
5313 * iconv/gconv.h: Likewise.
5314 * iconv/gconv_int.h: Likewise.
5315 * iconv/gconv_simple.c: Likewise.
5316 * iconv/iconv.h: Likewise.
5317 * iconv/loop.c: Likewise.
5318 * iconv/skeleton.c: Likewise.
5319 * include/aio.h: Likewise.
5320 * include/aliases.h: Likewise.
5321 * include/argz.h: Likewise.
5322 * include/arpa/inet.h: Likewise.
5323 * include/assert.h: Likewise.
5324 * include/dirent.h: Likewise.
5325 * include/dlfcn.h: Likewise.
5326 * include/execinfo.h: Likewise.
5327 * include/fcntl.h: Likewise.
5328 * include/fenv.h: Likewise.
5329 * include/glob.h: Likewise.
5330 * include/grp.h: Likewise.
5331 * include/libintl.h: Likewise.
5332 * include/mntent.h: Likewise.
5333 * include/netdb.h: Likewise.
5334 * include/pwd.h: Likewise.
5335 * include/rpc/netdb.h: Likewise.
5336 * include/sched.h: Likewise.
5337 * include/search.h: Likewise.
5338 * include/shadow.h: Likewise.
5339 * include/signal.h: Likewise.
5340 * include/stdio.h: Likewise.
5341 * include/stdlib.h: Likewise.
5342 * include/string.h: Likewise.
5343 * include/sys/socket.h: Likewise.
5344 * include/sys/stat.h: Likewise.
5345 * include/sys/statfs.h: Likewise.
5346 * include/sys/statvfs.h: Likewise.
5347 * include/sys/syslog.h: Likewise.
5348 * include/sys/time.h: Likewise.
5349 * include/sys/uio.h: Likewise.
5350 * include/time.h: Likewise.
5351 * include/unistd.h: Likewise.
5352 * include/utmp.h: Likewise.
5353 * include/wchar.h: Likewise.
5354 * include/wctype.h: Likewise.
5355 * inet/aliases.h: Likewise.
5356 * inet/arpa/inet.h: Likewise.
5357 * inet/netinet/ether.h: Likewise.
5358 * inet/netinet/in.h: Likewise.
5359 * intl/libintl.h: Likewise.
5360 * io/bits/fcntl2.h: Likewise.
5361 * io/fcntl.h: Likewise.
5362 * io/ftw.h: Likewise.
5363 * io/sys/poll.h: Likewise.
5364 * io/sys/stat.h: Likewise.
5365 * io/sys/statfs.h: Likewise.
5366 * io/sys/statvfs.h: Likewise.
5367 * io/utime.h: Likewise.
5368 * libio/bits/stdio.h: Likewise.
5369 * libio/bits/stdio2.h: Likewise.
5370 * libio/libio.h: Likewise.
5371 * libio/libioP.h: Likewise.
5372 * libio/stdio.h: Likewise.
5373 * locale/lc-ctype.c: Likewise.
5374 * locale/locale.h: Likewise.
5375 * login/utmp.h: Likewise.
5376 * malloc/arena.c: Likewise.
5377 * malloc/malloc.c: Likewise.
5378 * malloc/malloc.h: Likewise.
5379 * malloc/mcheck.c: Likewise.
5380 * malloc/mtrace.c: Likewise.
5381 * math/bits/mathcalls.h: Likewise.
5382 * math/fenv.h: Likewise.
5383 * math/math_private.h: Likewise.
5384 * misc/bits/error.h: Likewise.
5385 * misc/bits/syslog.h: Likewise.
5386 * misc/err.h: Likewise.
5387 * misc/error.h: Likewise.
5388 * misc/fstab.h: Likewise.
5389 * misc/mntent.h: Likewise.
5390 * misc/regexp.h: Likewise.
5391 * misc/search.h: Likewise.
5392 * misc/sgtty.h: Likewise.
5393 * misc/sys/mman.h: Likewise.
5394 * misc/sys/syslog.h: Likewise.
5395 * misc/sys/uio.h: Likewise.
5396 * misc/sys/xattr.h: Likewise.
5397 * misc/ttyent.h: Likewise.
5398 * nis/rpcsvc/ypclnt.h: Likewise.
5399 * nss/nss.h: Likewise.
5400 * posix/bits/unistd.h: Likewise.
5401 * posix/fnmatch.h: Likewise.
5402 * posix/glob.h: Likewise.
5403 * posix/sched.h: Likewise.
5404 * posix/spawn.h: Likewise.
5405 * posix/sys/wait.h: Likewise.
5406 * posix/unistd.h: Likewise.
5407 * posix/wordexp.h: Likewise.
5408 * pwd/pwd.h: Likewise.
5409 * resolv/netdb.h: Likewise.
5410 * resource/sys/resource.h: Likewise.
5411 * rt/aio.h: Likewise.
5412 * rt/bits/mqueue2.h: Likewise.
5413 * rt/mqueue.h: Likewise.
5414 * shadow/shadow.h: Likewise.
5415 * signal/signal.h: Likewise.
5416 * socket/send.c: Likewise.
5417 * socket/sendto.c: Likewise.
5418 * socket/sys/socket.h: Likewise.
5419 * stdio-common/printf.h: Likewise.
5420 * stdlib/bits/stdlib.h: Likewise.
5421 * stdlib/fmtmsg.h: Likewise.
5422 * stdlib/monetary.h: Likewise.
5423 * stdlib/stdlib.h: Likewise.
5424 * stdlib/ucontext.h: Likewise.
5425 * streams/stropts.h: Likewise.
5426 * string/argz.h: Likewise.
5427 * string/bits/string2.h: Likewise.
5428 * string/string.h: Likewise.
5429 * string/strings.h: Likewise.
5430 * sunrpc/rpc/auth.h: Likewise.
5431 * sunrpc/rpc/auth_des.h: Likewise.
5432 * sunrpc/rpc/clnt.h: Likewise.
5433 * sunrpc/rpc/netdb.h: Likewise.
5434 * sunrpc/rpc/pmap_clnt.h: Likewise.
5435 * sunrpc/rpc/xdr.h: Likewise.
5436 * sysdeps/generic/inttypes.h: Likewise.
5437 * sysdeps/generic/net/if.h: Likewise.
5438 * sysdeps/generic/sys/swap.h: Likewise.
5439 * sysdeps/gnu/net/if.h: Likewise.
5440 * sysdeps/gnu/utmpx.h: Likewise.
5441 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5442 * sysdeps/i386/i486/bits/string.h: Likewise.
5443 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5444 * sysdeps/s390/bits/string.h: Likewise.
5445 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5446 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5447 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5448 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5449 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5450 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5451 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5452 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5453 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5454 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5455 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5456 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5457 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5458 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5459 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5460 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5461 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5462 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5463 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5464 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5465 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5466 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5467 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5468 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5469 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5470 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5471 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5472 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5473 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5474 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5475 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5476 * sysvipc/sys/ipc.h: Likewise.
5477 * sysvipc/sys/msg.h: Likewise.
5478 * sysvipc/sys/sem.h: Likewise.
5479 * sysvipc/sys/shm.h: Likewise.
5480 * termios/termios.h: Likewise.
5481 * time/sys/time.h: Likewise.
5482 * time/time.h: Likewise.
5483 * wcsmbs/bits/wchar2.h: Likewise.
5484 * wcsmbs/uchar.h: Likewise.
5485 * wcsmbs/wchar.h: Likewise.
5486 * wctype/wctype.h: Likewise.
5489 * Makeconfig: Remove all but ELF support including AIX support.
5490 * Makerules: Likewise.
5491 * config.h.in: Likewise.
5492 * config.make.in: Likewise.
5493 * configure: Likewise.
5494 * configure.in: Likewise.
5495 * csu/Makefile: Likewise.
5496 * csu/version.c: Likewise.
5497 * debug/Makefile: Likewise.
5498 * dlfcn/Makefile: Likewise.
5499 * elf/Makefile: Likewise.
5500 * extra-lib.mk: Likewise.
5501 * iconv/Makefile: Likewise.
5502 * include/libc-symbols.h: Likewise.
5503 * include/shlib-compat.h: Likewise.
5504 * resolv/Makefile: Likewise.
5505 * resolv/res_libc.c: Likewise.
5506 * rt/Makefile: Likewise.
5507 * sysdeps/i386/asm-syntax.h: Likewise.
5508 * sysdeps/i386/sysdep.h: Likewise.
5509 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5510 * sysdeps/mach/sysdep.h: Likewise.
5511 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5512 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5513 * sysdeps/s390/asm-syntax.h: Likewise.
5514 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5515 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5516 * sysdeps/sh/sysdep.h: Likewise.
5517 * sysdeps/unix/sparc/sysdep.h: Likewise.
5518 * sysdeps/wordsize-32/divdi3.c: Likewise.
5519 * sysdeps/x86_64/sysdep.h: Likewise.
5521 * argp/Versions: Remove _argp_unlock_xxx.
5524 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5525 * abilist/libBrokenLocale.abilist: Likewise.
5526 * abilist/libanl.abilist: Likewise.
5527 * abilist/libc.abilist: Likewise.
5528 * abilist/libcrypt.abilist: Likewise.
5529 * abilist/libdl.abilist: Likewise.
5530 * abilist/libm.abilist: Likewise.
5531 * abilist/libnsl.abilist: Likewise.
5532 * abilist/libpthread.abilist: Likewise.
5533 * abilist/libresolv.abilist: Likewise.
5534 * abilist/librt.abilist: Likewise.
5535 * abilist/libthread_db.abilist: Likewise.
5536 * abilist/libutil.abilist: Likewise.
5537 * abilist/libnss_db.abilist: New file.
5539 * scripts/abilist.awk: Add support for indirect functions.
5541 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5543 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5545 * shlib-versions: Remove entries for ports architectures.
5547 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5549 * elf/stackguard-macros.h: Remove support for IA-64.
5550 * elf/tst-auditmod1.c: Likewise.
5551 * sysdeps/generic/ldsodefs.h: Likewise.
5553 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5554 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5558 * configure.in: Remove --enable-omitfp support.
5560 * config.make.in: Likewise.
5561 * Makeconfig: Likewise.
5562 * manual/install.texi: Likewise.
5564 In case anyone cares, the IA-64 architecture could move to ports.
5565 * sysdeps/ia64/*: Removed.
5566 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5567 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5570 * configure.in: Remove entries for unsupported architectures.
5573 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5574 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5576 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5577 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5578 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5579 fall back to using wcrtomb.
5580 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5581 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5583 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5584 * wcsmbs/tst-c16c32-1.c: New file.
5586 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5589 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5591 * elf/tst-unique3.cc: Add explicit declaration of gets.
5592 * elf/tst-unique3lib.cc: Likewise.
5593 * elf/tst-unique3lib2.cc: Likewise.
5594 * elf/tst-unique4.cc: Likewise.
5596 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5598 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5601 * assert/assert.h (static_assert): Don't define for C++.
5602 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5603 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5605 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5607 * iconv/loop.c (single loop): Fix assertion in storing of
5610 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5612 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5614 * posix/getconf.c: Update copyright year.
5615 * nss/getent.c: Likewise.
5616 * nss/makedb.c: Likewise.
5617 * iconv/iconvconfig.c: Likewise.
5618 * iconv/iconv_prog.c: Likewise.
5619 * elf/ldconfig.c: Likewise.
5620 * elf/pldd.c: Likewise.
5621 * elf/sotruss.ksh: Likewise.
5622 * catgets/gencat.c: Likewise.
5623 * csu/version.c: Likewise.
5624 * elf/ldd.bash.in: Likewise.
5625 * elf/sprof.c (print_version): Likewise.
5626 * locale/programs/locale.c: Likewise.
5627 * locale/programs/localedef.c: Likewise.
5628 * login/programs/pt_chown.c: Likewise.
5629 * nscd/nscd.c (print_version): Likewise.
5630 * debug/xtrace.sh: Likewise.
5631 * malloc/memusage.sh: Likewise.
5632 * malloc/mtrace.pl: Likewise.
5633 * debug/catchsegv.sh: Likewise.
5635 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5637 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5640 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5643 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5644 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5646 * iconv/gconv_int.h: Likewise.
5647 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5648 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5649 from libc for GLIBC_2.16.
5650 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5651 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5652 * wcsmbs/uchar.h: Really define mbstate_t.
5653 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5654 * wcsmbs/c16rtomb.c: New file.
5655 * wcsmbs/mbrtoc16.c: New file.
5656 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5658 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5659 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5661 * wcsmbs/wchar.h: Add missing __restrict.
5663 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5666 * time/Makefile (routines): Add timespec_get.
5667 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5668 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5669 timespec for ISO C11.
5670 * time/timespec_get.c: New file.
5671 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5672 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5675 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5676 * stdlib/stdlib.h: Declare aligned_alloc.
5677 * Versions.def: Add GLIBC_2.16 for libc.
5678 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5681 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5684 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5688 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5691 * assert/assert.h (static_assert): Define.
5693 * version.h: Update for 2.16 development version.
5696 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5699 * version.h (RELEASE): Bump for 2.15 release.
5700 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5702 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5703 Patch by Marek Polacek <mpolacek@redhat.com>.
5705 * bits/byteswap.h: Protect long long constants with __extension__.
5706 * sysdeps/i386/bits/byteswap.h: Likewise.
5707 * sysdeps/ia64/bits/byteswap.h: Likewise.
5708 * sysdeps/s390/bits/byteswap.h: Likewise.
5709 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5711 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5714 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5716 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5718 2011-12-23 Marek Polacek <polacek@redhat.com>
5720 * elf/dl-addr.c (determine_info): Add inline keyword.
5721 * elf/tst-auditmod4b.c (check_avx): Likewise.
5722 * elf/tst-auditmod6b.c (check_avx): Likewise.
5723 * elf/tst-auditmod6c.c (check_avx): Likewise.
5724 * elf/tst-auditmod7b.c (check_avx): Likewise.
5726 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5728 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5731 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5734 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5735 processing for last bytes.
5737 2011-08-06 Bruno Haible <bruno@clisp.org>
5740 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5741 U+0385, not to U+1FEE.
5744 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5745 entry for U+00A5 U+0301.
5747 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5750 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5751 buffer for the output is too small.
5753 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5757 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5758 SSE flags if possible.
5760 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5763 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5764 processing for last bytes.
5766 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5768 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5769 (syscall-list-default-options, syscall-list-default-condition)
5770 (syscall-list-includes): Define.
5771 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5772 list of ABIs and options and #if conditions for each ABI. Do not
5773 handle common syscalls between ABIs specially.
5774 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5776 (syscall-list-variants, syscall-list-32bit-options)
5777 (syscall-list-32bit-condition, syscall-list-64bit-options)
5778 (syscall-list-64bit-condition): Define.
5779 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5780 (syscall-list-variants, syscall-list-32bit-options)
5781 (syscall-list-32bit-condition, syscall-list-64bit-options)
5782 (syscall-list-64bit-condition): Define.
5783 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5785 (syscall-list-variants, syscall-list-32bit-options)
5786 (syscall-list-32bit-condition, syscall-list-64bit-options)
5787 (syscall-list-64bit-condition): Define.
5788 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5790 (syscall-list-variants, syscall-list-32bit-options)
5791 (syscall-list-32bit-condition, syscall-list-64bit-options)
5792 (syscall-list-64bit-condition): Define.
5794 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5796 * locale/iso-639.def: Add brx entry.
5799 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5800 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5802 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5803 __feraiseexcept_renamed.
5805 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5808 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5809 EPOLLET with unsigned values.
5810 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5811 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5813 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5814 to large cancellation.
5815 * math/s_cacoshf.c: Likewise.
5816 * math/s_cacoshl.c: Likewise.
5818 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5822 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5823 * math/s_cacoshf.c: Likewise.
5824 * math/s_cacoshl.c: Likewise.
5826 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5829 * iconv/gconv.h: Define __GCONV_SWAP.
5830 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5831 * iconvdata/utf-16.c: Likewise.
5832 * iconvdata/utf-32.c: Likewise.
5834 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5837 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5838 numerator after shifting it by one limb.
5840 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5842 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5843 under [__USE_EXTERN_INLINES].
5845 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5848 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5850 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5852 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5853 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5855 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5856 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5857 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5858 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5859 for strncasecmp/strncasecmp_l compilation.
5860 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5861 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5863 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5866 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5869 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5872 * time/tzfile.c (__tzfile_read): Check values from file header.
5874 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5876 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5877 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5878 * powerpc/powerpc32/dl-start.S: Likewise.
5879 * powerpc/powerpc32/elf/start.S: Likewise.
5880 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5881 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5882 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5883 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5884 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5885 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5886 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5887 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5888 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5889 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5890 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5891 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5892 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5893 * powerpc/powerpc32/memset.S: Likewise.
5894 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5895 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5896 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5897 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5898 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5899 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5900 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5901 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5902 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5903 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5904 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5905 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5906 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5908 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5910 * math/libm-test.inc: Added more nearbyint tests.
5911 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5912 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5913 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5914 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5916 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5918 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5921 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5923 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5924 Add wcscpy-ssse3 wcscpy-c.
5925 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5926 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5927 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5928 * sysdeps/x86_64/wcschr.S: New file.
5929 * sysdeps/x86_64/wcsrchr.S: New file.
5930 * string/test-strcmp.c: Remove checking of wcscmp function for
5932 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5933 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5934 wcsrchr-sse2 wcsrchr-c.
5935 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5936 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5937 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5938 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5939 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5940 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5941 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5942 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5943 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5944 * wcsmbc/wcschr.c (WCSCHR): New macro.
5946 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5948 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5949 * wcsmbs/test-wcsrchr.c: New file.
5950 * string/test-strrchr.c: Add wcsrchr support.
5952 * wcsmbs/test-wcscpy.c: New file.
5953 * string/test-strcpy.c: Add wcscpy support.
5956 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5958 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5961 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5964 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5966 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5968 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5969 Minor optimizations.
5971 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5972 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5973 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5975 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5977 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5978 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5979 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5980 for gcc to avoid warnings.
5981 * inet/Makefile (tests): Add tst-checks.
5982 * inet/tst-checks.c: New file.
5984 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5987 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5990 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5991 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5993 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5995 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5997 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6000 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6002 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6004 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6005 conditional on GCC version.
6006 (__arch_compare_and_exchange_val_8_acq)
6007 (__arch_compare_and_exchange_val_16_acq)
6008 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6009 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6010 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6012 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6014 * sysdeps/sh/backtrace.c: New file.
6016 2011-12-02 Andreas Schwab <schwab@redhat.com>
6018 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6021 2011-12-01 Andreas Schwab <schwab@redhat.com>
6023 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6024 falling back to utime.
6026 2011-11-30 Andreas Schwab <schwab@redhat.com>
6028 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6029 expectations for float.
6031 2011-11-29 Andreas Schwab <schwab@redhat.com>
6033 * locale/weight.h (findidx): Add parameter len.
6034 * locale/weightwc.h (findidx): Likewise.
6035 * posix/fnmatch_loop.c (FCT): Adjust caller.
6036 * posix/regcomp.c (build_equiv_class): Likewise.
6037 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6038 * posix/regexec.c (check_node_accept_bytes): Likewise.
6039 * string/strcoll_l.c (STRCOLL): Likewise.
6040 * string/strxfrm_l.c (STRXFRM): Likewise.
6042 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6044 * Makefile.in: Remove CVSOPT handling.
6045 * configure.in: Remove use of AC_REVISION.
6046 * iconvdata/Makefile (distribute): No need to filter out CVS.
6047 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6050 2011-11-16 Andreas Schwab <schwab@redhat.com>
6052 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6053 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6054 [USE_AS_STRNCASECMP_L]: Likewise.
6055 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6056 NO_TLS_DIRECT_SEG_REFS.
6057 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6058 Fix argument offsets for non-PIC.
6059 [USE_AS_STRNCASECMP_L]: Likewise.
6060 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6061 NO_TLS_DIRECT_SEG_REFS.
6063 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6065 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6067 * locale/loadlocale.c (_nl_load_locale): Likewise.
6069 2011-11-15 Andreas Schwab <schwab@redhat.com>
6071 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6072 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6073 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6074 (SYSCALL_GETTIME): Set errno on error.
6076 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6077 count references to noai6ai_cached.
6079 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6081 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6083 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6084 FD_CLOEXEC for /proc/self/maps.
6086 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6087 FD_CLOEXEC for /proc/meminfo.
6089 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6092 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6093 FD_CLOEXEC for given file.
6095 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6097 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6098 FD_CLOEXEC for /etc/hosts.
6099 (_gethtent): Likewise.
6101 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6103 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6104 cancellation and set FD_CLOEXEC for /etc/netgroup.
6106 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6107 reading /etc/publickey.
6109 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6110 allow cancellation when reading /etc/group.
6112 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6114 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6116 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6117 when using data file.
6119 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6121 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6122 (write_nis_obj): Use "c" and "e" in fopen.
6124 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6126 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6128 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6130 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6132 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6135 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6137 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6139 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6141 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6142 file parsing and set FD_CLOEXEC.
6144 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6146 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6148 2011-11-14 Andreas Schwab <schwab@redhat.com>
6150 * malloc/arena.c (arena_get2): Don't call reused_arena when
6151 _int_new_arena failed.
6153 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6155 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6156 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6157 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6158 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6159 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6160 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6161 to compile strcasecmp and strncasecmp.
6162 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6163 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6165 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6167 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6169 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6170 locale-defines.sym to gen-as-const-headers.
6171 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6172 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6173 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6174 to compile strcasecmp and strncasecmp.
6175 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6176 strcasecmp_l and strncasecmp_l.
6177 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6178 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6179 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6180 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6181 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6182 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6183 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6184 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6185 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6186 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6187 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6189 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6191 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6192 result of SYSDEP_GETTIME_CPU to retval.
6193 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6194 parameter list to macro. Remove trailing semicolon. Adjust users.
6196 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6199 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6201 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6203 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6204 from unused variable.
6206 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6208 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6211 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6214 * sunrpc/rpc_prot.c (rejected): Fix case value.
6216 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6217 unsigned long long int to avoid warnings in shift.
6219 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6221 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6224 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6225 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6226 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6228 * nis/nis_table.c (nis_list): Use variable of correct type for
6229 result of __follow_path call.
6231 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6233 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6234 of math functions ceil, trunc, floor, round, and sqrt, when
6235 avaliable on the platform.
6236 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6238 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6239 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6240 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6242 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6244 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6245 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6247 2011-11-11 Roland McGrath <roland@hack.frob.com>
6249 * include/unistd.h: Fix __readlink return type.
6250 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6252 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6254 * stdlib/ucontext.h: Undo last change for makecontext.
6256 2011-11-11 Andreas Schwab <schwab@redhat.com>
6258 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6260 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6261 * setjmp/setjmp.h: Mark functions as non-leaf.
6262 * setjmp/bits/setjmp2.h: Likewise.
6263 * stdlib/ucontext.h: Likewise.
6265 2011-11-10 Andreas Schwab <schwab@redhat.com>
6267 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6268 (reused_arena): Don't check arena limit.
6269 (arena_get2): Atomically check arena limit.
6271 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6273 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6274 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6276 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6279 2011-11-07 Andreas Schwab <schwab@redhat.com>
6281 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6282 handler when locking.
6284 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6285 Fix size of allocated buffer.
6287 2011-11-04 Andreas Schwab <schwab@redhat.com>
6290 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6291 declarations for long double functions.
6292 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6294 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6296 2011-11-03 Andreas Schwab <schwab@redhat.com>
6298 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6301 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6304 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6306 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6308 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6310 * include/alloca.h (stackinfo_alloca_round): Define.
6311 (extend_alloca): Use it.
6312 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6313 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6316 * scripts/check-local-headers.sh: Ignore libaudit.h.
6318 * nscd/Makefile (extra-objs): Make recursively expanded.
6320 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6322 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6323 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6325 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6326 * posix/tst-rfc3484-2.c: Likewise.
6327 * posix/tst-rfc3484-3.c: Likewise.
6329 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6331 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6333 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6334 process_vm_writev from libc using GLIBC_2.15 version.
6336 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6338 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6340 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6343 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6346 * nss/getent.c (initgroups_keys): Show error message in case no group
6349 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6350 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6351 __bump_nl_timestamp.
6352 * nscd/connections (nscd_init): When host database is served open
6353 netlink socket and request notification about configuration changes.
6354 (main_loop_poll): Track netlink file descriptor and bump timestamp
6355 in case data becomes available.
6356 (main_loop_epoll): Likewise.
6357 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6358 (database_pers_head): Add extra_data fileds.
6359 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6360 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6361 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6363 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6364 in6ai data, call __free_in6ai.
6365 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6367 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6368 interface information. Reuse previous data if netlink timestamp
6370 (__bump_nl_timestamp): New function.
6371 (__free_in6ai): New function.
6373 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6375 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6376 close_not_cancel_no_status here.
6377 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6379 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6382 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6385 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6386 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6387 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6389 2011-07-03 Andreas Jaeger <aj@suse.de>
6392 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6393 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6394 * math/libm-test.inc (sin_test): Add test case.
6396 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6399 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6400 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6402 * elf/chroot_canon.c (chroot_canon): Cleanups.
6404 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6407 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6408 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6410 * string/test-strchr.c: Make usable for strchrnul testing.
6411 * string/test-strchrnul.c: New file.
6412 * string/Makefile (strop-tests): Add strchrnul.
6414 * po/it.po: Update from translation team.
6415 * po/es.po: Likewise.
6417 2011-10-28 Ulrich Drepper <drepper@gmail.com>
6419 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6420 the three constants needed as parameters. Drop the others.
6421 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6422 __m128i_strloadu_tolower.
6423 Create and initialize variable zero and use it in all the places
6424 where _mm_setzero_si128 was used.
6426 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6427 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6428 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6429 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6431 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6432 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6433 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6434 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6435 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6436 __mpranred, __mptan.
6437 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6438 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6439 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6440 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6441 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6442 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6443 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6444 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6445 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6447 2011-10-28 Andreas Schwab <schwab@redhat.com>
6449 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6451 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6454 wide char related routines to wcsmbs subdir.
6456 2011-10-27 Andreas Schwab <schwab@redhat.com>
6459 * misc/sys/cdefs.h (__THROWNL): Define.
6460 * posix/unistd.h: Use __THREADNL instead of __THREAD
6461 for memory synchronization functions.
6463 2011-10-26 Roland McGrath <roland@hack.frob.com>
6466 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6468 * manual/stdio.texi (Obstack Streams): Node removed.
6470 2011-10-26 Andreas Schwab <schwab@redhat.com>
6472 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6473 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6474 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6476 * math/math_private.h (math_force_eval): Allow non-addressable
6478 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6480 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6482 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6485 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6486 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6487 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6488 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6489 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6490 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6491 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6492 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6494 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6495 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6496 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6497 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6498 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6499 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6500 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6501 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6502 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6503 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6504 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6505 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6506 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6507 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6508 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6509 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6510 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6511 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6512 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6514 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6515 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6517 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6518 place. Use VEX encoding when compiling for AVX.
6520 2011-10-25 Andreas Schwab <schwab@redhat.com>
6522 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6523 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6525 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6527 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6529 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6530 useless if() expression.
6531 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6532 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6533 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6534 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6535 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6536 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6540 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6541 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6542 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6543 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6544 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6545 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6546 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6547 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6548 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6549 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6551 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6553 2011-10-25 Andreas Schwab <schwab@redhat.com>
6555 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6557 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6559 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6561 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6562 .text section. Avoid duplicate constants.
6563 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6565 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6566 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6567 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6570 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6571 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6572 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6573 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6574 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6575 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6576 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6577 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6578 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6579 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6580 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6581 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6582 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6583 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6584 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6585 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6586 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6587 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6588 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6589 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6590 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6591 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6592 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6593 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6594 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6595 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6596 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6597 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6598 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6599 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6600 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6601 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6602 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6603 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6604 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6605 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6606 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6607 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6609 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6611 * sysdeps/x86_64/dla.h: Move to ...
6612 * sysdeps/x86_64/fpu/dla.h: ...here.
6613 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6614 situations. Use __builtin_fma only for gcc 4.6 and up.
6616 * config.make.in: Add have-mfma4 entry.
6617 * configure.in: Substitute libc_cv_cc_fma4.
6618 * math/Makefile (dbl-only-routines): Add sincostab.
6619 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6620 Use __sincostab not sincos.
6621 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6623 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6624 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6625 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6626 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6628 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6629 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6630 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6631 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6634 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6636 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6637 define aliases when function name is a macro.
6638 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6639 sysdeps/ieee754/dbl-64/sincos.tbl.
6640 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6641 fma4-enabled routines.
6642 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6643 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6644 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6645 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6646 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6647 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6648 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6649 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6650 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6651 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6652 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6653 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6654 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6655 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6656 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6657 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6658 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6659 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6660 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6661 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6662 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6663 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6664 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6665 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6667 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6668 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6669 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6670 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6671 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6673 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6675 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6676 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6681 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6682 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6684 2011-10-24 Andreas Schwab <schwab@redhat.com>
6686 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6688 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6690 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6692 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6694 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6696 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6697 Remove unused variable magic_bits.
6698 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6700 * string/strnlen.c: Define and use STRNLEN macro.
6701 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6702 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6703 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6704 * wcsmbs/wcslen.c: Define and use WCSLEN.
6705 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6706 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6707 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6708 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6709 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6710 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6711 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6713 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6716 strnlen-sse2-no-bsf.
6717 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6718 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6719 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6720 Add strnlen support.
6721 (USE_AS_STRNLEN): New macro.
6722 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6723 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6724 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6725 * sysdeps/x86_64/wcslen.S: New file.
6727 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6729 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6730 XMM-moves are used for copying on small sizes.
6732 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6734 * wcsmbs/Makefile (strop-tests): Add wcschr.
6735 * wcsmbs/test-wcschr.c: New file.
6736 * string/test-strchr.c: Update.
6740 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6742 * wcsmbs/Makefile (strop-tests): Add wcslen.
6743 * wcsmbs/test-wcslen.c: New file.
6744 * string/test-strlen.c: Update.
6748 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6750 * po/it.po: Update from translation team.
6752 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6754 * sysdeps/x86_64/wcscmp.S: Update.
6755 Fix wrong comparison semantics.
6756 wcscmp shall use signed comparison not unsigned.
6757 Don't use substraction to avoid overflow bug.
6758 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6759 * wcsmbc/wcscmp.c: Likewise.
6760 * string/test-strcmp.c: Likewise.
6761 Add new tests to check cases with negative values.
6763 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6765 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6766 * sysdeps/x86_64/dla.h: ...here. New file.
6767 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6772 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6773 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6774 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6777 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6779 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6780 __ynl_finite aliases.
6782 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6786 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6788 [DLA_FMA] (EMULV): Use DLA_FMA.
6789 [DLA_FMA] (MUL12): Use EMULV.
6790 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6791 that are not needed.
6792 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6793 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6794 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6795 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6796 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6797 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6800 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6802 * math/s_nan.c: Undef __nan.
6803 * math/s_nanf.c: Undef __nanf.
6804 * math/s_nanl.c: Undef __nanl.
6805 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6808 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6810 * math/s_catan.c: Add branch predictions.
6811 * math/s_catanf.c: Likewise.
6812 * math/s_catanh.c: Likewise.
6813 * math/s_catanhf.c: Likewise.
6814 * math/s_catanhl.c: Likewise.
6815 * math/s_catanl.c: Likewise.
6816 * math/s_cexp.c: Likewise.
6817 * math/s_cexpf.c: Likewise.
6818 * math/s_cexpl.c: Likewise.
6819 * math/s_clog.c: Likewise.
6820 * math/s_clog10.c: Likewise.
6821 * math/s_clog10f.c: Likewise.
6822 * math/s_clog10l.c: Likewise.
6823 * math/s_clogf.c: Likewise.
6824 * math/s_clogl.c: Likewise.
6825 * math/s_csqrt.c: Likewise.
6826 * math/s_csqrtf.c: Likewise.
6827 * math/s_csqrtl.c: Likewise.
6828 * math/s_ctanf.c: Likewise.
6829 * math/s_ctanh.c: Likewise.
6830 * math/s_ctanhf.c: Likewise.
6831 * math/s_ctanhl.c: Likewise.
6832 * math/s_ctanl.c: Likewise.
6834 * math/math_private.h: Define __nan, __nanf, __nanl.
6835 * math/s_cacosh.c: Include <math_private.h>.
6836 * math/s_cacoshl.c: Likewise.
6837 * math/s_casinh.c: Likewise.
6838 * math/s_casinhf.c: Likewise.
6839 * math/s_casinhl.c: Likewise.
6840 * math/s_ccos.c: Rely entire on ccosh.
6841 * math/s_ccosf.c: Rely entire on ccoshf.
6842 * math/s_ccosl.c: Rely entirely on ccoshl.
6843 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6844 Remove tests for FE_INVALID.
6845 * math/s_ccoshf.c: Likewise.
6846 * math/s_ccoshl.c: Likewise.
6847 * math/s_csin.c: Likewise.
6848 * math/s_csinf.c: Likewise.
6849 * math/s_csinh.c Likewise.
6850 * math/s_csinhf.c: Likewise.
6851 * math/s_csinhl.c: Likewise.
6852 * math/s_csinl.c: Likewise.
6853 * math/s_ctan.c: Likewise.
6854 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6855 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6856 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6858 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6861 compilation problems.
6863 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6866 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6868 * sysdeps/i386/configure.in: Test for -mfma4 option.
6869 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6870 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6871 COMMON_CPUID_INDEX_80000001.
6872 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6873 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6874 use it if FMA3 is not supported.
6875 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6877 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6878 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6880 2011-10-20 Andreas Schwab <schwab@redhat.com>
6883 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6884 it would create a cycle with a link time dependency.
6886 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6888 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6890 * string/Makefile (strop-tests): Add rawmemchr.
6891 * string/test-rawmemchr.c: New file.
6893 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6894 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6895 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6896 when compiling str{,n}casecmp and when AVX is available. Hook up
6897 new optimized code in initializers.
6899 2011-10-19 Andreas Schwab <schwab@redhat.com>
6901 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6902 __feraiseexcept instead of feraiseexcept.
6904 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6906 * math/math_private.h: Define defaults for libc_fetestexcept and
6908 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6909 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6910 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6911 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6912 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6913 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6914 libc_fetestexcept and libc_feupdateenv.
6916 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6917 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6918 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6919 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6920 libc_feholdexcept_setround.
6922 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6923 Add s_nearbyint-c and s_nearbyintf-c.
6924 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6926 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6927 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6928 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6929 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6931 * math/math_private.h: Define defaults for libc_fegetround,
6932 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6933 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6934 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6935 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6936 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6938 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6939 Remove comments and hacks for old compiler versions.
6940 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6941 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6944 2011-10-18 Andreas Schwab <schwab@redhat.com>
6946 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6947 (__feraiseexcept_renamed): Add __NTH.
6948 (feraiseexcept): Add __NTH. Rename local variables to fix
6949 namespace violations.
6951 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6953 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6955 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6957 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6958 recently added interfaces.
6959 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6961 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6962 about macro parameter expansion.
6964 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6965 __NO_MATH_INLINES is defined. Cleanups.
6967 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6968 and __floorf is target has SSE4.1.
6969 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6970 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6971 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6972 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6974 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6978 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6980 2011-10-17 Andreas Schwab <schwab@redhat.com>
6982 * misc/sys/cdefs.h: Fix last change.
6984 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6987 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6989 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6991 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6992 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6993 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6994 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6995 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6996 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6997 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6998 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6999 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7000 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7001 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7002 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7003 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7004 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7005 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7006 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7007 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7008 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7009 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7010 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7011 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7012 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7014 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7015 ceil, ceilf, floor, floorf.
7017 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7018 Perform IRELATIVE relocations last.
7020 * elf/do-rel.h: Add another parameter nrelative, replacing the
7021 local variable with the same name. Change name of the function
7022 to end in Rel or Rela (uppercase).
7023 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7024 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7025 elf_dynamic_do_##reloc function.
7027 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7029 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7030 is sufficient, at least on modern CPUs.
7032 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7034 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7035 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7037 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7039 * math/bits/math-finite.h: Add entries for exp.
7040 * math/e_expl.c: Add __*_finite alias.
7041 * sysdeps/i386/fpu/e_exp.S: Likewise.
7042 * sysdeps/i386/fpu/e_expf.S: Likewise.
7043 * sysdeps/i386/fpu/e_expl.c: Likewise.
7044 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7045 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7046 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7047 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7048 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7049 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7050 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7052 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7053 is sufficient, at least on modern CPUs.
7055 * ctype/ctype-info.c (__ctype_init): Define.
7056 * include/ctype.h (__ctype_init): Declare.
7057 (__ctype_b_loc): The variable is always initialized.
7058 (__ctype_toupper_loc): Likewise.
7059 (__ctype_tolower_loc): Likewise.
7060 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7061 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7063 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7065 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7067 * configure.in: Also look in $cxxmachine/include for C++ system
7070 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7072 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7073 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7074 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7075 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7076 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7077 (USE_AS_WMEMCMP): New macro.
7079 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7080 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7081 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7082 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7084 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7085 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7086 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7087 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7088 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7089 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7090 (USE_AS_WMEMCMP): New macro.
7091 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7092 * sysdeps/string/test-memcmp.c: Update.
7095 * wcsmbs/wmemcmp.c: Update.
7096 (WMEMCMP): New macro.
7099 2011-10-12 Andreas Jaeger <aj@suse.de>
7102 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7104 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7106 * libio/iofwide.c (do_length): Avoid warning.
7108 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7110 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7112 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7114 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7115 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7116 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7117 * sysdeps/i386/i686/fpu/e_log.S: New file.
7118 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7119 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7121 * ctype/ctype.h: Add support for inlined isXXX functions when
7124 2011-10-14 Andreas Schwab <schwab@redhat.com>
7126 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7128 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7130 2011-10-13 Roland McGrath <roland@hack.frob.com>
7133 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7135 2011-10-13 Andreas Schwab <schwab@redhat.com>
7137 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7138 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7141 * sysdeps/x86_64/memrchr.S: Check for zero size.
7143 * string/stratcliff.c: Add memrchr tests.
7145 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7147 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7148 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7149 rawmemchr-sse2 rawmemchr-sse2-bsf.
7150 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7151 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7152 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7153 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7154 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7155 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7156 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7157 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7158 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7159 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7160 * string/memrchr.c (MEMRCHR): New macro.
7162 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7164 Add integration with gcc's -ffinite-math-only and optimize wrapper
7166 * Versions.def: Define GLIBC_2.15 version for libm.
7167 * math/Makefile (headers): Add bits/math-finite.h.
7168 * math/bits/math-finite.h: New file.
7169 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7170 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7171 * math/e_acoshl.c: Add __*_finite alias.
7172 * math/e_acosl.c: Likewise.
7173 * math/e_asinl.c: Likewise.
7174 * math/e_atan2l.c: Likewise.
7175 * math/e_atanhl.c: Likewise.
7176 * math/e_coshl.c: Likewise.
7177 * math/e_exp10.c: Likewise.
7178 * math/e_exp10f.c: Likewise.
7179 * math/e_exp10l.c: Likewise.
7180 * math/e_exp2l.c: Likewise.
7181 * math/e_fmodl.c: Likewise.
7182 * math/e_gammal_r.c: Likewise.
7183 * math/e_hypotl.c: Likewise.
7184 * math/e_j0l.c: Likewise.
7185 * math/e_j1l.c: Likewise.
7186 * math/e_jnl.c: Likewise.
7187 * math/e_lgammal_r.c: Likewise.
7188 * math/e_log10l.c: Likewise.
7189 * math/e_log2l.c: Likewise.
7190 * math/e_logl.c: Likewise.
7191 * math/e_powl.c: Likewise.
7192 * math/e_sinhl.c: Likewise.
7193 * math/e_sqrtl.c: Likewise.
7194 * math/e_scalb.c: Completely rewritten and optimized.
7195 * math/e_scalbf.c: Likewise.
7196 * math/e_scalbl.c: Likewise.
7197 * math/w_acos.c: Likewise.
7198 * math/w_acosf.c: Likewise.
7199 * math/w_acosl.c: Likewise.
7200 * math/w_acosh.c: Likewise.
7201 * math/w_acoshf.c: Likewise.
7202 * math/w_acoshl.c: Likewise.
7203 * math/w_asin.c: Likewise.
7204 * math/w_asinf.c: Likewise.
7205 * math/w_asinl.c: Likewise.
7206 * math/w_atan2.c: Likewise.
7207 * math/w_atan2f.c: Likewise.
7208 * math/w_atan2l.c: Likewise.
7209 * math/w_atanh.c: Likewise.
7210 * math/w_atanhf.c: Likewise.
7211 * math/w_atanhl.c: Likewise.
7212 * math/w_exp10.c: Likewise.
7213 * math/w_exp10f.c: Likewise.
7214 * math/w_exp10l.c: Likewise.
7215 * math/w_fmod.c: Likewise.
7216 * math/w_fmodf.c: Likewise.
7217 * math/w_fmodl.c: Likewise.
7218 * math/w_j0.c: Likewise.
7219 * math/w_j0f.c: Likewise.
7220 * math/w_j0l.c: Likewise.
7221 * math/w_j1.c: Likewise.
7222 * math/w_j1f.c: Likewise.
7223 * math/w_j1l.c: Likewise.
7224 * math/w_jn.c: Likewise.
7225 * math/w_jnf.c: Likewise.
7226 * math/w_log.c: Likewise.
7227 * math/w_logf.c: Likewise.
7228 * math/w_logl.c: Likewise.
7229 * math/w_log10.c: Likewise.
7230 * math/w_log10f.c: Likewise.
7231 * math/w_log10l.c: Likewise.
7232 * math/w_log2.c: Likewise.
7233 * math/w_log2f.c: Likewise.
7234 * math/w_log2l.c: Likewise.
7235 * math/w_pow.c: Likewise.
7236 * math/w_powf.c: Likewise.
7237 * math/w_powl.c: Likewise.
7238 * math/w_remainder.c: Likewise.
7239 * math/w_remainderf.c: Likewise.
7240 * math/w_remainderl.c: Likewise.
7241 * math/w_scalb.c: Likewise.
7242 * math/w_scalbf.c: Likewise.
7243 * math/w_scalbl.c: Likewise.
7244 * math/w_sqrt.c: Likewise.
7245 * math/w_sqrtf.c: Likewise.
7246 * math/w_sqrtl.c: Likewise.
7247 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7248 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7250 * math/math_private.h: Declare __kernel_standard_f.
7251 * math/w_cosh.c: Remove cruft and optimize a bit.
7252 * math/w_coshf.c: Likewise.
7253 * math/w_coshl.c: Likewise.
7254 * math/w_exp2.c: Likewise.
7255 * math/w_exp2f.c: Likewise.
7256 * math/w_exp2l.c: Likewise.
7257 * math/w_hypot.c: Likewise.
7258 * math/w_hypotf.c: Likewise.
7259 * math/w_hypotl.c: Likewise.
7260 * math/w_lgamma.c: Likewise.
7261 * math/w_lgamma_r.c: Likewise.
7262 * math/w_lgammaf.c: Likewise.
7263 * math/w_lgammaf_r.c: Likewise.
7264 * math/w_lgammal.c: Likewise.
7265 * math/w_lgammal_r.c: Likewise.
7266 * math/w_sinh.c: Likewise.
7267 * math/w_sinhf.c: Likewise.
7268 * math/w_sinhl.c: Likewise.
7269 * math/w_tgamma.c: Likewise.
7270 * math/w_tgammaf.c: Likewise.
7271 * math/w_tgammal.c: Likewise.
7272 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7273 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7274 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7275 Minor optimizations. Pretty printing. Remove cruft.
7276 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7277 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7278 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7279 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7280 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7281 * sysdeps/i386/fpu/e_asin.S: Likewise.
7282 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7283 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7284 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7285 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7286 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7287 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7288 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7289 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7290 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7291 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7292 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7293 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7294 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7295 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7296 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7297 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7298 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7299 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7300 * sysdeps/i386/fpu/e_log.S: Likewise.
7301 * sysdeps/i386/fpu/e_log10.S: Likewise.
7302 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7303 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7304 * sysdeps/i386/fpu/e_log2.S: Likewise.
7305 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7306 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7307 * sysdeps/i386/fpu/e_logf.S: Likewise.
7308 * sysdeps/i386/fpu/e_logl.S: Likewise.
7309 * sysdeps/i386/fpu/e_pow.S: Likewise.
7310 * sysdeps/i386/fpu/e_powf.S: Likewise.
7311 * sysdeps/i386/fpu/e_powl.S: Likewise.
7312 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7313 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7314 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7315 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7316 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7317 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7318 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7319 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7320 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7321 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7322 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7324 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7325 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7326 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7327 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7328 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7329 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7330 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7331 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7332 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7334 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7335 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7337 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7338 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7339 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7341 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7342 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7343 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7344 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7345 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7346 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7347 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7348 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7349 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7350 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7351 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7352 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7353 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7354 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7355 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7356 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7357 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7358 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7359 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7360 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7361 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7362 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7371 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7373 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7374 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7376 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7377 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7378 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7379 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7381 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7382 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7386 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7389 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7390 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7391 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7392 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7393 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7400 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7401 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7404 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7406 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7407 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7409 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7411 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7412 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7413 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7414 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7415 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7416 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7417 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7418 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7419 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7420 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7421 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7422 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7423 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7424 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7425 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7426 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7427 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7428 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7429 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7430 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7431 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7432 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7433 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7434 (__isnanf): Likewise.
7435 (__isinf_ns): Likewise.
7436 (__isinf_nsf): Likewise.
7437 (__finite): Likewise.
7438 (__finitef): Likewise.
7439 (__ieee754_sqrt): Define as macro.
7440 (__ieee754_sqrtf): Define as macro.
7441 (__ieee754_sqrtl): Define as macro.
7442 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7444 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7445 __FINITE_MATH_ONLY__ consistent.
7446 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7448 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7450 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7453 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7455 2011-10-09 Ulrich Drepper <drepper@gmail.com>
7457 * po/ja.po: Update from translation team.
7459 2011-10-08 Roland McGrath <roland@hack.frob.com>
7461 * locale/programs/locarchive.c (prepare_address_space): New function.
7462 (create_archive, enlarge_archive, open_archive): Use it.
7464 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7465 inside [SHARED], where it is used.
7467 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7469 * nss/getent.c (netgroup_keys): Remove unused variable.
7470 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7472 2011-10-08 Ulrich Drepper <drepper@gmail.com>
7474 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7475 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7476 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7477 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7478 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7479 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7480 * math/Makefile (libm-calls): Add s_isinf_ns.
7481 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7482 * math/multc3.c: Likewise.
7483 * math/s_casin.c: Likewise.
7484 * math/s_casinf.c: Likewise.
7485 * math/s_casinl.c: Likewise.
7486 * math/s_ccos.c: Likewise.
7487 * math/s_ccosf.c: Likewise.
7488 * math/s_ccosl.c: Likewise.
7489 * math/s_ctan.c: Likewise.
7490 * math/s_ctanf.c: Likewise.
7491 * math/s_ctanh.c: Likewise.
7492 * math/s_ctanhf.c: Likewise.
7493 * math/s_ctanhl.c: Likewise.
7494 * math/s_ctanl.c: Likewise.
7495 * math/w_fmod.c: Likewise.
7496 * math/w_fmodf.c: Likewise.
7497 * math/w_fmodl.c: Likewise.
7498 * math/w_remainder.c: Likewise.
7499 * math/w_remainderf.c: Likewise.
7500 * math/w_remainderl.c: Likewise.
7501 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7502 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7503 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7504 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7505 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7506 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7507 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7508 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7510 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7512 * stdio-common/printf_fphex.c: Likewise.
7513 * stdio-common/printf_size.c: Likewise.
7515 * math/e_exp10.c: Include math_private.h using <...> not "...".
7516 * math/e_exp10f.c: Likewise.
7517 * math/e_exp10l.c: Likewise.
7518 * math/e_exp2l.c: Likewise.
7519 * math/e_j0l.c: Likewise.
7520 * math/e_j1l.c: Likewise.
7521 * math/e_jnl.c: Likewise.
7522 * math/e_lgammal_r.c: Likewise.
7523 * math/e_rem_pio2l.c: Likewise.
7524 * math/e_scalb.c: Likewise.
7525 * math/e_scalbf.c: Likewise.
7526 * math/e_scalbl.c: Likewise.
7527 * math/k_cosl.c: Likewise.
7528 * math/k_sinl.c: Likewise.
7529 * math/k_tanl.c: Likewise.
7530 * math/s_cacoshf.c: Likewise.
7531 * math/s_catan.c: Likewise.
7532 * math/s_catanf.c: Likewise.
7533 * math/s_catanh.c: Likewise.
7534 * math/s_catanhf.c: Likewise.
7535 * math/s_catanhl.c: Likewise.
7536 * math/s_catanl.c: Likewise.
7537 * math/s_ccosh.c: Likewise.
7538 * math/s_ccoshf.c: Likewise.
7539 * math/s_ccoshl.c: Likewise.
7540 * math/s_cexp.c: Likewise.
7541 * math/s_cexpf.c: Likewise.
7542 * math/s_cexpl.c: Likewise.
7543 * math/s_clog.c: Likewise.
7544 * math/s_clog10.c: Likewise.
7545 * math/s_clog10f.c: Likewise.
7546 * math/s_clog10l.c: Likewise.
7547 * math/s_clogf.c: Likewise.
7548 * math/s_clogl.c: Likewise.
7549 * math/s_csin.c: Likewise.
7550 * math/s_csinf.c: Likewise.
7551 * math/s_csinh.c: Likewise.
7552 * math/s_csinhf.c: Likewise.
7553 * math/s_csinhl.c: Likewise.
7554 * math/s_csinl.c: Likewise.
7555 * math/s_csqrt.c: Likewise.
7556 * math/s_csqrtf.c: Likewise.
7557 * math/s_csqrtl.c: Likewise.
7558 * math/s_ctan.c: Likewise.
7559 * math/s_ctanf.c: Likewise.
7560 * math/s_ctanh.c: Likewise.
7561 * math/s_ctanhf.c: Likewise.
7562 * math/s_ctanhl.c: Likewise.
7563 * math/s_ctanl.c: Likewise.
7564 * math/s_ldexp.c: Likewise.
7565 * math/s_ldexpf.c: Likewise.
7566 * math/s_ldexpl.c: Likewise.
7567 * math/s_significand.c: Likewise.
7568 * math/s_significandf.c: Likewise.
7569 * math/s_significandl.c: Likewise.
7570 * math/w_acos.c: Likewise.
7571 * math/w_acosf.c: Likewise.
7572 * math/w_acosh.c: Likewise.
7573 * math/w_acoshf.c: Likewise.
7574 * math/w_acoshl.c: Likewise.
7575 * math/w_acosl.c: Likewise.
7576 * math/w_asin.c: Likewise.
7577 * math/w_asinf.c: Likewise.
7578 * math/w_asinl.c: Likewise.
7579 * math/w_atan2.c: Likewise.
7580 * math/w_atan2f.c: Likewise.
7581 * math/w_atan2l.c: Likewise.
7582 * math/w_atanh.c: Likewise.
7583 * math/w_atanhf.c: Likewise.
7584 * math/w_atanhl.c: Likewise.
7585 * math/w_cosh.c: Likewise.
7586 * math/w_coshf.c: Likewise.
7587 * math/w_coshl.c: Likewise.
7588 * math/w_dremf.c: Likewise.
7589 * math/w_exp10.c: Likewise.
7590 * math/w_exp10f.c: Likewise.
7591 * math/w_exp10l.c: Likewise.
7592 * math/w_exp2.c: Likewise.
7593 * math/w_exp2f.c: Likewise.
7594 * math/w_fmod.c: Likewise.
7595 * math/w_fmodf.c: Likewise.
7596 * math/w_fmodl.c: Likewise.
7597 * math/w_hypot.c: Likewise.
7598 * math/w_hypotf.c: Likewise.
7599 * math/w_hypotl.c: Likewise.
7600 * math/w_j0.c: Likewise.
7601 * math/w_j0f.c: Likewise.
7602 * math/w_j0l.c: Likewise.
7603 * math/w_j1.c: Likewise.
7604 * math/w_j1f.c: Likewise.
7605 * math/w_j1l.c: Likewise.
7606 * math/w_jn.c: Likewise.
7607 * math/w_jnf.c: Likewise.
7608 * math/w_jnl.c: Likewise.
7609 * math/w_lgamma.c: Likewise.
7610 * math/w_lgamma_r.c: Likewise.
7611 * math/w_lgammaf.c: Likewise.
7612 * math/w_lgammaf_r.c: Likewise.
7613 * math/w_lgammal.c: Likewise.
7614 * math/w_lgammal_r.c: Likewise.
7615 * math/w_log.c: Likewise.
7616 * math/w_log10.c: Likewise.
7617 * math/w_log10f.c: Likewise.
7618 * math/w_log10l.c: Likewise.
7619 * math/w_log2.c: Likewise.
7620 * math/w_log2f.c: Likewise.
7621 * math/w_log2l.c: Likewise.
7622 * math/w_logf.c: Likewise.
7623 * math/w_logl.c: Likewise.
7624 * math/w_pow.c: Likewise.
7625 * math/w_powf.c: Likewise.
7626 * math/w_powl.c: Likewise.
7627 * math/w_remainder.c: Likewise.
7628 * math/w_remainderf.c: Likewise.
7629 * math/w_remainderl.c: Likewise.
7630 * math/w_scalb.c: Likewise.
7631 * math/w_scalbf.c: Likewise.
7632 * math/w_scalbl.c: Likewise.
7633 * math/w_sinh.c: Likewise.
7634 * math/w_sinhf.c: Likewise.
7635 * math/w_sinhl.c: Likewise.
7636 * math/w_sqrt.c: Likewise.
7637 * math/w_sqrtf.c: Likewise.
7638 * math/w_sqrtl.c: Likewise.
7639 * math/w_tgamma.c: Likewise.
7640 * math/w_tgammaf.c: Likewise.
7641 * math/w_tgammal.c: Likewise.
7643 * po/ja.po: Update from translation team.
7645 2011-09-29 Andreas Jaeger <aj@suse.de>
7648 * sunrpc/netname.c (netname2host): Fix logic.
7652 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7654 * math/w_remainder.c (__remainder): Likewise.
7655 * math/w_remainderf.c (__remainderf): Likewise.
7656 * math/libm-test.inc (remainder_test): Add test cases.
7658 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7660 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7663 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7665 * string/test-memcmp.c: Avoid unncessary #defines.
7666 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7668 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7670 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7671 Use new sse2 version for core i3 - i7 as it's faster
7673 (bit_Prefer_PMINUB_for_stringop): New.
7674 * sysdeps/x86_64/rawmemchr.S: Update.
7675 Replace with faster SSE2 version.
7676 * sysdeps/x86_64/memrchr.S: New file.
7677 * sysdeps/x86_64/memchr.S: Update.
7678 Replace with faster SSE2 version.
7680 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7682 * elf/dl-load.c (lose): Add cast to avoid warning.
7684 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7686 * po/ca.po: Update from translation team.
7688 * inet/getnetgrent_r.c: Hook up nscd.
7689 * nscd/Makefile (routines): Add nscd_netgroup.
7690 (nscd-modules): Add netgroupcache.
7691 (CFLAGS-netgroupcache.c): Define.
7692 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7693 (cache_search): Add const to second parameter.
7694 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7696 (dbs): Add netgrdb entry.
7697 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7698 (verify_persistent_db): Handle netgrdb.
7699 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7700 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7702 (netgroup_response_header): Define.
7703 (innetgroup_response_header): Define.
7704 (datahead): Add netgroup_response_header and innetgroup_response_header
7706 * nscd/nscd.conf: Add entries for netgroup cache.
7707 * nscd/nscd.h (dbtype): Add netgrdb.
7708 (_PATH_NSCD_NETGROUP_DB): Define.
7709 (netgroup_iov_disabled): Declare.
7710 (xmalloc, xcalloc, xrealloc): Move declarations here.
7711 (cache_search): Adjust prototype.
7712 Add netgroup-related prototypes.
7713 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7714 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7715 (__nscd_innetgr): Declare.
7716 * nscd/selinux.c (perms): Use access_vector_t as element type and
7717 add netgroup-related initializers.
7718 * nscd/netgroupcache.c: New file.
7719 * nscd/nscd_netgroup.c: New file.
7720 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7721 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7722 For four parameters use innetgr.
7723 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7724 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7725 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7726 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7728 * nscd/connections.c (register_traced_file): Don't register file
7729 for disabled databases.
7731 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7733 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7735 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7736 from tree and freeing node.
7738 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7740 * nss/nsswitch.c (__nss_database_lookup): Handle
7741 nss_parse_service_list out of memory case.
7743 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7745 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7748 2011-10-04 Andreas Schwab <schwab@redhat.com>
7750 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7751 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7753 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7754 elf_machine_rela, elf_machine_lazy_rel.
7755 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7756 (ELF_DYNAMIC_DO_REL): Likewise.
7757 (ELF_DYNAMIC_DO_RELA): Likewise.
7758 (ELF_DYNAMIC_RELOCATE): Likewise.
7759 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7760 to ELF_DYNAMIC_DO_REL.
7761 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7762 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7763 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7765 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7766 skip_ifunc, don't call ifunc function if non-zero.
7767 (elf_machine_rela): Likewise.
7768 (elf_machine_lazy_rel): Likewise.
7769 (elf_machine_lazy_rela): Likewise.
7770 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7771 (elf_machine_lazy_rel): Likewise.
7772 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7774 (elf_machine_lazy_rel): Likewise.
7775 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7777 (elf_machine_lazy_rel): Likewise.
7778 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7779 (elf_machine_lazy_rel): Likewise.
7780 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7781 (elf_machine_lazy_rel): Likewise.
7782 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7783 (elf_machine_lazy_rel): Likewise.
7784 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7785 (elf_machine_lazy_rel): Likewise.
7786 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7787 (elf_machine_lazy_rel): Likewise.
7788 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7789 (elf_machine_lazy_rel): Likewise.
7791 2011-09-28 Ulrich Drepper <drepper@gmail.com>
7793 * nss/nss_files/files-init.c (_nss_files_init): Use static
7794 initialization for all the *_traced_file variables.
7796 2011-09-28 Andreas Schwab <schwab@redhat.com>
7798 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7800 2011-09-27 Roland McGrath <roland@hack.frob.com>
7803 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7805 2011-09-27 Andreas Schwab <schwab@redhat.com>
7807 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7808 Reread the line before reparsing it.
7810 2011-09-26 Andreas Schwab <schwab@redhat.com>
7812 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7814 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7815 Maxim Kuvyrkov <maxim@codesourcery.com>
7816 Joseph Myers <joseph@codesourcery.com>
7818 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7819 if needed for __stack_chk_guard.
7821 2011-09-19 Roland McGrath <roland@hack.frob.com>
7823 * sysdeps/posix/spawni.c (script_execute): Always define it.
7824 It will be optimized away if unused.
7825 (maybe_script_execute): New function.
7826 (__spawni): Call it.
7828 * Makerules: Don't include tls.make.
7829 (config-tls): Always set to thread.
7830 * tls.make.c: File removed.
7832 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7834 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7835 * config.make.in (CPPFLAGS-config): New substituted variable.
7837 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7839 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7842 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7843 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7845 2011-09-15 Roland McGrath <roland@hack.frob.com>
7847 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7848 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7849 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7850 (CALL_FAIL): Likewise.
7851 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7852 (CALL_FAIL): Macro removed.
7853 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7855 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7857 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7858 for __FINITE_MATH_ONLY__ == 1.
7860 2011-09-15 Andreas Schwab <schwab@redhat.com>
7862 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7863 __ieee754_sqrt instead of sqrt.
7864 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7865 __ieee754_sqrtf instead of sqrtf.
7866 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7867 __floorf instead of floorf.
7868 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7869 __floorf, __truncf instead of floorf, truncf.
7871 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7873 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7875 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7876 __extern_always_inline.
7877 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7880 2011-09-14 Andreas Schwab <schwab@redhat.com>
7882 * elf/rtld.c (dl_main): Also relocate in dependency order when
7883 doing symbol dependency testing.
7885 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7887 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7888 Always define `refsym'.
7890 2011-09-13 Andreas Schwab <schwab@redhat.com>
7892 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7893 (__FD_ELT): Renamed from __FDELT.
7894 * misc/bits/select2.h (__FD_ELT): Likewise.
7895 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7896 __FD_MASK instead of __FDELT, __FDMASK.
7897 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7899 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7902 * elf/Makefile (gen-ldd): Fix pattern.
7904 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7905 (init_tls): Likewise.
7907 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7909 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7911 2011-09-12 Andreas Schwab <schwab@redhat.com>
7913 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7914 `struct cmsghdr *' instead of `void *'.
7915 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7918 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7920 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7922 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7925 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7927 * configure.in: Remove --with-tls option.
7928 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7929 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7930 out in case it is missing.
7931 * sysdeps/ia64/elf/configure.in: Likewise.
7932 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7933 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7934 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7935 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7936 * sysdeps/sh/elf/configure.in: Likewise.
7937 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7938 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7939 * sysdeps/x86_64/elf/configure.in: Likewise.
7940 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7941 * sysdeps/mach/hurd/tls.h: Likewise.
7944 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7947 * configure.in: Fix use of AC_INIT.
7949 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7951 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7953 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7955 * malloc/hooks.c: Likewise.
7958 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7959 variables statically.
7960 (narenas): Initialize.
7961 (list_lock): Initialize.
7962 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7963 initializtion of main_arena and list_lock. Small cleanups.
7964 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7965 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7966 Add initializers to main_arena and mp_.
7967 (malloc_state): Remove pagesize member. Change all users to use
7970 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7971 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7972 is always initialized.
7974 * malloc/malloc.c: Removed unused configurations and dead code.
7975 * malloc/arena.c: Likewise.
7976 * malloc/hooks.c: Likewise.
7977 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7979 * include/tls.h: Removed. USE___THREAD must always be defined.
7980 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7981 * elf/dl-libc.c: Likewise.
7982 * elf/dl-tsd.c: Likewise.
7983 * include/errno.h: Likewise.
7984 * include/netdb.h: Likewise.
7985 * include/resolv.h: Likewise.
7986 * inet/herrno-loc.c: Likewise.
7987 * inet/herrno.c: Likewise.
7988 * malloc/arena.c: Likewise.
7989 * malloc/hooks.c: Likewise.
7990 * malloc/malloc.c: Likewise.
7991 * resolv/res-state.c: Likewise.
7992 * resolv/res_libc.c: Likewise.
7993 * sysdeps/i386/dl-machine.h: Likewise.
7994 * sysdeps/ia64/dl-machine.h: Likewise.
7995 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7996 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7997 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7998 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7999 * sysdeps/sh/dl-machine.h: Likewise.
8000 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8001 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8002 * sysdeps/unix/i386/sysdep.S: Likewise.
8003 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8004 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8006 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8007 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8008 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8009 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8010 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8011 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8012 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8013 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8014 * sysdeps/x86_64/dl-machine.h: Likewise.
8015 * tls.make.c: Likewise.
8017 * configure.in: Remove --with-__thread option. Make tests for
8018 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8019 tls_model attribute fail if no support is available. Remove
8021 * Makeconfig: Adjust for dropped configure option. All features are
8023 * Makerules: Likewise.
8024 * Versions.def: Likewise.
8025 * argp/argp-fmtstream.c: Likewise.
8026 * argp/argp-fmtstream.h: Likewise.
8027 * argp/argp-help.c: Likewise.
8028 * assert/assert.c: Likewise.
8029 * config.h.in: Likewise.
8030 * config.make.in: Likewise.
8031 * configure: Likewise.
8032 * configure.in: Likewise.
8033 * csu/Versions: Likewise.
8034 * csu/init.c: Likewise.
8035 * elf/tst-audit2.c: Likewise.
8036 * elf/tst-tls10.c: Likewise.
8037 * elf/tst-tls10.h: Likewise.
8038 * elf/tst-tls11.c: Likewise.
8039 * elf/tst-tls12.c: Likewise.
8040 * elf/tst-tls14.c: Likewise.
8041 * elf/tst-tlsmod11.c: Likewise.
8042 * elf/tst-tlsmod12.c: Likewise.
8043 * elf/tst-tlsmod13.c: Likewise.
8044 * elf/tst-tlsmod13a.c: Likewise.
8045 * elf/tst-tlsmod14a.c: Likewise.
8046 * elf/tst-tlsmod15b.c: Likewise.
8047 * elf/tst-tlsmod16a.c: Likewise.
8048 * elf/tst-tlsmod16b.c: Likewise.
8049 * elf/tst-tlsmod7.c: Likewise.
8050 * elf/tst-tlsmod8.c: Likewise.
8051 * elf/tst-tlsmod9.c: Likewise.
8052 * gmon/gmon.c: Likewise.
8053 * grp/fgetgrent_r.c: Likewise.
8054 * grp/putgrent.c: Likewise.
8055 * hurd/fopenport.c: Likewise.
8056 * include/libc-symbols.h: Likewise.
8057 * include/tls.h: Likewise.
8058 * intl/gettextP.h: Likewise.
8059 * intl/loadinfo.h: Likewise.
8060 * locale/global-locale.c: Likewise.
8061 * locale/localeinfo.h: Likewise.
8062 * mach/devstream.c: Likewise.
8063 * malloc/arena.c: Likewise.
8064 * malloc/set-freeres.c: Likewise.
8065 * misc/err.c: Likewise.
8066 * misc/getttyent.c: Likewise.
8067 * misc/mntent_r.c: Likewise.
8068 * posix/getopt.c: Likewise.
8069 * posix/wordexp.c: Likewise.
8070 * pwd/fgetpwent_r.c: Likewise.
8071 * resolv/Versions: Likewise.
8072 * resolv/res_hconf.c: Likewise.
8073 * shadow/fgetspent_r.c: Likewise.
8074 * shadow/putspent.c: Likewise.
8075 * stdio-common/printf_fphex.c: Likewise.
8076 * stdio-common/tmpfile.c: Likewise.
8077 * stdlib/abort.c: Likewise.
8078 * stdlib/fmtmsg.c: Likewise.
8079 * sunrpc/auth_unix.c: Likewise.
8080 * sunrpc/clnt_perr.c: Likewise.
8081 * sunrpc/clnt_tcp.c: Likewise.
8082 * sunrpc/clnt_udp.c: Likewise.
8083 * sunrpc/clnt_unix.c: Likewise.
8084 * sunrpc/openchild.c: Likewise.
8085 * sunrpc/svc_simple.c: Likewise.
8086 * sunrpc/svc_tcp.c: Likewise.
8087 * sunrpc/svc_udp.c: Likewise.
8088 * sunrpc/svc_unix.c: Likewise.
8089 * sunrpc/xdr.c: Likewise.
8090 * sunrpc/xdr_array.c: Likewise.
8091 * sunrpc/xdr_rec.c: Likewise.
8092 * sunrpc/xdr_ref.c: Likewise.
8093 * sunrpc/xdr_stdio.c: Likewise.
8095 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8097 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8099 2011-07-03 Andreas Jaeger <aj@suse.de>
8101 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8102 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8103 regenerate with gen-libm-tests.pl.
8105 2010-05-12 Petr Baudis <pasky@suse.cz>
8108 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8109 around j0() zero points by switching to j1().
8110 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8111 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8112 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8113 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8115 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8117 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8119 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8121 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8122 Patch in part by Pavel Roskin <proski@gnu.org>.
8125 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8127 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8128 Free memory block if necessary.
8131 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8132 be NULL. Don't lock in this case.
8134 2011-09-09 Roland McGrath <roland@hack.frob.com>
8136 * elf/elf.h (ELFOSABI_GNU): New macro.
8137 (ELFOSABI_LINUX): Define to that.
8139 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8141 * string/strncat.c (strncat): Undef the symbol in case it has been
8142 defined in bits/string.h.
8144 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8146 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8148 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8151 2011-08-17 Andreas Jaeger <aj@suse.de>
8153 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8155 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8156 Ian Lance Taylor <iant@google.com>
8158 * math/libm-test.inc (lround_test): New testcase.
8159 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8161 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8163 * Makefile: Remove support for automatic cvs check-ins.
8164 * Makerules: Likewise.
8165 * config.make.in: Likewise.
8166 * configure.in: Likewise.
8167 * intl/Makefile: Likewise.
8168 * locale/Makefile: Likewise.
8169 * po/Makefile: Likewise.
8170 * posix/Makefile: Likewise.
8171 * sysdeps/gnu/Makefile: Likewise.
8172 * sysdeps/mach/hurd/Makefile: Likewise.
8173 * sysdeps/sparc/sparc32/Makefile: Likewise.
8176 * posix/Makefile (bug-regex32-ENV): Define.
8177 Patch by John Stanley <jpsinthemix@verizon.net>.
8179 * misc/Makefile (headers): Add bits/select2.h.
8180 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8181 * misc/bits/select2.h: New file.
8182 * include/bits/select2.h: New file.
8183 * debug/Makefile (routines): Add fdelt_chk.
8184 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8185 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8187 * debug/fdelt_chk.c: New file.
8189 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8190 * wcsmbs/test-wmemcmp.c: Likewise.
8191 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8192 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8194 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8196 * string/Makefile (strop-tests): Add memcmp.
8197 * string/test-wmemcmp.c: New file.
8198 * string/test-memcmp.c: Add wmemcmp support.
8200 2011-09-08 Roland McGrath <roland@hack.frob.com>
8203 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8206 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8207 garbage value in a __mach_port_mod_refs call in the cases of the
8208 task-self and thread-self ports.
8210 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8212 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8214 2011-09-08 Andreas Schwab <schwab@redhat.com>
8216 * elf/dl-load.c (lose): Check for non-null L.
8218 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8220 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8222 * elf/dl-libc.c (dlerror_run): Pass back error code from
8226 * elf/dl-load.c (lose): Free l_origin if it is valid.
8228 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8230 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8231 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8232 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8233 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8234 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8235 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8237 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8239 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8240 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8241 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8242 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8243 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8244 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8245 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8246 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8247 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8248 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8250 2011-08-15 Alan Modra <amodra@gmail.com>
8253 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8254 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8255 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8256 ppc_mcount to static-only-routines.
8257 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8259 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8260 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8262 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8264 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8265 for finite and infinity parameters.
8267 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8269 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8270 and add nop instructions for throughput optimization.
8271 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8273 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8275 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8276 aligned copy for power7 with vector-scalar instructions.
8277 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8279 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8281 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8284 2011-09-07 Andreas Schwab <schwab@redhat.com>
8287 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8290 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8292 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8293 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8294 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8295 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8298 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8300 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8301 Forgot to demangle the pointer.
8303 * sysdeps/i386/sysdep.h: Define atom_text_section.
8304 * sysdeps/x86_64/sysdep.h: Likewise.
8305 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8306 section with atom_text_section.
8307 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8308 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8309 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8310 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8311 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8313 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8314 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8315 already be defined. Change to take two parameters and don't assign
8316 result to variable. Adjust all users.
8317 Define INTERNAL_GETTIME if not already defined.
8318 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8321 HAVE_CLOCK_GETTIME_VSYSCALL.
8322 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8324 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8325 gettimeofday vsyscall, just use time.
8327 2011-09-06 Andreas Schwab <schwab@redhat.com>
8329 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8332 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8334 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8338 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8339 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8340 syscall if possible.
8342 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8344 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8345 e_ident. Don't pass to find_mapsXX.
8346 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8348 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8350 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8351 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8352 * sysdeps/x86_64/multiarch/strchr.S: Update.
8353 Check bit_slow_BSF bit.
8354 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8355 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8356 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8358 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8361 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8364 (__spawni): Change last parameter to be flag. Test
8365 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8366 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8367 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8368 * posix/spawni.c: Likewise.
8369 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8370 * posix/spawnp.c: Likewise. Change normal version to use
8371 SPAWN_XFLAGS_USE_PATH.
8372 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8373 SPAWN_XFLAGS_TRY_SHELL.
8376 * posix/glob.h: Remove gcc 1.x support.
8379 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8381 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8383 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8384 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8386 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8387 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8388 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8389 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8390 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8391 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8393 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8395 * sysdeps/x86_64/wcscmp.S: New file.
8397 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8398 wcscmp-c wcscmp-sse2
8399 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8400 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8401 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8402 * wcsmbs/wcscmp.c: Allow renaming.
8404 2011-09-05 David S. Miller <davem@davemloft.net>
8406 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8407 stack slot, rather than the struct return pointer slot.
8408 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8409 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8411 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8413 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8415 * po/ja.po: Update from translation team.
8418 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8419 kernel in 64-bit binaries.
8421 2011-09-01 David S. Miller <davem@davemloft.net>
8423 * elf/elf.h (HWCAP_SPARC_*): Move to..
8424 * sysdeps/sparc/sysdep.h: this new file and add new values.
8425 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8426 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8427 _DL_HWCAP_COUNT to 24.
8428 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8430 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8431 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8432 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8433 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8434 instead of magic constants.
8435 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8437 2011-08-31 David S. Miller <davem@davemloft.net>
8439 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8440 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8441 Reimplement to do errno handling inline.
8442 (SYSCALL_ERROR_HANDLER): New macro.
8443 (__SYSCALL_STRING): Do not do errno handling in asm.
8444 (__CLONE_SYSCALL_STRING): Delete.
8445 (__INTERNAL_SYSCALL_STRING): Delete.
8446 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8447 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8448 (PSEUDO): Reimplement to do errno handling inline.
8449 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8450 (SYSCALL_ERROR_HANDLER): New macro.
8451 (__SYSCALL_STRING): Do not do errno handling in asm.
8452 (__CLONE_SYSCALL_STRING): Delete.
8453 (__INTERNAL_SYSCALL_STRING): Delete.
8454 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8455 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8457 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8458 (inline_syscall*): Add 'err' argument.
8459 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8460 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8461 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8462 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8464 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8465 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8467 2011-08-30 Andreas Schwab <schwab@redhat.com>
8469 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8471 2011-08-29 Jiri Olsa <jolsa@redhat.com>
8473 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8476 2011-08-24 David S. Miller <davem@davemloft.net>
8478 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8480 2011-08-24 Andreas Schwab <schwab@redhat.com>
8482 * elf/Makefile: Add rules to build and run unload8 test.
8483 * elf/unload8.c: New file.
8484 * elf/unload8mod1.c: New file.
8485 * elf/unload8mod1x.c: New file.
8486 * elf/unload8mod2.c: New file.
8487 * elf/unload8mod3.c: New file.
8489 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8492 2011-08-23 David S. Miller <davem@davemloft.net>
8494 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8495 subtract stack bias.
8496 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8497 %sp not %fp in calculations.
8498 (_JMPBUF_UNWINDS_ADJ): Likewise.
8500 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8501 (aio_suspend): Call it to force an exception region around the
8502 AIO_MISC_WAIT() invocation.
8504 2011-08-23 Andreas Schwab <schwab@redhat.com>
8506 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8509 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8511 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8513 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8515 (Elf64_FuncDesc): Remove.
8517 2011-08-22 David S. Miller <davem@davemloft.net>
8519 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8520 sigaltstack check, add missing cfi directives.
8521 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8522 missing cfi directives, and sigaltstack handling.
8524 2011-08-16 Andreas Schwab <schwab@redhat.com>
8527 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8528 object is seen twice.
8529 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8531 * elf/Makefile (distribute): Add tst-initorder2.c.
8532 (tests): Add tst-initorder2.
8533 (modules-names): Add tst-initorder2a tst-initorder2b
8534 tst-initorder2c tst-initorder2d. Add rules to build them.
8535 ($(objpfx)tst-initorder2.out): New rule.
8536 * elf/tst-initorder2.c: New file.
8537 * elf/tst-initorder2.exp: New file.
8539 2011-08-22 Andreas Schwab <schwab@redhat.com>
8541 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8543 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8544 dependencies back to end of function.
8546 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8549 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8551 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8552 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8553 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8554 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8555 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8556 of __vdso_gettimeofday.
8557 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8558 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8560 (_libc_vdso_platform_setup): Remove initialization of
8561 __vdso_gettimeofday and __vdso_time.
8563 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8565 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8567 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8570 * elf/dl-open.c (add_to_global): Report additions to the global scope
8571 for LD_DEBUG=scopes.
8572 (dl_open_worker): Also print scope of newly loaded dependencies.
8573 (_dl_show_scope): Indicate if there is no scope.
8576 * stdio-common/Makefile (tests): Add bug24.
8577 * stdio-common/bug24.c: New file.
8579 2011-08-19 Andreas Jaeger <aj@suse.de>
8582 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8583 non-existant file when using close-on-exec mode.
8585 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8587 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8588 the very first instruction.
8590 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8591 the CFI state in the end.
8592 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8593 inclusion of dl-trampoline.h.
8594 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8596 2011-08-19 Andreas Schwab <schwab@redhat.com>
8598 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8599 expectations for long double.
8601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8602 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8604 2011-08-14 David S. Miller <davem@davemloft.net>
8606 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8607 artificual limit depends upon the system page size.
8609 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8611 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8612 * resolv/Makefile: Define CFLAGS-libresolv.
8614 2011-08-17 Andreas Schwab <schwab@redhat.com>
8616 * nss/makedb.c (compute_tables): Make variables used in nested
8619 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8621 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8622 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8623 if buffer was too small.
8625 * elf/pldd.c (main): Attach to all threads in the process.
8626 Rewrite /proc handling to use *at functions.
8628 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8630 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8631 specifies first scope to show.
8632 (dl_open_worker): Update callers. Move printing scope of new
8633 object to before the relocation.
8634 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8635 * sysdeps/generic/ldsodefs.h: Update declaration.
8637 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8638 string for the scope number.
8640 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8642 * nscd/servicescache.c (cache_addserv): Make sure written is always
8645 2011-08-14 Roland McGrath <roland@hack.frob.com>
8647 * sysdeps/i386/i486/bits/atomic.h
8648 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8649 statement expression, so as to suppress "set but not used" warning.
8650 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8652 * string/strncat.c (STRNCAT): Use prototype definition.
8654 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8655 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8657 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8658 (localedef-modules): Add localedef.
8659 (locale-modules): Add locale.
8661 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8662 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8665 2011-08-14 David S. Miller <davem@davemloft.net>
8667 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8668 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8670 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8672 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8673 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8674 * elf/rtld.c (dl_main): Set l_name of vDSO.
8675 Call _dl_show_scope when DL_DEBUG_SCOPES.
8676 (process_dl_debug): Recognize scopes flag and also set it for all.
8677 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8678 Declare _dl_show_scope.
8680 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8681 (do_dlopen): Pass caller_dlopen to dl_open.
8682 (__libc_dlopen_mode): Initialize caller_dlopen.
8684 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8685 of libc. Make tolower call locale-independent. Optimize a bit by
8686 using isdigit instead of isalnum.
8687 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8689 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8691 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8692 was a dependency or dynamically loaded.
8694 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8696 * intl/l10nflist.c: Allow architecture-specific pop function.
8697 * sysdeps/x86_64/l10nflist.c: New file.
8699 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8702 2011-08-10 Andreas Schwab <schwab@redhat.com>
8704 * include/dirent.h: Add libc_hidden_proto for scandirat and
8705 scandirat64. Don't declare __scandirat64.
8706 * dirent/scandirat.c: Add libc_hidden_def.
8707 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8708 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8710 2011-08-10 David S. Miller <davem@davemloft.net>
8712 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8714 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8715 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8716 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8718 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8720 * Versions.def [libc]: Add GLIBC_2.15.
8721 * dirent/Makefile (routines): Add scandirat and scandirat64.
8722 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8724 * dirent/dirent.h: Declare scandirat and scandirat64.
8725 * dirent/scandirat.c: New file.
8726 * dirent/scandirat64.c: New file.
8727 * sysdeps/wordsize-64/scandirat.c: New file.
8728 * sysdeps/wordsize-64/scandirat64.c: New file.
8729 * dirent/opendir.c: Define opendirat.
8730 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8732 * dirent/scandir64.c: Adjust for scandir.c change.
8733 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8734 __scandirat64, and __scandir_cancel_handler.
8735 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8736 additional parameter and use openat instead of open (outside of ld.so).
8737 Add new __opendir as wrapper around __opendirat.
8738 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8739 here without requiring old scandirat implementation.
8741 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8743 * dirent/scandir.c (cancel_handler): Renamed to
8744 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8745 defined. Adjust users.
8746 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8747 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8749 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8751 * string/test-string.h (IMPL): Use __STRING to expand name and then
8754 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8757 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8759 * string/Makefile: Update.
8760 (strop-tests): Append strncat.
8761 * string/test-wcscmp.c: New file.
8762 New comprehensive test for wcscmp.
8763 * string/test-strcmp.c: Update.
8766 2011-07-22 Andreas Schwab <schwab@redhat.com>
8768 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8771 2011-07-26 Andreas Schwab <schwab@redhat.com>
8773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8774 encoding to ACE if AI_IDN.
8776 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8778 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8779 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8781 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8783 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8784 Fix overflow bug in strncat.
8785 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8787 * string/test-strncat.c: Update.
8788 Add new tests for checking overflow bugs.
8790 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8792 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8793 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8794 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8795 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8796 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8797 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8798 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8799 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8800 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8802 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8803 (USE_AS_STRCAT): Define.
8804 Add strcat and strncat support.
8805 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8807 2011-07-25 Andreas Schwab <schwab@redhat.com>
8809 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8810 __n bigger than INT_MAX+1.
8811 (__strncmp_g): Likewise.
8813 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8815 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8816 * libio/stido.h: Likewise.
8818 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8820 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8823 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8824 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8825 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8826 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8827 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8830 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8833 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8835 (_dl_x86_64_save_sse): Likewise.
8837 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8839 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8841 (_dl_x86_64_save_sse): Likewise.
8843 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8845 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8847 2011-07-21 Andreas Schwab <schwab@redhat.com>
8849 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8851 (_dl_x86_64_save_sse): Use correct AVX check.
8853 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8855 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8856 bug in strncpy/strncat.
8857 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8859 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8861 * string/tester.c (test_strcat): Add tests for different alignments
8862 of source and destination.
8863 (test_strncat): Likewise.
8865 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8868 * posix/glob.c (glob): Check passed in values before using them in
8869 expressions to avoid some overflows.
8870 (glob_in_dir): Likewise.
8873 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8874 check for AVX enablement so that we don't crash with old kernels and
8876 * elf/tst-audit4.c: Add same checks here.
8877 * elf/tst-audit6.c: Likewise.
8879 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8881 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8883 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8885 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8887 * po/cs.po: Update from translation team.
8888 * po/bg.po: Likewise.
8890 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8892 * misc/sys/cdefs.h: Add support for const attribute.
8893 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8894 to gnu_dev_{major,minor,makedev} functions.
8896 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8898 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8900 2011-07-20 Andreas Schwab <schwab@redhat.com>
8902 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8905 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8907 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8908 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8909 register in order to avoid conflicts with the soft frame pointer
8910 being held in r11 when necessary.
8911 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8912 (INTERNAL_VSYSCALL_NCS): Likewise.
8914 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8916 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8917 * elf/dl-fini.c (_dl_fini): Adjust caller.
8918 * elf/dl-close.c (_dl_close_worker): Likewise.
8919 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8921 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8923 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8924 "aux_cache->nlibs < 0".
8926 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8927 in the reload-count case.
8929 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8932 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8933 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8934 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8935 * sysdeps/x86_64/multiarch/strcat.S: New file.
8936 * sysdeps/x86_64/multiarch/strncat.S: New file.
8937 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8938 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8939 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8940 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8941 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8942 (USE_AS_STRCAT): Define.
8943 Add strcat and strncat support.
8944 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8945 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8946 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8947 * string/strncat.c: Update.
8948 (USE_AS_STRNCAT): Define.
8949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8950 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8952 * sysdeps/x86_64/multiarch/init-arch.h
8953 (bit_Prefer_PMINUB_for_stringop): New.
8954 (index_Prefer_PMINUB_for_stringop): Likewise.
8955 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8956 bit_Prefer_PMINUB_for_stringop.
8958 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8960 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8962 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8963 of casting of buffer.
8964 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8965 buffer32 and buffer64.
8966 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8967 writes instead of casting of buffer.
8968 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8970 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8973 2011-07-19 Andreas Schwab <schwab@redhat.com>
8975 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8977 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8979 * nscd/nscd.c (termination_handler): Don't do anything for a database
8980 if it has not yet been initialized.
8982 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8984 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8986 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8988 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8990 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8992 * po/nl.po: Update from translation team.
8993 * po/sv.po: Likewise.
8995 2011-07-16 Roland McGrath <roland@hack.frob.com>
8997 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8998 now disallowed by GCC.
9000 * configure.in (use-default-link): Default to yes if a test -shared
9001 link meets our qualifications.
9002 * configure: Regenerated.
9004 * config.make.in (output-format): New variable.
9005 * configure.in: Check for ld --print-output-format support.
9006 * configure: Regenerated.
9007 * Makerules ($(common-objpfx)format.lds)
9008 [$(output-format) != unknown]: Just use $(output-format),
9009 instead of the linker-script munging.
9011 2011-07-14 Roland McGrath <roland@hack.frob.com>
9013 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9014 of $(common-objpfx)shlib.lds.
9015 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9017 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9018 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9020 * configure.in (-z relro check): Adjust test code to add a large
9021 writable data section after it.
9022 * configure: Regenerated.
9024 2011-07-11 Roland McGrath <roland@hack.frob.com>
9026 * configure.in (-z relro check): Fix test code to make the variable
9028 * configure: Regenerated.
9030 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9032 * nscd/nscd.h (struct traced_file): Define.
9033 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9034 elements. Add traced_files.
9035 (inotify_fd): Declare.
9036 (register_traced_file): Declare.
9037 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9038 (inotify_fd): Export.
9039 (resolv_conf_descr): Remove.
9040 (nscd_init): Move inotify descriptor creation to main.
9041 Don't register files for notification here.
9042 (register_traced_file): New function.
9043 (invalidate_cache): Don't use reset_res to determine whether to call
9044 res_init, go through the list of registered files.
9045 (main_loop_poll): The inotify descriptors are now stored in the
9046 structures for the traced files.
9047 (main_loop_epoll): Likewise
9048 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9049 to __nss_disable_nscd.
9050 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9051 for a database anymore. Check the records for all the registered
9053 * nss/Makefile (libnss_files-routines): Add files-init.
9054 (libnss_db-routines): Add db-init.
9055 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9056 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9057 * nss/nss_db/db-init.c: New file.
9058 * nss/nss_files/files-init.c: New file.
9059 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9060 __nss_lookup_function.
9061 (__nss_lookup_function): Call nss_load_library.
9062 (nss_load_all_libraries): New function.
9063 (__nss_disable_nscd): Take parameter with callback function for files
9064 to register. Set is_nscd. Load all the DSOs for the NSS modules
9065 used for the cached services.
9066 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9067 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9068 options for features to all the files in nscd.
9070 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9072 2011-07-10 Roland McGrath <roland@hack.frob.com>
9074 * csu/elf-init.c (__libc_csu_init): Comment typo.
9076 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9078 * po/pl.po: Update from translation team.
9079 * po/ja.po: Likewise.
9080 * po/ru.po: Likewise.
9081 * po/ko.po: Likewise.
9082 * po/fr.po: Likewise.
9084 2011-07-09 Roland McGrath <roland@hack.frob.com>
9086 * configure.in (.ctors/.dtors header and trailer check):
9087 Use an empirical test on a built program.
9088 * configure: Regenerated.
9090 * configure.in (-z relro check): Use an empirical test on a built DSO.
9091 Detect, but do not require, on ia64.
9092 * configure: Regenerated.
9094 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9095 Update tests that use readelf to use $READELF instead.
9096 * configure: Regenerated.
9098 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9100 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9101 if the result is not used.
9103 2011-07-05 Andreas Jaeger <aj@suse.de>
9106 * stdlib/tst-strtod.c: Add testcase.
9108 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9110 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9111 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9112 The latter has a higher limit. Take additional parameter to pass to
9114 (__pathconf): Pass file to __statfs_link_max.
9115 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9117 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9121 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9122 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9124 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9125 (__statfs_filesize_max): Likewise.
9126 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9128 2011-07-05 Andreas Jaeger <aj@suse.de>
9130 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9132 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9134 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9136 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9139 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9141 * Makefile (strop-tests): Add strncat.
9142 * string/test-strncat.c: New file.
9144 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9146 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9148 2011-06-21 Andreas Jaeger <aj@suse.de>
9150 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9151 Copy rule from iconvdata/Makefile.
9153 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9156 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9157 but no long options are defined, just return 'W'.
9159 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9162 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9164 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9166 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9168 (innetgr): Likewise.
9170 2011-07-05 Roland McGrath <roland@hack.frob.com>
9172 * config.make.in (install_root): Default to $(DESTDIR).
9174 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9176 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9178 2011-07-02 Roland McGrath <roland@hack.frob.com>
9180 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9182 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9183 containing directory rather than embedding absolute directory names.
9185 * scripts/check-local-headers.sh: Rewritten using awk.
9186 Match by word, not by line. Print error messages for matches.
9187 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9189 * Makerules [shlib-lds-flags empty]:
9190 ($(common-objpfx)libc_pic.opts): New target.
9191 ($(common-objpfx)libc_pic.os.clean): New target.
9192 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9194 * config.make.in (OBJCOPY): New variable.
9195 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9196 * configure: Regenerated.
9198 * config.make.in (use-default-link): New variable.
9199 * configure.in (use_default_link): Grok --with-default-link to set it.
9200 * configure: Regenerated.
9201 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9202 (shlib-lds, shlib-lds-flags): Define to empty.
9204 * Makerules (shlib-lds): New variable.
9205 (shlib-lds-flags): New variable.
9206 (build-shlib, build-moduile, build-module-asneeded): Use it.
9207 ($(common-objpfx)libc.so): Use $(shlib-lds).
9208 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9209 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9211 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9212 DT_FLAGS/DT_FLAGS_1 with zero flags.
9214 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9215 linker script munging.
9217 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9219 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9221 * crypt/sha512.c (sha512_process_block): Perform total addition using
9222 128-bit if possible.
9223 (__sha512_finish_ctx): Likewise.
9224 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9226 * crypt/sha256.c (SWAP64): Define.
9227 (sha256_process_block): Perform total addition using 64-bit if
9229 (__sha256_finish_ctx): Likewise.
9231 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9233 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9234 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9235 * nscd/hstcache.c (cache_addhst): Likewise.
9236 * nscd/grpcache.c (cache_addgr): Likewise.
9237 * nscd/aicache.c (addhstaiX): Likewise
9238 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9240 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9242 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9243 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9244 * nscd/hstcache.c (cache_addhst): Likewise.
9245 * nscd/grpcache.c (cache_addgr): Likewise.
9246 * nscd/aicache.c (addhstaiX): Likewise
9248 2011-07-01 Andreas Schwab <schwab@redhat.com>
9250 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9251 domain only when needed.
9253 2011-06-30 Andreas Schwab <schwab@redhat.com>
9255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9258 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9260 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9261 are re-adding the entry.
9262 * nscd/servicescache.c (cache_addserv): Likewise.
9264 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9266 * sysdeps/generic/dl-irel.h: fix protection against multiple
9268 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9270 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9273 * malloc/memusage.sh: Fix quoting in message.
9274 * debug/xtrace.sh: Likewise.
9276 * configure.in: Remove support for --experimental-malloc option, make
9278 * config.make.in: Likewise.
9279 * malloc/Makefile: Likewise.
9281 2011-06-27 Andreas Schwab <schwab@redhat.com>
9283 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9284 two-byte characters.
9286 2011-06-27 Roland McGrath <roland@hack.frob.com>
9288 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9289 AC_CACHE_CHECK invocation.
9290 * configure: Regenerated.
9292 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9294 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9297 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9298 bit from old_res_options.
9300 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9302 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9303 value type for setfct.
9305 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9307 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9308 __gettimeofday instead of gettimeofday.
9310 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9312 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9314 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9316 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9318 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9321 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9324 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9325 strcpy-sse2-unaligned strncpy-sse2-unaligned
9326 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9327 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9328 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9329 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9330 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9331 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9332 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9333 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9334 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9335 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9336 (STRCPY): Support SSE2 and SSSE3 versions.
9338 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9341 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9342 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9343 kernels which artificially limit size of requests.
9345 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9347 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9348 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9349 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9350 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9351 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9352 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9353 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9354 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9355 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9356 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9357 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9358 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9359 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9360 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9361 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9363 Enable unaligned load optimization for Intel Core i3, i5 and i7
9365 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9367 (index_Fast_Unaligned_Load): Define.
9368 (HAS_FAST_UNALIGNED_LOAD): Define.
9370 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9372 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9374 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9377 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9378 until it is clear that the information is realy needed.
9379 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9381 2011-06-22 Andreas Schwab <schwab@redhat.com>
9383 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9385 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9387 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9388 /sys/devices/system/cpu/online if it is usable.
9390 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9391 reading the information from the /proc filesystem to once a second.
9393 2011-06-21 Andreas Jaeger <aj@suse.de>
9395 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9396 NULL after inclusion of kernel headers.
9398 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9400 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9401 calls to internal_setent.
9404 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9405 addresses using gethostbyname4_r ignore IPv4 addresses.
9407 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9408 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9410 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9412 2011-06-20 David S. Miller <davem@davemloft.net>
9414 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9416 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9418 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9420 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9421 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9422 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9423 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9424 * sysdeps/x86_64/dl-irel.h: Likewise.
9426 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9427 * elf/dl-sym.c: Likewise.
9429 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9431 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9432 need to dereference resplen2.
9434 2011-06-14 Andreas Schwab <schwab@redhat.com>
9436 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9438 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9440 * Makeconfig: Define vardbdir and inst_vardbdir.
9441 * nss/Makefile: Add rules to install db-Makefile.
9443 * nss/nss_db/db-XXX.c: Cleanup.
9445 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9446 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9448 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9449 * nss/makedb.c: Implement -g option to specify that value strings
9450 are generated and should not be added to table iterated over for
9452 * nss/nss_db/db-initgroups.c: New file.
9454 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9457 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9458 (internal_getgrouplist): Adjust to name change.
9459 Update use_initgroups_entry if this is not the first call.
9460 * nss/databases.def: Add initgroups entry.
9462 * nss/makedb.c (compute_tables): Check result of multiple hash table
9463 sizes to minimize maximum chain length.
9465 2011-06-14 Ulrich Drepper <drepper@gmail.com>
9467 * Versions.def: Add entry for libnss_db.
9468 * shlib-versions: Likewise.
9469 * nss/Makefile: Add rules to build libnss_db.
9470 * nss/Versions: Add libnss_db information. Organize libnss_files
9472 * nss/db-Makefile: Add gshadow support. Change rules for the new
9473 makedb progra. Some minor improvements to generate smaller files.
9474 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9476 * nss/makedb.c: ...here.
9477 Improve database format to be smaller and require less memory at
9479 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9481 * nss/nss_db/db-netgrp.c: Likewise.
9482 * nss/nss_db/db-open.c: Likewise.
9483 * nss/nss_files/flies-XXX.x: Adjust comments.
9484 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9485 * nss/nss_files/files-grp.c: Likewise.
9486 * nss/nss_files/files-hosts.c: Likewise.
9487 * nss/nss_files/files-network.c: Likewise.
9488 * nss/nss_files/files-proto.c: Likewise.
9489 * nss/nss_files/files-pwd.c: Likewise.
9490 * nss/nss_files/files-rpc.c: Likewise.
9491 * nss/nss_files/files-service.c: Likewise.
9492 * nss/nss_files/files-sgrp.c: Likewise.
9493 * nss/nss_files/files-spwd.c: Likewise.
9494 * nss/nss_db/db-alias.c: Removed.
9495 * nss/nss_db/dummy-db.h: Removed.
9497 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9499 * nss/makedb.c: Rewritten to not use database library.
9500 * nss/Makefile: Update to build new makedb program.
9502 2011-06-14 Andreas Jaeger <aj@suse.de>
9504 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9507 2011-06-10 Andreas Schwab <schwab@redhat.com>
9509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9512 2011-06-10 Roland McGrath <roland@hack.frob.com>
9514 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9515 * elf/Makefile ($(objpfx)ld.so): Likewise.
9517 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9518 Don't list ld.so twice in dependencies.
9520 * posix/bug-regex31.c: Include <stdlib.h>.
9522 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9524 * nis/nss_compat/compat-spwd.c
9525 (getspent_next_nss_netgr): Remove unused variable.
9526 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9528 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9529 nonmembers" output to use the right array.
9531 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9533 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9535 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9536 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9537 * catgets/gencat.c (read_input_file): Likewise.
9538 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9540 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9541 variable definition inside #if's controlling its use.
9543 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9545 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9547 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9549 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9552 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9554 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9555 * configure: Regenerated.
9557 * Makerules: Revert last change.
9558 * elf/Makefile: Likewise.
9560 2011-06-09 Roland McGrath <roland@hack.frob.com>
9562 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9563 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9564 (reloc-link): Likewise.
9566 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9568 * elf/Makefile: Add rules to build pldd.
9569 * elf/pldd.c: New file.
9570 * elf/pldd-xx.c: New file.
9572 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9574 * version.h: Update for 2.15 development version.
9576 2011-06-07 David S. Miller <davem@davemloft.net>
9578 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9580 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9581 elf_machine_lazy_rel): Likewise.
9582 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9583 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9584 elf_machine_lazy_rel): Likewise.
9585 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9586 dl_hwcap via passed in argument.
9587 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9590 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9592 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9594 2011-06-06 Roland McGrath <roland@hack.frob.com>
9597 * manual/fdl-1.1.texi: New file, verbatim from:
9598 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9599 * manual/lgpl-2.1.texi: New file, verbatim from:
9600 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9601 * manual/Makefile (licenses): New variable, list those new file names.
9603 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9605 * manual/fdl.texi: File removed.
9606 * manual/lesser.texi: File removed.
9607 * manual/libc.texinfo (Copying, Documentation License):
9608 Use new @include file names, put @appendix directive before @include.
9610 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9613 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9614 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9615 (mq_open): Add __NTH.
9617 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9620 Assume Intel Core i3/i5/i7 processor if AVX is available.
9622 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9624 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9627 2011-05-31 Andreas Schwab <schwab@redhat.com>
9629 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9630 memory. Use alloca_account. Fix memory leak when retrying.
9632 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9634 * version.h (RELEASE): Bump for 2.14 release.
9635 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9637 * config.make.in (RANLIB): Remove entry.
9639 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9641 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9642 (libc.pot): Work around missing support for .ksh extension in xgettext.
9645 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9646 if both request failed.
9647 (send_dg): In case of server errors clear resplen or *resplen2.
9650 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9651 when there are multiple maps.
9652 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9653 (_dl_fini): Remove test here.
9655 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9657 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9660 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9661 bit from old_res_options.
9662 (gaih_inet): Likewise.
9665 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9668 * resolv/res_init.c (res_setoptions): Make the code more compact.
9671 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9675 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9677 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9680 * malloc/malloc.h: Declare malloc hook variables as volatile.
9682 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9686 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9687 raise in the comment.
9688 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9689 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9690 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9692 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9695 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9696 grow the buffers more if it already has to be sufficient.
9697 (build_wcs_upper_buffer): Likewise.
9698 * posix/regexec.c (check_matching): Likewise.
9699 (clean_state_log_if_needed): Likewise.
9700 (extend_buffers): Don't enlarge buffers beyond size of the input
9702 Patches mostly by Emil Wojak <emil@wojak.eu>.
9703 * posix/bug-regex32.c: New file.
9704 * posix/Makefile (tests): Add bug-regex32.
9706 * locale/findlocale.c (_nl_find_locale): Return right away if
9707 _nl_explode_name failed.
9708 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9710 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9712 * debug/xtrace.sh: Unify messages.
9713 * malloc/memusage.sh: Likewise.
9716 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9717 time symbol from vDSO. Substitute with vsyscall if not available.
9718 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9721 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9722 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9723 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9724 Add sendmmsg and internal_sendmmsg.
9725 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9726 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9727 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9729 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9730 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9731 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9733 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9736 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9737 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9739 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9743 * iconvdata/Makefile (tests): Add bug-iconv9.
9744 * iconvdata/bug-iconv9.c: New file.
9746 2011-05-27 Andreas Schwab <schwab@redhat.com>
9749 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9751 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9753 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9754 (struct user_regs_struct): Change intcs field back to cs.
9756 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9758 * po/ja.po: Update from translation team.
9760 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9763 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9764 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9766 2011-05-20 Andreas Schwab <schwab@redhat.com>
9768 * stdlib/longlong.h: Update from GCC.
9770 2011-05-23 Andreas Schwab <schwab@redhat.com>
9772 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9774 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9776 (__sysconf): Pass it down.
9778 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9781 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9783 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9784 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9785 add in in __libc_use_alloca calls. Adjust callers.
9786 (glob): Use malloc in some situations.
9788 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9789 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9792 2011-05-21 Ulrich Drepper <drepper@gmail.com>
9794 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9795 and CLOCK_BOOTTIME_ALARM.
9798 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9801 * string/_strerror.c (__strerror_r): Print negative errors as signed
9805 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9806 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9807 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9809 * configure.in: Fix typo in redirection and correct removal of test
9813 * locale/setlocale.c (new_composite_name): Fix test to check for
9814 identical name of all categories.
9817 * libio/filedoalloc.c (local_isatty): New function.
9818 (_IO_file_doallocate): Use local_isatty.
9819 * stdio-common/perror.c (perror): In case a new stream is used
9820 forward the stream error.
9821 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9824 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9829 * include/alloca.h (extend_alloca_account): Define.
9832 * posix/regex.h: Fix comments with documentation of user-accessible
9833 fields after compilation and describe correct free'ing of pattern
9834 after re_compile_pattern.
9835 Patch by Reuben Thomas <rrt@sc3d.org>.
9837 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9839 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9840 and -mno-altivec to prevent the compiler from using Altivec and/or
9841 VSX instructions when the corresponding registers are not available.
9843 2011-05-19 Andreas Schwab <schwab@redhat.com>
9845 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9847 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9849 * libio/freopen.c (freopen): Use __dup2, not dup2.
9850 * libio/freopen64.c (freopen64): Likewise.
9852 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9855 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9856 * math/Makefile (tests): Add test-powl.
9857 (CFLAGS-test-powl.c): Define.
9858 * math/test-powl.c: New file.
9860 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9862 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9864 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9867 * iconvdata/gb18030.c: Update to GB18020-2005.
9869 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9871 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9872 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9873 Patch by Aharon Robbins <arnold@skeeve.com>.
9876 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9880 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9884 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9885 point to strings before performing equality test for error_one_per_line
9889 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9892 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9893 (struct user_fpregs_struct): Avoid __uint*_t types.
9896 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9897 symbol info. Use it instead of calling _dl_addr locally.
9898 (lock_and_info): New function.
9899 (tr_freehook): Call lock_and_info and pass symbol info as additional
9900 parameter to tr_where.
9901 (tr_mallochook): Likewise.
9902 (tr_reallochook): Likewise.
9903 (tr_memalignhook): Likewise.
9905 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9906 used and couldn't be at all thread-safe.
9908 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9910 * libio/freopen.c (freopen): Don't close old file descriptor
9911 before the new one is opened. Instead dup the new file descriptor
9912 to the old one after the new stream is created.
9913 * libio/freopen64.c (freopen64): Likewise.
9914 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9915 * libio/fileops.c (_IO_new_file_close_it): Handle new
9916 _IO_FLAGS2_NOCLOSE flag.
9917 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9918 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9919 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9920 _IO_FLAGS2_NOCLOSE flag.
9921 * include/unistd.h: Add hidden_proto for dup3.
9923 * io/dup3.c: Define hidden symbol.
9924 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9927 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9928 when an incomplete long option is used.
9929 * posix/tst-getopt_long1.c: New file.
9930 * posix/Makefile (tests): Add tst-getopt_long1.
9933 * scripts/config.guess: Update from autoconf-2.68.
9934 * scripts/config.sub: Likewise.
9937 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9939 (has_cpuclock): ...this. New function.
9940 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9941 macro here based on has_cpuclock code.
9944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9945 First byte (not low byte) is now always NUL.
9946 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9948 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9949 Use non-cancelable interfaces.
9952 * locale/iso-639.def: Add entry for Sorani.
9955 * include/stdlib.h: Move include protection to the right place.
9956 Define abort_msg_s. Declare __abort_msg with it.
9957 * stdlib/abort.c (__abort_msg): Adjust type.
9958 * assert/assert.c (__assert_fail_base): New function. Majority
9959 of code from __assert_fail. Allocate memory for __abort_msg with
9961 (__assert_fail): Now call __assert_fail_base.
9962 * assert/assert-perr.c: Remove bulk of implementation. Use
9964 * include/assert.hL Declare __assert_fail_base.
9965 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9967 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9969 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9973 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9974 until all modules are registered in the DTV.
9975 * elf/Makefile: Add rules to build and run tst-tls19.
9976 * elf/tst-tls19.c: New file.
9977 * elf/tst-tls19mod1.c: New file.
9978 * elf/tst-tls19mod2.c: New file.
9979 * elf/tst-tls19mod3.c: New file.
9980 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9983 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9987 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9988 two-byte sequence errors.
9989 * iconvdata/Makefile (tests): Add bug-iconv8.
9990 * iconvdata/bug-iconv8.c: New file.
9993 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9996 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9999 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10000 (dummy_getcfa): New function.
10001 (init): Get _Unwind_GetCFA address, use dummy if not found.
10002 (backtrace_helper): In recursion check, also check whether CFA changes.
10003 (__backtrace): Completely initialize arg.
10005 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10006 storing incomplete byte sequence in state object. Avoid testing for
10007 guaranteed too small input if we know there is enough data available.
10009 2011-05-11 Andreas Schwab <schwab@redhat.com>
10011 * Makeconfig (+link-pie): Indent.
10012 * Rules (binaries-pie): Define if $(have-fpie) and
10014 (binaries-shared): Also filter out $(binaries-pie).
10015 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10016 * nscd/Makefile (others-pie): Add nscd.
10017 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10018 ($(objpfx)nscd): Remove command override.
10019 * login/Makefile (others-pie): Add pt_chown.
10020 ($(objpfx)pt_chown): Remove command override.
10021 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10022 remove command overrides.
10024 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10026 * libio/tst_putwc.c: Fix error messages.
10029 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10030 currently writing and seek to current position when not.
10031 * libio/Makefile (tests): Add bug-fclose1.
10032 * libio/bug-fclose1.c: New file.
10034 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10037 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10038 don't set DF_1_NODELETE here.
10039 (do_lookup_x): When entering new entry test for copy relocation
10040 and if necessary set DF_1_NODELETE flag.
10041 * elf/tst-unique4.cc: New file.
10042 * elf/tst-unique4.h: New file.
10043 * elf/tst-unique4lib.cc: New file.
10044 * elf/Makefile: Add rules to build and run tst-unique4.
10045 Patch by Piotr Bury <pbury@goahead.com>.
10047 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10050 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10053 * misc/mntent_r.c (addmntent): Flush the stream after the output
10056 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10057 (is_trusted_path_normalize): Skip initial colon. Append slash
10058 to empty buffer. Duplicate is_trusted_path code but allow
10059 constructed patch to be prefix.
10060 (is_dst): Allow $ORIGIN followed by /.
10061 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10062 Correct testing of result of is_trusted_path_normalize
10063 (decompose_rpath): Fix warning.
10065 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10068 * grp/initgroups.c (internal_getgrouplist): When we found the service
10069 list through the initgroups entry in nsswitch.conf do not always
10070 continue on a successful lookup. Don't always use the
10071 __nss_group_database value if it is set.
10072 * nss/nsswitch.conf (initgroups): Change action for successful db
10073 lookup to continue for compatibility.
10075 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10078 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10080 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10082 * iconvdata/tst-tables.sh: Likewise.
10083 * iconvdata/cp770.c: New file.
10084 * iconvdata/cp771.c: New file.
10085 * iconvdata/cp772.c: New file.
10086 * iconvdata/cp773.c: New file.
10087 * iconvdata/cp774.c: New file.
10088 * iconvdata/testdata/CP770: New file.
10089 * iconvdata/testdata/CP770..UTF8: New file.
10090 * iconvdata/testdata/CP771: New file.
10091 * iconvdata/testdata/CP771..UTF8: New file.
10092 * iconvdata/testdata/CP772: New file.
10093 * iconvdata/testdata/CP772..UTF8: New file.
10094 * iconvdata/testdata/CP773: New file.
10095 * iconvdata/testdata/CP773..UTF8: New file.
10096 * iconvdata/testdata/CP774: New file.
10097 * iconvdata/testdata/CP774..UTF8: New file.
10099 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10101 * iconvdata/gen-8bit-gap.sh: Likewise.
10102 * iconvdata/gen-8bit.sh: Likewise.
10104 * locale/iso-639.def: Add ary entry.
10107 * locale/C-translit.h.in: Add U20A1 transliteration.
10110 * locale/iso-639.def: Add wae entry.
10111 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10114 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10118 * locale/C-translit.h.in: Add entry for U20B9.
10119 Patch by pravin.d.s@gmail.com.
10121 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10124 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10125 ENAMETOOLONG use generic getcwd.
10126 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10127 in rtld. Use *stat64.
10128 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10129 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10130 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10131 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10132 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10133 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10134 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10135 __fstatat64 macros.
10136 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10137 * dirent/rewinddir.c: Add libc_hidden_def.
10138 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10139 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10141 * include/dirent.h (__alloc_dir): Add flags parameter.
10142 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10143 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10145 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10146 from fdopendir if O_CLOEXEC is already set.
10148 2011-03-15 Alan Modra <amodra@gmail.com>
10150 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10151 l_tls_firstbyte_offset non-zero. Save padding offset in
10152 l_tls_firstbyte_offset for later use.
10153 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10154 freeing static tls block.
10156 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10158 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10159 where #ifdef was intended. The intent is to prevent ARG_MAX from
10160 being defined by the kernel headers.
10162 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10165 * resolv/resolv.h: Define RES_NOTLDQUERY.
10166 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10167 no-tld-query and set RES_NOTLDQUERY.
10168 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10169 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10170 modern BIND to search name as TLD unless forbidden.
10172 2011-05-07 Petr Baudis <pasky@suse.cz>
10173 Ulrich Drepper <drepper@gmail.com>
10176 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10177 (is_trusted_path): ...to here.
10178 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10179 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10180 using is_trusted_path_normalize() in setuid scripts.
10182 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10184 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10185 __BEGIN/__END_DECLS.
10187 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10189 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10190 NSS_STATUS_NOTFOUND if no record was found.
10192 2011-05-05 Andreas Schwab <schwab@redhat.com>
10194 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10195 (headers-not-in-tirpc): Remove rpc/netdb.h
10196 * resolv/netdb.h: Revert last change.
10198 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10200 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10201 circular dependency between libgcc.a and libc.a.
10203 2011-05-05 Andreas Schwab <schwab@redhat.com>
10205 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10206 * nis/Makefile: Don't install rpcsvc/*.
10207 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10208 instead of <rpc/types.h>.
10209 (MAXHOSTNAMELEN): Define.
10211 2011-05-03 Andreas Schwab <schwab@redhat.com>
10213 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10215 2011-04-28 Maciej Babinski <mbabinski@google.com>
10218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10219 gethostbyname4_r when IPv6 results are possible.
10221 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10224 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10225 _PC_PIPE_BUF handling.
10227 2011-04-30 Bruno Haible <bruno@clisp.org>
10230 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10231 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10233 * inet/getnameinfo.c (getnameinfo): Likewise.
10235 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10237 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10238 to groups setting in database lookup.
10239 * nss/nsswitch.conf: Add initgroups entry.
10241 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10244 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10246 Patch by Eric Blake <eblake@redhat.com>.
10248 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10250 * sunrpc/Makefile (need-export-routines): Add svc_run.
10251 (routines): Remove svc_run.
10252 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10253 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10254 * sunrpc/svc_run.c (svc_run): Likewise.
10255 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10257 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10259 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10260 problem in reallocation in last patch.
10262 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10264 * sunrpc/Makefile: Move inclusion of Rules.
10266 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10268 * nss/nss_files/files-initgroups.c: New file.
10269 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10270 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10271 _nss_files_initgroups_dyn.
10273 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10275 * elf/elf.h (R_ARM_IRELATIVE): Define.
10277 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10279 * po/ru.po: Update from translation team.
10281 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10283 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10286 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10289 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10290 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10291 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10292 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10293 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10295 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10297 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10299 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10300 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10301 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10303 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10306 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10308 * stdlib/bug-getcontext.c: New file.
10309 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10311 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10313 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10314 instructions into .machine "z9-109".
10315 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10316 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10318 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10320 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10321 between environment variables and auxiliary vector.
10323 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10325 * Makefile: Add rules to build linkobj/libc.so.
10326 * include/libc-symbols.h: Define libc_hidden_nolink.
10327 * include/rpc/auth.h: Mark functions which are to be hidden.
10328 * include/rpc/auth_des.h: Likewise.
10329 * include/rpc/auth_unix.h: Likewise.
10330 * include/rpc/clnt.h: Likewise.
10331 * include/rpc/des_crypt.h: Likewise.
10332 * include/rpc/key_prot.h: Likewise.
10333 * include/rpc/pmap_clnt.h: Likewise.
10334 * include/rpc/pmap_prot.h: Likewise.
10335 * include/rpc/pmap_rmt.h: Likewise.
10336 * include/rpc/rpc_msg.h: Likewise.
10337 * include/rpc/svc.h: Likewise.
10338 * include/rpc/svc_auth.h: Likewise.
10339 * include/rpc/xdr.h: Likewise.
10340 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10341 * nss/Makefile: Likewise.
10342 * sunrpc/Makefile: Don't install headers. Build library with normal
10343 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10344 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10345 for the compat linking library. Remove use of INTDEF/INTUSE.
10346 * sunrpc/auth_none.c: Likewise.
10347 * sunrpc/auth_unix.c: Likewise.
10348 * sunrpc/authdes_prot.c: Likewise.
10349 * sunrpc/authuxprot.c: Likewise.
10350 * sunrpc/clnt_gen.c: Likewise.
10351 * sunrpc/clnt_perr.c: Likewise.
10352 * sunrpc/clnt_raw.c: Likewise.
10353 * sunrpc/clnt_simp.c: Likewise.
10354 * sunrpc/clnt_tcp.c: Likewise.
10355 * sunrpc/clnt_udp.c: Likewise.
10356 * sunrpc/clnt_unix.c: Likewise.
10357 * sunrpc/des_crypt.c: Likewise.
10358 * sunrpc/des_soft.c: Likewise.
10359 * sunrpc/get_myaddr.c: Likewise.
10360 * sunrpc/key_call.c: Likewise.
10361 * sunrpc/key_prot.c: Likewise.
10362 * sunrpc/netname.c: Likewise.
10363 * sunrpc/pm_getmaps.c: Likewise.
10364 * sunrpc/pm_getport.c: Likewise.
10365 * sunrpc/pmap_clnt.c: Likewise.
10366 * sunrpc/pmap_prot.c: Likewise.
10367 * sunrpc/pmap_prot2.c: Likewise.
10368 * sunrpc/pmap_rmt.c: Likewise.
10369 * sunrpc/publickey.c: Likewise.
10370 * sunrpc/rpc_cmsg.c: Likewise.
10371 * sunrpc/rpc_common.c: Likewise.
10372 * sunrpc/rpc_dtable.c: Likewise.
10373 * sunrpc/rpc_prot.c: Likewise.
10374 * sunrpc/rpc_thread.c: Likewise.
10375 * sunrpc/rtime.c: Likewise.
10376 * sunrpc/svc.c: Likewise.
10377 * sunrpc/svc_auth.c: Likewise.
10378 * sunrpc/svc_authux.c: Likewise.
10379 * sunrpc/svc_raw.c: Likewise.
10380 * sunrpc/svc_run.c: Likewise.
10381 * sunrpc/svc_simple.c: Likewise.
10382 * sunrpc/svc_tcp.c: Likewise.
10383 * sunrpc/svc_udp.c: Likewise.
10384 * sunrpc/svc_unix.c: Likewise.
10385 * sunrpc/svcauth_des.c: Likewise.
10386 * sunrpc/xcrypt.c: Likewise.
10387 * sunrpc/xdr.c: Likewise.
10388 * sunrpc/xdr_array.c: Likewise.
10389 * sunrpc/xdr_float.c: Likewise.
10390 * sunrpc/xdr_intXX_t.c: Likewise.
10391 * sunrpc/xdr_mem.c: Likewise.
10392 * sunrpc/xdr_rec.c: Likewise.
10393 * sunrpc/xdr_ref.c: Likewise.
10394 * sunrpc/xdr_sizeof.c: Likewise.
10395 * sunrpc/xdr_stdio.c: Likewise.
10397 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10400 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10401 * sysdeps/ia64/dl-tls.h: Likewise.
10402 * sysdeps/powerpc/dl-tls.h: Likewise.
10403 * sysdeps/s390/dl-tls.h: Likewise.
10404 * sysdeps/sh/dl-tls.h: Likewise.
10405 * sysdeps/sparc/dl-tls.h: Likewise.
10406 * sysdeps/x86_64/dl-tls.h: Likewise.
10407 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10409 2011-03-14 Andreas Schwab <schwab@redhat.com>
10411 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10412 rpath element also skip the following colon.
10413 (expand_dynamic_string_token): Add is_path parameter and pass
10414 down to DL_DST_REQUIRED and _dl_dst_substitute.
10415 (decompose_rpath): Call expand_dynamic_string_token with
10416 non-zero is_path. Ignore empty rpaths.
10417 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10420 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10425 2011-04-09 Ulrich Drepper <drepper@gmail.com>
10428 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10429 Patch by Filipe David Manana <fdmanana@apache.org>.
10431 2011-04-07 Andreas Schwab <schwab@redhat.com>
10433 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10434 Maintain aligned stack.
10435 (CHECK_RSP): Remove unused macro.
10437 2011-04-03 Ulrich Drepper <drepper@gmail.com>
10439 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10440 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10442 2011-04-02 Ulrich Drepper <drepper@gmail.com>
10444 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10446 * include/features.h: Mention __USE_XOPEN2K8 in comment.
10448 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10451 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10452 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10453 * sysdeps/x86_64/memmove.c: New file.
10454 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10455 (memcpy): Renamed to ...
10456 (__new_memcpy): This.
10457 (memcpy): Provide GLIBC_2_14 memcpy.
10458 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10459 (memcpy): Provide GLIBC_2_2_5 memcpy.
10461 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10464 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10466 2011-03-30 Andreas Schwab <schwab@redhat.com>
10468 * misc/syncfs.c: New file.
10469 * misc/Makefile (routines): Add syncfs.
10470 * posix/unistd.h: Declare syncfs.
10471 * sysdeps/unix/syscalls.list: Add syncfs.
10473 2011-04-01 Andreas Schwab <schwab@redhat.com>
10475 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10477 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10478 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10479 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10480 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10481 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10482 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10483 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10485 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10487 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10488 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10489 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10490 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10491 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10493 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10495 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10496 sync_file_range.c with -fexceptions.
10497 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10498 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10499 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10500 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10501 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10502 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10503 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10504 sync_file_range as cancellation point
10505 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10506 now a wrapper around __call_sync_file_range with cancellation handling.
10507 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10508 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10509 function name to __call_sync_file_range.
10510 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10511 Add call_sync_file_range.
10513 2011-04-01 Andreas Schwab <schwab@redhat.com>
10515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10518 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10520 * iconv/iconv.h: Fix typo in comment.
10521 * io/fcntl.h: Likewise.
10522 * libio/stdio.h: Likewise.
10523 * posix/spawn.h: Likewise.
10524 * posix/unistd.h: Likewise.
10525 * stdlib/stdlib.h: Likewise.
10526 * time/time.h: Likewise.
10527 * wcsmbs/wchar.h: Likewise.
10529 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10530 open_by_handle): Add.
10531 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10532 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10533 Augment a few comments.
10534 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10536 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10539 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10542 * io/fcntl.h (AT_EMPTY_PATH): Define.
10544 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10546 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10547 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10548 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10550 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10551 * Versions.def: Add GLIBC_2.14.
10552 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10555 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10557 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10559 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10561 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10564 * string/test-strncmp.c (do_page_test): New function.
10565 (check2): Likewise.
10566 (test_main): Call check2.
10567 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10569 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10572 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10573 Handle cache information in CPU leaf 4.
10574 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10576 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10579 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10580 character representation.
10581 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10583 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10585 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10586 END(__isnan) to END(__isnanf) to match function entry point/label
10587 EALIGN(__isnanf,...).
10589 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10591 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10593 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10596 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10597 copy from the symbol referenced in the relocation to initialize the
10599 Patch by Piotr Bury <pbury@goahead.com>.
10600 * elf/Makefile: Add rules to build and tst-unique3.
10601 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10602 * elf/tst-unique3.cc: New file.
10603 * elf/tst-unique3.h: New file.
10604 * elf/tst-unique3lib.cc: New file.
10605 * elf/tst-unique3lib2.cc: New file.
10607 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10609 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10611 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10612 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10615 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10617 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10618 to-be-loaded object along a path to loader is ld.so.
10620 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10621 Ulrich Drepper <drepper@gmail.com>
10623 * sysdeps/x86_64/memset.S: After aligning destination, code
10624 branches to different locations depending on the value of
10625 misalignment, when multiarch is enabled. Fix this.
10627 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10629 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10630 Set _x86_64_preferred_memory_instruction for AMD processsors.
10631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10632 Set bit_Prefer_SSE_for_memop for AMD processors.
10634 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10636 * libio/fmemopen.c (fmemopen): Optimize a bit.
10638 2011-03-03 Andreas Schwab <schwab@redhat.com>
10640 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10642 2011-03-03 Roland McGrath <roland@redhat.com>
10644 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10646 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10648 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10649 __bzero_ultra1 instead of __memset_ultra1.
10651 2011-02-23 Andreas Schwab <schwab@redhat.com>
10652 Ulrich Drepper <drepper@gmail.com>
10655 * include/link.h (struct link_map): Add l_orig_initfini.
10656 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10657 returning unsuccessfully.
10658 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10659 close of a file loaded at startup, restore the original l_initfini
10661 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10662 list, store the pointer.
10663 * elf/Makefile ($(objpfx)noload-mem): New rule.
10664 (noload-ENV): Define.
10665 (tests): Add $(objpfx)noload-mem.
10666 * elf/noload.c: Include <memcheck.h>.
10667 (main): Call mtrace. Close all opened handles.
10669 2011-02-17 Andreas Schwab <schwab@redhat.com>
10672 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10673 dependencies are missing.
10675 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10677 Fix __if_freereq crash: Unlike the generic version which uses free,
10679 * sysdeps/mach/hurd/ifreq.h: New file.
10681 2011-01-27 Petr Baudis <pasky@suse.cz>
10682 Ulrich Drepper <drepper@gmail.com>
10685 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10686 to extend_alloca().
10687 * stdio-common/bug23.c: New file.
10688 * stdio-common/Makefile (tests): Add bug23.
10690 2010-09-28 Andreas Schwab <schwab@redhat.com>
10691 Ulrich Drepper <drepper@gmail.com>
10694 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10695 before performing relro protection. At old place add assertion
10696 to make sure nothing changed.
10698 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10699 Glauber de Oliveira Costa <glommer@gmail.com>
10701 * elf/elf.h: Add new ARM TLS relocs.
10703 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10706 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10708 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10710 * sysdeps/wordsize-64/tst-writev.c: New file.
10712 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10714 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10715 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10716 insns in _dl_start to prevent a TOC reference before relocs are
10719 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10722 * Makeconfig: Remove RANLIB definition.
10723 * Makerules: Don't use RANLIB.
10724 * aclocal.m4: Remove ranlib test.
10725 * configure.in: No need to check for ranlib.
10726 * elf/rtld-Rules: Don't use RANLIB.
10728 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10730 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10732 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10733 inclusion protection macro.
10735 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10736 SIGRTMIN and SIGRTMAX and print information in that case only when
10737 SIGRTMIN is defined.
10739 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10741 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10742 arginfo fn returning -1.
10744 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10745 and thousands string is zero terminated.
10747 2011-02-03 Andreas Schwab <schwab@redhat.com>
10749 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10750 sysdeps/unix/sysv/linux/bits/socket.h.
10752 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10754 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10755 (__CPU_COUNT): Remove old macros.
10756 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10757 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10758 (__CPU_ALLOC, __CPU_FREE): Add macros.
10759 (__sched_cpualloc, __sched_cpufree): Add declarations.
10761 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10763 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10764 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10765 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10766 (readdhstai): Return value of addhstaiX call.
10767 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10768 (addgrbyX): Return value returned by cache_addgr.
10769 (readdgrbyname): Return value returned by addgrbyX.
10770 (readdgrbygid): Likewise.
10771 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10772 (addpwbyX): Return value returned by cache_addpw.
10773 (readdpwbyname): Return value returned by addhstbyX.
10774 (readdpwbyuid): Likewise.
10775 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10776 (addservbyX): Return value returned by cache_addserv.
10777 (readdservbyname): Return value returned by addservbyX:
10778 (readdservbyport): Likewise.
10779 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10780 (addhstbyX): Return value returned by cache_addhst.
10781 (readdhstbyname): Return value returned by addhstbyX.
10782 (readdhstbyaddr): Likewise.
10783 (readdhstbynamev6): Likewise.
10784 (readdhstbyaddrv6): Likewise.
10785 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10786 (readdinitgroups): Return value returned by addinitgroupsX.
10787 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10788 (prune_cache): Keep track of timeout value of re-added entries.
10789 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10790 * nscd/nscd.h: Adjust prototypes of readd* functions.
10792 2011-02-04 Roland McGrath <roland@redhat.com>
10794 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10795 (nis_stats): Likewise.
10796 * nis/nis_modify.c (nis_modify): Likewise.
10797 * nis/nis_remove.c (nis_remove): Likewise.
10798 * nis/nis_add.c (nis_add): Likewise.
10800 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10802 * posix/fnmatch_loop.c: Add some consts.
10804 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10806 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10809 * config.make.in (config-cflags-novzeroupper): Define.
10810 * configure.in: Substitute libc_cv_cc_novzeroupper.
10811 * elf/Makefile (AVX-CFLAGS): Define.
10812 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10813 (CFLAGS-tst-auditmod4a.c): Likewise.
10814 (CFLAGS-tst-auditmod4b.c): Likewise.
10815 (CFLAGS-tst-auditmod6b.c): Likewise.
10816 (CFLAGS-tst-auditmod6c.c): Likewise.
10817 (CFLAGS-tst-auditmod7b.c): Likewise.
10818 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10820 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10822 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10823 function to the callback.
10824 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10826 2011-02-02 Andreas Schwab <schwab@redhat.com>
10828 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10831 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10834 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10836 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10838 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10841 * elf/Makefile: Add rules to build and run new test.
10842 * elf/tst-initorder.c: New file.
10843 * elf/tst-initorder.exp: New file.
10844 * elf/tst-initordera1.c: New file.
10845 * elf/tst-initordera2.c: New file.
10846 * elf/tst-initordera3.c: New file.
10847 * elf/tst-initordera4.c: New file.
10848 * elf/tst-initorderb1.c: New file.
10849 * elf/tst-initorderb2.c: New file.
10850 * elf/tst-order-a1.c: New file.
10851 * elf/tst-order-a2.c: New file.
10852 * elf/tst-order-a3.c: New file.
10853 * elf/tst-order-a4.c: New file.
10854 * elf/tst-order-b1.c: New file.
10855 * elf/tst-order-b2.c: New file.
10856 * elf/tst-order-main.c: New file.
10857 New test case by George Gensure <werkt0@gmail.com>.
10859 2010-10-01 Andreas Schwab <schwab@redhat.com>
10861 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10862 decoding ACE if AI_CANONIDN.
10864 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10866 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10868 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10870 * version.h (RELEASE): Bump for 2.13 release.
10871 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10873 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10875 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10877 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10878 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10879 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10880 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10881 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10882 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10884 * posix/getconf.c: Update copyright year.
10885 * catgets/gencat.c: Likewise.
10886 * csu/version.c: Likewise.
10887 * debug/catchsegv.sh: Likewise.
10888 * debug/xtrace.sh: Likewise.
10889 * elf/ldconfig.c: Likewise.
10890 * elf/ldd.bash.in: Likewise.
10891 * elf/sprof.c (print_version): Likewise.
10892 * iconv/iconv_prog.c: Likewise.
10893 * iconv/iconvconfig.c: Likewise.
10894 * locale/programs/locale.c: Likewise.
10895 * locale/programs/localedef.c: Likewise.
10896 * malloc/memusage.sh: Likewise.
10897 * malloc/mtrace.pl: Likewise.
10898 * nscd/nscd.c (print_version): Likewise.
10899 * nss/getent.c: Likewise.
10901 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10902 PF_CAIF, and PF_ALG.
10903 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10905 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10907 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10908 (modules-names): Use them.
10909 (ifunc-test-modules, ifunc-pie-tests): Define.
10910 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10911 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10912 (test-extras): Likewise.
10913 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10914 $(compile-command.c).
10915 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10916 (all-built-dso): Define.
10917 (check-textrel.out, check-execstack.out): Depend on it.
10919 * configure.in: Don't override --enable-multi-arch.
10921 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10924 * nscd/hstcache.c (tryagain): Define.
10925 (cache_addhst): Return tryagain not notfound for temporary errors.
10926 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10929 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10932 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10933 to make the syscall.
10934 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10937 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10938 and fall back to matching as normal character if the string ends before
10939 the matching ']' is found. This is what POSIX requires.
10940 * posix/testfnm.c: Adjust test result.
10941 * posix/globtest.sh: Adjust test result. Add new test.
10942 * posix/tst-fnmatch.input: Likewise.
10943 * posix/tst-fnmatch2.c: Add new test.
10945 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10947 * elf/Makefile (check-execstack): Revert last change. Depend on
10949 (check-execstack.h): New target.
10950 (generated): Add check-execstack.h.
10951 * elf/check-execstack.c: Include "check-execstack.h".
10952 (main): Revert last change.
10953 (handle_file): Return zero if GNU_STACK is absent and
10954 DEFAULT_STACK_PERMS doesn't include PF_X.
10956 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10958 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10959 in child fails because the descriptor is already closed.
10960 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10961 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10962 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10965 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10969 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10970 temporary buffer used to handle multi lookups locally.
10971 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10973 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10975 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10978 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10980 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10981 alignment for SSE2.
10983 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10986 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10987 characters. When rounding increased number of integer digits recompute
10989 * stdio-common/tst-grouping.c: New file.
10990 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10992 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10994 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10995 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10997 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10999 * bits/select.h: Likewise.
11001 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11003 * po/ja.po: Update from translation team.
11005 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11008 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11009 implementation just like for lxstat, fxstatat, et al.
11011 2010-12-27 Jim Meyering <meyering@redhat.com>
11014 * posix/regexec.c (build_trtable): Return failure indication upon
11015 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11017 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11020 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11021 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11022 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11023 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11026 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11029 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11030 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11032 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11034 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11035 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11036 script has SORT_BY_INIT_PRIORITY.
11037 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11038 NO_CTORS_DTORS_SECTIONS is defined.
11039 * elf/soinit.c: Likewise.
11040 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11041 NO_CTORS_DTORS_SECTIONS is defined.
11042 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11043 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11044 * sysdeps/sh/init-first.c: Likewise.
11045 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11047 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11049 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11050 always use the slow path.
11052 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11054 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11055 similar rule which adds the sysdep directories to the header search in
11056 order to pick up the correct platform stackinfo.h.
11057 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11058 perform test if it is, otherwise return successfully without testing.
11059 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11060 DEFAULT_STACK_PERMS define in stackinfo.h.
11061 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11062 defined in stackinfo.h.
11063 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11064 DEFAULT_STACK_PERMS defined in stackinfo.h.
11065 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11066 * sysdeps/ia64/stackinfo.h: Likewise.
11067 * sysdeps/s390/stackinfo.h: Likewise.
11068 * sysdeps/sh/stackinfo.h: Likewise.
11069 * sysdeps/sparc/stackinfo.h: Likewise.
11070 * sysdeps/x86_64/stackinfo.h: Likewise.
11071 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11072 PF_X for powerpc64. Retain PF_X for powerpc32.
11074 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11076 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11078 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11079 GETDENTS_64BIT_ALIGNED.
11081 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11083 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11085 2010-12-10 Andreas Schwab <schwab@redhat.com>
11087 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11090 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11091 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11093 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11094 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11096 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11099 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11102 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11104 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11106 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11108 * po/it.po: Update from translation team.
11110 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11112 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11115 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11117 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11119 2010-11-24 Andreas Schwab <schwab@redhat.com>
11121 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11123 (gaih_getanswer_slice): Likewise.
11125 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11127 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11129 2010-05-31 Petr Baudis <pasky@suse.cz>
11132 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11133 silently even in the chroot mode.
11135 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11137 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11138 last patch a bit. Pretty printing
11140 2010-05-31 Petr Baudis <pasky@suse.cz>
11143 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11144 initialization of skip_initgroups_dyn.
11146 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11148 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11149 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11151 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11153 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11155 2010-11-11 Andreas Schwab <schwab@redhat.com>
11157 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11158 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11159 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11160 ($(objpfx)tst-fnmatch-mem): New rule.
11161 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11162 * posix/tst-fnmatch.c (main): Call mtrace.
11164 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11167 Support Intel processor model 6 and model 0x2c.
11169 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11171 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11174 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11177 * string/test-strncasecmp.c (check_result): New function.
11178 (do_one_test): Use it.
11179 (check1): New function.
11180 (test_main): Use it.
11181 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11182 Support strcasecmp and strncasecmp.
11184 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11187 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11188 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11190 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11192 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11196 * sysdeps/x86_64/multiarch/bzero.S: New file.
11197 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11198 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11199 * sysdeps/x86_64/multiarch/memset.S: New file.
11200 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11202 Set bit_Prefer_SSE_for_memop for Intel processors.
11203 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11205 (index_Prefer_SSE_for_memop): Define.
11206 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11208 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11210 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11211 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11213 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11216 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11217 (__x86_64_raw_data_cache_size_half): Likewise.
11218 (__x86_64_raw_shared_cache_size): Likewise.
11219 (__x86_64_raw_shared_cache_size_half): Likewise.
11221 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11222 (__x86_64_raw_data_cache_size_half): Likewise.
11223 (__x86_64_raw_shared_cache_size): Likewise.
11224 (__x86_64_raw_shared_cache_size_half): Likewise.
11225 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11226 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11227 and __x86_64_raw_shared_cache_size_half. Round
11228 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11229 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11230 to multiple of 256 bytes.
11232 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11235 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11236 of inacessible symlinks. Verify result of symlink before returning it.
11237 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11238 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11240 2010-10-28 Erich Ritz <erichritz@gmail.com>
11242 * math/math.h (isinf): Fix typo in comment.
11244 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11246 * po/da.po: Update from translation team.
11248 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11250 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11251 is added to the list.
11253 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11254 Ulrich Drepper <drepper@gmail.com>
11256 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11257 the global list here. Move code to...
11258 (_dl_add_to_namespace_list): ...here. New function.
11259 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11260 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11261 * elf/dl-load.c (lose): Don't remove the element from the list.
11262 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11263 (_dl_map_object): Likewise.
11265 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11268 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11269 into all bytes of SSE register.
11270 Patch by Richard Li <richardpku@gmail.com>.
11272 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11275 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11278 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11280 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11281 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11282 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11283 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11288 2010-10-22 Andreas Schwab <schwab@redhat.com>
11290 * include/dlfcn.h (__RTLD_SECURE): Define.
11291 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11292 mode & __RTLD_SECURE instead.
11293 (open_path): Rename preloaded parameter to secure.
11294 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11295 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11296 * elf/dl-deps.c (openaux): Likewise.
11297 * elf/rtld.c (struct map_args): Remove is_preloaded.
11298 (map_doit): Don't use it.
11299 (dl_main): Likewise.
11300 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11301 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11303 2010-09-09 Andreas Schwab <schwab@redhat.com>
11305 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11306 (sysd-rules-targets): Remove duplicates.
11307 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11308 rtld-%.$o dependency.
11310 2010-10-18 Andreas Schwab <schwab@redhat.com>
11312 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11313 _dl_map_object do it.
11315 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11317 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11318 fast fma builtins, define the macros in the C99 standard.
11319 (FP_FAST_FMAF): Likewise.
11320 (FP_FAST_FMAL): Likewise.
11321 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11323 * bits/mathdef.h: Update copyright year.
11324 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11326 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11328 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11329 builtins, define the macros in the C99 standard.
11330 (FP_FAST_FMAF): Likewise.
11331 (FP_FAST_FMAL): Likewise.
11332 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11334 (FP_FAST_FMAF): Likewise.
11336 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11339 * math/libm-test.inc (fma_test): Some new testcases.
11340 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11341 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11342 y and infinite z. Do multiplication by C already in long double.
11343 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11344 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11345 y and infinite z. Do bitwise or of inexact bit into u.d.
11346 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11347 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11348 * sysdeps/i386/fpu/s_fma.S: Removed.
11349 * sysdeps/i386/fpu/s_fmal.S: Removed.
11351 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11354 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11355 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11356 computation is not scheduled after fetestexcept. Fix value
11357 of minimum denormal long double.
11359 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11362 * math/libm-test.inc (fma_test): Add some more tests.
11363 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11366 2010-10-15 Andreas Schwab <schwab@redhat.com>
11368 * scripts/data/localplt-s390-linux-gnu.data: New file.
11369 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11371 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11374 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11375 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11377 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11379 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11380 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11381 if one of x and y is very large and the other is subnormal.
11382 * sysdeps/s390/fpu/s_fmaf.c: New file.
11383 * sysdeps/s390/fpu/s_fma.c: New file.
11384 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11385 * sysdeps/powerpc/fpu/s_fma.S: New file.
11386 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11387 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11388 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11390 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11393 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11395 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11396 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11397 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11398 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11399 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11400 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11401 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11403 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11406 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11407 * posix/bug-regex31.input: Add test case.
11409 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11411 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11412 * posix/bug-regex31.input: New file.
11415 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11416 (parse_sub_exp): Fix last change, use postorder.
11418 * posix/bug-regex31.c: New file.
11419 * posix/Makefile: Add rules to build and run bug-regex31.
11421 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11424 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11427 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11428 to have entries in sys_siglist.
11431 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11434 2010-10-07 Jakub Jelinek <jakub@redhat.com>
11437 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11438 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11439 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11440 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11441 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11442 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11443 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11444 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11445 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11446 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11447 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11448 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11449 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11450 * math/ftestexcept.c (fetestexcept): Likewise.
11451 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11452 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11453 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11454 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11455 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11456 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11457 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11459 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11462 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11465 2010-10-06 Ulrich Drepper <drepper@gmail.com>
11467 * string/bug-strstr1.c: New file.
11468 * string/Makefile: Add rules to build and run bug-strstr1.
11470 2010-10-05 Eric Blake <eblake@redhat.com>
11473 * string/str-two-way.h (two_way_long_needle): Always clear memory
11474 when skipping input due to the shift table.
11476 2010-10-03 Ulrich Drepper <drepper@gmail.com>
11479 * malloc/mcheck.c: Handle large requests.
11482 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11483 for strncmp and strncasecmp.
11484 * string/stratcliff.c: Add tests for strcmp and strncmp.
11485 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11487 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11489 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11492 2010-09-30 Andreas Jaeger <aj@suse.de>
11494 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11495 (CGROUP_SUPER_MAGIC): Define.
11496 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11497 Handle btrfs and cgroup file systems.
11498 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11501 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11503 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11504 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11506 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11509 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11510 trying to locate the ELF header.
11512 2010-09-27 Andreas Schwab <schwab@redhat.com>
11515 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11516 Mask out sign-bit copies when constructing f_fsid.
11518 2010-09-24 Petr Baudis <pasky@suse.cz>
11520 * debug/stack_chk_fail_local.c: Add missing licence exception.
11521 * debug/warning-nop.c: Likewise.
11523 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11525 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11526 implementing getdents64 using getdents syscall, set d_type if
11527 __ASSUME_GETDENTS32_D_TYPE.
11529 2010-09-16 Andreas Schwab <schwab@redhat.com>
11531 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11532 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11534 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11537 * posix/unistd.h: Undo change of feature selection for ftruncate from
11540 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11542 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11545 2010-09-20 Andreas Schwab <schwab@redhat.com>
11547 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11549 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11551 2010-09-14 Andreas Schwab <schwab@redhat.com>
11553 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11554 variables after CHECK_SP call.
11555 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11557 2010-09-13 Andreas Schwab <schwab@redhat.com>
11558 Ulrich Drepper <drepper@redhat.com>
11560 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11561 re-relocationg ld.so.
11562 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11563 _dl_init_paths call.
11564 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11567 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11569 * resolv/res_init.c (__res_vinit): Count the default server we added.
11571 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11572 Ulrich Drepper <drepper@redhat.com>
11575 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11576 (____longjmp_chk): Use %ebx for saving value across system call.
11579 2010-09-06 Andreas Schwab <schwab@redhat.com>
11581 * manual/Makefile: Don't mix pattern rules with normal rules.
11583 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11585 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11587 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11588 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11589 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11590 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11591 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11594 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11597 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11598 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11600 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11602 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11603 * sysdeps/x86_64/addmul_1.S: Likewise.
11604 * sysdeps/x86_64/lshift.S: Likewise.
11605 * sysdeps/x86_64/mul_1.S: Likewise.
11606 * sysdeps/x86_64/rshift.S: Likewise.
11607 * sysdeps/x86_64/sub_n.S: Likewise.
11608 * sysdeps/x86_64/submul_1.S: Likewise.
11610 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11612 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11613 Define __sched_param instead of SCHED_* and sched_param when
11614 <bits/sched.h> is included with __need_schedparam defined.
11615 * bits/sched.h [__need_schedparam]
11616 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11617 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11618 (__defined_schedparam): Define to 1.
11619 (__sched_param): New structure, identical to sched_param.
11620 (__need_schedparam): Undefine.
11622 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11624 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11625 (epoll_create1): Declare.
11627 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11629 2010-08-31 Andreas Schwab <schwab@redhat.com>
11632 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11633 shifting retval into place.
11635 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11637 * nis/rpcsvc/nis.h: Update copyright notice.
11638 * nis/rpcsvc/nis.x: Likewise.
11639 * nis/rpcsvc/nis_callback.h: Likewise.
11640 * nis/rpcsvc/nis_callback.x: Likewise.
11641 * nis/rpcsvc/nis_object.x: Likewise.
11642 * nis/rpcsvc/nis_tags.h: Likewise.
11643 * nis/rpcsvc/yp.h: Likewise.
11644 * nis/rpcsvc/yp.x: Likewise.
11645 * nis/rpcsvc/ypupd.h: Likewise.
11646 * nis/yp_xdr.c: Likewise.
11647 * nis/ypupdate_xdr.c: Likewise.
11649 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11650 mainly the body of pmap_getport. Add parameters to specify timeouts.
11651 (pmap_getport): Use __libc_rpc_getport.
11652 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11653 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11654 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11656 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11661 2010-08-27 Roland McGrath <roland@redhat.com>
11663 * sysdeps/i386/i686/multiarch/Makefile
11664 (CFLAGS-varshift.c): New variable.
11666 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11668 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11669 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11671 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11673 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11675 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11677 * sysdeps/x86_64/strlen.S: Unroll the loop.
11678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11679 strlen-sse2 strlen-sse2-bsf.
11680 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11681 __strlen_no_bsf if bit_Slow_BSF is set.
11682 (__strlen_sse42): Removed.
11683 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11684 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11686 2010-08-25 Roland McGrath <roland@redhat.com>
11688 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11689 * sysdeps/x86_64/multiarch/varshift.c: New file.
11690 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11691 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11692 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11693 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11695 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11697 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11698 strlen-sse2 strlen-sse2-bsf.
11699 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11700 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11701 (__strlen_sse2): Removed.
11702 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11703 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11705 bit_Slow_BSF for Atom.
11706 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11707 (index_Slow_BSF): Define.
11708 (HAS_SLOW_BSF): Define.
11710 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11713 * resolv/res_init.c (__res_vinit): When no server address at all
11714 is given default to loopback.
11716 2010-08-24 Roland McGrath <roland@redhat.com>
11718 * configure.in: Remove config-name.h generation.
11719 * configure: Regenerated.
11720 * config-name.in: File removed.
11721 * scripts/config-uname.sh: New file.
11722 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11723 ($(objdir)config-name.h): New target.
11725 * sunrpc/rpc_parse.h: Avoid nested comment.
11727 2010-08-24 Richard Henderson <rth@redhat.com>
11728 Ulrich Drepper <drepper@redhat.com>
11729 H.J. Lu <hongjiu.lu@intel.com>
11731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11733 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11734 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11735 _mm_alignr_epi8 with _mm_loadu_si128.
11736 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11737 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11738 (__m128i_shift_right): Removed.
11739 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11740 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11741 * sysdeps/x86_64/multiarch/varshift.h: New file.
11742 * sysdeps/x86_64/multiarch/varshift.S: New file.
11744 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11746 * configure.in: Move assembler checks to before sysdep dir checking.
11748 2010-08-20 Petr Baudis <pasky@suse.cz>
11750 * LICENSES: Sync the sunrpc license.
11752 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11754 * sunrpc/auth_des.c: Update copyright notice once again.
11755 * sunrpc/auth_none.c: Likewise.
11756 * sunrpc/auth_unix.c: Likewise.
11757 * sunrpc/authdes_prot.c: Likewise.
11758 * sunrpc/authuxprot.c: Likewise.
11759 * sunrpc/bindrsvprt.c: Likewise.
11760 * sunrpc/clnt_gen.c: Likewise.
11761 * sunrpc/clnt_perr.c: Likewise.
11762 * sunrpc/clnt_raw.c: Likewise.
11763 * sunrpc/clnt_simp.c: Likewise.
11764 * sunrpc/clnt_tcp.c: Likewise.
11765 * sunrpc/clnt_udp.c: Likewise.
11766 * sunrpc/clnt_unix.c: Likewise.
11767 * sunrpc/des_crypt.c: Likewise.
11768 * sunrpc/des_soft.c: Likewise.
11769 * sunrpc/get_myaddr.c: Likewise.
11770 * sunrpc/getrpcport.c: Likewise.
11771 * sunrpc/key_call.c: Likewise.
11772 * sunrpc/key_prot.c: Likewise.
11773 * sunrpc/openchild.c: Likewise.
11774 * sunrpc/pm_getmaps.c: Likewise.
11775 * sunrpc/pm_getport.c: Likewise.
11776 * sunrpc/pmap_clnt.c: Likewise.
11777 * sunrpc/pmap_prot.c: Likewise.
11778 * sunrpc/pmap_prot2.c: Likewise.
11779 * sunrpc/pmap_rmt.c: Likewise.
11780 * sunrpc/rpc/auth.h: Likewise.
11781 * sunrpc/rpc/auth_unix.h: Likewise.
11782 * sunrpc/rpc/clnt.h: Likewise.
11783 * sunrpc/rpc/des_crypt.h: Likewise.
11784 * sunrpc/rpc/key_prot.h: Likewise.
11785 * sunrpc/rpc/netdb.h: Likewise.
11786 * sunrpc/rpc/pmap_clnt.h: Likewise.
11787 * sunrpc/rpc/pmap_prot.h: Likewise.
11788 * sunrpc/rpc/pmap_rmt.h: Likewise.
11789 * sunrpc/rpc/rpc.h: Likewise.
11790 * sunrpc/rpc/rpc_des.h: Likewise.
11791 * sunrpc/rpc/rpc_msg.h: Likewise.
11792 * sunrpc/rpc/svc.h: Likewise.
11793 * sunrpc/rpc/svc_auth.h: Likewise.
11794 * sunrpc/rpc/types.h: Likewise.
11795 * sunrpc/rpc/xdr.h: Likewise.
11796 * sunrpc/rpc_clntout.c: Likewise.
11797 * sunrpc/rpc_cmsg.c: Likewise.
11798 * sunrpc/rpc_common.c: Likewise.
11799 * sunrpc/rpc_cout.c: Likewise.
11800 * sunrpc/rpc_dtable.c: Likewise.
11801 * sunrpc/rpc_hout.c: Likewise.
11802 * sunrpc/rpc_main.c: Likewise.
11803 * sunrpc/rpc_parse.c: Likewise.
11804 * sunrpc/rpc_parse.h: Likewise.
11805 * sunrpc/rpc_prot.c: Likewise.
11806 * sunrpc/rpc_sample.c: Likewise.
11807 * sunrpc/rpc_scan.c: Likewise.
11808 * sunrpc/rpc_scan.h: Likewise.
11809 * sunrpc/rpc_svcout.c: Likewise.
11810 * sunrpc/rpc_tblout.c: Likewise.
11811 * sunrpc/rpc_util.c: Likewise.
11812 * sunrpc/rpc_util.h: Likewise.
11813 * sunrpc/rpcinfo.c: Likewise.
11814 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11815 * sunrpc/rpcsvc/key_prot.x: Likewise.
11816 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11817 * sunrpc/rpcsvc/mount.x: Likewise.
11818 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11819 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11820 * sunrpc/rpcsvc/rex.x: Likewise.
11821 * sunrpc/rpcsvc/rstat.x: Likewise.
11822 * sunrpc/rpcsvc/rusers.x: Likewise.
11823 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11824 * sunrpc/rpcsvc/spray.x: Likewise.
11825 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11826 * sunrpc/rtime.c: Likewise.
11827 * sunrpc/svc.c: Likewise.
11828 * sunrpc/svc_auth.c: Likewise.
11829 * sunrpc/svc_authux.c: Likewise.
11830 * sunrpc/svc_raw.c: Likewise.
11831 * sunrpc/svc_run.c: Likewise.
11832 * sunrpc/svc_simple.c: Likewise.
11833 * sunrpc/svc_tcp.c: Likewise.
11834 * sunrpc/svc_udp.c: Likewise.
11835 * sunrpc/svc_unix.c: Likewise.
11836 * sunrpc/svcauth_des.c: Likewise.
11837 * sunrpc/xcrypt.c: Likewise.
11838 * sunrpc/xdr.c: Likewise.
11839 * sunrpc/xdr_array.c: Likewise.
11840 * sunrpc/xdr_float.c: Likewise.
11841 * sunrpc/xdr_mem.c: Likewise.
11842 * sunrpc/xdr_rec.c: Likewise.
11843 * sunrpc/xdr_ref.c: Likewise.
11844 * sunrpc/xdr_sizeof.c: Likewise.
11845 * sunrpc/xdr_stdio.c: Likewise.
11847 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11850 2010-08-19 Andreas Schwab <schwab@redhat.com>
11852 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11854 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11856 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11857 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11858 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11859 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11860 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11861 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11862 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11863 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11864 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11865 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11866 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11867 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11868 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11869 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11871 2010-07-26 Anton Blanchard <anton@samba.org>
11873 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11874 * malloc/arena.c (heap_trim): Likewise.
11876 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11878 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11880 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11881 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11883 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11885 * sysdeps/i386/elf/Makefile: New file.
11887 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11889 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11890 from fanotify_init.
11891 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11892 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11894 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11896 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11898 * sysdeps/multiarch/strcmp.S: Likewise.
11900 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11902 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11903 strncase_l-nonascii.
11904 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11905 Add strncase_l-ssse3.
11906 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11907 * sysdeps/x86_64/strcmp.S: Likewise.
11908 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11909 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11910 * sysdeps/x86_64/strncase.S: New file.
11911 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11912 * sysdeps/x86_64/strncase_l.S: New file.
11913 * string/Makefile (strop-tests): Add strncasecmp.
11914 * string/test-strncasecmp.c: New file.
11916 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11919 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11920 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11922 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11924 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11926 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11928 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11929 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11930 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11932 2010-05-01 Alan Modra <amodra@gmail.com>
11934 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11935 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11936 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11937 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11938 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11939 tidying. Don't tail-call __sigjmp_save for static lib.
11940 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11942 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11943 (CALL_MCOUNT): Add eh info, and nop after bl.
11944 (TAIL_CALL_SYSCALL_ERROR): New macro.
11945 (PSEUDO_RET): Use it.
11946 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11947 Correct save location of integer regs and cr.
11948 (_dl_profile_resolve): Correct cr save location. Delete nops
11949 after bl when SHARED. Reduce cfi size a little by better
11950 placement of cfi directives.
11951 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11952 make a stack frame. Instead use parm save area as a temp.
11953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11954 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11956 Don't make a stack frame for parent, use parm save area.
11957 Increase child stack frame to 112 bytes. Don't save unused reg,
11958 and adjust reg usage. Set up cfi on error recovery and
11959 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11961 (__makecontext): Add dummy nop after jump to exit.
11962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11963 Use correct parm save area and cr save, reduce stack frame.
11964 Correct cfi for possible PSEUDO_RET frame setup.
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11966 Branch to local label emitted by PSEUDO_RET rather than
11969 2010-08-12 Andreas Schwab <schwab@redhat.com>
11972 * locale/programs/locale.c (print_assignment): New function.
11973 (show_locale_vars): Use it.
11975 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11977 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11979 (struct statfs64): Likewise.
11980 (_STATFS_F_FLAGS): Define.
11981 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11982 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11983 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11984 (ST_VALID): Define locally.
11985 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11986 __statvfs_getflags, use the provided value.
11987 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11988 __ASSUME_STATFS_F_FLAGS.
11990 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11992 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11993 Add sys/fanotify.h.
11994 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11995 fanotify_mask for GLIBC_2.13.
11996 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11997 fanotify_init and fanotify_mark.
11998 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11999 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12001 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12003 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12004 prlimit64 for GLIBC_2.13.
12005 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12007 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12010 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12011 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12012 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12013 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12015 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12018 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12019 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12021 * nss/Makefile: Add rules to build and run tst-nss-test1.
12022 * shlib-versions: Add entry for libnss_test1.
12023 * nss/nss_test1.c: New file.
12024 * nss/tst-nss-test1.c: New file.
12026 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12027 (__nss_configure_lookup): Set appropriate entry in
12028 __nss_configure_lookup to true.
12029 * nss/nsswitch.h: Define enum with indeces of databases in
12030 databases and __nss_database_custom arrays. Declare
12031 __nss_database_custom.
12032 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12033 to avoid using nscd when custom rules are installed.
12034 * nss/getXXbyYY_r.c: Likewise.
12035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12037 * nss/nss_files/files-parse.c: Whitespace fixes.
12039 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12042 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12043 * posix/fnmatch_loop.c: Likewise.
12045 2010-07-17 Andi Kleen <ak@linux.intel.com>
12047 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12048 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12049 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12050 * Versions.def [GLIBC_2.13]: Add.
12052 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12054 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12055 Also fail if tpwd after pwuid call is NULL.
12057 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12059 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12060 when converting to ms.
12062 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12064 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12065 EOPNOTSUPP errors with ENOTTY.
12066 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12067 EOPNOTSUPP errors with ENOTTY.
12069 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12071 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12072 Add strcasecmp_l-ssse3.
12073 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12075 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12076 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12077 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12079 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12081 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12083 * string/Makefile (strop-tests): Add strcasecmp.
12084 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12085 strcasecmp_l-nonascii.
12086 (gen-as-const-headers): Add locale-defines.sym.
12087 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12088 * sysdeps/x86_64/strcasecmp.S: New file.
12089 * sysdeps/x86_64/strcasecmp_l.S: New file.
12090 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12091 * sysdeps/x86_64/locale-defines.sym: New file.
12092 * string/test-strcasecmp.c: New file.
12094 * string/test-strcasestr.c: Test both ends of the range of characters.
12095 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12097 2010-07-29 Roland McGrath <roland@redhat.com>
12100 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12102 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12104 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12107 2010-07-27 Andreas Schwab <schwab@redhat.com>
12109 * manual/memory.texi (Malloc Tunable Parameters): Document
12112 2010-07-26 Roland McGrath <roland@redhat.com>
12115 * configure.in (-fgnu89-inline check): Set and substitute
12116 gnu89_inline, not libc_cv_gnu89_inline.
12117 * configure: Regenerated.
12118 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12120 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12122 * string/test-strnlen.c: New file.
12123 * string/Makefile (strop-tests): Add strnlen.
12124 * string/tester.c (test_strnlen): Add a few more test cases.
12125 * string/tst-strlen.c: Better error reporting.
12127 * sysdeps/x86_64/strnlen.S: New file.
12129 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12131 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12132 lower-latency instructions.
12134 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12136 * string/test-strcasestr.c: New file.
12137 * string/test-strstr.c: New file.
12138 * string/Makefile (strop-tests): Add strstr and strcasestr.
12139 * string/str-two-way.h: Don't undefine MAX.
12140 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12142 2010-07-21 Andreas Schwab <schwab@redhat.com>
12144 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12145 strcasestr-nonascii.
12146 (CFLAGS-strcasestr-nonascii.c): Define.
12147 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12148 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12149 Remove unused attribute.
12151 2010-07-20 Roland McGrath <roland@redhat.com>
12153 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12154 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12155 ld.so.cache was broken. With it, there is no way to disable dsocaps
12156 like LD_HWCAP_MASK can disable hwcaps.
12158 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12160 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12162 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12164 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12165 call in strcasestr.
12166 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12167 __strcasestr_sse42_nonascii.
12168 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12169 strcasestr-nonascii.c.
12170 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12172 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12174 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12175 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12176 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12177 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12179 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12181 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12184 2010-07-06 Andreas Schwab <schwab@redhat.com>
12187 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12190 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12192 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12193 _PC_PIPE_BUF using F_GETPIPE_SZ.
12195 2010-07-05 Roland McGrath <roland@redhat.com>
12197 * manual/arith.texi (Rounding Functions): Fix rint description
12198 implicit in round description.
12200 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12202 * elf/Makefile: Fix linking for a few tests to make recent linker
12205 2010-06-30 Andreas Schwab <schwab@redhat.com>
12207 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12208 $(common-objpfx)libc_nonshared.a.
12210 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12212 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12213 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12214 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12215 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12216 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12217 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12218 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12219 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12234 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12235 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12236 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12237 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12238 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12239 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12240 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12241 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12242 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12243 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12244 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12245 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12261 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12263 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12264 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12265 * string/memmove.c (memmove): Renamed to ...
12266 (MEMMOVE): ...this. Default to memmove.
12267 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12268 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12271 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12272 mempcpy-ssse3-back memmove-ssse3-back.
12273 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12274 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12275 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12276 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12277 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12278 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12279 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12280 * sysdeps/x86_64/multiarch/memmove.c: New file.
12281 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12282 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12283 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12284 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12285 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12286 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12288 (index_Fast_Copy_Backward): Define.
12289 (HAS_ARCH_FEATURE): Define.
12290 (HAS_FAST_REP_STRING): Define.
12291 (HAS_FAST_COPY_BACKWARD): Define.
12293 2010-06-21 Andreas Schwab <schwab@redhat.com>
12295 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12296 Restore proper fallback handling.
12298 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12301 * posix/group_member.c (__group_member): Correct checking loop.
12303 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12304 OOM in getpwuid_r correctly. Return error number when the caller
12305 should return, otherwise -1.
12306 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12307 call returning > 0 value.
12308 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12310 2010-06-07 Andreas Schwab <schwab@redhat.com>
12312 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12313 libc_nonshared.a from targets in modules-names.
12315 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12317 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12320 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12322 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12323 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12325 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12327 2010-06-02 Andreas Schwab <schwab@redhat.com>
12329 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12331 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12333 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12335 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12337 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12338 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12339 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12340 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12342 2010-06-14 Roland McGrath <roland@redhat.com>
12344 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12346 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12348 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12349 __REDIRECT followed by __THROW.
12350 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12351 * posix/getopt.h (getopt): Likewise.
12353 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12355 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12356 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12357 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12359 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12360 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12362 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12364 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12366 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12370 Properly check family and model.
12372 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12374 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12376 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12378 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12380 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12382 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12385 2010-05-19 Andreas Schwab <schwab@redhat.com>
12387 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12390 2010-05-21 Andreas Schwab <schwab@redhat.com>
12392 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12393 and internal_recvmmsg.
12394 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12395 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12396 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12397 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12399 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12400 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12401 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12403 2010-05-20 Andreas Schwab <schwab@redhat.com>
12405 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12407 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
12409 POWER7 optimizations.
12410 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12411 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12413 2010-05-19 Ulrich Drepper <drepper@redhat.com>
12415 * version.h: Update for 2.13 development version.
12417 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
12419 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12420 exceptions. Return 0.
12422 2010-05-07 Roland McGrath <roland@redhat.com>
12424 * elf/ldconfig.c (main): Add a const.
12426 2010-05-06 Ulrich Drepper <drepper@redhat.com>
12428 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12429 (args_options): Add no-idn option.
12430 (ahosts_keys_int): Add idn_flags to ai_flags.
12431 (parse_option): Handle 'i' option to clear idn_flags.
12433 * malloc/malloc.c (_int_free): Possible race in the most recently
12434 added check. Only act on the data if no current modification
12437 See ChangeLog.17 for earlier changes.