1 2012-05-01 Joseph Myers <joseph@codesourcery.com>
5 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6 comparisons to determine direction to adjust input.
7 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
8 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
9 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20 * math/libm-test.inc (nexttoward_test): Add more tests.
22 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
25 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26 in version GLIBC_2.1, not GLIBC_2.0.
27 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30 2012-04-30 Joseph Myers <joseph@codesourcery.com>
33 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
36 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37 * math/libm-test.inc (acos_test): Add more tests.
38 (asin_test): Likewise.
39 * sysdeps/i386/fpu/libm-test-ulps: Update.
40 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47 * math/libm-test.inc (acos_test_tonearest): New function.
48 (acos_test_towardzero): Likewise.
49 (acos_test_downward): Likewise.
50 (acos_test_upward): Likewise.
51 (asin_test_tonearest): Likewise.
52 (asin_test_towardzero): Likewise.
53 (asin_test_downward): Likewise.
54 (asin_test_upward): Likewise.
55 (main): Call the new functions.
56 * sysdeps/i386/fpu/libm-test-ulps: Update.
57 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61 * math/e_exp10.c: Include <float.h>.
62 (__ieee754_exp10): Handle underflow here rather than multiplying
63 large negative argument by M_LN10.
64 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66 * math/e_exp10l.c: Include <float.h>.
67 (__ieee754_exp10l): Handle underflow here rather than multiplying
68 large negative argument by M_LN10l.
69 * math/libm-test.inc (exp10_test): Add another test. Do not allow
70 spurious overflow exception on underflow.
72 2012-04-29 Marek Polacek <polacek@redhat.com>
74 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
75 (__fortify_function): New macro.
76 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
77 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78 __extern_always_inline.
79 * libio/bits/stdio2.h: Likewise.
80 * libio/bits/stdio.h: Likewise.
81 * string/string.h: Likewise.
82 * string/bits/string3.h: Likewise.
83 * include/stdio.h: Likewise.
84 * stdlib/bits/stdlib.h: Likewise.
85 * stdlib/stdlib.h: Likewise.
86 * rt/bits/mqueue2.h: Likewise.
87 * rt/mqueue.h: Likewise.
88 * posix/bits/unistd.h: Likewise.
89 * posix/unistd.h: Likewise.
90 * io/bits/poll2.h: Likewise.
91 * io/bits/fcntl2.h: Likewise.
92 * io/fcntl.h: Likewise.
93 * io/sys/poll.h: Likewise.
94 * misc/bits/syslog.h: Likewise.
95 * misc/bits/syslog-ldbl.h: Likewise.
96 * misc/sys/syslog.h: Likewise.
97 * socket/bits/socket2.h: Likewise.
98 * socket/sys/socket.h: Likewise.
99 * debug/tst-chk1.c: Likewise.
100 * wcsmbs/bits/wchar2.h: Likewise.
101 * wcsmbs/bits/wchar-ldbl.h: Likewise.
102 * wcsmbs/wchar.h: Likewise.
104 2012-04-29 Andreas Jaeger <aj@suse.de>
106 * Makerules (tests): Remove enable-check-abi protection.
107 (check-abi-warn): Remove.
108 (check-abi-%): Remove check-abi-warn usage.
110 * configure.in: Remove check-abi configure option.
111 * configure: Regenerated.
112 * config.make.in (enable-check-abi): Remove.
114 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
117 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
118 double functions to double *_finite functions.
121 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
122 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
124 * stdio-common/Makefile (tests): Add tst-sprintf3.
125 * stdio-common/tst-sprintf3.c: New file.
127 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
128 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
130 2012-04-28 Joseph Myers <joseph@codesourcery.com>
132 * conform/conformtest.pl: Remove duplicate typed-constant
135 2012-04-28 David S. Miller <davem@davemloft.net>
137 * Makerules (%.abilist): Add vpath on sysdep_dirs.
138 (check-abi-%): Remove AWK script prerequisite and explicit
140 (check-abi): Rewrite to just diff the symlist with the abilist.
141 (config-tls, config-abi-config): Delete, no longer used.
142 (update-abi-%): Remove AWK script and explicit abilist directory.
143 (update-abi): Rewrite to simply compare and conditionally copy the
144 symlist and the sysdep abilist file. Remove update-abi-config
146 * abilist/ld.abilist: Remove.
147 * abilist/libBrokenLocale.abilist: Remove.
148 * abilist/libanl.abilist: Remove.
149 * abilist/libcrypt.abilist: Remove.
150 * abilist/libdl.abilist: Remove.
151 * abilist/librt.abilist: Remove.
152 * abilist/libthread_db.abilist: Remove.
153 * abilist/libutil.abilist: Remove.
154 * scripts/extract-abilist.awk: Remove.
155 * scripts/merge-abilist.awk: Remove.
156 * sysdeps/generic/libcidn.abilist: New file.
157 * sysdeps/generic/libnss_compat.abilist: New file.
158 * sysdeps/generic/libnss_db.abilist: New file.
159 * sysdeps/generic/libnss_dns.abilist: New file.
160 * sysdeps/generic/libnss_files.abilist: New file.
161 * sysdeps/generic/libnss_hesiod.abilist: New file.
162 * sysdeps/generic/libnss_nis.abilist: New file.
163 * sysdeps/generic/libnss_nisplus.abilist: New file.
164 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
165 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
166 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
168 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
169 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
170 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
171 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
172 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
173 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
174 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
175 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
176 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
178 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
179 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
180 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
181 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
183 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
184 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
185 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
186 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
187 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
188 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
190 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
191 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
192 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
194 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
195 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
197 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
199 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
201 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
203 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
205 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
207 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
209 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
211 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
213 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
215 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
217 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
219 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
270 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
273 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
277 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
285 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
293 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
297 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
298 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
299 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
302 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
303 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
304 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
305 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
306 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
307 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
308 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
309 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
310 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
314 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
324 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
326 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
334 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
343 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
351 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
355 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
359 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
362 2012-04-28 Joseph Myers <joseph@codesourcery.com>
364 * conform/conformtest.pl: Fix typo in handling typed-constant from
367 2012-04-27 Joseph Myers <joseph@codesourcery.com>
369 * README: Cut down references to pre-2.6 Linux kernels and
370 Linuxthreads. Update lists of configurations in libc and ports
371 and sort alphabetically. Say "or newer" with Linux kernel version
374 * config.h.in [IS_IN_build]: Allow compiling without optimization.
376 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
379 * math/libm-test.inc (logb_test_downward): New test to expose
380 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
383 2012-04-27 Joseph Myers <joseph@codesourcery.com>
386 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
388 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
389 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
391 2012-04-26 Joseph Myers <joseph@codesourcery.com>
393 * sysdeps/unix/i386/brk.S: Remove file.
394 * sysdeps/unix/i386/dl-brk.S: Likewise.
395 * sysdeps/unix/i386/pipe.S: Likewise.
396 * sysdeps/unix/i386/sigreturn.S: Likewise.
397 * sysdeps/unix/i386/syscall.S: Likewise.
398 * sysdeps/unix/i386/vfork.S: Likewise.
399 * sysdeps/unix/i386/wait.S: Likewise.
401 * sysdeps/unix/common/tcsendbrk.c: Move to ...
402 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
404 * configure.in (arm*-none*): Do not allow without
405 --enable-hacker-mode.
406 (netbsd*): Remove case setting base_os.
408 (freebsd*): Likewise.
423 (solaris[2-9]*): Likewise.
425 * configure: Regenerated.
427 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
430 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
431 overflow or cancellation in calculating denominator.
432 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
434 down expression to avoid unexpected rounding in newer GCCs.
435 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
437 2012-04-26 David S. Miller <davem@davemloft.net>
439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
440 long-double compat symbols.
441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
455 2012-04-25 David S. Miller <davem@davemloft.net>
457 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
458 HWCAP_* values only after the memory barriers have been defined.
459 (atomic_full_barrier): Define.
460 (atomic_read_barrier): Define.
461 (atomic_write_barrier): Define.
463 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
465 * shlib-versions: Add libgcc_s version information.
466 * sysdeps/generic/libgcc_s.h: Remove.
467 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
469 * sysdeps/gnu/unwind-resume.c: Likewise.
470 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
472 2012-04-25 David S. Miller <davem@davemloft.net>
474 * sysdeps/unix/sparc/brk.S: Delete.
475 * sysdeps/unix/sparc/dl-brk.S: Delete.
476 * sysdeps/unix/sparc/pipe.S: Delete.
477 * sysdeps/unix/sparc/sysdep.S: Delete.
478 * sysdeps/unix/sparc/sysdep.h: Delete.
479 * sysdeps/unix/sparc/vfork.S: Delete.
480 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
481 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
482 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
483 ret_ERRVAL, r0, r1, MOVE): Define.
484 (JUMPTARGET): Remove.
485 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
486 sysdeps/unix/sparc/sysdep.h
487 (ENTRY, END): Remove.
488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
490 2012-04-25 Joseph Myers <joseph@codesourcery.com>
492 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
493 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
496 * timezone/README: Update upstream location and email address for
498 * timezone/zdump.c: Update from tzcode 2012b.
499 * timezone/zic.c: Likewise.
501 * configure.in (libc_cv_as_needed): Remove test.
502 * configure: Regenerated.
503 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
504 conditional definition.
505 [$(have-as-needed) != yes] (no-as-needed): Likewise.
506 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
507 * config.make.in (have-as-needed): Remove variable.
509 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
510 Paul Pluzhnikov <ppluzhnikov@google.com>
512 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
515 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
517 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
518 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
519 * sysdeps/sh/strlen.S: Likewise.
521 2012-04-24 Joseph Myers <joseph@codesourcery.com>
523 * sysdeps/unix/fork.S: Remove file.
524 * sysdeps/unix/i386/fork.S: Likewise.
525 * sysdeps/unix/sparc/fork.S: Likewise.
527 * sysdeps/unix/system.c: Remove file.
528 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
530 * sysdeps/unix/getegid.S: Remove file.
531 * sysdeps/unix/geteuid.S: Likewise.
533 2012-04-24 Roland McGrath <roland@hack.frob.com>
535 * scripts/check-localplt.awk: New file.
536 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
538 * scripts/data/localplt-generic.data: Add a comment.
540 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
541 NODE when __dir_mkfile failed.
542 * sysdeps/mach/hurd/symlinkat.c: Likewise.
543 Reported by Ludovic Courtès <ludo@gnu.org>.
545 2012-04-24 Andreas Jaeger <aj@suse.de>
547 * Makerules (common-clean): Also remove gen-as-const-headers
550 2012-04-24 Joseph Myers <joseph@codesourcery.com>
552 * Makerules (native-compile): Do not change working directory for
553 build. Use $(OUTPUT_OPTION) in command.
554 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
556 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
559 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
560 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
561 * math/libm-test.inc (floor_test): Add more tests.
562 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
564 2012-04-24 Joseph Myers <joseph@codesourcery.com>
566 * sysdeps/unix/getdents.c: Remove file.
567 * sysdeps/unix/sysv/getdents.c: Likewise.
568 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
570 * sysdeps/unix/syscalls.list (madvise): Add syscall from
571 sysdeps/unix/mman/syscalls.list.
573 (mprotect): Likewise.
576 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
577 * sysdeps/unix/mman/syscalls.list: Remove.
578 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
580 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
581 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
582 * configure: Regenerated.
583 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
585 * config.make.in (libgcc_s_suffix): Remove variable.
587 2012-04-23 Joseph Myers <joseph@codesourcery.com>
589 * sysdeps/unix/sysv/gethostname.c: Move to ...
590 * sysdeps/posix/gethostname.c: ... here.
592 * sysdeps/unix/execve.S: Remove file.
594 * sysdeps/unix/_exit.S: Remove file.
596 2012-04-23 Andreas Jaeger <aj@suse.de>
599 * manual/Makefile: Remove make dist support, there's no
600 need for a stand-alone documentation tar ball.
601 (TEXI2DVI): Define always, it's not in Makeconfig.
605 (glibc-doc-$(edition).tar): Removed
609 (ETAGS): Remove, it's in Makeconfig.
610 (move-if-change): Remove, it's in Makeconfig.
612 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
615 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
616 (strtod, strtof, strtold, strtol, strtoul, strtoq)
617 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
618 (strtod_l, strtof_l, strtold_l): Remove __wur.
619 It is not necessarily an error to ignore strtol's return value.
620 One can reliably look at the stored endptr to decide whether
621 the number had valid syntax.
623 2012-04-21 Andreas Jaeger <aj@suse.de>
626 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
628 2012-04-21 Joseph Myers <joseph@codesourcery.com>
630 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
631 * sysdeps/unix/sysv/Versions: Remove file.
633 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
638 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
641 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
644 2012-04-20 Joseph Myers <joseph@codesourcery.com>
646 * sysdeps/unix/common/lxstat.c: Remove file.
647 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
649 * sysdeps/unix/sysv/Makefile: Remove file.
651 * sysdeps/unix/sysv/direct.h: Remove file.
653 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
654 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
655 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
656 * sysdeps/unix/sysv/bits/signum.h: Likewise.
657 * sysdeps/unix/sysv/bits/stat.h: Likewise.
658 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
659 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
661 * sysdeps/unix/sysv/setrlimit.c: Remove file.
663 * sysdeps/unix/xmknod.c: Remove file.
664 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
666 * sysdeps/unix/sysv/settimeofday.c: Remove file.
668 * sysdeps/unix/sysv/i386/time.S: Remove file.
670 * sysdeps/unix/fxstat.c: Remove file.
671 * sysdeps/unix/xstat.c: Likewise.
672 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
674 * sysdeps/unix/sysv/sigaction.c: Remove file.
676 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
677 (sysdep_headers): Remove variable.
678 [termio.h not in sysdep_headers] (generated): Likewise.
679 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
680 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
681 * sysdeps/unix/sysv/tcdrain.c: Likewise.
682 * sysdeps/unix/sysv/tcflow.c: Likewise.
683 * sysdeps/unix/sysv/tcflush.c: Likewise.
684 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
685 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
686 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
687 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
688 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
690 * sysdeps/unix/siglist.c: Remove file.
692 * sysdeps/unix/getppid.S: Remove file.
694 * sysdeps/unix/mkdir.c: Remove file.
695 * sysdeps/unix/rmdir.c: Likewise.
697 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
699 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
701 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
702 errlist-compat value.
704 2012-04-18 David S. Miller <davem@davemloft.net>
706 * sysdeps/generic/memcopy.h (reg_char): Delete.
707 * debug/strcat_chk.c: Use char, not reg_char.
708 * debug/strcpy_chk.c: Likewise.
709 * debug/strncat_chk.c: Likewise.
710 * debug/strncpy_chk.c: Likewise.
711 * string/memchr.c: Likewise.
712 * string/memrchr.c: Likewise.
713 * string/rawmemchr.c: Likewise.
714 * string/strcat.c: Likewise.
715 * string/strchr.c: Likewise.
716 * string/strchrnul.c: Likewise.
717 * string/strcmp.c: Likewise.
718 * string/strcpy.c: Likewise.
719 * string/strncat.c: Likewise.
720 * string/strncmp.c: Likewise.
721 * string/strncpy.c: Likewise.
723 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
725 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
726 __builtin_memcopy is called when src and dest ranges are known to not
729 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
731 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
732 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
733 fwd_align_merge macro call.
734 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
735 bwd_align_merge macro call.
736 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
738 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
740 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
741 bwd_align_merge macros.
742 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
743 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
744 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
746 2012-04-18 David S. Miller <davem@davemloft.net>
748 * sysdeps/sparc/sparc64/memcopy.h: Delete.
750 2012-04-18 Andreas Jaeger <aj@suse.de>
753 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
754 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
755 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
757 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
758 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
759 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
761 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
762 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
763 Adjust for changed ldbl-128 files.
765 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
766 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
767 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
769 2012-04-17 David S. Miller <davem@davemloft.net>
771 * sysdeps/sparc/sparc32/memcopy.h: Delete.
773 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
775 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
776 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
777 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
778 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
779 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
780 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
782 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
785 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
786 * math/libm-test.inc: Add ilogb errno and exception tests.
787 * math/w_ilogb.c: New file: ilogb wrapper.
788 * math/w_ilogbf.c: New file: ilogbf wrapper.
789 * math/w_ilogbl.c: New file: ilogbl wrapper.
790 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
791 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
792 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
793 exception being thrown with 0.0 as argument.
794 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
795 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
796 exception being thrown with 0.0 as argument.
797 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
798 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
799 exception being thrown with 0.0 as argument.
800 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
801 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
802 exception being thrown with 0.0 as argument.
803 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
804 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
805 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
806 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
807 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
808 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
809 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
810 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
811 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
813 2012-04-17 Petr Baudis <pasky@ucw.cz>
815 * include/sys/uio.h: Change __vector to __iovec to avoid clash
818 2012-04-16 Marek Polacek <polacek@redhat.com>
820 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
822 2012-04-16 Marek Polacek <polacek@redhat.com>
824 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
825 operands of fdivp instruction.
827 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
829 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
830 * elf/tst-auditmod3b.c: Likewise.
831 * elf/tst-auditmod4b.c: Likewise.
832 * elf/tst-auditmod5b.c: Likewise.
833 * elf/tst-auditmod6b.c: Likewise.
834 * elf/tst-auditmod6c.c: Likewise.
835 * elf/tst-auditmod7b.c: Likewise.
836 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
837 * sysdeps/x86_64/preconfigure.in: Likewise.
838 * sysdeps/x86_64/preconfigure: Regenerated.
840 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
842 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
845 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
847 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
848 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
850 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
853 * locale/iso-639.def: Fix gl language name. Spotted by
856 2012-04-12 Roland McGrath <roland@hack.frob.com>
859 * libio/libio.h (__io_write_fn): Update comment.
861 2012-04-12 Petr Baudis <pasky@ucw.cz>
864 * stdio.texi (Hook Functions): The user provided writer function
865 is not allowed to return -1.
867 2012-04-11 David S. Miller <davem@davemloft.net>
869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
871 2012-04-11 Mike Frysinger <vapier@gentoo.org>
873 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
874 Add a leading slash to rtkaio.
876 2012-04-11 Jim Meyering <meyering@redhat.com>
879 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
880 It is not necessarily an error to ignore fwrite's return
881 value. One can reliably use ferror to test for errors after
884 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
886 * bits/types.h (__snseconds_t): New type.
887 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
889 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
891 (__SNSECONDS_T_TYPE): Likewise.
892 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
893 (__SNSECONDS_T_TYPE): Likewise.
894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
895 (__SNSECONDS_T_TYPE): Likewise.
897 2012-04-10 Andreas Jaeger <aj@suse.de>
900 * manual/time.texi (Processor Time): Return type of times is
901 elapsed real time since an arbitrary point in the past.
902 (CPU Time): Move CLK_TCK from here...
903 (Processor Time): ...to here. Correct description.
904 * manual/conf.texi (Constants for Sysconf): Correct description of
907 2012-04-10 David S. Miller <davem@davemloft.net>
910 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
911 where the is a gap between DT_REL(A) and DT_JMPREL.
913 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
915 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
916 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
917 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
919 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
921 * elf/dl-support.c (_dl_inhibit_cache): New variable.
922 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
923 (dl_main): Handle --inhibit-cache.
924 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
926 * elf/dl-load.c (_dl_map_object): Use it.
927 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
929 2012-04-09 Joseph Myers <joseph@codesourcery.com>
932 * sysdeps/i386/fpu/e_powl.S (p78): New object.
933 (__ieee754_powl): Saturate large exponents rather than testing for
934 overflow of y*log2(x).
935 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
936 * math/libm-test.inc (pow_test): Do not permit spurious overflow
940 * math/s_ctan.c: Include <float.h>.
941 (__ctan): Avoid internal overflow or cancellation in calculating
943 * math/s_ctanf.c: Likewise.
944 * math/s_ctanl.c: Likewise.
945 * math/s_ctanh.c: Likewise.
946 * math/s_ctanhf.c: Likewise.
947 * math/s_ctanhl.c: Likewise.
948 * math/libm-test.inc (ctan_test): Add more tests.
949 (ctanh_test): Likewise.
950 * sysdeps/i386/fpu/libm-test-ulps: Update.
951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
953 2012-04-09 Andreas Jaeger <aj@suse.de>
956 * manual/filesys.texi (Directory Entries): Mention that d_namlen
957 is an optional BSD extension.
960 * manual/stdio.texi (Opening Streams): Document additional fopen
963 2012-04-09 Roland McGrath <roland@hack.frob.com>
965 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
966 %eax without telling the compiler.
968 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
971 * manual/install.texi: Use sourceware.org.
973 2012-04-09 Joseph Myers <joseph@codesourcery.com>
976 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
977 (__ieee754_pow): Generate overflow and underflow using huge*huge
978 and tiny*tiny rather than just returning constant infinity or zero
980 * math/libm-test.inc (pow_test): Require overflow exceptions for
981 applicable cases of large exponents.
984 * sysdeps/i386/fpu/e_pow.S (p10): New object.
985 (__ieee754_pow): Use iterative multiplication algorithm only for
986 integer exponents with absolute value below 1024. Check for odd
987 integer exponents when using algorithm for real exponents.
988 * math/libm-test.inc (pow_test): Add more tests.
989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
991 2012-04-08 Joseph Myers <joseph@codesourcery.com>
994 * math/libm-test.inc (exp_test): Do not allow overflow exception
997 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1000 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1001 instead of __kernel_standard_f.
1003 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1005 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1006 * sysdeps/x86_64/memset_chk.S: Likewise.
1008 2012-04-08 Andreas Jaeger <aj@suse.de>
1011 * manual/startup.texi (Environment Access): Describe return value
1012 for putenv and setenv.
1015 * manual/filesys.texi (Directory Entries): Add description for
1019 * manual/filesys.texi (Directory Entries): Clarify that it's file
1020 system not operating system in the description of DT_UNKNOWN.
1023 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1025 2012-04-08 Stephen Compall <s11@member.fsf.org>
1028 * manual/llio.texi (Opening and Closing Files): Add cross
1029 reference to explain mode argument.
1031 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1033 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1034 * sysdeps/x86_64/memset_chk.S: Likewise.
1036 2012-04-07 David S. Miller <davem@davemloft.net>
1038 * elf/elf.h (R_SPARC_WDISP10): Define.
1039 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1041 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1042 R_SPARC_SIZE64 and R_SPARC_H34.
1044 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1046 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1047 conditions and remove no longer applicable assertion.
1049 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1051 * bits/byteswap.h: Include <features.h>.
1052 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1053 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1055 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1057 * bits/byteswap.h (__bswap_16): Removed.
1058 Include <bits/byteswap-16.h> to get __bswap_16.
1059 * sysdeps/i386/bits/byteswap.h: Likewise.
1060 * sysdeps/s390/bits/byteswap.h: Likewise.
1061 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1062 * bits/byteswap-16.h: New file.
1063 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1064 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1065 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1066 * string/Makefile (headers): Add bits/byteswap-16.h.
1068 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1071 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1073 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1074 * nss/tst-nss-static.c: New.
1076 2012-04-06 Robert Millan <rmh@gnu.org>
1079 * manual/llio.texi (File Position Primitive): lseek
1080 refers to WHENCE when it really means OFFSET.
1082 2012-04-06 Andreas Jaeger <aj@suse.de>
1084 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1085 strncmp declarations.
1087 * abilist/libc.abilist: Add __poll and __ppoll.
1089 2012-04-05 David S. Miller <davem@davemloft.net>
1091 * scripts/check-local-headers.sh: Accept a host triplet in the
1092 path matched by the exclude regexp.
1094 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1096 * sysdeps/powerpc/powerpc32/dl-machine.h
1097 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1098 * sysdeps/s390/s390-32/dl-machine.h
1099 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1100 * sysdeps/sparc/sparc32/dl-machine.h
1101 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1102 * sysdeps/sparc/sparc64/dl-machine.h
1103 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1105 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1107 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1108 undefined symbol errors.
1110 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1113 2012-04-05 Michael Matz <matz@suse.de>
1116 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1118 2012-04-05 Andreas Jaeger <aj@suse.de>
1121 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1124 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1126 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1127 which ROUND is no valid rounding mode.
1129 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1131 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1133 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1135 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1137 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1138 an exception using FPU order intentionally.
1140 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1142 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1143 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1144 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1145 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1147 2012-04-05 Simon Josefsson <simon@josefsson.org>
1150 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1151 EINVAL when BUFLEN is too smal.
1153 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1156 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1157 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1159 2012-04-03 Andreas Jaeger <aj@suse.de>
1162 * manual/setjmp.texi (System V contexts): Fix sentence.
1165 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1166 New macro for this case.
1167 [!__GNUC__] (__bswap_64): New inline function for this case.
1168 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1169 * bits/byteswap.h: Likewise.
1170 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1171 ull, guard with __GLIBC_HAVE_LONG_LONG.
1173 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1174 __GLIBC_HAVE_LONG_LONG.
1176 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1177 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1179 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1182 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1183 inptr and inend, rather than using last_ch.
1185 2012-04-02 David S. Miller <davem@davemloft.net>
1187 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1188 * stdio-common/printf-parse.h (read_int): Change return type to
1189 'int', return -1 on INT_MAX overflow.
1190 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1191 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1192 overflows INT_MAX. Check for overflow of in-format-string precision
1193 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1194 SIZE_MAX not INT_MAX for integer overflow test.
1195 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1196 skip the construct in the format string but do not record anything.
1197 * stdio-common/bug22.c: Adjust to test both width/prevision
1198 INT_MAX overflow as well as total length INT_MAX overflow. Check
1199 explicitly for proper errno values.
1201 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1203 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1205 * string/test-strcmp.c [! WIDE]: Likewise.
1206 * time/tst-mktime2.c: Likewise for INT_MAX.
1207 * string/test-string.h: #include <sys/param.h> for MIN.
1209 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1210 * sysdeps/i386/init-first.c (init): Likewise.
1211 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1212 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1213 * sysdeps/sh/init-first.c (init): Likewise.
1215 2012-04-01 Ulrich Drepper <drepper@gmail.com>
1217 * po/ru.po: Update from translation team.
1218 * po/vi.po: Likewise.
1220 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1222 * resolv/nss_dns/dns-host.c: Merge copyright years.
1224 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1226 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1227 Optimize memcpy with prefetch if
1228 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1229 src, dst pointers have unequal 16 byte alignments.
1231 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1234 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1235 from a CNAME entry and return the minimum ttl for the query.
1236 (gaih_getanswer_slice): Likewise.
1238 2012-03-30 Jeff Law <law@redhat.com>
1240 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1242 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1243 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1245 * resolv/nss_dns/dns-host.c: Update copyright year.
1247 2012-03-30 Ulrich Drepper <drepper@gmail.com>
1249 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1250 requests to save a system call. Fix check that all bytes are sent.
1252 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1253 comments for sendmmsg.
1255 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1258 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1259 with only 1 character between 0x0041 and 0x01b0.
1260 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1261 * wcsmbs/tst-mbsnrtowcs.c: New file.
1263 2012-03-29 David S. Miller <davem@davemloft.net>
1265 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1266 small copies by hand.
1268 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1271 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1272 _nss_compat_initgroups_dyn): Fall back to malloc/free
1273 for large group memberships.
1275 2012-03-28 David S. Miller <davem@davemloft.net>
1277 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1278 that branches into memcpy.
1279 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1280 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1281 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1282 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1285 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1287 * sysdeps/sparc/mempcpy.S: New file.
1289 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1290 the IFUNC routine in the libc case.
1291 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1293 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1294 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1295 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1296 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1297 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1298 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1299 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1300 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1302 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1303 loop to 256 bytes instead of 64 bytes and fix test signedness.
1305 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1306 * sysdeps/sparc/sparc32/Makefile: rather than here...
1307 * sysdeps/sparc/sparc64/Makefile: and here.
1309 2012-03-28 Ulrich Drepper <drepper@gmail.com>
1311 * malloc/mallocbug.c: Avoid warnings about unused variables.
1313 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1316 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1317 in the right place. Discard and retry query if response is
1318 larger than input buffer size.
1320 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1325 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1326 x for large integer exponent.
1327 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1328 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1329 sign of result as needed afterwards.
1330 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1331 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1332 result for underflowing pow the same as for overflow.
1333 (__kernel_standard_l): Handle powl overflow and underflow here
1334 rather than calling __kernel_standard.
1335 * math/libm-test.inc (pow_test): Add more tests.
1350 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1351 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1352 (__kernel_standard_l): New function.
1353 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1355 * math/w_acosl.c (__acosl): Likewise.
1356 * math/w_asinl.c (__asinl): Likewise.
1357 * math/w_atan2l.c (__atan2l): Likewise.
1358 * math/w_atanhl.c (__atanhl): Likewise.
1359 * math/w_coshl.c (__coshl): Likewise.
1360 * math/w_exp10l.c (__exp10l): Likewise.
1361 * math/w_exp2l.c (__exp2l): Likewise.
1362 * math/w_fmodl.c (__fmodl): Likewise.
1363 * math/w_hypotl.c (__hypotl): Likewise.
1364 * math/w_j0l.c (__j0l, __y0l): Likewise.
1365 * math/w_j1l.c (__j1l, __y1l): Likewise.
1366 * math/w_jnl.c (__jnl, __ynl): Likewise.
1367 * math/w_lgammal.c (__lgammal): Likewise.
1368 * math/w_log10l.c (__log10l): Likewise.
1369 * math/w_log2l.c (__log2l): Likewise.
1370 * math/w_logl.c (__logl): Likewise.
1371 * math/w_powl.c (__powl): Likewise.
1372 * math/w_remainderl.c (__remainderl): Likewise.
1373 * math/w_scalbl.c (sysv_scalbl): Likewise.
1374 * math/w_sinhl.c (__sinhl): Likewise.
1375 * math/w_sqrtl.c (__sqrtl): Likewise.
1376 * math/w_tgammal.c (__tgammal): Likewise.
1377 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1378 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1379 * math/libm-test.inc (acos_test): Add more tests.
1380 (acosh_test): Likewise.
1381 (asin_test): Likewise.
1382 (atanh_test): Likewise.
1383 (exp_test): Likewise.
1384 (exp10_test): Likewise.
1385 (exp2_test): Likewise.
1386 (expm1_test): Likewise.
1387 (lgamma_test): Likewise.
1388 (log_test): Likewise.
1389 (log10_test): Likewise.
1390 (log1p_test): Likewise.
1391 (log2_test): Likewise.
1392 (pow_test): Do not allow some spurious overflow exceptions.
1393 (sqrt_test): Add more tests.
1394 (tgamma_test): Likewise.
1395 (y0_test): Likewise.
1396 (y1_test): Likewise.
1397 (yn_test): Likewise.
1399 2012-03-27 Anton Blanchard <anton@samba.org>
1401 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1403 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1404 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1405 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1407 2012-03-27 David S. Miller <davem@davemloft.net>
1409 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1411 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1414 2012-03-27 Andreas Jaeger <aj@suse.de>
1416 * sysdeps/x86_64/elf/configure.in: Moved to ...
1417 * sysdeps/x86_64/configure.in: ... here.
1418 * sysdeps/x86_64/elf/start.S: Moved to ...
1419 * sysdeps/x86_64/start.S: ... here.
1420 * sysdeps/x86_64/elf/configure: Delete.
1422 * sysdeps/x86_64/configure.in: Merge contents from
1423 sysdeps/i386/configure.in (without i686 check).
1425 * sysdeps/i386/elf/Versions: Merge into ...
1426 * sysdeps/i386/Versions: ... this.
1427 * sysdeps/i386/elf/Versions: Delete file.
1428 * sysdeps/i386/elf/start.S: Moved to ...
1429 * sysdeps/i386/start.S: ...here.
1430 * sysdeps/i386/elf/configure.in: Merge into...
1431 * sysdeps/i386/configure.in: ...here.
1432 * sysdeps/i386/elf/configure.in: Delete file.
1433 * sysdeps/i386/elf/configure: Delete file.
1435 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1436 * debug/backtracesyms.c: ... here.
1437 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1438 * debug/backtracesymsfd.c: ... here.
1439 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1440 * sysdeps/generic/ifunc-sel.h: ... here.
1442 * sysdeps/unix/i386/start.c: Delete file.
1443 * sysdeps/unix/sparc/start.c: Delete file.
1444 * sysdeps/unix/start.c: Delete file.
1446 * sysdeps/sh/elf/configure.in: Moved to ...
1447 * sysdeps/sh/configure.in: ... here.
1448 * sysdeps/sh/elf/start.S: Moved to ...
1449 * sysdeps/sh/start.S: ... here.
1450 * sysdeps/sh/elf/configure: Delete file.
1452 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1453 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1454 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1455 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1456 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1457 * sysdeps/powerpc/powerpc64/start.S: here.
1458 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1459 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1460 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1461 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1462 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1464 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1465 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1466 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1467 * sysdeps/powerpc/powerpc32/start.S: ... here.
1468 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1469 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1470 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1472 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1473 * sysdeps/powerpc/ifunc-sel.h: ... here.
1474 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1475 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1477 * sysdeps/sparc/elf/configure.in: Moved to ...
1478 * sysdeps/sparc/configure.in: ... here.
1479 * sysdeps/sparc/elf/configure: Delete file.
1480 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1481 * sysdeps/sparc/sparc32/start.S: ... here.
1482 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1483 * sysdeps/sparc/sparc64/start.S: ... here.
1484 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1485 * sysdeps/sparc/sparc32/Makefile: ... this.
1486 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1487 * sysdeps/sparc/sparc64/Makefile: ... this.
1489 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1490 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1491 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1492 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1493 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1494 * sysdeps/s390/s390-32/setjmp.S: ... here.
1495 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1496 * sysdeps/s390/s390-32/configure.in: ... here.
1497 * sysdeps/s390/s390-32/elf/configure: Delete file.
1498 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1499 * sysdeps/s390/s390-32/start.S: ... here.
1501 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1502 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1503 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1504 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1505 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1506 * sysdeps/s390/s390-64/setjmp.S: ... here.
1507 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1508 * sysdeps/s390/s390-64/configure.in: ... here
1509 * sysdeps/s390/s390-64/elf/configure: Delete file.
1510 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1511 * sysdeps/s390/s390-64/start.S: ... here.
1512 * sysdeps/s390/s390-64/elf/configure: Delete.
1514 * configure.in: Remove support for elf directories in sysdeps.
1516 * configure: Regenerated.
1517 * sysdeps/i386/configure: Regenerated.
1518 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1519 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1520 * sysdeps/s390/s390-32/configure: Regenerated.
1521 * sysdeps/s390/s390-64/configure: Regenerated.
1522 * sysdeps/sh/configure: Regenerated.
1523 * sysdeps/sparc/configure: Regenerated.
1524 * sysdeps/x86_64/configure: Regenerated.
1526 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1530 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1531 denormal result into account.
1533 2012-03-25 Roland McGrath <roland@hack.frob.com>
1535 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1536 Reported by Allan McRae <allan@archlinux.org>.
1538 2012-03-23 Jeff Law <law@redhat.com>
1540 * nss/getnssent.c (__nss_getent): Fix typo.
1542 2012-03-23 David S. Miller <davem@davemloft.net>
1544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1546 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1548 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1549 to pad to uint64_t for each field.
1550 (dl_tls_index): Replace unsigned long with uint64_t.
1552 2012-03-23 Daniel Jacobowitz <dmj@google.com>
1553 Paul Pluzhnikov <ppluzhnikov@google.com>
1556 * grp/Makefile (otherlibs): Don't set it.
1557 * inet/Makefile (otherlibs): Likewise.
1558 * login/Makefile (otherlibs): Likewise.
1559 * nscd/Makefile (otherlibs): Likewise.
1560 * posix/Makefile (otherlibs): Likewise.
1561 * pwd/Makefile (otherlibs): Likewise.
1562 * rt/Makefile (otherlibs): Likewise.
1563 * sunrpc/Makefile (otherlibs): Likewise.
1564 * nss/Makefile (otherlibs): Likewise.
1565 Add libnss_files to routines and static-only-routines.
1566 ($(objpfx)getent): Remove rule.
1567 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1568 static-only-routines.
1570 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1573 * math/s_cexp.c: Include <float.h>.
1574 (__cexp): Handle exp result overflowing not necessarily
1575 overflowing both real and imaginary parts of result.
1576 * math/s_cexpf.c: Likewise.
1577 * math/s_cexpl.c: Likewise.
1578 * math/libm-test.inc (cexp_test): Add more tests.
1579 * sysdeps/i386/fpu/libm-test-ulps: Update.
1580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1582 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1584 * include/link.h (ELFW): New macro.
1585 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1586 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1588 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1590 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1593 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1595 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1597 (struct La_x32_retval): Likewise.
1599 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1601 * sysdeps/x86_64/preconfigure.in: New file.
1602 * sysdeps/x86_64/preconfigure: New generated file.
1604 2012-03-22 Joseph Myers <joseph@codesourcery.com>
1607 * math/e_exp2l.c: Include <float.h>.
1608 (__ieee754_exp2l): Handle overflow and underflow cases
1609 separately. Only pass fractional part of argument to
1611 * math/libm-test.inc (exp2_test): Add more tests.
1613 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1614 negating x to take absolute value.
1615 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1617 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1618 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1620 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1621 computing low part if x was negated.
1622 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1624 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1626 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1628 (pltexit): Cast int_retval to ptrdiff_t.
1629 * elf/tst-auditmod3b.c: Likewise.
1630 * elf/tst-auditmod4b.c: Likewise.
1631 * elf/tst-auditmod5b.c: Likewise.
1632 * elf/tst-auditmod6b.c: Likewise.
1633 * elf/tst-auditmod6c.c: Likewise.
1634 * elf/tst-auditmod7b.c: Likewise.
1636 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1637 and x32_gnu_pltexit.
1639 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1641 (La_x32_regs): New macro.
1642 (La_x32_retval): Likewise.
1643 (la_x32_gnu_pltenter): New function prototype.
1644 (la_x32_gnu_pltexit): Likewise.
1646 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1648 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1651 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1653 * configure.in (libc_cv_cc_nofma): Check for option to disable
1654 generation of FMA instructions.
1655 * configure: Regenerate.
1656 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1657 * sysdeps/ieee754/dbl-64/Makefile: New file.
1658 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1659 Remove brandred-fma4.
1660 (CFLAGS-brandred-fma4.c): Remove.
1661 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1662 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1664 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1667 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1669 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1670 LLONG_MAX != LONG_MAX.
1671 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1672 (_fitoa_word): Likewise.
1673 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1674 LLONG_MAX != LONG_MAX.
1675 * stdio-common/_itowa.h: Include <_itoa.h>.
1676 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1677 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1678 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1679 only if not defined.
1680 (_ITOA_WORD_TYPE): Likewise.
1681 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1682 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1684 2012-03-21 David S. Miller <davem@davemloft.net>
1686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1688 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1690 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1691 of x86_64 when setting libc_cv_slibdir, libdir and
1693 * sysdeps/unix/sysv/linux/configure: Regenerated.
1695 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1697 * manual/lang.texi (Old Varargs): Remove section.
1698 (How Variadic): Update menu.
1699 (va_start): Do not mention varargs.h.
1701 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1702 Joseph Myers <joseph@codesourcery.com>
1704 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1706 * configure: Regenerated.
1708 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1710 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1711 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1714 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1717 * Makefile (files-for-dist): Remove NOTES.
1718 (NOTES): Remove rule.
1719 * README: Don't refer to NOTES.
1720 * manual/creature.texi: Don't include macros.texi.
1721 * manual/intro.texi (creature.texi): Remove comment referring to
1724 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1725 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1726 * configure: Regenerated.
1727 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1729 (libc_cv_as_i686): Likewise.
1730 (libc_cv_cc_avx): Likewise.
1731 (libc_cv_cc_sse2avx): Likewise.
1732 (libc_cv_cc_fma4): Likewise.
1733 (libc_cv_cc_novzeroupper): Likewise.
1734 * sysdeps/i386/configure: Regenerated.
1737 * sysdeps/i386/fpu/s_cexp.S: Remove.
1738 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1739 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1740 * math/libm-test.inc (cexp_test): Add more tests.
1741 * sysdeps/i386/fpu/libm-test-ulps: Update.
1742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1744 2012-03-21 Allan McRae <allan@archlinux.org>
1746 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1748 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1751 * math/w_exp2.c: Do not include <float.h>.
1752 (o_threshold, u_threshold): Remove.
1753 (__exp2): Calculate result before checking finiteness and calling
1755 * math/w_exp2f.c: Likewise.
1756 * math/w_exp2l.c: Likewise.
1757 * math/libm-test.inc (exp2_test): Require overflow exception for
1761 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1762 range of signed 64-bit integers before using fistpll. Remove
1763 checks for whether integers fit in mantissa bits.
1764 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1765 the range of signed 32-bit integers before using fistpl. Remove
1766 checks for whether integers fit in mantissa bits.
1767 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1768 (__ieee754_powl): Test for y outside the range of signed 64-bit
1769 integers before using fistpll. Reduce 64-bit values to 63-bit
1771 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1772 divide-by-zero is raised for zero to large negative powers.
1773 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1774 (__ieee754_powl): Test for y outside the range of signed 64-bit
1775 integers before using fistpll. Reduce 64-bit values to 63-bit
1777 * math/libm-test.inc (pow_test): Add more tests.
1779 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1781 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1782 <stdio-common/_itoa.h>.
1783 * debug/segfault.c: Likewise.
1784 * elf/dl-cache.c: Likewise.
1785 * elf/dl-minimal.c: Likewise.
1786 * elf/dl-misc.c: Likewise.
1787 * elf/dl-sysdep.c: Likewise.
1788 * elf/dl-version.c: Likewise.
1789 * elf/rtld.c: Likewise.
1790 * hurd/hurdsock.c: Likewise.
1791 * hurd/lookup-retry.c: Likewise.
1792 * malloc/malloc.c: Likewise.
1793 * malloc/mtrace.c: Likewise.
1794 * nscd/nscd_getgr_r.c: Likewise.
1795 * nscd/nscd_getpw_r.c: Likewise.
1796 * nscd/nscd_getserv_r.c: Likewise.
1797 * posix/getopt_init.c: Likewise.
1798 * posix/wordexp.c: Likewise.
1799 * stdio-common/_itoa.c: Likewise.
1800 * stdio-common/printf_fphex.c: Likewise.
1801 * stdio-common/vfprintf.c: Likewise.
1802 * string/_strerror.c: Likewise.
1803 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1804 * sysdeps/i386/i686/hp-timing.h: Likewise.
1805 * sysdeps/mach/_strerror.c: Likewise.
1806 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1807 * sysdeps/mach/hurd/sethostid.c: Likewise.
1808 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1809 * sysdeps/mach/xpg-strerror.c: Likewise.
1810 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1811 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1812 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1813 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1814 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1815 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1816 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1817 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1818 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1819 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1820 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1821 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1822 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1823 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1824 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1825 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1826 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1827 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1828 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1829 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1830 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1832 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1834 * stdio-common/_itoa.h: Moved to ...
1835 * sysdeps/generic/_itoa.h: Here.
1837 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1839 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1840 instead of "_itoa.h" and "_itowa.h".
1841 * stdio-common/vfprintf.: Likewise.
1843 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1845 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1847 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1848 (__signbit): Likwise.
1852 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1854 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1857 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1859 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1860 OVERFLOW_EXCEPTION_OK.
1861 * math/libm-test.inc ("Philosophy"): Update comment about
1863 (OVERFLOW_EXCEPTION): Define.
1864 (OVERFLOW_EXCEPTION_OK): Likewise.
1865 (INVALID_EXCEPTION_OK): Renumber.
1866 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1867 (IGNORE_ZERO_INF_SIGN): Likewise.
1868 (test_exceptions): Handle FE_OVERFLOW.
1869 (exp10_test): Expect overflow exceptions.
1870 (exp2_test): Likewise.
1871 (expm1_test): Likewise.
1872 (nextafter_test): Likewise.
1873 (pow_test): Likewise.
1874 (scalbn_test): Likewise.
1875 (scalbln_test): Likewise.
1877 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1879 * sysdeps/x86_64/bits/atomic.h
1880 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1882 (atomic_exchange_acq): Likewise.
1883 (__arch_exchange_and_add_body): Likewise.
1884 (__arch_add_body): Likewise.
1885 (atomic_add_negative): Likewise.
1886 (atomic_add_zero): Likewise.
1888 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1890 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1891 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1893 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1895 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1896 Check __x86_64__ instead of __WORDSIZE.
1898 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1900 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1902 2012-03-19 David S. Miller <davem@davemloft.net>
1904 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1906 * sysdeps/sparc/fpu/fenv_private.h: New file.
1907 * sysdeps/sparc/fpu/math_private.h: Use it.
1908 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1910 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1911 (libc_feholdexcept_setroundl): Remove.
1912 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1914 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1915 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1917 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1919 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1920 int64_t instead of long int.
1921 (INSERT_WORDS64): Likwise.
1923 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1925 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1926 _Unwind_GetCFA return to _Unwind_Ptr first.
1928 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1931 * math/s_clog.c: Include <float.h>.
1932 (__clog): Scale large or subnormal inputs.
1933 * math/s_clogf.c: Likewise.
1934 * math/s_clogl.c: Likewise.
1935 * math/s_clog10.c: Include <float.h>.
1936 (M_LOG10_2): Define.
1937 (__clog10): Scale large or subnormal inputs.
1938 * math/s_clog10f.c: Likewise.
1939 * math/s_clog10l.c: Likewise.
1940 * math/libm-test.inc (clog_test): Add more tests.
1941 (clog10_test): Likewise.
1942 * sysdeps/i386/fpu/libm-test-ulps: Update.
1943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1946 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1948 * math/libm-test.inc (atan2_test): Add another test.
1950 * Makerules (common-objdir-compile): Remove.
1951 * sysdeps/unix/Makefile (config-generated): Do not add
1952 $(unix-generated) to variable.
1953 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1954 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1956 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1958 [generic bits/local_lim.h] (before-compile): Do not append to
1960 [generic bits/local_lim.h] (common-generated): Likewise.
1961 [generic sys/param.h] (before-compile): Do not append to variable.
1962 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1963 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1964 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1965 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1967 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1968 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1969 [generic sys/param.h] ($(addprefix
1970 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1971 [generic sys/param.h] (common-generated): Do not append to
1973 [generic sys/param.h] (sysdep_headers): Likewise.
1974 [generic bits/errno.h] (before-compile): Do not append to
1976 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1978 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1979 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1980 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1981 [generic bits/errno.h] (common-generated): Do not append to
1983 [generic bits/ioctls.h] (before-compile): Do not append to
1985 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1987 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1988 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1989 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1991 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1992 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1993 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1994 [generic bits/ioctls.h] (common-generated): Do not append to
1996 [generic sys/syscall.h] (syscall.h): Remove variable.
1997 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1999 [generic sys/syscall.h] (before-compile): Do not append to
2001 [generic sys/syscall.h] (common-generated): Likewise.
2002 * sysdeps/unix/errnos-tmpl.c: Remove file.
2003 * sysdeps/unix/errnos.awk: Likewise.
2004 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2005 * sysdeps/unix/ioctls.awk: Likewise.
2006 * sysdeps/unix/mk-local_lim.c: Likewise.
2007 * sysdeps/unix/snarf-ioctls: Likewise.
2009 2012-03-19 Richard Henderson <rth@twiddle.net>
2011 * sysdeps/i386/fpu/fenv_private.h: New file.
2012 * sysdeps/i386/fpu/math_private.h: Use it.
2013 (math_opt_barrier, math_force_eval): Remove.
2014 (libc_feholdexcept_setround_53bit): Remove.
2015 (libc_feupdateenv_53bit): Remove.
2016 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2017 (math_opt_barrier, math_force_eval): Remove.
2018 (libc_feholdexcept): Remove.
2019 (libc_feholdexcept_setround): Remove.
2020 (libc_fetestexcept, libc_fesetenv): Remove.
2021 (libc_feupdateenv_test): Remove.
2022 (libc_feupdateenv, libc_feholdsetround): Remove.
2023 (libc_feresetround): Remove.
2025 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2026 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2028 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2029 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2030 (libc_feupdateenv_testl): New.
2031 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2032 (libc_feupdateenv_testf): New.
2033 (libc_feupdateenv): Use libc_feupdateenv_test.
2034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2035 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2037 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2038 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2039 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2040 (libc_feresetround_noex): New.
2041 (libc_feresetround_noexf): New.
2042 (libc_feresetround_noexl): New.
2043 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2044 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2045 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2046 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2048 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2049 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2051 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2052 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2053 SET_RESTORE_ROUND_NOEX.
2054 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2055 SET_RESTORE_ROUND_NOEXF.
2056 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2057 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2058 (libc_feholdsetroundf): New.
2059 (libc_feresetround, libc_feresetroundf): New.
2061 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2062 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2063 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2065 * sysdeps/generic/math_private.h: Include <fenv.h>.
2066 (default_libc_feholdexcept): New.
2067 (default_libc_feholdexcept_setround): New.
2068 (default_libc_fesetenv, default_libc_feupdateenv): New.
2069 (libc_feholdexcept): Only define if undefined.
2070 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2071 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2072 (libc_feholdexcept_setroundl): Likewise.
2073 (libc_feholdexcept_setround_53bit): Likewise.
2074 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2075 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2076 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2077 (libc_feupdateenv_53bit): Likewise.
2078 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2079 (libc_feholdexcept): Convert from macro to inline function.
2080 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2081 (libc_fesetenv, libc_feupdateenv): Likewise.
2083 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2084 not previously defined.
2085 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2086 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2087 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2088 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2089 * sysdeps/ieee754/flt-32/math_private.h: New file.
2090 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2091 math_private.h below SET_FLOAT_WORD.
2092 (__isnan, __isinf_ns, __finite): Remove.
2093 (__isnanf, __isinf_nsf, __finitef): Remove.
2095 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2099 2012-03-17 David S. Miller <davem@davemloft.net>
2102 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2105 2012-03-16 David S. Miller <davem@davemloft.net>
2107 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2111 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2113 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2114 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2115 sysdep_routines when subdir is sysvipc.
2116 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2119 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2121 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2123 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2126 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2128 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2129 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2130 (__lround): Renamed to ...
2131 (__llround): This. Replace long int with long long int.
2132 Define lround functions as aliases of llround functions.
2133 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2135 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2137 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2138 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2139 adresses to uintptr_t. Replace "long int" and "unsigned long
2140 int" with "greg_t" on va_arg.
2142 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2144 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2145 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2147 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2148 Move e_machine check before EI_CLASS check. Handle x32
2149 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2150 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2151 SKIP_EM_IA_64 and include
2152 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2154 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2155 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2156 (add_system_dir): New macro.
2158 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2159 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2161 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2172 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2174 * math/w_j0f.c (j0f): Likewise.
2176 * math/w_j0l.c (__j0l): Likewise.
2178 * math/w_j1.c (j1): Likewise.
2180 * math/w_j1f.c (j1f): Likewise.
2182 * math/w_j1l.c (__j1l): Likewise.
2184 * math/w_jn.c (jn): Likewise.
2186 * math/w_jnf.c (jnf): Likewise.
2188 * math/w_jnl.c (__jnl): Likewise.
2190 * math/libm-test.inc (j0_test): Add more tests.
2191 (j1_test): Likewise.
2192 (jn_test): Likewise. Add trailing semicolon to existing test.
2193 (y0_test): Likewise.
2194 (y1_test): Likewise.
2195 * sysdeps/i386/fpu/libm-test-ulps: Update.
2196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2200 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2201 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2202 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2203 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2204 (__tanl): Set errno for infinite argument.
2205 * sysdeps/i386/fpu/mptan.c: Remove.
2206 * sysdeps/i386/fpu/s_tan.S: Likewise.
2207 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2208 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2209 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2210 * math/libm-test.inc (tan_test): Add more tests and enable more
2211 tests for double and long double.
2212 * sysdeps/i386/fpu/libm-test-ulps: Update.
2213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2215 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2217 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2218 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2220 2012-03-16 Roland McGrath <roland@hack.frob.com>
2222 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2223 * configure.in: Use it for both main tree and add-ons.
2224 * configure: Regenerated.
2226 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2228 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2230 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2232 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2236 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2237 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2238 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2240 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2242 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2243 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2245 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2246 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2247 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2248 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2249 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2250 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2251 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2252 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2253 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2254 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2255 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2256 * math/libm-test.inc (cos_test): Add more tests and enable more
2257 tests for long double.
2258 (sin_test): Likewise.
2259 (sincos_test): Likewise.
2260 * sysdeps/i386/fpu/libm-test-ulps: Update.
2261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2263 2012-03-16 David S. Miller <davem@davemloft.net>
2265 * sysdeps/sparc/fpu/math_private.h: New file.
2267 2012-03-15 David S. Miller <davem@davemloft.net>
2269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2275 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2276 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2277 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2283 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2284 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2286 * sysdeps/sparc/sparc-ifunc.h: New file.
2287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2312 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2313 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2314 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2315 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2316 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2320 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2323 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2324 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2332 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2334 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2338 2012-03-15 Andreas Jaeger <aj@suse.de>
2341 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2342 ieee754/flt-32 implementation for sin, cos and sincos.
2343 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2344 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2345 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2346 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2347 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2348 ieee754/flt-32 implementation for tan.
2350 * math/libm-test.inc (cos_test): Enable some large input tests for
2352 (sin_test): Likewise.
2353 (sincos_test): Likewise.
2354 (tan_test): Add tests for large input.
2356 * sysdeps/i386/fpu/libm-test-ulps: Update.
2358 2012-03-15 Andreas Jaeger <aj@suse.de>
2361 * math/libm-test.inc (cos_test): Add more test cases.
2362 (sin_test): Likewise.
2363 (sincos_test): Likewise.
2365 2012-03-15 Andreas Jaeger <aj@suse.de>
2368 * math/libm-test.inc (cos_test): Add a test case for large input
2370 (sin_test): Likewise.
2371 (sincos_test): Likewise.
2373 2012-03-15 Andreas Jaeger <aj@suse.de>,
2374 Joseph Myers <joseph@codesourcery.com>
2377 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2378 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2379 * sysdeps/i386/fpu/branred.c: Likewise.
2380 * sysdeps/i386/fpu/dosincos.c: Likewise.
2381 * sysdeps/i386/fpu/mpa.c: Likewise.
2382 * sysdeps/i386/fpu/s_cos.S: Likewise.
2383 * sysdeps/i386/fpu/s_sin.S: Likewise.
2384 * sysdeps/i386/fpu/s_sincos.S: Likewise.
2385 * sysdeps/i386/fpu/sincos32.c: Likewise.
2387 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
2389 (libc_feupdateenv_53bit): Define.
2390 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
2392 (libc_feupdateenv_53bit): Define.
2394 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
2395 53 bit (without extend i386 double precision).
2397 * math/libm-test.inc (sincos_test): Add tests for large input.
2401 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2403 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2407 2012-03-15 David S. Miller <davem@davemloft.net>
2409 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2410 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2411 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2412 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2417 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2418 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2419 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
2424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
2427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
2430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
2433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2437 fmin/fmax sysdep routines.
2438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2440 2012-03-14 David S. Miller <davem@davemloft.net>
2442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2446 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2454 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2464 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2465 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2466 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2467 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2468 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2469 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
2470 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
2475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
2478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
2481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
2484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
2487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
2502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
2505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
2508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
2511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2514 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2519 * sysdeps/sparc/configure.in: New file.
2520 * sysdeps/sparc/configure: Generate.
2521 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2522 * configure: Regenerate.
2523 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2524 * config.make.in (have-as-vis3): New.
2525 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2526 available use -Av9d instead of -Av9a.
2527 * sysdeps/sparc/sparc64/Makefile: Likewise.
2528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
2529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2537 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2539 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2540 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2541 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2543 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2544 fzeros/fnegs to load 0x80000000 into a float register instead of
2546 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2548 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2552 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2553 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2554 ($(inst_includedir)/bits/syscall.h): Remove rule.
2555 ($(objpfx)bits/syscall.d): Include instead of
2556 $(objpfx)syscall-list.d.
2557 (generated): Change syscall-list.h and syscall-list.d to
2558 bits/syscall.h and bits/syscall.d.
2560 2012-03-14 Roland McGrath <roland@hack.frob.com>
2563 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2565 2012-03-14 Joseph Myers <joseph@codesourcery.com>
2568 * math/s_csqrt.c: Include <float.h>.
2569 (__csqrt): Scale large or subnormal inputs.
2570 * math/s_csqrtf.c: Likewise.
2571 * math/s_csqrtl.c: Likewise.
2572 * math/libm-test.inc (csqrt_test): Add more tests.
2573 * sysdeps/i386/fpu/libm-test-ulps: Update.
2574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2577 * math/libm-test.inc (hypot_test): Add more tests.
2579 2012-03-13 David S. Miller <davem@davemloft.net>
2582 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2583 double-precision for the calculation instead of scaling.
2585 2012-03-13 Joseph Myers <joseph@codesourcery.com>
2587 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2588 manipulate bits before adding and subtracting TWO52[sx].
2589 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2590 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2592 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2594 2012-03-13 David S. Miller <davem@davemloft.net>
2596 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2597 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2598 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2599 rtld-global-offsets.h
2600 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2602 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2605 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2607 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2608 'err' in the ifdef scope in which it is actually used.
2610 * nss/nss_db/db-init.c: Include string.h
2612 2012-03-12 David S. Miller <davem@davemloft.net>
2614 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2615 masking out of the most significant byte of random value used.
2616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2617 Fix coding style in previous change.
2619 * sysdeps/unix/sysv/linux/kernel-features.h
2620 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2621 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2623 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2626 2012-03-11 David S. Miller <davem@davemloft.net>
2628 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2629 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2631 for 'resultvar' otherwise things get truncated on 64-bit.
2633 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2634 Fix masking out of the most significant byte of random value used.
2636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2638 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2642 2012-03-09 David S. Miller <davem@davemloft.net>
2644 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2645 variables with appropriate CPP guards.
2646 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2647 frame pointer, not the stack pointer. Correct layout comments. Fix test
2648 on resulting framesize and the management of the outregs buffer for pltexit.
2649 Preserve floating point return values across _dl_call_pltexit call.
2650 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2651 framesize and the management of the outregs buffer for pltexit.
2652 Preserve floating point return values across _dl_call_pltexit
2654 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2655 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2656 (print_exit): Fix format string for return register value.
2658 2012-03-10 Joseph Myers <joseph@codesourcery.com>
2660 * sunrpc/Makefile (others): Add rpcgen.
2661 ($(objpfx)rpcgen): Remove special build rule and dependency on
2663 * sunrpc/rpcgen.c: New file.
2665 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2668 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2669 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2670 * sysdeps/i386/crti.S: Likewise.
2671 * sysdeps/i386/crtn.S: Likewise.
2672 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2673 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2674 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2675 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2676 * sysdeps/sh/crti.S: Likewise.
2677 * sysdeps/sh/crtn.S: Likewise.
2678 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2681 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2683 * locale/programs/locfile-kw.gperf: Likewise.
2684 * locale/programs/charmap-kw.h: Regenerated.
2685 * locale/programs/locfile-kw.h: Likewise.
2688 * intl/plural.y: Replace FSF snail mail address with URL.
2689 * intl/plural.c: Regenerated.
2691 2012-03-09 Richard Henderson <rth@twiddle.net>
2693 * include/math_private.h: Remove file.
2694 * math/math_private.h: Move file ...
2695 * sysdeps/generic/math_private.h: ... here.
2697 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2698 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2699 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2701 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2702 and <math_private.h>.
2703 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2704 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2705 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2706 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2707 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2708 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2709 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2710 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2711 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2712 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2714 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2715 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2717 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2718 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2719 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2720 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2721 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2722 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2723 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2724 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2725 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2727 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2729 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2730 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2732 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2733 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2734 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2735 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2736 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2737 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2738 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2739 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2740 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2741 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2742 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2743 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2744 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2745 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2746 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2747 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2748 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2749 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2750 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2751 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2752 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2753 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2754 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2755 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2756 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2757 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2758 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2760 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2761 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2762 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2763 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2764 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2766 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2767 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2768 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2769 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2770 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2771 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2772 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2773 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2774 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2775 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2776 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2777 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2779 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2781 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2782 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2783 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2784 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2785 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2786 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2787 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2789 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2790 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2791 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2792 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2793 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2794 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2795 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2796 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2797 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2798 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2799 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2800 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2801 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2802 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2803 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2804 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2805 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2806 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2807 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2808 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2809 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2810 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2811 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2812 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2813 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2814 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2815 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2816 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2817 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2818 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2819 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2820 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2821 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2822 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2823 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2824 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2825 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2826 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2827 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2828 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2829 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2830 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2831 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2832 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2833 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2834 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2835 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2836 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2837 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2838 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2839 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2840 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2841 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2842 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2843 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2844 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2845 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2846 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2847 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2848 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2849 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2850 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2851 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2852 * sysdeps/ieee754/k_standard.c: Likewise.
2853 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2854 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2855 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2856 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2857 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2858 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2859 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2860 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2861 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2862 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2863 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2864 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2865 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2866 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2867 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2868 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2869 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2870 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2871 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2872 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2873 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2874 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2875 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2876 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2877 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2878 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2879 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2880 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2881 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2882 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2883 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2884 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2885 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2886 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2887 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2888 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2889 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2890 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2891 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2892 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2893 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2894 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2895 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2896 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2897 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2898 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2899 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2901 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2902 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2903 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2904 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2905 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2906 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2907 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2908 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2909 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2910 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2911 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2912 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2913 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2914 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2915 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2916 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2917 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2920 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2921 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2922 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2923 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2925 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2926 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2927 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2928 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2929 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2930 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2931 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2932 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2933 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2934 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2935 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2936 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2937 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2938 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2939 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2940 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2941 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2942 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2943 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2944 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2945 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2946 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2947 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2948 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2949 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2950 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2951 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2952 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2954 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2955 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2956 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2957 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2958 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2959 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2960 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2961 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2962 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2963 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2964 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2965 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2966 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2967 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2968 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2969 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2970 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2971 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2972 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2973 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2974 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2975 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2976 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2977 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2978 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2979 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2980 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2981 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2982 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2983 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2984 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2985 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2986 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2987 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2988 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2989 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2990 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2991 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2992 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2993 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2994 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2995 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2996 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2997 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2998 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2999 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3000 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3001 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3002 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3003 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3004 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3005 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3006 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3007 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3008 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3009 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3010 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3011 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3012 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3013 * sysdeps/ieee754/s_lib_version.c: Likewise.
3014 * sysdeps/ieee754/s_matherr.c: Likewise.
3015 * sysdeps/ieee754/s_signgam.c: Likewise.
3016 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3017 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3018 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3019 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3020 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3021 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3022 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3023 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3024 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3025 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3026 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3027 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3028 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3029 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3030 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3031 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3032 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3033 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3034 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3035 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3036 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3038 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3040 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3041 * sunrpc/rpc_main.c: Likewise.
3042 * sunrpc/rpc_svcout.c: Likewise.
3044 2012-03-09 David S. Miller <davem@davemloft.net>
3046 * include/math_private.h: New file.
3048 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3050 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3051 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3052 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3053 from <bits/socket_type.h>.
3054 (enum __socket_type): Don't define here.
3055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3056 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3060 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3063 * Makerules ($(inst_includedir)/%.h): New rule.
3064 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3065 (install-others): Remove variable setting.
3066 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3068 2012-03-08 Richard Henderson <rth@twiddle.net>
3070 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3071 from macro to inline function; merge with the
3072 !__LIBC_INTERNAL_MATH_INLINES version.
3073 (__ieee754_sqrtf): Likewise.
3075 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3077 (__rintf, __floor, __floorf): Likewise.
3079 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3080 macro to inline function.
3081 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3083 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3084 not <math/math_private.h>.
3086 2012-03-08 David S. Miller <davem@davemloft.net>
3088 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3090 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3092 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3094 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3096 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3097 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3099 2012-03-08 Ulrich Drepper <drepper@gmail.com>
3101 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3102 be defined individually, they must be defined as a block. Define
3103 S for printing a string instead of hidint the different by using a
3104 macro for adding the 'l'.
3105 * stdio-common/tst-fphex-wide.c: Adjust.
3107 2012-03-07 Marek Polacek <polacek@redhat.com>
3109 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3111 2012-03-08 Marek Polacek <polacek@redhat.com>
3114 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3115 * stdio-common/tst-fphex.c: Define a few macros to make the
3116 test reusable. Use them.
3117 * stdio-common/tst-fphex-wide.c: New file.
3119 2012-03-08 Joseph Myers <joseph@codesourcery.com>
3122 * manual/macros.texi (gnusystems): New macro.
3123 (nongnusystems): Likewise.
3124 (gnulinuxhurdsystems): Likewise.
3125 (gnuhurdsystems): Likewise..
3126 (gnulinuxsystems): Likewise.
3127 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3128 variants of the GNU system, not "GNU system".
3129 * manual/conf.texi: Likewise.
3130 * manual/errno.texi: Likewise. Update example of errno macro
3132 * manual/filesys.texi: Likewise.
3133 (getumask): Document as specific to GNU/Hurd.
3134 * manual/install.texi: Likewise. Reword some references to
3136 * manual/intro.texi: Likewise.
3137 * manual/io.texi: Likewise.
3138 (File Name Portability): Detail which constraints are inapplicable
3139 to all GNU systems and which are only inapplicable to GNU/Hurd.
3140 * manual/job.texi: Likewise.
3141 * manual/llio.texi: Likewise.
3142 (O_NOCTTY): Document as present on GNU/Linux.
3143 * manual/maint.texi: Likewise.
3144 * manual/memory.texi: Likewise.
3145 * manual/pattern.texi: Likewise.
3146 * manual/pipe.texi: Likewise.
3147 * manual/process.texi: Likewise.
3148 * manual/resource.texi: Likewise.
3149 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3151 * manual/setjmp.texi: Likewise.
3152 * manual/signal.texi: Likewise.
3153 * manual/startup.texi: Likewise.
3154 * manual/stdio.texi: Likewise.
3155 * manual/terminal.texi: Likewise.
3156 (ONLCR): Document as POSIX.
3157 (OXTABS): Document availability on GNU/Linux as XTABS.
3158 (ONOEOT): Document availability separately from other bits.
3159 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3160 * manual/time.texi: Likewise.
3161 * manual/users.texi: Likewise.
3162 * INSTALL: Regenerated.
3163 * sysdeps/gnu/errlist.c: Regenerated.
3165 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3166 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3167 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3169 * configure: Regenerated.
3171 2012-03-07 Joseph Myers <joseph@codesourcery.com>
3173 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3174 default includes instead of AC_HEADER_CHECK.
3175 * sysdeps/i386/configure: Regenerated.
3178 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3179 * math/s_cacoshf.c (__cacoshf): Likewise.
3180 * math/s_cacoshl.c (__cacoshl): Likewise.
3181 * math/s_casinh.c (__casinh): Set signs of result from argument.
3182 * math/s_casinhf.c (__casinhf): Likewise.
3183 * math/s_casinhl.c (__casinhl): Likewise.
3184 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3185 (casinh_test): Add more tests.
3186 * sysdeps/i386/fpu/libm-test-ulps: Update.
3187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3189 2012-03-07 Ulrich Drepper <drepper@gmail.com>
3191 * po/zh_TW.po: Update from translation team.
3193 * login/Makefile (distribute): Remove variable.
3194 * catgets/Makefile: Likewise.
3195 * mach/Makefile: Likewise.
3196 * malloc/Makefile: Likewise.
3197 * misc/Makefile: Likewise.
3198 * iconv/Makefile: Likewise.
3199 * nscd/Makefile: Likewise.
3200 * hurd/Makefile: Likewise.
3201 * manual/Makefile: Likewise.
3202 * locale/Makefile: Likewise.
3203 * intl/Makefile: Likewise.
3204 * conform/Makefile: Likewise.
3205 * nss/Makefile: Likewise.
3206 * time/Makefile: Likewise.
3207 * soft-fp/Makefile: Likewise.
3208 * dirent/Makefile: Likewise.
3209 * gmon/Makefile: Likewise.
3210 * po/Makefile: Likewise.
3211 * rt/Makefile: Likewise.
3212 * socket/Makefile: Likewise.
3213 * math/Makefile: Likewise.
3214 * signal/Makefile: Likewise.
3215 * debug/Makefile: Likewise.
3216 * elf/Makefile: Likewise.
3217 * timezone/Makefile: Likewise.
3218 * stdlib/Makefile: Likewise.
3219 * iconvdata/Makefile: Likewise.
3220 * sunrpc/Makefile: Likewise.
3221 * io/Makefile: Likewise.
3222 * argp/Makefile: Likewise.
3223 * inet/Makefile: Likewise.
3224 * hesiod/Makefile: Likewise.
3225 * grp/Makefile: Likewise.
3226 * csu/Makefile: Likewise.
3227 * wctype/Makefile: Likewise.
3228 * crypt/Makefile: Likewise.
3229 * libio/Makefile: Likewise.
3230 * string/Makefile: Likewise.
3231 * nis/Makefile: Likewise.
3232 * resolv/Makefile: Likewise.
3233 * stdio-common/Makefile: Likewise.
3234 * wcsmbs/Makefile: Likewise.
3235 * dlfcn/Makefile: Likewise.
3236 * posix/Makefile: Likewise.
3238 * timezone/Makefile: Don't install timezone files, just the programs
3241 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3243 * nss/databases.def: Add missing gshadow entry.
3245 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3247 2012-03-06 Marek Polacek <polacek@redhat.com>
3250 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3251 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3252 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3253 * stdio-common/tst-long-dbl-fphex.c: New file.
3255 2012-03-06 David S. Miller <davem@davemloft.net>
3257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3258 (set_obp_int): New function.
3259 (get_obp_int): New function.
3260 (__get_clockfreq_via_dev_openprom): Likewise.
3261 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3262 Avoid unused variable warnings on 'val' and use builtin_expect.
3263 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3265 (INLINE_CLONE_SYSCALL): Likewise.
3267 2012-03-05 David S. Miller <davem@davemloft.net>
3269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3271 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3275 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3277 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3279 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3282 Replace gettimeofday with __vdso_gettimeofday.
3284 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3285 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3286 __vdso_clock_gettime and __vdso_getcpu.
3288 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3289 time with __vdso_time.
3291 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3293 * manual/lang.texi (size_t): Note types to which size_t may be
3294 equivalent with the GNU C Library, but do not describe when
3295 differences between them are significant.
3297 2012-03-05 Andreas Jaeger <aj@suse.de>
3299 * sysdeps/i386/fpu/libm-test-ulps: Update.
3301 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3304 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3305 (__ieee754_pow): Save and restore rounding mode and use
3306 round-to-nearest for main computations.
3307 * math/libm-test.inc (pow_test_tonearest): New function.
3308 (pow_test_towardzero): Likewise.
3309 (pow_test_downward): Likewise.
3310 (pow_test_upward): Likewise.
3311 (main): Call the new functions.
3312 * sysdeps/i386/fpu/libm-test-ulps: Update.
3313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3316 * math/libm-test.inc (cosh_test_tonearest): New function.
3317 (cosh_test_towardzero): Likewise.
3318 (cosh_test_downward): Likewise.
3319 (cosh_test_upward): Likewise.
3320 (sinh_test_tonearest): Likewise.
3321 (sinh_test_towardzero): Likewise.
3322 (sinh_test_downward): Likewise.
3323 (sinh_test_upward): Likewise.
3324 (main): Call the new functions.
3325 * sysdeps/i386/fpu/libm-test-ulps: Update.
3326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3328 2012-03-05 Tom de Vries <tom@codesourcery.com>
3330 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3331 default stack guard is set in last bytes.
3332 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3334 2012-03-05 Kees Cook <keescook@chromium.org>
3336 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3339 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3340 possibly allocate from heap instead of stack.
3341 * stdio-common/bug-vfprintf-nargs.c: New file.
3342 * stdio-common/Makefile (tests): Add nargs overflow test.
3344 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3348 2012-03-03 Marek Polacek <polacek@redhat.com>
3350 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3351 * math/math_private.h: Likewise.
3352 * stdlib/tst-strtod.c: Likewise.
3353 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3354 * sysdeps/x86_64/bits/atomic.h: Likewise.
3356 2012-03-02 David S. Miller <davem@davemloft.net>
3358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3362 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3363 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3364 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3365 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3367 2012-03-02 Roland McGrath <roland@hack.frob.com>
3370 * manual/examples/README: New file, says the example source files
3371 can be used under GPL>=2.
3372 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3373 line containing just "*/".
3374 * manual/examples/add.c: Add copyright header (GPL>=2).
3375 * manual/examples/argp-ex1.c: Likewise.
3376 * manual/examples/argp-ex2.c: Likewise.
3377 * manual/examples/argp-ex3.c: Likewise.
3378 * manual/examples/argp-ex4.c: Likewise.
3379 * manual/examples/atexit.c: Likewise.
3380 * manual/examples/db.c: Likewise.
3381 * manual/examples/dir.c: Likewise.
3382 * manual/examples/dir2.c: Likewise.
3383 * manual/examples/execinfo.c: Likewise.
3384 * manual/examples/filecli.c: Likewise.
3385 * manual/examples/filesrv.c: Likewise.
3386 * manual/examples/fmtmsgexpl.c: Likewise.
3387 * manual/examples/genpass.c: Likewise.
3388 * manual/examples/inetcli.c: Likewise.
3389 * manual/examples/inetsrv.c: Likewise.
3390 * manual/examples/isockad.c: Likewise.
3391 * manual/examples/longopt.c: Likewise.
3392 * manual/examples/memopen.c: Likewise.
3393 * manual/examples/memstrm.c: Likewise.
3394 * manual/examples/mkfsock.c: Likewise.
3395 * manual/examples/mkisock.c: Likewise.
3396 * manual/examples/mygetpass.c: Likewise.
3397 * manual/examples/pipe.c: Likewise.
3398 * manual/examples/popen.c: Likewise.
3399 * manual/examples/rprintf.c: Likewise.
3400 * manual/examples/search.c: Likewise.
3401 * manual/examples/select.c: Likewise.
3402 * manual/examples/setjmp.c: Likewise.
3403 * manual/examples/sigh1.c: Likewise.
3404 * manual/examples/sigusr.c: Likewise.
3405 * manual/examples/stpcpy.c: Likewise.
3406 * manual/examples/strdupa.c: Likewise.
3407 * manual/examples/strftim.c: Likewise.
3408 * manual/examples/strncat.c: Likewise.
3409 * manual/examples/subopt.c: Likewise.
3410 * manual/examples/swapcontext.c: Likewise.
3411 * manual/examples/termios.c: Likewise.
3412 * manual/examples/testopt.c: Likewise.
3413 * manual/examples/testpass.c: Likewise.
3414 * manual/examples/timeval_subtract.c: Likewise.
3417 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3419 * manual/timeval_subtract.c.texi: ... here, new file.
3421 2012-03-02 David S. Miller <davem@davemloft.net>
3423 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3425 2012-03-02 Joseph Myers <joseph@codesourcery.com>
3428 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3429 (__sin): Save and restore rounding mode and use round-to-nearest
3430 for all computations.
3431 (__cos): Save and restore rounding mode and use round-to-nearest
3432 for all computations.
3433 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3435 (tan): Save and restore rounding mode and use round-to-nearest for
3437 * math/libm-test.inc (cos_test_tonearest): New function.
3438 (cos_test_towardzero): Likewise.
3439 (cos_test_downward): Likewise.
3440 (cos_test_upward): Likewise.
3441 (sin_test_tonearest): Likewise.
3442 (sin_test_towardzero): Likewise.
3443 (sin_test_downward): Likewise.
3444 (sin_test_upward): Likewise.
3445 (tan_test_tonearest): Likewise.
3446 (tan_test_towardzero): Likewise.
3447 (tan_test_downward): Likewise.
3448 (tan_test_upward): Likewise.
3449 (main): Call the new functions.
3450 * sysdeps/i386/fpu/libm-test-ulps: Update.
3451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3454 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3455 small n, then large n, before computing and testing k+n.
3456 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3459 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3461 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3462 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3463 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3464 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3465 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3466 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3467 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3468 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3469 * math/libm-test.inc (scalbn_test): Add more tests.
3470 (scalbln_test): Likewise.
3472 * manual/filesys.texi (mode_t): Describe constraints on size and
3473 signedness, not exact equivalence to a particular type.
3475 (ino64_t): Likewise.
3477 (nlink_t): Likewise.
3478 (blkcnt_t): Likewise.
3479 (blkcnt64_t): Likewise.
3480 * manual/llio.texi (off_t): Likewise.
3483 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3484 (__ieee754_exp): Save and restore rounding mode and use
3485 round-to-nearest for all computations.
3486 * math/libm-test.inc (exp_test_tonearest): New function.
3487 (exp_test_towardzero): Likewise.
3488 (exp_test_downward): Likewise.
3489 (exp_test_upward): Likewise.
3490 (main): Call the new functions.
3491 * sysdeps/i386/fpu/libm-test-ulps: Update.
3492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3494 2012-03-01 Chris Demetriou <cgd@google.com>
3496 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3497 have predictable order.
3499 2012-03-01 David S. Miller <davem@davemloft.net>
3501 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3503 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3504 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3505 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3506 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3508 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3509 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3510 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3512 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3513 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3514 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3515 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3516 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3520 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3521 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3522 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3524 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3525 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3526 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3527 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3528 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3529 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3530 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3531 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3532 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3533 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3534 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3535 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3536 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3537 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3538 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3539 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3540 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3541 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3542 * sysdeps/sparc/elf/configure: Regenerated.
3544 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3546 * configure.in (AS, LD): Require binutils 2.20 or later.
3547 * configure: Regenerated.
3548 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3549 as required minimum version.
3550 * INSTALL: Regenerated.
3554 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3555 before squaring exponent.
3556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3557 bottom long double and 27 bits of top long double before squaring
3559 * math/libm-test.inc (erfc_test): Add more tests.
3560 * sysdeps/i386/fpu/libm-test-ulps: Update.
3561 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3564 2012-03-01 Kai Tietz <ktietz@redhat.com>
3566 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3567 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3568 containing bit-fields.
3569 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3570 * soft-fp/single.h (_FP_UNION_S): Likewise.
3571 * soft-fp/double.h (_FP_UNION_D): Likewise.
3573 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3576 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3577 not include ../strcmp.S.
3578 [USE_AS_STRNCASECMP_L]: Likewise.
3579 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3580 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3581 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3582 (__strncasecmp_l_ia32): Define as alias to
3583 __strncasecmp_l_nonascii.
3586 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3587 * sysdeps/i386/fpu/libm-test-ulps: Update.
3588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3590 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3593 2012-02-29 Jeff Law <law@redhat.com>
3595 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3598 2012-02-29 Marek Polacek <polacek@redhat.com>
3601 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3602 * elf/Makefile: Add rules to run tst-unused-dep.out.
3604 2012-02-28 David S. Miller <davem@davemloft.net>
3606 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3607 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3608 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3609 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3610 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3611 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3613 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3615 * math/libm-test.inc (llround_test): Move one test from
3616 lround_test. Use TEST_f_L in moved test.
3617 (lround_test): Move misplaced test to llround_test. Add testcase
3620 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3622 * sysdeps/x86_64/fpu/e_expf.S: New file.
3623 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3625 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3628 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3629 of remain_len that may cause incomplete multi-byte character and
3631 * posix/bug-regex33.c: New file.
3632 * posix/Makefile (tests): Add bug-regex33.
3634 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3636 * manual/macros.texi: New file.
3637 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3638 * manual/libc.texinfo: Include macros.texi.
3639 * manual/creatute.texi: Likewise.
3640 * manual/install.texi: Likewise.
3641 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3642 @glibcadj{} in references to the GNU C Library.
3643 * manual/charset.texi: Likewise.
3644 * manual/conf.texi: Likewise.
3645 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3646 when not using those macros.
3647 * manual/creature.texi: Likewise.
3648 * manual/crypt.texi: Likewise.
3649 * manual/errno.texi: Likewise.
3650 * manual/filesys.texi: Likewise.
3651 * manual/header.texi: Likewise.
3652 * manual/install.texi: Likewise.
3653 * manual/intro.texi: Likewise.
3654 * manual/io.texi: Likewise.
3655 * manual/job.texi: Likewise.
3656 * manual/lang.texi: Likewise.
3657 * manual/libc.texiinfo: Likewise.
3658 * manual/llio.texi: Likewise.
3659 * manual/locale.texi: Likewise.
3660 * manual/maint.texi: Likewise.
3661 * manual/math.texi: Likewise.
3662 * manual/memory.texi: Likewise.
3663 * manual/message.texi: Likewise.
3664 * manual/nss.texi: Likewise.
3665 * manual/pattern.texi: Likewise.
3666 * manual/process.texi: Likewise.
3667 * manual/resource.texi: Likewise.
3668 * manual/search.texi: Likewise.
3669 * manual/setjmp.texi: Likewise.
3670 * manual/signal.texi: Likewise.
3671 * manual/socket.texi: Likewise.
3672 * manual/startup.texi: Likewise.
3673 * manual/stdio.texi: Likewise.
3674 * manual/string.texi: Likewise.
3675 * manual/sysinfo.texi: Likewise.
3676 * manual/syslog.texi: Likewise.
3677 * manual/terminal.texi: Likewise.
3678 * manual/time.texi: Likewise.
3679 * manual/users.texi: Likewise.
3680 * INSTALL: Regenerated.
3681 * NOTES: Regenerated.
3682 * sysdeps/gnu/errlist.c: Regenerated.
3684 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3686 * include/dirent.h: Include <dirstream.h> before
3689 2012-02-28 David S. Miller <davem@davemloft.net>
3691 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3692 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3693 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3694 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3696 2012-02-27 David S. Miller <davem@davemloft.net>
3698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3700 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3701 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3704 frame pointer instead of stack pointer relative arg slot.
3705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3706 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3707 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3709 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3712 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3714 2012-02-27 David S. Miller <davem@davemloft.net>
3716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3720 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3721 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3722 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3723 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3725 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3727 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3728 later. Allow versions 5-9.
3729 * configure: Regenerated.
3730 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3731 required minimum version and 4.6 as recommended version. Do not
3732 mention bugs in GCC 2.7 and 2.8.
3733 * INSTALL: Regenerated.
3735 2012-02-27 David S. Miller <davem@davemloft.net>
3737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3741 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3742 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3743 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3744 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3746 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3747 manipulate bits before adding and subtracting TWO112[sx].
3748 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3750 2012-02-27 Roland McGrath <roland@hack.frob.com>
3753 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3754 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3755 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3756 being in POSIX, because they are in 1003.1-2008.
3758 * rt/tst-aio.c: Include <fcntl.h>.
3759 * rt/tst-aio7.c: Likewise.
3760 * rt/tst-aio64.c: Likewise.
3762 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3764 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3766 * manual/install.texi (--with-headers): Describe headers as
3767 interface headers, not private headers.
3768 (Specific advice for GNU/Linux systems): Describe use of headers
3769 from "make headers_install", not private headers from older
3771 * INSTALL: Regenerated.
3772 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3774 * sysdeps/unix/sysv/linux/configure: Regenerated.
3776 * manual/llio.texi (fclean): Remove documentation.
3778 * manual/Makefile (libc-texi-generated): New variable. Include
3780 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3781 $(libc-texi-generated), not duplicated list of files.
3782 (version.texi, stamp-version): New rules.
3783 (realclean): Remove $(libc-texi-generated), not individual files
3784 from that list. Do not remove dir-add.texinfo.
3785 * manual/libc.texinfo: Comment out uses of edition numbers and
3786 references to printed manual. Remove last-updated dates.
3787 (EDITION): Comment out.
3789 (VERSION, UPDATED): Remove.
3790 (version.texi): Include.
3792 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3794 * sysdeps/posix/spawni.c: Include <signal.h>.
3795 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3796 * sysdeps/pthread/aio_fsync.c: Likewise.
3798 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3800 * conform/Makefile (tests): Run only when not cross-compiling and
3801 when fast-check is not defined.
3803 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3804 * conform/data/limits.h-data: Fixes for POSIX2008.
3805 * conform/run-conformtest.sh: Run all tests.
3806 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3808 * include/bits/dlfcn.h: Likewise.
3809 * include/langinfo.h: Likewise.
3810 * include/monetary.h: Likewise.
3811 * include/sys/poll.h: Likewise.
3813 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3815 * posix/spawn.h: Define __need_sigset_t.
3816 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3817 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3818 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3819 to get sigevent_t only.
3820 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3823 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3824 process_vm_writev only for __USE_GNU.
3825 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3827 * conform/Makefile: For now ignore errors from run-conformtest.
3828 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3829 POSIX to avoid namespace pollution. Don't prepend headers.
3830 * conform/data/aio.h-data: Fixes for POSIX testing.
3831 * conform/data/fcntl.h-data: Likewise.
3832 * conform/data/glob.h-data: Likewise.
3833 * conform/data/grp.h-data: Likewise.
3834 * conform/data/pthread.h-data: Likewise.
3835 * conform/data/pwd.h-data: Likewise.
3836 * conform/data/signal.h-data: Likewise.
3837 * conform/data/spawn.h-data: Likewise.
3838 * conform/data/stdio.h-data: Likewise.
3839 * conform/data/stdlib.h-data: Likewise.
3840 * conform/data/stropts.h-data: Likewise.
3841 * conform/data/sys/mman.h-data: Likewise.
3842 * conform/data/sys/stat.h-data: Likewise.
3843 * conform/data/sys/types.h-data: Likewise.
3844 * conform/data/sys/wait.h-data: Likewise.
3845 * conform/data/time.h-data: Likewise.
3846 * conform/data/unistd.h-data: Likewise.
3847 * conform/data/utime.h-data: Likewise.
3849 * io/sys/stat.h: fchmod was always in POSIX.
3850 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3851 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3852 * rt/aio.h: Define __need_timespec before including <time.h>.
3853 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3854 struct. Add forward declaration of pthread_attr_t and use it in
3856 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3857 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3858 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3859 always remove CLK_TCK definition.
3861 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3863 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3865 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3867 * conform/run-conformtest.sh: New file.
3868 * conform/Makefile: Run run-conformtest for tests.
3869 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3872 * conform/data/uchar.h-data: New file.
3873 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3874 * conform/data/arpa/inet.h-data: Likewise.
3875 * conform/data/assert.h-data: Likewise.
3876 * conform/data/complex.h-data: Likewise.
3877 * conform/data/cpio.h-data: Likewise.
3878 * conform/data/ctype.h-data: Likewise.
3879 * conform/data/dirent.h-data: Likewise.
3880 * conform/data/dlfcn.h-data: Likewise.
3881 * conform/data/errno.h-data: Likewise.
3882 * conform/data/fcntl.h-data: Likewise.
3883 * conform/data/float.h-data: Likewise.
3884 * conform/data/fmtmsg.h-data: Likewise.
3885 * conform/data/fnmatch.h-data: Likewise.
3886 * conform/data/ftw.h-data: Likewise.
3887 * conform/data/glob.h-data: Likewise.
3888 * conform/data/grp.h-data: Likewise.
3889 * conform/data/iconv.h-data: Likewise.
3890 * conform/data/inttypes.h-data: Likewise.
3891 * conform/data/langinfo.h-data: Likewise.
3892 * conform/data/libgen.h-data: Likewise.
3893 * conform/data/limits.h-data: Likewise.
3894 * conform/data/locale.h-data: Likewise.
3895 * conform/data/math.h-data: Likewise.
3896 * conform/data/monetary.h-data: Likewise.
3897 * conform/data/mqueue.h-data: Likewise.
3898 * conform/data/ndbm.h-data: Likewise.
3899 * conform/data/net/if.h-data: Likewise.
3900 * conform/data/netdb.h-data: Likewise.
3901 * conform/data/netinet/in.h-data: Likewise.
3902 * conform/data/nl_types.h-data: Likewise.
3903 * conform/data/poll.h-data: Likewise.
3904 * conform/data/pthread.h-data: Likewise.
3905 * conform/data/pwd.h-data: Likewise.
3906 * conform/data/regex.h-data: Likewise.
3907 * conform/data/sched.h-data: Likewise.
3908 * conform/data/search.h-data: Likewise.
3909 * conform/data/semaphore.h-data: Likewise.
3910 * conform/data/setjmp.h-data: Likewise.
3911 * conform/data/signal.h-data: Likewise.
3912 * conform/data/spawn.h-data: Likewise.
3913 * conform/data/stdarg.h-data: Likewise.
3914 * conform/data/stdio.h-data: Likewise.
3915 * conform/data/stdlib.h-data: Likewise.
3916 * conform/data/string.h-data: Likewise.
3917 * conform/data/strings.h-data: Likewise.
3918 * conform/data/stropts.h-data: Likewise.
3919 * conform/data/sys/ipc.h-data: Likewise.
3920 * conform/data/sys/mman.h-data: Likewise.
3921 * conform/data/sys/msg.h-data: Likewise.
3922 * conform/data/sys/resource.h-data: Likewise.
3923 * conform/data/sys/select.h-data: Likewise.
3924 * conform/data/sys/sem.h-data: Likewise.
3925 * conform/data/sys/shm.h-data: Likewise.
3926 * conform/data/sys/socket.h-data: Likewise.
3927 * conform/data/sys/stat.h-data: Likewise.
3928 * conform/data/sys/statvfs.h-data: Likewise.
3929 * conform/data/sys/time.h-data: Likewise.
3930 * conform/data/sys/timeb.h-data: Likewise.
3931 * conform/data/sys/times.h-data: Likewise.
3932 * conform/data/sys/types.h-data: Likewise.
3933 * conform/data/sys/uio.h-data: Likewise.
3934 * conform/data/sys/un.h-data: Likewise.
3935 * conform/data/sys/utsname.h-data: Likewise.
3936 * conform/data/sys/wait.h-data: Likewise.
3937 * conform/data/syslog.h-data: Likewise.
3938 * conform/data/tar.h-data: Likewise.
3939 * conform/data/termios.h-data: Likewise.
3940 * conform/data/utime.h-data: Likewise.
3941 * conform/data/utmpx.h-data: Likewise.
3942 * conform/data/varargs.h-data: Likewise.
3943 * conform/data/wchar.h-data: Likewise.
3944 * conform/data/wctype.h-data: Likewise.
3945 * conform/data/wordexp.h-data: Likewise.
3947 * include/stropts.h: New file.
3948 * include/uchar.h: New file.
3949 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3950 * include/assert.h: Likewise.
3951 * include/ctype.h: Likewise.
3952 * include/dirent.h: Likewise.
3953 * include/dlfcn.h: Likewise.
3954 * include/fcntl.h: Likewise.
3955 * include/fnmatch.h: Likewise.
3956 * include/glob.h: Likewise.
3957 * include/grp.h: Likewise.
3958 * include/libio.h: Likewise.
3959 * include/locale.h: Likewise.
3960 * include/math.h: Likewise.
3961 * include/net/if.h: Likewise.
3962 * include/netdb.h: Likewise.
3963 * include/netinet/in.h: Likewise.
3964 * include/pthread.h: Likewise.
3965 * include/pwd.h: Likewise.
3966 * include/regex.h: Likewise.
3967 * include/sched.h: Likewise.
3968 * include/search.h: Likewise.
3969 * include/setjmp.h: Likewise.
3970 * include/signal.h: Likewise.
3971 * include/stdio.h: Likewise.
3972 * include/stdlib.h: Likewise.
3973 * include/string.h: Likewise.
3974 * include/sys/cdefs.h: Likewise.
3975 * include/sys/mman.h: Likewise.
3976 * include/sys/msg.h: Likewise.
3977 * include/sys/resource.h: Likewise.
3978 * include/sys/select.h: Likewise.
3979 * include/sys/socket.h: Likewise.
3980 * include/sys/stat.h: Likewise.
3981 * include/sys/statvfs.h: Likewise.
3982 * include/sys/time.h: Likewise.
3983 * include/sys/times.h: Likewise.
3984 * include/sys/uio.h: Likewise.
3985 * include/sys/utsname.h: Likewise.
3986 * include/sys/wait.h: Likewise.
3987 * include/termios.h: Likewise.
3988 * include/time.h: Likewise.
3989 * include/ulimit.h: Likewise.
3990 * include/unistd.h: Likewise.
3991 * include/utime.h: Likewise.
3992 * include/wchar.h: Likewise.
3993 * include/wctype.h: Likewise.
3994 * include/wordexp.h: Likewise.
3996 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3998 * time/time.h: TIME_UTC must be a macro.
3999 Make timespec_get available for ISO C11 only as well.
4001 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4003 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4004 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4006 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4008 * configure.in: Use -o not -a in test for unsupported multi-arch.
4010 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4012 * manual/texinfo.tex: Update to version 2012-01-19.16.
4014 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4016 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4018 2012-02-24 Roland McGrath <roland@hack.frob.com>
4021 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4022 * manual/fdl-1.3.texi: New file.
4023 * manual/fdl-1.1.texi: File removed.
4026 * manual/libc.texinfo (FDL_VERSION): New @set.
4027 Use it for mention of FDL in cover text.
4028 (Documentation License): Use it in @include file name.
4030 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4031 Roland McGrath <roland@hack.frob.com>
4034 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4035 not LONG_LONG_MAX and LONG_LONG_MIN.
4036 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4037 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4039 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4041 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4045 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4046 manipulate bits before adding and subtracting TWO23[sx].
4047 * math/libm-test.inc (nearbyint_test): Add more tests.
4049 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4052 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4053 bits before adding and subtracting TWO23[sx].
4054 * math/libm-test.inc (rint_test): Add more tests.
4055 (rint_test_tonearest): Likewise.
4056 (rint_test_towardzero): Likewise.
4057 (rint_test_downward): Likewise.
4058 (rint_test_upward: Likewise.
4060 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4063 * include/stdc-predef.h: New file. Extracted from features.h.
4064 * include/features.h: Include stdc-predef.h.
4065 * Makefile (headers): Add stdc-predef.h.
4066 * CONFORMANCE (Compiler limitations): Update.
4068 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4070 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4072 2012-02-21 David S. Miller <davem@davemloft.net>
4074 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4075 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4077 2012-02-20 David S. Miller <davem@davemloft.net>
4079 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4080 using a normal save/restore sequence, rather than allocating a
4081 dummy stack frame just to store a frame pointer and restore.
4082 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4084 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4086 * manual/install.texi: Fix stray word in line-wrapped comment.
4088 2012-02-20 David S. Miller <davem@davemloft.net>
4090 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4091 both binutils and gcc support GOTDATA.
4093 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4094 "rd %pc" in the PIC register setup sequences.
4096 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4097 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4098 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4099 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4100 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4101 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4102 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4103 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4105 (SYSCALL_ERROR_HANDLER): Likewise.
4106 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4107 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4108 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4109 (SYSCALL_ERROR_HANDLER): Likewise.
4111 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4112 (HAVE_GCC_GOTDATA): New.
4113 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4114 relocation support in both binutils and gcc.
4115 * sysdeps/sparc/elf/configure: Regenerate.
4117 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4118 * sysdeps/sparc/sparc32/elf/configure: Delete.
4119 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4120 * sysdeps/sparc/sparc64/elf/configure: Delete.
4121 * sysdeps/sparc/elf/configure.in: New file.
4122 * sysdeps/sparc/elf/configure: Generate.
4124 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4125 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4126 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4127 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4128 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4130 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4132 * manual/install.texi: Do not mention specific glibc version
4134 * manual/libc.texinfo (VERSION, UPDATED): Update.
4135 (@copying): Use @copyright{} and range of years.
4137 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4140 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4141 [crti.S not in sysdirs] (generated): Do not append.
4142 [crti.S not in sysdirs] (omit-deps): Likewise.
4143 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4144 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4145 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4146 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4147 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4149 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4150 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4151 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4152 * csu/defs.awk: Remove file.
4153 * sysdeps/generic/initfini.c: Likewise.
4154 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4156 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4159 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4161 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4162 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4163 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4164 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4165 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4166 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4168 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4169 (__EPOLL_PACKED): Define to empty if not defined by
4171 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4175 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4177 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4178 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4179 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4180 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4182 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4183 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4186 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4188 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4190 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4191 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4192 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4195 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4197 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4198 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4200 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4202 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4203 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4205 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4207 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4210 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4212 * math/w_acos.c: Use non-signaling floating-point comparisons.
4213 * math/w_acosf.c: Likewise.
4214 * math/w_acosh.c: Likewise.
4215 * math/w_acoshf.c: Likewise.
4216 * math/w_acoshl.c: Likewise.
4217 * math/w_acosl.c: Likewise.
4218 * math/w_asin.c: Likewise.
4219 * math/w_asinf.c: Likewise.
4220 * math/w_asinl.c: Likewise.
4221 * math/w_atanh.c: Likewise.
4222 * math/w_atanhf.c: Likewise.
4223 * math/w_atanhl.c: Likewise.
4224 * math/w_exp2.c: Likewise.
4225 * math/w_exp2f.c: Likewise.
4226 * math/w_exp2l.c: Likewise.
4227 * math/w_j0.c: Likewise.
4228 * math/w_j0f.c: Likewise.
4229 * math/w_j0l.c: Likewise.
4230 * math/w_j1.c: Likewise.
4231 * math/w_j1f.c: Likewise.
4232 * math/w_j1l.c: Likewise.
4233 * math/w_jn.c: Likewise.
4234 * math/w_jnf.c: Likewise.
4235 * math/w_log.c: Likewise.
4236 * math/w_log10.c: Likewise.
4237 * math/w_log10f.c: Likewise.
4238 * math/w_log10l.c: Likewise.
4239 * math/w_log2.c: Likewise.
4240 * math/w_log2f.c: Likewise.
4241 * math/w_log2l.c: Likewise.
4242 * math/w_logf.c: Likewise.
4243 * math/w_logl.c: Likewise.
4244 * math/w_sqrt.c: Likewise.
4245 * math/w_sqrtf.c: Likewise.
4246 * math/w_sqrtl.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4249 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4250 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4251 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4253 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4256 * manual/string.texi (strnlen): Use correct parameter name in
4257 equivalent expression.
4259 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4262 * manual/users.texi (seteuid): Consistently use neweuid for
4265 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4268 * manual/nss.texi (Services in the NSS configuration): Correct
4269 list of services in example configuration file.
4271 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4274 * manual/arith.texi: Remove statements about negative zero
4275 behaving identically to zero.
4277 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4280 * manual/install.texi: Do not document upgrading from libc5.
4282 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4285 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4287 2012-02-18 David S. Miller <davem@davemloft.net>
4289 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4290 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4291 %o7 across the call.
4292 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4296 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4297 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4298 * sysdeps/sparc/crtn.S: Likewise.
4300 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4302 * aout/Makefile: Remove.
4304 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4307 * manual/examples/argp-ex1.c (main): Format definition in GNU
4309 * manual/examples/argp-ex2.c (main): Likewise.
4310 * manual/examples/argp-ex3.c (main): Likewise.
4311 * manual/examples/argp-ex4.c (main): Likewise.
4312 * manual/examples/longopt.c (main): Use new-style prototype
4314 * manual/examples/strncat.c (main): Specify return type and use
4315 (void) for arguments.
4316 * manual/examples/subopt.c (main): Use char **argv argument.
4318 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4321 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4324 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4327 * manual/string.texi (strchr): Change when strchrnul is
4330 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4333 * manual/locale.texi (setlocale): Document LOCPATH.
4335 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4338 * manual/process.texi (execle): Move @dots{} before last argument.
4340 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4343 * manual/charset.texi (Generic Charset Conversion): Fix typo
4344 (LC_TYPE -> LC_CTYPE).
4346 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4349 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4350 (scalbnf): Likewise.
4351 (scalbnl): Likewise.
4352 (scalbln): Likewise.
4353 (scalblnf): Likewise.
4354 (scalblnl): Likewise.
4355 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4359 * manual/filesys.texi (telldir): Use braces around return type.
4360 * manual/llio.texi (mmap): Add space after comma.
4362 * manual/math.texi (jn): Use @var{} on parameter names.
4368 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4370 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4372 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4373 (sched_get_priority_max): Likewise.
4374 * manual/signal.texi (sigvec): Add space after comma.
4375 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4377 (if_indextoname): Likewise.
4378 (if_freenameindex): Likewise.
4379 (sendto): Use ',' instead of '.' in prototype.
4380 * manual/startup.texi (syscall): Use @dots{} instead of literal
4382 * manual/stdio.texi (__fpending): Separate initial words of
4383 paragraph from @deftypefun line.
4384 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4386 (vsyslog): Use @var{} on parameter names.
4387 * manual/terminal.texi (stty): Use @var{} on parameter names.
4388 * manual/users.texi (getutmp): Use @var{} on parameter names.
4389 (getutmpx): Likewise.
4391 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4394 * manual/stdio.texi (fopen): Fix typos in description of
4397 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4400 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4401 get clock_id definition.
4403 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
4406 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4407 (madvise): Cast every argument to void on its own.
4409 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4412 * manual/startup.texi (Exit Status): Fix typo.
4414 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4417 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4418 * manual/examples/argp-ex2.c: Likewise.
4419 * manual/examples/argp-ex3.c: Likewise.
4421 2012-02-16 Richard Henderson <rth@redhat.com>
4423 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4424 * sysdeps/s390/s390-32/initfini.c: Remove.
4425 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4426 * sysdeps/s390/s390-64/initfini.c: Remove.
4428 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4430 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4431 compiler output for sysdeps/generic/initfini.c.
4432 * sysdeps/sh/elf/initfini.c: Remove file.
4434 2012-02-16 David S. Miller <davem@davemloft.net>
4437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4439 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4440 * sysdeps/sparc/crti.S: New file.
4441 * sysdeps/sparc/crtn.S: New file.
4442 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4443 * sysdeps/sparc/sparc64/Makefile: Likewise.
4445 2012-02-15 Mike Frysinger <vapier@gentoo.org>
4448 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4450 2012-02-15 Roland McGrath <roland@hack.frob.com>
4453 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4455 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4456 (write, read, close): Likewise.
4457 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4459 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4461 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4462 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4463 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4464 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4466 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4470 2012-02-14 Marek Polacek <polacek@redhat.com>
4472 * sysdeps/x86_64/crti.S: New file.
4473 * sysdeps/x86_64/crtn.S: New file.
4474 * sysdeps/x86_64/elf/initfini.c: Remove file.
4476 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4478 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4479 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4480 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4481 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4483 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4487 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4489 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4490 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4491 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4492 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4494 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4498 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4500 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4501 __feraiseexcept instead of feraiseexcept.
4503 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4504 nanosleep invocations.
4505 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4506 strings, and add error checking for a nanosleep invocations.
4508 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4510 Replace FSF snail mail address with URLs, as per GNU coding standards.
4511 Most of the snail mail addresses were wrong anyway, and omitting
4512 them makes the source code easier to maintain. Almost all of the
4513 changes are to license notices and to locale LC_IDENTIFICATION
4514 addresses, except for this one:
4515 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4516 not its snail mail address.
4518 2012-02-09 Richard Henderson <rth@twiddle.net>
4520 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4521 of kernel-features.h.
4523 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4525 2012-02-08 Marek Polacek <polacek@redhat.com>
4527 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4528 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4529 * sysdeps/gnu/_G_config.h: Likewise.
4530 * sysdeps/generic/_G_config.h: Likewise.
4532 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4534 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4538 * sysdeps/powerpc/powerpc32/crti.S: New file.
4539 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4540 * sysdeps/powerpc/powerpc64/crti.S: New file.
4541 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4543 * Makeconfig (have-initfini): Don't set.
4544 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4545 * configure.in (nopic_initfini): Don't substitute.
4546 * config.h.in (HAVE_INITFINI): Don't #undef.
4547 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4548 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4550 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4552 Support crti.S and crtn.S provided directly by architectures.
4553 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4554 [crti.S in sysdirs] (omit-deps): Likewise.
4555 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4556 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4557 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4558 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4559 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4560 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4561 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4562 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4563 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4564 compiler output for sysdeps/generic/initfini.c.
4565 * sysdeps/i386/elf/Makefile: Remove file.
4566 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4568 2012-02-07 Marek Polacek <polacek@redhat.com>
4570 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4571 * sysdeps/gnu/_G_config.h: Likewise.
4572 * sysdeps/mach/hurd/_G_config.h: Likewise.
4574 2012-02-07 Marek Polacek <polacek@redhat.com>
4576 * math/Makefile (tests): Add tst-CMPLX2.
4577 * math/tst-CMPLX2.c: New file.
4579 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4581 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4583 * math/libm-test.inc (jn_test): Add missing L suffix.
4585 2012-02-06 Marek Polacek <polacek@redhat.com>
4587 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4588 * sysdeps/i386/fpu/e_powf.S: Likewise.
4589 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4590 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4591 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4592 * sysdeps/i386/fpu/e_pow.S: Likewise.
4593 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4594 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4595 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4596 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4597 * sysdeps/i386/fpu/e_log2.S: Likewise.
4598 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4599 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4600 * sysdeps/i386/fpu/e_powl.S: Likewise.
4601 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4602 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4603 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4604 * sysdeps/i386/fpu/e_logl.S: Likewise.
4605 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4606 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4607 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4608 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4609 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4610 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4611 * sysdeps/i386/fpu/e_log.S: Likewise.
4612 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4613 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4614 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4615 * sysdeps/i386/fpu/e_logf.S: Likewise.
4616 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4617 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4618 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4619 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4620 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4621 * sysdeps/i386/fpu/e_log10.S: Likewise.
4622 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4623 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4624 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4625 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4626 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4627 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4628 * sysdeps/i386/asm-syntax.h: Likewise.
4629 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4630 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4631 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4632 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4633 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4634 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4635 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4636 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4637 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4638 * sysdeps/powerpc/sysdep.h: Likewise.
4639 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4640 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4642 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4645 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4647 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4649 * sysdeps/i386/sysdep.h: Include <features.h>.
4650 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4653 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4655 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4657 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4660 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4662 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4663 (SETUP_PIC_REG): Use GET_PC_THUNK.
4664 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4667 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4669 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4670 for non-PIC compilation.
4671 (SETUP_PIC_REG): Add .p2align directive.
4672 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4673 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4674 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4675 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4676 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4677 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4678 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4679 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4680 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4681 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4682 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4683 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4684 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4685 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4686 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4687 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4688 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4689 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4690 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4691 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4692 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4693 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4694 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4695 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4696 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4698 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4699 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4700 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4701 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4702 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4703 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4704 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4705 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4706 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4707 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4708 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4709 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4710 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4711 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4712 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4714 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4716 * math/tst-CMPLX.c: Include <stdio.h>.
4718 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4720 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4722 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4723 * sysdeps/sparc/bits/mathdef.h: Likewise.
4725 2012-01-31 Marek Polacek <polacek@redhat.com>
4727 * libio/libio.h: Don't define _PARAMS.
4728 * locale/programs/config.h: Don't define PARAMS.
4729 * stdlib/strtol_l.c: Likewise.
4730 (__strtol_l): Remove PARAMS from the prototype.
4732 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4734 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4735 names. Just use the correct names. Remove unnecessary wrapper
4737 * malloc/arena.c: Likewise.
4738 * malloc/hooks.c: Likewise.
4740 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4741 ARENA_TEST says not to. Simplify test for creation of a new arena.
4742 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4744 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4746 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4748 (update_get_addr): New function.
4749 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4750 GET_ADDR_MODULE parameter.
4752 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4754 * crypt/cert.c: Remove __STDC__ conditionals.
4755 * crypt/crypt-entry.c: Likewise.
4756 * crypt/crypt_util.c: Likewise.
4757 * libio/filedoalloc.c: Likewise.
4758 * libio/fileops.c: Likewise.
4759 * libio/genops.c: Likewise.
4760 * libio/iofclose.c: Likewise.
4761 * libio/iofdopen.c: Likewise.
4762 * libio/iofopen.c: Likewise.
4763 * libio/iofopen64.c: Likewise.
4764 * libio/iogetdelim.c: Likewise.
4765 * libio/iopopen.c: Likewise.
4766 * libio/obprintf.c: Likewise.
4767 * libio/oldfileops.c: Likewise.
4768 * libio/oldiofclose.c: Likewise.
4769 * libio/oldiofdopen.c: Likewise.
4770 * libio/oldiofopen.c: Likewise.
4771 * libio/oldiopopen.c: Likewise.
4772 * libio/wfiledoalloc.c: Likewise.
4773 * libio/wgenops.c: Likewise.
4774 * locale/programs/xmalloc.c: Likewise.
4775 * misc/syslog.c: Likewise.
4776 * stdio-common/xbug.c: Likewise.
4777 * string/memchr.c: Likewise.
4778 * string/memcmp.c: Likewise.
4779 * string/memrchr.c: Likewise.
4780 * string/rawmemchr.c: Likewise.
4781 * sysdeps/posix/getcwd.c: Likewise.
4782 * time/strftime_l.c: Likewise.
4784 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4786 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4787 * config.make.in (config-cflags-sse2avx): Define.
4788 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4791 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4793 * scripts/config.guess: Update from upstream config git repository.
4794 * scripts/config.sub: Likewise.
4796 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4798 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4800 (R_TILEPRO_*, R_TILEGX_*): New macros.
4802 * scripts/firstversions.awk: Fix bug in version range handling.
4804 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4806 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4808 * include/sys/epoll.h: New file.
4809 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4812 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4814 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4815 Avoid unnecessary __WORDSIZE == 64 test.
4816 (fmaxf): Use VEX format if possible.
4821 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4822 * math/math_private.h: Remove libc_fegetround* and
4824 * sysdeps/i386/configure.in: Check for -msse2avx.
4825 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4826 also if SSE2AVX is defined.
4827 Remove libc_fegetround* and libc_fesetround*.
4828 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4829 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4830 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4832 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4833 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4834 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4835 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4836 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4838 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4840 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4842 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4844 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4846 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4849 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4851 * Makeconfig (libm): Define.
4852 * elf/Makefile: Add rules to build and run tst-relsort1.
4853 * elf/tst-relsort1.c: New file.
4854 * elf/tst-relsort1mod1.c: New file.
4855 * elf/tst-relsort1mod2.c: New file.
4857 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4859 * math/s_ldexp.c: Remove __STDC__ conditionals.
4860 * math/s_ldexpf.c: Likewise.
4861 * math/s_ldexpl.c: Likewise.
4862 * math/s_nextafter.c: Likewise.
4863 * math/s_nexttowardf.c: Likewise.
4864 * math/s_significand.c: Likewise.
4865 * math/s_significandf.c: Likewise.
4866 * math/s_significandl.c: Likewise.
4867 * math/w_jnl.c: Likewise.
4868 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4869 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4870 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4871 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4872 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4873 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4874 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4875 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4876 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4877 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4878 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4879 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4880 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4881 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4882 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4883 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4884 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4885 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4886 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4887 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4888 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4889 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4890 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4891 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4892 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4893 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4894 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4895 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4896 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4897 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4898 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4899 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4900 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4901 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4902 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4903 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4904 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4905 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4906 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4907 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4908 * sysdeps/ieee754/k_standard.c: Likewise.
4909 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4910 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4912 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4913 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4914 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4915 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4916 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4917 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4918 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4919 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4921 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4923 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4925 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4926 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4927 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4928 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4929 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4930 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4931 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4932 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4933 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4934 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4935 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4938 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4940 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4941 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4942 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4945 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4951 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4954 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4958 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4963 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4968 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4969 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4970 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4971 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4972 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4973 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4974 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4975 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4976 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4977 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4978 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4979 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4980 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4981 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4982 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4983 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4984 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4985 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4986 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4987 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4988 * sysdeps/ieee754/s_matherr.c: Likewise.
4989 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4990 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4991 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4992 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4994 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4996 * crypt/md5.h: Remove __STDC__ conditionals.
4997 * libio/libioP.h: Likewise.
4998 * locale/programs/config.h: Likewise.
4999 * sysdeps/generic/sysdep.h: Likewise.
5000 * sysdeps/i386/asm-syntax.h: Likewise.
5001 * sysdeps/s390/asm-syntax.h: Likewise.
5002 * sysdeps/unix/sysdep.h: Likewise.
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5006 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5008 * libio/libio.h: Remove __STDC__ conditionals.
5009 * malloc/obstack.h: Likewise.
5010 * math/complex.h: Likewise.
5011 * math/math.h: Likewise.
5012 * sysdeps/generic/_G_config.h: Likewise.
5013 * sysdeps/gnu/_G_config.h: Likewise.
5014 * sysdeps/mach/hurd/_G_config.h: Likewise.
5015 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5016 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5017 * sysdeps/sparc/bits/mathdef.h: Likewise.
5019 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5022 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5023 Clean up HAS_* macros.
5024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5025 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5027 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5029 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5030 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5031 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5032 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5033 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5035 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5037 * elf/tst-unique3.cc (gets): Remove declaration.
5038 * elf/tst-unique3lib.cc (gets): Likewise.
5039 * elf/tst-unique3lib2.cc (gets): Likewise.
5040 * elf/tst-unique4.cc (gets): Likewise.
5042 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5044 * include/stdio.h: Add C++ protection. Add gets declarations and
5046 * debug/tst-chk1.c: Don't declare gets here.
5047 * stdio-common/tst-gets.c: Likewise.
5049 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5051 * posix/glob: Remove directory.
5053 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5055 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5057 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5059 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5060 of the non-standard EPFNOSUPPORT.
5062 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5064 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5065 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5066 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5068 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5070 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5072 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5074 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5076 * nscd/grpcache.c (cache_addgr): Likewise.
5077 * nscd/hstcache.c (cache_addhst): Likewise.
5078 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5079 * nscd/pwdcache.c (cache_addpw): Likewise.
5080 * nscd/servicescache.c (cache_addserv): Likewise.
5082 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5084 * malloc/malloc.c: Various cleanups.
5085 * malloc/hooks.c: Likewise.
5087 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5088 * stdlib/bug-fmtmsg1.c: New file.
5090 * stdlib/fmtmsg.c (init): Add missing unlock.
5091 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5093 2012-01-12 Marek Polacek <polacek@redhat.com>
5095 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5098 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5100 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5101 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5102 macro to ensure uniqueness of label name.
5103 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5104 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5106 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5108 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5110 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5111 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5112 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5113 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5115 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5117 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5119 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5120 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5121 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5123 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5125 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5126 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5127 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5128 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5130 * math/bits/math-finite.h: Add ldexp support.
5132 2012-01-10 Marek Polacek <polacek@redhat.com>
5134 * locale/programs/localedef.h (show_archive_content): Add noreturn
5137 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5139 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5141 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5143 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5145 * io/Makefile (headers): Add bits/poll2.h.
5147 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5150 typo #include statement.
5152 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5154 * include/sys/cdefs.h: Define __attribute_alloc_size.
5155 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5156 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5157 * elf/pldd.c: Likewise.
5158 * iconv/iconv_charmap.c: Likewise.
5159 * iconv/iconvconfig.c: Likewise.
5160 * iconv/strtab.c: Likewise.
5161 * locale/programs/locale.c: Likewise.
5162 * locale/programs/localedef.h: Likewise.
5163 * locale/programs/simple-hash.c: Likewise.
5164 * nscd/nscd.h: Likewise.
5165 * nss/makedb.c: Likewise.
5166 * sysdeps/generic/ldconfig.h: Likewise.
5167 * locale/programs/localedef.c: Remove xmalloc prototype.
5168 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5170 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5172 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5175 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5177 * math/Makefile (tests): Add tst-CMPLX.
5178 * math/tst-CMPLX.c: New file.
5180 * math/complex.h (CMPLXL): Fix typo.
5182 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5183 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5185 * debug/tst-chk1.c: Add poll and ppoll tests.
5186 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5187 * include/sys/poll.h: Add hidden proto for ppoll.
5188 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5189 * sysdeps/mach/hurd/ppoll.c: Likewise.
5190 * io/ppoll.c: Likewise.
5191 * debug/poll_chk.c: New file.
5192 * debug/ppoll_chk.c: New file.
5193 * include/bits/poll2.h: New file.
5194 * io/bits/poll2.h: New file.
5197 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5199 * configure.in: static is always set to yes. Remove.
5200 * config.make.in: Don't set build-static.
5201 * Makeconfig: Remove use of build-static.
5202 * dlfcn/Makefile: Likewise.
5203 * elf/Makefile: Likewise.
5204 * math/Makefile: Likewise.
5205 * misc/Makefile: Likewise.
5206 * nptl/Makefile: Likewise.
5207 * sysdeps/mach/hurd/Makefile: Likewise.
5209 * configure.in: PWD_P is not used anymore.
5210 * config.make.in: Remove PWD_P entry.
5212 * configure.in: Remove last remnants of RANLIB.
5213 No need to check for signed size_t anymore.
5214 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5216 Remove __builtin_expect test because we require at least gcc 3.4.
5217 * aclocal.m4: Likewise.
5219 * wcsmbs/mbrtoc16.c: Implement using towc function.
5220 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5221 * wcsmbs/wcsmbsload.c: Likewise.
5222 * iconv/gconv_simple.c: Likewise.
5223 * iconv/gconv_int.h: Likewise.
5224 * iconv/gconv_builtin.h: Likewise.
5225 * iconv/iconv_prog.c: Remove CHAR16 handling.
5227 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5229 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5231 * configure.in: Remove --with-elf and --enable-bounded options.
5232 Dont set base_machine for ia64. More non-ELF conditions removed.
5233 Remove testing and setting of leading underscore information.
5234 * config.make.in (build-bounded): Set to no.
5235 * config.h.in: Remove NO_UNDERSCORES entry.
5236 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5238 * csu/start.c: Remove !NO_UNDERSCORE code.
5239 * locale/localeinfo.h: Likewise.
5240 * sysdeps/generic/machine-gmon.h: Likewise.
5241 * sysdeps/generic/sysdep.h: Likewise.
5242 * sysdeps/i386/sysdep.h: Likewise.
5243 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5244 * sysdeps/mach/sysdep.h: Likewise.
5245 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5246 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5247 * sysdeps/sh/sysdep.h: Likewise.
5248 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5249 * sysdeps/unix/i386/sysdep.S: Likewise.
5250 * sysdeps/unix/sparc/start.c: Likewise.
5251 * sysdeps/unix/sparc/sysdep.S: Likewise.
5252 * sysdeps/unix/sparc/sysdep.h: Likewise.
5253 * sysdeps/unix/start.c: Likewise.
5254 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5255 * sysdeps/x86_64/sysdep.h: Likewise.
5257 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5260 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5262 * argp/argp-fmtstream.h: Use const instead __const.
5263 * argp/argp.h: Likewise.
5264 * assert/assert.h: Likewise.
5265 * bits/fenv.h: Likewise.
5266 * bits/sched.h: Likewise.
5267 * bits/sigset.h: Likewise.
5268 * bits/sigthread.h: Likewise.
5269 * catgets/nl_types.h: Likewise.
5270 * conform/data/pthread.h-data: Likewise.
5271 * crypt/crypt-private.h: Likewise.
5272 * crypt/crypt.h: Likewise.
5273 * crypt/crypt_util.c: Likewise.
5274 * ctype/ctype.h: Likewise.
5275 * debug/execinfo.h: Likewise.
5276 * debug/mbsnrtowcs_chk.c: Likewise.
5277 * debug/mbsrtowcs_chk.c: Likewise.
5278 * debug/wcsnrtombs_chk.c: Likewise.
5279 * debug/wcsrtombs_chk.c: Likewise.
5280 * debug/wcstombs_chk.c: Likewise.
5281 * dirent/dirent.h: Likewise.
5282 * dlfcn/dlfcn.h: Likewise.
5283 * elf/neededtest4.c: Likewise.
5284 * grp/grp.h: Likewise.
5285 * gshadow/gshadow.h: Likewise.
5286 * iconv/gconv.h: Likewise.
5287 * iconv/gconv_int.h: Likewise.
5288 * iconv/gconv_simple.c: Likewise.
5289 * iconv/iconv.h: Likewise.
5290 * iconv/loop.c: Likewise.
5291 * iconv/skeleton.c: Likewise.
5292 * include/aio.h: Likewise.
5293 * include/aliases.h: Likewise.
5294 * include/argz.h: Likewise.
5295 * include/arpa/inet.h: Likewise.
5296 * include/assert.h: Likewise.
5297 * include/dirent.h: Likewise.
5298 * include/dlfcn.h: Likewise.
5299 * include/execinfo.h: Likewise.
5300 * include/fcntl.h: Likewise.
5301 * include/fenv.h: Likewise.
5302 * include/glob.h: Likewise.
5303 * include/grp.h: Likewise.
5304 * include/libintl.h: Likewise.
5305 * include/mntent.h: Likewise.
5306 * include/netdb.h: Likewise.
5307 * include/pwd.h: Likewise.
5308 * include/rpc/netdb.h: Likewise.
5309 * include/sched.h: Likewise.
5310 * include/search.h: Likewise.
5311 * include/shadow.h: Likewise.
5312 * include/signal.h: Likewise.
5313 * include/stdio.h: Likewise.
5314 * include/stdlib.h: Likewise.
5315 * include/string.h: Likewise.
5316 * include/sys/socket.h: Likewise.
5317 * include/sys/stat.h: Likewise.
5318 * include/sys/statfs.h: Likewise.
5319 * include/sys/statvfs.h: Likewise.
5320 * include/sys/syslog.h: Likewise.
5321 * include/sys/time.h: Likewise.
5322 * include/sys/uio.h: Likewise.
5323 * include/time.h: Likewise.
5324 * include/unistd.h: Likewise.
5325 * include/utmp.h: Likewise.
5326 * include/wchar.h: Likewise.
5327 * include/wctype.h: Likewise.
5328 * inet/aliases.h: Likewise.
5329 * inet/arpa/inet.h: Likewise.
5330 * inet/netinet/ether.h: Likewise.
5331 * inet/netinet/in.h: Likewise.
5332 * intl/libintl.h: Likewise.
5333 * io/bits/fcntl2.h: Likewise.
5334 * io/fcntl.h: Likewise.
5335 * io/ftw.h: Likewise.
5336 * io/sys/poll.h: Likewise.
5337 * io/sys/stat.h: Likewise.
5338 * io/sys/statfs.h: Likewise.
5339 * io/sys/statvfs.h: Likewise.
5340 * io/utime.h: Likewise.
5341 * libio/bits/stdio.h: Likewise.
5342 * libio/bits/stdio2.h: Likewise.
5343 * libio/libio.h: Likewise.
5344 * libio/libioP.h: Likewise.
5345 * libio/stdio.h: Likewise.
5346 * locale/lc-ctype.c: Likewise.
5347 * locale/locale.h: Likewise.
5348 * login/utmp.h: Likewise.
5349 * malloc/arena.c: Likewise.
5350 * malloc/malloc.c: Likewise.
5351 * malloc/malloc.h: Likewise.
5352 * malloc/mcheck.c: Likewise.
5353 * malloc/mtrace.c: Likewise.
5354 * math/bits/mathcalls.h: Likewise.
5355 * math/fenv.h: Likewise.
5356 * math/math_private.h: Likewise.
5357 * misc/bits/error.h: Likewise.
5358 * misc/bits/syslog.h: Likewise.
5359 * misc/err.h: Likewise.
5360 * misc/error.h: Likewise.
5361 * misc/fstab.h: Likewise.
5362 * misc/mntent.h: Likewise.
5363 * misc/regexp.h: Likewise.
5364 * misc/search.h: Likewise.
5365 * misc/sgtty.h: Likewise.
5366 * misc/sys/mman.h: Likewise.
5367 * misc/sys/syslog.h: Likewise.
5368 * misc/sys/uio.h: Likewise.
5369 * misc/sys/xattr.h: Likewise.
5370 * misc/ttyent.h: Likewise.
5371 * nis/rpcsvc/ypclnt.h: Likewise.
5372 * nss/nss.h: Likewise.
5373 * posix/bits/unistd.h: Likewise.
5374 * posix/fnmatch.h: Likewise.
5375 * posix/glob.h: Likewise.
5376 * posix/sched.h: Likewise.
5377 * posix/spawn.h: Likewise.
5378 * posix/sys/wait.h: Likewise.
5379 * posix/unistd.h: Likewise.
5380 * posix/wordexp.h: Likewise.
5381 * pwd/pwd.h: Likewise.
5382 * resolv/netdb.h: Likewise.
5383 * resource/sys/resource.h: Likewise.
5384 * rt/aio.h: Likewise.
5385 * rt/bits/mqueue2.h: Likewise.
5386 * rt/mqueue.h: Likewise.
5387 * shadow/shadow.h: Likewise.
5388 * signal/signal.h: Likewise.
5389 * socket/send.c: Likewise.
5390 * socket/sendto.c: Likewise.
5391 * socket/sys/socket.h: Likewise.
5392 * stdio-common/printf.h: Likewise.
5393 * stdlib/bits/stdlib.h: Likewise.
5394 * stdlib/fmtmsg.h: Likewise.
5395 * stdlib/monetary.h: Likewise.
5396 * stdlib/stdlib.h: Likewise.
5397 * stdlib/ucontext.h: Likewise.
5398 * streams/stropts.h: Likewise.
5399 * string/argz.h: Likewise.
5400 * string/bits/string2.h: Likewise.
5401 * string/string.h: Likewise.
5402 * string/strings.h: Likewise.
5403 * sunrpc/rpc/auth.h: Likewise.
5404 * sunrpc/rpc/auth_des.h: Likewise.
5405 * sunrpc/rpc/clnt.h: Likewise.
5406 * sunrpc/rpc/netdb.h: Likewise.
5407 * sunrpc/rpc/pmap_clnt.h: Likewise.
5408 * sunrpc/rpc/xdr.h: Likewise.
5409 * sysdeps/generic/inttypes.h: Likewise.
5410 * sysdeps/generic/net/if.h: Likewise.
5411 * sysdeps/generic/sys/swap.h: Likewise.
5412 * sysdeps/gnu/net/if.h: Likewise.
5413 * sysdeps/gnu/utmpx.h: Likewise.
5414 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5415 * sysdeps/i386/i486/bits/string.h: Likewise.
5416 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5417 * sysdeps/s390/bits/string.h: Likewise.
5418 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5419 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5420 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5421 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5422 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5423 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5424 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5425 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5426 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5427 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5428 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5429 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5430 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5431 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5432 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5433 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5434 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5436 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5437 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5438 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5439 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5440 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5441 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5442 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5443 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5444 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5445 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5446 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5447 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5448 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5449 * sysvipc/sys/ipc.h: Likewise.
5450 * sysvipc/sys/msg.h: Likewise.
5451 * sysvipc/sys/sem.h: Likewise.
5452 * sysvipc/sys/shm.h: Likewise.
5453 * termios/termios.h: Likewise.
5454 * time/sys/time.h: Likewise.
5455 * time/time.h: Likewise.
5456 * wcsmbs/bits/wchar2.h: Likewise.
5457 * wcsmbs/uchar.h: Likewise.
5458 * wcsmbs/wchar.h: Likewise.
5459 * wctype/wctype.h: Likewise.
5462 * Makeconfig: Remove all but ELF support including AIX support.
5463 * Makerules: Likewise.
5464 * config.h.in: Likewise.
5465 * config.make.in: Likewise.
5466 * configure: Likewise.
5467 * configure.in: Likewise.
5468 * csu/Makefile: Likewise.
5469 * csu/version.c: Likewise.
5470 * debug/Makefile: Likewise.
5471 * dlfcn/Makefile: Likewise.
5472 * elf/Makefile: Likewise.
5473 * extra-lib.mk: Likewise.
5474 * iconv/Makefile: Likewise.
5475 * include/libc-symbols.h: Likewise.
5476 * include/shlib-compat.h: Likewise.
5477 * resolv/Makefile: Likewise.
5478 * resolv/res_libc.c: Likewise.
5479 * rt/Makefile: Likewise.
5480 * sysdeps/i386/asm-syntax.h: Likewise.
5481 * sysdeps/i386/sysdep.h: Likewise.
5482 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5483 * sysdeps/mach/sysdep.h: Likewise.
5484 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5485 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5486 * sysdeps/s390/asm-syntax.h: Likewise.
5487 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5488 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5489 * sysdeps/sh/sysdep.h: Likewise.
5490 * sysdeps/unix/sparc/sysdep.h: Likewise.
5491 * sysdeps/wordsize-32/divdi3.c: Likewise.
5492 * sysdeps/x86_64/sysdep.h: Likewise.
5494 * argp/Versions: Remove _argp_unlock_xxx.
5497 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5498 * abilist/libBrokenLocale.abilist: Likewise.
5499 * abilist/libanl.abilist: Likewise.
5500 * abilist/libc.abilist: Likewise.
5501 * abilist/libcrypt.abilist: Likewise.
5502 * abilist/libdl.abilist: Likewise.
5503 * abilist/libm.abilist: Likewise.
5504 * abilist/libnsl.abilist: Likewise.
5505 * abilist/libpthread.abilist: Likewise.
5506 * abilist/libresolv.abilist: Likewise.
5507 * abilist/librt.abilist: Likewise.
5508 * abilist/libthread_db.abilist: Likewise.
5509 * abilist/libutil.abilist: Likewise.
5510 * abilist/libnss_db.abilist: New file.
5512 * scripts/abilist.awk: Add support for indirect functions.
5514 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5516 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5518 * shlib-versions: Remove entries for ports architectures.
5520 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5522 * elf/stackguard-macros.h: Remove support for IA-64.
5523 * elf/tst-auditmod1.c: Likewise.
5524 * sysdeps/generic/ldsodefs.h: Likewise.
5526 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5527 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5531 * configure.in: Remove --enable-omitfp support.
5533 * config.make.in: Likewise.
5534 * Makeconfig: Likewise.
5535 * manual/install.texi: Likewise.
5537 In case anyone cares, the IA-64 architecture could move to ports.
5538 * sysdeps/ia64/*: Removed.
5539 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5540 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5543 * configure.in: Remove entries for unsupported architectures.
5546 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5547 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5549 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5550 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5551 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5552 fall back to using wcrtomb.
5553 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5554 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5556 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5557 * wcsmbs/tst-c16c32-1.c: New file.
5559 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5562 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5564 * elf/tst-unique3.cc: Add explicit declaration of gets.
5565 * elf/tst-unique3lib.cc: Likewise.
5566 * elf/tst-unique3lib2.cc: Likewise.
5567 * elf/tst-unique4.cc: Likewise.
5569 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5571 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5574 * assert/assert.h (static_assert): Don't define for C++.
5575 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5576 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5578 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5580 * iconv/loop.c (single loop): Fix assertion in storing of
5583 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5585 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5587 * posix/getconf.c: Update copyright year.
5588 * nss/getent.c: Likewise.
5589 * nss/makedb.c: Likewise.
5590 * iconv/iconvconfig.c: Likewise.
5591 * iconv/iconv_prog.c: Likewise.
5592 * elf/ldconfig.c: Likewise.
5593 * elf/pldd.c: Likewise.
5594 * elf/sotruss.ksh: Likewise.
5595 * catgets/gencat.c: Likewise.
5596 * csu/version.c: Likewise.
5597 * elf/ldd.bash.in: Likewise.
5598 * elf/sprof.c (print_version): Likewise.
5599 * locale/programs/locale.c: Likewise.
5600 * locale/programs/localedef.c: Likewise.
5601 * login/programs/pt_chown.c: Likewise.
5602 * nscd/nscd.c (print_version): Likewise.
5603 * debug/xtrace.sh: Likewise.
5604 * malloc/memusage.sh: Likewise.
5605 * malloc/mtrace.pl: Likewise.
5606 * debug/catchsegv.sh: Likewise.
5608 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5610 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5613 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5616 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5617 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5619 * iconv/gconv_int.h: Likewise.
5620 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5621 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5622 from libc for GLIBC_2.16.
5623 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5624 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5625 * wcsmbs/uchar.h: Really define mbstate_t.
5626 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5627 * wcsmbs/c16rtomb.c: New file.
5628 * wcsmbs/mbrtoc16.c: New file.
5629 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5631 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5632 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5634 * wcsmbs/wchar.h: Add missing __restrict.
5636 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5639 * time/Makefile (routines): Add timespec_get.
5640 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5641 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5642 timespec for ISO C11.
5643 * time/timespec_get.c: New file.
5644 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5645 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5648 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5649 * stdlib/stdlib.h: Declare aligned_alloc.
5650 * Versions.def: Add GLIBC_2.16 for libc.
5651 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5654 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5657 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5661 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5664 * assert/assert.h (static_assert): Define.
5666 * version.h: Update for 2.16 development version.
5669 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5672 * version.h (RELEASE): Bump for 2.15 release.
5673 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5675 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5676 Patch by Marek Polacek <mpolacek@redhat.com>.
5678 * bits/byteswap.h: Protect long long constants with __extension__.
5679 * sysdeps/i386/bits/byteswap.h: Likewise.
5680 * sysdeps/ia64/bits/byteswap.h: Likewise.
5681 * sysdeps/s390/bits/byteswap.h: Likewise.
5682 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5684 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5689 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5691 2011-12-23 Marek Polacek <polacek@redhat.com>
5693 * elf/dl-addr.c (determine_info): Add inline keyword.
5694 * elf/tst-auditmod4b.c (check_avx): Likewise.
5695 * elf/tst-auditmod6b.c (check_avx): Likewise.
5696 * elf/tst-auditmod6c.c (check_avx): Likewise.
5697 * elf/tst-auditmod7b.c (check_avx): Likewise.
5699 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5701 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5704 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5707 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5708 processing for last bytes.
5710 2011-08-06 Bruno Haible <bruno@clisp.org>
5713 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5714 U+0385, not to U+1FEE.
5717 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5718 entry for U+00A5 U+0301.
5720 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5723 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5724 buffer for the output is too small.
5726 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5730 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5731 SSE flags if possible.
5733 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5736 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5737 processing for last bytes.
5739 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5741 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5742 (syscall-list-default-options, syscall-list-default-condition)
5743 (syscall-list-includes): Define.
5744 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5745 list of ABIs and options and #if conditions for each ABI. Do not
5746 handle common syscalls between ABIs specially.
5747 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5749 (syscall-list-variants, syscall-list-32bit-options)
5750 (syscall-list-32bit-condition, syscall-list-64bit-options)
5751 (syscall-list-64bit-condition): Define.
5752 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5753 (syscall-list-variants, syscall-list-32bit-options)
5754 (syscall-list-32bit-condition, syscall-list-64bit-options)
5755 (syscall-list-64bit-condition): Define.
5756 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5758 (syscall-list-variants, syscall-list-32bit-options)
5759 (syscall-list-32bit-condition, syscall-list-64bit-options)
5760 (syscall-list-64bit-condition): Define.
5761 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5763 (syscall-list-variants, syscall-list-32bit-options)
5764 (syscall-list-32bit-condition, syscall-list-64bit-options)
5765 (syscall-list-64bit-condition): Define.
5767 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5769 * locale/iso-639.def: Add brx entry.
5772 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5773 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5775 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5776 __feraiseexcept_renamed.
5778 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5781 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5782 EPOLLET with unsigned values.
5783 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5784 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5786 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5787 to large cancellation.
5788 * math/s_cacoshf.c: Likewise.
5789 * math/s_cacoshl.c: Likewise.
5791 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5795 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5796 * math/s_cacoshf.c: Likewise.
5797 * math/s_cacoshl.c: Likewise.
5799 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5802 * iconv/gconv.h: Define __GCONV_SWAP.
5803 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5804 * iconvdata/utf-16.c: Likewise.
5805 * iconvdata/utf-32.c: Likewise.
5807 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5810 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5811 numerator after shifting it by one limb.
5813 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5815 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5816 under [__USE_EXTERN_INLINES].
5818 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5821 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5823 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5825 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5826 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5828 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5829 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5830 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5831 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5832 for strncasecmp/strncasecmp_l compilation.
5833 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5834 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5836 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5839 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5842 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5845 * time/tzfile.c (__tzfile_read): Check values from file header.
5847 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5849 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5850 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5851 * powerpc/powerpc32/dl-start.S: Likewise.
5852 * powerpc/powerpc32/elf/start.S: Likewise.
5853 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5854 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5855 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5856 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5857 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5858 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5859 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5860 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5861 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5862 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5863 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5864 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5865 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5866 * powerpc/powerpc32/memset.S: Likewise.
5867 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5868 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5869 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5870 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5871 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5872 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5873 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5874 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5875 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5876 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5877 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5878 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5879 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5881 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5883 * math/libm-test.inc: Added more nearbyint tests.
5884 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5885 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5886 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5887 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5889 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5891 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5894 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5896 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5897 Add wcscpy-ssse3 wcscpy-c.
5898 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5899 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5900 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5901 * sysdeps/x86_64/wcschr.S: New file.
5902 * sysdeps/x86_64/wcsrchr.S: New file.
5903 * string/test-strcmp.c: Remove checking of wcscmp function for
5905 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5906 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5907 wcsrchr-sse2 wcsrchr-c.
5908 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5909 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5910 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5911 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5912 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5913 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5914 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5915 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5916 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5917 * wcsmbc/wcschr.c (WCSCHR): New macro.
5919 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5921 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5922 * wcsmbs/test-wcsrchr.c: New file.
5923 * string/test-strrchr.c: Add wcsrchr support.
5925 * wcsmbs/test-wcscpy.c: New file.
5926 * string/test-strcpy.c: Add wcscpy support.
5929 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5931 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5934 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5937 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5939 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5941 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5942 Minor optimizations.
5944 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5945 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5946 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5948 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5950 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5951 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5952 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5953 for gcc to avoid warnings.
5954 * inet/Makefile (tests): Add tst-checks.
5955 * inet/tst-checks.c: New file.
5957 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5960 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5963 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5964 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5966 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5968 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5970 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5973 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5975 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5977 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5978 conditional on GCC version.
5979 (__arch_compare_and_exchange_val_8_acq)
5980 (__arch_compare_and_exchange_val_16_acq)
5981 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5982 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5983 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5985 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5987 * sysdeps/sh/backtrace.c: New file.
5989 2011-12-02 Andreas Schwab <schwab@redhat.com>
5991 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5994 2011-12-01 Andreas Schwab <schwab@redhat.com>
5996 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5997 falling back to utime.
5999 2011-11-30 Andreas Schwab <schwab@redhat.com>
6001 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6002 expectations for float.
6004 2011-11-29 Andreas Schwab <schwab@redhat.com>
6006 * locale/weight.h (findidx): Add parameter len.
6007 * locale/weightwc.h (findidx): Likewise.
6008 * posix/fnmatch_loop.c (FCT): Adjust caller.
6009 * posix/regcomp.c (build_equiv_class): Likewise.
6010 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6011 * posix/regexec.c (check_node_accept_bytes): Likewise.
6012 * string/strcoll_l.c (STRCOLL): Likewise.
6013 * string/strxfrm_l.c (STRXFRM): Likewise.
6015 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6017 * Makefile.in: Remove CVSOPT handling.
6018 * configure.in: Remove use of AC_REVISION.
6019 * iconvdata/Makefile (distribute): No need to filter out CVS.
6020 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6023 2011-11-16 Andreas Schwab <schwab@redhat.com>
6025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6026 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6027 [USE_AS_STRNCASECMP_L]: Likewise.
6028 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6029 NO_TLS_DIRECT_SEG_REFS.
6030 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6031 Fix argument offsets for non-PIC.
6032 [USE_AS_STRNCASECMP_L]: Likewise.
6033 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6034 NO_TLS_DIRECT_SEG_REFS.
6036 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6038 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6040 * locale/loadlocale.c (_nl_load_locale): Likewise.
6042 2011-11-15 Andreas Schwab <schwab@redhat.com>
6044 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6045 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6046 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6047 (SYSCALL_GETTIME): Set errno on error.
6049 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6050 count references to noai6ai_cached.
6052 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6054 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6056 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6057 FD_CLOEXEC for /proc/self/maps.
6059 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6060 FD_CLOEXEC for /proc/meminfo.
6062 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6065 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6066 FD_CLOEXEC for given file.
6068 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6070 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6071 FD_CLOEXEC for /etc/hosts.
6072 (_gethtent): Likewise.
6074 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6076 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6077 cancellation and set FD_CLOEXEC for /etc/netgroup.
6079 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6080 reading /etc/publickey.
6082 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6083 allow cancellation when reading /etc/group.
6085 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6087 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6089 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6090 when using data file.
6092 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6094 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6095 (write_nis_obj): Use "c" and "e" in fopen.
6097 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6099 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6101 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6103 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6105 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6108 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6110 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6112 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6114 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6115 file parsing and set FD_CLOEXEC.
6117 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6119 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6121 2011-11-14 Andreas Schwab <schwab@redhat.com>
6123 * malloc/arena.c (arena_get2): Don't call reused_arena when
6124 _int_new_arena failed.
6126 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6128 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6129 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6130 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6131 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6132 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6133 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6134 to compile strcasecmp and strncasecmp.
6135 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6136 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6140 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6142 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6143 locale-defines.sym to gen-as-const-headers.
6144 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6145 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6147 to compile strcasecmp and strncasecmp.
6148 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6149 strcasecmp_l and strncasecmp_l.
6150 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6151 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6152 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6153 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6154 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6155 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6156 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6157 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6158 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6159 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6160 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6162 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6164 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6165 result of SYSDEP_GETTIME_CPU to retval.
6166 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6167 parameter list to macro. Remove trailing semicolon. Adjust users.
6169 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6172 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6174 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6176 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6177 from unused variable.
6179 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6181 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6184 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6187 * sunrpc/rpc_prot.c (rejected): Fix case value.
6189 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6190 unsigned long long int to avoid warnings in shift.
6192 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6194 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6197 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6198 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6199 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6201 * nis/nis_table.c (nis_list): Use variable of correct type for
6202 result of __follow_path call.
6204 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6206 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6207 of math functions ceil, trunc, floor, round, and sqrt, when
6208 avaliable on the platform.
6209 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6211 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6212 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6213 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6215 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6217 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6218 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6220 2011-11-11 Roland McGrath <roland@hack.frob.com>
6222 * include/unistd.h: Fix __readlink return type.
6223 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6225 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6227 * stdlib/ucontext.h: Undo last change for makecontext.
6229 2011-11-11 Andreas Schwab <schwab@redhat.com>
6231 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6233 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6234 * setjmp/setjmp.h: Mark functions as non-leaf.
6235 * setjmp/bits/setjmp2.h: Likewise.
6236 * stdlib/ucontext.h: Likewise.
6238 2011-11-10 Andreas Schwab <schwab@redhat.com>
6240 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6241 (reused_arena): Don't check arena limit.
6242 (arena_get2): Atomically check arena limit.
6244 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6246 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6247 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6249 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6252 2011-11-07 Andreas Schwab <schwab@redhat.com>
6254 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6255 handler when locking.
6257 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6258 Fix size of allocated buffer.
6260 2011-11-04 Andreas Schwab <schwab@redhat.com>
6263 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6264 declarations for long double functions.
6265 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6267 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6269 2011-11-03 Andreas Schwab <schwab@redhat.com>
6271 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6274 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6277 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6279 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6281 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6283 * include/alloca.h (stackinfo_alloca_round): Define.
6284 (extend_alloca): Use it.
6285 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6286 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6289 * scripts/check-local-headers.sh: Ignore libaudit.h.
6291 * nscd/Makefile (extra-objs): Make recursively expanded.
6293 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6295 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6296 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6298 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6299 * posix/tst-rfc3484-2.c: Likewise.
6300 * posix/tst-rfc3484-3.c: Likewise.
6302 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6304 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6306 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6307 process_vm_writev from libc using GLIBC_2.15 version.
6309 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6311 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6313 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6316 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6319 * nss/getent.c (initgroups_keys): Show error message in case no group
6322 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6323 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6324 __bump_nl_timestamp.
6325 * nscd/connections (nscd_init): When host database is served open
6326 netlink socket and request notification about configuration changes.
6327 (main_loop_poll): Track netlink file descriptor and bump timestamp
6328 in case data becomes available.
6329 (main_loop_epoll): Likewise.
6330 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6331 (database_pers_head): Add extra_data fileds.
6332 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6333 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6334 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6337 in6ai data, call __free_in6ai.
6338 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6340 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6341 interface information. Reuse previous data if netlink timestamp
6343 (__bump_nl_timestamp): New function.
6344 (__free_in6ai): New function.
6346 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6348 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6349 close_not_cancel_no_status here.
6350 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6352 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6355 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6358 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6359 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6360 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6362 2011-07-03 Andreas Jaeger <aj@suse.de>
6365 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6366 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6367 * math/libm-test.inc (sin_test): Add test case.
6369 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6372 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6373 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6375 * elf/chroot_canon.c (chroot_canon): Cleanups.
6377 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6380 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6381 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6383 * string/test-strchr.c: Make usable for strchrnul testing.
6384 * string/test-strchrnul.c: New file.
6385 * string/Makefile (strop-tests): Add strchrnul.
6387 * po/it.po: Update from translation team.
6388 * po/es.po: Likewise.
6390 2011-10-28 Ulrich Drepper <drepper@gmail.com>
6392 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6393 the three constants needed as parameters. Drop the others.
6394 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6395 __m128i_strloadu_tolower.
6396 Create and initialize variable zero and use it in all the places
6397 where _mm_setzero_si128 was used.
6399 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6400 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6401 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6402 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6404 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6405 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6406 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6407 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6408 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6409 __mpranred, __mptan.
6410 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6411 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6412 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6413 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6414 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6415 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6416 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6417 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6418 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6420 2011-10-28 Andreas Schwab <schwab@redhat.com>
6422 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6424 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6426 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6427 wide char related routines to wcsmbs subdir.
6429 2011-10-27 Andreas Schwab <schwab@redhat.com>
6432 * misc/sys/cdefs.h (__THROWNL): Define.
6433 * posix/unistd.h: Use __THREADNL instead of __THREAD
6434 for memory synchronization functions.
6436 2011-10-26 Roland McGrath <roland@hack.frob.com>
6439 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6441 * manual/stdio.texi (Obstack Streams): Node removed.
6443 2011-10-26 Andreas Schwab <schwab@redhat.com>
6445 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6446 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6447 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6449 * math/math_private.h (math_force_eval): Allow non-addressable
6451 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6453 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6455 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6458 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6459 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6460 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6461 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6462 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6463 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6464 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6465 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6467 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6468 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6469 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6470 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6471 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6472 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6473 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6474 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6475 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6476 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6477 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6478 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6479 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6480 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6481 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6482 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6483 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6484 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6485 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6487 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6488 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6490 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6491 place. Use VEX encoding when compiling for AVX.
6493 2011-10-25 Andreas Schwab <schwab@redhat.com>
6495 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6496 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6498 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6500 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6502 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6503 useless if() expression.
6504 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6513 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6514 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6515 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6516 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6517 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6518 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6519 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6520 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6522 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6524 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6526 2011-10-25 Andreas Schwab <schwab@redhat.com>
6528 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6530 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6532 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6534 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6535 .text section. Avoid duplicate constants.
6536 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6544 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6545 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6546 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6547 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6548 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6549 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6550 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6551 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6552 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6553 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6555 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6556 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6557 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6559 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6560 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6561 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6562 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6563 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6564 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6565 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6566 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6567 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6568 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6569 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6570 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6571 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6572 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6573 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6574 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6575 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6576 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6577 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6578 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6579 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6580 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6582 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6584 * sysdeps/x86_64/dla.h: Move to ...
6585 * sysdeps/x86_64/fpu/dla.h: ...here.
6586 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6587 situations. Use __builtin_fma only for gcc 4.6 and up.
6589 * config.make.in: Add have-mfma4 entry.
6590 * configure.in: Substitute libc_cv_cc_fma4.
6591 * math/Makefile (dbl-only-routines): Add sincostab.
6592 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6593 Use __sincostab not sincos.
6594 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6596 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6601 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6602 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6603 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6604 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6606 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6607 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6609 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6610 define aliases when function name is a macro.
6611 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6612 sysdeps/ieee754/dbl-64/sincos.tbl.
6613 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6614 fma4-enabled routines.
6615 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6616 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6617 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6618 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6619 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6620 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6621 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6622 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6623 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6624 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6625 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6626 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6627 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6628 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6629 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6630 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6631 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6632 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6633 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6634 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6635 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6636 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6637 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6638 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6639 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6640 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6641 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6642 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6643 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6644 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6646 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6648 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6657 2011-10-24 Andreas Schwab <schwab@redhat.com>
6659 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6661 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6663 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6665 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6667 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6669 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6670 Remove unused variable magic_bits.
6671 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6673 * string/strnlen.c: Define and use STRNLEN macro.
6674 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6675 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6676 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6677 * wcsmbs/wcslen.c: Define and use WCSLEN.
6678 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6679 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6680 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6681 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6682 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6683 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6684 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6686 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6689 strnlen-sse2-no-bsf.
6690 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6691 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6692 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6693 Add strnlen support.
6694 (USE_AS_STRNLEN): New macro.
6695 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6696 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6697 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6698 * sysdeps/x86_64/wcslen.S: New file.
6700 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6702 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6703 XMM-moves are used for copying on small sizes.
6705 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6707 * wcsmbs/Makefile (strop-tests): Add wcschr.
6708 * wcsmbs/test-wcschr.c: New file.
6709 * string/test-strchr.c: Update.
6713 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6715 * wcsmbs/Makefile (strop-tests): Add wcslen.
6716 * wcsmbs/test-wcslen.c: New file.
6717 * string/test-strlen.c: Update.
6721 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6723 * po/it.po: Update from translation team.
6725 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6727 * sysdeps/x86_64/wcscmp.S: Update.
6728 Fix wrong comparison semantics.
6729 wcscmp shall use signed comparison not unsigned.
6730 Don't use substraction to avoid overflow bug.
6731 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6732 * wcsmbc/wcscmp.c: Likewise.
6733 * string/test-strcmp.c: Likewise.
6734 Add new tests to check cases with negative values.
6736 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6738 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6739 * sysdeps/x86_64/dla.h: ...here. New file.
6740 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6741 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6750 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6752 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6753 __ynl_finite aliases.
6755 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6757 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6759 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6761 [DLA_FMA] (EMULV): Use DLA_FMA.
6762 [DLA_FMA] (MUL12): Use EMULV.
6763 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6764 that are not needed.
6765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6766 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6773 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6775 * math/s_nan.c: Undef __nan.
6776 * math/s_nanf.c: Undef __nanf.
6777 * math/s_nanl.c: Undef __nanl.
6778 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6781 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6783 * math/s_catan.c: Add branch predictions.
6784 * math/s_catanf.c: Likewise.
6785 * math/s_catanh.c: Likewise.
6786 * math/s_catanhf.c: Likewise.
6787 * math/s_catanhl.c: Likewise.
6788 * math/s_catanl.c: Likewise.
6789 * math/s_cexp.c: Likewise.
6790 * math/s_cexpf.c: Likewise.
6791 * math/s_cexpl.c: Likewise.
6792 * math/s_clog.c: Likewise.
6793 * math/s_clog10.c: Likewise.
6794 * math/s_clog10f.c: Likewise.
6795 * math/s_clog10l.c: Likewise.
6796 * math/s_clogf.c: Likewise.
6797 * math/s_clogl.c: Likewise.
6798 * math/s_csqrt.c: Likewise.
6799 * math/s_csqrtf.c: Likewise.
6800 * math/s_csqrtl.c: Likewise.
6801 * math/s_ctanf.c: Likewise.
6802 * math/s_ctanh.c: Likewise.
6803 * math/s_ctanhf.c: Likewise.
6804 * math/s_ctanhl.c: Likewise.
6805 * math/s_ctanl.c: Likewise.
6807 * math/math_private.h: Define __nan, __nanf, __nanl.
6808 * math/s_cacosh.c: Include <math_private.h>.
6809 * math/s_cacoshl.c: Likewise.
6810 * math/s_casinh.c: Likewise.
6811 * math/s_casinhf.c: Likewise.
6812 * math/s_casinhl.c: Likewise.
6813 * math/s_ccos.c: Rely entire on ccosh.
6814 * math/s_ccosf.c: Rely entire on ccoshf.
6815 * math/s_ccosl.c: Rely entirely on ccoshl.
6816 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6817 Remove tests for FE_INVALID.
6818 * math/s_ccoshf.c: Likewise.
6819 * math/s_ccoshl.c: Likewise.
6820 * math/s_csin.c: Likewise.
6821 * math/s_csinf.c: Likewise.
6822 * math/s_csinh.c Likewise.
6823 * math/s_csinhf.c: Likewise.
6824 * math/s_csinhl.c: Likewise.
6825 * math/s_csinl.c: Likewise.
6826 * math/s_ctan.c: Likewise.
6827 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6828 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6829 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6831 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6833 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6834 compilation problems.
6836 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6839 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6841 * sysdeps/i386/configure.in: Test for -mfma4 option.
6842 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6843 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6844 COMMON_CPUID_INDEX_80000001.
6845 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6846 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6847 use it if FMA3 is not supported.
6848 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6850 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6851 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6853 2011-10-20 Andreas Schwab <schwab@redhat.com>
6856 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6857 it would create a cycle with a link time dependency.
6859 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6861 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6863 * string/Makefile (strop-tests): Add rawmemchr.
6864 * string/test-rawmemchr.c: New file.
6866 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6867 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6868 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6869 when compiling str{,n}casecmp and when AVX is available. Hook up
6870 new optimized code in initializers.
6872 2011-10-19 Andreas Schwab <schwab@redhat.com>
6874 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6875 __feraiseexcept instead of feraiseexcept.
6877 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6879 * math/math_private.h: Define defaults for libc_fetestexcept and
6881 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6882 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6883 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6884 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6885 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6886 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6887 libc_fetestexcept and libc_feupdateenv.
6889 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6890 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6891 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6892 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6893 libc_feholdexcept_setround.
6895 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6896 Add s_nearbyint-c and s_nearbyintf-c.
6897 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6899 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6900 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6901 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6902 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6904 * math/math_private.h: Define defaults for libc_fegetround,
6905 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6906 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6907 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6908 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6909 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6911 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6912 Remove comments and hacks for old compiler versions.
6913 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6914 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6917 2011-10-18 Andreas Schwab <schwab@redhat.com>
6919 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6920 (__feraiseexcept_renamed): Add __NTH.
6921 (feraiseexcept): Add __NTH. Rename local variables to fix
6922 namespace violations.
6924 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6926 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6928 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6930 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6931 recently added interfaces.
6932 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6934 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6935 about macro parameter expansion.
6937 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6938 __NO_MATH_INLINES is defined. Cleanups.
6940 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6941 and __floorf is target has SSE4.1.
6942 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6943 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6944 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6945 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6947 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6951 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6953 2011-10-17 Andreas Schwab <schwab@redhat.com>
6955 * misc/sys/cdefs.h: Fix last change.
6957 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6960 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6962 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6964 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6965 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6966 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6967 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6968 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6969 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6970 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6971 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6972 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6973 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6974 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6975 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6976 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6977 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6978 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6979 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6980 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6981 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6982 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6983 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6984 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6985 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6987 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6988 ceil, ceilf, floor, floorf.
6990 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6991 Perform IRELATIVE relocations last.
6993 * elf/do-rel.h: Add another parameter nrelative, replacing the
6994 local variable with the same name. Change name of the function
6995 to end in Rel or Rela (uppercase).
6996 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6997 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6998 elf_dynamic_do_##reloc function.
7000 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7002 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7003 is sufficient, at least on modern CPUs.
7005 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7007 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7008 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7010 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7012 * math/bits/math-finite.h: Add entries for exp.
7013 * math/e_expl.c: Add __*_finite alias.
7014 * sysdeps/i386/fpu/e_exp.S: Likewise.
7015 * sysdeps/i386/fpu/e_expf.S: Likewise.
7016 * sysdeps/i386/fpu/e_expl.c: Likewise.
7017 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7018 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7019 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7021 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7022 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7023 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7025 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7026 is sufficient, at least on modern CPUs.
7028 * ctype/ctype-info.c (__ctype_init): Define.
7029 * include/ctype.h (__ctype_init): Declare.
7030 (__ctype_b_loc): The variable is always initialized.
7031 (__ctype_toupper_loc): Likewise.
7032 (__ctype_tolower_loc): Likewise.
7033 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7034 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7036 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7038 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7040 * configure.in: Also look in $cxxmachine/include for C++ system
7043 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7045 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7046 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7047 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7048 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7049 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7050 (USE_AS_WMEMCMP): New macro.
7052 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7053 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7054 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7055 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7057 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7058 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7059 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7060 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7061 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7062 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7063 (USE_AS_WMEMCMP): New macro.
7064 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7065 * sysdeps/string/test-memcmp.c: Update.
7068 * wcsmbs/wmemcmp.c: Update.
7069 (WMEMCMP): New macro.
7072 2011-10-12 Andreas Jaeger <aj@suse.de>
7075 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7077 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7079 * libio/iofwide.c (do_length): Avoid warning.
7081 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7083 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7085 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7087 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7088 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7089 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7090 * sysdeps/i386/i686/fpu/e_log.S: New file.
7091 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7092 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7094 * ctype/ctype.h: Add support for inlined isXXX functions when
7097 2011-10-14 Andreas Schwab <schwab@redhat.com>
7099 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7101 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7103 2011-10-13 Roland McGrath <roland@hack.frob.com>
7106 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7108 2011-10-13 Andreas Schwab <schwab@redhat.com>
7110 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7111 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7114 * sysdeps/x86_64/memrchr.S: Check for zero size.
7116 * string/stratcliff.c: Add memrchr tests.
7118 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7121 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7122 rawmemchr-sse2 rawmemchr-sse2-bsf.
7123 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7124 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7125 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7126 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7127 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7128 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7129 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7130 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7131 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7132 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7133 * string/memrchr.c (MEMRCHR): New macro.
7135 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7137 Add integration with gcc's -ffinite-math-only and optimize wrapper
7139 * Versions.def: Define GLIBC_2.15 version for libm.
7140 * math/Makefile (headers): Add bits/math-finite.h.
7141 * math/bits/math-finite.h: New file.
7142 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7143 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7144 * math/e_acoshl.c: Add __*_finite alias.
7145 * math/e_acosl.c: Likewise.
7146 * math/e_asinl.c: Likewise.
7147 * math/e_atan2l.c: Likewise.
7148 * math/e_atanhl.c: Likewise.
7149 * math/e_coshl.c: Likewise.
7150 * math/e_exp10.c: Likewise.
7151 * math/e_exp10f.c: Likewise.
7152 * math/e_exp10l.c: Likewise.
7153 * math/e_exp2l.c: Likewise.
7154 * math/e_fmodl.c: Likewise.
7155 * math/e_gammal_r.c: Likewise.
7156 * math/e_hypotl.c: Likewise.
7157 * math/e_j0l.c: Likewise.
7158 * math/e_j1l.c: Likewise.
7159 * math/e_jnl.c: Likewise.
7160 * math/e_lgammal_r.c: Likewise.
7161 * math/e_log10l.c: Likewise.
7162 * math/e_log2l.c: Likewise.
7163 * math/e_logl.c: Likewise.
7164 * math/e_powl.c: Likewise.
7165 * math/e_sinhl.c: Likewise.
7166 * math/e_sqrtl.c: Likewise.
7167 * math/e_scalb.c: Completely rewritten and optimized.
7168 * math/e_scalbf.c: Likewise.
7169 * math/e_scalbl.c: Likewise.
7170 * math/w_acos.c: Likewise.
7171 * math/w_acosf.c: Likewise.
7172 * math/w_acosl.c: Likewise.
7173 * math/w_acosh.c: Likewise.
7174 * math/w_acoshf.c: Likewise.
7175 * math/w_acoshl.c: Likewise.
7176 * math/w_asin.c: Likewise.
7177 * math/w_asinf.c: Likewise.
7178 * math/w_asinl.c: Likewise.
7179 * math/w_atan2.c: Likewise.
7180 * math/w_atan2f.c: Likewise.
7181 * math/w_atan2l.c: Likewise.
7182 * math/w_atanh.c: Likewise.
7183 * math/w_atanhf.c: Likewise.
7184 * math/w_atanhl.c: Likewise.
7185 * math/w_exp10.c: Likewise.
7186 * math/w_exp10f.c: Likewise.
7187 * math/w_exp10l.c: Likewise.
7188 * math/w_fmod.c: Likewise.
7189 * math/w_fmodf.c: Likewise.
7190 * math/w_fmodl.c: Likewise.
7191 * math/w_j0.c: Likewise.
7192 * math/w_j0f.c: Likewise.
7193 * math/w_j0l.c: Likewise.
7194 * math/w_j1.c: Likewise.
7195 * math/w_j1f.c: Likewise.
7196 * math/w_j1l.c: Likewise.
7197 * math/w_jn.c: Likewise.
7198 * math/w_jnf.c: Likewise.
7199 * math/w_log.c: Likewise.
7200 * math/w_logf.c: Likewise.
7201 * math/w_logl.c: Likewise.
7202 * math/w_log10.c: Likewise.
7203 * math/w_log10f.c: Likewise.
7204 * math/w_log10l.c: Likewise.
7205 * math/w_log2.c: Likewise.
7206 * math/w_log2f.c: Likewise.
7207 * math/w_log2l.c: Likewise.
7208 * math/w_pow.c: Likewise.
7209 * math/w_powf.c: Likewise.
7210 * math/w_powl.c: Likewise.
7211 * math/w_remainder.c: Likewise.
7212 * math/w_remainderf.c: Likewise.
7213 * math/w_remainderl.c: Likewise.
7214 * math/w_scalb.c: Likewise.
7215 * math/w_scalbf.c: Likewise.
7216 * math/w_scalbl.c: Likewise.
7217 * math/w_sqrt.c: Likewise.
7218 * math/w_sqrtf.c: Likewise.
7219 * math/w_sqrtl.c: Likewise.
7220 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7221 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7223 * math/math_private.h: Declare __kernel_standard_f.
7224 * math/w_cosh.c: Remove cruft and optimize a bit.
7225 * math/w_coshf.c: Likewise.
7226 * math/w_coshl.c: Likewise.
7227 * math/w_exp2.c: Likewise.
7228 * math/w_exp2f.c: Likewise.
7229 * math/w_exp2l.c: Likewise.
7230 * math/w_hypot.c: Likewise.
7231 * math/w_hypotf.c: Likewise.
7232 * math/w_hypotl.c: Likewise.
7233 * math/w_lgamma.c: Likewise.
7234 * math/w_lgamma_r.c: Likewise.
7235 * math/w_lgammaf.c: Likewise.
7236 * math/w_lgammaf_r.c: Likewise.
7237 * math/w_lgammal.c: Likewise.
7238 * math/w_lgammal_r.c: Likewise.
7239 * math/w_sinh.c: Likewise.
7240 * math/w_sinhf.c: Likewise.
7241 * math/w_sinhl.c: Likewise.
7242 * math/w_tgamma.c: Likewise.
7243 * math/w_tgammaf.c: Likewise.
7244 * math/w_tgammal.c: Likewise.
7245 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7246 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7247 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7248 Minor optimizations. Pretty printing. Remove cruft.
7249 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7250 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7251 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7252 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7253 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7254 * sysdeps/i386/fpu/e_asin.S: Likewise.
7255 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7256 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7257 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7258 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7259 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7260 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7261 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7262 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7263 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7264 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7265 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7266 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7267 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7268 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7269 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7270 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7271 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7272 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7273 * sysdeps/i386/fpu/e_log.S: Likewise.
7274 * sysdeps/i386/fpu/e_log10.S: Likewise.
7275 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7276 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7277 * sysdeps/i386/fpu/e_log2.S: Likewise.
7278 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7279 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7280 * sysdeps/i386/fpu/e_logf.S: Likewise.
7281 * sysdeps/i386/fpu/e_logl.S: Likewise.
7282 * sysdeps/i386/fpu/e_pow.S: Likewise.
7283 * sysdeps/i386/fpu/e_powf.S: Likewise.
7284 * sysdeps/i386/fpu/e_powl.S: Likewise.
7285 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7286 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7287 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7288 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7289 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7290 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7291 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7292 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7293 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7294 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7295 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7296 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7297 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7298 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7299 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7300 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7301 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7302 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7303 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7304 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7305 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7306 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7307 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7308 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7310 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7311 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7312 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7313 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7314 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7315 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7316 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7317 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7318 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7319 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7320 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7321 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7322 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7323 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7324 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7325 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7326 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7327 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7328 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7329 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7330 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7331 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7332 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7333 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7334 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7335 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7336 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7339 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7340 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7341 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7342 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7343 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7344 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7345 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7346 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7347 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7349 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7350 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7351 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7352 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7353 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7374 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7377 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7378 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7379 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7380 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7381 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7382 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7385 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7386 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7387 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7388 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7389 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7390 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7391 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7392 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7393 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7394 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7395 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7396 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7397 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7398 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7399 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7400 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7401 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7402 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7403 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7404 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7405 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7406 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7407 (__isnanf): Likewise.
7408 (__isinf_ns): Likewise.
7409 (__isinf_nsf): Likewise.
7410 (__finite): Likewise.
7411 (__finitef): Likewise.
7412 (__ieee754_sqrt): Define as macro.
7413 (__ieee754_sqrtf): Define as macro.
7414 (__ieee754_sqrtl): Define as macro.
7415 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7417 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7418 __FINITE_MATH_ONLY__ consistent.
7419 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7421 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7423 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7426 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7428 2011-10-09 Ulrich Drepper <drepper@gmail.com>
7430 * po/ja.po: Update from translation team.
7432 2011-10-08 Roland McGrath <roland@hack.frob.com>
7434 * locale/programs/locarchive.c (prepare_address_space): New function.
7435 (create_archive, enlarge_archive, open_archive): Use it.
7437 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7438 inside [SHARED], where it is used.
7440 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7442 * nss/getent.c (netgroup_keys): Remove unused variable.
7443 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7445 2011-10-08 Ulrich Drepper <drepper@gmail.com>
7447 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7448 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7449 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7450 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7451 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7452 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7453 * math/Makefile (libm-calls): Add s_isinf_ns.
7454 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7455 * math/multc3.c: Likewise.
7456 * math/s_casin.c: Likewise.
7457 * math/s_casinf.c: Likewise.
7458 * math/s_casinl.c: Likewise.
7459 * math/s_ccos.c: Likewise.
7460 * math/s_ccosf.c: Likewise.
7461 * math/s_ccosl.c: Likewise.
7462 * math/s_ctan.c: Likewise.
7463 * math/s_ctanf.c: Likewise.
7464 * math/s_ctanh.c: Likewise.
7465 * math/s_ctanhf.c: Likewise.
7466 * math/s_ctanhl.c: Likewise.
7467 * math/s_ctanl.c: Likewise.
7468 * math/w_fmod.c: Likewise.
7469 * math/w_fmodf.c: Likewise.
7470 * math/w_fmodl.c: Likewise.
7471 * math/w_remainder.c: Likewise.
7472 * math/w_remainderf.c: Likewise.
7473 * math/w_remainderl.c: Likewise.
7474 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7475 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7476 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7477 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7478 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7479 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7480 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7481 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7483 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7485 * stdio-common/printf_fphex.c: Likewise.
7486 * stdio-common/printf_size.c: Likewise.
7488 * math/e_exp10.c: Include math_private.h using <...> not "...".
7489 * math/e_exp10f.c: Likewise.
7490 * math/e_exp10l.c: Likewise.
7491 * math/e_exp2l.c: Likewise.
7492 * math/e_j0l.c: Likewise.
7493 * math/e_j1l.c: Likewise.
7494 * math/e_jnl.c: Likewise.
7495 * math/e_lgammal_r.c: Likewise.
7496 * math/e_rem_pio2l.c: Likewise.
7497 * math/e_scalb.c: Likewise.
7498 * math/e_scalbf.c: Likewise.
7499 * math/e_scalbl.c: Likewise.
7500 * math/k_cosl.c: Likewise.
7501 * math/k_sinl.c: Likewise.
7502 * math/k_tanl.c: Likewise.
7503 * math/s_cacoshf.c: Likewise.
7504 * math/s_catan.c: Likewise.
7505 * math/s_catanf.c: Likewise.
7506 * math/s_catanh.c: Likewise.
7507 * math/s_catanhf.c: Likewise.
7508 * math/s_catanhl.c: Likewise.
7509 * math/s_catanl.c: Likewise.
7510 * math/s_ccosh.c: Likewise.
7511 * math/s_ccoshf.c: Likewise.
7512 * math/s_ccoshl.c: Likewise.
7513 * math/s_cexp.c: Likewise.
7514 * math/s_cexpf.c: Likewise.
7515 * math/s_cexpl.c: Likewise.
7516 * math/s_clog.c: Likewise.
7517 * math/s_clog10.c: Likewise.
7518 * math/s_clog10f.c: Likewise.
7519 * math/s_clog10l.c: Likewise.
7520 * math/s_clogf.c: Likewise.
7521 * math/s_clogl.c: Likewise.
7522 * math/s_csin.c: Likewise.
7523 * math/s_csinf.c: Likewise.
7524 * math/s_csinh.c: Likewise.
7525 * math/s_csinhf.c: Likewise.
7526 * math/s_csinhl.c: Likewise.
7527 * math/s_csinl.c: Likewise.
7528 * math/s_csqrt.c: Likewise.
7529 * math/s_csqrtf.c: Likewise.
7530 * math/s_csqrtl.c: Likewise.
7531 * math/s_ctan.c: Likewise.
7532 * math/s_ctanf.c: Likewise.
7533 * math/s_ctanh.c: Likewise.
7534 * math/s_ctanhf.c: Likewise.
7535 * math/s_ctanhl.c: Likewise.
7536 * math/s_ctanl.c: Likewise.
7537 * math/s_ldexp.c: Likewise.
7538 * math/s_ldexpf.c: Likewise.
7539 * math/s_ldexpl.c: Likewise.
7540 * math/s_significand.c: Likewise.
7541 * math/s_significandf.c: Likewise.
7542 * math/s_significandl.c: Likewise.
7543 * math/w_acos.c: Likewise.
7544 * math/w_acosf.c: Likewise.
7545 * math/w_acosh.c: Likewise.
7546 * math/w_acoshf.c: Likewise.
7547 * math/w_acoshl.c: Likewise.
7548 * math/w_acosl.c: Likewise.
7549 * math/w_asin.c: Likewise.
7550 * math/w_asinf.c: Likewise.
7551 * math/w_asinl.c: Likewise.
7552 * math/w_atan2.c: Likewise.
7553 * math/w_atan2f.c: Likewise.
7554 * math/w_atan2l.c: Likewise.
7555 * math/w_atanh.c: Likewise.
7556 * math/w_atanhf.c: Likewise.
7557 * math/w_atanhl.c: Likewise.
7558 * math/w_cosh.c: Likewise.
7559 * math/w_coshf.c: Likewise.
7560 * math/w_coshl.c: Likewise.
7561 * math/w_dremf.c: Likewise.
7562 * math/w_exp10.c: Likewise.
7563 * math/w_exp10f.c: Likewise.
7564 * math/w_exp10l.c: Likewise.
7565 * math/w_exp2.c: Likewise.
7566 * math/w_exp2f.c: Likewise.
7567 * math/w_fmod.c: Likewise.
7568 * math/w_fmodf.c: Likewise.
7569 * math/w_fmodl.c: Likewise.
7570 * math/w_hypot.c: Likewise.
7571 * math/w_hypotf.c: Likewise.
7572 * math/w_hypotl.c: Likewise.
7573 * math/w_j0.c: Likewise.
7574 * math/w_j0f.c: Likewise.
7575 * math/w_j0l.c: Likewise.
7576 * math/w_j1.c: Likewise.
7577 * math/w_j1f.c: Likewise.
7578 * math/w_j1l.c: Likewise.
7579 * math/w_jn.c: Likewise.
7580 * math/w_jnf.c: Likewise.
7581 * math/w_jnl.c: Likewise.
7582 * math/w_lgamma.c: Likewise.
7583 * math/w_lgamma_r.c: Likewise.
7584 * math/w_lgammaf.c: Likewise.
7585 * math/w_lgammaf_r.c: Likewise.
7586 * math/w_lgammal.c: Likewise.
7587 * math/w_lgammal_r.c: Likewise.
7588 * math/w_log.c: Likewise.
7589 * math/w_log10.c: Likewise.
7590 * math/w_log10f.c: Likewise.
7591 * math/w_log10l.c: Likewise.
7592 * math/w_log2.c: Likewise.
7593 * math/w_log2f.c: Likewise.
7594 * math/w_log2l.c: Likewise.
7595 * math/w_logf.c: Likewise.
7596 * math/w_logl.c: Likewise.
7597 * math/w_pow.c: Likewise.
7598 * math/w_powf.c: Likewise.
7599 * math/w_powl.c: Likewise.
7600 * math/w_remainder.c: Likewise.
7601 * math/w_remainderf.c: Likewise.
7602 * math/w_remainderl.c: Likewise.
7603 * math/w_scalb.c: Likewise.
7604 * math/w_scalbf.c: Likewise.
7605 * math/w_scalbl.c: Likewise.
7606 * math/w_sinh.c: Likewise.
7607 * math/w_sinhf.c: Likewise.
7608 * math/w_sinhl.c: Likewise.
7609 * math/w_sqrt.c: Likewise.
7610 * math/w_sqrtf.c: Likewise.
7611 * math/w_sqrtl.c: Likewise.
7612 * math/w_tgamma.c: Likewise.
7613 * math/w_tgammaf.c: Likewise.
7614 * math/w_tgammal.c: Likewise.
7616 * po/ja.po: Update from translation team.
7618 2011-09-29 Andreas Jaeger <aj@suse.de>
7621 * sunrpc/netname.c (netname2host): Fix logic.
7625 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7627 * math/w_remainder.c (__remainder): Likewise.
7628 * math/w_remainderf.c (__remainderf): Likewise.
7629 * math/libm-test.inc (remainder_test): Add test cases.
7631 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7633 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7636 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7638 * string/test-memcmp.c: Avoid unncessary #defines.
7639 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7641 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7643 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7644 Use new sse2 version for core i3 - i7 as it's faster
7646 (bit_Prefer_PMINUB_for_stringop): New.
7647 * sysdeps/x86_64/rawmemchr.S: Update.
7648 Replace with faster SSE2 version.
7649 * sysdeps/x86_64/memrchr.S: New file.
7650 * sysdeps/x86_64/memchr.S: Update.
7651 Replace with faster SSE2 version.
7653 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7655 * elf/dl-load.c (lose): Add cast to avoid warning.
7657 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7659 * po/ca.po: Update from translation team.
7661 * inet/getnetgrent_r.c: Hook up nscd.
7662 * nscd/Makefile (routines): Add nscd_netgroup.
7663 (nscd-modules): Add netgroupcache.
7664 (CFLAGS-netgroupcache.c): Define.
7665 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7666 (cache_search): Add const to second parameter.
7667 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7669 (dbs): Add netgrdb entry.
7670 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7671 (verify_persistent_db): Handle netgrdb.
7672 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7673 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7675 (netgroup_response_header): Define.
7676 (innetgroup_response_header): Define.
7677 (datahead): Add netgroup_response_header and innetgroup_response_header
7679 * nscd/nscd.conf: Add entries for netgroup cache.
7680 * nscd/nscd.h (dbtype): Add netgrdb.
7681 (_PATH_NSCD_NETGROUP_DB): Define.
7682 (netgroup_iov_disabled): Declare.
7683 (xmalloc, xcalloc, xrealloc): Move declarations here.
7684 (cache_search): Adjust prototype.
7685 Add netgroup-related prototypes.
7686 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7687 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7688 (__nscd_innetgr): Declare.
7689 * nscd/selinux.c (perms): Use access_vector_t as element type and
7690 add netgroup-related initializers.
7691 * nscd/netgroupcache.c: New file.
7692 * nscd/nscd_netgroup.c: New file.
7693 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7694 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7695 For four parameters use innetgr.
7696 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7697 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7698 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7699 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7701 * nscd/connections.c (register_traced_file): Don't register file
7702 for disabled databases.
7704 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7706 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7708 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7709 from tree and freeing node.
7711 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7713 * nss/nsswitch.c (__nss_database_lookup): Handle
7714 nss_parse_service_list out of memory case.
7716 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7718 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7721 2011-10-04 Andreas Schwab <schwab@redhat.com>
7723 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7724 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7726 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7727 elf_machine_rela, elf_machine_lazy_rel.
7728 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7729 (ELF_DYNAMIC_DO_REL): Likewise.
7730 (ELF_DYNAMIC_DO_RELA): Likewise.
7731 (ELF_DYNAMIC_RELOCATE): Likewise.
7732 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7733 to ELF_DYNAMIC_DO_REL.
7734 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7735 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7736 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7738 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7739 skip_ifunc, don't call ifunc function if non-zero.
7740 (elf_machine_rela): Likewise.
7741 (elf_machine_lazy_rel): Likewise.
7742 (elf_machine_lazy_rela): Likewise.
7743 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7744 (elf_machine_lazy_rel): Likewise.
7745 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7747 (elf_machine_lazy_rel): Likewise.
7748 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7750 (elf_machine_lazy_rel): Likewise.
7751 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7752 (elf_machine_lazy_rel): Likewise.
7753 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7754 (elf_machine_lazy_rel): Likewise.
7755 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7756 (elf_machine_lazy_rel): Likewise.
7757 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7758 (elf_machine_lazy_rel): Likewise.
7759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7760 (elf_machine_lazy_rel): Likewise.
7761 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7762 (elf_machine_lazy_rel): Likewise.
7764 2011-09-28 Ulrich Drepper <drepper@gmail.com>
7766 * nss/nss_files/files-init.c (_nss_files_init): Use static
7767 initialization for all the *_traced_file variables.
7769 2011-09-28 Andreas Schwab <schwab@redhat.com>
7771 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7773 2011-09-27 Roland McGrath <roland@hack.frob.com>
7776 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7778 2011-09-27 Andreas Schwab <schwab@redhat.com>
7780 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7781 Reread the line before reparsing it.
7783 2011-09-26 Andreas Schwab <schwab@redhat.com>
7785 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7787 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7788 Maxim Kuvyrkov <maxim@codesourcery.com>
7789 Joseph Myers <joseph@codesourcery.com>
7791 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7792 if needed for __stack_chk_guard.
7794 2011-09-19 Roland McGrath <roland@hack.frob.com>
7796 * sysdeps/posix/spawni.c (script_execute): Always define it.
7797 It will be optimized away if unused.
7798 (maybe_script_execute): New function.
7799 (__spawni): Call it.
7801 * Makerules: Don't include tls.make.
7802 (config-tls): Always set to thread.
7803 * tls.make.c: File removed.
7805 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7807 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7808 * config.make.in (CPPFLAGS-config): New substituted variable.
7810 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7812 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7815 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7816 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7818 2011-09-15 Roland McGrath <roland@hack.frob.com>
7820 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7821 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7822 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7823 (CALL_FAIL): Likewise.
7824 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7825 (CALL_FAIL): Macro removed.
7826 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7828 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7830 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7831 for __FINITE_MATH_ONLY__ == 1.
7833 2011-09-15 Andreas Schwab <schwab@redhat.com>
7835 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7836 __ieee754_sqrt instead of sqrt.
7837 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7838 __ieee754_sqrtf instead of sqrtf.
7839 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7840 __floorf instead of floorf.
7841 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7842 __floorf, __truncf instead of floorf, truncf.
7844 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7846 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7848 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7849 __extern_always_inline.
7850 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7853 2011-09-14 Andreas Schwab <schwab@redhat.com>
7855 * elf/rtld.c (dl_main): Also relocate in dependency order when
7856 doing symbol dependency testing.
7858 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7860 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7861 Always define `refsym'.
7863 2011-09-13 Andreas Schwab <schwab@redhat.com>
7865 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7866 (__FD_ELT): Renamed from __FDELT.
7867 * misc/bits/select2.h (__FD_ELT): Likewise.
7868 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7869 __FD_MASK instead of __FDELT, __FDMASK.
7870 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7872 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7875 * elf/Makefile (gen-ldd): Fix pattern.
7877 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7878 (init_tls): Likewise.
7880 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7882 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7884 2011-09-12 Andreas Schwab <schwab@redhat.com>
7886 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7887 `struct cmsghdr *' instead of `void *'.
7888 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7891 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7893 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7895 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7898 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7900 * configure.in: Remove --with-tls option.
7901 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7902 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7903 out in case it is missing.
7904 * sysdeps/ia64/elf/configure.in: Likewise.
7905 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7906 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7907 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7908 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7909 * sysdeps/sh/elf/configure.in: Likewise.
7910 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7911 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7912 * sysdeps/x86_64/elf/configure.in: Likewise.
7913 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7914 * sysdeps/mach/hurd/tls.h: Likewise.
7917 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7920 * configure.in: Fix use of AC_INIT.
7922 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7924 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7926 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7928 * malloc/hooks.c: Likewise.
7931 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7932 variables statically.
7933 (narenas): Initialize.
7934 (list_lock): Initialize.
7935 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7936 initializtion of main_arena and list_lock. Small cleanups.
7937 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7938 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7939 Add initializers to main_arena and mp_.
7940 (malloc_state): Remove pagesize member. Change all users to use
7943 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7944 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7945 is always initialized.
7947 * malloc/malloc.c: Removed unused configurations and dead code.
7948 * malloc/arena.c: Likewise.
7949 * malloc/hooks.c: Likewise.
7950 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7952 * include/tls.h: Removed. USE___THREAD must always be defined.
7953 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7954 * elf/dl-libc.c: Likewise.
7955 * elf/dl-tsd.c: Likewise.
7956 * include/errno.h: Likewise.
7957 * include/netdb.h: Likewise.
7958 * include/resolv.h: Likewise.
7959 * inet/herrno-loc.c: Likewise.
7960 * inet/herrno.c: Likewise.
7961 * malloc/arena.c: Likewise.
7962 * malloc/hooks.c: Likewise.
7963 * malloc/malloc.c: Likewise.
7964 * resolv/res-state.c: Likewise.
7965 * resolv/res_libc.c: Likewise.
7966 * sysdeps/i386/dl-machine.h: Likewise.
7967 * sysdeps/ia64/dl-machine.h: Likewise.
7968 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7969 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7970 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7971 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7972 * sysdeps/sh/dl-machine.h: Likewise.
7973 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7974 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7975 * sysdeps/unix/i386/sysdep.S: Likewise.
7976 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7977 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7978 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7980 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7982 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7983 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7984 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7986 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7987 * sysdeps/x86_64/dl-machine.h: Likewise.
7988 * tls.make.c: Likewise.
7990 * configure.in: Remove --with-__thread option. Make tests for
7991 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7992 tls_model attribute fail if no support is available. Remove
7994 * Makeconfig: Adjust for dropped configure option. All features are
7996 * Makerules: Likewise.
7997 * Versions.def: Likewise.
7998 * argp/argp-fmtstream.c: Likewise.
7999 * argp/argp-fmtstream.h: Likewise.
8000 * argp/argp-help.c: Likewise.
8001 * assert/assert.c: Likewise.
8002 * config.h.in: Likewise.
8003 * config.make.in: Likewise.
8004 * configure: Likewise.
8005 * configure.in: Likewise.
8006 * csu/Versions: Likewise.
8007 * csu/init.c: Likewise.
8008 * elf/tst-audit2.c: Likewise.
8009 * elf/tst-tls10.c: Likewise.
8010 * elf/tst-tls10.h: Likewise.
8011 * elf/tst-tls11.c: Likewise.
8012 * elf/tst-tls12.c: Likewise.
8013 * elf/tst-tls14.c: Likewise.
8014 * elf/tst-tlsmod11.c: Likewise.
8015 * elf/tst-tlsmod12.c: Likewise.
8016 * elf/tst-tlsmod13.c: Likewise.
8017 * elf/tst-tlsmod13a.c: Likewise.
8018 * elf/tst-tlsmod14a.c: Likewise.
8019 * elf/tst-tlsmod15b.c: Likewise.
8020 * elf/tst-tlsmod16a.c: Likewise.
8021 * elf/tst-tlsmod16b.c: Likewise.
8022 * elf/tst-tlsmod7.c: Likewise.
8023 * elf/tst-tlsmod8.c: Likewise.
8024 * elf/tst-tlsmod9.c: Likewise.
8025 * gmon/gmon.c: Likewise.
8026 * grp/fgetgrent_r.c: Likewise.
8027 * grp/putgrent.c: Likewise.
8028 * hurd/fopenport.c: Likewise.
8029 * include/libc-symbols.h: Likewise.
8030 * include/tls.h: Likewise.
8031 * intl/gettextP.h: Likewise.
8032 * intl/loadinfo.h: Likewise.
8033 * locale/global-locale.c: Likewise.
8034 * locale/localeinfo.h: Likewise.
8035 * mach/devstream.c: Likewise.
8036 * malloc/arena.c: Likewise.
8037 * malloc/set-freeres.c: Likewise.
8038 * misc/err.c: Likewise.
8039 * misc/getttyent.c: Likewise.
8040 * misc/mntent_r.c: Likewise.
8041 * posix/getopt.c: Likewise.
8042 * posix/wordexp.c: Likewise.
8043 * pwd/fgetpwent_r.c: Likewise.
8044 * resolv/Versions: Likewise.
8045 * resolv/res_hconf.c: Likewise.
8046 * shadow/fgetspent_r.c: Likewise.
8047 * shadow/putspent.c: Likewise.
8048 * stdio-common/printf_fphex.c: Likewise.
8049 * stdio-common/tmpfile.c: Likewise.
8050 * stdlib/abort.c: Likewise.
8051 * stdlib/fmtmsg.c: Likewise.
8052 * sunrpc/auth_unix.c: Likewise.
8053 * sunrpc/clnt_perr.c: Likewise.
8054 * sunrpc/clnt_tcp.c: Likewise.
8055 * sunrpc/clnt_udp.c: Likewise.
8056 * sunrpc/clnt_unix.c: Likewise.
8057 * sunrpc/openchild.c: Likewise.
8058 * sunrpc/svc_simple.c: Likewise.
8059 * sunrpc/svc_tcp.c: Likewise.
8060 * sunrpc/svc_udp.c: Likewise.
8061 * sunrpc/svc_unix.c: Likewise.
8062 * sunrpc/xdr.c: Likewise.
8063 * sunrpc/xdr_array.c: Likewise.
8064 * sunrpc/xdr_rec.c: Likewise.
8065 * sunrpc/xdr_ref.c: Likewise.
8066 * sunrpc/xdr_stdio.c: Likewise.
8068 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8070 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8072 2011-07-03 Andreas Jaeger <aj@suse.de>
8074 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8075 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8076 regenerate with gen-libm-tests.pl.
8078 2010-05-12 Petr Baudis <pasky@suse.cz>
8081 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8082 around j0() zero points by switching to j1().
8083 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8084 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8085 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8086 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8088 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8090 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8092 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8095 Patch in part by Pavel Roskin <proski@gnu.org>.
8098 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8100 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8101 Free memory block if necessary.
8104 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8105 be NULL. Don't lock in this case.
8107 2011-09-09 Roland McGrath <roland@hack.frob.com>
8109 * elf/elf.h (ELFOSABI_GNU): New macro.
8110 (ELFOSABI_LINUX): Define to that.
8112 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8114 * string/strncat.c (strncat): Undef the symbol in case it has been
8115 defined in bits/string.h.
8117 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8119 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8121 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8124 2011-08-17 Andreas Jaeger <aj@suse.de>
8126 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8128 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8129 Ian Lance Taylor <iant@google.com>
8131 * math/libm-test.inc (lround_test): New testcase.
8132 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8134 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8136 * Makefile: Remove support for automatic cvs check-ins.
8137 * Makerules: Likewise.
8138 * config.make.in: Likewise.
8139 * configure.in: Likewise.
8140 * intl/Makefile: Likewise.
8141 * locale/Makefile: Likewise.
8142 * po/Makefile: Likewise.
8143 * posix/Makefile: Likewise.
8144 * sysdeps/gnu/Makefile: Likewise.
8145 * sysdeps/mach/hurd/Makefile: Likewise.
8146 * sysdeps/sparc/sparc32/Makefile: Likewise.
8149 * posix/Makefile (bug-regex32-ENV): Define.
8150 Patch by John Stanley <jpsinthemix@verizon.net>.
8152 * misc/Makefile (headers): Add bits/select2.h.
8153 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8154 * misc/bits/select2.h: New file.
8155 * include/bits/select2.h: New file.
8156 * debug/Makefile (routines): Add fdelt_chk.
8157 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8158 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8160 * debug/fdelt_chk.c: New file.
8162 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8163 * wcsmbs/test-wmemcmp.c: Likewise.
8164 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8165 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8167 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8169 * string/Makefile (strop-tests): Add memcmp.
8170 * string/test-wmemcmp.c: New file.
8171 * string/test-memcmp.c: Add wmemcmp support.
8173 2011-09-08 Roland McGrath <roland@hack.frob.com>
8176 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8179 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8180 garbage value in a __mach_port_mod_refs call in the cases of the
8181 task-self and thread-self ports.
8183 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8185 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8187 2011-09-08 Andreas Schwab <schwab@redhat.com>
8189 * elf/dl-load.c (lose): Check for non-null L.
8191 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8193 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8195 * elf/dl-libc.c (dlerror_run): Pass back error code from
8199 * elf/dl-load.c (lose): Free l_origin if it is valid.
8201 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8203 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8204 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8205 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8206 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8207 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8208 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8210 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8212 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8213 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8214 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8215 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8216 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8217 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8218 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8219 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8220 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8221 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8223 2011-08-15 Alan Modra <amodra@gmail.com>
8226 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8227 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8228 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8229 ppc_mcount to static-only-routines.
8230 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8232 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8233 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8235 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8237 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8238 for finite and infinity parameters.
8240 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8242 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8243 and add nop instructions for throughput optimization.
8244 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8246 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8248 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8249 aligned copy for power7 with vector-scalar instructions.
8250 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8252 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8257 2011-09-07 Andreas Schwab <schwab@redhat.com>
8260 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8263 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8265 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8266 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8267 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8268 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8271 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8273 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8274 Forgot to demangle the pointer.
8276 * sysdeps/i386/sysdep.h: Define atom_text_section.
8277 * sysdeps/x86_64/sysdep.h: Likewise.
8278 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8279 section with atom_text_section.
8280 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8281 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8282 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8283 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8284 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8286 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8287 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8288 already be defined. Change to take two parameters and don't assign
8289 result to variable. Adjust all users.
8290 Define INTERNAL_GETTIME if not already defined.
8291 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8294 HAVE_CLOCK_GETTIME_VSYSCALL.
8295 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8297 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8298 gettimeofday vsyscall, just use time.
8300 2011-09-06 Andreas Schwab <schwab@redhat.com>
8302 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8305 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8307 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8309 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8311 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8312 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8313 syscall if possible.
8315 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8317 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8318 e_ident. Don't pass to find_mapsXX.
8319 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8321 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8324 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8325 * sysdeps/x86_64/multiarch/strchr.S: Update.
8326 Check bit_slow_BSF bit.
8327 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8328 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8329 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8331 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8334 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8337 (__spawni): Change last parameter to be flag. Test
8338 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8339 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8340 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8341 * posix/spawni.c: Likewise.
8342 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8343 * posix/spawnp.c: Likewise. Change normal version to use
8344 SPAWN_XFLAGS_USE_PATH.
8345 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8346 SPAWN_XFLAGS_TRY_SHELL.
8349 * posix/glob.h: Remove gcc 1.x support.
8352 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8354 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8356 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8357 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8359 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8360 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8361 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8362 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8363 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8364 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8366 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8368 * sysdeps/x86_64/wcscmp.S: New file.
8370 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8371 wcscmp-c wcscmp-sse2
8372 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8373 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8374 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8375 * wcsmbs/wcscmp.c: Allow renaming.
8377 2011-09-05 David S. Miller <davem@davemloft.net>
8379 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8380 stack slot, rather than the struct return pointer slot.
8381 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8382 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8384 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8386 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8388 * po/ja.po: Update from translation team.
8391 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8392 kernel in 64-bit binaries.
8394 2011-09-01 David S. Miller <davem@davemloft.net>
8396 * elf/elf.h (HWCAP_SPARC_*): Move to..
8397 * sysdeps/sparc/sysdep.h: this new file and add new values.
8398 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8399 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8400 _DL_HWCAP_COUNT to 24.
8401 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8403 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8404 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8405 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8407 instead of magic constants.
8408 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8410 2011-08-31 David S. Miller <davem@davemloft.net>
8412 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8414 Reimplement to do errno handling inline.
8415 (SYSCALL_ERROR_HANDLER): New macro.
8416 (__SYSCALL_STRING): Do not do errno handling in asm.
8417 (__CLONE_SYSCALL_STRING): Delete.
8418 (__INTERNAL_SYSCALL_STRING): Delete.
8419 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8420 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8421 (PSEUDO): Reimplement to do errno handling inline.
8422 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8423 (SYSCALL_ERROR_HANDLER): New macro.
8424 (__SYSCALL_STRING): Do not do errno handling in asm.
8425 (__CLONE_SYSCALL_STRING): Delete.
8426 (__INTERNAL_SYSCALL_STRING): Delete.
8427 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8428 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8430 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8431 (inline_syscall*): Add 'err' argument.
8432 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8433 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8434 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8435 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8437 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8438 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8440 2011-08-30 Andreas Schwab <schwab@redhat.com>
8442 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8444 2011-08-29 Jiri Olsa <jolsa@redhat.com>
8446 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8449 2011-08-24 David S. Miller <davem@davemloft.net>
8451 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8453 2011-08-24 Andreas Schwab <schwab@redhat.com>
8455 * elf/Makefile: Add rules to build and run unload8 test.
8456 * elf/unload8.c: New file.
8457 * elf/unload8mod1.c: New file.
8458 * elf/unload8mod1x.c: New file.
8459 * elf/unload8mod2.c: New file.
8460 * elf/unload8mod3.c: New file.
8462 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8465 2011-08-23 David S. Miller <davem@davemloft.net>
8467 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8468 subtract stack bias.
8469 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8470 %sp not %fp in calculations.
8471 (_JMPBUF_UNWINDS_ADJ): Likewise.
8473 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8474 (aio_suspend): Call it to force an exception region around the
8475 AIO_MISC_WAIT() invocation.
8477 2011-08-23 Andreas Schwab <schwab@redhat.com>
8479 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8482 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8484 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8486 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8488 (Elf64_FuncDesc): Remove.
8490 2011-08-22 David S. Miller <davem@davemloft.net>
8492 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8493 sigaltstack check, add missing cfi directives.
8494 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8495 missing cfi directives, and sigaltstack handling.
8497 2011-08-16 Andreas Schwab <schwab@redhat.com>
8500 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8501 object is seen twice.
8502 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8504 * elf/Makefile (distribute): Add tst-initorder2.c.
8505 (tests): Add tst-initorder2.
8506 (modules-names): Add tst-initorder2a tst-initorder2b
8507 tst-initorder2c tst-initorder2d. Add rules to build them.
8508 ($(objpfx)tst-initorder2.out): New rule.
8509 * elf/tst-initorder2.c: New file.
8510 * elf/tst-initorder2.exp: New file.
8512 2011-08-22 Andreas Schwab <schwab@redhat.com>
8514 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8516 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8517 dependencies back to end of function.
8519 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8522 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8524 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8525 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8526 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8527 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8528 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8529 of __vdso_gettimeofday.
8530 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8531 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8533 (_libc_vdso_platform_setup): Remove initialization of
8534 __vdso_gettimeofday and __vdso_time.
8536 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8538 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8540 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8543 * elf/dl-open.c (add_to_global): Report additions to the global scope
8544 for LD_DEBUG=scopes.
8545 (dl_open_worker): Also print scope of newly loaded dependencies.
8546 (_dl_show_scope): Indicate if there is no scope.
8549 * stdio-common/Makefile (tests): Add bug24.
8550 * stdio-common/bug24.c: New file.
8552 2011-08-19 Andreas Jaeger <aj@suse.de>
8555 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8556 non-existant file when using close-on-exec mode.
8558 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8561 the very first instruction.
8563 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8564 the CFI state in the end.
8565 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8566 inclusion of dl-trampoline.h.
8567 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8569 2011-08-19 Andreas Schwab <schwab@redhat.com>
8571 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8572 expectations for long double.
8574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8575 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8577 2011-08-14 David S. Miller <davem@davemloft.net>
8579 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8580 artificual limit depends upon the system page size.
8582 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8584 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8585 * resolv/Makefile: Define CFLAGS-libresolv.
8587 2011-08-17 Andreas Schwab <schwab@redhat.com>
8589 * nss/makedb.c (compute_tables): Make variables used in nested
8592 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8594 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8595 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8596 if buffer was too small.
8598 * elf/pldd.c (main): Attach to all threads in the process.
8599 Rewrite /proc handling to use *at functions.
8601 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8603 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8604 specifies first scope to show.
8605 (dl_open_worker): Update callers. Move printing scope of new
8606 object to before the relocation.
8607 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8608 * sysdeps/generic/ldsodefs.h: Update declaration.
8610 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8611 string for the scope number.
8613 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8615 * nscd/servicescache.c (cache_addserv): Make sure written is always
8618 2011-08-14 Roland McGrath <roland@hack.frob.com>
8620 * sysdeps/i386/i486/bits/atomic.h
8621 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8622 statement expression, so as to suppress "set but not used" warning.
8623 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8625 * string/strncat.c (STRNCAT): Use prototype definition.
8627 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8628 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8630 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8631 (localedef-modules): Add localedef.
8632 (locale-modules): Add locale.
8634 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8635 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8638 2011-08-14 David S. Miller <davem@davemloft.net>
8640 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8641 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8643 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8645 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8646 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8647 * elf/rtld.c (dl_main): Set l_name of vDSO.
8648 Call _dl_show_scope when DL_DEBUG_SCOPES.
8649 (process_dl_debug): Recognize scopes flag and also set it for all.
8650 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8651 Declare _dl_show_scope.
8653 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8654 (do_dlopen): Pass caller_dlopen to dl_open.
8655 (__libc_dlopen_mode): Initialize caller_dlopen.
8657 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8658 of libc. Make tolower call locale-independent. Optimize a bit by
8659 using isdigit instead of isalnum.
8660 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8662 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8664 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8665 was a dependency or dynamically loaded.
8667 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8669 * intl/l10nflist.c: Allow architecture-specific pop function.
8670 * sysdeps/x86_64/l10nflist.c: New file.
8672 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8675 2011-08-10 Andreas Schwab <schwab@redhat.com>
8677 * include/dirent.h: Add libc_hidden_proto for scandirat and
8678 scandirat64. Don't declare __scandirat64.
8679 * dirent/scandirat.c: Add libc_hidden_def.
8680 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8681 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8683 2011-08-10 David S. Miller <davem@davemloft.net>
8685 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8687 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8688 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8689 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8691 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8693 * Versions.def [libc]: Add GLIBC_2.15.
8694 * dirent/Makefile (routines): Add scandirat and scandirat64.
8695 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8697 * dirent/dirent.h: Declare scandirat and scandirat64.
8698 * dirent/scandirat.c: New file.
8699 * dirent/scandirat64.c: New file.
8700 * sysdeps/wordsize-64/scandirat.c: New file.
8701 * sysdeps/wordsize-64/scandirat64.c: New file.
8702 * dirent/opendir.c: Define opendirat.
8703 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8705 * dirent/scandir64.c: Adjust for scandir.c change.
8706 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8707 __scandirat64, and __scandir_cancel_handler.
8708 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8709 additional parameter and use openat instead of open (outside of ld.so).
8710 Add new __opendir as wrapper around __opendirat.
8711 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8712 here without requiring old scandirat implementation.
8714 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8716 * dirent/scandir.c (cancel_handler): Renamed to
8717 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8718 defined. Adjust users.
8719 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8720 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8722 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8724 * string/test-string.h (IMPL): Use __STRING to expand name and then
8727 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8730 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8732 * string/Makefile: Update.
8733 (strop-tests): Append strncat.
8734 * string/test-wcscmp.c: New file.
8735 New comprehensive test for wcscmp.
8736 * string/test-strcmp.c: Update.
8739 2011-07-22 Andreas Schwab <schwab@redhat.com>
8741 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8744 2011-07-26 Andreas Schwab <schwab@redhat.com>
8746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8747 encoding to ACE if AI_IDN.
8749 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8751 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8752 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8754 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8756 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8757 Fix overflow bug in strncat.
8758 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8760 * string/test-strncat.c: Update.
8761 Add new tests for checking overflow bugs.
8763 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8765 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8766 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8767 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8768 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8769 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8770 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8771 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8772 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8773 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8775 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8776 (USE_AS_STRCAT): Define.
8777 Add strcat and strncat support.
8778 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8780 2011-07-25 Andreas Schwab <schwab@redhat.com>
8782 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8783 __n bigger than INT_MAX+1.
8784 (__strncmp_g): Likewise.
8786 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8788 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8789 * libio/stido.h: Likewise.
8791 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8796 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8797 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8798 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8799 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8800 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8803 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8806 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8808 (_dl_x86_64_save_sse): Likewise.
8810 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8812 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8814 (_dl_x86_64_save_sse): Likewise.
8816 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8818 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8820 2011-07-21 Andreas Schwab <schwab@redhat.com>
8822 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8824 (_dl_x86_64_save_sse): Use correct AVX check.
8826 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8828 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8829 bug in strncpy/strncat.
8830 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8832 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8834 * string/tester.c (test_strcat): Add tests for different alignments
8835 of source and destination.
8836 (test_strncat): Likewise.
8838 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8841 * posix/glob.c (glob): Check passed in values before using them in
8842 expressions to avoid some overflows.
8843 (glob_in_dir): Likewise.
8846 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8847 check for AVX enablement so that we don't crash with old kernels and
8849 * elf/tst-audit4.c: Add same checks here.
8850 * elf/tst-audit6.c: Likewise.
8852 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8854 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8856 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8858 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8860 * po/cs.po: Update from translation team.
8861 * po/bg.po: Likewise.
8863 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8865 * misc/sys/cdefs.h: Add support for const attribute.
8866 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8867 to gnu_dev_{major,minor,makedev} functions.
8869 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8871 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8873 2011-07-20 Andreas Schwab <schwab@redhat.com>
8875 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8878 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8880 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8881 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8882 register in order to avoid conflicts with the soft frame pointer
8883 being held in r11 when necessary.
8884 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8885 (INTERNAL_VSYSCALL_NCS): Likewise.
8887 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8889 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8890 * elf/dl-fini.c (_dl_fini): Adjust caller.
8891 * elf/dl-close.c (_dl_close_worker): Likewise.
8892 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8894 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8896 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8897 "aux_cache->nlibs < 0".
8899 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8900 in the reload-count case.
8902 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8905 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8906 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8907 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8908 * sysdeps/x86_64/multiarch/strcat.S: New file.
8909 * sysdeps/x86_64/multiarch/strncat.S: New file.
8910 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8911 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8912 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8913 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8914 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8915 (USE_AS_STRCAT): Define.
8916 Add strcat and strncat support.
8917 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8918 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8919 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8920 * string/strncat.c: Update.
8921 (USE_AS_STRNCAT): Define.
8922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8923 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8925 * sysdeps/x86_64/multiarch/init-arch.h
8926 (bit_Prefer_PMINUB_for_stringop): New.
8927 (index_Prefer_PMINUB_for_stringop): Likewise.
8928 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8929 bit_Prefer_PMINUB_for_stringop.
8931 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8933 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8935 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8936 of casting of buffer.
8937 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8938 buffer32 and buffer64.
8939 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8940 writes instead of casting of buffer.
8941 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8943 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8946 2011-07-19 Andreas Schwab <schwab@redhat.com>
8948 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8950 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8952 * nscd/nscd.c (termination_handler): Don't do anything for a database
8953 if it has not yet been initialized.
8955 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8957 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8959 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8961 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8963 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8965 * po/nl.po: Update from translation team.
8966 * po/sv.po: Likewise.
8968 2011-07-16 Roland McGrath <roland@hack.frob.com>
8970 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8971 now disallowed by GCC.
8973 * configure.in (use-default-link): Default to yes if a test -shared
8974 link meets our qualifications.
8975 * configure: Regenerated.
8977 * config.make.in (output-format): New variable.
8978 * configure.in: Check for ld --print-output-format support.
8979 * configure: Regenerated.
8980 * Makerules ($(common-objpfx)format.lds)
8981 [$(output-format) != unknown]: Just use $(output-format),
8982 instead of the linker-script munging.
8984 2011-07-14 Roland McGrath <roland@hack.frob.com>
8986 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8987 of $(common-objpfx)shlib.lds.
8988 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8990 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8991 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8993 * configure.in (-z relro check): Adjust test code to add a large
8994 writable data section after it.
8995 * configure: Regenerated.
8997 2011-07-11 Roland McGrath <roland@hack.frob.com>
8999 * configure.in (-z relro check): Fix test code to make the variable
9001 * configure: Regenerated.
9003 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9005 * nscd/nscd.h (struct traced_file): Define.
9006 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9007 elements. Add traced_files.
9008 (inotify_fd): Declare.
9009 (register_traced_file): Declare.
9010 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9011 (inotify_fd): Export.
9012 (resolv_conf_descr): Remove.
9013 (nscd_init): Move inotify descriptor creation to main.
9014 Don't register files for notification here.
9015 (register_traced_file): New function.
9016 (invalidate_cache): Don't use reset_res to determine whether to call
9017 res_init, go through the list of registered files.
9018 (main_loop_poll): The inotify descriptors are now stored in the
9019 structures for the traced files.
9020 (main_loop_epoll): Likewise
9021 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9022 to __nss_disable_nscd.
9023 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9024 for a database anymore. Check the records for all the registered
9026 * nss/Makefile (libnss_files-routines): Add files-init.
9027 (libnss_db-routines): Add db-init.
9028 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9029 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9030 * nss/nss_db/db-init.c: New file.
9031 * nss/nss_files/files-init.c: New file.
9032 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9033 __nss_lookup_function.
9034 (__nss_lookup_function): Call nss_load_library.
9035 (nss_load_all_libraries): New function.
9036 (__nss_disable_nscd): Take parameter with callback function for files
9037 to register. Set is_nscd. Load all the DSOs for the NSS modules
9038 used for the cached services.
9039 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9040 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9041 options for features to all the files in nscd.
9043 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9045 2011-07-10 Roland McGrath <roland@hack.frob.com>
9047 * csu/elf-init.c (__libc_csu_init): Comment typo.
9049 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9051 * po/pl.po: Update from translation team.
9052 * po/ja.po: Likewise.
9053 * po/ru.po: Likewise.
9054 * po/ko.po: Likewise.
9055 * po/fr.po: Likewise.
9057 2011-07-09 Roland McGrath <roland@hack.frob.com>
9059 * configure.in (.ctors/.dtors header and trailer check):
9060 Use an empirical test on a built program.
9061 * configure: Regenerated.
9063 * configure.in (-z relro check): Use an empirical test on a built DSO.
9064 Detect, but do not require, on ia64.
9065 * configure: Regenerated.
9067 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9068 Update tests that use readelf to use $READELF instead.
9069 * configure: Regenerated.
9071 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9073 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9074 if the result is not used.
9076 2011-07-05 Andreas Jaeger <aj@suse.de>
9079 * stdlib/tst-strtod.c: Add testcase.
9081 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9083 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9084 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9085 The latter has a higher limit. Take additional parameter to pass to
9087 (__pathconf): Pass file to __statfs_link_max.
9088 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9090 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9094 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9095 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9097 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9098 (__statfs_filesize_max): Likewise.
9099 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9101 2011-07-05 Andreas Jaeger <aj@suse.de>
9103 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9105 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9107 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9109 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9112 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9114 * Makefile (strop-tests): Add strncat.
9115 * string/test-strncat.c: New file.
9117 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9119 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9121 2011-06-21 Andreas Jaeger <aj@suse.de>
9123 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9124 Copy rule from iconvdata/Makefile.
9126 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9129 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9130 but no long options are defined, just return 'W'.
9132 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9135 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9137 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9139 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9141 (innetgr): Likewise.
9143 2011-07-05 Roland McGrath <roland@hack.frob.com>
9145 * config.make.in (install_root): Default to $(DESTDIR).
9147 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9149 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9151 2011-07-02 Roland McGrath <roland@hack.frob.com>
9153 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9155 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9156 containing directory rather than embedding absolute directory names.
9158 * scripts/check-local-headers.sh: Rewritten using awk.
9159 Match by word, not by line. Print error messages for matches.
9160 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9162 * Makerules [shlib-lds-flags empty]:
9163 ($(common-objpfx)libc_pic.opts): New target.
9164 ($(common-objpfx)libc_pic.os.clean): New target.
9165 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9167 * config.make.in (OBJCOPY): New variable.
9168 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9169 * configure: Regenerated.
9171 * config.make.in (use-default-link): New variable.
9172 * configure.in (use_default_link): Grok --with-default-link to set it.
9173 * configure: Regenerated.
9174 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9175 (shlib-lds, shlib-lds-flags): Define to empty.
9177 * Makerules (shlib-lds): New variable.
9178 (shlib-lds-flags): New variable.
9179 (build-shlib, build-moduile, build-module-asneeded): Use it.
9180 ($(common-objpfx)libc.so): Use $(shlib-lds).
9181 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9182 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9184 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9185 DT_FLAGS/DT_FLAGS_1 with zero flags.
9187 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9188 linker script munging.
9190 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9192 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9194 * crypt/sha512.c (sha512_process_block): Perform total addition using
9195 128-bit if possible.
9196 (__sha512_finish_ctx): Likewise.
9197 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9199 * crypt/sha256.c (SWAP64): Define.
9200 (sha256_process_block): Perform total addition using 64-bit if
9202 (__sha256_finish_ctx): Likewise.
9204 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9206 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9207 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9208 * nscd/hstcache.c (cache_addhst): Likewise.
9209 * nscd/grpcache.c (cache_addgr): Likewise.
9210 * nscd/aicache.c (addhstaiX): Likewise
9211 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9213 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9215 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9216 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9217 * nscd/hstcache.c (cache_addhst): Likewise.
9218 * nscd/grpcache.c (cache_addgr): Likewise.
9219 * nscd/aicache.c (addhstaiX): Likewise
9221 2011-07-01 Andreas Schwab <schwab@redhat.com>
9223 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9224 domain only when needed.
9226 2011-06-30 Andreas Schwab <schwab@redhat.com>
9228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9231 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9233 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9234 are re-adding the entry.
9235 * nscd/servicescache.c (cache_addserv): Likewise.
9237 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9239 * sysdeps/generic/dl-irel.h: fix protection against multiple
9241 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9243 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9246 * malloc/memusage.sh: Fix quoting in message.
9247 * debug/xtrace.sh: Likewise.
9249 * configure.in: Remove support for --experimental-malloc option, make
9251 * config.make.in: Likewise.
9252 * malloc/Makefile: Likewise.
9254 2011-06-27 Andreas Schwab <schwab@redhat.com>
9256 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9257 two-byte characters.
9259 2011-06-27 Roland McGrath <roland@hack.frob.com>
9261 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9262 AC_CACHE_CHECK invocation.
9263 * configure: Regenerated.
9265 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9267 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9270 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9271 bit from old_res_options.
9273 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9275 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9276 value type for setfct.
9278 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9281 __gettimeofday instead of gettimeofday.
9283 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9285 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9287 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9289 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9291 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9294 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9297 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9298 strcpy-sse2-unaligned strncpy-sse2-unaligned
9299 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9300 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9301 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9302 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9303 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9304 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9305 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9306 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9307 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9308 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9309 (STRCPY): Support SSE2 and SSSE3 versions.
9311 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9314 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9315 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9316 kernels which artificially limit size of requests.
9318 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9321 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9322 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9323 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9324 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9325 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9326 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9327 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9328 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9329 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9330 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9331 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9332 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9333 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9334 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9336 Enable unaligned load optimization for Intel Core i3, i5 and i7
9338 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9340 (index_Fast_Unaligned_Load): Define.
9341 (HAS_FAST_UNALIGNED_LOAD): Define.
9343 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9345 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9347 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9350 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9351 until it is clear that the information is realy needed.
9352 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9354 2011-06-22 Andreas Schwab <schwab@redhat.com>
9356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9358 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9360 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9361 /sys/devices/system/cpu/online if it is usable.
9363 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9364 reading the information from the /proc filesystem to once a second.
9366 2011-06-21 Andreas Jaeger <aj@suse.de>
9368 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9369 NULL after inclusion of kernel headers.
9371 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9373 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9374 calls to internal_setent.
9377 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9378 addresses using gethostbyname4_r ignore IPv4 addresses.
9380 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9381 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9383 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9385 2011-06-20 David S. Miller <davem@davemloft.net>
9387 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9389 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9391 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9393 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9394 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9395 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9396 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9397 * sysdeps/x86_64/dl-irel.h: Likewise.
9399 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9400 * elf/dl-sym.c: Likewise.
9402 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9404 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9405 need to dereference resplen2.
9407 2011-06-14 Andreas Schwab <schwab@redhat.com>
9409 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9411 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9413 * Makeconfig: Define vardbdir and inst_vardbdir.
9414 * nss/Makefile: Add rules to install db-Makefile.
9416 * nss/nss_db/db-XXX.c: Cleanup.
9418 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9419 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9421 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9422 * nss/makedb.c: Implement -g option to specify that value strings
9423 are generated and should not be added to table iterated over for
9425 * nss/nss_db/db-initgroups.c: New file.
9427 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9430 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9431 (internal_getgrouplist): Adjust to name change.
9432 Update use_initgroups_entry if this is not the first call.
9433 * nss/databases.def: Add initgroups entry.
9435 * nss/makedb.c (compute_tables): Check result of multiple hash table
9436 sizes to minimize maximum chain length.
9438 2011-06-14 Ulrich Drepper <drepper@gmail.com>
9440 * Versions.def: Add entry for libnss_db.
9441 * shlib-versions: Likewise.
9442 * nss/Makefile: Add rules to build libnss_db.
9443 * nss/Versions: Add libnss_db information. Organize libnss_files
9445 * nss/db-Makefile: Add gshadow support. Change rules for the new
9446 makedb progra. Some minor improvements to generate smaller files.
9447 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9449 * nss/makedb.c: ...here.
9450 Improve database format to be smaller and require less memory at
9452 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9454 * nss/nss_db/db-netgrp.c: Likewise.
9455 * nss/nss_db/db-open.c: Likewise.
9456 * nss/nss_files/flies-XXX.x: Adjust comments.
9457 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9458 * nss/nss_files/files-grp.c: Likewise.
9459 * nss/nss_files/files-hosts.c: Likewise.
9460 * nss/nss_files/files-network.c: Likewise.
9461 * nss/nss_files/files-proto.c: Likewise.
9462 * nss/nss_files/files-pwd.c: Likewise.
9463 * nss/nss_files/files-rpc.c: Likewise.
9464 * nss/nss_files/files-service.c: Likewise.
9465 * nss/nss_files/files-sgrp.c: Likewise.
9466 * nss/nss_files/files-spwd.c: Likewise.
9467 * nss/nss_db/db-alias.c: Removed.
9468 * nss/nss_db/dummy-db.h: Removed.
9470 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9472 * nss/makedb.c: Rewritten to not use database library.
9473 * nss/Makefile: Update to build new makedb program.
9475 2011-06-14 Andreas Jaeger <aj@suse.de>
9477 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9480 2011-06-10 Andreas Schwab <schwab@redhat.com>
9482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9485 2011-06-10 Roland McGrath <roland@hack.frob.com>
9487 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9488 * elf/Makefile ($(objpfx)ld.so): Likewise.
9490 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9491 Don't list ld.so twice in dependencies.
9493 * posix/bug-regex31.c: Include <stdlib.h>.
9495 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9497 * nis/nss_compat/compat-spwd.c
9498 (getspent_next_nss_netgr): Remove unused variable.
9499 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9501 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9502 nonmembers" output to use the right array.
9504 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9506 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9508 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9509 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9510 * catgets/gencat.c (read_input_file): Likewise.
9511 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9513 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9514 variable definition inside #if's controlling its use.
9516 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9518 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9520 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9522 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9525 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9527 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9528 * configure: Regenerated.
9530 * Makerules: Revert last change.
9531 * elf/Makefile: Likewise.
9533 2011-06-09 Roland McGrath <roland@hack.frob.com>
9535 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9536 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9537 (reloc-link): Likewise.
9539 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9541 * elf/Makefile: Add rules to build pldd.
9542 * elf/pldd.c: New file.
9543 * elf/pldd-xx.c: New file.
9545 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9547 * version.h: Update for 2.15 development version.
9549 2011-06-07 David S. Miller <davem@davemloft.net>
9551 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9553 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9554 elf_machine_lazy_rel): Likewise.
9555 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9556 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9557 elf_machine_lazy_rel): Likewise.
9558 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9559 dl_hwcap via passed in argument.
9560 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9563 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9565 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9567 2011-06-06 Roland McGrath <roland@hack.frob.com>
9570 * manual/fdl-1.1.texi: New file, verbatim from:
9571 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9572 * manual/lgpl-2.1.texi: New file, verbatim from:
9573 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9574 * manual/Makefile (licenses): New variable, list those new file names.
9576 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9578 * manual/fdl.texi: File removed.
9579 * manual/lesser.texi: File removed.
9580 * manual/libc.texinfo (Copying, Documentation License):
9581 Use new @include file names, put @appendix directive before @include.
9583 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9586 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9587 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9588 (mq_open): Add __NTH.
9590 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9593 Assume Intel Core i3/i5/i7 processor if AVX is available.
9595 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9597 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9600 2011-05-31 Andreas Schwab <schwab@redhat.com>
9602 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9603 memory. Use alloca_account. Fix memory leak when retrying.
9605 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9607 * version.h (RELEASE): Bump for 2.14 release.
9608 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9610 * config.make.in (RANLIB): Remove entry.
9612 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9614 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9615 (libc.pot): Work around missing support for .ksh extension in xgettext.
9618 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9619 if both request failed.
9620 (send_dg): In case of server errors clear resplen or *resplen2.
9623 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9624 when there are multiple maps.
9625 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9626 (_dl_fini): Remove test here.
9628 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9630 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9633 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9634 bit from old_res_options.
9635 (gaih_inet): Likewise.
9638 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9641 * resolv/res_init.c (res_setoptions): Make the code more compact.
9644 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9648 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9650 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9653 * malloc/malloc.h: Declare malloc hook variables as volatile.
9655 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9659 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9660 raise in the comment.
9661 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9662 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9663 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9665 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9668 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9669 grow the buffers more if it already has to be sufficient.
9670 (build_wcs_upper_buffer): Likewise.
9671 * posix/regexec.c (check_matching): Likewise.
9672 (clean_state_log_if_needed): Likewise.
9673 (extend_buffers): Don't enlarge buffers beyond size of the input
9675 Patches mostly by Emil Wojak <emil@wojak.eu>.
9676 * posix/bug-regex32.c: New file.
9677 * posix/Makefile (tests): Add bug-regex32.
9679 * locale/findlocale.c (_nl_find_locale): Return right away if
9680 _nl_explode_name failed.
9681 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9683 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9685 * debug/xtrace.sh: Unify messages.
9686 * malloc/memusage.sh: Likewise.
9689 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9690 time symbol from vDSO. Substitute with vsyscall if not available.
9691 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9694 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9695 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9696 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9697 Add sendmmsg and internal_sendmmsg.
9698 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9699 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9700 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9702 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9703 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9704 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9706 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9709 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9710 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9712 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9716 * iconvdata/Makefile (tests): Add bug-iconv9.
9717 * iconvdata/bug-iconv9.c: New file.
9719 2011-05-27 Andreas Schwab <schwab@redhat.com>
9722 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9724 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9726 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9727 (struct user_regs_struct): Change intcs field back to cs.
9729 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9731 * po/ja.po: Update from translation team.
9733 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9736 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9737 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9739 2011-05-20 Andreas Schwab <schwab@redhat.com>
9741 * stdlib/longlong.h: Update from GCC.
9743 2011-05-23 Andreas Schwab <schwab@redhat.com>
9745 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9747 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9749 (__sysconf): Pass it down.
9751 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9754 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9756 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9757 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9758 add in in __libc_use_alloca calls. Adjust callers.
9759 (glob): Use malloc in some situations.
9761 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9762 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9765 2011-05-21 Ulrich Drepper <drepper@gmail.com>
9767 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9768 and CLOCK_BOOTTIME_ALARM.
9771 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9774 * string/_strerror.c (__strerror_r): Print negative errors as signed
9778 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9779 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9780 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9782 * configure.in: Fix typo in redirection and correct removal of test
9786 * locale/setlocale.c (new_composite_name): Fix test to check for
9787 identical name of all categories.
9790 * libio/filedoalloc.c (local_isatty): New function.
9791 (_IO_file_doallocate): Use local_isatty.
9792 * stdio-common/perror.c (perror): In case a new stream is used
9793 forward the stream error.
9794 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9797 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9802 * include/alloca.h (extend_alloca_account): Define.
9805 * posix/regex.h: Fix comments with documentation of user-accessible
9806 fields after compilation and describe correct free'ing of pattern
9807 after re_compile_pattern.
9808 Patch by Reuben Thomas <rrt@sc3d.org>.
9810 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9812 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9813 and -mno-altivec to prevent the compiler from using Altivec and/or
9814 VSX instructions when the corresponding registers are not available.
9816 2011-05-19 Andreas Schwab <schwab@redhat.com>
9818 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9820 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9822 * libio/freopen.c (freopen): Use __dup2, not dup2.
9823 * libio/freopen64.c (freopen64): Likewise.
9825 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9828 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9829 * math/Makefile (tests): Add test-powl.
9830 (CFLAGS-test-powl.c): Define.
9831 * math/test-powl.c: New file.
9833 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9835 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9837 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9840 * iconvdata/gb18030.c: Update to GB18020-2005.
9842 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9844 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9845 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9846 Patch by Aharon Robbins <arnold@skeeve.com>.
9849 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9853 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9857 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9858 point to strings before performing equality test for error_one_per_line
9862 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9865 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9866 (struct user_fpregs_struct): Avoid __uint*_t types.
9869 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9870 symbol info. Use it instead of calling _dl_addr locally.
9871 (lock_and_info): New function.
9872 (tr_freehook): Call lock_and_info and pass symbol info as additional
9873 parameter to tr_where.
9874 (tr_mallochook): Likewise.
9875 (tr_reallochook): Likewise.
9876 (tr_memalignhook): Likewise.
9878 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9879 used and couldn't be at all thread-safe.
9881 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9883 * libio/freopen.c (freopen): Don't close old file descriptor
9884 before the new one is opened. Instead dup the new file descriptor
9885 to the old one after the new stream is created.
9886 * libio/freopen64.c (freopen64): Likewise.
9887 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9888 * libio/fileops.c (_IO_new_file_close_it): Handle new
9889 _IO_FLAGS2_NOCLOSE flag.
9890 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9891 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9892 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9893 _IO_FLAGS2_NOCLOSE flag.
9894 * include/unistd.h: Add hidden_proto for dup3.
9896 * io/dup3.c: Define hidden symbol.
9897 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9900 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9901 when an incomplete long option is used.
9902 * posix/tst-getopt_long1.c: New file.
9903 * posix/Makefile (tests): Add tst-getopt_long1.
9906 * scripts/config.guess: Update from autoconf-2.68.
9907 * scripts/config.sub: Likewise.
9910 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9912 (has_cpuclock): ...this. New function.
9913 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9914 macro here based on has_cpuclock code.
9917 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9918 First byte (not low byte) is now always NUL.
9919 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9921 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9922 Use non-cancelable interfaces.
9925 * locale/iso-639.def: Add entry for Sorani.
9928 * include/stdlib.h: Move include protection to the right place.
9929 Define abort_msg_s. Declare __abort_msg with it.
9930 * stdlib/abort.c (__abort_msg): Adjust type.
9931 * assert/assert.c (__assert_fail_base): New function. Majority
9932 of code from __assert_fail. Allocate memory for __abort_msg with
9934 (__assert_fail): Now call __assert_fail_base.
9935 * assert/assert-perr.c: Remove bulk of implementation. Use
9937 * include/assert.hL Declare __assert_fail_base.
9938 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9940 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9942 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9946 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9947 until all modules are registered in the DTV.
9948 * elf/Makefile: Add rules to build and run tst-tls19.
9949 * elf/tst-tls19.c: New file.
9950 * elf/tst-tls19mod1.c: New file.
9951 * elf/tst-tls19mod2.c: New file.
9952 * elf/tst-tls19mod3.c: New file.
9953 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9956 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9960 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9961 two-byte sequence errors.
9962 * iconvdata/Makefile (tests): Add bug-iconv8.
9963 * iconvdata/bug-iconv8.c: New file.
9966 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9969 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9972 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9973 (dummy_getcfa): New function.
9974 (init): Get _Unwind_GetCFA address, use dummy if not found.
9975 (backtrace_helper): In recursion check, also check whether CFA changes.
9976 (__backtrace): Completely initialize arg.
9978 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9979 storing incomplete byte sequence in state object. Avoid testing for
9980 guaranteed too small input if we know there is enough data available.
9982 2011-05-11 Andreas Schwab <schwab@redhat.com>
9984 * Makeconfig (+link-pie): Indent.
9985 * Rules (binaries-pie): Define if $(have-fpie) and
9987 (binaries-shared): Also filter out $(binaries-pie).
9988 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9989 * nscd/Makefile (others-pie): Add nscd.
9990 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9991 ($(objpfx)nscd): Remove command override.
9992 * login/Makefile (others-pie): Add pt_chown.
9993 ($(objpfx)pt_chown): Remove command override.
9994 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9995 remove command overrides.
9997 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9999 * libio/tst_putwc.c: Fix error messages.
10002 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10003 currently writing and seek to current position when not.
10004 * libio/Makefile (tests): Add bug-fclose1.
10005 * libio/bug-fclose1.c: New file.
10007 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10010 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10011 don't set DF_1_NODELETE here.
10012 (do_lookup_x): When entering new entry test for copy relocation
10013 and if necessary set DF_1_NODELETE flag.
10014 * elf/tst-unique4.cc: New file.
10015 * elf/tst-unique4.h: New file.
10016 * elf/tst-unique4lib.cc: New file.
10017 * elf/Makefile: Add rules to build and run tst-unique4.
10018 Patch by Piotr Bury <pbury@goahead.com>.
10020 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10023 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10026 * misc/mntent_r.c (addmntent): Flush the stream after the output
10029 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10030 (is_trusted_path_normalize): Skip initial colon. Append slash
10031 to empty buffer. Duplicate is_trusted_path code but allow
10032 constructed patch to be prefix.
10033 (is_dst): Allow $ORIGIN followed by /.
10034 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10035 Correct testing of result of is_trusted_path_normalize
10036 (decompose_rpath): Fix warning.
10038 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10041 * grp/initgroups.c (internal_getgrouplist): When we found the service
10042 list through the initgroups entry in nsswitch.conf do not always
10043 continue on a successful lookup. Don't always use the
10044 __nss_group_database value if it is set.
10045 * nss/nsswitch.conf (initgroups): Change action for successful db
10046 lookup to continue for compatibility.
10048 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10051 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10053 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10055 * iconvdata/tst-tables.sh: Likewise.
10056 * iconvdata/cp770.c: New file.
10057 * iconvdata/cp771.c: New file.
10058 * iconvdata/cp772.c: New file.
10059 * iconvdata/cp773.c: New file.
10060 * iconvdata/cp774.c: New file.
10061 * iconvdata/testdata/CP770: New file.
10062 * iconvdata/testdata/CP770..UTF8: New file.
10063 * iconvdata/testdata/CP771: New file.
10064 * iconvdata/testdata/CP771..UTF8: New file.
10065 * iconvdata/testdata/CP772: New file.
10066 * iconvdata/testdata/CP772..UTF8: New file.
10067 * iconvdata/testdata/CP773: New file.
10068 * iconvdata/testdata/CP773..UTF8: New file.
10069 * iconvdata/testdata/CP774: New file.
10070 * iconvdata/testdata/CP774..UTF8: New file.
10072 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10074 * iconvdata/gen-8bit-gap.sh: Likewise.
10075 * iconvdata/gen-8bit.sh: Likewise.
10077 * locale/iso-639.def: Add ary entry.
10080 * locale/C-translit.h.in: Add U20A1 transliteration.
10083 * locale/iso-639.def: Add wae entry.
10084 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10087 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10091 * locale/C-translit.h.in: Add entry for U20B9.
10092 Patch by pravin.d.s@gmail.com.
10094 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10097 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10098 ENAMETOOLONG use generic getcwd.
10099 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10100 in rtld. Use *stat64.
10101 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10102 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10103 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10104 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10105 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10106 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10107 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10108 __fstatat64 macros.
10109 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10110 * dirent/rewinddir.c: Add libc_hidden_def.
10111 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10112 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10114 * include/dirent.h (__alloc_dir): Add flags parameter.
10115 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10116 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10118 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10119 from fdopendir if O_CLOEXEC is already set.
10121 2011-03-15 Alan Modra <amodra@gmail.com>
10123 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10124 l_tls_firstbyte_offset non-zero. Save padding offset in
10125 l_tls_firstbyte_offset for later use.
10126 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10127 freeing static tls block.
10129 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10131 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10132 where #ifdef was intended. The intent is to prevent ARG_MAX from
10133 being defined by the kernel headers.
10135 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10138 * resolv/resolv.h: Define RES_NOTLDQUERY.
10139 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10140 no-tld-query and set RES_NOTLDQUERY.
10141 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10142 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10143 modern BIND to search name as TLD unless forbidden.
10145 2011-05-07 Petr Baudis <pasky@suse.cz>
10146 Ulrich Drepper <drepper@gmail.com>
10149 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10150 (is_trusted_path): ...to here.
10151 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10152 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10153 using is_trusted_path_normalize() in setuid scripts.
10155 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10157 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10158 __BEGIN/__END_DECLS.
10160 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10162 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10163 NSS_STATUS_NOTFOUND if no record was found.
10165 2011-05-05 Andreas Schwab <schwab@redhat.com>
10167 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10168 (headers-not-in-tirpc): Remove rpc/netdb.h
10169 * resolv/netdb.h: Revert last change.
10171 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10173 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10174 circular dependency between libgcc.a and libc.a.
10176 2011-05-05 Andreas Schwab <schwab@redhat.com>
10178 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10179 * nis/Makefile: Don't install rpcsvc/*.
10180 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10181 instead of <rpc/types.h>.
10182 (MAXHOSTNAMELEN): Define.
10184 2011-05-03 Andreas Schwab <schwab@redhat.com>
10186 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10188 2011-04-28 Maciej Babinski <mbabinski@google.com>
10191 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10192 gethostbyname4_r when IPv6 results are possible.
10194 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10197 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10198 _PC_PIPE_BUF handling.
10200 2011-04-30 Bruno Haible <bruno@clisp.org>
10203 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10204 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10206 * inet/getnameinfo.c (getnameinfo): Likewise.
10208 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10210 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10211 to groups setting in database lookup.
10212 * nss/nsswitch.conf: Add initgroups entry.
10214 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10217 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10219 Patch by Eric Blake <eblake@redhat.com>.
10221 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10223 * sunrpc/Makefile (need-export-routines): Add svc_run.
10224 (routines): Remove svc_run.
10225 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10226 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10227 * sunrpc/svc_run.c (svc_run): Likewise.
10228 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10230 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10232 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10233 problem in reallocation in last patch.
10235 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10237 * sunrpc/Makefile: Move inclusion of Rules.
10239 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10241 * nss/nss_files/files-initgroups.c: New file.
10242 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10243 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10244 _nss_files_initgroups_dyn.
10246 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10248 * elf/elf.h (R_ARM_IRELATIVE): Define.
10250 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10252 * po/ru.po: Update from translation team.
10254 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10256 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10259 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10262 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10263 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10264 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10265 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10266 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10268 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10270 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10272 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10273 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10274 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10276 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10279 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10281 * stdlib/bug-getcontext.c: New file.
10282 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10284 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10286 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10287 instructions into .machine "z9-109".
10288 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10289 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10291 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10293 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10294 between environment variables and auxiliary vector.
10296 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10298 * Makefile: Add rules to build linkobj/libc.so.
10299 * include/libc-symbols.h: Define libc_hidden_nolink.
10300 * include/rpc/auth.h: Mark functions which are to be hidden.
10301 * include/rpc/auth_des.h: Likewise.
10302 * include/rpc/auth_unix.h: Likewise.
10303 * include/rpc/clnt.h: Likewise.
10304 * include/rpc/des_crypt.h: Likewise.
10305 * include/rpc/key_prot.h: Likewise.
10306 * include/rpc/pmap_clnt.h: Likewise.
10307 * include/rpc/pmap_prot.h: Likewise.
10308 * include/rpc/pmap_rmt.h: Likewise.
10309 * include/rpc/rpc_msg.h: Likewise.
10310 * include/rpc/svc.h: Likewise.
10311 * include/rpc/svc_auth.h: Likewise.
10312 * include/rpc/xdr.h: Likewise.
10313 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10314 * nss/Makefile: Likewise.
10315 * sunrpc/Makefile: Don't install headers. Build library with normal
10316 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10317 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10318 for the compat linking library. Remove use of INTDEF/INTUSE.
10319 * sunrpc/auth_none.c: Likewise.
10320 * sunrpc/auth_unix.c: Likewise.
10321 * sunrpc/authdes_prot.c: Likewise.
10322 * sunrpc/authuxprot.c: Likewise.
10323 * sunrpc/clnt_gen.c: Likewise.
10324 * sunrpc/clnt_perr.c: Likewise.
10325 * sunrpc/clnt_raw.c: Likewise.
10326 * sunrpc/clnt_simp.c: Likewise.
10327 * sunrpc/clnt_tcp.c: Likewise.
10328 * sunrpc/clnt_udp.c: Likewise.
10329 * sunrpc/clnt_unix.c: Likewise.
10330 * sunrpc/des_crypt.c: Likewise.
10331 * sunrpc/des_soft.c: Likewise.
10332 * sunrpc/get_myaddr.c: Likewise.
10333 * sunrpc/key_call.c: Likewise.
10334 * sunrpc/key_prot.c: Likewise.
10335 * sunrpc/netname.c: Likewise.
10336 * sunrpc/pm_getmaps.c: Likewise.
10337 * sunrpc/pm_getport.c: Likewise.
10338 * sunrpc/pmap_clnt.c: Likewise.
10339 * sunrpc/pmap_prot.c: Likewise.
10340 * sunrpc/pmap_prot2.c: Likewise.
10341 * sunrpc/pmap_rmt.c: Likewise.
10342 * sunrpc/publickey.c: Likewise.
10343 * sunrpc/rpc_cmsg.c: Likewise.
10344 * sunrpc/rpc_common.c: Likewise.
10345 * sunrpc/rpc_dtable.c: Likewise.
10346 * sunrpc/rpc_prot.c: Likewise.
10347 * sunrpc/rpc_thread.c: Likewise.
10348 * sunrpc/rtime.c: Likewise.
10349 * sunrpc/svc.c: Likewise.
10350 * sunrpc/svc_auth.c: Likewise.
10351 * sunrpc/svc_authux.c: Likewise.
10352 * sunrpc/svc_raw.c: Likewise.
10353 * sunrpc/svc_run.c: Likewise.
10354 * sunrpc/svc_simple.c: Likewise.
10355 * sunrpc/svc_tcp.c: Likewise.
10356 * sunrpc/svc_udp.c: Likewise.
10357 * sunrpc/svc_unix.c: Likewise.
10358 * sunrpc/svcauth_des.c: Likewise.
10359 * sunrpc/xcrypt.c: Likewise.
10360 * sunrpc/xdr.c: Likewise.
10361 * sunrpc/xdr_array.c: Likewise.
10362 * sunrpc/xdr_float.c: Likewise.
10363 * sunrpc/xdr_intXX_t.c: Likewise.
10364 * sunrpc/xdr_mem.c: Likewise.
10365 * sunrpc/xdr_rec.c: Likewise.
10366 * sunrpc/xdr_ref.c: Likewise.
10367 * sunrpc/xdr_sizeof.c: Likewise.
10368 * sunrpc/xdr_stdio.c: Likewise.
10370 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10373 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10374 * sysdeps/ia64/dl-tls.h: Likewise.
10375 * sysdeps/powerpc/dl-tls.h: Likewise.
10376 * sysdeps/s390/dl-tls.h: Likewise.
10377 * sysdeps/sh/dl-tls.h: Likewise.
10378 * sysdeps/sparc/dl-tls.h: Likewise.
10379 * sysdeps/x86_64/dl-tls.h: Likewise.
10380 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10382 2011-03-14 Andreas Schwab <schwab@redhat.com>
10384 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10385 rpath element also skip the following colon.
10386 (expand_dynamic_string_token): Add is_path parameter and pass
10387 down to DL_DST_REQUIRED and _dl_dst_substitute.
10388 (decompose_rpath): Call expand_dynamic_string_token with
10389 non-zero is_path. Ignore empty rpaths.
10390 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10393 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10398 2011-04-09 Ulrich Drepper <drepper@gmail.com>
10401 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10402 Patch by Filipe David Manana <fdmanana@apache.org>.
10404 2011-04-07 Andreas Schwab <schwab@redhat.com>
10406 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10407 Maintain aligned stack.
10408 (CHECK_RSP): Remove unused macro.
10410 2011-04-03 Ulrich Drepper <drepper@gmail.com>
10412 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10413 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10415 2011-04-02 Ulrich Drepper <drepper@gmail.com>
10417 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10419 * include/features.h: Mention __USE_XOPEN2K8 in comment.
10421 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10424 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10425 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10426 * sysdeps/x86_64/memmove.c: New file.
10427 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10428 (memcpy): Renamed to ...
10429 (__new_memcpy): This.
10430 (memcpy): Provide GLIBC_2_14 memcpy.
10431 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10432 (memcpy): Provide GLIBC_2_2_5 memcpy.
10434 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10437 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10439 2011-03-30 Andreas Schwab <schwab@redhat.com>
10441 * misc/syncfs.c: New file.
10442 * misc/Makefile (routines): Add syncfs.
10443 * posix/unistd.h: Declare syncfs.
10444 * sysdeps/unix/syscalls.list: Add syncfs.
10446 2011-04-01 Andreas Schwab <schwab@redhat.com>
10448 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10450 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10451 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10452 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10453 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10454 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10455 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10456 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10458 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10460 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10461 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10462 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10464 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10466 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10468 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10469 sync_file_range.c with -fexceptions.
10470 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10471 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10472 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10473 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10474 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10475 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10476 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10477 sync_file_range as cancellation point
10478 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10479 now a wrapper around __call_sync_file_range with cancellation handling.
10480 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10481 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10482 function name to __call_sync_file_range.
10483 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10484 Add call_sync_file_range.
10486 2011-04-01 Andreas Schwab <schwab@redhat.com>
10488 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10491 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10493 * iconv/iconv.h: Fix typo in comment.
10494 * io/fcntl.h: Likewise.
10495 * libio/stdio.h: Likewise.
10496 * posix/spawn.h: Likewise.
10497 * posix/unistd.h: Likewise.
10498 * stdlib/stdlib.h: Likewise.
10499 * time/time.h: Likewise.
10500 * wcsmbs/wchar.h: Likewise.
10502 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10503 open_by_handle): Add.
10504 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10505 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10506 Augment a few comments.
10507 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10508 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10509 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10511 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10512 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10515 * io/fcntl.h (AT_EMPTY_PATH): Define.
10517 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10519 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10520 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10521 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10523 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10524 * Versions.def: Add GLIBC_2.14.
10525 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10528 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10530 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10532 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10534 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10537 * string/test-strncmp.c (do_page_test): New function.
10538 (check2): Likewise.
10539 (test_main): Call check2.
10540 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10542 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10545 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10546 Handle cache information in CPU leaf 4.
10547 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10549 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10552 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10553 character representation.
10554 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10556 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10558 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10559 END(__isnan) to END(__isnanf) to match function entry point/label
10560 EALIGN(__isnanf,...).
10562 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10564 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10566 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10569 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10570 copy from the symbol referenced in the relocation to initialize the
10572 Patch by Piotr Bury <pbury@goahead.com>.
10573 * elf/Makefile: Add rules to build and tst-unique3.
10574 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10575 * elf/tst-unique3.cc: New file.
10576 * elf/tst-unique3.h: New file.
10577 * elf/tst-unique3lib.cc: New file.
10578 * elf/tst-unique3lib2.cc: New file.
10580 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10582 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10584 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10585 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10588 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10590 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10591 to-be-loaded object along a path to loader is ld.so.
10593 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10594 Ulrich Drepper <drepper@gmail.com>
10596 * sysdeps/x86_64/memset.S: After aligning destination, code
10597 branches to different locations depending on the value of
10598 misalignment, when multiarch is enabled. Fix this.
10600 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10602 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10603 Set _x86_64_preferred_memory_instruction for AMD processsors.
10604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10605 Set bit_Prefer_SSE_for_memop for AMD processors.
10607 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10609 * libio/fmemopen.c (fmemopen): Optimize a bit.
10611 2011-03-03 Andreas Schwab <schwab@redhat.com>
10613 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10615 2011-03-03 Roland McGrath <roland@redhat.com>
10617 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10619 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10621 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10622 __bzero_ultra1 instead of __memset_ultra1.
10624 2011-02-23 Andreas Schwab <schwab@redhat.com>
10625 Ulrich Drepper <drepper@gmail.com>
10628 * include/link.h (struct link_map): Add l_orig_initfini.
10629 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10630 returning unsuccessfully.
10631 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10632 close of a file loaded at startup, restore the original l_initfini
10634 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10635 list, store the pointer.
10636 * elf/Makefile ($(objpfx)noload-mem): New rule.
10637 (noload-ENV): Define.
10638 (tests): Add $(objpfx)noload-mem.
10639 * elf/noload.c: Include <memcheck.h>.
10640 (main): Call mtrace. Close all opened handles.
10642 2011-02-17 Andreas Schwab <schwab@redhat.com>
10645 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10646 dependencies are missing.
10648 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10650 Fix __if_freereq crash: Unlike the generic version which uses free,
10652 * sysdeps/mach/hurd/ifreq.h: New file.
10654 2011-01-27 Petr Baudis <pasky@suse.cz>
10655 Ulrich Drepper <drepper@gmail.com>
10658 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10659 to extend_alloca().
10660 * stdio-common/bug23.c: New file.
10661 * stdio-common/Makefile (tests): Add bug23.
10663 2010-09-28 Andreas Schwab <schwab@redhat.com>
10664 Ulrich Drepper <drepper@gmail.com>
10667 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10668 before performing relro protection. At old place add assertion
10669 to make sure nothing changed.
10671 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10672 Glauber de Oliveira Costa <glommer@gmail.com>
10674 * elf/elf.h: Add new ARM TLS relocs.
10676 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10679 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10681 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10683 * sysdeps/wordsize-64/tst-writev.c: New file.
10685 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10687 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10688 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10689 insns in _dl_start to prevent a TOC reference before relocs are
10692 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10695 * Makeconfig: Remove RANLIB definition.
10696 * Makerules: Don't use RANLIB.
10697 * aclocal.m4: Remove ranlib test.
10698 * configure.in: No need to check for ranlib.
10699 * elf/rtld-Rules: Don't use RANLIB.
10701 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10703 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10705 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10706 inclusion protection macro.
10708 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10709 SIGRTMIN and SIGRTMAX and print information in that case only when
10710 SIGRTMIN is defined.
10712 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10714 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10715 arginfo fn returning -1.
10717 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10718 and thousands string is zero terminated.
10720 2011-02-03 Andreas Schwab <schwab@redhat.com>
10722 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10723 sysdeps/unix/sysv/linux/bits/socket.h.
10725 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10727 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10728 (__CPU_COUNT): Remove old macros.
10729 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10730 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10731 (__CPU_ALLOC, __CPU_FREE): Add macros.
10732 (__sched_cpualloc, __sched_cpufree): Add declarations.
10734 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10736 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10737 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10738 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10739 (readdhstai): Return value of addhstaiX call.
10740 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10741 (addgrbyX): Return value returned by cache_addgr.
10742 (readdgrbyname): Return value returned by addgrbyX.
10743 (readdgrbygid): Likewise.
10744 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10745 (addpwbyX): Return value returned by cache_addpw.
10746 (readdpwbyname): Return value returned by addhstbyX.
10747 (readdpwbyuid): Likewise.
10748 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10749 (addservbyX): Return value returned by cache_addserv.
10750 (readdservbyname): Return value returned by addservbyX:
10751 (readdservbyport): Likewise.
10752 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10753 (addhstbyX): Return value returned by cache_addhst.
10754 (readdhstbyname): Return value returned by addhstbyX.
10755 (readdhstbyaddr): Likewise.
10756 (readdhstbynamev6): Likewise.
10757 (readdhstbyaddrv6): Likewise.
10758 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10759 (readdinitgroups): Return value returned by addinitgroupsX.
10760 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10761 (prune_cache): Keep track of timeout value of re-added entries.
10762 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10763 * nscd/nscd.h: Adjust prototypes of readd* functions.
10765 2011-02-04 Roland McGrath <roland@redhat.com>
10767 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10768 (nis_stats): Likewise.
10769 * nis/nis_modify.c (nis_modify): Likewise.
10770 * nis/nis_remove.c (nis_remove): Likewise.
10771 * nis/nis_add.c (nis_add): Likewise.
10773 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10775 * posix/fnmatch_loop.c: Add some consts.
10777 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10779 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10782 * config.make.in (config-cflags-novzeroupper): Define.
10783 * configure.in: Substitute libc_cv_cc_novzeroupper.
10784 * elf/Makefile (AVX-CFLAGS): Define.
10785 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10786 (CFLAGS-tst-auditmod4a.c): Likewise.
10787 (CFLAGS-tst-auditmod4b.c): Likewise.
10788 (CFLAGS-tst-auditmod6b.c): Likewise.
10789 (CFLAGS-tst-auditmod6c.c): Likewise.
10790 (CFLAGS-tst-auditmod7b.c): Likewise.
10791 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10793 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10795 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10796 function to the callback.
10797 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10799 2011-02-02 Andreas Schwab <schwab@redhat.com>
10801 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10804 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10807 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10809 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10811 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10814 * elf/Makefile: Add rules to build and run new test.
10815 * elf/tst-initorder.c: New file.
10816 * elf/tst-initorder.exp: New file.
10817 * elf/tst-initordera1.c: New file.
10818 * elf/tst-initordera2.c: New file.
10819 * elf/tst-initordera3.c: New file.
10820 * elf/tst-initordera4.c: New file.
10821 * elf/tst-initorderb1.c: New file.
10822 * elf/tst-initorderb2.c: New file.
10823 * elf/tst-order-a1.c: New file.
10824 * elf/tst-order-a2.c: New file.
10825 * elf/tst-order-a3.c: New file.
10826 * elf/tst-order-a4.c: New file.
10827 * elf/tst-order-b1.c: New file.
10828 * elf/tst-order-b2.c: New file.
10829 * elf/tst-order-main.c: New file.
10830 New test case by George Gensure <werkt0@gmail.com>.
10832 2010-10-01 Andreas Schwab <schwab@redhat.com>
10834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10835 decoding ACE if AI_CANONIDN.
10837 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10839 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10841 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10843 * version.h (RELEASE): Bump for 2.13 release.
10844 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10846 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10848 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10850 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10851 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10852 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10853 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10854 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10855 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10857 * posix/getconf.c: Update copyright year.
10858 * catgets/gencat.c: Likewise.
10859 * csu/version.c: Likewise.
10860 * debug/catchsegv.sh: Likewise.
10861 * debug/xtrace.sh: Likewise.
10862 * elf/ldconfig.c: Likewise.
10863 * elf/ldd.bash.in: Likewise.
10864 * elf/sprof.c (print_version): Likewise.
10865 * iconv/iconv_prog.c: Likewise.
10866 * iconv/iconvconfig.c: Likewise.
10867 * locale/programs/locale.c: Likewise.
10868 * locale/programs/localedef.c: Likewise.
10869 * malloc/memusage.sh: Likewise.
10870 * malloc/mtrace.pl: Likewise.
10871 * nscd/nscd.c (print_version): Likewise.
10872 * nss/getent.c: Likewise.
10874 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10875 PF_CAIF, and PF_ALG.
10876 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10878 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10880 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10881 (modules-names): Use them.
10882 (ifunc-test-modules, ifunc-pie-tests): Define.
10883 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10884 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10885 (test-extras): Likewise.
10886 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10887 $(compile-command.c).
10888 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10889 (all-built-dso): Define.
10890 (check-textrel.out, check-execstack.out): Depend on it.
10892 * configure.in: Don't override --enable-multi-arch.
10894 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10897 * nscd/hstcache.c (tryagain): Define.
10898 (cache_addhst): Return tryagain not notfound for temporary errors.
10899 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10902 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10905 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10906 to make the syscall.
10907 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10910 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10911 and fall back to matching as normal character if the string ends before
10912 the matching ']' is found. This is what POSIX requires.
10913 * posix/testfnm.c: Adjust test result.
10914 * posix/globtest.sh: Adjust test result. Add new test.
10915 * posix/tst-fnmatch.input: Likewise.
10916 * posix/tst-fnmatch2.c: Add new test.
10918 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10920 * elf/Makefile (check-execstack): Revert last change. Depend on
10922 (check-execstack.h): New target.
10923 (generated): Add check-execstack.h.
10924 * elf/check-execstack.c: Include "check-execstack.h".
10925 (main): Revert last change.
10926 (handle_file): Return zero if GNU_STACK is absent and
10927 DEFAULT_STACK_PERMS doesn't include PF_X.
10929 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10931 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10932 in child fails because the descriptor is already closed.
10933 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10934 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10935 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10938 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10942 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10943 temporary buffer used to handle multi lookups locally.
10944 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10946 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10948 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10951 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10953 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10954 alignment for SSE2.
10956 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10959 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10960 characters. When rounding increased number of integer digits recompute
10962 * stdio-common/tst-grouping.c: New file.
10963 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10965 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10967 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10968 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10970 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10972 * bits/select.h: Likewise.
10974 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10976 * po/ja.po: Update from translation team.
10978 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10981 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10982 implementation just like for lxstat, fxstatat, et al.
10984 2010-12-27 Jim Meyering <meyering@redhat.com>
10987 * posix/regexec.c (build_trtable): Return failure indication upon
10988 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10990 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10993 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10994 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10995 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10996 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10999 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11002 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11003 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11005 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11007 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11008 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11009 script has SORT_BY_INIT_PRIORITY.
11010 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11011 NO_CTORS_DTORS_SECTIONS is defined.
11012 * elf/soinit.c: Likewise.
11013 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11014 NO_CTORS_DTORS_SECTIONS is defined.
11015 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11016 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11017 * sysdeps/sh/init-first.c: Likewise.
11018 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11020 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11022 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11023 always use the slow path.
11025 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11027 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11028 similar rule which adds the sysdep directories to the header search in
11029 order to pick up the correct platform stackinfo.h.
11030 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11031 perform test if it is, otherwise return successfully without testing.
11032 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11033 DEFAULT_STACK_PERMS define in stackinfo.h.
11034 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11035 defined in stackinfo.h.
11036 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11037 DEFAULT_STACK_PERMS defined in stackinfo.h.
11038 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11039 * sysdeps/ia64/stackinfo.h: Likewise.
11040 * sysdeps/s390/stackinfo.h: Likewise.
11041 * sysdeps/sh/stackinfo.h: Likewise.
11042 * sysdeps/sparc/stackinfo.h: Likewise.
11043 * sysdeps/x86_64/stackinfo.h: Likewise.
11044 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11045 PF_X for powerpc64. Retain PF_X for powerpc32.
11047 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11049 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11051 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11052 GETDENTS_64BIT_ALIGNED.
11054 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11056 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11058 2010-12-10 Andreas Schwab <schwab@redhat.com>
11060 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11063 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11064 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11066 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11067 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11069 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11072 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11075 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11077 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11079 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11081 * po/it.po: Update from translation team.
11083 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11085 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11088 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11090 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11092 2010-11-24 Andreas Schwab <schwab@redhat.com>
11094 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11096 (gaih_getanswer_slice): Likewise.
11098 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11100 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11102 2010-05-31 Petr Baudis <pasky@suse.cz>
11105 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11106 silently even in the chroot mode.
11108 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11110 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11111 last patch a bit. Pretty printing
11113 2010-05-31 Petr Baudis <pasky@suse.cz>
11116 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11117 initialization of skip_initgroups_dyn.
11119 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11121 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11122 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11124 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11126 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11128 2010-11-11 Andreas Schwab <schwab@redhat.com>
11130 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11131 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11132 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11133 ($(objpfx)tst-fnmatch-mem): New rule.
11134 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11135 * posix/tst-fnmatch.c (main): Call mtrace.
11137 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11140 Support Intel processor model 6 and model 0x2c.
11142 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11144 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11147 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11150 * string/test-strncasecmp.c (check_result): New function.
11151 (do_one_test): Use it.
11152 (check1): New function.
11153 (test_main): Use it.
11154 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11155 Support strcasecmp and strncasecmp.
11157 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11160 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11161 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11163 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11165 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11169 * sysdeps/x86_64/multiarch/bzero.S: New file.
11170 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11171 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11172 * sysdeps/x86_64/multiarch/memset.S: New file.
11173 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11175 Set bit_Prefer_SSE_for_memop for Intel processors.
11176 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11178 (index_Prefer_SSE_for_memop): Define.
11179 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11181 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11183 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11184 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11186 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11189 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11190 (__x86_64_raw_data_cache_size_half): Likewise.
11191 (__x86_64_raw_shared_cache_size): Likewise.
11192 (__x86_64_raw_shared_cache_size_half): Likewise.
11194 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11195 (__x86_64_raw_data_cache_size_half): Likewise.
11196 (__x86_64_raw_shared_cache_size): Likewise.
11197 (__x86_64_raw_shared_cache_size_half): Likewise.
11198 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11199 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11200 and __x86_64_raw_shared_cache_size_half. Round
11201 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11202 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11203 to multiple of 256 bytes.
11205 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11208 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11209 of inacessible symlinks. Verify result of symlink before returning it.
11210 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11211 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11213 2010-10-28 Erich Ritz <erichritz@gmail.com>
11215 * math/math.h (isinf): Fix typo in comment.
11217 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11219 * po/da.po: Update from translation team.
11221 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11223 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11224 is added to the list.
11226 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11227 Ulrich Drepper <drepper@gmail.com>
11229 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11230 the global list here. Move code to...
11231 (_dl_add_to_namespace_list): ...here. New function.
11232 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11233 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11234 * elf/dl-load.c (lose): Don't remove the element from the list.
11235 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11236 (_dl_map_object): Likewise.
11238 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11241 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11242 into all bytes of SSE register.
11243 Patch by Richard Li <richardpku@gmail.com>.
11245 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11248 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11251 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11253 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11254 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11255 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11256 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11261 2010-10-22 Andreas Schwab <schwab@redhat.com>
11263 * include/dlfcn.h (__RTLD_SECURE): Define.
11264 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11265 mode & __RTLD_SECURE instead.
11266 (open_path): Rename preloaded parameter to secure.
11267 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11268 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11269 * elf/dl-deps.c (openaux): Likewise.
11270 * elf/rtld.c (struct map_args): Remove is_preloaded.
11271 (map_doit): Don't use it.
11272 (dl_main): Likewise.
11273 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11274 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11276 2010-09-09 Andreas Schwab <schwab@redhat.com>
11278 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11279 (sysd-rules-targets): Remove duplicates.
11280 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11281 rtld-%.$o dependency.
11283 2010-10-18 Andreas Schwab <schwab@redhat.com>
11285 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11286 _dl_map_object do it.
11288 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11290 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11291 fast fma builtins, define the macros in the C99 standard.
11292 (FP_FAST_FMAF): Likewise.
11293 (FP_FAST_FMAL): Likewise.
11294 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11296 * bits/mathdef.h: Update copyright year.
11297 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11299 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11301 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11302 builtins, define the macros in the C99 standard.
11303 (FP_FAST_FMAF): Likewise.
11304 (FP_FAST_FMAL): Likewise.
11305 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11307 (FP_FAST_FMAF): Likewise.
11309 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11312 * math/libm-test.inc (fma_test): Some new testcases.
11313 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11314 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11315 y and infinite z. Do multiplication by C already in long double.
11316 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11318 y and infinite z. Do bitwise or of inexact bit into u.d.
11319 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11320 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11321 * sysdeps/i386/fpu/s_fma.S: Removed.
11322 * sysdeps/i386/fpu/s_fmal.S: Removed.
11324 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11327 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11328 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11329 computation is not scheduled after fetestexcept. Fix value
11330 of minimum denormal long double.
11332 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11335 * math/libm-test.inc (fma_test): Add some more tests.
11336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11339 2010-10-15 Andreas Schwab <schwab@redhat.com>
11341 * scripts/data/localplt-s390-linux-gnu.data: New file.
11342 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11344 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11347 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11348 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11350 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11352 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11354 if one of x and y is very large and the other is subnormal.
11355 * sysdeps/s390/fpu/s_fmaf.c: New file.
11356 * sysdeps/s390/fpu/s_fma.c: New file.
11357 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11358 * sysdeps/powerpc/fpu/s_fma.S: New file.
11359 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11360 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11361 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11363 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11366 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11368 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11369 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11370 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11371 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11372 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11373 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11374 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11376 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11379 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11380 * posix/bug-regex31.input: Add test case.
11382 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11384 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11385 * posix/bug-regex31.input: New file.
11388 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11389 (parse_sub_exp): Fix last change, use postorder.
11391 * posix/bug-regex31.c: New file.
11392 * posix/Makefile: Add rules to build and run bug-regex31.
11394 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11397 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11400 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11401 to have entries in sys_siglist.
11404 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11407 2010-10-07 Jakub Jelinek <jakub@redhat.com>
11410 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11411 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11412 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11413 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11414 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11415 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11416 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11417 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11418 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11419 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11420 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11421 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11422 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11423 * math/ftestexcept.c (fetestexcept): Likewise.
11424 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11425 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11426 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11427 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11428 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11429 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11430 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11432 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11435 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11438 2010-10-06 Ulrich Drepper <drepper@gmail.com>
11440 * string/bug-strstr1.c: New file.
11441 * string/Makefile: Add rules to build and run bug-strstr1.
11443 2010-10-05 Eric Blake <eblake@redhat.com>
11446 * string/str-two-way.h (two_way_long_needle): Always clear memory
11447 when skipping input due to the shift table.
11449 2010-10-03 Ulrich Drepper <drepper@gmail.com>
11452 * malloc/mcheck.c: Handle large requests.
11455 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11456 for strncmp and strncasecmp.
11457 * string/stratcliff.c: Add tests for strcmp and strncmp.
11458 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11460 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11462 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11465 2010-09-30 Andreas Jaeger <aj@suse.de>
11467 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11468 (CGROUP_SUPER_MAGIC): Define.
11469 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11470 Handle btrfs and cgroup file systems.
11471 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11474 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11476 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11477 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11479 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11482 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11483 trying to locate the ELF header.
11485 2010-09-27 Andreas Schwab <schwab@redhat.com>
11488 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11489 Mask out sign-bit copies when constructing f_fsid.
11491 2010-09-24 Petr Baudis <pasky@suse.cz>
11493 * debug/stack_chk_fail_local.c: Add missing licence exception.
11494 * debug/warning-nop.c: Likewise.
11496 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11498 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11499 implementing getdents64 using getdents syscall, set d_type if
11500 __ASSUME_GETDENTS32_D_TYPE.
11502 2010-09-16 Andreas Schwab <schwab@redhat.com>
11504 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11505 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11507 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11510 * posix/unistd.h: Undo change of feature selection for ftruncate from
11513 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11515 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11518 2010-09-20 Andreas Schwab <schwab@redhat.com>
11520 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11522 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11524 2010-09-14 Andreas Schwab <schwab@redhat.com>
11526 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11527 variables after CHECK_SP call.
11528 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11530 2010-09-13 Andreas Schwab <schwab@redhat.com>
11531 Ulrich Drepper <drepper@redhat.com>
11533 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11534 re-relocationg ld.so.
11535 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11536 _dl_init_paths call.
11537 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11540 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11542 * resolv/res_init.c (__res_vinit): Count the default server we added.
11544 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11545 Ulrich Drepper <drepper@redhat.com>
11548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11549 (____longjmp_chk): Use %ebx for saving value across system call.
11552 2010-09-06 Andreas Schwab <schwab@redhat.com>
11554 * manual/Makefile: Don't mix pattern rules with normal rules.
11556 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11558 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11560 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11561 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11562 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11563 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11564 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11567 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11570 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11571 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11573 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11575 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11576 * sysdeps/x86_64/addmul_1.S: Likewise.
11577 * sysdeps/x86_64/lshift.S: Likewise.
11578 * sysdeps/x86_64/mul_1.S: Likewise.
11579 * sysdeps/x86_64/rshift.S: Likewise.
11580 * sysdeps/x86_64/sub_n.S: Likewise.
11581 * sysdeps/x86_64/submul_1.S: Likewise.
11583 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11585 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11586 Define __sched_param instead of SCHED_* and sched_param when
11587 <bits/sched.h> is included with __need_schedparam defined.
11588 * bits/sched.h [__need_schedparam]
11589 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11590 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11591 (__defined_schedparam): Define to 1.
11592 (__sched_param): New structure, identical to sched_param.
11593 (__need_schedparam): Undefine.
11595 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11597 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11598 (epoll_create1): Declare.
11600 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11602 2010-08-31 Andreas Schwab <schwab@redhat.com>
11605 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11606 shifting retval into place.
11608 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11610 * nis/rpcsvc/nis.h: Update copyright notice.
11611 * nis/rpcsvc/nis.x: Likewise.
11612 * nis/rpcsvc/nis_callback.h: Likewise.
11613 * nis/rpcsvc/nis_callback.x: Likewise.
11614 * nis/rpcsvc/nis_object.x: Likewise.
11615 * nis/rpcsvc/nis_tags.h: Likewise.
11616 * nis/rpcsvc/yp.h: Likewise.
11617 * nis/rpcsvc/yp.x: Likewise.
11618 * nis/rpcsvc/ypupd.h: Likewise.
11619 * nis/yp_xdr.c: Likewise.
11620 * nis/ypupdate_xdr.c: Likewise.
11622 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11623 mainly the body of pmap_getport. Add parameters to specify timeouts.
11624 (pmap_getport): Use __libc_rpc_getport.
11625 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11626 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11627 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11629 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11634 2010-08-27 Roland McGrath <roland@redhat.com>
11636 * sysdeps/i386/i686/multiarch/Makefile
11637 (CFLAGS-varshift.c): New variable.
11639 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11641 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11642 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11644 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11646 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11648 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11650 * sysdeps/x86_64/strlen.S: Unroll the loop.
11651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11652 strlen-sse2 strlen-sse2-bsf.
11653 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11654 __strlen_no_bsf if bit_Slow_BSF is set.
11655 (__strlen_sse42): Removed.
11656 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11657 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11659 2010-08-25 Roland McGrath <roland@redhat.com>
11661 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11662 * sysdeps/x86_64/multiarch/varshift.c: New file.
11663 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11664 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11665 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11666 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11668 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11671 strlen-sse2 strlen-sse2-bsf.
11672 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11673 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11674 (__strlen_sse2): Removed.
11675 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11676 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11678 bit_Slow_BSF for Atom.
11679 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11680 (index_Slow_BSF): Define.
11681 (HAS_SLOW_BSF): Define.
11683 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11686 * resolv/res_init.c (__res_vinit): When no server address at all
11687 is given default to loopback.
11689 2010-08-24 Roland McGrath <roland@redhat.com>
11691 * configure.in: Remove config-name.h generation.
11692 * configure: Regenerated.
11693 * config-name.in: File removed.
11694 * scripts/config-uname.sh: New file.
11695 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11696 ($(objdir)config-name.h): New target.
11698 * sunrpc/rpc_parse.h: Avoid nested comment.
11700 2010-08-24 Richard Henderson <rth@redhat.com>
11701 Ulrich Drepper <drepper@redhat.com>
11702 H.J. Lu <hongjiu.lu@intel.com>
11704 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11705 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11706 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11707 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11708 _mm_alignr_epi8 with _mm_loadu_si128.
11709 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11710 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11711 (__m128i_shift_right): Removed.
11712 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11713 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11714 * sysdeps/x86_64/multiarch/varshift.h: New file.
11715 * sysdeps/x86_64/multiarch/varshift.S: New file.
11717 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11719 * configure.in: Move assembler checks to before sysdep dir checking.
11721 2010-08-20 Petr Baudis <pasky@suse.cz>
11723 * LICENSES: Sync the sunrpc license.
11725 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11727 * sunrpc/auth_des.c: Update copyright notice once again.
11728 * sunrpc/auth_none.c: Likewise.
11729 * sunrpc/auth_unix.c: Likewise.
11730 * sunrpc/authdes_prot.c: Likewise.
11731 * sunrpc/authuxprot.c: Likewise.
11732 * sunrpc/bindrsvprt.c: Likewise.
11733 * sunrpc/clnt_gen.c: Likewise.
11734 * sunrpc/clnt_perr.c: Likewise.
11735 * sunrpc/clnt_raw.c: Likewise.
11736 * sunrpc/clnt_simp.c: Likewise.
11737 * sunrpc/clnt_tcp.c: Likewise.
11738 * sunrpc/clnt_udp.c: Likewise.
11739 * sunrpc/clnt_unix.c: Likewise.
11740 * sunrpc/des_crypt.c: Likewise.
11741 * sunrpc/des_soft.c: Likewise.
11742 * sunrpc/get_myaddr.c: Likewise.
11743 * sunrpc/getrpcport.c: Likewise.
11744 * sunrpc/key_call.c: Likewise.
11745 * sunrpc/key_prot.c: Likewise.
11746 * sunrpc/openchild.c: Likewise.
11747 * sunrpc/pm_getmaps.c: Likewise.
11748 * sunrpc/pm_getport.c: Likewise.
11749 * sunrpc/pmap_clnt.c: Likewise.
11750 * sunrpc/pmap_prot.c: Likewise.
11751 * sunrpc/pmap_prot2.c: Likewise.
11752 * sunrpc/pmap_rmt.c: Likewise.
11753 * sunrpc/rpc/auth.h: Likewise.
11754 * sunrpc/rpc/auth_unix.h: Likewise.
11755 * sunrpc/rpc/clnt.h: Likewise.
11756 * sunrpc/rpc/des_crypt.h: Likewise.
11757 * sunrpc/rpc/key_prot.h: Likewise.
11758 * sunrpc/rpc/netdb.h: Likewise.
11759 * sunrpc/rpc/pmap_clnt.h: Likewise.
11760 * sunrpc/rpc/pmap_prot.h: Likewise.
11761 * sunrpc/rpc/pmap_rmt.h: Likewise.
11762 * sunrpc/rpc/rpc.h: Likewise.
11763 * sunrpc/rpc/rpc_des.h: Likewise.
11764 * sunrpc/rpc/rpc_msg.h: Likewise.
11765 * sunrpc/rpc/svc.h: Likewise.
11766 * sunrpc/rpc/svc_auth.h: Likewise.
11767 * sunrpc/rpc/types.h: Likewise.
11768 * sunrpc/rpc/xdr.h: Likewise.
11769 * sunrpc/rpc_clntout.c: Likewise.
11770 * sunrpc/rpc_cmsg.c: Likewise.
11771 * sunrpc/rpc_common.c: Likewise.
11772 * sunrpc/rpc_cout.c: Likewise.
11773 * sunrpc/rpc_dtable.c: Likewise.
11774 * sunrpc/rpc_hout.c: Likewise.
11775 * sunrpc/rpc_main.c: Likewise.
11776 * sunrpc/rpc_parse.c: Likewise.
11777 * sunrpc/rpc_parse.h: Likewise.
11778 * sunrpc/rpc_prot.c: Likewise.
11779 * sunrpc/rpc_sample.c: Likewise.
11780 * sunrpc/rpc_scan.c: Likewise.
11781 * sunrpc/rpc_scan.h: Likewise.
11782 * sunrpc/rpc_svcout.c: Likewise.
11783 * sunrpc/rpc_tblout.c: Likewise.
11784 * sunrpc/rpc_util.c: Likewise.
11785 * sunrpc/rpc_util.h: Likewise.
11786 * sunrpc/rpcinfo.c: Likewise.
11787 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11788 * sunrpc/rpcsvc/key_prot.x: Likewise.
11789 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11790 * sunrpc/rpcsvc/mount.x: Likewise.
11791 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11792 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11793 * sunrpc/rpcsvc/rex.x: Likewise.
11794 * sunrpc/rpcsvc/rstat.x: Likewise.
11795 * sunrpc/rpcsvc/rusers.x: Likewise.
11796 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11797 * sunrpc/rpcsvc/spray.x: Likewise.
11798 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11799 * sunrpc/rtime.c: Likewise.
11800 * sunrpc/svc.c: Likewise.
11801 * sunrpc/svc_auth.c: Likewise.
11802 * sunrpc/svc_authux.c: Likewise.
11803 * sunrpc/svc_raw.c: Likewise.
11804 * sunrpc/svc_run.c: Likewise.
11805 * sunrpc/svc_simple.c: Likewise.
11806 * sunrpc/svc_tcp.c: Likewise.
11807 * sunrpc/svc_udp.c: Likewise.
11808 * sunrpc/svc_unix.c: Likewise.
11809 * sunrpc/svcauth_des.c: Likewise.
11810 * sunrpc/xcrypt.c: Likewise.
11811 * sunrpc/xdr.c: Likewise.
11812 * sunrpc/xdr_array.c: Likewise.
11813 * sunrpc/xdr_float.c: Likewise.
11814 * sunrpc/xdr_mem.c: Likewise.
11815 * sunrpc/xdr_rec.c: Likewise.
11816 * sunrpc/xdr_ref.c: Likewise.
11817 * sunrpc/xdr_sizeof.c: Likewise.
11818 * sunrpc/xdr_stdio.c: Likewise.
11820 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11823 2010-08-19 Andreas Schwab <schwab@redhat.com>
11825 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11827 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11829 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11830 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11831 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11832 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11833 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11834 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11835 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11836 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11837 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11838 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11839 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11840 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11841 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11842 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11844 2010-07-26 Anton Blanchard <anton@samba.org>
11846 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11847 * malloc/arena.c (heap_trim): Likewise.
11849 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11851 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11853 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11854 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11856 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11858 * sysdeps/i386/elf/Makefile: New file.
11860 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11862 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11863 from fanotify_init.
11864 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11865 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11867 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11869 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11871 * sysdeps/multiarch/strcmp.S: Likewise.
11873 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11875 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11876 strncase_l-nonascii.
11877 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11878 Add strncase_l-ssse3.
11879 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11880 * sysdeps/x86_64/strcmp.S: Likewise.
11881 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11882 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11883 * sysdeps/x86_64/strncase.S: New file.
11884 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11885 * sysdeps/x86_64/strncase_l.S: New file.
11886 * string/Makefile (strop-tests): Add strncasecmp.
11887 * string/test-strncasecmp.c: New file.
11889 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11892 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11893 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11895 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11897 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11899 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11901 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11902 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11903 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11905 2010-05-01 Alan Modra <amodra@gmail.com>
11907 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11908 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11909 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11910 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11911 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11912 tidying. Don't tail-call __sigjmp_save for static lib.
11913 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11915 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11916 (CALL_MCOUNT): Add eh info, and nop after bl.
11917 (TAIL_CALL_SYSCALL_ERROR): New macro.
11918 (PSEUDO_RET): Use it.
11919 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11920 Correct save location of integer regs and cr.
11921 (_dl_profile_resolve): Correct cr save location. Delete nops
11922 after bl when SHARED. Reduce cfi size a little by better
11923 placement of cfi directives.
11924 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11925 make a stack frame. Instead use parm save area as a temp.
11926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11927 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11929 Don't make a stack frame for parent, use parm save area.
11930 Increase child stack frame to 112 bytes. Don't save unused reg,
11931 and adjust reg usage. Set up cfi on error recovery and
11932 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11934 (__makecontext): Add dummy nop after jump to exit.
11935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11936 Use correct parm save area and cr save, reduce stack frame.
11937 Correct cfi for possible PSEUDO_RET frame setup.
11938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11939 Branch to local label emitted by PSEUDO_RET rather than
11942 2010-08-12 Andreas Schwab <schwab@redhat.com>
11945 * locale/programs/locale.c (print_assignment): New function.
11946 (show_locale_vars): Use it.
11948 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11950 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11952 (struct statfs64): Likewise.
11953 (_STATFS_F_FLAGS): Define.
11954 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11955 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11956 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11957 (ST_VALID): Define locally.
11958 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11959 __statvfs_getflags, use the provided value.
11960 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11961 __ASSUME_STATFS_F_FLAGS.
11963 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11965 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11966 Add sys/fanotify.h.
11967 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11968 fanotify_mask for GLIBC_2.13.
11969 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11970 fanotify_init and fanotify_mark.
11971 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11972 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11974 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11976 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11977 prlimit64 for GLIBC_2.13.
11978 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11980 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11983 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11984 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11985 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11986 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11988 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11991 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11992 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11994 * nss/Makefile: Add rules to build and run tst-nss-test1.
11995 * shlib-versions: Add entry for libnss_test1.
11996 * nss/nss_test1.c: New file.
11997 * nss/tst-nss-test1.c: New file.
11999 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12000 (__nss_configure_lookup): Set appropriate entry in
12001 __nss_configure_lookup to true.
12002 * nss/nsswitch.h: Define enum with indeces of databases in
12003 databases and __nss_database_custom arrays. Declare
12004 __nss_database_custom.
12005 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12006 to avoid using nscd when custom rules are installed.
12007 * nss/getXXbyYY_r.c: Likewise.
12008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12010 * nss/nss_files/files-parse.c: Whitespace fixes.
12012 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12015 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12016 * posix/fnmatch_loop.c: Likewise.
12018 2010-07-17 Andi Kleen <ak@linux.intel.com>
12020 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12021 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12022 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12023 * Versions.def [GLIBC_2.13]: Add.
12025 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12027 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12028 Also fail if tpwd after pwuid call is NULL.
12030 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12032 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12033 when converting to ms.
12035 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12037 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12038 EOPNOTSUPP errors with ENOTTY.
12039 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12040 EOPNOTSUPP errors with ENOTTY.
12042 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12044 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12045 Add strcasecmp_l-ssse3.
12046 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12048 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12049 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12050 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12052 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12054 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12056 * string/Makefile (strop-tests): Add strcasecmp.
12057 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12058 strcasecmp_l-nonascii.
12059 (gen-as-const-headers): Add locale-defines.sym.
12060 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12061 * sysdeps/x86_64/strcasecmp.S: New file.
12062 * sysdeps/x86_64/strcasecmp_l.S: New file.
12063 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12064 * sysdeps/x86_64/locale-defines.sym: New file.
12065 * string/test-strcasecmp.c: New file.
12067 * string/test-strcasestr.c: Test both ends of the range of characters.
12068 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12070 2010-07-29 Roland McGrath <roland@redhat.com>
12073 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12075 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12077 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12080 2010-07-27 Andreas Schwab <schwab@redhat.com>
12082 * manual/memory.texi (Malloc Tunable Parameters): Document
12085 2010-07-26 Roland McGrath <roland@redhat.com>
12088 * configure.in (-fgnu89-inline check): Set and substitute
12089 gnu89_inline, not libc_cv_gnu89_inline.
12090 * configure: Regenerated.
12091 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12093 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12095 * string/test-strnlen.c: New file.
12096 * string/Makefile (strop-tests): Add strnlen.
12097 * string/tester.c (test_strnlen): Add a few more test cases.
12098 * string/tst-strlen.c: Better error reporting.
12100 * sysdeps/x86_64/strnlen.S: New file.
12102 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12104 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12105 lower-latency instructions.
12107 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12109 * string/test-strcasestr.c: New file.
12110 * string/test-strstr.c: New file.
12111 * string/Makefile (strop-tests): Add strstr and strcasestr.
12112 * string/str-two-way.h: Don't undefine MAX.
12113 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12115 2010-07-21 Andreas Schwab <schwab@redhat.com>
12117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12118 strcasestr-nonascii.
12119 (CFLAGS-strcasestr-nonascii.c): Define.
12120 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12121 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12122 Remove unused attribute.
12124 2010-07-20 Roland McGrath <roland@redhat.com>
12126 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12127 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12128 ld.so.cache was broken. With it, there is no way to disable dsocaps
12129 like LD_HWCAP_MASK can disable hwcaps.
12131 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12133 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12135 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12137 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12138 call in strcasestr.
12139 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12140 __strcasestr_sse42_nonascii.
12141 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12142 strcasestr-nonascii.c.
12143 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12145 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12147 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12148 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12149 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12150 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12152 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12154 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12157 2010-07-06 Andreas Schwab <schwab@redhat.com>
12160 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12163 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12165 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12166 _PC_PIPE_BUF using F_GETPIPE_SZ.
12168 2010-07-05 Roland McGrath <roland@redhat.com>
12170 * manual/arith.texi (Rounding Functions): Fix rint description
12171 implicit in round description.
12173 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12175 * elf/Makefile: Fix linking for a few tests to make recent linker
12178 2010-06-30 Andreas Schwab <schwab@redhat.com>
12180 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12181 $(common-objpfx)libc_nonshared.a.
12183 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12185 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12186 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12187 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12188 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12189 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12190 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12191 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12192 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12207 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12208 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12209 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12210 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12211 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12212 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12213 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12214 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12215 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12216 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12217 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12218 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12234 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12236 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12237 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12238 * string/memmove.c (memmove): Renamed to ...
12239 (MEMMOVE): ...this. Default to memmove.
12240 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12241 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12243 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12244 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12245 mempcpy-ssse3-back memmove-ssse3-back.
12246 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12247 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12249 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12250 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12251 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12252 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12253 * sysdeps/x86_64/multiarch/memmove.c: New file.
12254 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12255 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12256 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12257 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12258 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12259 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12261 (index_Fast_Copy_Backward): Define.
12262 (HAS_ARCH_FEATURE): Define.
12263 (HAS_FAST_REP_STRING): Define.
12264 (HAS_FAST_COPY_BACKWARD): Define.
12266 2010-06-21 Andreas Schwab <schwab@redhat.com>
12268 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12269 Restore proper fallback handling.
12271 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12274 * posix/group_member.c (__group_member): Correct checking loop.
12276 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12277 OOM in getpwuid_r correctly. Return error number when the caller
12278 should return, otherwise -1.
12279 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12280 call returning > 0 value.
12281 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12283 2010-06-07 Andreas Schwab <schwab@redhat.com>
12285 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12286 libc_nonshared.a from targets in modules-names.
12288 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12290 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12293 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12295 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12296 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12297 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12298 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12300 2010-06-02 Andreas Schwab <schwab@redhat.com>
12302 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12304 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12306 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12308 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12309 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12312 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12313 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12315 2010-06-14 Roland McGrath <roland@redhat.com>
12317 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12319 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12321 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12322 __REDIRECT followed by __THROW.
12323 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12324 * posix/getopt.h (getopt): Likewise.
12326 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12328 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12329 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12330 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12332 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12333 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12335 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12337 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12339 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12343 Properly check family and model.
12345 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12347 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12349 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12351 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12353 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12355 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12358 2010-05-19 Andreas Schwab <schwab@redhat.com>
12360 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12363 2010-05-21 Andreas Schwab <schwab@redhat.com>
12365 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12366 and internal_recvmmsg.
12367 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12368 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12369 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12370 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12372 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12373 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12374 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12376 2010-05-20 Andreas Schwab <schwab@redhat.com>
12378 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12380 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
12382 POWER7 optimizations.
12383 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12384 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12386 2010-05-19 Ulrich Drepper <drepper@redhat.com>
12388 * version.h: Update for 2.13 development version.
12390 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
12392 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12393 exceptions. Return 0.
12395 2010-05-07 Roland McGrath <roland@redhat.com>
12397 * elf/ldconfig.c (main): Add a const.
12399 2010-05-06 Ulrich Drepper <drepper@redhat.com>
12401 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12402 (args_options): Add no-idn option.
12403 (ahosts_keys_int): Add idn_flags to ai_flags.
12404 (parse_option): Handle 'i' option to clear idn_flags.
12406 * malloc/malloc.c (_int_free): Possible race in the most recently
12407 added check. Only act on the data if no current modification
12410 See ChangeLog.17 for earlier changes.