1 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4 _XOPEN_SOURCE_EXTENDED for XPG4.
6 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
8 * Makeconfig (localtime): Remove variable.
9 (inst_localtime-file): Likewise.
11 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
13 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
25 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32 2012-05-01 Joseph Myers <joseph@codesourcery.com>
36 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37 comparisons to determine direction to adjust input.
38 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
39 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
51 * math/libm-test.inc (nexttoward_test): Add more tests.
53 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
56 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
57 in version GLIBC_2.1, not GLIBC_2.0.
58 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61 2012-04-30 Joseph Myers <joseph@codesourcery.com>
64 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68 * math/libm-test.inc (acos_test): Add more tests.
69 (asin_test): Likewise.
70 * sysdeps/i386/fpu/libm-test-ulps: Update.
71 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
76 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
77 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78 * math/libm-test.inc (acos_test_tonearest): New function.
79 (acos_test_towardzero): Likewise.
80 (acos_test_downward): Likewise.
81 (acos_test_upward): Likewise.
82 (asin_test_tonearest): Likewise.
83 (asin_test_towardzero): Likewise.
84 (asin_test_downward): Likewise.
85 (asin_test_upward): Likewise.
86 (main): Call the new functions.
87 * sysdeps/i386/fpu/libm-test-ulps: Update.
88 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
92 * math/e_exp10.c: Include <float.h>.
93 (__ieee754_exp10): Handle underflow here rather than multiplying
94 large negative argument by M_LN10.
95 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
97 * math/e_exp10l.c: Include <float.h>.
98 (__ieee754_exp10l): Handle underflow here rather than multiplying
99 large negative argument by M_LN10l.
100 * math/libm-test.inc (exp10_test): Add another test. Do not allow
101 spurious overflow exception on underflow.
103 2012-04-29 Marek Polacek <polacek@redhat.com>
105 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
106 (__fortify_function): New macro.
107 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
108 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
109 __extern_always_inline.
110 * libio/bits/stdio2.h: Likewise.
111 * libio/bits/stdio.h: Likewise.
112 * string/string.h: Likewise.
113 * string/bits/string3.h: Likewise.
114 * include/stdio.h: Likewise.
115 * stdlib/bits/stdlib.h: Likewise.
116 * stdlib/stdlib.h: Likewise.
117 * rt/bits/mqueue2.h: Likewise.
118 * rt/mqueue.h: Likewise.
119 * posix/bits/unistd.h: Likewise.
120 * posix/unistd.h: Likewise.
121 * io/bits/poll2.h: Likewise.
122 * io/bits/fcntl2.h: Likewise.
123 * io/fcntl.h: Likewise.
124 * io/sys/poll.h: Likewise.
125 * misc/bits/syslog.h: Likewise.
126 * misc/bits/syslog-ldbl.h: Likewise.
127 * misc/sys/syslog.h: Likewise.
128 * socket/bits/socket2.h: Likewise.
129 * socket/sys/socket.h: Likewise.
130 * debug/tst-chk1.c: Likewise.
131 * wcsmbs/bits/wchar2.h: Likewise.
132 * wcsmbs/bits/wchar-ldbl.h: Likewise.
133 * wcsmbs/wchar.h: Likewise.
135 2012-04-29 Andreas Jaeger <aj@suse.de>
137 * Makerules (tests): Remove enable-check-abi protection.
138 (check-abi-warn): Remove.
139 (check-abi-%): Remove check-abi-warn usage.
141 * configure.in: Remove check-abi configure option.
142 * configure: Regenerated.
143 * config.make.in (enable-check-abi): Remove.
145 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
148 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
149 double functions to double *_finite functions.
152 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
153 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
155 * stdio-common/Makefile (tests): Add tst-sprintf3.
156 * stdio-common/tst-sprintf3.c: New file.
158 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
159 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
161 2012-04-28 Joseph Myers <joseph@codesourcery.com>
163 * conform/conformtest.pl: Remove duplicate typed-constant
166 2012-04-28 David S. Miller <davem@davemloft.net>
168 * Makerules (%.abilist): Add vpath on sysdep_dirs.
169 (check-abi-%): Remove AWK script prerequisite and explicit
171 (check-abi): Rewrite to just diff the symlist with the abilist.
172 (config-tls, config-abi-config): Delete, no longer used.
173 (update-abi-%): Remove AWK script and explicit abilist directory.
174 (update-abi): Rewrite to simply compare and conditionally copy the
175 symlist and the sysdep abilist file. Remove update-abi-config
177 * abilist/ld.abilist: Remove.
178 * abilist/libBrokenLocale.abilist: Remove.
179 * abilist/libanl.abilist: Remove.
180 * abilist/libcrypt.abilist: Remove.
181 * abilist/libdl.abilist: Remove.
182 * abilist/librt.abilist: Remove.
183 * abilist/libthread_db.abilist: Remove.
184 * abilist/libutil.abilist: Remove.
185 * scripts/extract-abilist.awk: Remove.
186 * scripts/merge-abilist.awk: Remove.
187 * sysdeps/generic/libcidn.abilist: New file.
188 * sysdeps/generic/libnss_compat.abilist: New file.
189 * sysdeps/generic/libnss_db.abilist: New file.
190 * sysdeps/generic/libnss_dns.abilist: New file.
191 * sysdeps/generic/libnss_files.abilist: New file.
192 * sysdeps/generic/libnss_hesiod.abilist: New file.
193 * sysdeps/generic/libnss_nis.abilist: New file.
194 * sysdeps/generic/libnss_nisplus.abilist: New file.
195 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
196 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
197 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
199 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
200 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
201 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
202 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
203 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
204 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
205 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
206 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
207 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
209 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
210 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
211 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
212 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
214 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
215 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
216 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
217 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
218 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
219 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
221 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
222 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
223 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
225 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
226 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
228 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
230 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
232 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
234 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
236 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
238 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
240 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
242 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
244 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
246 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
248 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
250 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
278 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
279 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
291 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
295 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
303 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
328 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
329 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
330 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
332 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
333 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
334 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
335 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
336 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
337 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
338 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
339 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
340 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
341 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
342 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
351 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
353 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
355 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
359 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
361 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
367 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
370 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
380 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
382 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
384 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
386 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
393 2012-04-28 Joseph Myers <joseph@codesourcery.com>
395 * conform/conformtest.pl: Fix typo in handling typed-constant from
398 2012-04-27 Joseph Myers <joseph@codesourcery.com>
400 * README: Cut down references to pre-2.6 Linux kernels and
401 Linuxthreads. Update lists of configurations in libc and ports
402 and sort alphabetically. Say "or newer" with Linux kernel version
405 * config.h.in [IS_IN_build]: Allow compiling without optimization.
407 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
410 * math/libm-test.inc (logb_test_downward): New test to expose
411 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
414 2012-04-27 Joseph Myers <joseph@codesourcery.com>
417 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
419 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
420 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
422 2012-04-26 Joseph Myers <joseph@codesourcery.com>
424 * sysdeps/unix/i386/brk.S: Remove file.
425 * sysdeps/unix/i386/dl-brk.S: Likewise.
426 * sysdeps/unix/i386/pipe.S: Likewise.
427 * sysdeps/unix/i386/sigreturn.S: Likewise.
428 * sysdeps/unix/i386/syscall.S: Likewise.
429 * sysdeps/unix/i386/vfork.S: Likewise.
430 * sysdeps/unix/i386/wait.S: Likewise.
432 * sysdeps/unix/common/tcsendbrk.c: Move to ...
433 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
435 * configure.in (arm*-none*): Do not allow without
436 --enable-hacker-mode.
437 (netbsd*): Remove case setting base_os.
439 (freebsd*): Likewise.
454 (solaris[2-9]*): Likewise.
456 * configure: Regenerated.
458 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
461 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
462 overflow or cancellation in calculating denominator.
463 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
464 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
465 down expression to avoid unexpected rounding in newer GCCs.
466 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
468 2012-04-26 David S. Miller <davem@davemloft.net>
470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
471 long-double compat symbols.
472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
486 2012-04-25 David S. Miller <davem@davemloft.net>
488 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
489 HWCAP_* values only after the memory barriers have been defined.
490 (atomic_full_barrier): Define.
491 (atomic_read_barrier): Define.
492 (atomic_write_barrier): Define.
494 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
496 * shlib-versions: Add libgcc_s version information.
497 * sysdeps/generic/libgcc_s.h: Remove.
498 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
500 * sysdeps/gnu/unwind-resume.c: Likewise.
501 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
503 2012-04-25 David S. Miller <davem@davemloft.net>
505 * sysdeps/unix/sparc/brk.S: Delete.
506 * sysdeps/unix/sparc/dl-brk.S: Delete.
507 * sysdeps/unix/sparc/pipe.S: Delete.
508 * sysdeps/unix/sparc/sysdep.S: Delete.
509 * sysdeps/unix/sparc/sysdep.h: Delete.
510 * sysdeps/unix/sparc/vfork.S: Delete.
511 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
512 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
513 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
514 ret_ERRVAL, r0, r1, MOVE): Define.
515 (JUMPTARGET): Remove.
516 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
517 sysdeps/unix/sparc/sysdep.h
518 (ENTRY, END): Remove.
519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
521 2012-04-25 Joseph Myers <joseph@codesourcery.com>
523 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
524 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
527 * timezone/README: Update upstream location and email address for
529 * timezone/zdump.c: Update from tzcode 2012b.
530 * timezone/zic.c: Likewise.
532 * configure.in (libc_cv_as_needed): Remove test.
533 * configure: Regenerated.
534 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
535 conditional definition.
536 [$(have-as-needed) != yes] (no-as-needed): Likewise.
537 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
538 * config.make.in (have-as-needed): Remove variable.
540 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
541 Paul Pluzhnikov <ppluzhnikov@google.com>
543 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
546 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
548 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
549 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
550 * sysdeps/sh/strlen.S: Likewise.
552 2012-04-24 Joseph Myers <joseph@codesourcery.com>
554 * sysdeps/unix/fork.S: Remove file.
555 * sysdeps/unix/i386/fork.S: Likewise.
556 * sysdeps/unix/sparc/fork.S: Likewise.
558 * sysdeps/unix/system.c: Remove file.
559 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
561 * sysdeps/unix/getegid.S: Remove file.
562 * sysdeps/unix/geteuid.S: Likewise.
564 2012-04-24 Roland McGrath <roland@hack.frob.com>
566 * scripts/check-localplt.awk: New file.
567 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
569 * scripts/data/localplt-generic.data: Add a comment.
571 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
572 NODE when __dir_mkfile failed.
573 * sysdeps/mach/hurd/symlinkat.c: Likewise.
574 Reported by Ludovic Courtès <ludo@gnu.org>.
576 2012-04-24 Andreas Jaeger <aj@suse.de>
578 * Makerules (common-clean): Also remove gen-as-const-headers
581 2012-04-24 Joseph Myers <joseph@codesourcery.com>
583 * Makerules (native-compile): Do not change working directory for
584 build. Use $(OUTPUT_OPTION) in command.
585 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
587 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
590 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
591 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
592 * math/libm-test.inc (floor_test): Add more tests.
593 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
595 2012-04-24 Joseph Myers <joseph@codesourcery.com>
597 * sysdeps/unix/getdents.c: Remove file.
598 * sysdeps/unix/sysv/getdents.c: Likewise.
599 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
601 * sysdeps/unix/syscalls.list (madvise): Add syscall from
602 sysdeps/unix/mman/syscalls.list.
604 (mprotect): Likewise.
607 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
608 * sysdeps/unix/mman/syscalls.list: Remove.
609 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
611 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
612 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
613 * configure: Regenerated.
614 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
616 * config.make.in (libgcc_s_suffix): Remove variable.
618 2012-04-23 Joseph Myers <joseph@codesourcery.com>
620 * sysdeps/unix/sysv/gethostname.c: Move to ...
621 * sysdeps/posix/gethostname.c: ... here.
623 * sysdeps/unix/execve.S: Remove file.
625 * sysdeps/unix/_exit.S: Remove file.
627 2012-04-23 Andreas Jaeger <aj@suse.de>
630 * manual/Makefile: Remove make dist support, there's no
631 need for a stand-alone documentation tar ball.
632 (TEXI2DVI): Define always, it's not in Makeconfig.
636 (glibc-doc-$(edition).tar): Removed
640 (ETAGS): Remove, it's in Makeconfig.
641 (move-if-change): Remove, it's in Makeconfig.
643 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
646 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
647 (strtod, strtof, strtold, strtol, strtoul, strtoq)
648 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
649 (strtod_l, strtof_l, strtold_l): Remove __wur.
650 It is not necessarily an error to ignore strtol's return value.
651 One can reliably look at the stored endptr to decide whether
652 the number had valid syntax.
654 2012-04-21 Andreas Jaeger <aj@suse.de>
657 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
659 2012-04-21 Joseph Myers <joseph@codesourcery.com>
661 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
662 * sysdeps/unix/sysv/Versions: Remove file.
664 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
669 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
675 2012-04-20 Joseph Myers <joseph@codesourcery.com>
677 * sysdeps/unix/common/lxstat.c: Remove file.
678 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
680 * sysdeps/unix/sysv/Makefile: Remove file.
682 * sysdeps/unix/sysv/direct.h: Remove file.
684 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
685 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
686 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
687 * sysdeps/unix/sysv/bits/signum.h: Likewise.
688 * sysdeps/unix/sysv/bits/stat.h: Likewise.
689 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
690 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
692 * sysdeps/unix/sysv/setrlimit.c: Remove file.
694 * sysdeps/unix/xmknod.c: Remove file.
695 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
697 * sysdeps/unix/sysv/settimeofday.c: Remove file.
699 * sysdeps/unix/sysv/i386/time.S: Remove file.
701 * sysdeps/unix/fxstat.c: Remove file.
702 * sysdeps/unix/xstat.c: Likewise.
703 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
705 * sysdeps/unix/sysv/sigaction.c: Remove file.
707 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
708 (sysdep_headers): Remove variable.
709 [termio.h not in sysdep_headers] (generated): Likewise.
710 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
711 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
712 * sysdeps/unix/sysv/tcdrain.c: Likewise.
713 * sysdeps/unix/sysv/tcflow.c: Likewise.
714 * sysdeps/unix/sysv/tcflush.c: Likewise.
715 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
716 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
717 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
718 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
719 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
721 * sysdeps/unix/siglist.c: Remove file.
723 * sysdeps/unix/getppid.S: Remove file.
725 * sysdeps/unix/mkdir.c: Remove file.
726 * sysdeps/unix/rmdir.c: Likewise.
728 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
730 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
732 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
733 errlist-compat value.
735 2012-04-18 David S. Miller <davem@davemloft.net>
737 * sysdeps/generic/memcopy.h (reg_char): Delete.
738 * debug/strcat_chk.c: Use char, not reg_char.
739 * debug/strcpy_chk.c: Likewise.
740 * debug/strncat_chk.c: Likewise.
741 * debug/strncpy_chk.c: Likewise.
742 * string/memchr.c: Likewise.
743 * string/memrchr.c: Likewise.
744 * string/rawmemchr.c: Likewise.
745 * string/strcat.c: Likewise.
746 * string/strchr.c: Likewise.
747 * string/strchrnul.c: Likewise.
748 * string/strcmp.c: Likewise.
749 * string/strcpy.c: Likewise.
750 * string/strncat.c: Likewise.
751 * string/strncmp.c: Likewise.
752 * string/strncpy.c: Likewise.
754 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
756 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
757 __builtin_memcopy is called when src and dest ranges are known to not
760 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
762 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
763 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
764 fwd_align_merge macro call.
765 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
766 bwd_align_merge macro call.
767 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
769 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
771 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
772 bwd_align_merge macros.
773 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
774 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
775 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
777 2012-04-18 David S. Miller <davem@davemloft.net>
779 * sysdeps/sparc/sparc64/memcopy.h: Delete.
781 2012-04-18 Andreas Jaeger <aj@suse.de>
784 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
785 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
786 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
788 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
789 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
790 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
792 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
793 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
794 Adjust for changed ldbl-128 files.
796 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
797 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
798 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
800 2012-04-17 David S. Miller <davem@davemloft.net>
802 * sysdeps/sparc/sparc32/memcopy.h: Delete.
804 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
806 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
807 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
808 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
809 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
810 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
811 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
813 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
816 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
817 * math/libm-test.inc: Add ilogb errno and exception tests.
818 * math/w_ilogb.c: New file: ilogb wrapper.
819 * math/w_ilogbf.c: New file: ilogbf wrapper.
820 * math/w_ilogbl.c: New file: ilogbl wrapper.
821 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
822 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
823 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
824 exception being thrown with 0.0 as argument.
825 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
826 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
827 exception being thrown with 0.0 as argument.
828 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
829 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
830 exception being thrown with 0.0 as argument.
831 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
832 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
833 exception being thrown with 0.0 as argument.
834 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
835 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
836 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
837 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
838 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
839 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
840 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
841 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
842 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
844 2012-04-17 Petr Baudis <pasky@ucw.cz>
846 * include/sys/uio.h: Change __vector to __iovec to avoid clash
849 2012-04-16 Marek Polacek <polacek@redhat.com>
851 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
853 2012-04-16 Marek Polacek <polacek@redhat.com>
855 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
856 operands of fdivp instruction.
858 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
860 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
861 * elf/tst-auditmod3b.c: Likewise.
862 * elf/tst-auditmod4b.c: Likewise.
863 * elf/tst-auditmod5b.c: Likewise.
864 * elf/tst-auditmod6b.c: Likewise.
865 * elf/tst-auditmod6c.c: Likewise.
866 * elf/tst-auditmod7b.c: Likewise.
867 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
868 * sysdeps/x86_64/preconfigure.in: Likewise.
869 * sysdeps/x86_64/preconfigure: Regenerated.
871 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
873 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
876 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
879 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
881 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
884 * locale/iso-639.def: Fix gl language name. Spotted by
887 2012-04-12 Roland McGrath <roland@hack.frob.com>
890 * libio/libio.h (__io_write_fn): Update comment.
892 2012-04-12 Petr Baudis <pasky@ucw.cz>
895 * stdio.texi (Hook Functions): The user provided writer function
896 is not allowed to return -1.
898 2012-04-11 David S. Miller <davem@davemloft.net>
900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
902 2012-04-11 Mike Frysinger <vapier@gentoo.org>
904 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
905 Add a leading slash to rtkaio.
907 2012-04-11 Jim Meyering <meyering@redhat.com>
910 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
911 It is not necessarily an error to ignore fwrite's return
912 value. One can reliably use ferror to test for errors after
915 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
917 * bits/types.h (__snseconds_t): New type.
918 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
920 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
922 (__SNSECONDS_T_TYPE): Likewise.
923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
924 (__SNSECONDS_T_TYPE): Likewise.
925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
926 (__SNSECONDS_T_TYPE): Likewise.
928 2012-04-10 Andreas Jaeger <aj@suse.de>
931 * manual/time.texi (Processor Time): Return type of times is
932 elapsed real time since an arbitrary point in the past.
933 (CPU Time): Move CLK_TCK from here...
934 (Processor Time): ...to here. Correct description.
935 * manual/conf.texi (Constants for Sysconf): Correct description of
938 2012-04-10 David S. Miller <davem@davemloft.net>
941 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
942 where the is a gap between DT_REL(A) and DT_JMPREL.
944 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
946 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
947 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
948 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
950 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
952 * elf/dl-support.c (_dl_inhibit_cache): New variable.
953 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
954 (dl_main): Handle --inhibit-cache.
955 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
957 * elf/dl-load.c (_dl_map_object): Use it.
958 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
960 2012-04-09 Joseph Myers <joseph@codesourcery.com>
963 * sysdeps/i386/fpu/e_powl.S (p78): New object.
964 (__ieee754_powl): Saturate large exponents rather than testing for
965 overflow of y*log2(x).
966 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
967 * math/libm-test.inc (pow_test): Do not permit spurious overflow
971 * math/s_ctan.c: Include <float.h>.
972 (__ctan): Avoid internal overflow or cancellation in calculating
974 * math/s_ctanf.c: Likewise.
975 * math/s_ctanl.c: Likewise.
976 * math/s_ctanh.c: Likewise.
977 * math/s_ctanhf.c: Likewise.
978 * math/s_ctanhl.c: Likewise.
979 * math/libm-test.inc (ctan_test): Add more tests.
980 (ctanh_test): Likewise.
981 * sysdeps/i386/fpu/libm-test-ulps: Update.
982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
984 2012-04-09 Andreas Jaeger <aj@suse.de>
987 * manual/filesys.texi (Directory Entries): Mention that d_namlen
988 is an optional BSD extension.
991 * manual/stdio.texi (Opening Streams): Document additional fopen
994 2012-04-09 Roland McGrath <roland@hack.frob.com>
996 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
997 %eax without telling the compiler.
999 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1002 * manual/install.texi: Use sourceware.org.
1004 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1007 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1008 (__ieee754_pow): Generate overflow and underflow using huge*huge
1009 and tiny*tiny rather than just returning constant infinity or zero
1010 for large exponents.
1011 * math/libm-test.inc (pow_test): Require overflow exceptions for
1012 applicable cases of large exponents.
1015 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1016 (__ieee754_pow): Use iterative multiplication algorithm only for
1017 integer exponents with absolute value below 1024. Check for odd
1018 integer exponents when using algorithm for real exponents.
1019 * math/libm-test.inc (pow_test): Add more tests.
1020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1022 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1025 * math/libm-test.inc (exp_test): Do not allow overflow exception
1028 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1031 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1032 instead of __kernel_standard_f.
1034 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1036 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1037 * sysdeps/x86_64/memset_chk.S: Likewise.
1039 2012-04-08 Andreas Jaeger <aj@suse.de>
1042 * manual/startup.texi (Environment Access): Describe return value
1043 for putenv and setenv.
1046 * manual/filesys.texi (Directory Entries): Add description for
1050 * manual/filesys.texi (Directory Entries): Clarify that it's file
1051 system not operating system in the description of DT_UNKNOWN.
1054 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1056 2012-04-08 Stephen Compall <s11@member.fsf.org>
1059 * manual/llio.texi (Opening and Closing Files): Add cross
1060 reference to explain mode argument.
1062 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1064 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1065 * sysdeps/x86_64/memset_chk.S: Likewise.
1067 2012-04-07 David S. Miller <davem@davemloft.net>
1069 * elf/elf.h (R_SPARC_WDISP10): Define.
1070 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1072 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1073 R_SPARC_SIZE64 and R_SPARC_H34.
1075 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1077 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1078 conditions and remove no longer applicable assertion.
1080 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1082 * bits/byteswap.h: Include <features.h>.
1083 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1084 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1086 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1088 * bits/byteswap.h (__bswap_16): Removed.
1089 Include <bits/byteswap-16.h> to get __bswap_16.
1090 * sysdeps/i386/bits/byteswap.h: Likewise.
1091 * sysdeps/s390/bits/byteswap.h: Likewise.
1092 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1093 * bits/byteswap-16.h: New file.
1094 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1095 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1096 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1097 * string/Makefile (headers): Add bits/byteswap-16.h.
1099 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1102 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1104 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1105 * nss/tst-nss-static.c: New.
1107 2012-04-06 Robert Millan <rmh@gnu.org>
1110 * manual/llio.texi (File Position Primitive): lseek
1111 refers to WHENCE when it really means OFFSET.
1113 2012-04-06 Andreas Jaeger <aj@suse.de>
1115 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1116 strncmp declarations.
1118 * abilist/libc.abilist: Add __poll and __ppoll.
1120 2012-04-05 David S. Miller <davem@davemloft.net>
1122 * scripts/check-local-headers.sh: Accept a host triplet in the
1123 path matched by the exclude regexp.
1125 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1127 * sysdeps/powerpc/powerpc32/dl-machine.h
1128 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1129 * sysdeps/s390/s390-32/dl-machine.h
1130 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1131 * sysdeps/sparc/sparc32/dl-machine.h
1132 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1133 * sysdeps/sparc/sparc64/dl-machine.h
1134 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1136 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1138 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1139 undefined symbol errors.
1141 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1144 2012-04-05 Michael Matz <matz@suse.de>
1147 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1149 2012-04-05 Andreas Jaeger <aj@suse.de>
1152 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1155 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1157 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1158 which ROUND is no valid rounding mode.
1160 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1162 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1164 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1166 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1168 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1169 an exception using FPU order intentionally.
1171 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1173 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1174 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1175 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1176 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1178 2012-04-05 Simon Josefsson <simon@josefsson.org>
1181 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1182 EINVAL when BUFLEN is too smal.
1184 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1187 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1188 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1190 2012-04-03 Andreas Jaeger <aj@suse.de>
1193 * manual/setjmp.texi (System V contexts): Fix sentence.
1196 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1197 New macro for this case.
1198 [!__GNUC__] (__bswap_64): New inline function for this case.
1199 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1200 * bits/byteswap.h: Likewise.
1201 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1202 ull, guard with __GLIBC_HAVE_LONG_LONG.
1204 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1205 __GLIBC_HAVE_LONG_LONG.
1207 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1208 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1210 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1213 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1214 inptr and inend, rather than using last_ch.
1216 2012-04-02 David S. Miller <davem@davemloft.net>
1218 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1219 * stdio-common/printf-parse.h (read_int): Change return type to
1220 'int', return -1 on INT_MAX overflow.
1221 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1222 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1223 overflows INT_MAX. Check for overflow of in-format-string precision
1224 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1225 SIZE_MAX not INT_MAX for integer overflow test.
1226 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1227 skip the construct in the format string but do not record anything.
1228 * stdio-common/bug22.c: Adjust to test both width/prevision
1229 INT_MAX overflow as well as total length INT_MAX overflow. Check
1230 explicitly for proper errno values.
1232 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1234 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1236 * string/test-strcmp.c [! WIDE]: Likewise.
1237 * time/tst-mktime2.c: Likewise for INT_MAX.
1238 * string/test-string.h: #include <sys/param.h> for MIN.
1240 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1241 * sysdeps/i386/init-first.c (init): Likewise.
1242 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1243 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1244 * sysdeps/sh/init-first.c (init): Likewise.
1246 2012-04-01 Ulrich Drepper <drepper@gmail.com>
1248 * po/ru.po: Update from translation team.
1249 * po/vi.po: Likewise.
1251 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1253 * resolv/nss_dns/dns-host.c: Merge copyright years.
1255 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1257 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1258 Optimize memcpy with prefetch if
1259 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1260 src, dst pointers have unequal 16 byte alignments.
1262 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1265 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1266 from a CNAME entry and return the minimum ttl for the query.
1267 (gaih_getanswer_slice): Likewise.
1269 2012-03-30 Jeff Law <law@redhat.com>
1271 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1273 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1274 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1276 * resolv/nss_dns/dns-host.c: Update copyright year.
1278 2012-03-30 Ulrich Drepper <drepper@gmail.com>
1280 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1281 requests to save a system call. Fix check that all bytes are sent.
1283 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1284 comments for sendmmsg.
1286 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1289 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1290 with only 1 character between 0x0041 and 0x01b0.
1291 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1292 * wcsmbs/tst-mbsnrtowcs.c: New file.
1294 2012-03-29 David S. Miller <davem@davemloft.net>
1296 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1297 small copies by hand.
1299 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1302 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1303 _nss_compat_initgroups_dyn): Fall back to malloc/free
1304 for large group memberships.
1306 2012-03-28 David S. Miller <davem@davemloft.net>
1308 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1309 that branches into memcpy.
1310 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1311 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1312 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1313 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1314 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1316 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1318 * sysdeps/sparc/mempcpy.S: New file.
1320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1321 the IFUNC routine in the libc case.
1322 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1324 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1325 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1326 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1327 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1328 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1329 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1330 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1331 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1333 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1334 loop to 256 bytes instead of 64 bytes and fix test signedness.
1336 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1337 * sysdeps/sparc/sparc32/Makefile: rather than here...
1338 * sysdeps/sparc/sparc64/Makefile: and here.
1340 2012-03-28 Ulrich Drepper <drepper@gmail.com>
1342 * malloc/mallocbug.c: Avoid warnings about unused variables.
1344 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1347 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1348 in the right place. Discard and retry query if response is
1349 larger than input buffer size.
1351 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1356 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1357 x for large integer exponent.
1358 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1359 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1360 sign of result as needed afterwards.
1361 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1362 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1363 result for underflowing pow the same as for overflow.
1364 (__kernel_standard_l): Handle powl overflow and underflow here
1365 rather than calling __kernel_standard.
1366 * math/libm-test.inc (pow_test): Add more tests.
1381 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1382 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1383 (__kernel_standard_l): New function.
1384 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1386 * math/w_acosl.c (__acosl): Likewise.
1387 * math/w_asinl.c (__asinl): Likewise.
1388 * math/w_atan2l.c (__atan2l): Likewise.
1389 * math/w_atanhl.c (__atanhl): Likewise.
1390 * math/w_coshl.c (__coshl): Likewise.
1391 * math/w_exp10l.c (__exp10l): Likewise.
1392 * math/w_exp2l.c (__exp2l): Likewise.
1393 * math/w_fmodl.c (__fmodl): Likewise.
1394 * math/w_hypotl.c (__hypotl): Likewise.
1395 * math/w_j0l.c (__j0l, __y0l): Likewise.
1396 * math/w_j1l.c (__j1l, __y1l): Likewise.
1397 * math/w_jnl.c (__jnl, __ynl): Likewise.
1398 * math/w_lgammal.c (__lgammal): Likewise.
1399 * math/w_log10l.c (__log10l): Likewise.
1400 * math/w_log2l.c (__log2l): Likewise.
1401 * math/w_logl.c (__logl): Likewise.
1402 * math/w_powl.c (__powl): Likewise.
1403 * math/w_remainderl.c (__remainderl): Likewise.
1404 * math/w_scalbl.c (sysv_scalbl): Likewise.
1405 * math/w_sinhl.c (__sinhl): Likewise.
1406 * math/w_sqrtl.c (__sqrtl): Likewise.
1407 * math/w_tgammal.c (__tgammal): Likewise.
1408 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1409 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1410 * math/libm-test.inc (acos_test): Add more tests.
1411 (acosh_test): Likewise.
1412 (asin_test): Likewise.
1413 (atanh_test): Likewise.
1414 (exp_test): Likewise.
1415 (exp10_test): Likewise.
1416 (exp2_test): Likewise.
1417 (expm1_test): Likewise.
1418 (lgamma_test): Likewise.
1419 (log_test): Likewise.
1420 (log10_test): Likewise.
1421 (log1p_test): Likewise.
1422 (log2_test): Likewise.
1423 (pow_test): Do not allow some spurious overflow exceptions.
1424 (sqrt_test): Add more tests.
1425 (tgamma_test): Likewise.
1426 (y0_test): Likewise.
1427 (y1_test): Likewise.
1428 (yn_test): Likewise.
1430 2012-03-27 Anton Blanchard <anton@samba.org>
1432 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1434 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1435 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1436 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1438 2012-03-27 David S. Miller <davem@davemloft.net>
1440 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1442 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1445 2012-03-27 Andreas Jaeger <aj@suse.de>
1447 * sysdeps/x86_64/elf/configure.in: Moved to ...
1448 * sysdeps/x86_64/configure.in: ... here.
1449 * sysdeps/x86_64/elf/start.S: Moved to ...
1450 * sysdeps/x86_64/start.S: ... here.
1451 * sysdeps/x86_64/elf/configure: Delete.
1453 * sysdeps/x86_64/configure.in: Merge contents from
1454 sysdeps/i386/configure.in (without i686 check).
1456 * sysdeps/i386/elf/Versions: Merge into ...
1457 * sysdeps/i386/Versions: ... this.
1458 * sysdeps/i386/elf/Versions: Delete file.
1459 * sysdeps/i386/elf/start.S: Moved to ...
1460 * sysdeps/i386/start.S: ...here.
1461 * sysdeps/i386/elf/configure.in: Merge into...
1462 * sysdeps/i386/configure.in: ...here.
1463 * sysdeps/i386/elf/configure.in: Delete file.
1464 * sysdeps/i386/elf/configure: Delete file.
1466 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1467 * debug/backtracesyms.c: ... here.
1468 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1469 * debug/backtracesymsfd.c: ... here.
1470 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1471 * sysdeps/generic/ifunc-sel.h: ... here.
1473 * sysdeps/unix/i386/start.c: Delete file.
1474 * sysdeps/unix/sparc/start.c: Delete file.
1475 * sysdeps/unix/start.c: Delete file.
1477 * sysdeps/sh/elf/configure.in: Moved to ...
1478 * sysdeps/sh/configure.in: ... here.
1479 * sysdeps/sh/elf/start.S: Moved to ...
1480 * sysdeps/sh/start.S: ... here.
1481 * sysdeps/sh/elf/configure: Delete file.
1483 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1484 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1485 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1486 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1487 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1488 * sysdeps/powerpc/powerpc64/start.S: here.
1489 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1490 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1491 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1492 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1493 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1495 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1496 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1497 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1498 * sysdeps/powerpc/powerpc32/start.S: ... here.
1499 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1500 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1501 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1503 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1504 * sysdeps/powerpc/ifunc-sel.h: ... here.
1505 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1506 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1508 * sysdeps/sparc/elf/configure.in: Moved to ...
1509 * sysdeps/sparc/configure.in: ... here.
1510 * sysdeps/sparc/elf/configure: Delete file.
1511 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1512 * sysdeps/sparc/sparc32/start.S: ... here.
1513 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1514 * sysdeps/sparc/sparc64/start.S: ... here.
1515 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1516 * sysdeps/sparc/sparc32/Makefile: ... this.
1517 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1518 * sysdeps/sparc/sparc64/Makefile: ... this.
1520 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1521 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1522 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1523 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1524 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1525 * sysdeps/s390/s390-32/setjmp.S: ... here.
1526 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1527 * sysdeps/s390/s390-32/configure.in: ... here.
1528 * sysdeps/s390/s390-32/elf/configure: Delete file.
1529 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1530 * sysdeps/s390/s390-32/start.S: ... here.
1532 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1533 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1534 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1535 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1536 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1537 * sysdeps/s390/s390-64/setjmp.S: ... here.
1538 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1539 * sysdeps/s390/s390-64/configure.in: ... here
1540 * sysdeps/s390/s390-64/elf/configure: Delete file.
1541 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1542 * sysdeps/s390/s390-64/start.S: ... here.
1543 * sysdeps/s390/s390-64/elf/configure: Delete.
1545 * configure.in: Remove support for elf directories in sysdeps.
1547 * configure: Regenerated.
1548 * sysdeps/i386/configure: Regenerated.
1549 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1550 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1551 * sysdeps/s390/s390-32/configure: Regenerated.
1552 * sysdeps/s390/s390-64/configure: Regenerated.
1553 * sysdeps/sh/configure: Regenerated.
1554 * sysdeps/sparc/configure: Regenerated.
1555 * sysdeps/x86_64/configure: Regenerated.
1557 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1559 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1561 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1562 denormal result into account.
1564 2012-03-25 Roland McGrath <roland@hack.frob.com>
1566 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1567 Reported by Allan McRae <allan@archlinux.org>.
1569 2012-03-23 Jeff Law <law@redhat.com>
1571 * nss/getnssent.c (__nss_getent): Fix typo.
1573 2012-03-23 David S. Miller <davem@davemloft.net>
1575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1577 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1579 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1580 to pad to uint64_t for each field.
1581 (dl_tls_index): Replace unsigned long with uint64_t.
1583 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1584 Paul Pluzhnikov <ppluzhnikov@google.com>
1587 * grp/Makefile (otherlibs): Don't set it.
1588 * inet/Makefile (otherlibs): Likewise.
1589 * login/Makefile (otherlibs): Likewise.
1590 * nscd/Makefile (otherlibs): Likewise.
1591 * posix/Makefile (otherlibs): Likewise.
1592 * pwd/Makefile (otherlibs): Likewise.
1593 * rt/Makefile (otherlibs): Likewise.
1594 * sunrpc/Makefile (otherlibs): Likewise.
1595 * nss/Makefile (otherlibs): Likewise.
1596 Add libnss_files to routines and static-only-routines.
1597 ($(objpfx)getent): Remove rule.
1598 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1599 static-only-routines.
1601 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1604 * math/s_cexp.c: Include <float.h>.
1605 (__cexp): Handle exp result overflowing not necessarily
1606 overflowing both real and imaginary parts of result.
1607 * math/s_cexpf.c: Likewise.
1608 * math/s_cexpl.c: Likewise.
1609 * math/libm-test.inc (cexp_test): Add more tests.
1610 * sysdeps/i386/fpu/libm-test-ulps: Update.
1611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1613 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1615 * include/link.h (ELFW): New macro.
1616 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1617 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1619 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1621 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1624 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1626 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1628 (struct La_x32_retval): Likewise.
1630 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1632 * sysdeps/x86_64/preconfigure.in: New file.
1633 * sysdeps/x86_64/preconfigure: New generated file.
1635 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1638 * math/e_exp2l.c: Include <float.h>.
1639 (__ieee754_exp2l): Handle overflow and underflow cases
1640 separately. Only pass fractional part of argument to
1642 * math/libm-test.inc (exp2_test): Add more tests.
1644 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1645 negating x to take absolute value.
1646 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1648 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1649 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1651 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1652 computing low part if x was negated.
1653 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1655 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1657 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1659 (pltexit): Cast int_retval to ptrdiff_t.
1660 * elf/tst-auditmod3b.c: Likewise.
1661 * elf/tst-auditmod4b.c: Likewise.
1662 * elf/tst-auditmod5b.c: Likewise.
1663 * elf/tst-auditmod6b.c: Likewise.
1664 * elf/tst-auditmod6c.c: Likewise.
1665 * elf/tst-auditmod7b.c: Likewise.
1667 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1668 and x32_gnu_pltexit.
1670 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1672 (La_x32_regs): New macro.
1673 (La_x32_retval): Likewise.
1674 (la_x32_gnu_pltenter): New function prototype.
1675 (la_x32_gnu_pltexit): Likewise.
1677 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1679 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1684 * configure.in (libc_cv_cc_nofma): Check for option to disable
1685 generation of FMA instructions.
1686 * configure: Regenerate.
1687 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1688 * sysdeps/ieee754/dbl-64/Makefile: New file.
1689 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1690 Remove brandred-fma4.
1691 (CFLAGS-brandred-fma4.c): Remove.
1692 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1693 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1695 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1698 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1700 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1701 LLONG_MAX != LONG_MAX.
1702 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1703 (_fitoa_word): Likewise.
1704 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1705 LLONG_MAX != LONG_MAX.
1706 * stdio-common/_itowa.h: Include <_itoa.h>.
1707 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1708 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1709 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1710 only if not defined.
1711 (_ITOA_WORD_TYPE): Likewise.
1712 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1713 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1715 2012-03-21 David S. Miller <davem@davemloft.net>
1717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1719 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1721 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1722 of x86_64 when setting libc_cv_slibdir, libdir and
1724 * sysdeps/unix/sysv/linux/configure: Regenerated.
1726 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1728 * manual/lang.texi (Old Varargs): Remove section.
1729 (How Variadic): Update menu.
1730 (va_start): Do not mention varargs.h.
1732 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1733 Joseph Myers <joseph@codesourcery.com>
1735 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1737 * configure: Regenerated.
1739 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1741 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1742 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1745 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1748 * Makefile (files-for-dist): Remove NOTES.
1749 (NOTES): Remove rule.
1750 * README: Don't refer to NOTES.
1751 * manual/creature.texi: Don't include macros.texi.
1752 * manual/intro.texi (creature.texi): Remove comment referring to
1755 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1756 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1757 * configure: Regenerated.
1758 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1760 (libc_cv_as_i686): Likewise.
1761 (libc_cv_cc_avx): Likewise.
1762 (libc_cv_cc_sse2avx): Likewise.
1763 (libc_cv_cc_fma4): Likewise.
1764 (libc_cv_cc_novzeroupper): Likewise.
1765 * sysdeps/i386/configure: Regenerated.
1768 * sysdeps/i386/fpu/s_cexp.S: Remove.
1769 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1770 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1771 * math/libm-test.inc (cexp_test): Add more tests.
1772 * sysdeps/i386/fpu/libm-test-ulps: Update.
1773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1775 2012-03-21 Allan McRae <allan@archlinux.org>
1777 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1779 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1782 * math/w_exp2.c: Do not include <float.h>.
1783 (o_threshold, u_threshold): Remove.
1784 (__exp2): Calculate result before checking finiteness and calling
1786 * math/w_exp2f.c: Likewise.
1787 * math/w_exp2l.c: Likewise.
1788 * math/libm-test.inc (exp2_test): Require overflow exception for
1792 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1793 range of signed 64-bit integers before using fistpll. Remove
1794 checks for whether integers fit in mantissa bits.
1795 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1796 the range of signed 32-bit integers before using fistpl. Remove
1797 checks for whether integers fit in mantissa bits.
1798 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1799 (__ieee754_powl): Test for y outside the range of signed 64-bit
1800 integers before using fistpll. Reduce 64-bit values to 63-bit
1802 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1803 divide-by-zero is raised for zero to large negative powers.
1804 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1805 (__ieee754_powl): Test for y outside the range of signed 64-bit
1806 integers before using fistpll. Reduce 64-bit values to 63-bit
1808 * math/libm-test.inc (pow_test): Add more tests.
1810 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1812 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1813 <stdio-common/_itoa.h>.
1814 * debug/segfault.c: Likewise.
1815 * elf/dl-cache.c: Likewise.
1816 * elf/dl-minimal.c: Likewise.
1817 * elf/dl-misc.c: Likewise.
1818 * elf/dl-sysdep.c: Likewise.
1819 * elf/dl-version.c: Likewise.
1820 * elf/rtld.c: Likewise.
1821 * hurd/hurdsock.c: Likewise.
1822 * hurd/lookup-retry.c: Likewise.
1823 * malloc/malloc.c: Likewise.
1824 * malloc/mtrace.c: Likewise.
1825 * nscd/nscd_getgr_r.c: Likewise.
1826 * nscd/nscd_getpw_r.c: Likewise.
1827 * nscd/nscd_getserv_r.c: Likewise.
1828 * posix/getopt_init.c: Likewise.
1829 * posix/wordexp.c: Likewise.
1830 * stdio-common/_itoa.c: Likewise.
1831 * stdio-common/printf_fphex.c: Likewise.
1832 * stdio-common/vfprintf.c: Likewise.
1833 * string/_strerror.c: Likewise.
1834 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1835 * sysdeps/i386/i686/hp-timing.h: Likewise.
1836 * sysdeps/mach/_strerror.c: Likewise.
1837 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1838 * sysdeps/mach/hurd/sethostid.c: Likewise.
1839 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1840 * sysdeps/mach/xpg-strerror.c: Likewise.
1841 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1842 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1843 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1844 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1845 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1846 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1847 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1848 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1849 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1850 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1851 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1852 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1853 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1854 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1855 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1856 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1857 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1858 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1859 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1860 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1861 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1863 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1865 * stdio-common/_itoa.h: Moved to ...
1866 * sysdeps/generic/_itoa.h: Here.
1868 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1870 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1871 instead of "_itoa.h" and "_itowa.h".
1872 * stdio-common/vfprintf.: Likewise.
1874 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1876 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1878 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1879 (__signbit): Likwise.
1883 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1885 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1888 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1890 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1891 OVERFLOW_EXCEPTION_OK.
1892 * math/libm-test.inc ("Philosophy"): Update comment about
1894 (OVERFLOW_EXCEPTION): Define.
1895 (OVERFLOW_EXCEPTION_OK): Likewise.
1896 (INVALID_EXCEPTION_OK): Renumber.
1897 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1898 (IGNORE_ZERO_INF_SIGN): Likewise.
1899 (test_exceptions): Handle FE_OVERFLOW.
1900 (exp10_test): Expect overflow exceptions.
1901 (exp2_test): Likewise.
1902 (expm1_test): Likewise.
1903 (nextafter_test): Likewise.
1904 (pow_test): Likewise.
1905 (scalbn_test): Likewise.
1906 (scalbln_test): Likewise.
1908 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1910 * sysdeps/x86_64/bits/atomic.h
1911 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1913 (atomic_exchange_acq): Likewise.
1914 (__arch_exchange_and_add_body): Likewise.
1915 (__arch_add_body): Likewise.
1916 (atomic_add_negative): Likewise.
1917 (atomic_add_zero): Likewise.
1919 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1921 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1922 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1924 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1926 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1927 Check __x86_64__ instead of __WORDSIZE.
1929 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1931 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1933 2012-03-19 David S. Miller <davem@davemloft.net>
1935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1937 * sysdeps/sparc/fpu/fenv_private.h: New file.
1938 * sysdeps/sparc/fpu/math_private.h: Use it.
1939 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1941 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1942 (libc_feholdexcept_setroundl): Remove.
1943 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1945 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1946 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1948 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1950 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1951 int64_t instead of long int.
1952 (INSERT_WORDS64): Likwise.
1954 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1956 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1957 _Unwind_GetCFA return to _Unwind_Ptr first.
1959 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1962 * math/s_clog.c: Include <float.h>.
1963 (__clog): Scale large or subnormal inputs.
1964 * math/s_clogf.c: Likewise.
1965 * math/s_clogl.c: Likewise.
1966 * math/s_clog10.c: Include <float.h>.
1967 (M_LOG10_2): Define.
1968 (__clog10): Scale large or subnormal inputs.
1969 * math/s_clog10f.c: Likewise.
1970 * math/s_clog10l.c: Likewise.
1971 * math/libm-test.inc (clog_test): Add more tests.
1972 (clog10_test): Likewise.
1973 * sysdeps/i386/fpu/libm-test-ulps: Update.
1974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1977 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1979 * math/libm-test.inc (atan2_test): Add another test.
1981 * Makerules (common-objdir-compile): Remove.
1982 * sysdeps/unix/Makefile (config-generated): Do not add
1983 $(unix-generated) to variable.
1984 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1985 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1987 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1989 [generic bits/local_lim.h] (before-compile): Do not append to
1991 [generic bits/local_lim.h] (common-generated): Likewise.
1992 [generic sys/param.h] (before-compile): Do not append to variable.
1993 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1994 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1995 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1996 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1998 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1999 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2000 [generic sys/param.h] ($(addprefix
2001 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2002 [generic sys/param.h] (common-generated): Do not append to
2004 [generic sys/param.h] (sysdep_headers): Likewise.
2005 [generic bits/errno.h] (before-compile): Do not append to
2007 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2009 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2010 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2011 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2012 [generic bits/errno.h] (common-generated): Do not append to
2014 [generic bits/ioctls.h] (before-compile): Do not append to
2016 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2018 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2019 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2020 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2022 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2023 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2024 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2025 [generic bits/ioctls.h] (common-generated): Do not append to
2027 [generic sys/syscall.h] (syscall.h): Remove variable.
2028 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2030 [generic sys/syscall.h] (before-compile): Do not append to
2032 [generic sys/syscall.h] (common-generated): Likewise.
2033 * sysdeps/unix/errnos-tmpl.c: Remove file.
2034 * sysdeps/unix/errnos.awk: Likewise.
2035 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2036 * sysdeps/unix/ioctls.awk: Likewise.
2037 * sysdeps/unix/mk-local_lim.c: Likewise.
2038 * sysdeps/unix/snarf-ioctls: Likewise.
2040 2012-03-19 Richard Henderson <rth@twiddle.net>
2042 * sysdeps/i386/fpu/fenv_private.h: New file.
2043 * sysdeps/i386/fpu/math_private.h: Use it.
2044 (math_opt_barrier, math_force_eval): Remove.
2045 (libc_feholdexcept_setround_53bit): Remove.
2046 (libc_feupdateenv_53bit): Remove.
2047 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2048 (math_opt_barrier, math_force_eval): Remove.
2049 (libc_feholdexcept): Remove.
2050 (libc_feholdexcept_setround): Remove.
2051 (libc_fetestexcept, libc_fesetenv): Remove.
2052 (libc_feupdateenv_test): Remove.
2053 (libc_feupdateenv, libc_feholdsetround): Remove.
2054 (libc_feresetround): Remove.
2056 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2057 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2059 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2060 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2061 (libc_feupdateenv_testl): New.
2062 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2063 (libc_feupdateenv_testf): New.
2064 (libc_feupdateenv): Use libc_feupdateenv_test.
2065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2066 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2068 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2069 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2070 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2071 (libc_feresetround_noex): New.
2072 (libc_feresetround_noexf): New.
2073 (libc_feresetround_noexl): New.
2074 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2075 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2076 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2077 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2079 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2080 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2082 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2083 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2084 SET_RESTORE_ROUND_NOEX.
2085 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2086 SET_RESTORE_ROUND_NOEXF.
2087 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2088 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2089 (libc_feholdsetroundf): New.
2090 (libc_feresetround, libc_feresetroundf): New.
2092 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2093 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2094 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2096 * sysdeps/generic/math_private.h: Include <fenv.h>.
2097 (default_libc_feholdexcept): New.
2098 (default_libc_feholdexcept_setround): New.
2099 (default_libc_fesetenv, default_libc_feupdateenv): New.
2100 (libc_feholdexcept): Only define if undefined.
2101 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2102 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2103 (libc_feholdexcept_setroundl): Likewise.
2104 (libc_feholdexcept_setround_53bit): Likewise.
2105 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2106 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2107 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2108 (libc_feupdateenv_53bit): Likewise.
2109 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2110 (libc_feholdexcept): Convert from macro to inline function.
2111 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2112 (libc_fesetenv, libc_feupdateenv): Likewise.
2114 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2115 not previously defined.
2116 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2117 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2118 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2119 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2120 * sysdeps/ieee754/flt-32/math_private.h: New file.
2121 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2122 math_private.h below SET_FLOAT_WORD.
2123 (__isnan, __isinf_ns, __finite): Remove.
2124 (__isnanf, __isinf_nsf, __finitef): Remove.
2126 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2130 2012-03-17 David S. Miller <davem@davemloft.net>
2133 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2136 2012-03-16 David S. Miller <davem@davemloft.net>
2138 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2142 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2144 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2145 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2146 sysdep_routines when subdir is sysvipc.
2147 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2150 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2152 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2154 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2157 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2159 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2160 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2161 (__lround): Renamed to ...
2162 (__llround): This. Replace long int with long long int.
2163 Define lround functions as aliases of llround functions.
2164 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2166 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2168 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2169 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2170 adresses to uintptr_t. Replace "long int" and "unsigned long
2171 int" with "greg_t" on va_arg.
2173 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2175 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2176 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2178 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2179 Move e_machine check before EI_CLASS check. Handle x32
2180 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2181 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2182 SKIP_EM_IA_64 and include
2183 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2185 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2186 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2187 (add_system_dir): New macro.
2189 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2190 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2192 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2203 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2205 * math/w_j0f.c (j0f): Likewise.
2207 * math/w_j0l.c (__j0l): Likewise.
2209 * math/w_j1.c (j1): Likewise.
2211 * math/w_j1f.c (j1f): Likewise.
2213 * math/w_j1l.c (__j1l): Likewise.
2215 * math/w_jn.c (jn): Likewise.
2217 * math/w_jnf.c (jnf): Likewise.
2219 * math/w_jnl.c (__jnl): Likewise.
2221 * math/libm-test.inc (j0_test): Add more tests.
2222 (j1_test): Likewise.
2223 (jn_test): Likewise. Add trailing semicolon to existing test.
2224 (y0_test): Likewise.
2225 (y1_test): Likewise.
2226 * sysdeps/i386/fpu/libm-test-ulps: Update.
2227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2231 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2232 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2233 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2234 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2235 (__tanl): Set errno for infinite argument.
2236 * sysdeps/i386/fpu/mptan.c: Remove.
2237 * sysdeps/i386/fpu/s_tan.S: Likewise.
2238 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2239 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2240 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2241 * math/libm-test.inc (tan_test): Add more tests and enable more
2242 tests for double and long double.
2243 * sysdeps/i386/fpu/libm-test-ulps: Update.
2244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2246 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2248 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2249 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2251 2012-03-16 Roland McGrath <roland@hack.frob.com>
2253 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2254 * configure.in: Use it for both main tree and add-ons.
2255 * configure: Regenerated.
2257 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2259 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2261 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2263 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2267 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2268 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2271 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2273 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2276 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2277 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2278 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2279 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2280 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2281 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2282 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2283 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2284 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2285 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2286 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2287 * math/libm-test.inc (cos_test): Add more tests and enable more
2288 tests for long double.
2289 (sin_test): Likewise.
2290 (sincos_test): Likewise.
2291 * sysdeps/i386/fpu/libm-test-ulps: Update.
2292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2294 2012-03-16 David S. Miller <davem@davemloft.net>
2296 * sysdeps/sparc/fpu/math_private.h: New file.
2298 2012-03-15 David S. Miller <davem@davemloft.net>
2300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2310 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2314 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2315 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2317 * sysdeps/sparc/sparc-ifunc.h: New file.
2318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2344 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2356 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2357 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2358 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2359 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2360 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2361 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2363 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2365 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2369 2012-03-15 Andreas Jaeger <aj@suse.de>
2372 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2373 ieee754/flt-32 implementation for sin, cos and sincos.
2374 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2375 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2376 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2377 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2378 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2379 ieee754/flt-32 implementation for tan.
2381 * math/libm-test.inc (cos_test): Enable some large input tests for
2383 (sin_test): Likewise.
2384 (sincos_test): Likewise.
2385 (tan_test): Add tests for large input.
2387 * sysdeps/i386/fpu/libm-test-ulps: Update.
2389 2012-03-15 Andreas Jaeger <aj@suse.de>
2392 * math/libm-test.inc (cos_test): Add more test cases.
2393 (sin_test): Likewise.
2394 (sincos_test): Likewise.
2396 2012-03-15 Andreas Jaeger <aj@suse.de>
2399 * math/libm-test.inc (cos_test): Add a test case for large input
2401 (sin_test): Likewise.
2402 (sincos_test): Likewise.
2404 2012-03-15 Andreas Jaeger <aj@suse.de>,
2405 Joseph Myers <joseph@codesourcery.com>
2408 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2409 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2410 * sysdeps/i386/fpu/branred.c: Likewise.
2411 * sysdeps/i386/fpu/dosincos.c: Likewise.
2412 * sysdeps/i386/fpu/mpa.c: Likewise.
2413 * sysdeps/i386/fpu/s_cos.S: Likewise.
2414 * sysdeps/i386/fpu/s_sin.S: Likewise.
2415 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2416 * sysdeps/i386/fpu/sincos32.c: Likewise.
2418 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2420 (libc_feupdateenv_53bit): Define.
2421 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2423 (libc_feupdateenv_53bit): Define.
2425 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2426 53 bit (without extend i386 double precision).
2428 * math/libm-test.inc (sincos_test): Add tests for large input.
2432 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2434 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2438 2012-03-15 David S. Miller <davem@davemloft.net>
2440 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2441 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2442 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2443 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2448 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2467 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2468 fmin/fmax sysdep routines.
2469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2471 2012-03-14 David S. Miller <davem@davemloft.net>
2473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2475 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2476 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2477 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2478 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2479 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2480 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2481 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2482 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2485 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2486 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2487 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2488 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2489 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2493 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2496 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2497 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2498 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2499 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2500 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2545 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2550 * sysdeps/sparc/configure.in: New file.
2551 * sysdeps/sparc/configure: Generate.
2552 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2553 * configure: Regenerate.
2554 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2555 * config.make.in (have-as-vis3): New.
2556 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2557 available use -Av9d instead of -Av9a.
2558 * sysdeps/sparc/sparc64/Makefile: Likewise.
2559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2568 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2569 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2570 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2571 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2572 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2574 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2575 fzeros/fnegs to load 0x80000000 into a float register instead of
2577 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2579 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2583 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2584 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2585 ($(inst_includedir)/bits/syscall.h): Remove rule.
2586 ($(objpfx)bits/syscall.d): Include instead of
2587 $(objpfx)syscall-list.d.
2588 (generated): Change syscall-list.h and syscall-list.d to
2589 bits/syscall.h and bits/syscall.d.
2591 2012-03-14 Roland McGrath <roland@hack.frob.com>
2594 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2596 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2599 * math/s_csqrt.c: Include <float.h>.
2600 (__csqrt): Scale large or subnormal inputs.
2601 * math/s_csqrtf.c: Likewise.
2602 * math/s_csqrtl.c: Likewise.
2603 * math/libm-test.inc (csqrt_test): Add more tests.
2604 * sysdeps/i386/fpu/libm-test-ulps: Update.
2605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2608 * math/libm-test.inc (hypot_test): Add more tests.
2610 2012-03-13 David S. Miller <davem@davemloft.net>
2613 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2614 double-precision for the calculation instead of scaling.
2616 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2618 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2619 manipulate bits before adding and subtracting TWO52[sx].
2620 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2621 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2623 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2625 2012-03-13 David S. Miller <davem@davemloft.net>
2627 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2628 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2629 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2630 rtld-global-offsets.h
2631 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2633 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2636 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2638 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2639 'err' in the ifdef scope in which it is actually used.
2641 * nss/nss_db/db-init.c: Include string.h
2643 2012-03-12 David S. Miller <davem@davemloft.net>
2645 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2646 masking out of the most significant byte of random value used.
2647 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2648 Fix coding style in previous change.
2650 * sysdeps/unix/sysv/linux/kernel-features.h
2651 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2652 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2654 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2657 2012-03-11 David S. Miller <davem@davemloft.net>
2659 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2660 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2661 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2662 for 'resultvar' otherwise things get truncated on 64-bit.
2664 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2665 Fix masking out of the most significant byte of random value used.
2667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2669 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2673 2012-03-09 David S. Miller <davem@davemloft.net>
2675 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2676 variables with appropriate CPP guards.
2677 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2678 frame pointer, not the stack pointer. Correct layout comments. Fix test
2679 on resulting framesize and the management of the outregs buffer for pltexit.
2680 Preserve floating point return values across _dl_call_pltexit call.
2681 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2682 framesize and the management of the outregs buffer for pltexit.
2683 Preserve floating point return values across _dl_call_pltexit
2685 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2686 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2687 (print_exit): Fix format string for return register value.
2689 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2691 * sunrpc/Makefile (others): Add rpcgen.
2692 ($(objpfx)rpcgen): Remove special build rule and dependency on
2694 * sunrpc/rpcgen.c: New file.
2696 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2699 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2700 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2701 * sysdeps/i386/crti.S: Likewise.
2702 * sysdeps/i386/crtn.S: Likewise.
2703 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2704 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2705 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2706 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2707 * sysdeps/sh/crti.S: Likewise.
2708 * sysdeps/sh/crtn.S: Likewise.
2709 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2712 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2714 * locale/programs/locfile-kw.gperf: Likewise.
2715 * locale/programs/charmap-kw.h: Regenerated.
2716 * locale/programs/locfile-kw.h: Likewise.
2719 * intl/plural.y: Replace FSF snail mail address with URL.
2720 * intl/plural.c: Regenerated.
2722 2012-03-09 Richard Henderson <rth@twiddle.net>
2724 * include/math_private.h: Remove file.
2725 * math/math_private.h: Move file ...
2726 * sysdeps/generic/math_private.h: ... here.
2728 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2729 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2730 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2732 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2733 and <math_private.h>.
2734 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2735 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2736 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2737 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2738 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2739 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2740 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2743 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2746 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2747 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2748 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2749 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2750 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2751 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2752 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2753 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2755 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2756 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2758 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2760 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2761 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2763 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2764 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2765 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2766 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2767 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2768 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2769 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2770 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2771 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2772 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2773 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2774 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2775 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2776 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2777 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2778 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2779 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2780 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2781 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2782 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2783 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2784 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2785 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2786 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2787 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2788 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2789 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2790 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2791 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2792 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2793 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2794 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2795 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2796 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2797 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2798 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2799 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2800 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2801 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2802 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2803 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2804 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2805 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2806 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2808 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2809 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2810 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2811 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2812 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2813 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2814 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2815 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2816 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2817 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2818 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2819 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2821 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2822 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2823 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2824 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2825 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2827 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2828 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2829 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2830 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2831 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2832 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2833 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2834 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2835 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2836 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2837 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2838 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2839 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2840 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2841 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2842 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2843 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2844 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2845 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2846 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2847 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2848 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2849 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2850 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2851 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2852 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2853 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2854 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2855 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2856 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2857 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2858 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2859 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2860 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2861 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2862 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2863 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2864 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2865 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2866 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2867 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2868 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2869 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2870 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2871 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2872 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2873 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2874 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2875 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2876 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2877 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2878 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2879 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2880 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2881 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2882 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2883 * sysdeps/ieee754/k_standard.c: Likewise.
2884 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2885 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2886 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2887 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2888 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2889 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2890 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2891 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2892 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2893 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2894 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2895 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2896 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2897 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2898 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2899 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2900 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2901 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2902 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2903 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2904 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2905 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2906 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2907 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2908 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2909 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2910 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2911 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2912 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2913 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2914 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2915 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2916 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2917 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2920 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2923 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2924 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2925 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2926 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2927 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2928 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2929 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2930 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2931 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2932 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2933 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2934 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2935 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2936 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2937 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2938 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2939 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2940 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2941 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2942 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2943 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2944 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2945 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2946 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2947 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2948 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2949 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2950 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2951 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2952 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2953 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2954 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2956 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2957 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2958 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2959 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2960 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2961 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2962 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2963 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2964 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2965 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2966 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2967 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2968 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2969 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2970 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2971 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2972 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2973 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2974 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2975 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2976 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2977 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2980 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2981 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2982 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2983 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2984 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2985 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2986 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2987 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2988 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2989 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2990 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2991 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2992 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2993 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2994 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2995 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2996 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2997 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2998 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2999 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3000 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3001 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3002 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3003 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3004 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3005 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3006 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3007 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3008 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3009 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3010 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3011 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3012 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3013 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3014 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3015 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3016 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3017 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3018 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3019 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3020 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3021 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3022 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3023 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3024 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3025 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3026 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3027 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3028 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3029 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3030 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3031 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3032 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3033 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3034 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3035 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3036 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3037 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3038 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3039 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3040 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3041 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3042 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3043 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3044 * sysdeps/ieee754/s_lib_version.c: Likewise.
3045 * sysdeps/ieee754/s_matherr.c: Likewise.
3046 * sysdeps/ieee754/s_signgam.c: Likewise.
3047 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3048 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3049 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3050 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3051 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3052 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3053 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3054 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3055 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3056 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3057 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3058 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3059 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3060 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3061 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3062 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3063 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3064 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3065 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3066 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3067 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3069 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3071 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3072 * sunrpc/rpc_main.c: Likewise.
3073 * sunrpc/rpc_svcout.c: Likewise.
3075 2012-03-09 David S. Miller <davem@davemloft.net>
3077 * include/math_private.h: New file.
3079 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3081 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3082 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3083 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3084 from <bits/socket_type.h>.
3085 (enum __socket_type): Don't define here.
3086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3091 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3094 * Makerules ($(inst_includedir)/%.h): New rule.
3095 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3096 (install-others): Remove variable setting.
3097 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3099 2012-03-08 Richard Henderson <rth@twiddle.net>
3101 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3102 from macro to inline function; merge with the
3103 !__LIBC_INTERNAL_MATH_INLINES version.
3104 (__ieee754_sqrtf): Likewise.
3106 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3108 (__rintf, __floor, __floorf): Likewise.
3110 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3111 macro to inline function.
3112 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3114 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3115 not <math/math_private.h>.
3117 2012-03-08 David S. Miller <davem@davemloft.net>
3119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3121 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3123 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3125 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3127 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3128 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3130 2012-03-08 Ulrich Drepper <drepper@gmail.com>
3132 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3133 be defined individually, they must be defined as a block. Define
3134 S for printing a string instead of hidint the different by using a
3135 macro for adding the 'l'.
3136 * stdio-common/tst-fphex-wide.c: Adjust.
3138 2012-03-07 Marek Polacek <polacek@redhat.com>
3140 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3142 2012-03-08 Marek Polacek <polacek@redhat.com>
3145 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3146 * stdio-common/tst-fphex.c: Define a few macros to make the
3147 test reusable. Use them.
3148 * stdio-common/tst-fphex-wide.c: New file.
3150 2012-03-08 Joseph Myers <joseph@codesourcery.com>
3153 * manual/macros.texi (gnusystems): New macro.
3154 (nongnusystems): Likewise.
3155 (gnulinuxhurdsystems): Likewise.
3156 (gnuhurdsystems): Likewise..
3157 (gnulinuxsystems): Likewise.
3158 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3159 variants of the GNU system, not "GNU system".
3160 * manual/conf.texi: Likewise.
3161 * manual/errno.texi: Likewise. Update example of errno macro
3163 * manual/filesys.texi: Likewise.
3164 (getumask): Document as specific to GNU/Hurd.
3165 * manual/install.texi: Likewise. Reword some references to
3167 * manual/intro.texi: Likewise.
3168 * manual/io.texi: Likewise.
3169 (File Name Portability): Detail which constraints are inapplicable
3170 to all GNU systems and which are only inapplicable to GNU/Hurd.
3171 * manual/job.texi: Likewise.
3172 * manual/llio.texi: Likewise.
3173 (O_NOCTTY): Document as present on GNU/Linux.
3174 * manual/maint.texi: Likewise.
3175 * manual/memory.texi: Likewise.
3176 * manual/pattern.texi: Likewise.
3177 * manual/pipe.texi: Likewise.
3178 * manual/process.texi: Likewise.
3179 * manual/resource.texi: Likewise.
3180 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3182 * manual/setjmp.texi: Likewise.
3183 * manual/signal.texi: Likewise.
3184 * manual/startup.texi: Likewise.
3185 * manual/stdio.texi: Likewise.
3186 * manual/terminal.texi: Likewise.
3187 (ONLCR): Document as POSIX.
3188 (OXTABS): Document availability on GNU/Linux as XTABS.
3189 (ONOEOT): Document availability separately from other bits.
3190 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3191 * manual/time.texi: Likewise.
3192 * manual/users.texi: Likewise.
3193 * INSTALL: Regenerated.
3194 * sysdeps/gnu/errlist.c: Regenerated.
3196 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3197 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3198 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3200 * configure: Regenerated.
3202 2012-03-07 Joseph Myers <joseph@codesourcery.com>
3204 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3205 default includes instead of AC_HEADER_CHECK.
3206 * sysdeps/i386/configure: Regenerated.
3209 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3210 * math/s_cacoshf.c (__cacoshf): Likewise.
3211 * math/s_cacoshl.c (__cacoshl): Likewise.
3212 * math/s_casinh.c (__casinh): Set signs of result from argument.
3213 * math/s_casinhf.c (__casinhf): Likewise.
3214 * math/s_casinhl.c (__casinhl): Likewise.
3215 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3216 (casinh_test): Add more tests.
3217 * sysdeps/i386/fpu/libm-test-ulps: Update.
3218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3220 2012-03-07 Ulrich Drepper <drepper@gmail.com>
3222 * po/zh_TW.po: Update from translation team.
3224 * login/Makefile (distribute): Remove variable.
3225 * catgets/Makefile: Likewise.
3226 * mach/Makefile: Likewise.
3227 * malloc/Makefile: Likewise.
3228 * misc/Makefile: Likewise.
3229 * iconv/Makefile: Likewise.
3230 * nscd/Makefile: Likewise.
3231 * hurd/Makefile: Likewise.
3232 * manual/Makefile: Likewise.
3233 * locale/Makefile: Likewise.
3234 * intl/Makefile: Likewise.
3235 * conform/Makefile: Likewise.
3236 * nss/Makefile: Likewise.
3237 * time/Makefile: Likewise.
3238 * soft-fp/Makefile: Likewise.
3239 * dirent/Makefile: Likewise.
3240 * gmon/Makefile: Likewise.
3241 * po/Makefile: Likewise.
3242 * rt/Makefile: Likewise.
3243 * socket/Makefile: Likewise.
3244 * math/Makefile: Likewise.
3245 * signal/Makefile: Likewise.
3246 * debug/Makefile: Likewise.
3247 * elf/Makefile: Likewise.
3248 * timezone/Makefile: Likewise.
3249 * stdlib/Makefile: Likewise.
3250 * iconvdata/Makefile: Likewise.
3251 * sunrpc/Makefile: Likewise.
3252 * io/Makefile: Likewise.
3253 * argp/Makefile: Likewise.
3254 * inet/Makefile: Likewise.
3255 * hesiod/Makefile: Likewise.
3256 * grp/Makefile: Likewise.
3257 * csu/Makefile: Likewise.
3258 * wctype/Makefile: Likewise.
3259 * crypt/Makefile: Likewise.
3260 * libio/Makefile: Likewise.
3261 * string/Makefile: Likewise.
3262 * nis/Makefile: Likewise.
3263 * resolv/Makefile: Likewise.
3264 * stdio-common/Makefile: Likewise.
3265 * wcsmbs/Makefile: Likewise.
3266 * dlfcn/Makefile: Likewise.
3267 * posix/Makefile: Likewise.
3270 * timezone/Makefile: Don't install timezone files, just the programs
3273 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3275 * nss/databases.def: Add missing gshadow entry.
3277 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3279 2012-03-06 Marek Polacek <polacek@redhat.com>
3282 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3283 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3284 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3285 * stdio-common/tst-long-dbl-fphex.c: New file.
3287 2012-03-06 David S. Miller <davem@davemloft.net>
3289 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3290 (set_obp_int): New function.
3291 (get_obp_int): New function.
3292 (__get_clockfreq_via_dev_openprom): Likewise.
3293 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3294 Avoid unused variable warnings on 'val' and use builtin_expect.
3295 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3297 (INLINE_CLONE_SYSCALL): Likewise.
3299 2012-03-05 David S. Miller <davem@davemloft.net>
3301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3303 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3307 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3309 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3311 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3313 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3314 Replace gettimeofday with __vdso_gettimeofday.
3316 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3317 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3318 __vdso_clock_gettime and __vdso_getcpu.
3320 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3321 time with __vdso_time.
3323 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3325 * manual/lang.texi (size_t): Note types to which size_t may be
3326 equivalent with the GNU C Library, but do not describe when
3327 differences between them are significant.
3329 2012-03-05 Andreas Jaeger <aj@suse.de>
3331 * sysdeps/i386/fpu/libm-test-ulps: Update.
3333 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3336 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3337 (__ieee754_pow): Save and restore rounding mode and use
3338 round-to-nearest for main computations.
3339 * math/libm-test.inc (pow_test_tonearest): New function.
3340 (pow_test_towardzero): Likewise.
3341 (pow_test_downward): Likewise.
3342 (pow_test_upward): Likewise.
3343 (main): Call the new functions.
3344 * sysdeps/i386/fpu/libm-test-ulps: Update.
3345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3348 * math/libm-test.inc (cosh_test_tonearest): New function.
3349 (cosh_test_towardzero): Likewise.
3350 (cosh_test_downward): Likewise.
3351 (cosh_test_upward): Likewise.
3352 (sinh_test_tonearest): Likewise.
3353 (sinh_test_towardzero): Likewise.
3354 (sinh_test_downward): Likewise.
3355 (sinh_test_upward): Likewise.
3356 (main): Call the new functions.
3357 * sysdeps/i386/fpu/libm-test-ulps: Update.
3358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3360 2012-03-05 Tom de Vries <tom@codesourcery.com>
3362 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3363 default stack guard is set in last bytes.
3364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3366 2012-03-05 Kees Cook <keescook@chromium.org>
3368 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3371 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3372 possibly allocate from heap instead of stack.
3373 * stdio-common/bug-vfprintf-nargs.c: New file.
3374 * stdio-common/Makefile (tests): Add nargs overflow test.
3376 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3380 2012-03-03 Marek Polacek <polacek@redhat.com>
3382 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3383 * math/math_private.h: Likewise.
3384 * stdlib/tst-strtod.c: Likewise.
3385 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3386 * sysdeps/x86_64/bits/atomic.h: Likewise.
3388 2012-03-02 David S. Miller <davem@davemloft.net>
3390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3394 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3395 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3396 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3397 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3399 2012-03-02 Roland McGrath <roland@hack.frob.com>
3402 * manual/examples/README: New file, says the example source files
3403 can be used under GPL>=2.
3404 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3405 line containing just "*/".
3406 * manual/examples/add.c: Add copyright header (GPL>=2).
3407 * manual/examples/argp-ex1.c: Likewise.
3408 * manual/examples/argp-ex2.c: Likewise.
3409 * manual/examples/argp-ex3.c: Likewise.
3410 * manual/examples/argp-ex4.c: Likewise.
3411 * manual/examples/atexit.c: Likewise.
3412 * manual/examples/db.c: Likewise.
3413 * manual/examples/dir.c: Likewise.
3414 * manual/examples/dir2.c: Likewise.
3415 * manual/examples/execinfo.c: Likewise.
3416 * manual/examples/filecli.c: Likewise.
3417 * manual/examples/filesrv.c: Likewise.
3418 * manual/examples/fmtmsgexpl.c: Likewise.
3419 * manual/examples/genpass.c: Likewise.
3420 * manual/examples/inetcli.c: Likewise.
3421 * manual/examples/inetsrv.c: Likewise.
3422 * manual/examples/isockad.c: Likewise.
3423 * manual/examples/longopt.c: Likewise.
3424 * manual/examples/memopen.c: Likewise.
3425 * manual/examples/memstrm.c: Likewise.
3426 * manual/examples/mkfsock.c: Likewise.
3427 * manual/examples/mkisock.c: Likewise.
3428 * manual/examples/mygetpass.c: Likewise.
3429 * manual/examples/pipe.c: Likewise.
3430 * manual/examples/popen.c: Likewise.
3431 * manual/examples/rprintf.c: Likewise.
3432 * manual/examples/search.c: Likewise.
3433 * manual/examples/select.c: Likewise.
3434 * manual/examples/setjmp.c: Likewise.
3435 * manual/examples/sigh1.c: Likewise.
3436 * manual/examples/sigusr.c: Likewise.
3437 * manual/examples/stpcpy.c: Likewise.
3438 * manual/examples/strdupa.c: Likewise.
3439 * manual/examples/strftim.c: Likewise.
3440 * manual/examples/strncat.c: Likewise.
3441 * manual/examples/subopt.c: Likewise.
3442 * manual/examples/swapcontext.c: Likewise.
3443 * manual/examples/termios.c: Likewise.
3444 * manual/examples/testopt.c: Likewise.
3445 * manual/examples/testpass.c: Likewise.
3446 * manual/examples/timeval_subtract.c: Likewise.
3449 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3451 * manual/timeval_subtract.c.texi: ... here, new file.
3453 2012-03-02 David S. Miller <davem@davemloft.net>
3455 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3457 2012-03-02 Joseph Myers <joseph@codesourcery.com>
3460 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3461 (__sin): Save and restore rounding mode and use round-to-nearest
3462 for all computations.
3463 (__cos): Save and restore rounding mode and use round-to-nearest
3464 for all computations.
3465 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3467 (tan): Save and restore rounding mode and use round-to-nearest for
3469 * math/libm-test.inc (cos_test_tonearest): New function.
3470 (cos_test_towardzero): Likewise.
3471 (cos_test_downward): Likewise.
3472 (cos_test_upward): Likewise.
3473 (sin_test_tonearest): Likewise.
3474 (sin_test_towardzero): Likewise.
3475 (sin_test_downward): Likewise.
3476 (sin_test_upward): Likewise.
3477 (tan_test_tonearest): Likewise.
3478 (tan_test_towardzero): Likewise.
3479 (tan_test_downward): Likewise.
3480 (tan_test_upward): Likewise.
3481 (main): Call the new functions.
3482 * sysdeps/i386/fpu/libm-test-ulps: Update.
3483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3486 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3487 small n, then large n, before computing and testing k+n.
3488 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3489 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3491 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3493 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3494 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3495 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3496 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3497 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3498 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3499 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3500 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3501 * math/libm-test.inc (scalbn_test): Add more tests.
3502 (scalbln_test): Likewise.
3504 * manual/filesys.texi (mode_t): Describe constraints on size and
3505 signedness, not exact equivalence to a particular type.
3507 (ino64_t): Likewise.
3509 (nlink_t): Likewise.
3510 (blkcnt_t): Likewise.
3511 (blkcnt64_t): Likewise.
3512 * manual/llio.texi (off_t): Likewise.
3515 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3516 (__ieee754_exp): Save and restore rounding mode and use
3517 round-to-nearest for all computations.
3518 * math/libm-test.inc (exp_test_tonearest): New function.
3519 (exp_test_towardzero): Likewise.
3520 (exp_test_downward): Likewise.
3521 (exp_test_upward): Likewise.
3522 (main): Call the new functions.
3523 * sysdeps/i386/fpu/libm-test-ulps: Update.
3524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3526 2012-03-01 Chris Demetriou <cgd@google.com>
3528 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3529 have predictable order.
3531 2012-03-01 David S. Miller <davem@davemloft.net>
3533 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3535 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3536 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3537 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3538 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3540 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3541 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3542 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3544 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3545 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3546 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3547 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3548 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3552 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3553 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3554 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3556 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3557 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3558 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3559 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3560 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3561 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3562 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3563 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3564 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3565 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3566 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3567 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3568 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3569 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3570 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3572 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3573 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3574 * sysdeps/sparc/elf/configure: Regenerated.
3576 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3578 * configure.in (AS, LD): Require binutils 2.20 or later.
3579 * configure: Regenerated.
3580 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3581 as required minimum version.
3582 * INSTALL: Regenerated.
3586 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3587 before squaring exponent.
3588 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3589 bottom long double and 27 bits of top long double before squaring
3591 * math/libm-test.inc (erfc_test): Add more tests.
3592 * sysdeps/i386/fpu/libm-test-ulps: Update.
3593 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3596 2012-03-01 Kai Tietz <ktietz@redhat.com>
3598 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3599 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3600 containing bit-fields.
3601 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3602 * soft-fp/single.h (_FP_UNION_S): Likewise.
3603 * soft-fp/double.h (_FP_UNION_D): Likewise.
3605 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3608 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3609 not include ../strcmp.S.
3610 [USE_AS_STRNCASECMP_L]: Likewise.
3611 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3612 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3613 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3614 (__strncasecmp_l_ia32): Define as alias to
3615 __strncasecmp_l_nonascii.
3618 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3619 * sysdeps/i386/fpu/libm-test-ulps: Update.
3620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3622 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3625 2012-02-29 Jeff Law <law@redhat.com>
3627 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3630 2012-02-29 Marek Polacek <polacek@redhat.com>
3633 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3634 * elf/Makefile: Add rules to run tst-unused-dep.out.
3636 2012-02-28 David S. Miller <davem@davemloft.net>
3638 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3639 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3640 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3641 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3642 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3643 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3645 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3647 * math/libm-test.inc (llround_test): Move one test from
3648 lround_test. Use TEST_f_L in moved test.
3649 (lround_test): Move misplaced test to llround_test. Add testcase
3652 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3654 * sysdeps/x86_64/fpu/e_expf.S: New file.
3655 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3657 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3660 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3661 of remain_len that may cause incomplete multi-byte character and
3663 * posix/bug-regex33.c: New file.
3664 * posix/Makefile (tests): Add bug-regex33.
3666 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3668 * manual/macros.texi: New file.
3669 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3670 * manual/libc.texinfo: Include macros.texi.
3671 * manual/creatute.texi: Likewise.
3672 * manual/install.texi: Likewise.
3673 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3674 @glibcadj{} in references to the GNU C Library.
3675 * manual/charset.texi: Likewise.
3676 * manual/conf.texi: Likewise.
3677 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3678 when not using those macros.
3679 * manual/creature.texi: Likewise.
3680 * manual/crypt.texi: Likewise.
3681 * manual/errno.texi: Likewise.
3682 * manual/filesys.texi: Likewise.
3683 * manual/header.texi: Likewise.
3684 * manual/install.texi: Likewise.
3685 * manual/intro.texi: Likewise.
3686 * manual/io.texi: Likewise.
3687 * manual/job.texi: Likewise.
3688 * manual/lang.texi: Likewise.
3689 * manual/libc.texiinfo: Likewise.
3690 * manual/llio.texi: Likewise.
3691 * manual/locale.texi: Likewise.
3692 * manual/maint.texi: Likewise.
3693 * manual/math.texi: Likewise.
3694 * manual/memory.texi: Likewise.
3695 * manual/message.texi: Likewise.
3696 * manual/nss.texi: Likewise.
3697 * manual/pattern.texi: Likewise.
3698 * manual/process.texi: Likewise.
3699 * manual/resource.texi: Likewise.
3700 * manual/search.texi: Likewise.
3701 * manual/setjmp.texi: Likewise.
3702 * manual/signal.texi: Likewise.
3703 * manual/socket.texi: Likewise.
3704 * manual/startup.texi: Likewise.
3705 * manual/stdio.texi: Likewise.
3706 * manual/string.texi: Likewise.
3707 * manual/sysinfo.texi: Likewise.
3708 * manual/syslog.texi: Likewise.
3709 * manual/terminal.texi: Likewise.
3710 * manual/time.texi: Likewise.
3711 * manual/users.texi: Likewise.
3712 * INSTALL: Regenerated.
3713 * NOTES: Regenerated.
3714 * sysdeps/gnu/errlist.c: Regenerated.
3716 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3718 * include/dirent.h: Include <dirstream.h> before
3721 2012-02-28 David S. Miller <davem@davemloft.net>
3723 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3724 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3725 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3726 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3728 2012-02-27 David S. Miller <davem@davemloft.net>
3730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3732 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3733 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3736 frame pointer instead of stack pointer relative arg slot.
3737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3738 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3739 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3741 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3744 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3746 2012-02-27 David S. Miller <davem@davemloft.net>
3748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3752 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3753 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3754 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3755 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3757 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3759 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3760 later. Allow versions 5-9.
3761 * configure: Regenerated.
3762 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3763 required minimum version and 4.6 as recommended version. Do not
3764 mention bugs in GCC 2.7 and 2.8.
3765 * INSTALL: Regenerated.
3767 2012-02-27 David S. Miller <davem@davemloft.net>
3769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3773 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3774 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3775 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3776 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3778 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3779 manipulate bits before adding and subtracting TWO112[sx].
3780 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3782 2012-02-27 Roland McGrath <roland@hack.frob.com>
3785 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3786 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3787 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3788 being in POSIX, because they are in 1003.1-2008.
3790 * rt/tst-aio.c: Include <fcntl.h>.
3791 * rt/tst-aio7.c: Likewise.
3792 * rt/tst-aio64.c: Likewise.
3794 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3796 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3798 * manual/install.texi (--with-headers): Describe headers as
3799 interface headers, not private headers.
3800 (Specific advice for GNU/Linux systems): Describe use of headers
3801 from "make headers_install", not private headers from older
3803 * INSTALL: Regenerated.
3804 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3806 * sysdeps/unix/sysv/linux/configure: Regenerated.
3808 * manual/llio.texi (fclean): Remove documentation.
3810 * manual/Makefile (libc-texi-generated): New variable. Include
3812 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3813 $(libc-texi-generated), not duplicated list of files.
3814 (version.texi, stamp-version): New rules.
3815 (realclean): Remove $(libc-texi-generated), not individual files
3816 from that list. Do not remove dir-add.texinfo.
3817 * manual/libc.texinfo: Comment out uses of edition numbers and
3818 references to printed manual. Remove last-updated dates.
3819 (EDITION): Comment out.
3821 (VERSION, UPDATED): Remove.
3822 (version.texi): Include.
3824 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3826 * sysdeps/posix/spawni.c: Include <signal.h>.
3827 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3828 * sysdeps/pthread/aio_fsync.c: Likewise.
3830 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3832 * conform/Makefile (tests): Run only when not cross-compiling and
3833 when fast-check is not defined.
3835 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3836 * conform/data/limits.h-data: Fixes for POSIX2008.
3837 * conform/run-conformtest.sh: Run all tests.
3838 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3840 * include/bits/dlfcn.h: Likewise.
3841 * include/langinfo.h: Likewise.
3842 * include/monetary.h: Likewise.
3843 * include/sys/poll.h: Likewise.
3845 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3847 * posix/spawn.h: Define __need_sigset_t.
3848 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3849 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3850 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3851 to get sigevent_t only.
3852 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3854 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3855 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3856 process_vm_writev only for __USE_GNU.
3857 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3859 * conform/Makefile: For now ignore errors from run-conformtest.
3860 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3861 POSIX to avoid namespace pollution. Don't prepend headers.
3862 * conform/data/aio.h-data: Fixes for POSIX testing.
3863 * conform/data/fcntl.h-data: Likewise.
3864 * conform/data/glob.h-data: Likewise.
3865 * conform/data/grp.h-data: Likewise.
3866 * conform/data/pthread.h-data: Likewise.
3867 * conform/data/pwd.h-data: Likewise.
3868 * conform/data/signal.h-data: Likewise.
3869 * conform/data/spawn.h-data: Likewise.
3870 * conform/data/stdio.h-data: Likewise.
3871 * conform/data/stdlib.h-data: Likewise.
3872 * conform/data/stropts.h-data: Likewise.
3873 * conform/data/sys/mman.h-data: Likewise.
3874 * conform/data/sys/stat.h-data: Likewise.
3875 * conform/data/sys/types.h-data: Likewise.
3876 * conform/data/sys/wait.h-data: Likewise.
3877 * conform/data/time.h-data: Likewise.
3878 * conform/data/unistd.h-data: Likewise.
3879 * conform/data/utime.h-data: Likewise.
3881 * io/sys/stat.h: fchmod was always in POSIX.
3882 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3883 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3884 * rt/aio.h: Define __need_timespec before including <time.h>.
3885 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3886 struct. Add forward declaration of pthread_attr_t and use it in
3888 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3889 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3890 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3891 always remove CLK_TCK definition.
3893 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3895 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3897 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3899 * conform/run-conformtest.sh: New file.
3900 * conform/Makefile: Run run-conformtest for tests.
3901 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3904 * conform/data/uchar.h-data: New file.
3905 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3906 * conform/data/arpa/inet.h-data: Likewise.
3907 * conform/data/assert.h-data: Likewise.
3908 * conform/data/complex.h-data: Likewise.
3909 * conform/data/cpio.h-data: Likewise.
3910 * conform/data/ctype.h-data: Likewise.
3911 * conform/data/dirent.h-data: Likewise.
3912 * conform/data/dlfcn.h-data: Likewise.
3913 * conform/data/errno.h-data: Likewise.
3914 * conform/data/fcntl.h-data: Likewise.
3915 * conform/data/float.h-data: Likewise.
3916 * conform/data/fmtmsg.h-data: Likewise.
3917 * conform/data/fnmatch.h-data: Likewise.
3918 * conform/data/ftw.h-data: Likewise.
3919 * conform/data/glob.h-data: Likewise.
3920 * conform/data/grp.h-data: Likewise.
3921 * conform/data/iconv.h-data: Likewise.
3922 * conform/data/inttypes.h-data: Likewise.
3923 * conform/data/langinfo.h-data: Likewise.
3924 * conform/data/libgen.h-data: Likewise.
3925 * conform/data/limits.h-data: Likewise.
3926 * conform/data/locale.h-data: Likewise.
3927 * conform/data/math.h-data: Likewise.
3928 * conform/data/monetary.h-data: Likewise.
3929 * conform/data/mqueue.h-data: Likewise.
3930 * conform/data/ndbm.h-data: Likewise.
3931 * conform/data/net/if.h-data: Likewise.
3932 * conform/data/netdb.h-data: Likewise.
3933 * conform/data/netinet/in.h-data: Likewise.
3934 * conform/data/nl_types.h-data: Likewise.
3935 * conform/data/poll.h-data: Likewise.
3936 * conform/data/pthread.h-data: Likewise.
3937 * conform/data/pwd.h-data: Likewise.
3938 * conform/data/regex.h-data: Likewise.
3939 * conform/data/sched.h-data: Likewise.
3940 * conform/data/search.h-data: Likewise.
3941 * conform/data/semaphore.h-data: Likewise.
3942 * conform/data/setjmp.h-data: Likewise.
3943 * conform/data/signal.h-data: Likewise.
3944 * conform/data/spawn.h-data: Likewise.
3945 * conform/data/stdarg.h-data: Likewise.
3946 * conform/data/stdio.h-data: Likewise.
3947 * conform/data/stdlib.h-data: Likewise.
3948 * conform/data/string.h-data: Likewise.
3949 * conform/data/strings.h-data: Likewise.
3950 * conform/data/stropts.h-data: Likewise.
3951 * conform/data/sys/ipc.h-data: Likewise.
3952 * conform/data/sys/mman.h-data: Likewise.
3953 * conform/data/sys/msg.h-data: Likewise.
3954 * conform/data/sys/resource.h-data: Likewise.
3955 * conform/data/sys/select.h-data: Likewise.
3956 * conform/data/sys/sem.h-data: Likewise.
3957 * conform/data/sys/shm.h-data: Likewise.
3958 * conform/data/sys/socket.h-data: Likewise.
3959 * conform/data/sys/stat.h-data: Likewise.
3960 * conform/data/sys/statvfs.h-data: Likewise.
3961 * conform/data/sys/time.h-data: Likewise.
3962 * conform/data/sys/timeb.h-data: Likewise.
3963 * conform/data/sys/times.h-data: Likewise.
3964 * conform/data/sys/types.h-data: Likewise.
3965 * conform/data/sys/uio.h-data: Likewise.
3966 * conform/data/sys/un.h-data: Likewise.
3967 * conform/data/sys/utsname.h-data: Likewise.
3968 * conform/data/sys/wait.h-data: Likewise.
3969 * conform/data/syslog.h-data: Likewise.
3970 * conform/data/tar.h-data: Likewise.
3971 * conform/data/termios.h-data: Likewise.
3972 * conform/data/utime.h-data: Likewise.
3973 * conform/data/utmpx.h-data: Likewise.
3974 * conform/data/varargs.h-data: Likewise.
3975 * conform/data/wchar.h-data: Likewise.
3976 * conform/data/wctype.h-data: Likewise.
3977 * conform/data/wordexp.h-data: Likewise.
3979 * include/stropts.h: New file.
3980 * include/uchar.h: New file.
3981 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3982 * include/assert.h: Likewise.
3983 * include/ctype.h: Likewise.
3984 * include/dirent.h: Likewise.
3985 * include/dlfcn.h: Likewise.
3986 * include/fcntl.h: Likewise.
3987 * include/fnmatch.h: Likewise.
3988 * include/glob.h: Likewise.
3989 * include/grp.h: Likewise.
3990 * include/libio.h: Likewise.
3991 * include/locale.h: Likewise.
3992 * include/math.h: Likewise.
3993 * include/net/if.h: Likewise.
3994 * include/netdb.h: Likewise.
3995 * include/netinet/in.h: Likewise.
3996 * include/pthread.h: Likewise.
3997 * include/pwd.h: Likewise.
3998 * include/regex.h: Likewise.
3999 * include/sched.h: Likewise.
4000 * include/search.h: Likewise.
4001 * include/setjmp.h: Likewise.
4002 * include/signal.h: Likewise.
4003 * include/stdio.h: Likewise.
4004 * include/stdlib.h: Likewise.
4005 * include/string.h: Likewise.
4006 * include/sys/cdefs.h: Likewise.
4007 * include/sys/mman.h: Likewise.
4008 * include/sys/msg.h: Likewise.
4009 * include/sys/resource.h: Likewise.
4010 * include/sys/select.h: Likewise.
4011 * include/sys/socket.h: Likewise.
4012 * include/sys/stat.h: Likewise.
4013 * include/sys/statvfs.h: Likewise.
4014 * include/sys/time.h: Likewise.
4015 * include/sys/times.h: Likewise.
4016 * include/sys/uio.h: Likewise.
4017 * include/sys/utsname.h: Likewise.
4018 * include/sys/wait.h: Likewise.
4019 * include/termios.h: Likewise.
4020 * include/time.h: Likewise.
4021 * include/ulimit.h: Likewise.
4022 * include/unistd.h: Likewise.
4023 * include/utime.h: Likewise.
4024 * include/wchar.h: Likewise.
4025 * include/wctype.h: Likewise.
4026 * include/wordexp.h: Likewise.
4028 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4030 * time/time.h: TIME_UTC must be a macro.
4031 Make timespec_get available for ISO C11 only as well.
4033 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4035 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4036 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4038 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4040 * configure.in: Use -o not -a in test for unsupported multi-arch.
4042 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4044 * manual/texinfo.tex: Update to version 2012-01-19.16.
4046 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4048 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4050 2012-02-24 Roland McGrath <roland@hack.frob.com>
4053 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4054 * manual/fdl-1.3.texi: New file.
4055 * manual/fdl-1.1.texi: File removed.
4058 * manual/libc.texinfo (FDL_VERSION): New @set.
4059 Use it for mention of FDL in cover text.
4060 (Documentation License): Use it in @include file name.
4062 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4063 Roland McGrath <roland@hack.frob.com>
4066 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4067 not LONG_LONG_MAX and LONG_LONG_MIN.
4068 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4069 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4071 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4073 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4077 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4078 manipulate bits before adding and subtracting TWO23[sx].
4079 * math/libm-test.inc (nearbyint_test): Add more tests.
4081 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4084 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4085 bits before adding and subtracting TWO23[sx].
4086 * math/libm-test.inc (rint_test): Add more tests.
4087 (rint_test_tonearest): Likewise.
4088 (rint_test_towardzero): Likewise.
4089 (rint_test_downward): Likewise.
4090 (rint_test_upward: Likewise.
4092 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4095 * include/stdc-predef.h: New file. Extracted from features.h.
4096 * include/features.h: Include stdc-predef.h.
4097 * Makefile (headers): Add stdc-predef.h.
4098 * CONFORMANCE (Compiler limitations): Update.
4100 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4102 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4104 2012-02-21 David S. Miller <davem@davemloft.net>
4106 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4107 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4109 2012-02-20 David S. Miller <davem@davemloft.net>
4111 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4112 using a normal save/restore sequence, rather than allocating a
4113 dummy stack frame just to store a frame pointer and restore.
4114 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4116 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4118 * manual/install.texi: Fix stray word in line-wrapped comment.
4120 2012-02-20 David S. Miller <davem@davemloft.net>
4122 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4123 both binutils and gcc support GOTDATA.
4125 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4126 "rd %pc" in the PIC register setup sequences.
4128 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4129 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4130 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4131 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4132 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4133 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4134 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4135 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4137 (SYSCALL_ERROR_HANDLER): Likewise.
4138 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4139 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4140 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4141 (SYSCALL_ERROR_HANDLER): Likewise.
4143 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4144 (HAVE_GCC_GOTDATA): New.
4145 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4146 relocation support in both binutils and gcc.
4147 * sysdeps/sparc/elf/configure: Regenerate.
4149 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4150 * sysdeps/sparc/sparc32/elf/configure: Delete.
4151 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4152 * sysdeps/sparc/sparc64/elf/configure: Delete.
4153 * sysdeps/sparc/elf/configure.in: New file.
4154 * sysdeps/sparc/elf/configure: Generate.
4156 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4157 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4158 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4159 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4160 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4162 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4164 * manual/install.texi: Do not mention specific glibc version
4166 * manual/libc.texinfo (VERSION, UPDATED): Update.
4167 (@copying): Use @copyright{} and range of years.
4169 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4172 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4173 [crti.S not in sysdirs] (generated): Do not append.
4174 [crti.S not in sysdirs] (omit-deps): Likewise.
4175 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4176 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4177 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4178 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4179 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4181 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4182 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4183 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4184 * csu/defs.awk: Remove file.
4185 * sysdeps/generic/initfini.c: Likewise.
4186 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4188 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4191 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4193 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4194 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4195 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4197 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4198 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4200 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4201 (__EPOLL_PACKED): Define to empty if not defined by
4203 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4204 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4207 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4209 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4210 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4211 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4212 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4214 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4218 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4220 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4223 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4224 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4227 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4229 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4230 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4232 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4234 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4235 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4237 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4239 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4242 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4244 * math/w_acos.c: Use non-signaling floating-point comparisons.
4245 * math/w_acosf.c: Likewise.
4246 * math/w_acosh.c: Likewise.
4247 * math/w_acoshf.c: Likewise.
4248 * math/w_acoshl.c: Likewise.
4249 * math/w_acosl.c: Likewise.
4250 * math/w_asin.c: Likewise.
4251 * math/w_asinf.c: Likewise.
4252 * math/w_asinl.c: Likewise.
4253 * math/w_atanh.c: Likewise.
4254 * math/w_atanhf.c: Likewise.
4255 * math/w_atanhl.c: Likewise.
4256 * math/w_exp2.c: Likewise.
4257 * math/w_exp2f.c: Likewise.
4258 * math/w_exp2l.c: Likewise.
4259 * math/w_j0.c: Likewise.
4260 * math/w_j0f.c: Likewise.
4261 * math/w_j0l.c: Likewise.
4262 * math/w_j1.c: Likewise.
4263 * math/w_j1f.c: Likewise.
4264 * math/w_j1l.c: Likewise.
4265 * math/w_jn.c: Likewise.
4266 * math/w_jnf.c: Likewise.
4267 * math/w_log.c: Likewise.
4268 * math/w_log10.c: Likewise.
4269 * math/w_log10f.c: Likewise.
4270 * math/w_log10l.c: Likewise.
4271 * math/w_log2.c: Likewise.
4272 * math/w_log2f.c: Likewise.
4273 * math/w_log2l.c: Likewise.
4274 * math/w_logf.c: Likewise.
4275 * math/w_logl.c: Likewise.
4276 * math/w_sqrt.c: Likewise.
4277 * math/w_sqrtf.c: Likewise.
4278 * math/w_sqrtl.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4281 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4282 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4283 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4285 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4288 * manual/string.texi (strnlen): Use correct parameter name in
4289 equivalent expression.
4291 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4294 * manual/users.texi (seteuid): Consistently use neweuid for
4297 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4300 * manual/nss.texi (Services in the NSS configuration): Correct
4301 list of services in example configuration file.
4303 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4306 * manual/arith.texi: Remove statements about negative zero
4307 behaving identically to zero.
4309 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4312 * manual/install.texi: Do not document upgrading from libc5.
4314 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4317 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4319 2012-02-18 David S. Miller <davem@davemloft.net>
4321 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4322 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4323 %o7 across the call.
4324 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4326 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4328 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4329 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4330 * sysdeps/sparc/crtn.S: Likewise.
4332 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4334 * aout/Makefile: Remove.
4336 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4339 * manual/examples/argp-ex1.c (main): Format definition in GNU
4341 * manual/examples/argp-ex2.c (main): Likewise.
4342 * manual/examples/argp-ex3.c (main): Likewise.
4343 * manual/examples/argp-ex4.c (main): Likewise.
4344 * manual/examples/longopt.c (main): Use new-style prototype
4346 * manual/examples/strncat.c (main): Specify return type and use
4347 (void) for arguments.
4348 * manual/examples/subopt.c (main): Use char **argv argument.
4350 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4353 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4356 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4359 * manual/string.texi (strchr): Change when strchrnul is
4362 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4365 * manual/locale.texi (setlocale): Document LOCPATH.
4367 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4370 * manual/process.texi (execle): Move @dots{} before last argument.
4372 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4375 * manual/charset.texi (Generic Charset Conversion): Fix typo
4376 (LC_TYPE -> LC_CTYPE).
4378 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4381 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4382 (scalbnf): Likewise.
4383 (scalbnl): Likewise.
4384 (scalbln): Likewise.
4385 (scalblnf): Likewise.
4386 (scalblnl): Likewise.
4387 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4391 * manual/filesys.texi (telldir): Use braces around return type.
4392 * manual/llio.texi (mmap): Add space after comma.
4394 * manual/math.texi (jn): Use @var{} on parameter names.
4400 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4402 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4404 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4405 (sched_get_priority_max): Likewise.
4406 * manual/signal.texi (sigvec): Add space after comma.
4407 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4409 (if_indextoname): Likewise.
4410 (if_freenameindex): Likewise.
4411 (sendto): Use ',' instead of '.' in prototype.
4412 * manual/startup.texi (syscall): Use @dots{} instead of literal
4414 * manual/stdio.texi (__fpending): Separate initial words of
4415 paragraph from @deftypefun line.
4416 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4418 (vsyslog): Use @var{} on parameter names.
4419 * manual/terminal.texi (stty): Use @var{} on parameter names.
4420 * manual/users.texi (getutmp): Use @var{} on parameter names.
4421 (getutmpx): Likewise.
4423 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4426 * manual/stdio.texi (fopen): Fix typos in description of
4429 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4432 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4433 get clock_id definition.
4435 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
4438 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4439 (madvise): Cast every argument to void on its own.
4441 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4444 * manual/startup.texi (Exit Status): Fix typo.
4446 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4449 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4450 * manual/examples/argp-ex2.c: Likewise.
4451 * manual/examples/argp-ex3.c: Likewise.
4453 2012-02-16 Richard Henderson <rth@redhat.com>
4455 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4456 * sysdeps/s390/s390-32/initfini.c: Remove.
4457 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4458 * sysdeps/s390/s390-64/initfini.c: Remove.
4460 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4462 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4463 compiler output for sysdeps/generic/initfini.c.
4464 * sysdeps/sh/elf/initfini.c: Remove file.
4466 2012-02-16 David S. Miller <davem@davemloft.net>
4469 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4471 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4472 * sysdeps/sparc/crti.S: New file.
4473 * sysdeps/sparc/crtn.S: New file.
4474 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4475 * sysdeps/sparc/sparc64/Makefile: Likewise.
4477 2012-02-15 Mike Frysinger <vapier@gentoo.org>
4480 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4482 2012-02-15 Roland McGrath <roland@hack.frob.com>
4485 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4487 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4488 (write, read, close): Likewise.
4489 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4491 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4493 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4494 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4495 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4496 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4498 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4499 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4502 2012-02-14 Marek Polacek <polacek@redhat.com>
4504 * sysdeps/x86_64/crti.S: New file.
4505 * sysdeps/x86_64/crtn.S: New file.
4506 * sysdeps/x86_64/elf/initfini.c: Remove file.
4508 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4510 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4511 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4512 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4513 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4515 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4516 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4519 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4521 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4522 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4523 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4524 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4526 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4527 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4530 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4532 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4533 __feraiseexcept instead of feraiseexcept.
4535 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4536 nanosleep invocations.
4537 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4538 strings, and add error checking for a nanosleep invocations.
4540 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4542 Replace FSF snail mail address with URLs, as per GNU coding standards.
4543 Most of the snail mail addresses were wrong anyway, and omitting
4544 them makes the source code easier to maintain. Almost all of the
4545 changes are to license notices and to locale LC_IDENTIFICATION
4546 addresses, except for this one:
4547 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4548 not its snail mail address.
4550 2012-02-09 Richard Henderson <rth@twiddle.net>
4552 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4553 of kernel-features.h.
4555 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4557 2012-02-08 Marek Polacek <polacek@redhat.com>
4559 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4560 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4561 * sysdeps/gnu/_G_config.h: Likewise.
4562 * sysdeps/generic/_G_config.h: Likewise.
4564 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4566 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4570 * sysdeps/powerpc/powerpc32/crti.S: New file.
4571 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4572 * sysdeps/powerpc/powerpc64/crti.S: New file.
4573 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4575 * Makeconfig (have-initfini): Don't set.
4576 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4577 * configure.in (nopic_initfini): Don't substitute.
4578 * config.h.in (HAVE_INITFINI): Don't #undef.
4579 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4580 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4582 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4584 Support crti.S and crtn.S provided directly by architectures.
4585 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4586 [crti.S in sysdirs] (omit-deps): Likewise.
4587 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4588 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4589 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4590 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4591 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4592 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4593 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4594 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4595 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4596 compiler output for sysdeps/generic/initfini.c.
4597 * sysdeps/i386/elf/Makefile: Remove file.
4598 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4600 2012-02-07 Marek Polacek <polacek@redhat.com>
4602 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4603 * sysdeps/gnu/_G_config.h: Likewise.
4604 * sysdeps/mach/hurd/_G_config.h: Likewise.
4606 2012-02-07 Marek Polacek <polacek@redhat.com>
4608 * math/Makefile (tests): Add tst-CMPLX2.
4609 * math/tst-CMPLX2.c: New file.
4611 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4613 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4615 * math/libm-test.inc (jn_test): Add missing L suffix.
4617 2012-02-06 Marek Polacek <polacek@redhat.com>
4619 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4620 * sysdeps/i386/fpu/e_powf.S: Likewise.
4621 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4622 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4623 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4624 * sysdeps/i386/fpu/e_pow.S: Likewise.
4625 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4626 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4627 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4628 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4629 * sysdeps/i386/fpu/e_log2.S: Likewise.
4630 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4631 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4632 * sysdeps/i386/fpu/e_powl.S: Likewise.
4633 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4634 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4635 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4636 * sysdeps/i386/fpu/e_logl.S: Likewise.
4637 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4638 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4639 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4640 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4641 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4642 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4643 * sysdeps/i386/fpu/e_log.S: Likewise.
4644 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4645 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4646 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4647 * sysdeps/i386/fpu/e_logf.S: Likewise.
4648 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4649 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4650 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4651 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4652 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4653 * sysdeps/i386/fpu/e_log10.S: Likewise.
4654 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4655 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4656 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4657 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4659 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4660 * sysdeps/i386/asm-syntax.h: Likewise.
4661 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4662 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4663 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4664 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4665 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4666 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4667 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4668 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4669 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4670 * sysdeps/powerpc/sysdep.h: Likewise.
4671 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4672 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4674 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4677 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4679 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4681 * sysdeps/i386/sysdep.h: Include <features.h>.
4682 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4685 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4687 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4689 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4692 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4694 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4695 (SETUP_PIC_REG): Use GET_PC_THUNK.
4696 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4699 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4701 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4702 for non-PIC compilation.
4703 (SETUP_PIC_REG): Add .p2align directive.
4704 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4705 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4706 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4707 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4708 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4709 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4710 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4711 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4712 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4713 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4714 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4715 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4716 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4717 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4718 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4719 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4720 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4721 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4722 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4723 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4724 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4725 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4726 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4727 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4729 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4730 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4731 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4732 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4733 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4734 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4735 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4736 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4737 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4738 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4739 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4740 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4741 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4742 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4743 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4744 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4746 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4748 * math/tst-CMPLX.c: Include <stdio.h>.
4750 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4752 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4754 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4755 * sysdeps/sparc/bits/mathdef.h: Likewise.
4757 2012-01-31 Marek Polacek <polacek@redhat.com>
4759 * libio/libio.h: Don't define _PARAMS.
4760 * locale/programs/config.h: Don't define PARAMS.
4761 * stdlib/strtol_l.c: Likewise.
4762 (__strtol_l): Remove PARAMS from the prototype.
4764 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4766 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4767 names. Just use the correct names. Remove unnecessary wrapper
4769 * malloc/arena.c: Likewise.
4770 * malloc/hooks.c: Likewise.
4772 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4773 ARENA_TEST says not to. Simplify test for creation of a new arena.
4774 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4776 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4778 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4780 (update_get_addr): New function.
4781 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4782 GET_ADDR_MODULE parameter.
4784 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4786 * crypt/cert.c: Remove __STDC__ conditionals.
4787 * crypt/crypt-entry.c: Likewise.
4788 * crypt/crypt_util.c: Likewise.
4789 * libio/filedoalloc.c: Likewise.
4790 * libio/fileops.c: Likewise.
4791 * libio/genops.c: Likewise.
4792 * libio/iofclose.c: Likewise.
4793 * libio/iofdopen.c: Likewise.
4794 * libio/iofopen.c: Likewise.
4795 * libio/iofopen64.c: Likewise.
4796 * libio/iogetdelim.c: Likewise.
4797 * libio/iopopen.c: Likewise.
4798 * libio/obprintf.c: Likewise.
4799 * libio/oldfileops.c: Likewise.
4800 * libio/oldiofclose.c: Likewise.
4801 * libio/oldiofdopen.c: Likewise.
4802 * libio/oldiofopen.c: Likewise.
4803 * libio/oldiopopen.c: Likewise.
4804 * libio/wfiledoalloc.c: Likewise.
4805 * libio/wgenops.c: Likewise.
4806 * locale/programs/xmalloc.c: Likewise.
4807 * misc/syslog.c: Likewise.
4808 * stdio-common/xbug.c: Likewise.
4809 * string/memchr.c: Likewise.
4810 * string/memcmp.c: Likewise.
4811 * string/memrchr.c: Likewise.
4812 * string/rawmemchr.c: Likewise.
4813 * sysdeps/posix/getcwd.c: Likewise.
4814 * time/strftime_l.c: Likewise.
4816 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4818 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4819 * config.make.in (config-cflags-sse2avx): Define.
4820 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4823 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4825 * scripts/config.guess: Update from upstream config git repository.
4826 * scripts/config.sub: Likewise.
4828 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4830 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4832 (R_TILEPRO_*, R_TILEGX_*): New macros.
4834 * scripts/firstversions.awk: Fix bug in version range handling.
4836 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4838 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4840 * include/sys/epoll.h: New file.
4841 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4844 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4846 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4847 Avoid unnecessary __WORDSIZE == 64 test.
4848 (fmaxf): Use VEX format if possible.
4853 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4854 * math/math_private.h: Remove libc_fegetround* and
4856 * sysdeps/i386/configure.in: Check for -msse2avx.
4857 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4858 also if SSE2AVX is defined.
4859 Remove libc_fegetround* and libc_fesetround*.
4860 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4861 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4862 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4864 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4865 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4866 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4867 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4868 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4870 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4872 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4874 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4876 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4878 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4881 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4883 * Makeconfig (libm): Define.
4884 * elf/Makefile: Add rules to build and run tst-relsort1.
4885 * elf/tst-relsort1.c: New file.
4886 * elf/tst-relsort1mod1.c: New file.
4887 * elf/tst-relsort1mod2.c: New file.
4889 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4891 * math/s_ldexp.c: Remove __STDC__ conditionals.
4892 * math/s_ldexpf.c: Likewise.
4893 * math/s_ldexpl.c: Likewise.
4894 * math/s_nextafter.c: Likewise.
4895 * math/s_nexttowardf.c: Likewise.
4896 * math/s_significand.c: Likewise.
4897 * math/s_significandf.c: Likewise.
4898 * math/s_significandl.c: Likewise.
4899 * math/w_jnl.c: Likewise.
4900 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4901 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4902 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4903 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4904 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4906 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4907 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4908 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4909 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4910 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4911 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4912 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4913 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4914 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4915 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4916 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4917 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4918 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4919 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4920 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4921 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4922 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4923 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4924 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4925 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4926 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4927 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4928 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4929 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4930 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4931 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4932 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4933 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4934 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4935 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4936 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4937 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4938 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4939 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4940 * sysdeps/ieee754/k_standard.c: Likewise.
4941 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4942 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4945 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4950 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4951 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4954 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4962 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4963 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4969 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4970 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4971 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4972 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4973 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4974 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4975 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4976 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4977 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4979 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4980 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4981 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4982 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4983 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4984 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4985 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4986 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4987 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4988 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4989 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4990 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4991 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4992 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4993 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4994 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4995 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4996 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4997 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4998 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4999 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5000 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5001 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5002 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5003 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5004 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5005 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5006 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5007 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5008 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5009 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5010 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5011 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5012 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5013 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5014 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5015 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5016 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5017 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5018 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5019 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5020 * sysdeps/ieee754/s_matherr.c: Likewise.
5021 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5022 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5023 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5024 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5026 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5028 * crypt/md5.h: Remove __STDC__ conditionals.
5029 * libio/libioP.h: Likewise.
5030 * locale/programs/config.h: Likewise.
5031 * sysdeps/generic/sysdep.h: Likewise.
5032 * sysdeps/i386/asm-syntax.h: Likewise.
5033 * sysdeps/s390/asm-syntax.h: Likewise.
5034 * sysdeps/unix/sysdep.h: Likewise.
5035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5038 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5040 * libio/libio.h: Remove __STDC__ conditionals.
5041 * malloc/obstack.h: Likewise.
5042 * math/complex.h: Likewise.
5043 * math/math.h: Likewise.
5044 * sysdeps/generic/_G_config.h: Likewise.
5045 * sysdeps/gnu/_G_config.h: Likewise.
5046 * sysdeps/mach/hurd/_G_config.h: Likewise.
5047 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5048 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5049 * sysdeps/sparc/bits/mathdef.h: Likewise.
5051 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5054 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5055 Clean up HAS_* macros.
5056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5057 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5059 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5061 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5062 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5063 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5064 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5065 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5067 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5069 * elf/tst-unique3.cc (gets): Remove declaration.
5070 * elf/tst-unique3lib.cc (gets): Likewise.
5071 * elf/tst-unique3lib2.cc (gets): Likewise.
5072 * elf/tst-unique4.cc (gets): Likewise.
5074 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5076 * include/stdio.h: Add C++ protection. Add gets declarations and
5078 * debug/tst-chk1.c: Don't declare gets here.
5079 * stdio-common/tst-gets.c: Likewise.
5081 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5083 * posix/glob: Remove directory.
5085 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5087 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5089 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5091 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5092 of the non-standard EPFNOSUPPORT.
5094 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5096 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5097 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5098 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5100 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5102 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5104 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5106 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5108 * nscd/grpcache.c (cache_addgr): Likewise.
5109 * nscd/hstcache.c (cache_addhst): Likewise.
5110 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5111 * nscd/pwdcache.c (cache_addpw): Likewise.
5112 * nscd/servicescache.c (cache_addserv): Likewise.
5114 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5116 * malloc/malloc.c: Various cleanups.
5117 * malloc/hooks.c: Likewise.
5119 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5120 * stdlib/bug-fmtmsg1.c: New file.
5122 * stdlib/fmtmsg.c (init): Add missing unlock.
5123 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5125 2012-01-12 Marek Polacek <polacek@redhat.com>
5127 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5130 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5132 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5133 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5134 macro to ensure uniqueness of label name.
5135 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5136 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5138 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5140 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5142 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5143 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5144 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5145 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5147 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5149 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5151 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5152 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5153 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5155 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5157 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5158 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5159 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5160 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5162 * math/bits/math-finite.h: Add ldexp support.
5164 2012-01-10 Marek Polacek <polacek@redhat.com>
5166 * locale/programs/localedef.h (show_archive_content): Add noreturn
5169 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5171 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5173 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5175 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5177 * io/Makefile (headers): Add bits/poll2.h.
5179 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5182 typo #include statement.
5184 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5186 * include/sys/cdefs.h: Define __attribute_alloc_size.
5187 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5188 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5189 * elf/pldd.c: Likewise.
5190 * iconv/iconv_charmap.c: Likewise.
5191 * iconv/iconvconfig.c: Likewise.
5192 * iconv/strtab.c: Likewise.
5193 * locale/programs/locale.c: Likewise.
5194 * locale/programs/localedef.h: Likewise.
5195 * locale/programs/simple-hash.c: Likewise.
5196 * nscd/nscd.h: Likewise.
5197 * nss/makedb.c: Likewise.
5198 * sysdeps/generic/ldconfig.h: Likewise.
5199 * locale/programs/localedef.c: Remove xmalloc prototype.
5200 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5202 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5204 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5207 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5209 * math/Makefile (tests): Add tst-CMPLX.
5210 * math/tst-CMPLX.c: New file.
5212 * math/complex.h (CMPLXL): Fix typo.
5214 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5215 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5217 * debug/tst-chk1.c: Add poll and ppoll tests.
5218 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5219 * include/sys/poll.h: Add hidden proto for ppoll.
5220 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5221 * sysdeps/mach/hurd/ppoll.c: Likewise.
5222 * io/ppoll.c: Likewise.
5223 * debug/poll_chk.c: New file.
5224 * debug/ppoll_chk.c: New file.
5225 * include/bits/poll2.h: New file.
5226 * io/bits/poll2.h: New file.
5229 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5231 * configure.in: static is always set to yes. Remove.
5232 * config.make.in: Don't set build-static.
5233 * Makeconfig: Remove use of build-static.
5234 * dlfcn/Makefile: Likewise.
5235 * elf/Makefile: Likewise.
5236 * math/Makefile: Likewise.
5237 * misc/Makefile: Likewise.
5238 * nptl/Makefile: Likewise.
5239 * sysdeps/mach/hurd/Makefile: Likewise.
5241 * configure.in: PWD_P is not used anymore.
5242 * config.make.in: Remove PWD_P entry.
5244 * configure.in: Remove last remnants of RANLIB.
5245 No need to check for signed size_t anymore.
5246 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5248 Remove __builtin_expect test because we require at least gcc 3.4.
5249 * aclocal.m4: Likewise.
5251 * wcsmbs/mbrtoc16.c: Implement using towc function.
5252 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5253 * wcsmbs/wcsmbsload.c: Likewise.
5254 * iconv/gconv_simple.c: Likewise.
5255 * iconv/gconv_int.h: Likewise.
5256 * iconv/gconv_builtin.h: Likewise.
5257 * iconv/iconv_prog.c: Remove CHAR16 handling.
5259 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5261 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5263 * configure.in: Remove --with-elf and --enable-bounded options.
5264 Dont set base_machine for ia64. More non-ELF conditions removed.
5265 Remove testing and setting of leading underscore information.
5266 * config.make.in (build-bounded): Set to no.
5267 * config.h.in: Remove NO_UNDERSCORES entry.
5268 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5270 * csu/start.c: Remove !NO_UNDERSCORE code.
5271 * locale/localeinfo.h: Likewise.
5272 * sysdeps/generic/machine-gmon.h: Likewise.
5273 * sysdeps/generic/sysdep.h: Likewise.
5274 * sysdeps/i386/sysdep.h: Likewise.
5275 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5276 * sysdeps/mach/sysdep.h: Likewise.
5277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5278 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5279 * sysdeps/sh/sysdep.h: Likewise.
5280 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5281 * sysdeps/unix/i386/sysdep.S: Likewise.
5282 * sysdeps/unix/sparc/start.c: Likewise.
5283 * sysdeps/unix/sparc/sysdep.S: Likewise.
5284 * sysdeps/unix/sparc/sysdep.h: Likewise.
5285 * sysdeps/unix/start.c: Likewise.
5286 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5287 * sysdeps/x86_64/sysdep.h: Likewise.
5289 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5292 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5294 * argp/argp-fmtstream.h: Use const instead __const.
5295 * argp/argp.h: Likewise.
5296 * assert/assert.h: Likewise.
5297 * bits/fenv.h: Likewise.
5298 * bits/sched.h: Likewise.
5299 * bits/sigset.h: Likewise.
5300 * bits/sigthread.h: Likewise.
5301 * catgets/nl_types.h: Likewise.
5302 * conform/data/pthread.h-data: Likewise.
5303 * crypt/crypt-private.h: Likewise.
5304 * crypt/crypt.h: Likewise.
5305 * crypt/crypt_util.c: Likewise.
5306 * ctype/ctype.h: Likewise.
5307 * debug/execinfo.h: Likewise.
5308 * debug/mbsnrtowcs_chk.c: Likewise.
5309 * debug/mbsrtowcs_chk.c: Likewise.
5310 * debug/wcsnrtombs_chk.c: Likewise.
5311 * debug/wcsrtombs_chk.c: Likewise.
5312 * debug/wcstombs_chk.c: Likewise.
5313 * dirent/dirent.h: Likewise.
5314 * dlfcn/dlfcn.h: Likewise.
5315 * elf/neededtest4.c: Likewise.
5316 * grp/grp.h: Likewise.
5317 * gshadow/gshadow.h: Likewise.
5318 * iconv/gconv.h: Likewise.
5319 * iconv/gconv_int.h: Likewise.
5320 * iconv/gconv_simple.c: Likewise.
5321 * iconv/iconv.h: Likewise.
5322 * iconv/loop.c: Likewise.
5323 * iconv/skeleton.c: Likewise.
5324 * include/aio.h: Likewise.
5325 * include/aliases.h: Likewise.
5326 * include/argz.h: Likewise.
5327 * include/arpa/inet.h: Likewise.
5328 * include/assert.h: Likewise.
5329 * include/dirent.h: Likewise.
5330 * include/dlfcn.h: Likewise.
5331 * include/execinfo.h: Likewise.
5332 * include/fcntl.h: Likewise.
5333 * include/fenv.h: Likewise.
5334 * include/glob.h: Likewise.
5335 * include/grp.h: Likewise.
5336 * include/libintl.h: Likewise.
5337 * include/mntent.h: Likewise.
5338 * include/netdb.h: Likewise.
5339 * include/pwd.h: Likewise.
5340 * include/rpc/netdb.h: Likewise.
5341 * include/sched.h: Likewise.
5342 * include/search.h: Likewise.
5343 * include/shadow.h: Likewise.
5344 * include/signal.h: Likewise.
5345 * include/stdio.h: Likewise.
5346 * include/stdlib.h: Likewise.
5347 * include/string.h: Likewise.
5348 * include/sys/socket.h: Likewise.
5349 * include/sys/stat.h: Likewise.
5350 * include/sys/statfs.h: Likewise.
5351 * include/sys/statvfs.h: Likewise.
5352 * include/sys/syslog.h: Likewise.
5353 * include/sys/time.h: Likewise.
5354 * include/sys/uio.h: Likewise.
5355 * include/time.h: Likewise.
5356 * include/unistd.h: Likewise.
5357 * include/utmp.h: Likewise.
5358 * include/wchar.h: Likewise.
5359 * include/wctype.h: Likewise.
5360 * inet/aliases.h: Likewise.
5361 * inet/arpa/inet.h: Likewise.
5362 * inet/netinet/ether.h: Likewise.
5363 * inet/netinet/in.h: Likewise.
5364 * intl/libintl.h: Likewise.
5365 * io/bits/fcntl2.h: Likewise.
5366 * io/fcntl.h: Likewise.
5367 * io/ftw.h: Likewise.
5368 * io/sys/poll.h: Likewise.
5369 * io/sys/stat.h: Likewise.
5370 * io/sys/statfs.h: Likewise.
5371 * io/sys/statvfs.h: Likewise.
5372 * io/utime.h: Likewise.
5373 * libio/bits/stdio.h: Likewise.
5374 * libio/bits/stdio2.h: Likewise.
5375 * libio/libio.h: Likewise.
5376 * libio/libioP.h: Likewise.
5377 * libio/stdio.h: Likewise.
5378 * locale/lc-ctype.c: Likewise.
5379 * locale/locale.h: Likewise.
5380 * login/utmp.h: Likewise.
5381 * malloc/arena.c: Likewise.
5382 * malloc/malloc.c: Likewise.
5383 * malloc/malloc.h: Likewise.
5384 * malloc/mcheck.c: Likewise.
5385 * malloc/mtrace.c: Likewise.
5386 * math/bits/mathcalls.h: Likewise.
5387 * math/fenv.h: Likewise.
5388 * math/math_private.h: Likewise.
5389 * misc/bits/error.h: Likewise.
5390 * misc/bits/syslog.h: Likewise.
5391 * misc/err.h: Likewise.
5392 * misc/error.h: Likewise.
5393 * misc/fstab.h: Likewise.
5394 * misc/mntent.h: Likewise.
5395 * misc/regexp.h: Likewise.
5396 * misc/search.h: Likewise.
5397 * misc/sgtty.h: Likewise.
5398 * misc/sys/mman.h: Likewise.
5399 * misc/sys/syslog.h: Likewise.
5400 * misc/sys/uio.h: Likewise.
5401 * misc/sys/xattr.h: Likewise.
5402 * misc/ttyent.h: Likewise.
5403 * nis/rpcsvc/ypclnt.h: Likewise.
5404 * nss/nss.h: Likewise.
5405 * posix/bits/unistd.h: Likewise.
5406 * posix/fnmatch.h: Likewise.
5407 * posix/glob.h: Likewise.
5408 * posix/sched.h: Likewise.
5409 * posix/spawn.h: Likewise.
5410 * posix/sys/wait.h: Likewise.
5411 * posix/unistd.h: Likewise.
5412 * posix/wordexp.h: Likewise.
5413 * pwd/pwd.h: Likewise.
5414 * resolv/netdb.h: Likewise.
5415 * resource/sys/resource.h: Likewise.
5416 * rt/aio.h: Likewise.
5417 * rt/bits/mqueue2.h: Likewise.
5418 * rt/mqueue.h: Likewise.
5419 * shadow/shadow.h: Likewise.
5420 * signal/signal.h: Likewise.
5421 * socket/send.c: Likewise.
5422 * socket/sendto.c: Likewise.
5423 * socket/sys/socket.h: Likewise.
5424 * stdio-common/printf.h: Likewise.
5425 * stdlib/bits/stdlib.h: Likewise.
5426 * stdlib/fmtmsg.h: Likewise.
5427 * stdlib/monetary.h: Likewise.
5428 * stdlib/stdlib.h: Likewise.
5429 * stdlib/ucontext.h: Likewise.
5430 * streams/stropts.h: Likewise.
5431 * string/argz.h: Likewise.
5432 * string/bits/string2.h: Likewise.
5433 * string/string.h: Likewise.
5434 * string/strings.h: Likewise.
5435 * sunrpc/rpc/auth.h: Likewise.
5436 * sunrpc/rpc/auth_des.h: Likewise.
5437 * sunrpc/rpc/clnt.h: Likewise.
5438 * sunrpc/rpc/netdb.h: Likewise.
5439 * sunrpc/rpc/pmap_clnt.h: Likewise.
5440 * sunrpc/rpc/xdr.h: Likewise.
5441 * sysdeps/generic/inttypes.h: Likewise.
5442 * sysdeps/generic/net/if.h: Likewise.
5443 * sysdeps/generic/sys/swap.h: Likewise.
5444 * sysdeps/gnu/net/if.h: Likewise.
5445 * sysdeps/gnu/utmpx.h: Likewise.
5446 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5447 * sysdeps/i386/i486/bits/string.h: Likewise.
5448 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5449 * sysdeps/s390/bits/string.h: Likewise.
5450 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5451 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5452 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5453 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5454 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5455 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5456 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5457 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5458 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5459 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5460 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5461 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5462 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5463 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5464 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5465 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5466 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5468 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5469 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5470 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5471 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5472 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5473 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5474 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5475 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5476 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5477 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5478 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5479 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5480 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5481 * sysvipc/sys/ipc.h: Likewise.
5482 * sysvipc/sys/msg.h: Likewise.
5483 * sysvipc/sys/sem.h: Likewise.
5484 * sysvipc/sys/shm.h: Likewise.
5485 * termios/termios.h: Likewise.
5486 * time/sys/time.h: Likewise.
5487 * time/time.h: Likewise.
5488 * wcsmbs/bits/wchar2.h: Likewise.
5489 * wcsmbs/uchar.h: Likewise.
5490 * wcsmbs/wchar.h: Likewise.
5491 * wctype/wctype.h: Likewise.
5494 * Makeconfig: Remove all but ELF support including AIX support.
5495 * Makerules: Likewise.
5496 * config.h.in: Likewise.
5497 * config.make.in: Likewise.
5498 * configure: Likewise.
5499 * configure.in: Likewise.
5500 * csu/Makefile: Likewise.
5501 * csu/version.c: Likewise.
5502 * debug/Makefile: Likewise.
5503 * dlfcn/Makefile: Likewise.
5504 * elf/Makefile: Likewise.
5505 * extra-lib.mk: Likewise.
5506 * iconv/Makefile: Likewise.
5507 * include/libc-symbols.h: Likewise.
5508 * include/shlib-compat.h: Likewise.
5509 * resolv/Makefile: Likewise.
5510 * resolv/res_libc.c: Likewise.
5511 * rt/Makefile: Likewise.
5512 * sysdeps/i386/asm-syntax.h: Likewise.
5513 * sysdeps/i386/sysdep.h: Likewise.
5514 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5515 * sysdeps/mach/sysdep.h: Likewise.
5516 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5517 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5518 * sysdeps/s390/asm-syntax.h: Likewise.
5519 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5520 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5521 * sysdeps/sh/sysdep.h: Likewise.
5522 * sysdeps/unix/sparc/sysdep.h: Likewise.
5523 * sysdeps/wordsize-32/divdi3.c: Likewise.
5524 * sysdeps/x86_64/sysdep.h: Likewise.
5526 * argp/Versions: Remove _argp_unlock_xxx.
5529 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5530 * abilist/libBrokenLocale.abilist: Likewise.
5531 * abilist/libanl.abilist: Likewise.
5532 * abilist/libc.abilist: Likewise.
5533 * abilist/libcrypt.abilist: Likewise.
5534 * abilist/libdl.abilist: Likewise.
5535 * abilist/libm.abilist: Likewise.
5536 * abilist/libnsl.abilist: Likewise.
5537 * abilist/libpthread.abilist: Likewise.
5538 * abilist/libresolv.abilist: Likewise.
5539 * abilist/librt.abilist: Likewise.
5540 * abilist/libthread_db.abilist: Likewise.
5541 * abilist/libutil.abilist: Likewise.
5542 * abilist/libnss_db.abilist: New file.
5544 * scripts/abilist.awk: Add support for indirect functions.
5546 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5548 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5550 * shlib-versions: Remove entries for ports architectures.
5552 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5554 * elf/stackguard-macros.h: Remove support for IA-64.
5555 * elf/tst-auditmod1.c: Likewise.
5556 * sysdeps/generic/ldsodefs.h: Likewise.
5558 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5559 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5563 * configure.in: Remove --enable-omitfp support.
5565 * config.make.in: Likewise.
5566 * Makeconfig: Likewise.
5567 * manual/install.texi: Likewise.
5569 In case anyone cares, the IA-64 architecture could move to ports.
5570 * sysdeps/ia64/*: Removed.
5571 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5572 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5575 * configure.in: Remove entries for unsupported architectures.
5578 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5579 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5581 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5582 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5583 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5584 fall back to using wcrtomb.
5585 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5586 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5588 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5589 * wcsmbs/tst-c16c32-1.c: New file.
5591 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5594 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5596 * elf/tst-unique3.cc: Add explicit declaration of gets.
5597 * elf/tst-unique3lib.cc: Likewise.
5598 * elf/tst-unique3lib2.cc: Likewise.
5599 * elf/tst-unique4.cc: Likewise.
5601 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5603 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5606 * assert/assert.h (static_assert): Don't define for C++.
5607 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5608 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5610 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5612 * iconv/loop.c (single loop): Fix assertion in storing of
5615 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5617 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5619 * posix/getconf.c: Update copyright year.
5620 * nss/getent.c: Likewise.
5621 * nss/makedb.c: Likewise.
5622 * iconv/iconvconfig.c: Likewise.
5623 * iconv/iconv_prog.c: Likewise.
5624 * elf/ldconfig.c: Likewise.
5625 * elf/pldd.c: Likewise.
5626 * elf/sotruss.ksh: Likewise.
5627 * catgets/gencat.c: Likewise.
5628 * csu/version.c: Likewise.
5629 * elf/ldd.bash.in: Likewise.
5630 * elf/sprof.c (print_version): Likewise.
5631 * locale/programs/locale.c: Likewise.
5632 * locale/programs/localedef.c: Likewise.
5633 * login/programs/pt_chown.c: Likewise.
5634 * nscd/nscd.c (print_version): Likewise.
5635 * debug/xtrace.sh: Likewise.
5636 * malloc/memusage.sh: Likewise.
5637 * malloc/mtrace.pl: Likewise.
5638 * debug/catchsegv.sh: Likewise.
5640 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5642 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5645 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5648 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5649 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5651 * iconv/gconv_int.h: Likewise.
5652 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5653 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5654 from libc for GLIBC_2.16.
5655 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5656 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5657 * wcsmbs/uchar.h: Really define mbstate_t.
5658 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5659 * wcsmbs/c16rtomb.c: New file.
5660 * wcsmbs/mbrtoc16.c: New file.
5661 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5663 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5664 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5666 * wcsmbs/wchar.h: Add missing __restrict.
5668 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5671 * time/Makefile (routines): Add timespec_get.
5672 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5673 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5674 timespec for ISO C11.
5675 * time/timespec_get.c: New file.
5676 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5677 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5680 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5681 * stdlib/stdlib.h: Declare aligned_alloc.
5682 * Versions.def: Add GLIBC_2.16 for libc.
5683 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5686 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5689 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5693 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5696 * assert/assert.h (static_assert): Define.
5698 * version.h: Update for 2.16 development version.
5701 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5704 * version.h (RELEASE): Bump for 2.15 release.
5705 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5707 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5708 Patch by Marek Polacek <mpolacek@redhat.com>.
5710 * bits/byteswap.h: Protect long long constants with __extension__.
5711 * sysdeps/i386/bits/byteswap.h: Likewise.
5712 * sysdeps/ia64/bits/byteswap.h: Likewise.
5713 * sysdeps/s390/bits/byteswap.h: Likewise.
5714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5716 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5719 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5721 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5723 2011-12-23 Marek Polacek <polacek@redhat.com>
5725 * elf/dl-addr.c (determine_info): Add inline keyword.
5726 * elf/tst-auditmod4b.c (check_avx): Likewise.
5727 * elf/tst-auditmod6b.c (check_avx): Likewise.
5728 * elf/tst-auditmod6c.c (check_avx): Likewise.
5729 * elf/tst-auditmod7b.c (check_avx): Likewise.
5731 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5733 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5736 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5739 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5740 processing for last bytes.
5742 2011-08-06 Bruno Haible <bruno@clisp.org>
5745 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5746 U+0385, not to U+1FEE.
5749 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5750 entry for U+00A5 U+0301.
5752 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5755 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5756 buffer for the output is too small.
5758 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5762 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5763 SSE flags if possible.
5765 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5768 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5769 processing for last bytes.
5771 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5773 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5774 (syscall-list-default-options, syscall-list-default-condition)
5775 (syscall-list-includes): Define.
5776 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5777 list of ABIs and options and #if conditions for each ABI. Do not
5778 handle common syscalls between ABIs specially.
5779 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5781 (syscall-list-variants, syscall-list-32bit-options)
5782 (syscall-list-32bit-condition, syscall-list-64bit-options)
5783 (syscall-list-64bit-condition): Define.
5784 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
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/sparc/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.
5793 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5795 (syscall-list-variants, syscall-list-32bit-options)
5796 (syscall-list-32bit-condition, syscall-list-64bit-options)
5797 (syscall-list-64bit-condition): Define.
5799 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5801 * locale/iso-639.def: Add brx entry.
5804 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5805 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5807 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5808 __feraiseexcept_renamed.
5810 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5813 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5814 EPOLLET with unsigned values.
5815 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5818 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5819 to large cancellation.
5820 * math/s_cacoshf.c: Likewise.
5821 * math/s_cacoshl.c: Likewise.
5823 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5827 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5828 * math/s_cacoshf.c: Likewise.
5829 * math/s_cacoshl.c: Likewise.
5831 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5834 * iconv/gconv.h: Define __GCONV_SWAP.
5835 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5836 * iconvdata/utf-16.c: Likewise.
5837 * iconvdata/utf-32.c: Likewise.
5839 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5842 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5843 numerator after shifting it by one limb.
5845 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5847 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5848 under [__USE_EXTERN_INLINES].
5850 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5853 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5855 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5857 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5858 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5860 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5861 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5862 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5863 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5864 for strncasecmp/strncasecmp_l compilation.
5865 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5866 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5868 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5871 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5874 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5877 * time/tzfile.c (__tzfile_read): Check values from file header.
5879 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5881 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5882 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5883 * powerpc/powerpc32/dl-start.S: Likewise.
5884 * powerpc/powerpc32/elf/start.S: Likewise.
5885 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5886 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5887 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5888 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5889 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5890 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5891 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5892 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5893 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5894 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5895 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5896 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5897 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5898 * powerpc/powerpc32/memset.S: Likewise.
5899 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5900 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5901 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5902 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5903 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5904 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5905 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5906 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5907 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5908 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5909 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5910 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5911 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5913 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5915 * math/libm-test.inc: Added more nearbyint tests.
5916 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5917 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5918 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5919 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5921 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5923 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5926 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5928 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5929 Add wcscpy-ssse3 wcscpy-c.
5930 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5931 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5932 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5933 * sysdeps/x86_64/wcschr.S: New file.
5934 * sysdeps/x86_64/wcsrchr.S: New file.
5935 * string/test-strcmp.c: Remove checking of wcscmp function for
5937 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5938 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5939 wcsrchr-sse2 wcsrchr-c.
5940 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5941 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5942 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5943 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5944 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5945 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5946 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5947 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5948 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5949 * wcsmbc/wcschr.c (WCSCHR): New macro.
5951 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5953 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5954 * wcsmbs/test-wcsrchr.c: New file.
5955 * string/test-strrchr.c: Add wcsrchr support.
5957 * wcsmbs/test-wcscpy.c: New file.
5958 * string/test-strcpy.c: Add wcscpy support.
5961 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5963 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5966 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5969 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5971 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5973 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5974 Minor optimizations.
5976 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5977 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5978 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5980 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5982 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5983 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5984 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5985 for gcc to avoid warnings.
5986 * inet/Makefile (tests): Add tst-checks.
5987 * inet/tst-checks.c: New file.
5989 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5992 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5995 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5996 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5998 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6000 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6002 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6005 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6007 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6009 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6010 conditional on GCC version.
6011 (__arch_compare_and_exchange_val_8_acq)
6012 (__arch_compare_and_exchange_val_16_acq)
6013 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6014 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6015 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6017 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6019 * sysdeps/sh/backtrace.c: New file.
6021 2011-12-02 Andreas Schwab <schwab@redhat.com>
6023 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6026 2011-12-01 Andreas Schwab <schwab@redhat.com>
6028 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6029 falling back to utime.
6031 2011-11-30 Andreas Schwab <schwab@redhat.com>
6033 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6034 expectations for float.
6036 2011-11-29 Andreas Schwab <schwab@redhat.com>
6038 * locale/weight.h (findidx): Add parameter len.
6039 * locale/weightwc.h (findidx): Likewise.
6040 * posix/fnmatch_loop.c (FCT): Adjust caller.
6041 * posix/regcomp.c (build_equiv_class): Likewise.
6042 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6043 * posix/regexec.c (check_node_accept_bytes): Likewise.
6044 * string/strcoll_l.c (STRCOLL): Likewise.
6045 * string/strxfrm_l.c (STRXFRM): Likewise.
6047 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6049 * Makefile.in: Remove CVSOPT handling.
6050 * configure.in: Remove use of AC_REVISION.
6051 * iconvdata/Makefile (distribute): No need to filter out CVS.
6052 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6055 2011-11-16 Andreas Schwab <schwab@redhat.com>
6057 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6058 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6059 [USE_AS_STRNCASECMP_L]: Likewise.
6060 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6061 NO_TLS_DIRECT_SEG_REFS.
6062 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6063 Fix argument offsets for non-PIC.
6064 [USE_AS_STRNCASECMP_L]: Likewise.
6065 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6066 NO_TLS_DIRECT_SEG_REFS.
6068 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6070 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6072 * locale/loadlocale.c (_nl_load_locale): Likewise.
6074 2011-11-15 Andreas Schwab <schwab@redhat.com>
6076 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6077 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6079 (SYSCALL_GETTIME): Set errno on error.
6081 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6082 count references to noai6ai_cached.
6084 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6086 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6088 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6089 FD_CLOEXEC for /proc/self/maps.
6091 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6092 FD_CLOEXEC for /proc/meminfo.
6094 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6097 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6098 FD_CLOEXEC for given file.
6100 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6102 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6103 FD_CLOEXEC for /etc/hosts.
6104 (_gethtent): Likewise.
6106 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6108 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6109 cancellation and set FD_CLOEXEC for /etc/netgroup.
6111 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6112 reading /etc/publickey.
6114 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6115 allow cancellation when reading /etc/group.
6117 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6119 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6121 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6122 when using data file.
6124 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6126 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6127 (write_nis_obj): Use "c" and "e" in fopen.
6129 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6131 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6133 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6135 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6137 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6140 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6142 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6144 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6146 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6147 file parsing and set FD_CLOEXEC.
6149 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6151 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6153 2011-11-14 Andreas Schwab <schwab@redhat.com>
6155 * malloc/arena.c (arena_get2): Don't call reused_arena when
6156 _int_new_arena failed.
6158 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6160 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6161 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6162 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6163 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6164 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6165 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6166 to compile strcasecmp and strncasecmp.
6167 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6168 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6172 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6174 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6175 locale-defines.sym to gen-as-const-headers.
6176 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6177 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6178 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6179 to compile strcasecmp and strncasecmp.
6180 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6181 strcasecmp_l and strncasecmp_l.
6182 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6183 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6184 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6185 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6186 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6187 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6188 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6189 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6190 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6191 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6192 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6194 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6196 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6197 result of SYSDEP_GETTIME_CPU to retval.
6198 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6199 parameter list to macro. Remove trailing semicolon. Adjust users.
6201 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6204 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6206 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6208 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6209 from unused variable.
6211 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6213 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6216 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6219 * sunrpc/rpc_prot.c (rejected): Fix case value.
6221 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6222 unsigned long long int to avoid warnings in shift.
6224 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6226 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6229 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6230 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6231 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6233 * nis/nis_table.c (nis_list): Use variable of correct type for
6234 result of __follow_path call.
6236 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6238 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6239 of math functions ceil, trunc, floor, round, and sqrt, when
6240 avaliable on the platform.
6241 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6243 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6244 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6245 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6247 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6249 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6250 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6252 2011-11-11 Roland McGrath <roland@hack.frob.com>
6254 * include/unistd.h: Fix __readlink return type.
6255 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6257 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6259 * stdlib/ucontext.h: Undo last change for makecontext.
6261 2011-11-11 Andreas Schwab <schwab@redhat.com>
6263 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6265 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6266 * setjmp/setjmp.h: Mark functions as non-leaf.
6267 * setjmp/bits/setjmp2.h: Likewise.
6268 * stdlib/ucontext.h: Likewise.
6270 2011-11-10 Andreas Schwab <schwab@redhat.com>
6272 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6273 (reused_arena): Don't check arena limit.
6274 (arena_get2): Atomically check arena limit.
6276 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6278 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6279 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6281 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6284 2011-11-07 Andreas Schwab <schwab@redhat.com>
6286 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6287 handler when locking.
6289 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6290 Fix size of allocated buffer.
6292 2011-11-04 Andreas Schwab <schwab@redhat.com>
6295 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6296 declarations for long double functions.
6297 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6299 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6301 2011-11-03 Andreas Schwab <schwab@redhat.com>
6303 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6306 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6309 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6311 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6313 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6315 * include/alloca.h (stackinfo_alloca_round): Define.
6316 (extend_alloca): Use it.
6317 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6318 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6321 * scripts/check-local-headers.sh: Ignore libaudit.h.
6323 * nscd/Makefile (extra-objs): Make recursively expanded.
6325 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6327 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6328 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6330 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6331 * posix/tst-rfc3484-2.c: Likewise.
6332 * posix/tst-rfc3484-3.c: Likewise.
6334 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6336 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6338 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6339 process_vm_writev from libc using GLIBC_2.15 version.
6341 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6343 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6345 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6348 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6351 * nss/getent.c (initgroups_keys): Show error message in case no group
6354 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6355 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6356 __bump_nl_timestamp.
6357 * nscd/connections (nscd_init): When host database is served open
6358 netlink socket and request notification about configuration changes.
6359 (main_loop_poll): Track netlink file descriptor and bump timestamp
6360 in case data becomes available.
6361 (main_loop_epoll): Likewise.
6362 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6363 (database_pers_head): Add extra_data fileds.
6364 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6365 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6366 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6368 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6369 in6ai data, call __free_in6ai.
6370 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6372 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6373 interface information. Reuse previous data if netlink timestamp
6375 (__bump_nl_timestamp): New function.
6376 (__free_in6ai): New function.
6378 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6380 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6381 close_not_cancel_no_status here.
6382 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6384 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6387 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6390 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6391 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6392 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6394 2011-07-03 Andreas Jaeger <aj@suse.de>
6397 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6398 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6399 * math/libm-test.inc (sin_test): Add test case.
6401 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6404 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6405 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6407 * elf/chroot_canon.c (chroot_canon): Cleanups.
6409 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6412 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6413 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6415 * string/test-strchr.c: Make usable for strchrnul testing.
6416 * string/test-strchrnul.c: New file.
6417 * string/Makefile (strop-tests): Add strchrnul.
6419 * po/it.po: Update from translation team.
6420 * po/es.po: Likewise.
6422 2011-10-28 Ulrich Drepper <drepper@gmail.com>
6424 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6425 the three constants needed as parameters. Drop the others.
6426 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6427 __m128i_strloadu_tolower.
6428 Create and initialize variable zero and use it in all the places
6429 where _mm_setzero_si128 was used.
6431 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6432 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6433 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6434 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6436 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6437 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6438 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6439 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6440 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6441 __mpranred, __mptan.
6442 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6443 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6444 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6445 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6446 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6447 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6448 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6449 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6450 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6452 2011-10-28 Andreas Schwab <schwab@redhat.com>
6454 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6456 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6458 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6459 wide char related routines to wcsmbs subdir.
6461 2011-10-27 Andreas Schwab <schwab@redhat.com>
6464 * misc/sys/cdefs.h (__THROWNL): Define.
6465 * posix/unistd.h: Use __THREADNL instead of __THREAD
6466 for memory synchronization functions.
6468 2011-10-26 Roland McGrath <roland@hack.frob.com>
6471 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6473 * manual/stdio.texi (Obstack Streams): Node removed.
6475 2011-10-26 Andreas Schwab <schwab@redhat.com>
6477 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6478 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6479 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6481 * math/math_private.h (math_force_eval): Allow non-addressable
6483 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6485 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6487 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6490 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6491 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6492 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6493 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6495 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6496 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6497 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6499 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6500 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6501 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6502 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6503 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6504 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6505 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6506 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6507 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6508 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6509 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6510 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6511 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6512 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6513 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6514 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6515 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6516 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6517 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6519 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6520 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6522 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6523 place. Use VEX encoding when compiling for AVX.
6525 2011-10-25 Andreas Schwab <schwab@redhat.com>
6527 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6528 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6530 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6532 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6534 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6535 useless if() expression.
6536 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6544 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6545 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6546 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6547 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6548 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6549 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6550 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6551 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6552 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6553 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6554 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6556 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6558 2011-10-25 Andreas Schwab <schwab@redhat.com>
6560 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6562 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6564 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6566 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6567 .text section. Avoid duplicate constants.
6568 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6570 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6571 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6572 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6575 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6576 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6577 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6578 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6579 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6580 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6581 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6582 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6583 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6584 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6585 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6586 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6588 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6589 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6590 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6591 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6592 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6593 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6594 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6595 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6596 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6597 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6598 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6599 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6600 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6601 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6602 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6603 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6604 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6605 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6606 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6607 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6608 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6609 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6610 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6611 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6612 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6614 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6616 * sysdeps/x86_64/dla.h: Move to ...
6617 * sysdeps/x86_64/fpu/dla.h: ...here.
6618 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6619 situations. Use __builtin_fma only for gcc 4.6 and up.
6621 * config.make.in: Add have-mfma4 entry.
6622 * configure.in: Substitute libc_cv_cc_fma4.
6623 * math/Makefile (dbl-only-routines): Add sincostab.
6624 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6625 Use __sincostab not sincos.
6626 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6633 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6634 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6635 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6636 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6638 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6639 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6641 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6642 define aliases when function name is a macro.
6643 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6644 sysdeps/ieee754/dbl-64/sincos.tbl.
6645 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6646 fma4-enabled routines.
6647 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6648 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6649 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6650 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6651 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6652 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6653 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6654 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6655 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6656 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6657 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6658 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6659 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6660 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6661 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6662 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6663 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6664 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6665 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6666 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6667 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6668 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6669 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6670 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6671 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6672 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6673 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6674 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6675 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6676 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6678 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6681 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6683 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6684 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6686 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6687 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6689 2011-10-24 Andreas Schwab <schwab@redhat.com>
6691 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6693 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6695 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6697 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6699 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6701 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6702 Remove unused variable magic_bits.
6703 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6705 * string/strnlen.c: Define and use STRNLEN macro.
6706 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6707 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6709 * wcsmbs/wcslen.c: Define and use WCSLEN.
6710 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6711 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6712 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6713 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6714 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6715 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6716 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6718 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6721 strnlen-sse2-no-bsf.
6722 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6723 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6724 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6725 Add strnlen support.
6726 (USE_AS_STRNLEN): New macro.
6727 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6728 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6729 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6730 * sysdeps/x86_64/wcslen.S: New file.
6732 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6734 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6735 XMM-moves are used for copying on small sizes.
6737 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6739 * wcsmbs/Makefile (strop-tests): Add wcschr.
6740 * wcsmbs/test-wcschr.c: New file.
6741 * string/test-strchr.c: Update.
6745 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6747 * wcsmbs/Makefile (strop-tests): Add wcslen.
6748 * wcsmbs/test-wcslen.c: New file.
6749 * string/test-strlen.c: Update.
6753 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6755 * po/it.po: Update from translation team.
6757 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6759 * sysdeps/x86_64/wcscmp.S: Update.
6760 Fix wrong comparison semantics.
6761 wcscmp shall use signed comparison not unsigned.
6762 Don't use substraction to avoid overflow bug.
6763 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6764 * wcsmbc/wcscmp.c: Likewise.
6765 * string/test-strcmp.c: Likewise.
6766 Add new tests to check cases with negative values.
6768 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6770 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6771 * sysdeps/x86_64/dla.h: ...here. New file.
6772 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6774 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6782 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6784 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6785 __ynl_finite aliases.
6787 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6789 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6791 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6793 [DLA_FMA] (EMULV): Use DLA_FMA.
6794 [DLA_FMA] (MUL12): Use EMULV.
6795 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6796 that are not needed.
6797 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6799 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6800 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6802 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6805 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6807 * math/s_nan.c: Undef __nan.
6808 * math/s_nanf.c: Undef __nanf.
6809 * math/s_nanl.c: Undef __nanl.
6810 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6813 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6815 * math/s_catan.c: Add branch predictions.
6816 * math/s_catanf.c: Likewise.
6817 * math/s_catanh.c: Likewise.
6818 * math/s_catanhf.c: Likewise.
6819 * math/s_catanhl.c: Likewise.
6820 * math/s_catanl.c: Likewise.
6821 * math/s_cexp.c: Likewise.
6822 * math/s_cexpf.c: Likewise.
6823 * math/s_cexpl.c: Likewise.
6824 * math/s_clog.c: Likewise.
6825 * math/s_clog10.c: Likewise.
6826 * math/s_clog10f.c: Likewise.
6827 * math/s_clog10l.c: Likewise.
6828 * math/s_clogf.c: Likewise.
6829 * math/s_clogl.c: Likewise.
6830 * math/s_csqrt.c: Likewise.
6831 * math/s_csqrtf.c: Likewise.
6832 * math/s_csqrtl.c: Likewise.
6833 * math/s_ctanf.c: Likewise.
6834 * math/s_ctanh.c: Likewise.
6835 * math/s_ctanhf.c: Likewise.
6836 * math/s_ctanhl.c: Likewise.
6837 * math/s_ctanl.c: Likewise.
6839 * math/math_private.h: Define __nan, __nanf, __nanl.
6840 * math/s_cacosh.c: Include <math_private.h>.
6841 * math/s_cacoshl.c: Likewise.
6842 * math/s_casinh.c: Likewise.
6843 * math/s_casinhf.c: Likewise.
6844 * math/s_casinhl.c: Likewise.
6845 * math/s_ccos.c: Rely entire on ccosh.
6846 * math/s_ccosf.c: Rely entire on ccoshf.
6847 * math/s_ccosl.c: Rely entirely on ccoshl.
6848 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6849 Remove tests for FE_INVALID.
6850 * math/s_ccoshf.c: Likewise.
6851 * math/s_ccoshl.c: Likewise.
6852 * math/s_csin.c: Likewise.
6853 * math/s_csinf.c: Likewise.
6854 * math/s_csinh.c Likewise.
6855 * math/s_csinhf.c: Likewise.
6856 * math/s_csinhl.c: Likewise.
6857 * math/s_csinl.c: Likewise.
6858 * math/s_ctan.c: Likewise.
6859 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6860 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6861 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6863 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6866 compilation problems.
6868 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6871 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6873 * sysdeps/i386/configure.in: Test for -mfma4 option.
6874 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6875 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6876 COMMON_CPUID_INDEX_80000001.
6877 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6878 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6879 use it if FMA3 is not supported.
6880 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6882 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6883 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6885 2011-10-20 Andreas Schwab <schwab@redhat.com>
6888 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6889 it would create a cycle with a link time dependency.
6891 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6893 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6895 * string/Makefile (strop-tests): Add rawmemchr.
6896 * string/test-rawmemchr.c: New file.
6898 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6899 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6900 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6901 when compiling str{,n}casecmp and when AVX is available. Hook up
6902 new optimized code in initializers.
6904 2011-10-19 Andreas Schwab <schwab@redhat.com>
6906 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6907 __feraiseexcept instead of feraiseexcept.
6909 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6911 * math/math_private.h: Define defaults for libc_fetestexcept and
6913 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6914 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6915 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6916 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6917 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6918 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6919 libc_fetestexcept and libc_feupdateenv.
6921 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6922 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6923 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6924 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6925 libc_feholdexcept_setround.
6927 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6928 Add s_nearbyint-c and s_nearbyintf-c.
6929 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6931 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6932 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6933 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6934 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6936 * math/math_private.h: Define defaults for libc_fegetround,
6937 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6938 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6939 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6940 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6941 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6943 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6944 Remove comments and hacks for old compiler versions.
6945 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6946 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6949 2011-10-18 Andreas Schwab <schwab@redhat.com>
6951 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6952 (__feraiseexcept_renamed): Add __NTH.
6953 (feraiseexcept): Add __NTH. Rename local variables to fix
6954 namespace violations.
6956 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6958 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6960 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6962 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6963 recently added interfaces.
6964 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6966 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6967 about macro parameter expansion.
6969 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6970 __NO_MATH_INLINES is defined. Cleanups.
6972 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6973 and __floorf is target has SSE4.1.
6974 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6975 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6976 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6977 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6979 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6983 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6985 2011-10-17 Andreas Schwab <schwab@redhat.com>
6987 * misc/sys/cdefs.h: Fix last change.
6989 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6992 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6994 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6996 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6997 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6998 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7001 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7002 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7003 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7004 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7005 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7006 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7007 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7008 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7009 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7010 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7011 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7012 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7013 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7014 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7015 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7016 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7017 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7019 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7020 ceil, ceilf, floor, floorf.
7022 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7023 Perform IRELATIVE relocations last.
7025 * elf/do-rel.h: Add another parameter nrelative, replacing the
7026 local variable with the same name. Change name of the function
7027 to end in Rel or Rela (uppercase).
7028 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7029 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7030 elf_dynamic_do_##reloc function.
7032 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7034 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7035 is sufficient, at least on modern CPUs.
7037 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7039 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7040 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7042 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7044 * math/bits/math-finite.h: Add entries for exp.
7045 * math/e_expl.c: Add __*_finite alias.
7046 * sysdeps/i386/fpu/e_exp.S: Likewise.
7047 * sysdeps/i386/fpu/e_expf.S: Likewise.
7048 * sysdeps/i386/fpu/e_expl.c: Likewise.
7049 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7050 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7051 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7052 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7053 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7054 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7055 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7057 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7058 is sufficient, at least on modern CPUs.
7060 * ctype/ctype-info.c (__ctype_init): Define.
7061 * include/ctype.h (__ctype_init): Declare.
7062 (__ctype_b_loc): The variable is always initialized.
7063 (__ctype_toupper_loc): Likewise.
7064 (__ctype_tolower_loc): Likewise.
7065 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7066 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7068 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7070 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7072 * configure.in: Also look in $cxxmachine/include for C++ system
7075 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7077 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7078 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7079 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7080 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7081 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7082 (USE_AS_WMEMCMP): New macro.
7084 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7085 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7086 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7087 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7089 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7090 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7091 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7092 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7093 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7095 (USE_AS_WMEMCMP): New macro.
7096 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7097 * sysdeps/string/test-memcmp.c: Update.
7100 * wcsmbs/wmemcmp.c: Update.
7101 (WMEMCMP): New macro.
7104 2011-10-12 Andreas Jaeger <aj@suse.de>
7107 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7109 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7111 * libio/iofwide.c (do_length): Avoid warning.
7113 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7115 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7117 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7119 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7120 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7121 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7122 * sysdeps/i386/i686/fpu/e_log.S: New file.
7123 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7124 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7126 * ctype/ctype.h: Add support for inlined isXXX functions when
7129 2011-10-14 Andreas Schwab <schwab@redhat.com>
7131 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7133 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7135 2011-10-13 Roland McGrath <roland@hack.frob.com>
7138 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7140 2011-10-13 Andreas Schwab <schwab@redhat.com>
7142 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7143 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7146 * sysdeps/x86_64/memrchr.S: Check for zero size.
7148 * string/stratcliff.c: Add memrchr tests.
7150 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7153 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7154 rawmemchr-sse2 rawmemchr-sse2-bsf.
7155 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7156 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7157 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7158 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7159 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7160 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7161 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7162 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7163 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7164 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7165 * string/memrchr.c (MEMRCHR): New macro.
7167 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7169 Add integration with gcc's -ffinite-math-only and optimize wrapper
7171 * Versions.def: Define GLIBC_2.15 version for libm.
7172 * math/Makefile (headers): Add bits/math-finite.h.
7173 * math/bits/math-finite.h: New file.
7174 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7175 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7176 * math/e_acoshl.c: Add __*_finite alias.
7177 * math/e_acosl.c: Likewise.
7178 * math/e_asinl.c: Likewise.
7179 * math/e_atan2l.c: Likewise.
7180 * math/e_atanhl.c: Likewise.
7181 * math/e_coshl.c: Likewise.
7182 * math/e_exp10.c: Likewise.
7183 * math/e_exp10f.c: Likewise.
7184 * math/e_exp10l.c: Likewise.
7185 * math/e_exp2l.c: Likewise.
7186 * math/e_fmodl.c: Likewise.
7187 * math/e_gammal_r.c: Likewise.
7188 * math/e_hypotl.c: Likewise.
7189 * math/e_j0l.c: Likewise.
7190 * math/e_j1l.c: Likewise.
7191 * math/e_jnl.c: Likewise.
7192 * math/e_lgammal_r.c: Likewise.
7193 * math/e_log10l.c: Likewise.
7194 * math/e_log2l.c: Likewise.
7195 * math/e_logl.c: Likewise.
7196 * math/e_powl.c: Likewise.
7197 * math/e_sinhl.c: Likewise.
7198 * math/e_sqrtl.c: Likewise.
7199 * math/e_scalb.c: Completely rewritten and optimized.
7200 * math/e_scalbf.c: Likewise.
7201 * math/e_scalbl.c: Likewise.
7202 * math/w_acos.c: Likewise.
7203 * math/w_acosf.c: Likewise.
7204 * math/w_acosl.c: Likewise.
7205 * math/w_acosh.c: Likewise.
7206 * math/w_acoshf.c: Likewise.
7207 * math/w_acoshl.c: Likewise.
7208 * math/w_asin.c: Likewise.
7209 * math/w_asinf.c: Likewise.
7210 * math/w_asinl.c: Likewise.
7211 * math/w_atan2.c: Likewise.
7212 * math/w_atan2f.c: Likewise.
7213 * math/w_atan2l.c: Likewise.
7214 * math/w_atanh.c: Likewise.
7215 * math/w_atanhf.c: Likewise.
7216 * math/w_atanhl.c: Likewise.
7217 * math/w_exp10.c: Likewise.
7218 * math/w_exp10f.c: Likewise.
7219 * math/w_exp10l.c: Likewise.
7220 * math/w_fmod.c: Likewise.
7221 * math/w_fmodf.c: Likewise.
7222 * math/w_fmodl.c: Likewise.
7223 * math/w_j0.c: Likewise.
7224 * math/w_j0f.c: Likewise.
7225 * math/w_j0l.c: Likewise.
7226 * math/w_j1.c: Likewise.
7227 * math/w_j1f.c: Likewise.
7228 * math/w_j1l.c: Likewise.
7229 * math/w_jn.c: Likewise.
7230 * math/w_jnf.c: Likewise.
7231 * math/w_log.c: Likewise.
7232 * math/w_logf.c: Likewise.
7233 * math/w_logl.c: Likewise.
7234 * math/w_log10.c: Likewise.
7235 * math/w_log10f.c: Likewise.
7236 * math/w_log10l.c: Likewise.
7237 * math/w_log2.c: Likewise.
7238 * math/w_log2f.c: Likewise.
7239 * math/w_log2l.c: Likewise.
7240 * math/w_pow.c: Likewise.
7241 * math/w_powf.c: Likewise.
7242 * math/w_powl.c: Likewise.
7243 * math/w_remainder.c: Likewise.
7244 * math/w_remainderf.c: Likewise.
7245 * math/w_remainderl.c: Likewise.
7246 * math/w_scalb.c: Likewise.
7247 * math/w_scalbf.c: Likewise.
7248 * math/w_scalbl.c: Likewise.
7249 * math/w_sqrt.c: Likewise.
7250 * math/w_sqrtf.c: Likewise.
7251 * math/w_sqrtl.c: Likewise.
7252 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7253 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7255 * math/math_private.h: Declare __kernel_standard_f.
7256 * math/w_cosh.c: Remove cruft and optimize a bit.
7257 * math/w_coshf.c: Likewise.
7258 * math/w_coshl.c: Likewise.
7259 * math/w_exp2.c: Likewise.
7260 * math/w_exp2f.c: Likewise.
7261 * math/w_exp2l.c: Likewise.
7262 * math/w_hypot.c: Likewise.
7263 * math/w_hypotf.c: Likewise.
7264 * math/w_hypotl.c: Likewise.
7265 * math/w_lgamma.c: Likewise.
7266 * math/w_lgamma_r.c: Likewise.
7267 * math/w_lgammaf.c: Likewise.
7268 * math/w_lgammaf_r.c: Likewise.
7269 * math/w_lgammal.c: Likewise.
7270 * math/w_lgammal_r.c: Likewise.
7271 * math/w_sinh.c: Likewise.
7272 * math/w_sinhf.c: Likewise.
7273 * math/w_sinhl.c: Likewise.
7274 * math/w_tgamma.c: Likewise.
7275 * math/w_tgammaf.c: Likewise.
7276 * math/w_tgammal.c: Likewise.
7277 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7278 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7279 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7280 Minor optimizations. Pretty printing. Remove cruft.
7281 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7282 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7283 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7284 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7285 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7286 * sysdeps/i386/fpu/e_asin.S: Likewise.
7287 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7288 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7289 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7290 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7291 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7292 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7293 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7294 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7295 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7296 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7297 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7298 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7299 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7300 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7301 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7302 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7303 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7304 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7305 * sysdeps/i386/fpu/e_log.S: Likewise.
7306 * sysdeps/i386/fpu/e_log10.S: Likewise.
7307 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7309 * sysdeps/i386/fpu/e_log2.S: Likewise.
7310 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7311 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7312 * sysdeps/i386/fpu/e_logf.S: Likewise.
7313 * sysdeps/i386/fpu/e_logl.S: Likewise.
7314 * sysdeps/i386/fpu/e_pow.S: Likewise.
7315 * sysdeps/i386/fpu/e_powf.S: Likewise.
7316 * sysdeps/i386/fpu/e_powl.S: Likewise.
7317 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7318 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7319 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7320 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7321 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7322 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7323 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7324 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7325 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7326 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7327 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7329 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7330 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7331 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7332 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7333 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7334 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7335 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7336 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7337 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7339 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7340 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7342 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7343 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7346 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7347 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7348 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7349 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7350 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7351 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7352 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7353 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7354 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7355 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7356 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7357 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7358 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7359 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7360 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7361 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7362 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7363 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7364 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7365 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7366 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7367 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7372 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7376 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7377 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7378 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7379 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7381 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7382 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7383 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7386 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7389 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7390 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7391 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7393 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7395 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7397 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7398 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7400 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7401 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7406 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7409 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7411 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7412 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7414 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7417 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7418 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7419 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7420 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7421 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7422 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7423 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7424 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7425 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7426 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7427 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7428 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7429 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7430 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7432 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7433 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7434 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7435 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7436 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7437 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7438 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7439 (__isnanf): Likewise.
7440 (__isinf_ns): Likewise.
7441 (__isinf_nsf): Likewise.
7442 (__finite): Likewise.
7443 (__finitef): Likewise.
7444 (__ieee754_sqrt): Define as macro.
7445 (__ieee754_sqrtf): Define as macro.
7446 (__ieee754_sqrtl): Define as macro.
7447 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7449 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7450 __FINITE_MATH_ONLY__ consistent.
7451 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7453 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7455 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7458 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7460 2011-10-09 Ulrich Drepper <drepper@gmail.com>
7462 * po/ja.po: Update from translation team.
7464 2011-10-08 Roland McGrath <roland@hack.frob.com>
7466 * locale/programs/locarchive.c (prepare_address_space): New function.
7467 (create_archive, enlarge_archive, open_archive): Use it.
7469 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7470 inside [SHARED], where it is used.
7472 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7474 * nss/getent.c (netgroup_keys): Remove unused variable.
7475 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7477 2011-10-08 Ulrich Drepper <drepper@gmail.com>
7479 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7480 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7482 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7483 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7484 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7485 * math/Makefile (libm-calls): Add s_isinf_ns.
7486 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7487 * math/multc3.c: Likewise.
7488 * math/s_casin.c: Likewise.
7489 * math/s_casinf.c: Likewise.
7490 * math/s_casinl.c: Likewise.
7491 * math/s_ccos.c: Likewise.
7492 * math/s_ccosf.c: Likewise.
7493 * math/s_ccosl.c: Likewise.
7494 * math/s_ctan.c: Likewise.
7495 * math/s_ctanf.c: Likewise.
7496 * math/s_ctanh.c: Likewise.
7497 * math/s_ctanhf.c: Likewise.
7498 * math/s_ctanhl.c: Likewise.
7499 * math/s_ctanl.c: Likewise.
7500 * math/w_fmod.c: Likewise.
7501 * math/w_fmodf.c: Likewise.
7502 * math/w_fmodl.c: Likewise.
7503 * math/w_remainder.c: Likewise.
7504 * math/w_remainderf.c: Likewise.
7505 * math/w_remainderl.c: Likewise.
7506 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7507 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7508 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7510 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7511 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7512 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7513 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7515 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7517 * stdio-common/printf_fphex.c: Likewise.
7518 * stdio-common/printf_size.c: Likewise.
7520 * math/e_exp10.c: Include math_private.h using <...> not "...".
7521 * math/e_exp10f.c: Likewise.
7522 * math/e_exp10l.c: Likewise.
7523 * math/e_exp2l.c: Likewise.
7524 * math/e_j0l.c: Likewise.
7525 * math/e_j1l.c: Likewise.
7526 * math/e_jnl.c: Likewise.
7527 * math/e_lgammal_r.c: Likewise.
7528 * math/e_rem_pio2l.c: Likewise.
7529 * math/e_scalb.c: Likewise.
7530 * math/e_scalbf.c: Likewise.
7531 * math/e_scalbl.c: Likewise.
7532 * math/k_cosl.c: Likewise.
7533 * math/k_sinl.c: Likewise.
7534 * math/k_tanl.c: Likewise.
7535 * math/s_cacoshf.c: Likewise.
7536 * math/s_catan.c: Likewise.
7537 * math/s_catanf.c: Likewise.
7538 * math/s_catanh.c: Likewise.
7539 * math/s_catanhf.c: Likewise.
7540 * math/s_catanhl.c: Likewise.
7541 * math/s_catanl.c: Likewise.
7542 * math/s_ccosh.c: Likewise.
7543 * math/s_ccoshf.c: Likewise.
7544 * math/s_ccoshl.c: Likewise.
7545 * math/s_cexp.c: Likewise.
7546 * math/s_cexpf.c: Likewise.
7547 * math/s_cexpl.c: Likewise.
7548 * math/s_clog.c: Likewise.
7549 * math/s_clog10.c: Likewise.
7550 * math/s_clog10f.c: Likewise.
7551 * math/s_clog10l.c: Likewise.
7552 * math/s_clogf.c: Likewise.
7553 * math/s_clogl.c: Likewise.
7554 * math/s_csin.c: Likewise.
7555 * math/s_csinf.c: Likewise.
7556 * math/s_csinh.c: Likewise.
7557 * math/s_csinhf.c: Likewise.
7558 * math/s_csinhl.c: Likewise.
7559 * math/s_csinl.c: Likewise.
7560 * math/s_csqrt.c: Likewise.
7561 * math/s_csqrtf.c: Likewise.
7562 * math/s_csqrtl.c: Likewise.
7563 * math/s_ctan.c: Likewise.
7564 * math/s_ctanf.c: Likewise.
7565 * math/s_ctanh.c: Likewise.
7566 * math/s_ctanhf.c: Likewise.
7567 * math/s_ctanhl.c: Likewise.
7568 * math/s_ctanl.c: Likewise.
7569 * math/s_ldexp.c: Likewise.
7570 * math/s_ldexpf.c: Likewise.
7571 * math/s_ldexpl.c: Likewise.
7572 * math/s_significand.c: Likewise.
7573 * math/s_significandf.c: Likewise.
7574 * math/s_significandl.c: Likewise.
7575 * math/w_acos.c: Likewise.
7576 * math/w_acosf.c: Likewise.
7577 * math/w_acosh.c: Likewise.
7578 * math/w_acoshf.c: Likewise.
7579 * math/w_acoshl.c: Likewise.
7580 * math/w_acosl.c: Likewise.
7581 * math/w_asin.c: Likewise.
7582 * math/w_asinf.c: Likewise.
7583 * math/w_asinl.c: Likewise.
7584 * math/w_atan2.c: Likewise.
7585 * math/w_atan2f.c: Likewise.
7586 * math/w_atan2l.c: Likewise.
7587 * math/w_atanh.c: Likewise.
7588 * math/w_atanhf.c: Likewise.
7589 * math/w_atanhl.c: Likewise.
7590 * math/w_cosh.c: Likewise.
7591 * math/w_coshf.c: Likewise.
7592 * math/w_coshl.c: Likewise.
7593 * math/w_dremf.c: Likewise.
7594 * math/w_exp10.c: Likewise.
7595 * math/w_exp10f.c: Likewise.
7596 * math/w_exp10l.c: Likewise.
7597 * math/w_exp2.c: Likewise.
7598 * math/w_exp2f.c: Likewise.
7599 * math/w_fmod.c: Likewise.
7600 * math/w_fmodf.c: Likewise.
7601 * math/w_fmodl.c: Likewise.
7602 * math/w_hypot.c: Likewise.
7603 * math/w_hypotf.c: Likewise.
7604 * math/w_hypotl.c: Likewise.
7605 * math/w_j0.c: Likewise.
7606 * math/w_j0f.c: Likewise.
7607 * math/w_j0l.c: Likewise.
7608 * math/w_j1.c: Likewise.
7609 * math/w_j1f.c: Likewise.
7610 * math/w_j1l.c: Likewise.
7611 * math/w_jn.c: Likewise.
7612 * math/w_jnf.c: Likewise.
7613 * math/w_jnl.c: Likewise.
7614 * math/w_lgamma.c: Likewise.
7615 * math/w_lgamma_r.c: Likewise.
7616 * math/w_lgammaf.c: Likewise.
7617 * math/w_lgammaf_r.c: Likewise.
7618 * math/w_lgammal.c: Likewise.
7619 * math/w_lgammal_r.c: Likewise.
7620 * math/w_log.c: Likewise.
7621 * math/w_log10.c: Likewise.
7622 * math/w_log10f.c: Likewise.
7623 * math/w_log10l.c: Likewise.
7624 * math/w_log2.c: Likewise.
7625 * math/w_log2f.c: Likewise.
7626 * math/w_log2l.c: Likewise.
7627 * math/w_logf.c: Likewise.
7628 * math/w_logl.c: Likewise.
7629 * math/w_pow.c: Likewise.
7630 * math/w_powf.c: Likewise.
7631 * math/w_powl.c: Likewise.
7632 * math/w_remainder.c: Likewise.
7633 * math/w_remainderf.c: Likewise.
7634 * math/w_remainderl.c: Likewise.
7635 * math/w_scalb.c: Likewise.
7636 * math/w_scalbf.c: Likewise.
7637 * math/w_scalbl.c: Likewise.
7638 * math/w_sinh.c: Likewise.
7639 * math/w_sinhf.c: Likewise.
7640 * math/w_sinhl.c: Likewise.
7641 * math/w_sqrt.c: Likewise.
7642 * math/w_sqrtf.c: Likewise.
7643 * math/w_sqrtl.c: Likewise.
7644 * math/w_tgamma.c: Likewise.
7645 * math/w_tgammaf.c: Likewise.
7646 * math/w_tgammal.c: Likewise.
7648 * po/ja.po: Update from translation team.
7650 2011-09-29 Andreas Jaeger <aj@suse.de>
7653 * sunrpc/netname.c (netname2host): Fix logic.
7657 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7659 * math/w_remainder.c (__remainder): Likewise.
7660 * math/w_remainderf.c (__remainderf): Likewise.
7661 * math/libm-test.inc (remainder_test): Add test cases.
7663 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7665 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7668 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7670 * string/test-memcmp.c: Avoid unncessary #defines.
7671 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7673 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7675 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7676 Use new sse2 version for core i3 - i7 as it's faster
7678 (bit_Prefer_PMINUB_for_stringop): New.
7679 * sysdeps/x86_64/rawmemchr.S: Update.
7680 Replace with faster SSE2 version.
7681 * sysdeps/x86_64/memrchr.S: New file.
7682 * sysdeps/x86_64/memchr.S: Update.
7683 Replace with faster SSE2 version.
7685 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7687 * elf/dl-load.c (lose): Add cast to avoid warning.
7689 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7691 * po/ca.po: Update from translation team.
7693 * inet/getnetgrent_r.c: Hook up nscd.
7694 * nscd/Makefile (routines): Add nscd_netgroup.
7695 (nscd-modules): Add netgroupcache.
7696 (CFLAGS-netgroupcache.c): Define.
7697 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7698 (cache_search): Add const to second parameter.
7699 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7701 (dbs): Add netgrdb entry.
7702 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7703 (verify_persistent_db): Handle netgrdb.
7704 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7705 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7707 (netgroup_response_header): Define.
7708 (innetgroup_response_header): Define.
7709 (datahead): Add netgroup_response_header and innetgroup_response_header
7711 * nscd/nscd.conf: Add entries for netgroup cache.
7712 * nscd/nscd.h (dbtype): Add netgrdb.
7713 (_PATH_NSCD_NETGROUP_DB): Define.
7714 (netgroup_iov_disabled): Declare.
7715 (xmalloc, xcalloc, xrealloc): Move declarations here.
7716 (cache_search): Adjust prototype.
7717 Add netgroup-related prototypes.
7718 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7719 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7720 (__nscd_innetgr): Declare.
7721 * nscd/selinux.c (perms): Use access_vector_t as element type and
7722 add netgroup-related initializers.
7723 * nscd/netgroupcache.c: New file.
7724 * nscd/nscd_netgroup.c: New file.
7725 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7726 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7727 For four parameters use innetgr.
7728 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7729 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7730 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7731 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7733 * nscd/connections.c (register_traced_file): Don't register file
7734 for disabled databases.
7736 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7738 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7740 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7741 from tree and freeing node.
7743 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7745 * nss/nsswitch.c (__nss_database_lookup): Handle
7746 nss_parse_service_list out of memory case.
7748 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7750 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7753 2011-10-04 Andreas Schwab <schwab@redhat.com>
7755 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7756 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7758 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7759 elf_machine_rela, elf_machine_lazy_rel.
7760 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7761 (ELF_DYNAMIC_DO_REL): Likewise.
7762 (ELF_DYNAMIC_DO_RELA): Likewise.
7763 (ELF_DYNAMIC_RELOCATE): Likewise.
7764 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7765 to ELF_DYNAMIC_DO_REL.
7766 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7767 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7768 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7770 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7771 skip_ifunc, don't call ifunc function if non-zero.
7772 (elf_machine_rela): Likewise.
7773 (elf_machine_lazy_rel): Likewise.
7774 (elf_machine_lazy_rela): Likewise.
7775 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7776 (elf_machine_lazy_rel): Likewise.
7777 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7779 (elf_machine_lazy_rel): Likewise.
7780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7782 (elf_machine_lazy_rel): Likewise.
7783 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7784 (elf_machine_lazy_rel): Likewise.
7785 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7786 (elf_machine_lazy_rel): Likewise.
7787 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7788 (elf_machine_lazy_rel): Likewise.
7789 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7790 (elf_machine_lazy_rel): Likewise.
7791 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7792 (elf_machine_lazy_rel): Likewise.
7793 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7794 (elf_machine_lazy_rel): Likewise.
7796 2011-09-28 Ulrich Drepper <drepper@gmail.com>
7798 * nss/nss_files/files-init.c (_nss_files_init): Use static
7799 initialization for all the *_traced_file variables.
7801 2011-09-28 Andreas Schwab <schwab@redhat.com>
7803 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7805 2011-09-27 Roland McGrath <roland@hack.frob.com>
7808 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7810 2011-09-27 Andreas Schwab <schwab@redhat.com>
7812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7813 Reread the line before reparsing it.
7815 2011-09-26 Andreas Schwab <schwab@redhat.com>
7817 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7819 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7820 Maxim Kuvyrkov <maxim@codesourcery.com>
7821 Joseph Myers <joseph@codesourcery.com>
7823 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7824 if needed for __stack_chk_guard.
7826 2011-09-19 Roland McGrath <roland@hack.frob.com>
7828 * sysdeps/posix/spawni.c (script_execute): Always define it.
7829 It will be optimized away if unused.
7830 (maybe_script_execute): New function.
7831 (__spawni): Call it.
7833 * Makerules: Don't include tls.make.
7834 (config-tls): Always set to thread.
7835 * tls.make.c: File removed.
7837 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7839 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7840 * config.make.in (CPPFLAGS-config): New substituted variable.
7842 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7847 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7848 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7850 2011-09-15 Roland McGrath <roland@hack.frob.com>
7852 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7853 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7855 (CALL_FAIL): Likewise.
7856 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7857 (CALL_FAIL): Macro removed.
7858 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7860 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7862 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7863 for __FINITE_MATH_ONLY__ == 1.
7865 2011-09-15 Andreas Schwab <schwab@redhat.com>
7867 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7868 __ieee754_sqrt instead of sqrt.
7869 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7870 __ieee754_sqrtf instead of sqrtf.
7871 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7872 __floorf instead of floorf.
7873 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7874 __floorf, __truncf instead of floorf, truncf.
7876 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7878 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7880 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7881 __extern_always_inline.
7882 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7885 2011-09-14 Andreas Schwab <schwab@redhat.com>
7887 * elf/rtld.c (dl_main): Also relocate in dependency order when
7888 doing symbol dependency testing.
7890 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7892 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7893 Always define `refsym'.
7895 2011-09-13 Andreas Schwab <schwab@redhat.com>
7897 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7898 (__FD_ELT): Renamed from __FDELT.
7899 * misc/bits/select2.h (__FD_ELT): Likewise.
7900 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7901 __FD_MASK instead of __FDELT, __FDMASK.
7902 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7904 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7907 * elf/Makefile (gen-ldd): Fix pattern.
7909 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7910 (init_tls): Likewise.
7912 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7914 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7916 2011-09-12 Andreas Schwab <schwab@redhat.com>
7918 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7919 `struct cmsghdr *' instead of `void *'.
7920 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7923 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7925 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7927 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7930 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7932 * configure.in: Remove --with-tls option.
7933 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7934 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7935 out in case it is missing.
7936 * sysdeps/ia64/elf/configure.in: Likewise.
7937 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7938 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7939 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7940 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7941 * sysdeps/sh/elf/configure.in: Likewise.
7942 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7943 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7944 * sysdeps/x86_64/elf/configure.in: Likewise.
7945 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7946 * sysdeps/mach/hurd/tls.h: Likewise.
7949 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7952 * configure.in: Fix use of AC_INIT.
7954 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7956 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7958 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7960 * malloc/hooks.c: Likewise.
7963 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7964 variables statically.
7965 (narenas): Initialize.
7966 (list_lock): Initialize.
7967 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7968 initializtion of main_arena and list_lock. Small cleanups.
7969 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7970 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7971 Add initializers to main_arena and mp_.
7972 (malloc_state): Remove pagesize member. Change all users to use
7975 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7976 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7977 is always initialized.
7979 * malloc/malloc.c: Removed unused configurations and dead code.
7980 * malloc/arena.c: Likewise.
7981 * malloc/hooks.c: Likewise.
7982 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7984 * include/tls.h: Removed. USE___THREAD must always be defined.
7985 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7986 * elf/dl-libc.c: Likewise.
7987 * elf/dl-tsd.c: Likewise.
7988 * include/errno.h: Likewise.
7989 * include/netdb.h: Likewise.
7990 * include/resolv.h: Likewise.
7991 * inet/herrno-loc.c: Likewise.
7992 * inet/herrno.c: Likewise.
7993 * malloc/arena.c: Likewise.
7994 * malloc/hooks.c: Likewise.
7995 * malloc/malloc.c: Likewise.
7996 * resolv/res-state.c: Likewise.
7997 * resolv/res_libc.c: Likewise.
7998 * sysdeps/i386/dl-machine.h: Likewise.
7999 * sysdeps/ia64/dl-machine.h: Likewise.
8000 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8001 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8002 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8003 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8004 * sysdeps/sh/dl-machine.h: Likewise.
8005 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8006 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8007 * sysdeps/unix/i386/sysdep.S: Likewise.
8008 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8009 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8010 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8011 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8012 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8013 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8014 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8015 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8016 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8018 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8019 * sysdeps/x86_64/dl-machine.h: Likewise.
8020 * tls.make.c: Likewise.
8022 * configure.in: Remove --with-__thread option. Make tests for
8023 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8024 tls_model attribute fail if no support is available. Remove
8026 * Makeconfig: Adjust for dropped configure option. All features are
8028 * Makerules: Likewise.
8029 * Versions.def: Likewise.
8030 * argp/argp-fmtstream.c: Likewise.
8031 * argp/argp-fmtstream.h: Likewise.
8032 * argp/argp-help.c: Likewise.
8033 * assert/assert.c: Likewise.
8034 * config.h.in: Likewise.
8035 * config.make.in: Likewise.
8036 * configure: Likewise.
8037 * configure.in: Likewise.
8038 * csu/Versions: Likewise.
8039 * csu/init.c: Likewise.
8040 * elf/tst-audit2.c: Likewise.
8041 * elf/tst-tls10.c: Likewise.
8042 * elf/tst-tls10.h: Likewise.
8043 * elf/tst-tls11.c: Likewise.
8044 * elf/tst-tls12.c: Likewise.
8045 * elf/tst-tls14.c: Likewise.
8046 * elf/tst-tlsmod11.c: Likewise.
8047 * elf/tst-tlsmod12.c: Likewise.
8048 * elf/tst-tlsmod13.c: Likewise.
8049 * elf/tst-tlsmod13a.c: Likewise.
8050 * elf/tst-tlsmod14a.c: Likewise.
8051 * elf/tst-tlsmod15b.c: Likewise.
8052 * elf/tst-tlsmod16a.c: Likewise.
8053 * elf/tst-tlsmod16b.c: Likewise.
8054 * elf/tst-tlsmod7.c: Likewise.
8055 * elf/tst-tlsmod8.c: Likewise.
8056 * elf/tst-tlsmod9.c: Likewise.
8057 * gmon/gmon.c: Likewise.
8058 * grp/fgetgrent_r.c: Likewise.
8059 * grp/putgrent.c: Likewise.
8060 * hurd/fopenport.c: Likewise.
8061 * include/libc-symbols.h: Likewise.
8062 * include/tls.h: Likewise.
8063 * intl/gettextP.h: Likewise.
8064 * intl/loadinfo.h: Likewise.
8065 * locale/global-locale.c: Likewise.
8066 * locale/localeinfo.h: Likewise.
8067 * mach/devstream.c: Likewise.
8068 * malloc/arena.c: Likewise.
8069 * malloc/set-freeres.c: Likewise.
8070 * misc/err.c: Likewise.
8071 * misc/getttyent.c: Likewise.
8072 * misc/mntent_r.c: Likewise.
8073 * posix/getopt.c: Likewise.
8074 * posix/wordexp.c: Likewise.
8075 * pwd/fgetpwent_r.c: Likewise.
8076 * resolv/Versions: Likewise.
8077 * resolv/res_hconf.c: Likewise.
8078 * shadow/fgetspent_r.c: Likewise.
8079 * shadow/putspent.c: Likewise.
8080 * stdio-common/printf_fphex.c: Likewise.
8081 * stdio-common/tmpfile.c: Likewise.
8082 * stdlib/abort.c: Likewise.
8083 * stdlib/fmtmsg.c: Likewise.
8084 * sunrpc/auth_unix.c: Likewise.
8085 * sunrpc/clnt_perr.c: Likewise.
8086 * sunrpc/clnt_tcp.c: Likewise.
8087 * sunrpc/clnt_udp.c: Likewise.
8088 * sunrpc/clnt_unix.c: Likewise.
8089 * sunrpc/openchild.c: Likewise.
8090 * sunrpc/svc_simple.c: Likewise.
8091 * sunrpc/svc_tcp.c: Likewise.
8092 * sunrpc/svc_udp.c: Likewise.
8093 * sunrpc/svc_unix.c: Likewise.
8094 * sunrpc/xdr.c: Likewise.
8095 * sunrpc/xdr_array.c: Likewise.
8096 * sunrpc/xdr_rec.c: Likewise.
8097 * sunrpc/xdr_ref.c: Likewise.
8098 * sunrpc/xdr_stdio.c: Likewise.
8100 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8102 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8104 2011-07-03 Andreas Jaeger <aj@suse.de>
8106 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8107 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8108 regenerate with gen-libm-tests.pl.
8110 2010-05-12 Petr Baudis <pasky@suse.cz>
8113 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8114 around j0() zero points by switching to j1().
8115 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8116 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8118 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8120 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8122 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8124 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8127 Patch in part by Pavel Roskin <proski@gnu.org>.
8130 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8132 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8133 Free memory block if necessary.
8136 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8137 be NULL. Don't lock in this case.
8139 2011-09-09 Roland McGrath <roland@hack.frob.com>
8141 * elf/elf.h (ELFOSABI_GNU): New macro.
8142 (ELFOSABI_LINUX): Define to that.
8144 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8146 * string/strncat.c (strncat): Undef the symbol in case it has been
8147 defined in bits/string.h.
8149 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8151 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8153 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8156 2011-08-17 Andreas Jaeger <aj@suse.de>
8158 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8160 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8161 Ian Lance Taylor <iant@google.com>
8163 * math/libm-test.inc (lround_test): New testcase.
8164 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8166 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8168 * Makefile: Remove support for automatic cvs check-ins.
8169 * Makerules: Likewise.
8170 * config.make.in: Likewise.
8171 * configure.in: Likewise.
8172 * intl/Makefile: Likewise.
8173 * locale/Makefile: Likewise.
8174 * po/Makefile: Likewise.
8175 * posix/Makefile: Likewise.
8176 * sysdeps/gnu/Makefile: Likewise.
8177 * sysdeps/mach/hurd/Makefile: Likewise.
8178 * sysdeps/sparc/sparc32/Makefile: Likewise.
8181 * posix/Makefile (bug-regex32-ENV): Define.
8182 Patch by John Stanley <jpsinthemix@verizon.net>.
8184 * misc/Makefile (headers): Add bits/select2.h.
8185 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8186 * misc/bits/select2.h: New file.
8187 * include/bits/select2.h: New file.
8188 * debug/Makefile (routines): Add fdelt_chk.
8189 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8190 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8192 * debug/fdelt_chk.c: New file.
8194 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8195 * wcsmbs/test-wmemcmp.c: Likewise.
8196 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8197 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8199 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8201 * string/Makefile (strop-tests): Add memcmp.
8202 * string/test-wmemcmp.c: New file.
8203 * string/test-memcmp.c: Add wmemcmp support.
8205 2011-09-08 Roland McGrath <roland@hack.frob.com>
8208 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8211 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8212 garbage value in a __mach_port_mod_refs call in the cases of the
8213 task-self and thread-self ports.
8215 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8217 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8219 2011-09-08 Andreas Schwab <schwab@redhat.com>
8221 * elf/dl-load.c (lose): Check for non-null L.
8223 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8225 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8227 * elf/dl-libc.c (dlerror_run): Pass back error code from
8231 * elf/dl-load.c (lose): Free l_origin if it is valid.
8233 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8235 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8236 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8237 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8238 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8239 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8240 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8242 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8244 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8245 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8246 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8247 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8248 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8249 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8250 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8251 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8252 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8253 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8255 2011-08-15 Alan Modra <amodra@gmail.com>
8258 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8259 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8260 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8261 ppc_mcount to static-only-routines.
8262 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8264 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8265 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8267 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8269 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8270 for finite and infinity parameters.
8272 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8275 and add nop instructions for throughput optimization.
8276 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8278 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8280 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8281 aligned copy for power7 with vector-scalar instructions.
8282 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8284 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8286 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8289 2011-09-07 Andreas Schwab <schwab@redhat.com>
8292 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8295 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8297 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8298 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8299 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8300 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8303 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8305 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8306 Forgot to demangle the pointer.
8308 * sysdeps/i386/sysdep.h: Define atom_text_section.
8309 * sysdeps/x86_64/sysdep.h: Likewise.
8310 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8311 section with atom_text_section.
8312 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8313 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8314 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8315 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8316 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8318 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8319 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8320 already be defined. Change to take two parameters and don't assign
8321 result to variable. Adjust all users.
8322 Define INTERNAL_GETTIME if not already defined.
8323 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8326 HAVE_CLOCK_GETTIME_VSYSCALL.
8327 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8329 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8330 gettimeofday vsyscall, just use time.
8332 2011-09-06 Andreas Schwab <schwab@redhat.com>
8334 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8337 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8339 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8341 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8343 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8344 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8345 syscall if possible.
8347 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8349 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8350 e_ident. Don't pass to find_mapsXX.
8351 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8353 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8356 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8357 * sysdeps/x86_64/multiarch/strchr.S: Update.
8358 Check bit_slow_BSF bit.
8359 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8360 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8361 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8363 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8366 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8369 (__spawni): Change last parameter to be flag. Test
8370 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8371 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8372 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8373 * posix/spawni.c: Likewise.
8374 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8375 * posix/spawnp.c: Likewise. Change normal version to use
8376 SPAWN_XFLAGS_USE_PATH.
8377 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8378 SPAWN_XFLAGS_TRY_SHELL.
8381 * posix/glob.h: Remove gcc 1.x support.
8384 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8386 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8389 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8391 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8392 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8393 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8394 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8395 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8396 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8398 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8400 * sysdeps/x86_64/wcscmp.S: New file.
8402 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8403 wcscmp-c wcscmp-sse2
8404 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8405 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8406 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8407 * wcsmbs/wcscmp.c: Allow renaming.
8409 2011-09-05 David S. Miller <davem@davemloft.net>
8411 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8412 stack slot, rather than the struct return pointer slot.
8413 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8414 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8416 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8418 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8420 * po/ja.po: Update from translation team.
8423 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8424 kernel in 64-bit binaries.
8426 2011-09-01 David S. Miller <davem@davemloft.net>
8428 * elf/elf.h (HWCAP_SPARC_*): Move to..
8429 * sysdeps/sparc/sysdep.h: this new file and add new values.
8430 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8431 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8432 _DL_HWCAP_COUNT to 24.
8433 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8435 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8436 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8437 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8439 instead of magic constants.
8440 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8442 2011-08-31 David S. Miller <davem@davemloft.net>
8444 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8445 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8446 Reimplement to do errno handling inline.
8447 (SYSCALL_ERROR_HANDLER): New macro.
8448 (__SYSCALL_STRING): Do not do errno handling in asm.
8449 (__CLONE_SYSCALL_STRING): Delete.
8450 (__INTERNAL_SYSCALL_STRING): Delete.
8451 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8452 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8453 (PSEUDO): Reimplement to do errno handling inline.
8454 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8455 (SYSCALL_ERROR_HANDLER): New macro.
8456 (__SYSCALL_STRING): Do not do errno handling in asm.
8457 (__CLONE_SYSCALL_STRING): Delete.
8458 (__INTERNAL_SYSCALL_STRING): Delete.
8459 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8460 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8462 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8463 (inline_syscall*): Add 'err' argument.
8464 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8465 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8466 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8467 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8469 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8470 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8472 2011-08-30 Andreas Schwab <schwab@redhat.com>
8474 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8476 2011-08-29 Jiri Olsa <jolsa@redhat.com>
8478 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8481 2011-08-24 David S. Miller <davem@davemloft.net>
8483 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8485 2011-08-24 Andreas Schwab <schwab@redhat.com>
8487 * elf/Makefile: Add rules to build and run unload8 test.
8488 * elf/unload8.c: New file.
8489 * elf/unload8mod1.c: New file.
8490 * elf/unload8mod1x.c: New file.
8491 * elf/unload8mod2.c: New file.
8492 * elf/unload8mod3.c: New file.
8494 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8497 2011-08-23 David S. Miller <davem@davemloft.net>
8499 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8500 subtract stack bias.
8501 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8502 %sp not %fp in calculations.
8503 (_JMPBUF_UNWINDS_ADJ): Likewise.
8505 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8506 (aio_suspend): Call it to force an exception region around the
8507 AIO_MISC_WAIT() invocation.
8509 2011-08-23 Andreas Schwab <schwab@redhat.com>
8511 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8514 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8516 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8518 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8520 (Elf64_FuncDesc): Remove.
8522 2011-08-22 David S. Miller <davem@davemloft.net>
8524 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8525 sigaltstack check, add missing cfi directives.
8526 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8527 missing cfi directives, and sigaltstack handling.
8529 2011-08-16 Andreas Schwab <schwab@redhat.com>
8532 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8533 object is seen twice.
8534 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8536 * elf/Makefile (distribute): Add tst-initorder2.c.
8537 (tests): Add tst-initorder2.
8538 (modules-names): Add tst-initorder2a tst-initorder2b
8539 tst-initorder2c tst-initorder2d. Add rules to build them.
8540 ($(objpfx)tst-initorder2.out): New rule.
8541 * elf/tst-initorder2.c: New file.
8542 * elf/tst-initorder2.exp: New file.
8544 2011-08-22 Andreas Schwab <schwab@redhat.com>
8546 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8548 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8549 dependencies back to end of function.
8551 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8554 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8557 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8558 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8559 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8560 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8561 of __vdso_gettimeofday.
8562 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8563 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8565 (_libc_vdso_platform_setup): Remove initialization of
8566 __vdso_gettimeofday and __vdso_time.
8568 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8570 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8572 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8575 * elf/dl-open.c (add_to_global): Report additions to the global scope
8576 for LD_DEBUG=scopes.
8577 (dl_open_worker): Also print scope of newly loaded dependencies.
8578 (_dl_show_scope): Indicate if there is no scope.
8581 * stdio-common/Makefile (tests): Add bug24.
8582 * stdio-common/bug24.c: New file.
8584 2011-08-19 Andreas Jaeger <aj@suse.de>
8587 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8588 non-existant file when using close-on-exec mode.
8590 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8593 the very first instruction.
8595 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8596 the CFI state in the end.
8597 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8598 inclusion of dl-trampoline.h.
8599 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8601 2011-08-19 Andreas Schwab <schwab@redhat.com>
8603 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8604 expectations for long double.
8606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8607 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8609 2011-08-14 David S. Miller <davem@davemloft.net>
8611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8612 artificual limit depends upon the system page size.
8614 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8616 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8617 * resolv/Makefile: Define CFLAGS-libresolv.
8619 2011-08-17 Andreas Schwab <schwab@redhat.com>
8621 * nss/makedb.c (compute_tables): Make variables used in nested
8624 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8626 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8627 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8628 if buffer was too small.
8630 * elf/pldd.c (main): Attach to all threads in the process.
8631 Rewrite /proc handling to use *at functions.
8633 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8635 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8636 specifies first scope to show.
8637 (dl_open_worker): Update callers. Move printing scope of new
8638 object to before the relocation.
8639 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8640 * sysdeps/generic/ldsodefs.h: Update declaration.
8642 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8643 string for the scope number.
8645 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8647 * nscd/servicescache.c (cache_addserv): Make sure written is always
8650 2011-08-14 Roland McGrath <roland@hack.frob.com>
8652 * sysdeps/i386/i486/bits/atomic.h
8653 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8654 statement expression, so as to suppress "set but not used" warning.
8655 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8657 * string/strncat.c (STRNCAT): Use prototype definition.
8659 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8660 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8662 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8663 (localedef-modules): Add localedef.
8664 (locale-modules): Add locale.
8666 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8667 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8670 2011-08-14 David S. Miller <davem@davemloft.net>
8672 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8673 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8675 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8677 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8678 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8679 * elf/rtld.c (dl_main): Set l_name of vDSO.
8680 Call _dl_show_scope when DL_DEBUG_SCOPES.
8681 (process_dl_debug): Recognize scopes flag and also set it for all.
8682 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8683 Declare _dl_show_scope.
8685 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8686 (do_dlopen): Pass caller_dlopen to dl_open.
8687 (__libc_dlopen_mode): Initialize caller_dlopen.
8689 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8690 of libc. Make tolower call locale-independent. Optimize a bit by
8691 using isdigit instead of isalnum.
8692 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8694 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8696 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8697 was a dependency or dynamically loaded.
8699 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8701 * intl/l10nflist.c: Allow architecture-specific pop function.
8702 * sysdeps/x86_64/l10nflist.c: New file.
8704 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8707 2011-08-10 Andreas Schwab <schwab@redhat.com>
8709 * include/dirent.h: Add libc_hidden_proto for scandirat and
8710 scandirat64. Don't declare __scandirat64.
8711 * dirent/scandirat.c: Add libc_hidden_def.
8712 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8713 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8715 2011-08-10 David S. Miller <davem@davemloft.net>
8717 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8719 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8721 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8723 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8725 * Versions.def [libc]: Add GLIBC_2.15.
8726 * dirent/Makefile (routines): Add scandirat and scandirat64.
8727 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8729 * dirent/dirent.h: Declare scandirat and scandirat64.
8730 * dirent/scandirat.c: New file.
8731 * dirent/scandirat64.c: New file.
8732 * sysdeps/wordsize-64/scandirat.c: New file.
8733 * sysdeps/wordsize-64/scandirat64.c: New file.
8734 * dirent/opendir.c: Define opendirat.
8735 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8737 * dirent/scandir64.c: Adjust for scandir.c change.
8738 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8739 __scandirat64, and __scandir_cancel_handler.
8740 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8741 additional parameter and use openat instead of open (outside of ld.so).
8742 Add new __opendir as wrapper around __opendirat.
8743 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8744 here without requiring old scandirat implementation.
8746 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8748 * dirent/scandir.c (cancel_handler): Renamed to
8749 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8750 defined. Adjust users.
8751 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8754 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8756 * string/test-string.h (IMPL): Use __STRING to expand name and then
8759 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8762 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8764 * string/Makefile: Update.
8765 (strop-tests): Append strncat.
8766 * string/test-wcscmp.c: New file.
8767 New comprehensive test for wcscmp.
8768 * string/test-strcmp.c: Update.
8771 2011-07-22 Andreas Schwab <schwab@redhat.com>
8773 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8776 2011-07-26 Andreas Schwab <schwab@redhat.com>
8778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8779 encoding to ACE if AI_IDN.
8781 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8783 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8784 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8786 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8788 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8789 Fix overflow bug in strncat.
8790 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8792 * string/test-strncat.c: Update.
8793 Add new tests for checking overflow bugs.
8795 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8797 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8798 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8799 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8800 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8801 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8802 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8803 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8804 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8805 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8807 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8808 (USE_AS_STRCAT): Define.
8809 Add strcat and strncat support.
8810 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8812 2011-07-25 Andreas Schwab <schwab@redhat.com>
8814 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8815 __n bigger than INT_MAX+1.
8816 (__strncmp_g): Likewise.
8818 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8820 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8821 * libio/stido.h: Likewise.
8823 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8825 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8828 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8829 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8830 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8831 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8832 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8835 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8840 (_dl_x86_64_save_sse): Likewise.
8842 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8846 (_dl_x86_64_save_sse): Likewise.
8848 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8850 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8852 2011-07-21 Andreas Schwab <schwab@redhat.com>
8854 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8856 (_dl_x86_64_save_sse): Use correct AVX check.
8858 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8860 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8861 bug in strncpy/strncat.
8862 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8864 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8866 * string/tester.c (test_strcat): Add tests for different alignments
8867 of source and destination.
8868 (test_strncat): Likewise.
8870 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8873 * posix/glob.c (glob): Check passed in values before using them in
8874 expressions to avoid some overflows.
8875 (glob_in_dir): Likewise.
8878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8879 check for AVX enablement so that we don't crash with old kernels and
8881 * elf/tst-audit4.c: Add same checks here.
8882 * elf/tst-audit6.c: Likewise.
8884 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8886 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8888 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8890 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8892 * po/cs.po: Update from translation team.
8893 * po/bg.po: Likewise.
8895 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8897 * misc/sys/cdefs.h: Add support for const attribute.
8898 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8899 to gnu_dev_{major,minor,makedev} functions.
8901 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8903 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8905 2011-07-20 Andreas Schwab <schwab@redhat.com>
8907 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8910 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8912 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8913 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8914 register in order to avoid conflicts with the soft frame pointer
8915 being held in r11 when necessary.
8916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8917 (INTERNAL_VSYSCALL_NCS): Likewise.
8919 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8921 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8922 * elf/dl-fini.c (_dl_fini): Adjust caller.
8923 * elf/dl-close.c (_dl_close_worker): Likewise.
8924 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8926 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8928 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8929 "aux_cache->nlibs < 0".
8931 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8932 in the reload-count case.
8934 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8937 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8938 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8939 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8940 * sysdeps/x86_64/multiarch/strcat.S: New file.
8941 * sysdeps/x86_64/multiarch/strncat.S: New file.
8942 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8943 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8944 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8945 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8946 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8947 (USE_AS_STRCAT): Define.
8948 Add strcat and strncat support.
8949 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8950 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8951 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8952 * string/strncat.c: Update.
8953 (USE_AS_STRNCAT): Define.
8954 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8955 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8957 * sysdeps/x86_64/multiarch/init-arch.h
8958 (bit_Prefer_PMINUB_for_stringop): New.
8959 (index_Prefer_PMINUB_for_stringop): Likewise.
8960 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8961 bit_Prefer_PMINUB_for_stringop.
8963 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8965 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8967 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8968 of casting of buffer.
8969 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8970 buffer32 and buffer64.
8971 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8972 writes instead of casting of buffer.
8973 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8975 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8978 2011-07-19 Andreas Schwab <schwab@redhat.com>
8980 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8982 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8984 * nscd/nscd.c (termination_handler): Don't do anything for a database
8985 if it has not yet been initialized.
8987 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8989 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8991 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8993 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8995 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8997 * po/nl.po: Update from translation team.
8998 * po/sv.po: Likewise.
9000 2011-07-16 Roland McGrath <roland@hack.frob.com>
9002 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9003 now disallowed by GCC.
9005 * configure.in (use-default-link): Default to yes if a test -shared
9006 link meets our qualifications.
9007 * configure: Regenerated.
9009 * config.make.in (output-format): New variable.
9010 * configure.in: Check for ld --print-output-format support.
9011 * configure: Regenerated.
9012 * Makerules ($(common-objpfx)format.lds)
9013 [$(output-format) != unknown]: Just use $(output-format),
9014 instead of the linker-script munging.
9016 2011-07-14 Roland McGrath <roland@hack.frob.com>
9018 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9019 of $(common-objpfx)shlib.lds.
9020 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9022 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9023 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9025 * configure.in (-z relro check): Adjust test code to add a large
9026 writable data section after it.
9027 * configure: Regenerated.
9029 2011-07-11 Roland McGrath <roland@hack.frob.com>
9031 * configure.in (-z relro check): Fix test code to make the variable
9033 * configure: Regenerated.
9035 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9037 * nscd/nscd.h (struct traced_file): Define.
9038 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9039 elements. Add traced_files.
9040 (inotify_fd): Declare.
9041 (register_traced_file): Declare.
9042 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9043 (inotify_fd): Export.
9044 (resolv_conf_descr): Remove.
9045 (nscd_init): Move inotify descriptor creation to main.
9046 Don't register files for notification here.
9047 (register_traced_file): New function.
9048 (invalidate_cache): Don't use reset_res to determine whether to call
9049 res_init, go through the list of registered files.
9050 (main_loop_poll): The inotify descriptors are now stored in the
9051 structures for the traced files.
9052 (main_loop_epoll): Likewise
9053 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9054 to __nss_disable_nscd.
9055 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9056 for a database anymore. Check the records for all the registered
9058 * nss/Makefile (libnss_files-routines): Add files-init.
9059 (libnss_db-routines): Add db-init.
9060 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9061 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9062 * nss/nss_db/db-init.c: New file.
9063 * nss/nss_files/files-init.c: New file.
9064 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9065 __nss_lookup_function.
9066 (__nss_lookup_function): Call nss_load_library.
9067 (nss_load_all_libraries): New function.
9068 (__nss_disable_nscd): Take parameter with callback function for files
9069 to register. Set is_nscd. Load all the DSOs for the NSS modules
9070 used for the cached services.
9071 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9072 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9073 options for features to all the files in nscd.
9075 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9077 2011-07-10 Roland McGrath <roland@hack.frob.com>
9079 * csu/elf-init.c (__libc_csu_init): Comment typo.
9081 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9083 * po/pl.po: Update from translation team.
9084 * po/ja.po: Likewise.
9085 * po/ru.po: Likewise.
9086 * po/ko.po: Likewise.
9087 * po/fr.po: Likewise.
9089 2011-07-09 Roland McGrath <roland@hack.frob.com>
9091 * configure.in (.ctors/.dtors header and trailer check):
9092 Use an empirical test on a built program.
9093 * configure: Regenerated.
9095 * configure.in (-z relro check): Use an empirical test on a built DSO.
9096 Detect, but do not require, on ia64.
9097 * configure: Regenerated.
9099 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9100 Update tests that use readelf to use $READELF instead.
9101 * configure: Regenerated.
9103 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9105 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9106 if the result is not used.
9108 2011-07-05 Andreas Jaeger <aj@suse.de>
9111 * stdlib/tst-strtod.c: Add testcase.
9113 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9115 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9116 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9117 The latter has a higher limit. Take additional parameter to pass to
9119 (__pathconf): Pass file to __statfs_link_max.
9120 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9122 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9126 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9127 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9129 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9130 (__statfs_filesize_max): Likewise.
9131 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9133 2011-07-05 Andreas Jaeger <aj@suse.de>
9135 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9137 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9139 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9141 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9144 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9146 * Makefile (strop-tests): Add strncat.
9147 * string/test-strncat.c: New file.
9149 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9151 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9153 2011-06-21 Andreas Jaeger <aj@suse.de>
9155 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9156 Copy rule from iconvdata/Makefile.
9158 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9161 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9162 but no long options are defined, just return 'W'.
9164 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9167 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9169 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9171 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9173 (innetgr): Likewise.
9175 2011-07-05 Roland McGrath <roland@hack.frob.com>
9177 * config.make.in (install_root): Default to $(DESTDIR).
9179 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9181 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9183 2011-07-02 Roland McGrath <roland@hack.frob.com>
9185 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9187 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9188 containing directory rather than embedding absolute directory names.
9190 * scripts/check-local-headers.sh: Rewritten using awk.
9191 Match by word, not by line. Print error messages for matches.
9192 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9194 * Makerules [shlib-lds-flags empty]:
9195 ($(common-objpfx)libc_pic.opts): New target.
9196 ($(common-objpfx)libc_pic.os.clean): New target.
9197 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9199 * config.make.in (OBJCOPY): New variable.
9200 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9201 * configure: Regenerated.
9203 * config.make.in (use-default-link): New variable.
9204 * configure.in (use_default_link): Grok --with-default-link to set it.
9205 * configure: Regenerated.
9206 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9207 (shlib-lds, shlib-lds-flags): Define to empty.
9209 * Makerules (shlib-lds): New variable.
9210 (shlib-lds-flags): New variable.
9211 (build-shlib, build-moduile, build-module-asneeded): Use it.
9212 ($(common-objpfx)libc.so): Use $(shlib-lds).
9213 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9214 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9216 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9217 DT_FLAGS/DT_FLAGS_1 with zero flags.
9219 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9220 linker script munging.
9222 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9224 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9226 * crypt/sha512.c (sha512_process_block): Perform total addition using
9227 128-bit if possible.
9228 (__sha512_finish_ctx): Likewise.
9229 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9231 * crypt/sha256.c (SWAP64): Define.
9232 (sha256_process_block): Perform total addition using 64-bit if
9234 (__sha256_finish_ctx): Likewise.
9236 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9238 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9239 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9240 * nscd/hstcache.c (cache_addhst): Likewise.
9241 * nscd/grpcache.c (cache_addgr): Likewise.
9242 * nscd/aicache.c (addhstaiX): Likewise
9243 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9245 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9247 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9249 * nscd/hstcache.c (cache_addhst): Likewise.
9250 * nscd/grpcache.c (cache_addgr): Likewise.
9251 * nscd/aicache.c (addhstaiX): Likewise
9253 2011-07-01 Andreas Schwab <schwab@redhat.com>
9255 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9256 domain only when needed.
9258 2011-06-30 Andreas Schwab <schwab@redhat.com>
9260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9263 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9265 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9266 are re-adding the entry.
9267 * nscd/servicescache.c (cache_addserv): Likewise.
9269 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9271 * sysdeps/generic/dl-irel.h: fix protection against multiple
9273 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9275 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9278 * malloc/memusage.sh: Fix quoting in message.
9279 * debug/xtrace.sh: Likewise.
9281 * configure.in: Remove support for --experimental-malloc option, make
9283 * config.make.in: Likewise.
9284 * malloc/Makefile: Likewise.
9286 2011-06-27 Andreas Schwab <schwab@redhat.com>
9288 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9289 two-byte characters.
9291 2011-06-27 Roland McGrath <roland@hack.frob.com>
9293 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9294 AC_CACHE_CHECK invocation.
9295 * configure: Regenerated.
9297 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9299 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9302 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9303 bit from old_res_options.
9305 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9307 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9308 value type for setfct.
9310 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9312 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9313 __gettimeofday instead of gettimeofday.
9315 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9317 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9319 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9321 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9323 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9326 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9328 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9329 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9330 strcpy-sse2-unaligned strncpy-sse2-unaligned
9331 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9332 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9333 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9334 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9335 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9337 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9338 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9339 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9340 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9341 (STRCPY): Support SSE2 and SSSE3 versions.
9343 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9346 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9347 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9348 kernels which artificially limit size of requests.
9350 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9352 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9353 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9354 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9355 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9356 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9357 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9358 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9359 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9360 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9361 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9362 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9363 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9364 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9365 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9366 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9367 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9368 Enable unaligned load optimization for Intel Core i3, i5 and i7
9370 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9372 (index_Fast_Unaligned_Load): Define.
9373 (HAS_FAST_UNALIGNED_LOAD): Define.
9375 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9377 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9379 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9383 until it is clear that the information is realy needed.
9384 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9386 2011-06-22 Andreas Schwab <schwab@redhat.com>
9388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9390 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9392 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9393 /sys/devices/system/cpu/online if it is usable.
9395 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9396 reading the information from the /proc filesystem to once a second.
9398 2011-06-21 Andreas Jaeger <aj@suse.de>
9400 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9401 NULL after inclusion of kernel headers.
9403 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9405 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9406 calls to internal_setent.
9409 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9410 addresses using gethostbyname4_r ignore IPv4 addresses.
9412 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9413 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9415 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9417 2011-06-20 David S. Miller <davem@davemloft.net>
9419 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9421 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9423 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9425 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9426 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9427 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9428 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9429 * sysdeps/x86_64/dl-irel.h: Likewise.
9431 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9432 * elf/dl-sym.c: Likewise.
9434 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9436 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9437 need to dereference resplen2.
9439 2011-06-14 Andreas Schwab <schwab@redhat.com>
9441 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9443 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9445 * Makeconfig: Define vardbdir and inst_vardbdir.
9446 * nss/Makefile: Add rules to install db-Makefile.
9448 * nss/nss_db/db-XXX.c: Cleanup.
9450 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9451 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9453 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9454 * nss/makedb.c: Implement -g option to specify that value strings
9455 are generated and should not be added to table iterated over for
9457 * nss/nss_db/db-initgroups.c: New file.
9459 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9462 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9463 (internal_getgrouplist): Adjust to name change.
9464 Update use_initgroups_entry if this is not the first call.
9465 * nss/databases.def: Add initgroups entry.
9467 * nss/makedb.c (compute_tables): Check result of multiple hash table
9468 sizes to minimize maximum chain length.
9470 2011-06-14 Ulrich Drepper <drepper@gmail.com>
9472 * Versions.def: Add entry for libnss_db.
9473 * shlib-versions: Likewise.
9474 * nss/Makefile: Add rules to build libnss_db.
9475 * nss/Versions: Add libnss_db information. Organize libnss_files
9477 * nss/db-Makefile: Add gshadow support. Change rules for the new
9478 makedb progra. Some minor improvements to generate smaller files.
9479 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9481 * nss/makedb.c: ...here.
9482 Improve database format to be smaller and require less memory at
9484 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9486 * nss/nss_db/db-netgrp.c: Likewise.
9487 * nss/nss_db/db-open.c: Likewise.
9488 * nss/nss_files/flies-XXX.x: Adjust comments.
9489 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9490 * nss/nss_files/files-grp.c: Likewise.
9491 * nss/nss_files/files-hosts.c: Likewise.
9492 * nss/nss_files/files-network.c: Likewise.
9493 * nss/nss_files/files-proto.c: Likewise.
9494 * nss/nss_files/files-pwd.c: Likewise.
9495 * nss/nss_files/files-rpc.c: Likewise.
9496 * nss/nss_files/files-service.c: Likewise.
9497 * nss/nss_files/files-sgrp.c: Likewise.
9498 * nss/nss_files/files-spwd.c: Likewise.
9499 * nss/nss_db/db-alias.c: Removed.
9500 * nss/nss_db/dummy-db.h: Removed.
9502 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9504 * nss/makedb.c: Rewritten to not use database library.
9505 * nss/Makefile: Update to build new makedb program.
9507 2011-06-14 Andreas Jaeger <aj@suse.de>
9509 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9512 2011-06-10 Andreas Schwab <schwab@redhat.com>
9514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9517 2011-06-10 Roland McGrath <roland@hack.frob.com>
9519 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9520 * elf/Makefile ($(objpfx)ld.so): Likewise.
9522 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9523 Don't list ld.so twice in dependencies.
9525 * posix/bug-regex31.c: Include <stdlib.h>.
9527 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9529 * nis/nss_compat/compat-spwd.c
9530 (getspent_next_nss_netgr): Remove unused variable.
9531 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9533 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9534 nonmembers" output to use the right array.
9536 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9538 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9540 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9541 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9542 * catgets/gencat.c (read_input_file): Likewise.
9543 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9545 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9546 variable definition inside #if's controlling its use.
9548 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9550 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9552 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9554 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9557 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9559 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9560 * configure: Regenerated.
9562 * Makerules: Revert last change.
9563 * elf/Makefile: Likewise.
9565 2011-06-09 Roland McGrath <roland@hack.frob.com>
9567 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9568 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9569 (reloc-link): Likewise.
9571 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9573 * elf/Makefile: Add rules to build pldd.
9574 * elf/pldd.c: New file.
9575 * elf/pldd-xx.c: New file.
9577 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9579 * version.h: Update for 2.15 development version.
9581 2011-06-07 David S. Miller <davem@davemloft.net>
9583 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9586 elf_machine_lazy_rel): Likewise.
9587 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9588 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9589 elf_machine_lazy_rel): Likewise.
9590 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9591 dl_hwcap via passed in argument.
9592 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9595 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9597 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9599 2011-06-06 Roland McGrath <roland@hack.frob.com>
9602 * manual/fdl-1.1.texi: New file, verbatim from:
9603 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9604 * manual/lgpl-2.1.texi: New file, verbatim from:
9605 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9606 * manual/Makefile (licenses): New variable, list those new file names.
9608 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9610 * manual/fdl.texi: File removed.
9611 * manual/lesser.texi: File removed.
9612 * manual/libc.texinfo (Copying, Documentation License):
9613 Use new @include file names, put @appendix directive before @include.
9615 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9618 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9619 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9620 (mq_open): Add __NTH.
9622 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9624 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9625 Assume Intel Core i3/i5/i7 processor if AVX is available.
9627 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9632 2011-05-31 Andreas Schwab <schwab@redhat.com>
9634 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9635 memory. Use alloca_account. Fix memory leak when retrying.
9637 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9639 * version.h (RELEASE): Bump for 2.14 release.
9640 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9642 * config.make.in (RANLIB): Remove entry.
9644 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9646 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9647 (libc.pot): Work around missing support for .ksh extension in xgettext.
9650 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9651 if both request failed.
9652 (send_dg): In case of server errors clear resplen or *resplen2.
9655 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9656 when there are multiple maps.
9657 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9658 (_dl_fini): Remove test here.
9660 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9662 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9665 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9666 bit from old_res_options.
9667 (gaih_inet): Likewise.
9670 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9673 * resolv/res_init.c (res_setoptions): Make the code more compact.
9676 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9680 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9682 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9685 * malloc/malloc.h: Declare malloc hook variables as volatile.
9687 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9691 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9692 raise in the comment.
9693 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9694 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9695 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9697 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9700 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9701 grow the buffers more if it already has to be sufficient.
9702 (build_wcs_upper_buffer): Likewise.
9703 * posix/regexec.c (check_matching): Likewise.
9704 (clean_state_log_if_needed): Likewise.
9705 (extend_buffers): Don't enlarge buffers beyond size of the input
9707 Patches mostly by Emil Wojak <emil@wojak.eu>.
9708 * posix/bug-regex32.c: New file.
9709 * posix/Makefile (tests): Add bug-regex32.
9711 * locale/findlocale.c (_nl_find_locale): Return right away if
9712 _nl_explode_name failed.
9713 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9715 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9717 * debug/xtrace.sh: Unify messages.
9718 * malloc/memusage.sh: Likewise.
9721 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9722 time symbol from vDSO. Substitute with vsyscall if not available.
9723 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9726 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9727 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9728 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9729 Add sendmmsg and internal_sendmmsg.
9730 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9731 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9732 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9734 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9735 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9736 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9738 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9741 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9742 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9744 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9748 * iconvdata/Makefile (tests): Add bug-iconv9.
9749 * iconvdata/bug-iconv9.c: New file.
9751 2011-05-27 Andreas Schwab <schwab@redhat.com>
9754 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9756 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9758 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9759 (struct user_regs_struct): Change intcs field back to cs.
9761 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9763 * po/ja.po: Update from translation team.
9765 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9768 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9769 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9771 2011-05-20 Andreas Schwab <schwab@redhat.com>
9773 * stdlib/longlong.h: Update from GCC.
9775 2011-05-23 Andreas Schwab <schwab@redhat.com>
9777 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9779 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9781 (__sysconf): Pass it down.
9783 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9786 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9789 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9790 add in in __libc_use_alloca calls. Adjust callers.
9791 (glob): Use malloc in some situations.
9793 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9794 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9797 2011-05-21 Ulrich Drepper <drepper@gmail.com>
9799 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9800 and CLOCK_BOOTTIME_ALARM.
9803 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9806 * string/_strerror.c (__strerror_r): Print negative errors as signed
9810 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9811 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9812 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9814 * configure.in: Fix typo in redirection and correct removal of test
9818 * locale/setlocale.c (new_composite_name): Fix test to check for
9819 identical name of all categories.
9822 * libio/filedoalloc.c (local_isatty): New function.
9823 (_IO_file_doallocate): Use local_isatty.
9824 * stdio-common/perror.c (perror): In case a new stream is used
9825 forward the stream error.
9826 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9829 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9834 * include/alloca.h (extend_alloca_account): Define.
9837 * posix/regex.h: Fix comments with documentation of user-accessible
9838 fields after compilation and describe correct free'ing of pattern
9839 after re_compile_pattern.
9840 Patch by Reuben Thomas <rrt@sc3d.org>.
9842 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9844 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9845 and -mno-altivec to prevent the compiler from using Altivec and/or
9846 VSX instructions when the corresponding registers are not available.
9848 2011-05-19 Andreas Schwab <schwab@redhat.com>
9850 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9852 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9854 * libio/freopen.c (freopen): Use __dup2, not dup2.
9855 * libio/freopen64.c (freopen64): Likewise.
9857 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9860 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9861 * math/Makefile (tests): Add test-powl.
9862 (CFLAGS-test-powl.c): Define.
9863 * math/test-powl.c: New file.
9865 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9867 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9869 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9872 * iconvdata/gb18030.c: Update to GB18020-2005.
9874 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9876 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9877 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9878 Patch by Aharon Robbins <arnold@skeeve.com>.
9881 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9885 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9889 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9890 point to strings before performing equality test for error_one_per_line
9894 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9897 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9898 (struct user_fpregs_struct): Avoid __uint*_t types.
9901 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9902 symbol info. Use it instead of calling _dl_addr locally.
9903 (lock_and_info): New function.
9904 (tr_freehook): Call lock_and_info and pass symbol info as additional
9905 parameter to tr_where.
9906 (tr_mallochook): Likewise.
9907 (tr_reallochook): Likewise.
9908 (tr_memalignhook): Likewise.
9910 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9911 used and couldn't be at all thread-safe.
9913 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9915 * libio/freopen.c (freopen): Don't close old file descriptor
9916 before the new one is opened. Instead dup the new file descriptor
9917 to the old one after the new stream is created.
9918 * libio/freopen64.c (freopen64): Likewise.
9919 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9920 * libio/fileops.c (_IO_new_file_close_it): Handle new
9921 _IO_FLAGS2_NOCLOSE flag.
9922 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9923 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9924 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9925 _IO_FLAGS2_NOCLOSE flag.
9926 * include/unistd.h: Add hidden_proto for dup3.
9928 * io/dup3.c: Define hidden symbol.
9929 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9932 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9933 when an incomplete long option is used.
9934 * posix/tst-getopt_long1.c: New file.
9935 * posix/Makefile (tests): Add tst-getopt_long1.
9938 * scripts/config.guess: Update from autoconf-2.68.
9939 * scripts/config.sub: Likewise.
9942 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9944 (has_cpuclock): ...this. New function.
9945 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9946 macro here based on has_cpuclock code.
9949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9950 First byte (not low byte) is now always NUL.
9951 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9953 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9954 Use non-cancelable interfaces.
9957 * locale/iso-639.def: Add entry for Sorani.
9960 * include/stdlib.h: Move include protection to the right place.
9961 Define abort_msg_s. Declare __abort_msg with it.
9962 * stdlib/abort.c (__abort_msg): Adjust type.
9963 * assert/assert.c (__assert_fail_base): New function. Majority
9964 of code from __assert_fail. Allocate memory for __abort_msg with
9966 (__assert_fail): Now call __assert_fail_base.
9967 * assert/assert-perr.c: Remove bulk of implementation. Use
9969 * include/assert.hL Declare __assert_fail_base.
9970 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9972 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9974 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9978 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9979 until all modules are registered in the DTV.
9980 * elf/Makefile: Add rules to build and run tst-tls19.
9981 * elf/tst-tls19.c: New file.
9982 * elf/tst-tls19mod1.c: New file.
9983 * elf/tst-tls19mod2.c: New file.
9984 * elf/tst-tls19mod3.c: New file.
9985 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9988 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9992 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9993 two-byte sequence errors.
9994 * iconvdata/Makefile (tests): Add bug-iconv8.
9995 * iconvdata/bug-iconv8.c: New file.
9998 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10001 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10004 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10005 (dummy_getcfa): New function.
10006 (init): Get _Unwind_GetCFA address, use dummy if not found.
10007 (backtrace_helper): In recursion check, also check whether CFA changes.
10008 (__backtrace): Completely initialize arg.
10010 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10011 storing incomplete byte sequence in state object. Avoid testing for
10012 guaranteed too small input if we know there is enough data available.
10014 2011-05-11 Andreas Schwab <schwab@redhat.com>
10016 * Makeconfig (+link-pie): Indent.
10017 * Rules (binaries-pie): Define if $(have-fpie) and
10019 (binaries-shared): Also filter out $(binaries-pie).
10020 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10021 * nscd/Makefile (others-pie): Add nscd.
10022 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10023 ($(objpfx)nscd): Remove command override.
10024 * login/Makefile (others-pie): Add pt_chown.
10025 ($(objpfx)pt_chown): Remove command override.
10026 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10027 remove command overrides.
10029 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10031 * libio/tst_putwc.c: Fix error messages.
10034 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10035 currently writing and seek to current position when not.
10036 * libio/Makefile (tests): Add bug-fclose1.
10037 * libio/bug-fclose1.c: New file.
10039 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10042 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10043 don't set DF_1_NODELETE here.
10044 (do_lookup_x): When entering new entry test for copy relocation
10045 and if necessary set DF_1_NODELETE flag.
10046 * elf/tst-unique4.cc: New file.
10047 * elf/tst-unique4.h: New file.
10048 * elf/tst-unique4lib.cc: New file.
10049 * elf/Makefile: Add rules to build and run tst-unique4.
10050 Patch by Piotr Bury <pbury@goahead.com>.
10052 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10055 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10058 * misc/mntent_r.c (addmntent): Flush the stream after the output
10061 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10062 (is_trusted_path_normalize): Skip initial colon. Append slash
10063 to empty buffer. Duplicate is_trusted_path code but allow
10064 constructed patch to be prefix.
10065 (is_dst): Allow $ORIGIN followed by /.
10066 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10067 Correct testing of result of is_trusted_path_normalize
10068 (decompose_rpath): Fix warning.
10070 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10073 * grp/initgroups.c (internal_getgrouplist): When we found the service
10074 list through the initgroups entry in nsswitch.conf do not always
10075 continue on a successful lookup. Don't always use the
10076 __nss_group_database value if it is set.
10077 * nss/nsswitch.conf (initgroups): Change action for successful db
10078 lookup to continue for compatibility.
10080 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10083 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10085 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10087 * iconvdata/tst-tables.sh: Likewise.
10088 * iconvdata/cp770.c: New file.
10089 * iconvdata/cp771.c: New file.
10090 * iconvdata/cp772.c: New file.
10091 * iconvdata/cp773.c: New file.
10092 * iconvdata/cp774.c: New file.
10093 * iconvdata/testdata/CP770: New file.
10094 * iconvdata/testdata/CP770..UTF8: New file.
10095 * iconvdata/testdata/CP771: New file.
10096 * iconvdata/testdata/CP771..UTF8: New file.
10097 * iconvdata/testdata/CP772: New file.
10098 * iconvdata/testdata/CP772..UTF8: New file.
10099 * iconvdata/testdata/CP773: New file.
10100 * iconvdata/testdata/CP773..UTF8: New file.
10101 * iconvdata/testdata/CP774: New file.
10102 * iconvdata/testdata/CP774..UTF8: New file.
10104 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10106 * iconvdata/gen-8bit-gap.sh: Likewise.
10107 * iconvdata/gen-8bit.sh: Likewise.
10109 * locale/iso-639.def: Add ary entry.
10112 * locale/C-translit.h.in: Add U20A1 transliteration.
10115 * locale/iso-639.def: Add wae entry.
10116 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10119 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10123 * locale/C-translit.h.in: Add entry for U20B9.
10124 Patch by pravin.d.s@gmail.com.
10126 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10129 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10130 ENAMETOOLONG use generic getcwd.
10131 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10132 in rtld. Use *stat64.
10133 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10134 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10135 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10136 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10137 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10138 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10139 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10140 __fstatat64 macros.
10141 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10142 * dirent/rewinddir.c: Add libc_hidden_def.
10143 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10144 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10146 * include/dirent.h (__alloc_dir): Add flags parameter.
10147 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10148 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10150 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10151 from fdopendir if O_CLOEXEC is already set.
10153 2011-03-15 Alan Modra <amodra@gmail.com>
10155 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10156 l_tls_firstbyte_offset non-zero. Save padding offset in
10157 l_tls_firstbyte_offset for later use.
10158 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10159 freeing static tls block.
10161 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10163 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10164 where #ifdef was intended. The intent is to prevent ARG_MAX from
10165 being defined by the kernel headers.
10167 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10170 * resolv/resolv.h: Define RES_NOTLDQUERY.
10171 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10172 no-tld-query and set RES_NOTLDQUERY.
10173 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10174 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10175 modern BIND to search name as TLD unless forbidden.
10177 2011-05-07 Petr Baudis <pasky@suse.cz>
10178 Ulrich Drepper <drepper@gmail.com>
10181 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10182 (is_trusted_path): ...to here.
10183 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10184 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10185 using is_trusted_path_normalize() in setuid scripts.
10187 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10189 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10190 __BEGIN/__END_DECLS.
10192 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10194 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10195 NSS_STATUS_NOTFOUND if no record was found.
10197 2011-05-05 Andreas Schwab <schwab@redhat.com>
10199 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10200 (headers-not-in-tirpc): Remove rpc/netdb.h
10201 * resolv/netdb.h: Revert last change.
10203 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10205 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10206 circular dependency between libgcc.a and libc.a.
10208 2011-05-05 Andreas Schwab <schwab@redhat.com>
10210 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10211 * nis/Makefile: Don't install rpcsvc/*.
10212 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10213 instead of <rpc/types.h>.
10214 (MAXHOSTNAMELEN): Define.
10216 2011-05-03 Andreas Schwab <schwab@redhat.com>
10218 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10220 2011-04-28 Maciej Babinski <mbabinski@google.com>
10223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10224 gethostbyname4_r when IPv6 results are possible.
10226 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10229 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10230 _PC_PIPE_BUF handling.
10232 2011-04-30 Bruno Haible <bruno@clisp.org>
10235 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10236 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10238 * inet/getnameinfo.c (getnameinfo): Likewise.
10240 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10242 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10243 to groups setting in database lookup.
10244 * nss/nsswitch.conf: Add initgroups entry.
10246 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10249 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10251 Patch by Eric Blake <eblake@redhat.com>.
10253 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10255 * sunrpc/Makefile (need-export-routines): Add svc_run.
10256 (routines): Remove svc_run.
10257 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10258 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10259 * sunrpc/svc_run.c (svc_run): Likewise.
10260 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10262 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10264 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10265 problem in reallocation in last patch.
10267 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10269 * sunrpc/Makefile: Move inclusion of Rules.
10271 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10273 * nss/nss_files/files-initgroups.c: New file.
10274 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10275 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10276 _nss_files_initgroups_dyn.
10278 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10280 * elf/elf.h (R_ARM_IRELATIVE): Define.
10282 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10284 * po/ru.po: Update from translation team.
10286 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10288 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10291 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10294 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10295 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10296 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10297 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10298 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10300 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10302 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10304 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10305 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10306 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10308 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10311 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10313 * stdlib/bug-getcontext.c: New file.
10314 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10316 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10318 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10319 instructions into .machine "z9-109".
10320 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10321 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10323 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10325 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10326 between environment variables and auxiliary vector.
10328 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10330 * Makefile: Add rules to build linkobj/libc.so.
10331 * include/libc-symbols.h: Define libc_hidden_nolink.
10332 * include/rpc/auth.h: Mark functions which are to be hidden.
10333 * include/rpc/auth_des.h: Likewise.
10334 * include/rpc/auth_unix.h: Likewise.
10335 * include/rpc/clnt.h: Likewise.
10336 * include/rpc/des_crypt.h: Likewise.
10337 * include/rpc/key_prot.h: Likewise.
10338 * include/rpc/pmap_clnt.h: Likewise.
10339 * include/rpc/pmap_prot.h: Likewise.
10340 * include/rpc/pmap_rmt.h: Likewise.
10341 * include/rpc/rpc_msg.h: Likewise.
10342 * include/rpc/svc.h: Likewise.
10343 * include/rpc/svc_auth.h: Likewise.
10344 * include/rpc/xdr.h: Likewise.
10345 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10346 * nss/Makefile: Likewise.
10347 * sunrpc/Makefile: Don't install headers. Build library with normal
10348 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10349 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10350 for the compat linking library. Remove use of INTDEF/INTUSE.
10351 * sunrpc/auth_none.c: Likewise.
10352 * sunrpc/auth_unix.c: Likewise.
10353 * sunrpc/authdes_prot.c: Likewise.
10354 * sunrpc/authuxprot.c: Likewise.
10355 * sunrpc/clnt_gen.c: Likewise.
10356 * sunrpc/clnt_perr.c: Likewise.
10357 * sunrpc/clnt_raw.c: Likewise.
10358 * sunrpc/clnt_simp.c: Likewise.
10359 * sunrpc/clnt_tcp.c: Likewise.
10360 * sunrpc/clnt_udp.c: Likewise.
10361 * sunrpc/clnt_unix.c: Likewise.
10362 * sunrpc/des_crypt.c: Likewise.
10363 * sunrpc/des_soft.c: Likewise.
10364 * sunrpc/get_myaddr.c: Likewise.
10365 * sunrpc/key_call.c: Likewise.
10366 * sunrpc/key_prot.c: Likewise.
10367 * sunrpc/netname.c: Likewise.
10368 * sunrpc/pm_getmaps.c: Likewise.
10369 * sunrpc/pm_getport.c: Likewise.
10370 * sunrpc/pmap_clnt.c: Likewise.
10371 * sunrpc/pmap_prot.c: Likewise.
10372 * sunrpc/pmap_prot2.c: Likewise.
10373 * sunrpc/pmap_rmt.c: Likewise.
10374 * sunrpc/publickey.c: Likewise.
10375 * sunrpc/rpc_cmsg.c: Likewise.
10376 * sunrpc/rpc_common.c: Likewise.
10377 * sunrpc/rpc_dtable.c: Likewise.
10378 * sunrpc/rpc_prot.c: Likewise.
10379 * sunrpc/rpc_thread.c: Likewise.
10380 * sunrpc/rtime.c: Likewise.
10381 * sunrpc/svc.c: Likewise.
10382 * sunrpc/svc_auth.c: Likewise.
10383 * sunrpc/svc_authux.c: Likewise.
10384 * sunrpc/svc_raw.c: Likewise.
10385 * sunrpc/svc_run.c: Likewise.
10386 * sunrpc/svc_simple.c: Likewise.
10387 * sunrpc/svc_tcp.c: Likewise.
10388 * sunrpc/svc_udp.c: Likewise.
10389 * sunrpc/svc_unix.c: Likewise.
10390 * sunrpc/svcauth_des.c: Likewise.
10391 * sunrpc/xcrypt.c: Likewise.
10392 * sunrpc/xdr.c: Likewise.
10393 * sunrpc/xdr_array.c: Likewise.
10394 * sunrpc/xdr_float.c: Likewise.
10395 * sunrpc/xdr_intXX_t.c: Likewise.
10396 * sunrpc/xdr_mem.c: Likewise.
10397 * sunrpc/xdr_rec.c: Likewise.
10398 * sunrpc/xdr_ref.c: Likewise.
10399 * sunrpc/xdr_sizeof.c: Likewise.
10400 * sunrpc/xdr_stdio.c: Likewise.
10402 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10405 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10406 * sysdeps/ia64/dl-tls.h: Likewise.
10407 * sysdeps/powerpc/dl-tls.h: Likewise.
10408 * sysdeps/s390/dl-tls.h: Likewise.
10409 * sysdeps/sh/dl-tls.h: Likewise.
10410 * sysdeps/sparc/dl-tls.h: Likewise.
10411 * sysdeps/x86_64/dl-tls.h: Likewise.
10412 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10414 2011-03-14 Andreas Schwab <schwab@redhat.com>
10416 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10417 rpath element also skip the following colon.
10418 (expand_dynamic_string_token): Add is_path parameter and pass
10419 down to DL_DST_REQUIRED and _dl_dst_substitute.
10420 (decompose_rpath): Call expand_dynamic_string_token with
10421 non-zero is_path. Ignore empty rpaths.
10422 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10425 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10430 2011-04-09 Ulrich Drepper <drepper@gmail.com>
10433 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10434 Patch by Filipe David Manana <fdmanana@apache.org>.
10436 2011-04-07 Andreas Schwab <schwab@redhat.com>
10438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10439 Maintain aligned stack.
10440 (CHECK_RSP): Remove unused macro.
10442 2011-04-03 Ulrich Drepper <drepper@gmail.com>
10444 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10445 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10447 2011-04-02 Ulrich Drepper <drepper@gmail.com>
10449 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10451 * include/features.h: Mention __USE_XOPEN2K8 in comment.
10453 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10456 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10457 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10458 * sysdeps/x86_64/memmove.c: New file.
10459 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10460 (memcpy): Renamed to ...
10461 (__new_memcpy): This.
10462 (memcpy): Provide GLIBC_2_14 memcpy.
10463 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10464 (memcpy): Provide GLIBC_2_2_5 memcpy.
10466 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10469 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10471 2011-03-30 Andreas Schwab <schwab@redhat.com>
10473 * misc/syncfs.c: New file.
10474 * misc/Makefile (routines): Add syncfs.
10475 * posix/unistd.h: Declare syncfs.
10476 * sysdeps/unix/syscalls.list: Add syncfs.
10478 2011-04-01 Andreas Schwab <schwab@redhat.com>
10480 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10483 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10485 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10486 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10487 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10490 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10492 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10493 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10494 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10495 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10496 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10498 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10500 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10501 sync_file_range.c with -fexceptions.
10502 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10503 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10504 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10505 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10506 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10507 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10508 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10509 sync_file_range as cancellation point
10510 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10511 now a wrapper around __call_sync_file_range with cancellation handling.
10512 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10513 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10514 function name to __call_sync_file_range.
10515 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10516 Add call_sync_file_range.
10518 2011-04-01 Andreas Schwab <schwab@redhat.com>
10520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10523 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10525 * iconv/iconv.h: Fix typo in comment.
10526 * io/fcntl.h: Likewise.
10527 * libio/stdio.h: Likewise.
10528 * posix/spawn.h: Likewise.
10529 * posix/unistd.h: Likewise.
10530 * stdlib/stdlib.h: Likewise.
10531 * time/time.h: Likewise.
10532 * wcsmbs/wchar.h: Likewise.
10534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10535 open_by_handle): Add.
10536 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10537 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10538 Augment a few comments.
10539 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10540 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10541 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10543 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10544 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10547 * io/fcntl.h (AT_EMPTY_PATH): Define.
10549 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10551 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10552 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10553 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10555 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10556 * Versions.def: Add GLIBC_2.14.
10557 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10560 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10562 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10564 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10566 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10569 * string/test-strncmp.c (do_page_test): New function.
10570 (check2): Likewise.
10571 (test_main): Call check2.
10572 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10574 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10577 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10578 Handle cache information in CPU leaf 4.
10579 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10581 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10584 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10585 character representation.
10586 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10588 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10590 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10591 END(__isnan) to END(__isnanf) to match function entry point/label
10592 EALIGN(__isnanf,...).
10594 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10596 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10598 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10601 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10602 copy from the symbol referenced in the relocation to initialize the
10604 Patch by Piotr Bury <pbury@goahead.com>.
10605 * elf/Makefile: Add rules to build and tst-unique3.
10606 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10607 * elf/tst-unique3.cc: New file.
10608 * elf/tst-unique3.h: New file.
10609 * elf/tst-unique3lib.cc: New file.
10610 * elf/tst-unique3lib2.cc: New file.
10612 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10614 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10616 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10617 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10620 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10622 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10623 to-be-loaded object along a path to loader is ld.so.
10625 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10626 Ulrich Drepper <drepper@gmail.com>
10628 * sysdeps/x86_64/memset.S: After aligning destination, code
10629 branches to different locations depending on the value of
10630 misalignment, when multiarch is enabled. Fix this.
10632 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10634 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10635 Set _x86_64_preferred_memory_instruction for AMD processsors.
10636 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10637 Set bit_Prefer_SSE_for_memop for AMD processors.
10639 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10641 * libio/fmemopen.c (fmemopen): Optimize a bit.
10643 2011-03-03 Andreas Schwab <schwab@redhat.com>
10645 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10647 2011-03-03 Roland McGrath <roland@redhat.com>
10649 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10651 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10653 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10654 __bzero_ultra1 instead of __memset_ultra1.
10656 2011-02-23 Andreas Schwab <schwab@redhat.com>
10657 Ulrich Drepper <drepper@gmail.com>
10660 * include/link.h (struct link_map): Add l_orig_initfini.
10661 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10662 returning unsuccessfully.
10663 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10664 close of a file loaded at startup, restore the original l_initfini
10666 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10667 list, store the pointer.
10668 * elf/Makefile ($(objpfx)noload-mem): New rule.
10669 (noload-ENV): Define.
10670 (tests): Add $(objpfx)noload-mem.
10671 * elf/noload.c: Include <memcheck.h>.
10672 (main): Call mtrace. Close all opened handles.
10674 2011-02-17 Andreas Schwab <schwab@redhat.com>
10677 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10678 dependencies are missing.
10680 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10682 Fix __if_freereq crash: Unlike the generic version which uses free,
10684 * sysdeps/mach/hurd/ifreq.h: New file.
10686 2011-01-27 Petr Baudis <pasky@suse.cz>
10687 Ulrich Drepper <drepper@gmail.com>
10690 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10691 to extend_alloca().
10692 * stdio-common/bug23.c: New file.
10693 * stdio-common/Makefile (tests): Add bug23.
10695 2010-09-28 Andreas Schwab <schwab@redhat.com>
10696 Ulrich Drepper <drepper@gmail.com>
10699 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10700 before performing relro protection. At old place add assertion
10701 to make sure nothing changed.
10703 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10704 Glauber de Oliveira Costa <glommer@gmail.com>
10706 * elf/elf.h: Add new ARM TLS relocs.
10708 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10711 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10713 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10715 * sysdeps/wordsize-64/tst-writev.c: New file.
10717 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10719 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10720 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10721 insns in _dl_start to prevent a TOC reference before relocs are
10724 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10727 * Makeconfig: Remove RANLIB definition.
10728 * Makerules: Don't use RANLIB.
10729 * aclocal.m4: Remove ranlib test.
10730 * configure.in: No need to check for ranlib.
10731 * elf/rtld-Rules: Don't use RANLIB.
10733 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10735 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10737 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10738 inclusion protection macro.
10740 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10741 SIGRTMIN and SIGRTMAX and print information in that case only when
10742 SIGRTMIN is defined.
10744 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10746 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10747 arginfo fn returning -1.
10749 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10750 and thousands string is zero terminated.
10752 2011-02-03 Andreas Schwab <schwab@redhat.com>
10754 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10755 sysdeps/unix/sysv/linux/bits/socket.h.
10757 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10759 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10760 (__CPU_COUNT): Remove old macros.
10761 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10762 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10763 (__CPU_ALLOC, __CPU_FREE): Add macros.
10764 (__sched_cpualloc, __sched_cpufree): Add declarations.
10766 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10768 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10769 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10770 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10771 (readdhstai): Return value of addhstaiX call.
10772 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10773 (addgrbyX): Return value returned by cache_addgr.
10774 (readdgrbyname): Return value returned by addgrbyX.
10775 (readdgrbygid): Likewise.
10776 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10777 (addpwbyX): Return value returned by cache_addpw.
10778 (readdpwbyname): Return value returned by addhstbyX.
10779 (readdpwbyuid): Likewise.
10780 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10781 (addservbyX): Return value returned by cache_addserv.
10782 (readdservbyname): Return value returned by addservbyX:
10783 (readdservbyport): Likewise.
10784 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10785 (addhstbyX): Return value returned by cache_addhst.
10786 (readdhstbyname): Return value returned by addhstbyX.
10787 (readdhstbyaddr): Likewise.
10788 (readdhstbynamev6): Likewise.
10789 (readdhstbyaddrv6): Likewise.
10790 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10791 (readdinitgroups): Return value returned by addinitgroupsX.
10792 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10793 (prune_cache): Keep track of timeout value of re-added entries.
10794 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10795 * nscd/nscd.h: Adjust prototypes of readd* functions.
10797 2011-02-04 Roland McGrath <roland@redhat.com>
10799 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10800 (nis_stats): Likewise.
10801 * nis/nis_modify.c (nis_modify): Likewise.
10802 * nis/nis_remove.c (nis_remove): Likewise.
10803 * nis/nis_add.c (nis_add): Likewise.
10805 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10807 * posix/fnmatch_loop.c: Add some consts.
10809 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10811 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10814 * config.make.in (config-cflags-novzeroupper): Define.
10815 * configure.in: Substitute libc_cv_cc_novzeroupper.
10816 * elf/Makefile (AVX-CFLAGS): Define.
10817 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10818 (CFLAGS-tst-auditmod4a.c): Likewise.
10819 (CFLAGS-tst-auditmod4b.c): Likewise.
10820 (CFLAGS-tst-auditmod6b.c): Likewise.
10821 (CFLAGS-tst-auditmod6c.c): Likewise.
10822 (CFLAGS-tst-auditmod7b.c): Likewise.
10823 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10825 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10827 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10828 function to the callback.
10829 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10831 2011-02-02 Andreas Schwab <schwab@redhat.com>
10833 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10836 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10839 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10841 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10843 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10846 * elf/Makefile: Add rules to build and run new test.
10847 * elf/tst-initorder.c: New file.
10848 * elf/tst-initorder.exp: New file.
10849 * elf/tst-initordera1.c: New file.
10850 * elf/tst-initordera2.c: New file.
10851 * elf/tst-initordera3.c: New file.
10852 * elf/tst-initordera4.c: New file.
10853 * elf/tst-initorderb1.c: New file.
10854 * elf/tst-initorderb2.c: New file.
10855 * elf/tst-order-a1.c: New file.
10856 * elf/tst-order-a2.c: New file.
10857 * elf/tst-order-a3.c: New file.
10858 * elf/tst-order-a4.c: New file.
10859 * elf/tst-order-b1.c: New file.
10860 * elf/tst-order-b2.c: New file.
10861 * elf/tst-order-main.c: New file.
10862 New test case by George Gensure <werkt0@gmail.com>.
10864 2010-10-01 Andreas Schwab <schwab@redhat.com>
10866 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10867 decoding ACE if AI_CANONIDN.
10869 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10871 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10873 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10875 * version.h (RELEASE): Bump for 2.13 release.
10876 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10878 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10880 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10882 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10883 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10884 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10885 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10886 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10887 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10889 * posix/getconf.c: Update copyright year.
10890 * catgets/gencat.c: Likewise.
10891 * csu/version.c: Likewise.
10892 * debug/catchsegv.sh: Likewise.
10893 * debug/xtrace.sh: Likewise.
10894 * elf/ldconfig.c: Likewise.
10895 * elf/ldd.bash.in: Likewise.
10896 * elf/sprof.c (print_version): Likewise.
10897 * iconv/iconv_prog.c: Likewise.
10898 * iconv/iconvconfig.c: Likewise.
10899 * locale/programs/locale.c: Likewise.
10900 * locale/programs/localedef.c: Likewise.
10901 * malloc/memusage.sh: Likewise.
10902 * malloc/mtrace.pl: Likewise.
10903 * nscd/nscd.c (print_version): Likewise.
10904 * nss/getent.c: Likewise.
10906 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10907 PF_CAIF, and PF_ALG.
10908 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10910 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10912 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10913 (modules-names): Use them.
10914 (ifunc-test-modules, ifunc-pie-tests): Define.
10915 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10916 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10917 (test-extras): Likewise.
10918 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10919 $(compile-command.c).
10920 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10921 (all-built-dso): Define.
10922 (check-textrel.out, check-execstack.out): Depend on it.
10924 * configure.in: Don't override --enable-multi-arch.
10926 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10929 * nscd/hstcache.c (tryagain): Define.
10930 (cache_addhst): Return tryagain not notfound for temporary errors.
10931 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10934 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10937 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10938 to make the syscall.
10939 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10942 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10943 and fall back to matching as normal character if the string ends before
10944 the matching ']' is found. This is what POSIX requires.
10945 * posix/testfnm.c: Adjust test result.
10946 * posix/globtest.sh: Adjust test result. Add new test.
10947 * posix/tst-fnmatch.input: Likewise.
10948 * posix/tst-fnmatch2.c: Add new test.
10950 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10952 * elf/Makefile (check-execstack): Revert last change. Depend on
10954 (check-execstack.h): New target.
10955 (generated): Add check-execstack.h.
10956 * elf/check-execstack.c: Include "check-execstack.h".
10957 (main): Revert last change.
10958 (handle_file): Return zero if GNU_STACK is absent and
10959 DEFAULT_STACK_PERMS doesn't include PF_X.
10961 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10963 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10964 in child fails because the descriptor is already closed.
10965 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10966 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10967 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10970 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10974 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10975 temporary buffer used to handle multi lookups locally.
10976 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10978 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10980 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10983 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10985 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10986 alignment for SSE2.
10988 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10991 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10992 characters. When rounding increased number of integer digits recompute
10994 * stdio-common/tst-grouping.c: New file.
10995 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10997 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10999 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11000 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11002 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11004 * bits/select.h: Likewise.
11006 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11008 * po/ja.po: Update from translation team.
11010 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11013 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11014 implementation just like for lxstat, fxstatat, et al.
11016 2010-12-27 Jim Meyering <meyering@redhat.com>
11019 * posix/regexec.c (build_trtable): Return failure indication upon
11020 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11022 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11025 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11026 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11027 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11028 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11031 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11034 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11035 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11037 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11039 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11040 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11041 script has SORT_BY_INIT_PRIORITY.
11042 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11043 NO_CTORS_DTORS_SECTIONS is defined.
11044 * elf/soinit.c: Likewise.
11045 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11046 NO_CTORS_DTORS_SECTIONS is defined.
11047 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11048 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11049 * sysdeps/sh/init-first.c: Likewise.
11050 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11052 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11054 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11055 always use the slow path.
11057 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11059 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11060 similar rule which adds the sysdep directories to the header search in
11061 order to pick up the correct platform stackinfo.h.
11062 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11063 perform test if it is, otherwise return successfully without testing.
11064 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11065 DEFAULT_STACK_PERMS define in stackinfo.h.
11066 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11067 defined in stackinfo.h.
11068 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11069 DEFAULT_STACK_PERMS defined in stackinfo.h.
11070 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11071 * sysdeps/ia64/stackinfo.h: Likewise.
11072 * sysdeps/s390/stackinfo.h: Likewise.
11073 * sysdeps/sh/stackinfo.h: Likewise.
11074 * sysdeps/sparc/stackinfo.h: Likewise.
11075 * sysdeps/x86_64/stackinfo.h: Likewise.
11076 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11077 PF_X for powerpc64. Retain PF_X for powerpc32.
11079 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11081 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11083 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11084 GETDENTS_64BIT_ALIGNED.
11086 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11088 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11090 2010-12-10 Andreas Schwab <schwab@redhat.com>
11092 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11095 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11096 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11098 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11099 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11101 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11104 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11107 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11109 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11111 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11113 * po/it.po: Update from translation team.
11115 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11117 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11120 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11122 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11124 2010-11-24 Andreas Schwab <schwab@redhat.com>
11126 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11128 (gaih_getanswer_slice): Likewise.
11130 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11134 2010-05-31 Petr Baudis <pasky@suse.cz>
11137 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11138 silently even in the chroot mode.
11140 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11142 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11143 last patch a bit. Pretty printing
11145 2010-05-31 Petr Baudis <pasky@suse.cz>
11148 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11149 initialization of skip_initgroups_dyn.
11151 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11153 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11154 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11156 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11158 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11160 2010-11-11 Andreas Schwab <schwab@redhat.com>
11162 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11163 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11164 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11165 ($(objpfx)tst-fnmatch-mem): New rule.
11166 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11167 * posix/tst-fnmatch.c (main): Call mtrace.
11169 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11172 Support Intel processor model 6 and model 0x2c.
11174 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11176 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11179 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11182 * string/test-strncasecmp.c (check_result): New function.
11183 (do_one_test): Use it.
11184 (check1): New function.
11185 (test_main): Use it.
11186 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11187 Support strcasecmp and strncasecmp.
11189 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11192 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11193 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11195 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11197 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11201 * sysdeps/x86_64/multiarch/bzero.S: New file.
11202 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11203 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11204 * sysdeps/x86_64/multiarch/memset.S: New file.
11205 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11207 Set bit_Prefer_SSE_for_memop for Intel processors.
11208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11210 (index_Prefer_SSE_for_memop): Define.
11211 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11213 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11215 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11216 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11218 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11221 * sysdeps/i386/i686/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.
11226 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11227 (__x86_64_raw_data_cache_size_half): Likewise.
11228 (__x86_64_raw_shared_cache_size): Likewise.
11229 (__x86_64_raw_shared_cache_size_half): Likewise.
11230 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11231 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11232 and __x86_64_raw_shared_cache_size_half. Round
11233 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11234 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11235 to multiple of 256 bytes.
11237 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11241 of inacessible symlinks. Verify result of symlink before returning it.
11242 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11243 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11245 2010-10-28 Erich Ritz <erichritz@gmail.com>
11247 * math/math.h (isinf): Fix typo in comment.
11249 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11251 * po/da.po: Update from translation team.
11253 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11255 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11256 is added to the list.
11258 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11259 Ulrich Drepper <drepper@gmail.com>
11261 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11262 the global list here. Move code to...
11263 (_dl_add_to_namespace_list): ...here. New function.
11264 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11265 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11266 * elf/dl-load.c (lose): Don't remove the element from the list.
11267 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11268 (_dl_map_object): Likewise.
11270 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11273 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11274 into all bytes of SSE register.
11275 Patch by Richard Li <richardpku@gmail.com>.
11277 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11280 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11283 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11285 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11286 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11287 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11288 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11293 2010-10-22 Andreas Schwab <schwab@redhat.com>
11295 * include/dlfcn.h (__RTLD_SECURE): Define.
11296 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11297 mode & __RTLD_SECURE instead.
11298 (open_path): Rename preloaded parameter to secure.
11299 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11300 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11301 * elf/dl-deps.c (openaux): Likewise.
11302 * elf/rtld.c (struct map_args): Remove is_preloaded.
11303 (map_doit): Don't use it.
11304 (dl_main): Likewise.
11305 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11306 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11308 2010-09-09 Andreas Schwab <schwab@redhat.com>
11310 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11311 (sysd-rules-targets): Remove duplicates.
11312 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11313 rtld-%.$o dependency.
11315 2010-10-18 Andreas Schwab <schwab@redhat.com>
11317 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11318 _dl_map_object do it.
11320 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11322 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11323 fast fma builtins, define the macros in the C99 standard.
11324 (FP_FAST_FMAF): Likewise.
11325 (FP_FAST_FMAL): Likewise.
11326 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11328 * bits/mathdef.h: Update copyright year.
11329 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11331 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11333 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11334 builtins, define the macros in the C99 standard.
11335 (FP_FAST_FMAF): Likewise.
11336 (FP_FAST_FMAL): Likewise.
11337 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11339 (FP_FAST_FMAF): Likewise.
11341 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11344 * math/libm-test.inc (fma_test): Some new testcases.
11345 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11346 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11347 y and infinite z. Do multiplication by C already in long double.
11348 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11349 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11350 y and infinite z. Do bitwise or of inexact bit into u.d.
11351 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11352 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11353 * sysdeps/i386/fpu/s_fma.S: Removed.
11354 * sysdeps/i386/fpu/s_fmal.S: Removed.
11356 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11359 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11360 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11361 computation is not scheduled after fetestexcept. Fix value
11362 of minimum denormal long double.
11364 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11367 * math/libm-test.inc (fma_test): Add some more tests.
11368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11371 2010-10-15 Andreas Schwab <schwab@redhat.com>
11373 * scripts/data/localplt-s390-linux-gnu.data: New file.
11374 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11376 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11379 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11380 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11382 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11384 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11386 if one of x and y is very large and the other is subnormal.
11387 * sysdeps/s390/fpu/s_fmaf.c: New file.
11388 * sysdeps/s390/fpu/s_fma.c: New file.
11389 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11390 * sysdeps/powerpc/fpu/s_fma.S: New file.
11391 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11392 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11393 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11395 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11398 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11400 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11401 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11402 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11403 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11404 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11405 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11406 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11408 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11411 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11412 * posix/bug-regex31.input: Add test case.
11414 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11416 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11417 * posix/bug-regex31.input: New file.
11420 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11421 (parse_sub_exp): Fix last change, use postorder.
11423 * posix/bug-regex31.c: New file.
11424 * posix/Makefile: Add rules to build and run bug-regex31.
11426 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11429 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11432 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11433 to have entries in sys_siglist.
11436 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11439 2010-10-07 Jakub Jelinek <jakub@redhat.com>
11442 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11443 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11444 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11445 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11446 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11447 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11448 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11449 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11450 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11451 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11452 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11453 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11454 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11455 * math/ftestexcept.c (fetestexcept): Likewise.
11456 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11457 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11458 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11459 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11460 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11461 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11462 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11464 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11467 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11470 2010-10-06 Ulrich Drepper <drepper@gmail.com>
11472 * string/bug-strstr1.c: New file.
11473 * string/Makefile: Add rules to build and run bug-strstr1.
11475 2010-10-05 Eric Blake <eblake@redhat.com>
11478 * string/str-two-way.h (two_way_long_needle): Always clear memory
11479 when skipping input due to the shift table.
11481 2010-10-03 Ulrich Drepper <drepper@gmail.com>
11484 * malloc/mcheck.c: Handle large requests.
11487 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11488 for strncmp and strncasecmp.
11489 * string/stratcliff.c: Add tests for strcmp and strncmp.
11490 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11492 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11494 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11497 2010-09-30 Andreas Jaeger <aj@suse.de>
11499 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11500 (CGROUP_SUPER_MAGIC): Define.
11501 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11502 Handle btrfs and cgroup file systems.
11503 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11506 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11508 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11509 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11511 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11514 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11515 trying to locate the ELF header.
11517 2010-09-27 Andreas Schwab <schwab@redhat.com>
11520 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11521 Mask out sign-bit copies when constructing f_fsid.
11523 2010-09-24 Petr Baudis <pasky@suse.cz>
11525 * debug/stack_chk_fail_local.c: Add missing licence exception.
11526 * debug/warning-nop.c: Likewise.
11528 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11530 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11531 implementing getdents64 using getdents syscall, set d_type if
11532 __ASSUME_GETDENTS32_D_TYPE.
11534 2010-09-16 Andreas Schwab <schwab@redhat.com>
11536 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11537 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11539 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11542 * posix/unistd.h: Undo change of feature selection for ftruncate from
11545 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11547 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11550 2010-09-20 Andreas Schwab <schwab@redhat.com>
11552 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11554 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11556 2010-09-14 Andreas Schwab <schwab@redhat.com>
11558 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11559 variables after CHECK_SP call.
11560 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11562 2010-09-13 Andreas Schwab <schwab@redhat.com>
11563 Ulrich Drepper <drepper@redhat.com>
11565 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11566 re-relocationg ld.so.
11567 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11568 _dl_init_paths call.
11569 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11572 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11574 * resolv/res_init.c (__res_vinit): Count the default server we added.
11576 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11577 Ulrich Drepper <drepper@redhat.com>
11580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11581 (____longjmp_chk): Use %ebx for saving value across system call.
11584 2010-09-06 Andreas Schwab <schwab@redhat.com>
11586 * manual/Makefile: Don't mix pattern rules with normal rules.
11588 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11590 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11592 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11593 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11594 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11595 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11596 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11599 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11602 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11603 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11605 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11607 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11608 * sysdeps/x86_64/addmul_1.S: Likewise.
11609 * sysdeps/x86_64/lshift.S: Likewise.
11610 * sysdeps/x86_64/mul_1.S: Likewise.
11611 * sysdeps/x86_64/rshift.S: Likewise.
11612 * sysdeps/x86_64/sub_n.S: Likewise.
11613 * sysdeps/x86_64/submul_1.S: Likewise.
11615 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11617 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11618 Define __sched_param instead of SCHED_* and sched_param when
11619 <bits/sched.h> is included with __need_schedparam defined.
11620 * bits/sched.h [__need_schedparam]
11621 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11622 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11623 (__defined_schedparam): Define to 1.
11624 (__sched_param): New structure, identical to sched_param.
11625 (__need_schedparam): Undefine.
11627 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11629 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11630 (epoll_create1): Declare.
11632 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11634 2010-08-31 Andreas Schwab <schwab@redhat.com>
11637 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11638 shifting retval into place.
11640 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11642 * nis/rpcsvc/nis.h: Update copyright notice.
11643 * nis/rpcsvc/nis.x: Likewise.
11644 * nis/rpcsvc/nis_callback.h: Likewise.
11645 * nis/rpcsvc/nis_callback.x: Likewise.
11646 * nis/rpcsvc/nis_object.x: Likewise.
11647 * nis/rpcsvc/nis_tags.h: Likewise.
11648 * nis/rpcsvc/yp.h: Likewise.
11649 * nis/rpcsvc/yp.x: Likewise.
11650 * nis/rpcsvc/ypupd.h: Likewise.
11651 * nis/yp_xdr.c: Likewise.
11652 * nis/ypupdate_xdr.c: Likewise.
11654 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11655 mainly the body of pmap_getport. Add parameters to specify timeouts.
11656 (pmap_getport): Use __libc_rpc_getport.
11657 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11658 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11659 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11661 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11666 2010-08-27 Roland McGrath <roland@redhat.com>
11668 * sysdeps/i386/i686/multiarch/Makefile
11669 (CFLAGS-varshift.c): New variable.
11671 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11673 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11674 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11676 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11678 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11680 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11682 * sysdeps/x86_64/strlen.S: Unroll the loop.
11683 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11684 strlen-sse2 strlen-sse2-bsf.
11685 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11686 __strlen_no_bsf if bit_Slow_BSF is set.
11687 (__strlen_sse42): Removed.
11688 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11689 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11691 2010-08-25 Roland McGrath <roland@redhat.com>
11693 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11694 * sysdeps/x86_64/multiarch/varshift.c: New file.
11695 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11696 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11697 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11698 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11700 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11703 strlen-sse2 strlen-sse2-bsf.
11704 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11705 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11706 (__strlen_sse2): Removed.
11707 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11708 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11710 bit_Slow_BSF for Atom.
11711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11712 (index_Slow_BSF): Define.
11713 (HAS_SLOW_BSF): Define.
11715 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11718 * resolv/res_init.c (__res_vinit): When no server address at all
11719 is given default to loopback.
11721 2010-08-24 Roland McGrath <roland@redhat.com>
11723 * configure.in: Remove config-name.h generation.
11724 * configure: Regenerated.
11725 * config-name.in: File removed.
11726 * scripts/config-uname.sh: New file.
11727 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11728 ($(objdir)config-name.h): New target.
11730 * sunrpc/rpc_parse.h: Avoid nested comment.
11732 2010-08-24 Richard Henderson <rth@redhat.com>
11733 Ulrich Drepper <drepper@redhat.com>
11734 H.J. Lu <hongjiu.lu@intel.com>
11736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11737 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11738 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11739 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11740 _mm_alignr_epi8 with _mm_loadu_si128.
11741 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11742 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11743 (__m128i_shift_right): Removed.
11744 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11745 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11746 * sysdeps/x86_64/multiarch/varshift.h: New file.
11747 * sysdeps/x86_64/multiarch/varshift.S: New file.
11749 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11751 * configure.in: Move assembler checks to before sysdep dir checking.
11753 2010-08-20 Petr Baudis <pasky@suse.cz>
11755 * LICENSES: Sync the sunrpc license.
11757 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11759 * sunrpc/auth_des.c: Update copyright notice once again.
11760 * sunrpc/auth_none.c: Likewise.
11761 * sunrpc/auth_unix.c: Likewise.
11762 * sunrpc/authdes_prot.c: Likewise.
11763 * sunrpc/authuxprot.c: Likewise.
11764 * sunrpc/bindrsvprt.c: Likewise.
11765 * sunrpc/clnt_gen.c: Likewise.
11766 * sunrpc/clnt_perr.c: Likewise.
11767 * sunrpc/clnt_raw.c: Likewise.
11768 * sunrpc/clnt_simp.c: Likewise.
11769 * sunrpc/clnt_tcp.c: Likewise.
11770 * sunrpc/clnt_udp.c: Likewise.
11771 * sunrpc/clnt_unix.c: Likewise.
11772 * sunrpc/des_crypt.c: Likewise.
11773 * sunrpc/des_soft.c: Likewise.
11774 * sunrpc/get_myaddr.c: Likewise.
11775 * sunrpc/getrpcport.c: Likewise.
11776 * sunrpc/key_call.c: Likewise.
11777 * sunrpc/key_prot.c: Likewise.
11778 * sunrpc/openchild.c: Likewise.
11779 * sunrpc/pm_getmaps.c: Likewise.
11780 * sunrpc/pm_getport.c: Likewise.
11781 * sunrpc/pmap_clnt.c: Likewise.
11782 * sunrpc/pmap_prot.c: Likewise.
11783 * sunrpc/pmap_prot2.c: Likewise.
11784 * sunrpc/pmap_rmt.c: Likewise.
11785 * sunrpc/rpc/auth.h: Likewise.
11786 * sunrpc/rpc/auth_unix.h: Likewise.
11787 * sunrpc/rpc/clnt.h: Likewise.
11788 * sunrpc/rpc/des_crypt.h: Likewise.
11789 * sunrpc/rpc/key_prot.h: Likewise.
11790 * sunrpc/rpc/netdb.h: Likewise.
11791 * sunrpc/rpc/pmap_clnt.h: Likewise.
11792 * sunrpc/rpc/pmap_prot.h: Likewise.
11793 * sunrpc/rpc/pmap_rmt.h: Likewise.
11794 * sunrpc/rpc/rpc.h: Likewise.
11795 * sunrpc/rpc/rpc_des.h: Likewise.
11796 * sunrpc/rpc/rpc_msg.h: Likewise.
11797 * sunrpc/rpc/svc.h: Likewise.
11798 * sunrpc/rpc/svc_auth.h: Likewise.
11799 * sunrpc/rpc/types.h: Likewise.
11800 * sunrpc/rpc/xdr.h: Likewise.
11801 * sunrpc/rpc_clntout.c: Likewise.
11802 * sunrpc/rpc_cmsg.c: Likewise.
11803 * sunrpc/rpc_common.c: Likewise.
11804 * sunrpc/rpc_cout.c: Likewise.
11805 * sunrpc/rpc_dtable.c: Likewise.
11806 * sunrpc/rpc_hout.c: Likewise.
11807 * sunrpc/rpc_main.c: Likewise.
11808 * sunrpc/rpc_parse.c: Likewise.
11809 * sunrpc/rpc_parse.h: Likewise.
11810 * sunrpc/rpc_prot.c: Likewise.
11811 * sunrpc/rpc_sample.c: Likewise.
11812 * sunrpc/rpc_scan.c: Likewise.
11813 * sunrpc/rpc_scan.h: Likewise.
11814 * sunrpc/rpc_svcout.c: Likewise.
11815 * sunrpc/rpc_tblout.c: Likewise.
11816 * sunrpc/rpc_util.c: Likewise.
11817 * sunrpc/rpc_util.h: Likewise.
11818 * sunrpc/rpcinfo.c: Likewise.
11819 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11820 * sunrpc/rpcsvc/key_prot.x: Likewise.
11821 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11822 * sunrpc/rpcsvc/mount.x: Likewise.
11823 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11824 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11825 * sunrpc/rpcsvc/rex.x: Likewise.
11826 * sunrpc/rpcsvc/rstat.x: Likewise.
11827 * sunrpc/rpcsvc/rusers.x: Likewise.
11828 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11829 * sunrpc/rpcsvc/spray.x: Likewise.
11830 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11831 * sunrpc/rtime.c: Likewise.
11832 * sunrpc/svc.c: Likewise.
11833 * sunrpc/svc_auth.c: Likewise.
11834 * sunrpc/svc_authux.c: Likewise.
11835 * sunrpc/svc_raw.c: Likewise.
11836 * sunrpc/svc_run.c: Likewise.
11837 * sunrpc/svc_simple.c: Likewise.
11838 * sunrpc/svc_tcp.c: Likewise.
11839 * sunrpc/svc_udp.c: Likewise.
11840 * sunrpc/svc_unix.c: Likewise.
11841 * sunrpc/svcauth_des.c: Likewise.
11842 * sunrpc/xcrypt.c: Likewise.
11843 * sunrpc/xdr.c: Likewise.
11844 * sunrpc/xdr_array.c: Likewise.
11845 * sunrpc/xdr_float.c: Likewise.
11846 * sunrpc/xdr_mem.c: Likewise.
11847 * sunrpc/xdr_rec.c: Likewise.
11848 * sunrpc/xdr_ref.c: Likewise.
11849 * sunrpc/xdr_sizeof.c: Likewise.
11850 * sunrpc/xdr_stdio.c: Likewise.
11852 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11855 2010-08-19 Andreas Schwab <schwab@redhat.com>
11857 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11859 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11861 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11862 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11863 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11864 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11865 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11866 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11867 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11868 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11869 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11870 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11871 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11872 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11873 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11874 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11876 2010-07-26 Anton Blanchard <anton@samba.org>
11878 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11879 * malloc/arena.c (heap_trim): Likewise.
11881 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11883 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11886 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11888 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11890 * sysdeps/i386/elf/Makefile: New file.
11892 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11894 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11895 from fanotify_init.
11896 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11897 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11899 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11901 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11903 * sysdeps/multiarch/strcmp.S: Likewise.
11905 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11907 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11908 strncase_l-nonascii.
11909 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11910 Add strncase_l-ssse3.
11911 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11912 * sysdeps/x86_64/strcmp.S: Likewise.
11913 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11914 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11915 * sysdeps/x86_64/strncase.S: New file.
11916 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11917 * sysdeps/x86_64/strncase_l.S: New file.
11918 * string/Makefile (strop-tests): Add strncasecmp.
11919 * string/test-strncasecmp.c: New file.
11921 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11924 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11925 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11927 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11929 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11931 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11933 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11934 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11935 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11937 2010-05-01 Alan Modra <amodra@gmail.com>
11939 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11940 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11941 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11942 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11943 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11944 tidying. Don't tail-call __sigjmp_save for static lib.
11945 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11947 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11948 (CALL_MCOUNT): Add eh info, and nop after bl.
11949 (TAIL_CALL_SYSCALL_ERROR): New macro.
11950 (PSEUDO_RET): Use it.
11951 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11952 Correct save location of integer regs and cr.
11953 (_dl_profile_resolve): Correct cr save location. Delete nops
11954 after bl when SHARED. Reduce cfi size a little by better
11955 placement of cfi directives.
11956 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11957 make a stack frame. Instead use parm save area as a temp.
11958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11959 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11961 Don't make a stack frame for parent, use parm save area.
11962 Increase child stack frame to 112 bytes. Don't save unused reg,
11963 and adjust reg usage. Set up cfi on error recovery and
11964 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11966 (__makecontext): Add dummy nop after jump to exit.
11967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11968 Use correct parm save area and cr save, reduce stack frame.
11969 Correct cfi for possible PSEUDO_RET frame setup.
11970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11971 Branch to local label emitted by PSEUDO_RET rather than
11974 2010-08-12 Andreas Schwab <schwab@redhat.com>
11977 * locale/programs/locale.c (print_assignment): New function.
11978 (show_locale_vars): Use it.
11980 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11982 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11984 (struct statfs64): Likewise.
11985 (_STATFS_F_FLAGS): Define.
11986 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11987 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11988 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11989 (ST_VALID): Define locally.
11990 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11991 __statvfs_getflags, use the provided value.
11992 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11993 __ASSUME_STATFS_F_FLAGS.
11995 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11997 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11998 Add sys/fanotify.h.
11999 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12000 fanotify_mask for GLIBC_2.13.
12001 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12002 fanotify_init and fanotify_mark.
12003 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12004 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12006 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12008 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12009 prlimit64 for GLIBC_2.13.
12010 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12012 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12015 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12016 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12017 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12018 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12020 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12023 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12024 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12026 * nss/Makefile: Add rules to build and run tst-nss-test1.
12027 * shlib-versions: Add entry for libnss_test1.
12028 * nss/nss_test1.c: New file.
12029 * nss/tst-nss-test1.c: New file.
12031 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12032 (__nss_configure_lookup): Set appropriate entry in
12033 __nss_configure_lookup to true.
12034 * nss/nsswitch.h: Define enum with indeces of databases in
12035 databases and __nss_database_custom arrays. Declare
12036 __nss_database_custom.
12037 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12038 to avoid using nscd when custom rules are installed.
12039 * nss/getXXbyYY_r.c: Likewise.
12040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12042 * nss/nss_files/files-parse.c: Whitespace fixes.
12044 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12047 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12048 * posix/fnmatch_loop.c: Likewise.
12050 2010-07-17 Andi Kleen <ak@linux.intel.com>
12052 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12053 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12054 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12055 * Versions.def [GLIBC_2.13]: Add.
12057 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12059 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12060 Also fail if tpwd after pwuid call is NULL.
12062 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12064 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12065 when converting to ms.
12067 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12069 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12070 EOPNOTSUPP errors with ENOTTY.
12071 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12072 EOPNOTSUPP errors with ENOTTY.
12074 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12076 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12077 Add strcasecmp_l-ssse3.
12078 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12080 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12081 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12082 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12084 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12086 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12088 * string/Makefile (strop-tests): Add strcasecmp.
12089 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12090 strcasecmp_l-nonascii.
12091 (gen-as-const-headers): Add locale-defines.sym.
12092 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12093 * sysdeps/x86_64/strcasecmp.S: New file.
12094 * sysdeps/x86_64/strcasecmp_l.S: New file.
12095 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12096 * sysdeps/x86_64/locale-defines.sym: New file.
12097 * string/test-strcasecmp.c: New file.
12099 * string/test-strcasestr.c: Test both ends of the range of characters.
12100 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12102 2010-07-29 Roland McGrath <roland@redhat.com>
12105 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12107 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12109 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12112 2010-07-27 Andreas Schwab <schwab@redhat.com>
12114 * manual/memory.texi (Malloc Tunable Parameters): Document
12117 2010-07-26 Roland McGrath <roland@redhat.com>
12120 * configure.in (-fgnu89-inline check): Set and substitute
12121 gnu89_inline, not libc_cv_gnu89_inline.
12122 * configure: Regenerated.
12123 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12125 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12127 * string/test-strnlen.c: New file.
12128 * string/Makefile (strop-tests): Add strnlen.
12129 * string/tester.c (test_strnlen): Add a few more test cases.
12130 * string/tst-strlen.c: Better error reporting.
12132 * sysdeps/x86_64/strnlen.S: New file.
12134 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12136 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12137 lower-latency instructions.
12139 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12141 * string/test-strcasestr.c: New file.
12142 * string/test-strstr.c: New file.
12143 * string/Makefile (strop-tests): Add strstr and strcasestr.
12144 * string/str-two-way.h: Don't undefine MAX.
12145 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12147 2010-07-21 Andreas Schwab <schwab@redhat.com>
12149 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12150 strcasestr-nonascii.
12151 (CFLAGS-strcasestr-nonascii.c): Define.
12152 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12153 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12154 Remove unused attribute.
12156 2010-07-20 Roland McGrath <roland@redhat.com>
12158 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12159 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12160 ld.so.cache was broken. With it, there is no way to disable dsocaps
12161 like LD_HWCAP_MASK can disable hwcaps.
12163 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12165 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12167 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12169 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12170 call in strcasestr.
12171 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12172 __strcasestr_sse42_nonascii.
12173 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12174 strcasestr-nonascii.c.
12175 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12177 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12179 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12180 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12181 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12182 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12184 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12186 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12189 2010-07-06 Andreas Schwab <schwab@redhat.com>
12192 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12195 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12197 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12198 _PC_PIPE_BUF using F_GETPIPE_SZ.
12200 2010-07-05 Roland McGrath <roland@redhat.com>
12202 * manual/arith.texi (Rounding Functions): Fix rint description
12203 implicit in round description.
12205 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12207 * elf/Makefile: Fix linking for a few tests to make recent linker
12210 2010-06-30 Andreas Schwab <schwab@redhat.com>
12212 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12213 $(common-objpfx)libc_nonshared.a.
12215 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12217 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12218 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12219 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12220 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12221 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12222 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12223 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12224 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12239 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12240 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12241 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12242 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12243 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12244 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12245 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12246 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12247 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12248 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12249 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12250 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12266 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12268 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12269 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12270 * string/memmove.c (memmove): Renamed to ...
12271 (MEMMOVE): ...this. Default to memmove.
12272 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12273 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12275 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12276 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12277 mempcpy-ssse3-back memmove-ssse3-back.
12278 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12279 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12280 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12281 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12282 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12283 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12284 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12285 * sysdeps/x86_64/multiarch/memmove.c: New file.
12286 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12287 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12288 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12289 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12290 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12291 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12293 (index_Fast_Copy_Backward): Define.
12294 (HAS_ARCH_FEATURE): Define.
12295 (HAS_FAST_REP_STRING): Define.
12296 (HAS_FAST_COPY_BACKWARD): Define.
12298 2010-06-21 Andreas Schwab <schwab@redhat.com>
12300 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12301 Restore proper fallback handling.
12303 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12306 * posix/group_member.c (__group_member): Correct checking loop.
12308 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12309 OOM in getpwuid_r correctly. Return error number when the caller
12310 should return, otherwise -1.
12311 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12312 call returning > 0 value.
12313 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12315 2010-06-07 Andreas Schwab <schwab@redhat.com>
12317 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12318 libc_nonshared.a from targets in modules-names.
12320 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12322 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12325 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12327 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12328 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12329 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12332 2010-06-02 Andreas Schwab <schwab@redhat.com>
12334 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12336 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12338 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12345 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12347 2010-06-14 Roland McGrath <roland@redhat.com>
12349 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12351 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12353 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12354 __REDIRECT followed by __THROW.
12355 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12356 * posix/getopt.h (getopt): Likewise.
12358 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12360 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12361 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12362 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12364 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12365 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12367 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12369 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12371 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12374 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12375 Properly check family and model.
12377 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12379 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12381 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12383 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12385 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12387 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12390 2010-05-19 Andreas Schwab <schwab@redhat.com>
12392 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12395 2010-05-21 Andreas Schwab <schwab@redhat.com>
12397 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12398 and internal_recvmmsg.
12399 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12400 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12401 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12402 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12404 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12405 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12406 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12408 2010-05-20 Andreas Schwab <schwab@redhat.com>
12410 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12412 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
12414 POWER7 optimizations.
12415 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12416 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12418 2010-05-19 Ulrich Drepper <drepper@redhat.com>
12420 * version.h: Update for 2.13 development version.
12422 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
12424 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12425 exceptions. Return 0.
12427 2010-05-07 Roland McGrath <roland@redhat.com>
12429 * elf/ldconfig.c (main): Add a const.
12431 2010-05-06 Ulrich Drepper <drepper@redhat.com>
12433 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12434 (args_options): Add no-idn option.
12435 (ahosts_keys_int): Add idn_flags to ai_flags.
12436 (parse_option): Handle 'i' option to clear idn_flags.
12438 * malloc/malloc.c (_int_free): Possible race in the most recently
12439 added check. Only act on the data if no current modification
12442 See ChangeLog.17 for earlier changes.