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.
3239 * timezone/Makefile: Don't install timezone files, just the programs
3242 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3244 * nss/databases.def: Add missing gshadow entry.
3246 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3248 2012-03-06 Marek Polacek <polacek@redhat.com>
3251 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3252 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3253 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3254 * stdio-common/tst-long-dbl-fphex.c: New file.
3256 2012-03-06 David S. Miller <davem@davemloft.net>
3258 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3259 (set_obp_int): New function.
3260 (get_obp_int): New function.
3261 (__get_clockfreq_via_dev_openprom): Likewise.
3262 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3263 Avoid unused variable warnings on 'val' and use builtin_expect.
3264 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3266 (INLINE_CLONE_SYSCALL): Likewise.
3268 2012-03-05 David S. Miller <davem@davemloft.net>
3270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3272 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3276 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3278 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3280 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3282 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3283 Replace gettimeofday with __vdso_gettimeofday.
3285 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3286 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3287 __vdso_clock_gettime and __vdso_getcpu.
3289 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3290 time with __vdso_time.
3292 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3294 * manual/lang.texi (size_t): Note types to which size_t may be
3295 equivalent with the GNU C Library, but do not describe when
3296 differences between them are significant.
3298 2012-03-05 Andreas Jaeger <aj@suse.de>
3300 * sysdeps/i386/fpu/libm-test-ulps: Update.
3302 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3305 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3306 (__ieee754_pow): Save and restore rounding mode and use
3307 round-to-nearest for main computations.
3308 * math/libm-test.inc (pow_test_tonearest): New function.
3309 (pow_test_towardzero): Likewise.
3310 (pow_test_downward): Likewise.
3311 (pow_test_upward): Likewise.
3312 (main): Call the new functions.
3313 * sysdeps/i386/fpu/libm-test-ulps: Update.
3314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3317 * math/libm-test.inc (cosh_test_tonearest): New function.
3318 (cosh_test_towardzero): Likewise.
3319 (cosh_test_downward): Likewise.
3320 (cosh_test_upward): Likewise.
3321 (sinh_test_tonearest): Likewise.
3322 (sinh_test_towardzero): Likewise.
3323 (sinh_test_downward): Likewise.
3324 (sinh_test_upward): Likewise.
3325 (main): Call the new functions.
3326 * sysdeps/i386/fpu/libm-test-ulps: Update.
3327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3329 2012-03-05 Tom de Vries <tom@codesourcery.com>
3331 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3332 default stack guard is set in last bytes.
3333 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3335 2012-03-05 Kees Cook <keescook@chromium.org>
3337 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3340 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3341 possibly allocate from heap instead of stack.
3342 * stdio-common/bug-vfprintf-nargs.c: New file.
3343 * stdio-common/Makefile (tests): Add nargs overflow test.
3345 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3349 2012-03-03 Marek Polacek <polacek@redhat.com>
3351 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3352 * math/math_private.h: Likewise.
3353 * stdlib/tst-strtod.c: Likewise.
3354 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3355 * sysdeps/x86_64/bits/atomic.h: Likewise.
3357 2012-03-02 David S. Miller <davem@davemloft.net>
3359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3361 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3363 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3364 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3365 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3366 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3368 2012-03-02 Roland McGrath <roland@hack.frob.com>
3371 * manual/examples/README: New file, says the example source files
3372 can be used under GPL>=2.
3373 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3374 line containing just "*/".
3375 * manual/examples/add.c: Add copyright header (GPL>=2).
3376 * manual/examples/argp-ex1.c: Likewise.
3377 * manual/examples/argp-ex2.c: Likewise.
3378 * manual/examples/argp-ex3.c: Likewise.
3379 * manual/examples/argp-ex4.c: Likewise.
3380 * manual/examples/atexit.c: Likewise.
3381 * manual/examples/db.c: Likewise.
3382 * manual/examples/dir.c: Likewise.
3383 * manual/examples/dir2.c: Likewise.
3384 * manual/examples/execinfo.c: Likewise.
3385 * manual/examples/filecli.c: Likewise.
3386 * manual/examples/filesrv.c: Likewise.
3387 * manual/examples/fmtmsgexpl.c: Likewise.
3388 * manual/examples/genpass.c: Likewise.
3389 * manual/examples/inetcli.c: Likewise.
3390 * manual/examples/inetsrv.c: Likewise.
3391 * manual/examples/isockad.c: Likewise.
3392 * manual/examples/longopt.c: Likewise.
3393 * manual/examples/memopen.c: Likewise.
3394 * manual/examples/memstrm.c: Likewise.
3395 * manual/examples/mkfsock.c: Likewise.
3396 * manual/examples/mkisock.c: Likewise.
3397 * manual/examples/mygetpass.c: Likewise.
3398 * manual/examples/pipe.c: Likewise.
3399 * manual/examples/popen.c: Likewise.
3400 * manual/examples/rprintf.c: Likewise.
3401 * manual/examples/search.c: Likewise.
3402 * manual/examples/select.c: Likewise.
3403 * manual/examples/setjmp.c: Likewise.
3404 * manual/examples/sigh1.c: Likewise.
3405 * manual/examples/sigusr.c: Likewise.
3406 * manual/examples/stpcpy.c: Likewise.
3407 * manual/examples/strdupa.c: Likewise.
3408 * manual/examples/strftim.c: Likewise.
3409 * manual/examples/strncat.c: Likewise.
3410 * manual/examples/subopt.c: Likewise.
3411 * manual/examples/swapcontext.c: Likewise.
3412 * manual/examples/termios.c: Likewise.
3413 * manual/examples/testopt.c: Likewise.
3414 * manual/examples/testpass.c: Likewise.
3415 * manual/examples/timeval_subtract.c: Likewise.
3418 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3420 * manual/timeval_subtract.c.texi: ... here, new file.
3422 2012-03-02 David S. Miller <davem@davemloft.net>
3424 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3426 2012-03-02 Joseph Myers <joseph@codesourcery.com>
3429 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3430 (__sin): Save and restore rounding mode and use round-to-nearest
3431 for all computations.
3432 (__cos): Save and restore rounding mode and use round-to-nearest
3433 for all computations.
3434 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3436 (tan): Save and restore rounding mode and use round-to-nearest for
3438 * math/libm-test.inc (cos_test_tonearest): New function.
3439 (cos_test_towardzero): Likewise.
3440 (cos_test_downward): Likewise.
3441 (cos_test_upward): Likewise.
3442 (sin_test_tonearest): Likewise.
3443 (sin_test_towardzero): Likewise.
3444 (sin_test_downward): Likewise.
3445 (sin_test_upward): Likewise.
3446 (tan_test_tonearest): Likewise.
3447 (tan_test_towardzero): Likewise.
3448 (tan_test_downward): Likewise.
3449 (tan_test_upward): Likewise.
3450 (main): Call the new functions.
3451 * sysdeps/i386/fpu/libm-test-ulps: Update.
3452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3455 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3456 small n, then large n, before computing and testing k+n.
3457 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3458 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3460 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3462 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3463 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3464 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3465 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3466 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3467 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3468 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3469 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3470 * math/libm-test.inc (scalbn_test): Add more tests.
3471 (scalbln_test): Likewise.
3473 * manual/filesys.texi (mode_t): Describe constraints on size and
3474 signedness, not exact equivalence to a particular type.
3476 (ino64_t): Likewise.
3478 (nlink_t): Likewise.
3479 (blkcnt_t): Likewise.
3480 (blkcnt64_t): Likewise.
3481 * manual/llio.texi (off_t): Likewise.
3484 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3485 (__ieee754_exp): Save and restore rounding mode and use
3486 round-to-nearest for all computations.
3487 * math/libm-test.inc (exp_test_tonearest): New function.
3488 (exp_test_towardzero): Likewise.
3489 (exp_test_downward): Likewise.
3490 (exp_test_upward): Likewise.
3491 (main): Call the new functions.
3492 * sysdeps/i386/fpu/libm-test-ulps: Update.
3493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3495 2012-03-01 Chris Demetriou <cgd@google.com>
3497 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3498 have predictable order.
3500 2012-03-01 David S. Miller <davem@davemloft.net>
3502 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3504 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3505 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3506 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3507 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3509 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3510 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3511 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3513 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3514 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3515 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3516 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3517 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3521 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3522 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3523 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3525 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3526 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3527 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3528 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3529 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3530 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3531 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3532 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3533 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3534 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3535 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3536 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3537 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3538 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3539 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3540 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3541 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3542 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3543 * sysdeps/sparc/elf/configure: Regenerated.
3545 2012-03-01 Joseph Myers <joseph@codesourcery.com>
3547 * configure.in (AS, LD): Require binutils 2.20 or later.
3548 * configure: Regenerated.
3549 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3550 as required minimum version.
3551 * INSTALL: Regenerated.
3555 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3556 before squaring exponent.
3557 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3558 bottom long double and 27 bits of top long double before squaring
3560 * math/libm-test.inc (erfc_test): Add more tests.
3561 * sysdeps/i386/fpu/libm-test-ulps: Update.
3562 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3565 2012-03-01 Kai Tietz <ktietz@redhat.com>
3567 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3568 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3569 containing bit-fields.
3570 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3571 * soft-fp/single.h (_FP_UNION_S): Likewise.
3572 * soft-fp/double.h (_FP_UNION_D): Likewise.
3574 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3577 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3578 not include ../strcmp.S.
3579 [USE_AS_STRNCASECMP_L]: Likewise.
3580 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3581 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3582 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3583 (__strncasecmp_l_ia32): Define as alias to
3584 __strncasecmp_l_nonascii.
3587 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3588 * sysdeps/i386/fpu/libm-test-ulps: Update.
3589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3591 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3594 2012-02-29 Jeff Law <law@redhat.com>
3596 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3599 2012-02-29 Marek Polacek <polacek@redhat.com>
3602 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3603 * elf/Makefile: Add rules to run tst-unused-dep.out.
3605 2012-02-28 David S. Miller <davem@davemloft.net>
3607 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3608 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3609 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3610 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3611 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3612 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3614 2012-02-29 Joseph Myers <joseph@codesourcery.com>
3616 * math/libm-test.inc (llround_test): Move one test from
3617 lround_test. Use TEST_f_L in moved test.
3618 (lround_test): Move misplaced test to llround_test. Add testcase
3621 2012-02-28 Ulrich Drepper <drepper@gmail.com>
3623 * sysdeps/x86_64/fpu/e_expf.S: New file.
3624 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3626 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3629 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3630 of remain_len that may cause incomplete multi-byte character and
3632 * posix/bug-regex33.c: New file.
3633 * posix/Makefile (tests): Add bug-regex33.
3635 2012-02-28 Joseph Myers <joseph@codesourcery.com>
3637 * manual/macros.texi: New file.
3638 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3639 * manual/libc.texinfo: Include macros.texi.
3640 * manual/creatute.texi: Likewise.
3641 * manual/install.texi: Likewise.
3642 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3643 @glibcadj{} in references to the GNU C Library.
3644 * manual/charset.texi: Likewise.
3645 * manual/conf.texi: Likewise.
3646 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3647 when not using those macros.
3648 * manual/creature.texi: Likewise.
3649 * manual/crypt.texi: Likewise.
3650 * manual/errno.texi: Likewise.
3651 * manual/filesys.texi: Likewise.
3652 * manual/header.texi: Likewise.
3653 * manual/install.texi: Likewise.
3654 * manual/intro.texi: Likewise.
3655 * manual/io.texi: Likewise.
3656 * manual/job.texi: Likewise.
3657 * manual/lang.texi: Likewise.
3658 * manual/libc.texiinfo: Likewise.
3659 * manual/llio.texi: Likewise.
3660 * manual/locale.texi: Likewise.
3661 * manual/maint.texi: Likewise.
3662 * manual/math.texi: Likewise.
3663 * manual/memory.texi: Likewise.
3664 * manual/message.texi: Likewise.
3665 * manual/nss.texi: Likewise.
3666 * manual/pattern.texi: Likewise.
3667 * manual/process.texi: Likewise.
3668 * manual/resource.texi: Likewise.
3669 * manual/search.texi: Likewise.
3670 * manual/setjmp.texi: Likewise.
3671 * manual/signal.texi: Likewise.
3672 * manual/socket.texi: Likewise.
3673 * manual/startup.texi: Likewise.
3674 * manual/stdio.texi: Likewise.
3675 * manual/string.texi: Likewise.
3676 * manual/sysinfo.texi: Likewise.
3677 * manual/syslog.texi: Likewise.
3678 * manual/terminal.texi: Likewise.
3679 * manual/time.texi: Likewise.
3680 * manual/users.texi: Likewise.
3681 * INSTALL: Regenerated.
3682 * NOTES: Regenerated.
3683 * sysdeps/gnu/errlist.c: Regenerated.
3685 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3687 * include/dirent.h: Include <dirstream.h> before
3690 2012-02-28 David S. Miller <davem@davemloft.net>
3692 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3693 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3694 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3695 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3697 2012-02-27 David S. Miller <davem@davemloft.net>
3699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3701 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3702 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3705 frame pointer instead of stack pointer relative arg slot.
3706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3707 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3708 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3710 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3713 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3715 2012-02-27 David S. Miller <davem@davemloft.net>
3717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3721 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3722 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3723 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3724 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3726 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3728 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3729 later. Allow versions 5-9.
3730 * configure: Regenerated.
3731 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3732 required minimum version and 4.6 as recommended version. Do not
3733 mention bugs in GCC 2.7 and 2.8.
3734 * INSTALL: Regenerated.
3736 2012-02-27 David S. Miller <davem@davemloft.net>
3738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3742 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3743 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3744 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3745 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3747 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3748 manipulate bits before adding and subtracting TWO112[sx].
3749 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3751 2012-02-27 Roland McGrath <roland@hack.frob.com>
3754 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3755 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3756 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3757 being in POSIX, because they are in 1003.1-2008.
3759 * rt/tst-aio.c: Include <fcntl.h>.
3760 * rt/tst-aio7.c: Likewise.
3761 * rt/tst-aio64.c: Likewise.
3763 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3765 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3767 * manual/install.texi (--with-headers): Describe headers as
3768 interface headers, not private headers.
3769 (Specific advice for GNU/Linux systems): Describe use of headers
3770 from "make headers_install", not private headers from older
3772 * INSTALL: Regenerated.
3773 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3775 * sysdeps/unix/sysv/linux/configure: Regenerated.
3777 * manual/llio.texi (fclean): Remove documentation.
3779 * manual/Makefile (libc-texi-generated): New variable. Include
3781 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3782 $(libc-texi-generated), not duplicated list of files.
3783 (version.texi, stamp-version): New rules.
3784 (realclean): Remove $(libc-texi-generated), not individual files
3785 from that list. Do not remove dir-add.texinfo.
3786 * manual/libc.texinfo: Comment out uses of edition numbers and
3787 references to printed manual. Remove last-updated dates.
3788 (EDITION): Comment out.
3790 (VERSION, UPDATED): Remove.
3791 (version.texi): Include.
3793 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3795 * sysdeps/posix/spawni.c: Include <signal.h>.
3796 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3797 * sysdeps/pthread/aio_fsync.c: Likewise.
3799 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3801 * conform/Makefile (tests): Run only when not cross-compiling and
3802 when fast-check is not defined.
3804 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3805 * conform/data/limits.h-data: Fixes for POSIX2008.
3806 * conform/run-conformtest.sh: Run all tests.
3807 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3809 * include/bits/dlfcn.h: Likewise.
3810 * include/langinfo.h: Likewise.
3811 * include/monetary.h: Likewise.
3812 * include/sys/poll.h: Likewise.
3814 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3816 * posix/spawn.h: Define __need_sigset_t.
3817 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3818 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3819 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3820 to get sigevent_t only.
3821 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3824 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3825 process_vm_writev only for __USE_GNU.
3826 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3828 * conform/Makefile: For now ignore errors from run-conformtest.
3829 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3830 POSIX to avoid namespace pollution. Don't prepend headers.
3831 * conform/data/aio.h-data: Fixes for POSIX testing.
3832 * conform/data/fcntl.h-data: Likewise.
3833 * conform/data/glob.h-data: Likewise.
3834 * conform/data/grp.h-data: Likewise.
3835 * conform/data/pthread.h-data: Likewise.
3836 * conform/data/pwd.h-data: Likewise.
3837 * conform/data/signal.h-data: Likewise.
3838 * conform/data/spawn.h-data: Likewise.
3839 * conform/data/stdio.h-data: Likewise.
3840 * conform/data/stdlib.h-data: Likewise.
3841 * conform/data/stropts.h-data: Likewise.
3842 * conform/data/sys/mman.h-data: Likewise.
3843 * conform/data/sys/stat.h-data: Likewise.
3844 * conform/data/sys/types.h-data: Likewise.
3845 * conform/data/sys/wait.h-data: Likewise.
3846 * conform/data/time.h-data: Likewise.
3847 * conform/data/unistd.h-data: Likewise.
3848 * conform/data/utime.h-data: Likewise.
3850 * io/sys/stat.h: fchmod was always in POSIX.
3851 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3852 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3853 * rt/aio.h: Define __need_timespec before including <time.h>.
3854 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3855 struct. Add forward declaration of pthread_attr_t and use it in
3857 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3858 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3859 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3860 always remove CLK_TCK definition.
3862 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3864 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3866 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3868 * conform/run-conformtest.sh: New file.
3869 * conform/Makefile: Run run-conformtest for tests.
3870 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3873 * conform/data/uchar.h-data: New file.
3874 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3875 * conform/data/arpa/inet.h-data: Likewise.
3876 * conform/data/assert.h-data: Likewise.
3877 * conform/data/complex.h-data: Likewise.
3878 * conform/data/cpio.h-data: Likewise.
3879 * conform/data/ctype.h-data: Likewise.
3880 * conform/data/dirent.h-data: Likewise.
3881 * conform/data/dlfcn.h-data: Likewise.
3882 * conform/data/errno.h-data: Likewise.
3883 * conform/data/fcntl.h-data: Likewise.
3884 * conform/data/float.h-data: Likewise.
3885 * conform/data/fmtmsg.h-data: Likewise.
3886 * conform/data/fnmatch.h-data: Likewise.
3887 * conform/data/ftw.h-data: Likewise.
3888 * conform/data/glob.h-data: Likewise.
3889 * conform/data/grp.h-data: Likewise.
3890 * conform/data/iconv.h-data: Likewise.
3891 * conform/data/inttypes.h-data: Likewise.
3892 * conform/data/langinfo.h-data: Likewise.
3893 * conform/data/libgen.h-data: Likewise.
3894 * conform/data/limits.h-data: Likewise.
3895 * conform/data/locale.h-data: Likewise.
3896 * conform/data/math.h-data: Likewise.
3897 * conform/data/monetary.h-data: Likewise.
3898 * conform/data/mqueue.h-data: Likewise.
3899 * conform/data/ndbm.h-data: Likewise.
3900 * conform/data/net/if.h-data: Likewise.
3901 * conform/data/netdb.h-data: Likewise.
3902 * conform/data/netinet/in.h-data: Likewise.
3903 * conform/data/nl_types.h-data: Likewise.
3904 * conform/data/poll.h-data: Likewise.
3905 * conform/data/pthread.h-data: Likewise.
3906 * conform/data/pwd.h-data: Likewise.
3907 * conform/data/regex.h-data: Likewise.
3908 * conform/data/sched.h-data: Likewise.
3909 * conform/data/search.h-data: Likewise.
3910 * conform/data/semaphore.h-data: Likewise.
3911 * conform/data/setjmp.h-data: Likewise.
3912 * conform/data/signal.h-data: Likewise.
3913 * conform/data/spawn.h-data: Likewise.
3914 * conform/data/stdarg.h-data: Likewise.
3915 * conform/data/stdio.h-data: Likewise.
3916 * conform/data/stdlib.h-data: Likewise.
3917 * conform/data/string.h-data: Likewise.
3918 * conform/data/strings.h-data: Likewise.
3919 * conform/data/stropts.h-data: Likewise.
3920 * conform/data/sys/ipc.h-data: Likewise.
3921 * conform/data/sys/mman.h-data: Likewise.
3922 * conform/data/sys/msg.h-data: Likewise.
3923 * conform/data/sys/resource.h-data: Likewise.
3924 * conform/data/sys/select.h-data: Likewise.
3925 * conform/data/sys/sem.h-data: Likewise.
3926 * conform/data/sys/shm.h-data: Likewise.
3927 * conform/data/sys/socket.h-data: Likewise.
3928 * conform/data/sys/stat.h-data: Likewise.
3929 * conform/data/sys/statvfs.h-data: Likewise.
3930 * conform/data/sys/time.h-data: Likewise.
3931 * conform/data/sys/timeb.h-data: Likewise.
3932 * conform/data/sys/times.h-data: Likewise.
3933 * conform/data/sys/types.h-data: Likewise.
3934 * conform/data/sys/uio.h-data: Likewise.
3935 * conform/data/sys/un.h-data: Likewise.
3936 * conform/data/sys/utsname.h-data: Likewise.
3937 * conform/data/sys/wait.h-data: Likewise.
3938 * conform/data/syslog.h-data: Likewise.
3939 * conform/data/tar.h-data: Likewise.
3940 * conform/data/termios.h-data: Likewise.
3941 * conform/data/utime.h-data: Likewise.
3942 * conform/data/utmpx.h-data: Likewise.
3943 * conform/data/varargs.h-data: Likewise.
3944 * conform/data/wchar.h-data: Likewise.
3945 * conform/data/wctype.h-data: Likewise.
3946 * conform/data/wordexp.h-data: Likewise.
3948 * include/stropts.h: New file.
3949 * include/uchar.h: New file.
3950 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3951 * include/assert.h: Likewise.
3952 * include/ctype.h: Likewise.
3953 * include/dirent.h: Likewise.
3954 * include/dlfcn.h: Likewise.
3955 * include/fcntl.h: Likewise.
3956 * include/fnmatch.h: Likewise.
3957 * include/glob.h: Likewise.
3958 * include/grp.h: Likewise.
3959 * include/libio.h: Likewise.
3960 * include/locale.h: Likewise.
3961 * include/math.h: Likewise.
3962 * include/net/if.h: Likewise.
3963 * include/netdb.h: Likewise.
3964 * include/netinet/in.h: Likewise.
3965 * include/pthread.h: Likewise.
3966 * include/pwd.h: Likewise.
3967 * include/regex.h: Likewise.
3968 * include/sched.h: Likewise.
3969 * include/search.h: Likewise.
3970 * include/setjmp.h: Likewise.
3971 * include/signal.h: Likewise.
3972 * include/stdio.h: Likewise.
3973 * include/stdlib.h: Likewise.
3974 * include/string.h: Likewise.
3975 * include/sys/cdefs.h: Likewise.
3976 * include/sys/mman.h: Likewise.
3977 * include/sys/msg.h: Likewise.
3978 * include/sys/resource.h: Likewise.
3979 * include/sys/select.h: Likewise.
3980 * include/sys/socket.h: Likewise.
3981 * include/sys/stat.h: Likewise.
3982 * include/sys/statvfs.h: Likewise.
3983 * include/sys/time.h: Likewise.
3984 * include/sys/times.h: Likewise.
3985 * include/sys/uio.h: Likewise.
3986 * include/sys/utsname.h: Likewise.
3987 * include/sys/wait.h: Likewise.
3988 * include/termios.h: Likewise.
3989 * include/time.h: Likewise.
3990 * include/ulimit.h: Likewise.
3991 * include/unistd.h: Likewise.
3992 * include/utime.h: Likewise.
3993 * include/wchar.h: Likewise.
3994 * include/wctype.h: Likewise.
3995 * include/wordexp.h: Likewise.
3997 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3999 * time/time.h: TIME_UTC must be a macro.
4000 Make timespec_get available for ISO C11 only as well.
4002 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4004 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4005 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4007 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4009 * configure.in: Use -o not -a in test for unsupported multi-arch.
4011 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4013 * manual/texinfo.tex: Update to version 2012-01-19.16.
4015 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4017 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4019 2012-02-24 Roland McGrath <roland@hack.frob.com>
4022 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4023 * manual/fdl-1.3.texi: New file.
4024 * manual/fdl-1.1.texi: File removed.
4027 * manual/libc.texinfo (FDL_VERSION): New @set.
4028 Use it for mention of FDL in cover text.
4029 (Documentation License): Use it in @include file name.
4031 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4032 Roland McGrath <roland@hack.frob.com>
4035 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4036 not LONG_LONG_MAX and LONG_LONG_MIN.
4037 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4038 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4040 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4042 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4046 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4047 manipulate bits before adding and subtracting TWO23[sx].
4048 * math/libm-test.inc (nearbyint_test): Add more tests.
4050 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4053 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4054 bits before adding and subtracting TWO23[sx].
4055 * math/libm-test.inc (rint_test): Add more tests.
4056 (rint_test_tonearest): Likewise.
4057 (rint_test_towardzero): Likewise.
4058 (rint_test_downward): Likewise.
4059 (rint_test_upward: Likewise.
4061 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4064 * include/stdc-predef.h: New file. Extracted from features.h.
4065 * include/features.h: Include stdc-predef.h.
4066 * Makefile (headers): Add stdc-predef.h.
4067 * CONFORMANCE (Compiler limitations): Update.
4069 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4071 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4073 2012-02-21 David S. Miller <davem@davemloft.net>
4075 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4076 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4078 2012-02-20 David S. Miller <davem@davemloft.net>
4080 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4081 using a normal save/restore sequence, rather than allocating a
4082 dummy stack frame just to store a frame pointer and restore.
4083 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4085 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4087 * manual/install.texi: Fix stray word in line-wrapped comment.
4089 2012-02-20 David S. Miller <davem@davemloft.net>
4091 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4092 both binutils and gcc support GOTDATA.
4094 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4095 "rd %pc" in the PIC register setup sequences.
4097 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4098 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4099 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4100 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4101 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4103 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4104 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4106 (SYSCALL_ERROR_HANDLER): Likewise.
4107 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4108 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4110 (SYSCALL_ERROR_HANDLER): Likewise.
4112 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4113 (HAVE_GCC_GOTDATA): New.
4114 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4115 relocation support in both binutils and gcc.
4116 * sysdeps/sparc/elf/configure: Regenerate.
4118 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4119 * sysdeps/sparc/sparc32/elf/configure: Delete.
4120 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4121 * sysdeps/sparc/sparc64/elf/configure: Delete.
4122 * sysdeps/sparc/elf/configure.in: New file.
4123 * sysdeps/sparc/elf/configure: Generate.
4125 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4126 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4127 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4128 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4129 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4131 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4133 * manual/install.texi: Do not mention specific glibc version
4135 * manual/libc.texinfo (VERSION, UPDATED): Update.
4136 (@copying): Use @copyright{} and range of years.
4138 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4141 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4142 [crti.S not in sysdirs] (generated): Do not append.
4143 [crti.S not in sysdirs] (omit-deps): Likewise.
4144 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4145 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4146 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4147 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4148 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4150 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4151 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4152 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4153 * csu/defs.awk: Remove file.
4154 * sysdeps/generic/initfini.c: Likewise.
4155 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4157 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4160 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4162 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4163 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4164 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4165 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4166 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4167 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4169 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4170 (__EPOLL_PACKED): Define to empty if not defined by
4172 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4176 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4178 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4179 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4180 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4181 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4183 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4187 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4189 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4191 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4192 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4193 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4196 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4198 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4199 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4201 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4203 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4204 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4206 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4208 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4211 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4213 * math/w_acos.c: Use non-signaling floating-point comparisons.
4214 * math/w_acosf.c: Likewise.
4215 * math/w_acosh.c: Likewise.
4216 * math/w_acoshf.c: Likewise.
4217 * math/w_acoshl.c: Likewise.
4218 * math/w_acosl.c: Likewise.
4219 * math/w_asin.c: Likewise.
4220 * math/w_asinf.c: Likewise.
4221 * math/w_asinl.c: Likewise.
4222 * math/w_atanh.c: Likewise.
4223 * math/w_atanhf.c: Likewise.
4224 * math/w_atanhl.c: Likewise.
4225 * math/w_exp2.c: Likewise.
4226 * math/w_exp2f.c: Likewise.
4227 * math/w_exp2l.c: Likewise.
4228 * math/w_j0.c: Likewise.
4229 * math/w_j0f.c: Likewise.
4230 * math/w_j0l.c: Likewise.
4231 * math/w_j1.c: Likewise.
4232 * math/w_j1f.c: Likewise.
4233 * math/w_j1l.c: Likewise.
4234 * math/w_jn.c: Likewise.
4235 * math/w_jnf.c: Likewise.
4236 * math/w_log.c: Likewise.
4237 * math/w_log10.c: Likewise.
4238 * math/w_log10f.c: Likewise.
4239 * math/w_log10l.c: Likewise.
4240 * math/w_log2.c: Likewise.
4241 * math/w_log2f.c: Likewise.
4242 * math/w_log2l.c: Likewise.
4243 * math/w_logf.c: Likewise.
4244 * math/w_logl.c: Likewise.
4245 * math/w_sqrt.c: Likewise.
4246 * math/w_sqrtf.c: Likewise.
4247 * math/w_sqrtl.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4250 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4251 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4252 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4254 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4257 * manual/string.texi (strnlen): Use correct parameter name in
4258 equivalent expression.
4260 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4263 * manual/users.texi (seteuid): Consistently use neweuid for
4266 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4269 * manual/nss.texi (Services in the NSS configuration): Correct
4270 list of services in example configuration file.
4272 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4275 * manual/arith.texi: Remove statements about negative zero
4276 behaving identically to zero.
4278 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4281 * manual/install.texi: Do not document upgrading from libc5.
4283 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4286 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4288 2012-02-18 David S. Miller <davem@davemloft.net>
4290 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4291 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4292 %o7 across the call.
4293 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4295 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4298 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4299 * sysdeps/sparc/crtn.S: Likewise.
4301 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4303 * aout/Makefile: Remove.
4305 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4308 * manual/examples/argp-ex1.c (main): Format definition in GNU
4310 * manual/examples/argp-ex2.c (main): Likewise.
4311 * manual/examples/argp-ex3.c (main): Likewise.
4312 * manual/examples/argp-ex4.c (main): Likewise.
4313 * manual/examples/longopt.c (main): Use new-style prototype
4315 * manual/examples/strncat.c (main): Specify return type and use
4316 (void) for arguments.
4317 * manual/examples/subopt.c (main): Use char **argv argument.
4319 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4322 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4325 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4328 * manual/string.texi (strchr): Change when strchrnul is
4331 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4334 * manual/locale.texi (setlocale): Document LOCPATH.
4336 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4339 * manual/process.texi (execle): Move @dots{} before last argument.
4341 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4344 * manual/charset.texi (Generic Charset Conversion): Fix typo
4345 (LC_TYPE -> LC_CTYPE).
4347 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4350 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4351 (scalbnf): Likewise.
4352 (scalbnl): Likewise.
4353 (scalbln): Likewise.
4354 (scalblnf): Likewise.
4355 (scalblnl): Likewise.
4356 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4360 * manual/filesys.texi (telldir): Use braces around return type.
4361 * manual/llio.texi (mmap): Add space after comma.
4363 * manual/math.texi (jn): Use @var{} on parameter names.
4369 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4371 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4373 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4374 (sched_get_priority_max): Likewise.
4375 * manual/signal.texi (sigvec): Add space after comma.
4376 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4378 (if_indextoname): Likewise.
4379 (if_freenameindex): Likewise.
4380 (sendto): Use ',' instead of '.' in prototype.
4381 * manual/startup.texi (syscall): Use @dots{} instead of literal
4383 * manual/stdio.texi (__fpending): Separate initial words of
4384 paragraph from @deftypefun line.
4385 * manual/syslog.texi (syslog): Use @dots{} instead of literal
4387 (vsyslog): Use @var{} on parameter names.
4388 * manual/terminal.texi (stty): Use @var{} on parameter names.
4389 * manual/users.texi (getutmp): Use @var{} on parameter names.
4390 (getutmpx): Likewise.
4392 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4395 * manual/stdio.texi (fopen): Fix typos in description of
4398 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
4401 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4402 get clock_id definition.
4404 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
4407 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4408 (madvise): Cast every argument to void on its own.
4410 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4413 * manual/startup.texi (Exit Status): Fix typo.
4415 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4418 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4419 * manual/examples/argp-ex2.c: Likewise.
4420 * manual/examples/argp-ex3.c: Likewise.
4422 2012-02-16 Richard Henderson <rth@redhat.com>
4424 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4425 * sysdeps/s390/s390-32/initfini.c: Remove.
4426 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4427 * sysdeps/s390/s390-64/initfini.c: Remove.
4429 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4431 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4432 compiler output for sysdeps/generic/initfini.c.
4433 * sysdeps/sh/elf/initfini.c: Remove file.
4435 2012-02-16 David S. Miller <davem@davemloft.net>
4438 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4440 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4441 * sysdeps/sparc/crti.S: New file.
4442 * sysdeps/sparc/crtn.S: New file.
4443 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4444 * sysdeps/sparc/sparc64/Makefile: Likewise.
4446 2012-02-15 Mike Frysinger <vapier@gentoo.org>
4449 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4451 2012-02-15 Roland McGrath <roland@hack.frob.com>
4454 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4456 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4457 (write, read, close): Likewise.
4458 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4460 2012-02-15 Joseph Myers <joseph@codesourcery.com>
4462 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4463 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4464 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4465 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4467 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4471 2012-02-14 Marek Polacek <polacek@redhat.com>
4473 * sysdeps/x86_64/crti.S: New file.
4474 * sysdeps/x86_64/crtn.S: New file.
4475 * sysdeps/x86_64/elf/initfini.c: Remove file.
4477 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4479 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4480 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4481 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4482 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4484 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4488 2012-02-13 Joseph Myers <joseph@codesourcery.com>
4490 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4491 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4492 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4493 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4495 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4499 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4501 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4502 __feraiseexcept instead of feraiseexcept.
4504 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4505 nanosleep invocations.
4506 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4507 strings, and add error checking for a nanosleep invocations.
4509 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4511 Replace FSF snail mail address with URLs, as per GNU coding standards.
4512 Most of the snail mail addresses were wrong anyway, and omitting
4513 them makes the source code easier to maintain. Almost all of the
4514 changes are to license notices and to locale LC_IDENTIFICATION
4515 addresses, except for this one:
4516 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4517 not its snail mail address.
4519 2012-02-09 Richard Henderson <rth@twiddle.net>
4521 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4522 of kernel-features.h.
4524 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4526 2012-02-08 Marek Polacek <polacek@redhat.com>
4528 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4529 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4530 * sysdeps/gnu/_G_config.h: Likewise.
4531 * sysdeps/generic/_G_config.h: Likewise.
4533 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4535 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4539 * sysdeps/powerpc/powerpc32/crti.S: New file.
4540 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4541 * sysdeps/powerpc/powerpc64/crti.S: New file.
4542 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4544 * Makeconfig (have-initfini): Don't set.
4545 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4546 * configure.in (nopic_initfini): Don't substitute.
4547 * config.h.in (HAVE_INITFINI): Don't #undef.
4548 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4549 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4551 2012-02-08 Joseph Myers <joseph@codesourcery.com>
4553 Support crti.S and crtn.S provided directly by architectures.
4554 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4555 [crti.S in sysdirs] (omit-deps): Likewise.
4556 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4557 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4558 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4559 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4560 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4561 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4562 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4563 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4564 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4565 compiler output for sysdeps/generic/initfini.c.
4566 * sysdeps/i386/elf/Makefile: Remove file.
4567 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4569 2012-02-07 Marek Polacek <polacek@redhat.com>
4571 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4572 * sysdeps/gnu/_G_config.h: Likewise.
4573 * sysdeps/mach/hurd/_G_config.h: Likewise.
4575 2012-02-07 Marek Polacek <polacek@redhat.com>
4577 * math/Makefile (tests): Add tst-CMPLX2.
4578 * math/tst-CMPLX2.c: New file.
4580 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4582 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4584 * math/libm-test.inc (jn_test): Add missing L suffix.
4586 2012-02-06 Marek Polacek <polacek@redhat.com>
4588 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4589 * sysdeps/i386/fpu/e_powf.S: Likewise.
4590 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4591 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4592 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4593 * sysdeps/i386/fpu/e_pow.S: Likewise.
4594 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4595 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4596 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4597 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4598 * sysdeps/i386/fpu/e_log2.S: Likewise.
4599 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4600 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4601 * sysdeps/i386/fpu/e_powl.S: Likewise.
4602 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4603 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4604 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4605 * sysdeps/i386/fpu/e_logl.S: Likewise.
4606 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4607 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4608 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4609 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4610 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4611 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4612 * sysdeps/i386/fpu/e_log.S: Likewise.
4613 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4614 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4615 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4616 * sysdeps/i386/fpu/e_logf.S: Likewise.
4617 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4618 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4619 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4620 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4621 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4622 * sysdeps/i386/fpu/e_log10.S: Likewise.
4623 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4624 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4625 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4626 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4627 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4628 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4629 * sysdeps/i386/asm-syntax.h: Likewise.
4630 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4631 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4632 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4633 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4634 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4635 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4636 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4637 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4638 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4639 * sysdeps/powerpc/sysdep.h: Likewise.
4640 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4641 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4643 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4646 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4648 2012-02-06 Joseph Myers <joseph@codesourcery.com>
4650 * sysdeps/i386/sysdep.h: Include <features.h>.
4651 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4654 2012-02-05 Joseph Myers <joseph@codesourcery.com>
4656 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4658 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4661 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4663 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4664 (SETUP_PIC_REG): Use GET_PC_THUNK.
4665 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4668 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4670 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4671 for non-PIC compilation.
4672 (SETUP_PIC_REG): Add .p2align directive.
4673 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4674 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4675 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4676 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4677 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4678 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4679 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4680 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4681 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4682 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4683 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4684 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4685 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4686 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4687 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4688 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4689 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4690 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4691 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4692 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4693 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4694 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4695 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4696 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4697 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4699 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4700 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4701 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4702 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4703 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4704 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4705 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4706 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4707 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4708 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4709 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4710 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4711 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4712 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4713 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4715 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4717 * math/tst-CMPLX.c: Include <stdio.h>.
4719 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4721 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4723 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4724 * sysdeps/sparc/bits/mathdef.h: Likewise.
4726 2012-01-31 Marek Polacek <polacek@redhat.com>
4728 * libio/libio.h: Don't define _PARAMS.
4729 * locale/programs/config.h: Don't define PARAMS.
4730 * stdlib/strtol_l.c: Likewise.
4731 (__strtol_l): Remove PARAMS from the prototype.
4733 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4735 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4736 names. Just use the correct names. Remove unnecessary wrapper
4738 * malloc/arena.c: Likewise.
4739 * malloc/hooks.c: Likewise.
4741 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4742 ARENA_TEST says not to. Simplify test for creation of a new arena.
4743 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4745 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4747 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4749 (update_get_addr): New function.
4750 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4751 GET_ADDR_MODULE parameter.
4753 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4755 * crypt/cert.c: Remove __STDC__ conditionals.
4756 * crypt/crypt-entry.c: Likewise.
4757 * crypt/crypt_util.c: Likewise.
4758 * libio/filedoalloc.c: Likewise.
4759 * libio/fileops.c: Likewise.
4760 * libio/genops.c: Likewise.
4761 * libio/iofclose.c: Likewise.
4762 * libio/iofdopen.c: Likewise.
4763 * libio/iofopen.c: Likewise.
4764 * libio/iofopen64.c: Likewise.
4765 * libio/iogetdelim.c: Likewise.
4766 * libio/iopopen.c: Likewise.
4767 * libio/obprintf.c: Likewise.
4768 * libio/oldfileops.c: Likewise.
4769 * libio/oldiofclose.c: Likewise.
4770 * libio/oldiofdopen.c: Likewise.
4771 * libio/oldiofopen.c: Likewise.
4772 * libio/oldiopopen.c: Likewise.
4773 * libio/wfiledoalloc.c: Likewise.
4774 * libio/wgenops.c: Likewise.
4775 * locale/programs/xmalloc.c: Likewise.
4776 * misc/syslog.c: Likewise.
4777 * stdio-common/xbug.c: Likewise.
4778 * string/memchr.c: Likewise.
4779 * string/memcmp.c: Likewise.
4780 * string/memrchr.c: Likewise.
4781 * string/rawmemchr.c: Likewise.
4782 * sysdeps/posix/getcwd.c: Likewise.
4783 * time/strftime_l.c: Likewise.
4785 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4787 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4788 * config.make.in (config-cflags-sse2avx): Define.
4789 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4792 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4794 * scripts/config.guess: Update from upstream config git repository.
4795 * scripts/config.sub: Likewise.
4797 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4799 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4801 (R_TILEPRO_*, R_TILEGX_*): New macros.
4803 * scripts/firstversions.awk: Fix bug in version range handling.
4805 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4807 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4809 * include/sys/epoll.h: New file.
4810 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4813 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4815 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4816 Avoid unnecessary __WORDSIZE == 64 test.
4817 (fmaxf): Use VEX format if possible.
4822 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4823 * math/math_private.h: Remove libc_fegetround* and
4825 * sysdeps/i386/configure.in: Check for -msse2avx.
4826 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4827 also if SSE2AVX is defined.
4828 Remove libc_fegetround* and libc_fesetround*.
4829 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4830 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4831 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4833 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4834 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4835 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4836 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4837 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4839 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4841 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4843 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4845 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4847 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4850 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4852 * Makeconfig (libm): Define.
4853 * elf/Makefile: Add rules to build and run tst-relsort1.
4854 * elf/tst-relsort1.c: New file.
4855 * elf/tst-relsort1mod1.c: New file.
4856 * elf/tst-relsort1mod2.c: New file.
4858 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4860 * math/s_ldexp.c: Remove __STDC__ conditionals.
4861 * math/s_ldexpf.c: Likewise.
4862 * math/s_ldexpl.c: Likewise.
4863 * math/s_nextafter.c: Likewise.
4864 * math/s_nexttowardf.c: Likewise.
4865 * math/s_significand.c: Likewise.
4866 * math/s_significandf.c: Likewise.
4867 * math/s_significandl.c: Likewise.
4868 * math/w_jnl.c: Likewise.
4869 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4870 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4871 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4872 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4873 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4874 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4875 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4876 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4877 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4878 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4879 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4880 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4881 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4882 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4883 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4884 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4885 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4886 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4887 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4888 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4889 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4890 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4891 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4892 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4893 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4894 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4895 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4896 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4897 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4898 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4899 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4900 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4901 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4902 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4903 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4904 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4905 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4906 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4907 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4908 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4909 * sysdeps/ieee754/k_standard.c: Likewise.
4910 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4912 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4913 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4914 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4915 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4916 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4917 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4918 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4919 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4921 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4923 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4926 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4927 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4928 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4929 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4930 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4931 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4932 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4933 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4934 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4935 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4938 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4940 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4941 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4942 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4945 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4951 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4952 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4954 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4958 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4960 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4962 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4963 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4964 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4965 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4966 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4967 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4968 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4969 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4970 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4971 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4972 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4973 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4974 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4975 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4976 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4977 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4978 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4979 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4980 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4981 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4982 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4983 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4984 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4985 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4986 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4987 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4989 * sysdeps/ieee754/s_matherr.c: Likewise.
4990 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4991 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4992 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4993 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4995 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4997 * crypt/md5.h: Remove __STDC__ conditionals.
4998 * libio/libioP.h: Likewise.
4999 * locale/programs/config.h: Likewise.
5000 * sysdeps/generic/sysdep.h: Likewise.
5001 * sysdeps/i386/asm-syntax.h: Likewise.
5002 * sysdeps/s390/asm-syntax.h: Likewise.
5003 * sysdeps/unix/sysdep.h: Likewise.
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5007 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5009 * libio/libio.h: Remove __STDC__ conditionals.
5010 * malloc/obstack.h: Likewise.
5011 * math/complex.h: Likewise.
5012 * math/math.h: Likewise.
5013 * sysdeps/generic/_G_config.h: Likewise.
5014 * sysdeps/gnu/_G_config.h: Likewise.
5015 * sysdeps/mach/hurd/_G_config.h: Likewise.
5016 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5017 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5018 * sysdeps/sparc/bits/mathdef.h: Likewise.
5020 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5023 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5024 Clean up HAS_* macros.
5025 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5026 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5028 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5030 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5031 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5032 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5033 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5034 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5036 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5038 * elf/tst-unique3.cc (gets): Remove declaration.
5039 * elf/tst-unique3lib.cc (gets): Likewise.
5040 * elf/tst-unique3lib2.cc (gets): Likewise.
5041 * elf/tst-unique4.cc (gets): Likewise.
5043 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5045 * include/stdio.h: Add C++ protection. Add gets declarations and
5047 * debug/tst-chk1.c: Don't declare gets here.
5048 * stdio-common/tst-gets.c: Likewise.
5050 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5052 * posix/glob: Remove directory.
5054 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5056 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5058 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5060 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5061 of the non-standard EPFNOSUPPORT.
5063 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5065 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5066 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5067 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5069 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5071 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5073 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5075 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5077 * nscd/grpcache.c (cache_addgr): Likewise.
5078 * nscd/hstcache.c (cache_addhst): Likewise.
5079 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5080 * nscd/pwdcache.c (cache_addpw): Likewise.
5081 * nscd/servicescache.c (cache_addserv): Likewise.
5083 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5085 * malloc/malloc.c: Various cleanups.
5086 * malloc/hooks.c: Likewise.
5088 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5089 * stdlib/bug-fmtmsg1.c: New file.
5091 * stdlib/fmtmsg.c (init): Add missing unlock.
5092 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5094 2012-01-12 Marek Polacek <polacek@redhat.com>
5096 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5099 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5101 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5102 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5103 macro to ensure uniqueness of label name.
5104 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5105 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5107 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5109 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5111 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5112 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5113 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5114 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5116 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5118 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5120 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5121 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5122 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5124 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5126 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5127 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5128 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5129 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5131 * math/bits/math-finite.h: Add ldexp support.
5133 2012-01-10 Marek Polacek <polacek@redhat.com>
5135 * locale/programs/localedef.h (show_archive_content): Add noreturn
5138 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5140 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5142 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5144 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5146 * io/Makefile (headers): Add bits/poll2.h.
5148 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5151 typo #include statement.
5153 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5155 * include/sys/cdefs.h: Define __attribute_alloc_size.
5156 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5157 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5158 * elf/pldd.c: Likewise.
5159 * iconv/iconv_charmap.c: Likewise.
5160 * iconv/iconvconfig.c: Likewise.
5161 * iconv/strtab.c: Likewise.
5162 * locale/programs/locale.c: Likewise.
5163 * locale/programs/localedef.h: Likewise.
5164 * locale/programs/simple-hash.c: Likewise.
5165 * nscd/nscd.h: Likewise.
5166 * nss/makedb.c: Likewise.
5167 * sysdeps/generic/ldconfig.h: Likewise.
5168 * locale/programs/localedef.c: Remove xmalloc prototype.
5169 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5171 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5173 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5176 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5178 * math/Makefile (tests): Add tst-CMPLX.
5179 * math/tst-CMPLX.c: New file.
5181 * math/complex.h (CMPLXL): Fix typo.
5183 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5184 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5186 * debug/tst-chk1.c: Add poll and ppoll tests.
5187 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5188 * include/sys/poll.h: Add hidden proto for ppoll.
5189 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5190 * sysdeps/mach/hurd/ppoll.c: Likewise.
5191 * io/ppoll.c: Likewise.
5192 * debug/poll_chk.c: New file.
5193 * debug/ppoll_chk.c: New file.
5194 * include/bits/poll2.h: New file.
5195 * io/bits/poll2.h: New file.
5198 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5200 * configure.in: static is always set to yes. Remove.
5201 * config.make.in: Don't set build-static.
5202 * Makeconfig: Remove use of build-static.
5203 * dlfcn/Makefile: Likewise.
5204 * elf/Makefile: Likewise.
5205 * math/Makefile: Likewise.
5206 * misc/Makefile: Likewise.
5207 * nptl/Makefile: Likewise.
5208 * sysdeps/mach/hurd/Makefile: Likewise.
5210 * configure.in: PWD_P is not used anymore.
5211 * config.make.in: Remove PWD_P entry.
5213 * configure.in: Remove last remnants of RANLIB.
5214 No need to check for signed size_t anymore.
5215 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5217 Remove __builtin_expect test because we require at least gcc 3.4.
5218 * aclocal.m4: Likewise.
5220 * wcsmbs/mbrtoc16.c: Implement using towc function.
5221 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5222 * wcsmbs/wcsmbsload.c: Likewise.
5223 * iconv/gconv_simple.c: Likewise.
5224 * iconv/gconv_int.h: Likewise.
5225 * iconv/gconv_builtin.h: Likewise.
5226 * iconv/iconv_prog.c: Remove CHAR16 handling.
5228 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5230 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5232 * configure.in: Remove --with-elf and --enable-bounded options.
5233 Dont set base_machine for ia64. More non-ELF conditions removed.
5234 Remove testing and setting of leading underscore information.
5235 * config.make.in (build-bounded): Set to no.
5236 * config.h.in: Remove NO_UNDERSCORES entry.
5237 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5239 * csu/start.c: Remove !NO_UNDERSCORE code.
5240 * locale/localeinfo.h: Likewise.
5241 * sysdeps/generic/machine-gmon.h: Likewise.
5242 * sysdeps/generic/sysdep.h: Likewise.
5243 * sysdeps/i386/sysdep.h: Likewise.
5244 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5245 * sysdeps/mach/sysdep.h: Likewise.
5246 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5247 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5248 * sysdeps/sh/sysdep.h: Likewise.
5249 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5250 * sysdeps/unix/i386/sysdep.S: Likewise.
5251 * sysdeps/unix/sparc/start.c: Likewise.
5252 * sysdeps/unix/sparc/sysdep.S: Likewise.
5253 * sysdeps/unix/sparc/sysdep.h: Likewise.
5254 * sysdeps/unix/start.c: Likewise.
5255 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5256 * sysdeps/x86_64/sysdep.h: Likewise.
5258 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5261 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5263 * argp/argp-fmtstream.h: Use const instead __const.
5264 * argp/argp.h: Likewise.
5265 * assert/assert.h: Likewise.
5266 * bits/fenv.h: Likewise.
5267 * bits/sched.h: Likewise.
5268 * bits/sigset.h: Likewise.
5269 * bits/sigthread.h: Likewise.
5270 * catgets/nl_types.h: Likewise.
5271 * conform/data/pthread.h-data: Likewise.
5272 * crypt/crypt-private.h: Likewise.
5273 * crypt/crypt.h: Likewise.
5274 * crypt/crypt_util.c: Likewise.
5275 * ctype/ctype.h: Likewise.
5276 * debug/execinfo.h: Likewise.
5277 * debug/mbsnrtowcs_chk.c: Likewise.
5278 * debug/mbsrtowcs_chk.c: Likewise.
5279 * debug/wcsnrtombs_chk.c: Likewise.
5280 * debug/wcsrtombs_chk.c: Likewise.
5281 * debug/wcstombs_chk.c: Likewise.
5282 * dirent/dirent.h: Likewise.
5283 * dlfcn/dlfcn.h: Likewise.
5284 * elf/neededtest4.c: Likewise.
5285 * grp/grp.h: Likewise.
5286 * gshadow/gshadow.h: Likewise.
5287 * iconv/gconv.h: Likewise.
5288 * iconv/gconv_int.h: Likewise.
5289 * iconv/gconv_simple.c: Likewise.
5290 * iconv/iconv.h: Likewise.
5291 * iconv/loop.c: Likewise.
5292 * iconv/skeleton.c: Likewise.
5293 * include/aio.h: Likewise.
5294 * include/aliases.h: Likewise.
5295 * include/argz.h: Likewise.
5296 * include/arpa/inet.h: Likewise.
5297 * include/assert.h: Likewise.
5298 * include/dirent.h: Likewise.
5299 * include/dlfcn.h: Likewise.
5300 * include/execinfo.h: Likewise.
5301 * include/fcntl.h: Likewise.
5302 * include/fenv.h: Likewise.
5303 * include/glob.h: Likewise.
5304 * include/grp.h: Likewise.
5305 * include/libintl.h: Likewise.
5306 * include/mntent.h: Likewise.
5307 * include/netdb.h: Likewise.
5308 * include/pwd.h: Likewise.
5309 * include/rpc/netdb.h: Likewise.
5310 * include/sched.h: Likewise.
5311 * include/search.h: Likewise.
5312 * include/shadow.h: Likewise.
5313 * include/signal.h: Likewise.
5314 * include/stdio.h: Likewise.
5315 * include/stdlib.h: Likewise.
5316 * include/string.h: Likewise.
5317 * include/sys/socket.h: Likewise.
5318 * include/sys/stat.h: Likewise.
5319 * include/sys/statfs.h: Likewise.
5320 * include/sys/statvfs.h: Likewise.
5321 * include/sys/syslog.h: Likewise.
5322 * include/sys/time.h: Likewise.
5323 * include/sys/uio.h: Likewise.
5324 * include/time.h: Likewise.
5325 * include/unistd.h: Likewise.
5326 * include/utmp.h: Likewise.
5327 * include/wchar.h: Likewise.
5328 * include/wctype.h: Likewise.
5329 * inet/aliases.h: Likewise.
5330 * inet/arpa/inet.h: Likewise.
5331 * inet/netinet/ether.h: Likewise.
5332 * inet/netinet/in.h: Likewise.
5333 * intl/libintl.h: Likewise.
5334 * io/bits/fcntl2.h: Likewise.
5335 * io/fcntl.h: Likewise.
5336 * io/ftw.h: Likewise.
5337 * io/sys/poll.h: Likewise.
5338 * io/sys/stat.h: Likewise.
5339 * io/sys/statfs.h: Likewise.
5340 * io/sys/statvfs.h: Likewise.
5341 * io/utime.h: Likewise.
5342 * libio/bits/stdio.h: Likewise.
5343 * libio/bits/stdio2.h: Likewise.
5344 * libio/libio.h: Likewise.
5345 * libio/libioP.h: Likewise.
5346 * libio/stdio.h: Likewise.
5347 * locale/lc-ctype.c: Likewise.
5348 * locale/locale.h: Likewise.
5349 * login/utmp.h: Likewise.
5350 * malloc/arena.c: Likewise.
5351 * malloc/malloc.c: Likewise.
5352 * malloc/malloc.h: Likewise.
5353 * malloc/mcheck.c: Likewise.
5354 * malloc/mtrace.c: Likewise.
5355 * math/bits/mathcalls.h: Likewise.
5356 * math/fenv.h: Likewise.
5357 * math/math_private.h: Likewise.
5358 * misc/bits/error.h: Likewise.
5359 * misc/bits/syslog.h: Likewise.
5360 * misc/err.h: Likewise.
5361 * misc/error.h: Likewise.
5362 * misc/fstab.h: Likewise.
5363 * misc/mntent.h: Likewise.
5364 * misc/regexp.h: Likewise.
5365 * misc/search.h: Likewise.
5366 * misc/sgtty.h: Likewise.
5367 * misc/sys/mman.h: Likewise.
5368 * misc/sys/syslog.h: Likewise.
5369 * misc/sys/uio.h: Likewise.
5370 * misc/sys/xattr.h: Likewise.
5371 * misc/ttyent.h: Likewise.
5372 * nis/rpcsvc/ypclnt.h: Likewise.
5373 * nss/nss.h: Likewise.
5374 * posix/bits/unistd.h: Likewise.
5375 * posix/fnmatch.h: Likewise.
5376 * posix/glob.h: Likewise.
5377 * posix/sched.h: Likewise.
5378 * posix/spawn.h: Likewise.
5379 * posix/sys/wait.h: Likewise.
5380 * posix/unistd.h: Likewise.
5381 * posix/wordexp.h: Likewise.
5382 * pwd/pwd.h: Likewise.
5383 * resolv/netdb.h: Likewise.
5384 * resource/sys/resource.h: Likewise.
5385 * rt/aio.h: Likewise.
5386 * rt/bits/mqueue2.h: Likewise.
5387 * rt/mqueue.h: Likewise.
5388 * shadow/shadow.h: Likewise.
5389 * signal/signal.h: Likewise.
5390 * socket/send.c: Likewise.
5391 * socket/sendto.c: Likewise.
5392 * socket/sys/socket.h: Likewise.
5393 * stdio-common/printf.h: Likewise.
5394 * stdlib/bits/stdlib.h: Likewise.
5395 * stdlib/fmtmsg.h: Likewise.
5396 * stdlib/monetary.h: Likewise.
5397 * stdlib/stdlib.h: Likewise.
5398 * stdlib/ucontext.h: Likewise.
5399 * streams/stropts.h: Likewise.
5400 * string/argz.h: Likewise.
5401 * string/bits/string2.h: Likewise.
5402 * string/string.h: Likewise.
5403 * string/strings.h: Likewise.
5404 * sunrpc/rpc/auth.h: Likewise.
5405 * sunrpc/rpc/auth_des.h: Likewise.
5406 * sunrpc/rpc/clnt.h: Likewise.
5407 * sunrpc/rpc/netdb.h: Likewise.
5408 * sunrpc/rpc/pmap_clnt.h: Likewise.
5409 * sunrpc/rpc/xdr.h: Likewise.
5410 * sysdeps/generic/inttypes.h: Likewise.
5411 * sysdeps/generic/net/if.h: Likewise.
5412 * sysdeps/generic/sys/swap.h: Likewise.
5413 * sysdeps/gnu/net/if.h: Likewise.
5414 * sysdeps/gnu/utmpx.h: Likewise.
5415 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5416 * sysdeps/i386/i486/bits/string.h: Likewise.
5417 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5418 * sysdeps/s390/bits/string.h: Likewise.
5419 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5420 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5421 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5422 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5423 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5424 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5425 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5426 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5427 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5428 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5429 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5430 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5431 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5432 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5433 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5434 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5435 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5437 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5438 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5439 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5440 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5441 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5442 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5443 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5444 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5445 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5446 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5447 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5448 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5449 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5450 * sysvipc/sys/ipc.h: Likewise.
5451 * sysvipc/sys/msg.h: Likewise.
5452 * sysvipc/sys/sem.h: Likewise.
5453 * sysvipc/sys/shm.h: Likewise.
5454 * termios/termios.h: Likewise.
5455 * time/sys/time.h: Likewise.
5456 * time/time.h: Likewise.
5457 * wcsmbs/bits/wchar2.h: Likewise.
5458 * wcsmbs/uchar.h: Likewise.
5459 * wcsmbs/wchar.h: Likewise.
5460 * wctype/wctype.h: Likewise.
5463 * Makeconfig: Remove all but ELF support including AIX support.
5464 * Makerules: Likewise.
5465 * config.h.in: Likewise.
5466 * config.make.in: Likewise.
5467 * configure: Likewise.
5468 * configure.in: Likewise.
5469 * csu/Makefile: Likewise.
5470 * csu/version.c: Likewise.
5471 * debug/Makefile: Likewise.
5472 * dlfcn/Makefile: Likewise.
5473 * elf/Makefile: Likewise.
5474 * extra-lib.mk: Likewise.
5475 * iconv/Makefile: Likewise.
5476 * include/libc-symbols.h: Likewise.
5477 * include/shlib-compat.h: Likewise.
5478 * resolv/Makefile: Likewise.
5479 * resolv/res_libc.c: Likewise.
5480 * rt/Makefile: Likewise.
5481 * sysdeps/i386/asm-syntax.h: Likewise.
5482 * sysdeps/i386/sysdep.h: Likewise.
5483 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5484 * sysdeps/mach/sysdep.h: Likewise.
5485 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5486 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5487 * sysdeps/s390/asm-syntax.h: Likewise.
5488 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5489 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5490 * sysdeps/sh/sysdep.h: Likewise.
5491 * sysdeps/unix/sparc/sysdep.h: Likewise.
5492 * sysdeps/wordsize-32/divdi3.c: Likewise.
5493 * sysdeps/x86_64/sysdep.h: Likewise.
5495 * argp/Versions: Remove _argp_unlock_xxx.
5498 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5499 * abilist/libBrokenLocale.abilist: Likewise.
5500 * abilist/libanl.abilist: Likewise.
5501 * abilist/libc.abilist: Likewise.
5502 * abilist/libcrypt.abilist: Likewise.
5503 * abilist/libdl.abilist: Likewise.
5504 * abilist/libm.abilist: Likewise.
5505 * abilist/libnsl.abilist: Likewise.
5506 * abilist/libpthread.abilist: Likewise.
5507 * abilist/libresolv.abilist: Likewise.
5508 * abilist/librt.abilist: Likewise.
5509 * abilist/libthread_db.abilist: Likewise.
5510 * abilist/libutil.abilist: Likewise.
5511 * abilist/libnss_db.abilist: New file.
5513 * scripts/abilist.awk: Add support for indirect functions.
5515 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5517 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5519 * shlib-versions: Remove entries for ports architectures.
5521 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5523 * elf/stackguard-macros.h: Remove support for IA-64.
5524 * elf/tst-auditmod1.c: Likewise.
5525 * sysdeps/generic/ldsodefs.h: Likewise.
5527 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5528 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5532 * configure.in: Remove --enable-omitfp support.
5534 * config.make.in: Likewise.
5535 * Makeconfig: Likewise.
5536 * manual/install.texi: Likewise.
5538 In case anyone cares, the IA-64 architecture could move to ports.
5539 * sysdeps/ia64/*: Removed.
5540 * sysdeps/unix/sysv/linux/ia64/*: Removed.
5541 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
5544 * configure.in: Remove entries for unsupported architectures.
5547 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5548 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5550 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5551 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5552 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5553 fall back to using wcrtomb.
5554 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5555 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5557 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5558 * wcsmbs/tst-c16c32-1.c: New file.
5560 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5563 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5565 * elf/tst-unique3.cc: Add explicit declaration of gets.
5566 * elf/tst-unique3lib.cc: Likewise.
5567 * elf/tst-unique3lib2.cc: Likewise.
5568 * elf/tst-unique4.cc: Likewise.
5570 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5572 2012-01-06 Joseph Myers <joseph@codesourcery.com>
5575 * assert/assert.h (static_assert): Don't define for C++.
5576 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5577 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5579 2012-01-03 Ulrich Drepper <drepper@gmail.com>
5581 * iconv/loop.c (single loop): Fix assertion in storing of
5584 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5586 2012-01-01 Ulrich Drepper <drepper@gmail.com>
5588 * posix/getconf.c: Update copyright year.
5589 * nss/getent.c: Likewise.
5590 * nss/makedb.c: Likewise.
5591 * iconv/iconvconfig.c: Likewise.
5592 * iconv/iconv_prog.c: Likewise.
5593 * elf/ldconfig.c: Likewise.
5594 * elf/pldd.c: Likewise.
5595 * elf/sotruss.ksh: Likewise.
5596 * catgets/gencat.c: Likewise.
5597 * csu/version.c: Likewise.
5598 * elf/ldd.bash.in: Likewise.
5599 * elf/sprof.c (print_version): Likewise.
5600 * locale/programs/locale.c: Likewise.
5601 * locale/programs/localedef.c: Likewise.
5602 * login/programs/pt_chown.c: Likewise.
5603 * nscd/nscd.c (print_version): Likewise.
5604 * debug/xtrace.sh: Likewise.
5605 * malloc/memusage.sh: Likewise.
5606 * malloc/mtrace.pl: Likewise.
5607 * debug/catchsegv.sh: Likewise.
5609 2011-12-30 Jakub Jelinek <jakub@redhat.com>
5611 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5614 2011-12-24 Ulrich Drepper <drepper@gmail.com>
5617 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5618 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5620 * iconv/gconv_int.h: Likewise.
5621 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5622 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5623 from libc for GLIBC_2.16.
5624 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5625 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5626 * wcsmbs/uchar.h: Really define mbstate_t.
5627 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5628 * wcsmbs/c16rtomb.c: New file.
5629 * wcsmbs/mbrtoc16.c: New file.
5630 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5632 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5633 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5635 * wcsmbs/wchar.h: Add missing __restrict.
5637 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5640 * time/Makefile (routines): Add timespec_get.
5641 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5642 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5643 timespec for ISO C11.
5644 * time/timespec_get.c: New file.
5645 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5646 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5649 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5650 * stdlib/stdlib.h: Declare aligned_alloc.
5651 * Versions.def: Add GLIBC_2.16 for libc.
5652 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5655 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5658 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
5662 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5665 * assert/assert.h (static_assert): Define.
5667 * version.h: Update for 2.16 development version.
5670 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5673 * version.h (RELEASE): Bump for 2.15 release.
5674 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5676 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5677 Patch by Marek Polacek <mpolacek@redhat.com>.
5679 * bits/byteswap.h: Protect long long constants with __extension__.
5680 * sysdeps/i386/bits/byteswap.h: Likewise.
5681 * sysdeps/ia64/bits/byteswap.h: Likewise.
5682 * sysdeps/s390/bits/byteswap.h: Likewise.
5683 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5685 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5688 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5690 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5692 2011-12-23 Marek Polacek <polacek@redhat.com>
5694 * elf/dl-addr.c (determine_info): Add inline keyword.
5695 * elf/tst-auditmod4b.c (check_avx): Likewise.
5696 * elf/tst-auditmod6b.c (check_avx): Likewise.
5697 * elf/tst-auditmod6c.c (check_avx): Likewise.
5698 * elf/tst-auditmod7b.c (check_avx): Likewise.
5700 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5702 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5705 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5708 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5709 processing for last bytes.
5711 2011-08-06 Bruno Haible <bruno@clisp.org>
5714 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5715 U+0385, not to U+1FEE.
5718 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5719 entry for U+00A5 U+0301.
5721 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5724 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5725 buffer for the output is too small.
5727 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5731 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5732 SSE flags if possible.
5734 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5737 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5738 processing for last bytes.
5740 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5742 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5743 (syscall-list-default-options, syscall-list-default-condition)
5744 (syscall-list-includes): Define.
5745 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5746 list of ABIs and options and #if conditions for each ABI. Do not
5747 handle common syscalls between ABIs specially.
5748 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5750 (syscall-list-variants, syscall-list-32bit-options)
5751 (syscall-list-32bit-condition, syscall-list-64bit-options)
5752 (syscall-list-64bit-condition): Define.
5753 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5754 (syscall-list-variants, syscall-list-32bit-options)
5755 (syscall-list-32bit-condition, syscall-list-64bit-options)
5756 (syscall-list-64bit-condition): Define.
5757 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5759 (syscall-list-variants, syscall-list-32bit-options)
5760 (syscall-list-32bit-condition, syscall-list-64bit-options)
5761 (syscall-list-64bit-condition): Define.
5762 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5764 (syscall-list-variants, syscall-list-32bit-options)
5765 (syscall-list-32bit-condition, syscall-list-64bit-options)
5766 (syscall-list-64bit-condition): Define.
5768 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5770 * locale/iso-639.def: Add brx entry.
5773 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5774 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5776 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5777 __feraiseexcept_renamed.
5779 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5782 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5783 EPOLLET with unsigned values.
5784 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5785 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5787 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5788 to large cancellation.
5789 * math/s_cacoshf.c: Likewise.
5790 * math/s_cacoshl.c: Likewise.
5792 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5796 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5797 * math/s_cacoshf.c: Likewise.
5798 * math/s_cacoshl.c: Likewise.
5800 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5803 * iconv/gconv.h: Define __GCONV_SWAP.
5804 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5805 * iconvdata/utf-16.c: Likewise.
5806 * iconvdata/utf-32.c: Likewise.
5808 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5811 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5812 numerator after shifting it by one limb.
5814 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5816 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5817 under [__USE_EXTERN_INLINES].
5819 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5822 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5824 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5826 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5827 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5829 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5830 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5831 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5832 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5833 for strncasecmp/strncasecmp_l compilation.
5834 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5835 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5837 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5840 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5843 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5846 * time/tzfile.c (__tzfile_read): Check values from file header.
5848 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5850 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5851 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5852 * powerpc/powerpc32/dl-start.S: Likewise.
5853 * powerpc/powerpc32/elf/start.S: Likewise.
5854 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5855 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5856 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5857 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5858 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5859 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5860 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5861 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5862 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5863 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5864 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5865 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5866 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5867 * powerpc/powerpc32/memset.S: Likewise.
5868 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5869 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5870 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5871 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5872 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5873 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5874 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5875 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5876 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5877 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5878 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5879 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5880 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5882 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5884 * math/libm-test.inc: Added more nearbyint tests.
5885 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5886 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5887 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5890 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5892 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5895 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5897 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5898 Add wcscpy-ssse3 wcscpy-c.
5899 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5900 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5901 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5902 * sysdeps/x86_64/wcschr.S: New file.
5903 * sysdeps/x86_64/wcsrchr.S: New file.
5904 * string/test-strcmp.c: Remove checking of wcscmp function for
5906 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5907 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5908 wcsrchr-sse2 wcsrchr-c.
5909 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5910 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5911 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5912 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5913 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5914 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5915 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5916 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5917 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5918 * wcsmbc/wcschr.c (WCSCHR): New macro.
5920 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5922 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5923 * wcsmbs/test-wcsrchr.c: New file.
5924 * string/test-strrchr.c: Add wcsrchr support.
5926 * wcsmbs/test-wcscpy.c: New file.
5927 * string/test-strcpy.c: Add wcscpy support.
5930 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5932 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5935 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5938 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5940 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5942 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5943 Minor optimizations.
5945 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5946 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5947 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5949 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5951 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5952 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5953 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5954 for gcc to avoid warnings.
5955 * inet/Makefile (tests): Add tst-checks.
5956 * inet/tst-checks.c: New file.
5958 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5961 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5964 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5965 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5967 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5969 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5971 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5974 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5976 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5978 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5979 conditional on GCC version.
5980 (__arch_compare_and_exchange_val_8_acq)
5981 (__arch_compare_and_exchange_val_16_acq)
5982 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5983 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5984 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5986 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5988 * sysdeps/sh/backtrace.c: New file.
5990 2011-12-02 Andreas Schwab <schwab@redhat.com>
5992 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5995 2011-12-01 Andreas Schwab <schwab@redhat.com>
5997 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5998 falling back to utime.
6000 2011-11-30 Andreas Schwab <schwab@redhat.com>
6002 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6003 expectations for float.
6005 2011-11-29 Andreas Schwab <schwab@redhat.com>
6007 * locale/weight.h (findidx): Add parameter len.
6008 * locale/weightwc.h (findidx): Likewise.
6009 * posix/fnmatch_loop.c (FCT): Adjust caller.
6010 * posix/regcomp.c (build_equiv_class): Likewise.
6011 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6012 * posix/regexec.c (check_node_accept_bytes): Likewise.
6013 * string/strcoll_l.c (STRCOLL): Likewise.
6014 * string/strxfrm_l.c (STRXFRM): Likewise.
6016 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6018 * Makefile.in: Remove CVSOPT handling.
6019 * configure.in: Remove use of AC_REVISION.
6020 * iconvdata/Makefile (distribute): No need to filter out CVS.
6021 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6024 2011-11-16 Andreas Schwab <schwab@redhat.com>
6026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6027 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6028 [USE_AS_STRNCASECMP_L]: Likewise.
6029 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6030 NO_TLS_DIRECT_SEG_REFS.
6031 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6032 Fix argument offsets for non-PIC.
6033 [USE_AS_STRNCASECMP_L]: Likewise.
6034 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6035 NO_TLS_DIRECT_SEG_REFS.
6037 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6039 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6041 * locale/loadlocale.c (_nl_load_locale): Likewise.
6043 2011-11-15 Andreas Schwab <schwab@redhat.com>
6045 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6046 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6047 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6048 (SYSCALL_GETTIME): Set errno on error.
6050 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6051 count references to noai6ai_cached.
6053 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6055 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6057 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6058 FD_CLOEXEC for /proc/self/maps.
6060 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6061 FD_CLOEXEC for /proc/meminfo.
6063 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6066 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6067 FD_CLOEXEC for given file.
6069 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6071 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6072 FD_CLOEXEC for /etc/hosts.
6073 (_gethtent): Likewise.
6075 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6077 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6078 cancellation and set FD_CLOEXEC for /etc/netgroup.
6080 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6081 reading /etc/publickey.
6083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6084 allow cancellation when reading /etc/group.
6086 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6088 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6090 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6091 when using data file.
6093 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6095 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6096 (write_nis_obj): Use "c" and "e" in fopen.
6098 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6100 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6102 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6104 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6106 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6109 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6111 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6113 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6115 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6116 file parsing and set FD_CLOEXEC.
6118 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6120 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6122 2011-11-14 Andreas Schwab <schwab@redhat.com>
6124 * malloc/arena.c (arena_get2): Don't call reused_arena when
6125 _int_new_arena failed.
6127 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6129 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6130 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6131 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6132 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6133 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6134 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6135 to compile strcasecmp and strncasecmp.
6136 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6137 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6139 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6141 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6143 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6144 locale-defines.sym to gen-as-const-headers.
6145 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6146 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6147 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6148 to compile strcasecmp and strncasecmp.
6149 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6150 strcasecmp_l and strncasecmp_l.
6151 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6152 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6153 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6154 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6155 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6156 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6157 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6158 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6159 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6160 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6161 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6163 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6165 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6166 result of SYSDEP_GETTIME_CPU to retval.
6167 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6168 parameter list to macro. Remove trailing semicolon. Adjust users.
6170 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6173 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6175 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6177 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6178 from unused variable.
6180 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6182 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6185 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6188 * sunrpc/rpc_prot.c (rejected): Fix case value.
6190 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6191 unsigned long long int to avoid warnings in shift.
6193 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6195 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6198 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6199 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6200 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6202 * nis/nis_table.c (nis_list): Use variable of correct type for
6203 result of __follow_path call.
6205 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6207 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6208 of math functions ceil, trunc, floor, round, and sqrt, when
6209 avaliable on the platform.
6210 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6212 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6213 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6214 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6216 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6218 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6219 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6221 2011-11-11 Roland McGrath <roland@hack.frob.com>
6223 * include/unistd.h: Fix __readlink return type.
6224 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6226 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6228 * stdlib/ucontext.h: Undo last change for makecontext.
6230 2011-11-11 Andreas Schwab <schwab@redhat.com>
6232 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6234 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6235 * setjmp/setjmp.h: Mark functions as non-leaf.
6236 * setjmp/bits/setjmp2.h: Likewise.
6237 * stdlib/ucontext.h: Likewise.
6239 2011-11-10 Andreas Schwab <schwab@redhat.com>
6241 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6242 (reused_arena): Don't check arena limit.
6243 (arena_get2): Atomically check arena limit.
6245 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6247 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6248 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6253 2011-11-07 Andreas Schwab <schwab@redhat.com>
6255 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6256 handler when locking.
6258 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6259 Fix size of allocated buffer.
6261 2011-11-04 Andreas Schwab <schwab@redhat.com>
6264 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6265 declarations for long double functions.
6266 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6268 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6270 2011-11-03 Andreas Schwab <schwab@redhat.com>
6272 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6275 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6278 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6280 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6282 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6284 * include/alloca.h (stackinfo_alloca_round): Define.
6285 (extend_alloca): Use it.
6286 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6287 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6290 * scripts/check-local-headers.sh: Ignore libaudit.h.
6292 * nscd/Makefile (extra-objs): Make recursively expanded.
6294 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6296 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6297 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6299 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6300 * posix/tst-rfc3484-2.c: Likewise.
6301 * posix/tst-rfc3484-3.c: Likewise.
6303 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6305 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6307 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6308 process_vm_writev from libc using GLIBC_2.15 version.
6310 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6312 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6314 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6317 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6320 * nss/getent.c (initgroups_keys): Show error message in case no group
6323 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6324 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6325 __bump_nl_timestamp.
6326 * nscd/connections (nscd_init): When host database is served open
6327 netlink socket and request notification about configuration changes.
6328 (main_loop_poll): Track netlink file descriptor and bump timestamp
6329 in case data becomes available.
6330 (main_loop_epoll): Likewise.
6331 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6332 (database_pers_head): Add extra_data fileds.
6333 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6334 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6335 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6337 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6338 in6ai data, call __free_in6ai.
6339 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6341 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6342 interface information. Reuse previous data if netlink timestamp
6344 (__bump_nl_timestamp): New function.
6345 (__free_in6ai): New function.
6347 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6349 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6350 close_not_cancel_no_status here.
6351 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6353 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6356 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6359 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6360 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6361 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6363 2011-07-03 Andreas Jaeger <aj@suse.de>
6366 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6367 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6368 * math/libm-test.inc (sin_test): Add test case.
6370 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6373 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6374 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6376 * elf/chroot_canon.c (chroot_canon): Cleanups.
6378 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
6381 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
6382 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6384 * string/test-strchr.c: Make usable for strchrnul testing.
6385 * string/test-strchrnul.c: New file.
6386 * string/Makefile (strop-tests): Add strchrnul.
6388 * po/it.po: Update from translation team.
6389 * po/es.po: Likewise.
6391 2011-10-28 Ulrich Drepper <drepper@gmail.com>
6393 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
6394 the three constants needed as parameters. Drop the others.
6395 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
6396 __m128i_strloadu_tolower.
6397 Create and initialize variable zero and use it in all the places
6398 where _mm_setzero_si128 was used.
6400 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
6401 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6402 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6403 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6405 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6406 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6407 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6408 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6409 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6410 __mpranred, __mptan.
6411 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6412 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6413 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6414 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6415 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6416 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6418 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6419 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6421 2011-10-28 Andreas Schwab <schwab@redhat.com>
6423 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6425 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6428 wide char related routines to wcsmbs subdir.
6430 2011-10-27 Andreas Schwab <schwab@redhat.com>
6433 * misc/sys/cdefs.h (__THROWNL): Define.
6434 * posix/unistd.h: Use __THREADNL instead of __THREAD
6435 for memory synchronization functions.
6437 2011-10-26 Roland McGrath <roland@hack.frob.com>
6440 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6442 * manual/stdio.texi (Obstack Streams): Node removed.
6444 2011-10-26 Andreas Schwab <schwab@redhat.com>
6446 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6447 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6448 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6450 * math/math_private.h (math_force_eval): Allow non-addressable
6452 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6454 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6456 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6459 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6461 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6462 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6463 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6465 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6466 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6468 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6469 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6470 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6471 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6472 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6473 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6474 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6475 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6476 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6477 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6478 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6479 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6481 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6482 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6483 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6484 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6485 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6486 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6488 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6489 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6491 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6492 place. Use VEX encoding when compiling for AVX.
6494 2011-10-25 Andreas Schwab <schwab@redhat.com>
6496 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6497 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6499 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6501 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6503 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
6504 useless if() expression.
6505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6515 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6516 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6517 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6518 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6519 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6520 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6521 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6523 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6525 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6527 2011-10-25 Andreas Schwab <schwab@redhat.com>
6529 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6531 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6533 2011-10-25 Ulrich Drepper <drepper@gmail.com>
6535 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6536 .text section. Avoid duplicate constants.
6537 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6544 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6545 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6546 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6547 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6548 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6549 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6550 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6551 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6552 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6553 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6554 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6555 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6557 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6560 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6561 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6562 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6563 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6564 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6565 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6566 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6567 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6568 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6569 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6570 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6571 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6572 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6573 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6574 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6575 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6576 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6577 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6578 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6579 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6580 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6581 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6583 2011-10-24 Ulrich Drepper <drepper@gmail.com>
6585 * sysdeps/x86_64/dla.h: Move to ...
6586 * sysdeps/x86_64/fpu/dla.h: ...here.
6587 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6588 situations. Use __builtin_fma only for gcc 4.6 and up.
6590 * config.make.in: Add have-mfma4 entry.
6591 * configure.in: Substitute libc_cv_cc_fma4.
6592 * math/Makefile (dbl-only-routines): Add sincostab.
6593 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6594 Use __sincostab not sincos.
6595 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6597 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6598 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6599 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6602 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6603 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6604 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6605 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6607 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6608 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6610 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6611 define aliases when function name is a macro.
6612 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6613 sysdeps/ieee754/dbl-64/sincos.tbl.
6614 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6615 fma4-enabled routines.
6616 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6617 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6618 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6619 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6620 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6621 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6623 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6625 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6626 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6627 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6628 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6629 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6630 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6631 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6632 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6633 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6634 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6635 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6636 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6637 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6638 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6639 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6640 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6641 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6642 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6643 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6644 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6645 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6647 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6649 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6658 2011-10-24 Andreas Schwab <schwab@redhat.com>
6660 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6662 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6664 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6666 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6668 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6670 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6671 Remove unused variable magic_bits.
6672 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6674 * string/strnlen.c: Define and use STRNLEN macro.
6675 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6676 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6678 * wcsmbs/wcslen.c: Define and use WCSLEN.
6679 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6680 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6681 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6682 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6683 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6684 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6685 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6687 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6689 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6690 strnlen-sse2-no-bsf.
6691 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6692 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6693 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6694 Add strnlen support.
6695 (USE_AS_STRNLEN): New macro.
6696 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6697 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6698 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6699 * sysdeps/x86_64/wcslen.S: New file.
6701 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6703 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6704 XMM-moves are used for copying on small sizes.
6706 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6708 * wcsmbs/Makefile (strop-tests): Add wcschr.
6709 * wcsmbs/test-wcschr.c: New file.
6710 * string/test-strchr.c: Update.
6714 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6716 * wcsmbs/Makefile (strop-tests): Add wcslen.
6717 * wcsmbs/test-wcslen.c: New file.
6718 * string/test-strlen.c: Update.
6722 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6724 * po/it.po: Update from translation team.
6726 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6728 * sysdeps/x86_64/wcscmp.S: Update.
6729 Fix wrong comparison semantics.
6730 wcscmp shall use signed comparison not unsigned.
6731 Don't use substraction to avoid overflow bug.
6732 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6733 * wcsmbc/wcscmp.c: Likewise.
6734 * string/test-strcmp.c: Likewise.
6735 Add new tests to check cases with negative values.
6737 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6739 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6740 * sysdeps/x86_64/dla.h: ...here. New file.
6741 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6751 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6754 __ynl_finite aliases.
6756 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6758 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6760 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6762 [DLA_FMA] (EMULV): Use DLA_FMA.
6763 [DLA_FMA] (MUL12): Use EMULV.
6764 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6765 that are not needed.
6766 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6768 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6772 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6774 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6776 * math/s_nan.c: Undef __nan.
6777 * math/s_nanf.c: Undef __nanf.
6778 * math/s_nanl.c: Undef __nanl.
6779 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6782 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6784 * math/s_catan.c: Add branch predictions.
6785 * math/s_catanf.c: Likewise.
6786 * math/s_catanh.c: Likewise.
6787 * math/s_catanhf.c: Likewise.
6788 * math/s_catanhl.c: Likewise.
6789 * math/s_catanl.c: Likewise.
6790 * math/s_cexp.c: Likewise.
6791 * math/s_cexpf.c: Likewise.
6792 * math/s_cexpl.c: Likewise.
6793 * math/s_clog.c: Likewise.
6794 * math/s_clog10.c: Likewise.
6795 * math/s_clog10f.c: Likewise.
6796 * math/s_clog10l.c: Likewise.
6797 * math/s_clogf.c: Likewise.
6798 * math/s_clogl.c: Likewise.
6799 * math/s_csqrt.c: Likewise.
6800 * math/s_csqrtf.c: Likewise.
6801 * math/s_csqrtl.c: Likewise.
6802 * math/s_ctanf.c: Likewise.
6803 * math/s_ctanh.c: Likewise.
6804 * math/s_ctanhf.c: Likewise.
6805 * math/s_ctanhl.c: Likewise.
6806 * math/s_ctanl.c: Likewise.
6808 * math/math_private.h: Define __nan, __nanf, __nanl.
6809 * math/s_cacosh.c: Include <math_private.h>.
6810 * math/s_cacoshl.c: Likewise.
6811 * math/s_casinh.c: Likewise.
6812 * math/s_casinhf.c: Likewise.
6813 * math/s_casinhl.c: Likewise.
6814 * math/s_ccos.c: Rely entire on ccosh.
6815 * math/s_ccosf.c: Rely entire on ccoshf.
6816 * math/s_ccosl.c: Rely entirely on ccoshl.
6817 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6818 Remove tests for FE_INVALID.
6819 * math/s_ccoshf.c: Likewise.
6820 * math/s_ccoshl.c: Likewise.
6821 * math/s_csin.c: Likewise.
6822 * math/s_csinf.c: Likewise.
6823 * math/s_csinh.c Likewise.
6824 * math/s_csinhf.c: Likewise.
6825 * math/s_csinhl.c: Likewise.
6826 * math/s_csinl.c: Likewise.
6827 * math/s_ctan.c: Likewise.
6828 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6829 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6830 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6832 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6834 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6835 compilation problems.
6837 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6840 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6842 * sysdeps/i386/configure.in: Test for -mfma4 option.
6843 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6844 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6845 COMMON_CPUID_INDEX_80000001.
6846 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6847 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6848 use it if FMA3 is not supported.
6849 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6851 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6852 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6854 2011-10-20 Andreas Schwab <schwab@redhat.com>
6857 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6858 it would create a cycle with a link time dependency.
6860 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6862 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6864 * string/Makefile (strop-tests): Add rawmemchr.
6865 * string/test-rawmemchr.c: New file.
6867 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6868 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6869 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6870 when compiling str{,n}casecmp and when AVX is available. Hook up
6871 new optimized code in initializers.
6873 2011-10-19 Andreas Schwab <schwab@redhat.com>
6875 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6876 __feraiseexcept instead of feraiseexcept.
6878 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6880 * math/math_private.h: Define defaults for libc_fetestexcept and
6882 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6883 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6884 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6885 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6886 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6887 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6888 libc_fetestexcept and libc_feupdateenv.
6890 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6891 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6892 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6893 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6894 libc_feholdexcept_setround.
6896 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6897 Add s_nearbyint-c and s_nearbyintf-c.
6898 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6900 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6901 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6902 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6903 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6905 * math/math_private.h: Define defaults for libc_fegetround,
6906 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6907 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6908 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6909 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6910 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6912 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6913 Remove comments and hacks for old compiler versions.
6914 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6915 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6918 2011-10-18 Andreas Schwab <schwab@redhat.com>
6920 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6921 (__feraiseexcept_renamed): Add __NTH.
6922 (feraiseexcept): Add __NTH. Rename local variables to fix
6923 namespace violations.
6925 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6927 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6929 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6931 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6932 recently added interfaces.
6933 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6935 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6936 about macro parameter expansion.
6938 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6939 __NO_MATH_INLINES is defined. Cleanups.
6941 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6942 and __floorf is target has SSE4.1.
6943 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6944 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6945 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6946 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6948 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6952 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6954 2011-10-17 Andreas Schwab <schwab@redhat.com>
6956 * misc/sys/cdefs.h: Fix last change.
6958 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6961 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6963 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6965 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6966 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6967 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6968 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6969 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6970 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6971 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6972 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6973 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6974 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6975 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6976 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6977 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6978 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6979 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6980 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6981 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6982 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6983 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6984 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6985 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6986 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6988 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6989 ceil, ceilf, floor, floorf.
6991 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6992 Perform IRELATIVE relocations last.
6994 * elf/do-rel.h: Add another parameter nrelative, replacing the
6995 local variable with the same name. Change name of the function
6996 to end in Rel or Rela (uppercase).
6997 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6998 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6999 elf_dynamic_do_##reloc function.
7001 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7003 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7004 is sufficient, at least on modern CPUs.
7006 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7008 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7009 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7011 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7013 * math/bits/math-finite.h: Add entries for exp.
7014 * math/e_expl.c: Add __*_finite alias.
7015 * sysdeps/i386/fpu/e_exp.S: Likewise.
7016 * sysdeps/i386/fpu/e_expf.S: Likewise.
7017 * sysdeps/i386/fpu/e_expl.c: Likewise.
7018 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7019 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7020 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7021 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7022 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7023 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7024 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7026 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7027 is sufficient, at least on modern CPUs.
7029 * ctype/ctype-info.c (__ctype_init): Define.
7030 * include/ctype.h (__ctype_init): Declare.
7031 (__ctype_b_loc): The variable is always initialized.
7032 (__ctype_toupper_loc): Likewise.
7033 (__ctype_tolower_loc): Likewise.
7034 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7035 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7037 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7039 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7041 * configure.in: Also look in $cxxmachine/include for C++ system
7044 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7046 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7047 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7048 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7049 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7050 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7051 (USE_AS_WMEMCMP): New macro.
7053 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7054 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7055 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7056 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7058 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7059 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7060 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7061 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7062 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7063 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7064 (USE_AS_WMEMCMP): New macro.
7065 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7066 * sysdeps/string/test-memcmp.c: Update.
7069 * wcsmbs/wmemcmp.c: Update.
7070 (WMEMCMP): New macro.
7073 2011-10-12 Andreas Jaeger <aj@suse.de>
7076 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7078 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7080 * libio/iofwide.c (do_length): Avoid warning.
7082 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7084 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7086 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7088 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7089 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7090 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7091 * sysdeps/i386/i686/fpu/e_log.S: New file.
7092 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7093 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7095 * ctype/ctype.h: Add support for inlined isXXX functions when
7098 2011-10-14 Andreas Schwab <schwab@redhat.com>
7100 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7102 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7104 2011-10-13 Roland McGrath <roland@hack.frob.com>
7107 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7109 2011-10-13 Andreas Schwab <schwab@redhat.com>
7111 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7112 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7115 * sysdeps/x86_64/memrchr.S: Check for zero size.
7117 * string/stratcliff.c: Add memrchr tests.
7119 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7121 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7122 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7123 rawmemchr-sse2 rawmemchr-sse2-bsf.
7124 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7125 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7126 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7127 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7128 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7129 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7130 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7131 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7132 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7133 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7134 * string/memrchr.c (MEMRCHR): New macro.
7136 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7138 Add integration with gcc's -ffinite-math-only and optimize wrapper
7140 * Versions.def: Define GLIBC_2.15 version for libm.
7141 * math/Makefile (headers): Add bits/math-finite.h.
7142 * math/bits/math-finite.h: New file.
7143 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7144 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7145 * math/e_acoshl.c: Add __*_finite alias.
7146 * math/e_acosl.c: Likewise.
7147 * math/e_asinl.c: Likewise.
7148 * math/e_atan2l.c: Likewise.
7149 * math/e_atanhl.c: Likewise.
7150 * math/e_coshl.c: Likewise.
7151 * math/e_exp10.c: Likewise.
7152 * math/e_exp10f.c: Likewise.
7153 * math/e_exp10l.c: Likewise.
7154 * math/e_exp2l.c: Likewise.
7155 * math/e_fmodl.c: Likewise.
7156 * math/e_gammal_r.c: Likewise.
7157 * math/e_hypotl.c: Likewise.
7158 * math/e_j0l.c: Likewise.
7159 * math/e_j1l.c: Likewise.
7160 * math/e_jnl.c: Likewise.
7161 * math/e_lgammal_r.c: Likewise.
7162 * math/e_log10l.c: Likewise.
7163 * math/e_log2l.c: Likewise.
7164 * math/e_logl.c: Likewise.
7165 * math/e_powl.c: Likewise.
7166 * math/e_sinhl.c: Likewise.
7167 * math/e_sqrtl.c: Likewise.
7168 * math/e_scalb.c: Completely rewritten and optimized.
7169 * math/e_scalbf.c: Likewise.
7170 * math/e_scalbl.c: Likewise.
7171 * math/w_acos.c: Likewise.
7172 * math/w_acosf.c: Likewise.
7173 * math/w_acosl.c: Likewise.
7174 * math/w_acosh.c: Likewise.
7175 * math/w_acoshf.c: Likewise.
7176 * math/w_acoshl.c: Likewise.
7177 * math/w_asin.c: Likewise.
7178 * math/w_asinf.c: Likewise.
7179 * math/w_asinl.c: Likewise.
7180 * math/w_atan2.c: Likewise.
7181 * math/w_atan2f.c: Likewise.
7182 * math/w_atan2l.c: Likewise.
7183 * math/w_atanh.c: Likewise.
7184 * math/w_atanhf.c: Likewise.
7185 * math/w_atanhl.c: Likewise.
7186 * math/w_exp10.c: Likewise.
7187 * math/w_exp10f.c: Likewise.
7188 * math/w_exp10l.c: Likewise.
7189 * math/w_fmod.c: Likewise.
7190 * math/w_fmodf.c: Likewise.
7191 * math/w_fmodl.c: Likewise.
7192 * math/w_j0.c: Likewise.
7193 * math/w_j0f.c: Likewise.
7194 * math/w_j0l.c: Likewise.
7195 * math/w_j1.c: Likewise.
7196 * math/w_j1f.c: Likewise.
7197 * math/w_j1l.c: Likewise.
7198 * math/w_jn.c: Likewise.
7199 * math/w_jnf.c: Likewise.
7200 * math/w_log.c: Likewise.
7201 * math/w_logf.c: Likewise.
7202 * math/w_logl.c: Likewise.
7203 * math/w_log10.c: Likewise.
7204 * math/w_log10f.c: Likewise.
7205 * math/w_log10l.c: Likewise.
7206 * math/w_log2.c: Likewise.
7207 * math/w_log2f.c: Likewise.
7208 * math/w_log2l.c: Likewise.
7209 * math/w_pow.c: Likewise.
7210 * math/w_powf.c: Likewise.
7211 * math/w_powl.c: Likewise.
7212 * math/w_remainder.c: Likewise.
7213 * math/w_remainderf.c: Likewise.
7214 * math/w_remainderl.c: Likewise.
7215 * math/w_scalb.c: Likewise.
7216 * math/w_scalbf.c: Likewise.
7217 * math/w_scalbl.c: Likewise.
7218 * math/w_sqrt.c: Likewise.
7219 * math/w_sqrtf.c: Likewise.
7220 * math/w_sqrtl.c: Likewise.
7221 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7222 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7224 * math/math_private.h: Declare __kernel_standard_f.
7225 * math/w_cosh.c: Remove cruft and optimize a bit.
7226 * math/w_coshf.c: Likewise.
7227 * math/w_coshl.c: Likewise.
7228 * math/w_exp2.c: Likewise.
7229 * math/w_exp2f.c: Likewise.
7230 * math/w_exp2l.c: Likewise.
7231 * math/w_hypot.c: Likewise.
7232 * math/w_hypotf.c: Likewise.
7233 * math/w_hypotl.c: Likewise.
7234 * math/w_lgamma.c: Likewise.
7235 * math/w_lgamma_r.c: Likewise.
7236 * math/w_lgammaf.c: Likewise.
7237 * math/w_lgammaf_r.c: Likewise.
7238 * math/w_lgammal.c: Likewise.
7239 * math/w_lgammal_r.c: Likewise.
7240 * math/w_sinh.c: Likewise.
7241 * math/w_sinhf.c: Likewise.
7242 * math/w_sinhl.c: Likewise.
7243 * math/w_tgamma.c: Likewise.
7244 * math/w_tgammaf.c: Likewise.
7245 * math/w_tgammal.c: Likewise.
7246 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7247 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7248 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7249 Minor optimizations. Pretty printing. Remove cruft.
7250 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7251 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7252 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7253 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7254 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7255 * sysdeps/i386/fpu/e_asin.S: Likewise.
7256 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7257 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7258 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7259 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7260 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7261 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7262 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7263 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7264 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7265 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7266 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7267 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7268 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7269 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7270 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7271 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7272 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7273 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7274 * sysdeps/i386/fpu/e_log.S: Likewise.
7275 * sysdeps/i386/fpu/e_log10.S: Likewise.
7276 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7277 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7278 * sysdeps/i386/fpu/e_log2.S: Likewise.
7279 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7280 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7281 * sysdeps/i386/fpu/e_logf.S: Likewise.
7282 * sysdeps/i386/fpu/e_logl.S: Likewise.
7283 * sysdeps/i386/fpu/e_pow.S: Likewise.
7284 * sysdeps/i386/fpu/e_powf.S: Likewise.
7285 * sysdeps/i386/fpu/e_powl.S: Likewise.
7286 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7287 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7288 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7289 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7290 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7291 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7292 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7293 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7294 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7295 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7296 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7297 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7298 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7299 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7300 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7301 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7302 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7303 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7304 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7305 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7306 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7308 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7309 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7310 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7311 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7312 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7313 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7314 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7315 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7316 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7317 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7318 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7319 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7320 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7321 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7322 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7323 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7324 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7325 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7326 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7327 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7328 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7329 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7330 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7331 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7332 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7333 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7334 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7335 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7336 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7337 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7338 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7339 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7340 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7341 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7342 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7343 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7344 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7345 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7346 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7347 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7350 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7351 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7352 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7353 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7354 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7355 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7356 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7357 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7358 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7359 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7360 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7361 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7362 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7363 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7364 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7365 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7373 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7375 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7376 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7377 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7378 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7379 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7380 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7381 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7382 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7383 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7386 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7387 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7388 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7389 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7390 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7391 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7392 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
7393 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
7394 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
7395 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
7396 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
7397 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
7398 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
7399 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
7400 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
7401 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7402 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7403 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7404 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7405 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7406 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7407 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7408 (__isnanf): Likewise.
7409 (__isinf_ns): Likewise.
7410 (__isinf_nsf): Likewise.
7411 (__finite): Likewise.
7412 (__finitef): Likewise.
7413 (__ieee754_sqrt): Define as macro.
7414 (__ieee754_sqrtf): Define as macro.
7415 (__ieee754_sqrtl): Define as macro.
7416 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7418 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7419 __FINITE_MATH_ONLY__ consistent.
7420 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7422 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7424 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7427 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7429 2011-10-09 Ulrich Drepper <drepper@gmail.com>
7431 * po/ja.po: Update from translation team.
7433 2011-10-08 Roland McGrath <roland@hack.frob.com>
7435 * locale/programs/locarchive.c (prepare_address_space): New function.
7436 (create_archive, enlarge_archive, open_archive): Use it.
7438 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7439 inside [SHARED], where it is used.
7441 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7443 * nss/getent.c (netgroup_keys): Remove unused variable.
7444 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7446 2011-10-08 Ulrich Drepper <drepper@gmail.com>
7448 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7449 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7450 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7451 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7452 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7453 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7454 * math/Makefile (libm-calls): Add s_isinf_ns.
7455 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7456 * math/multc3.c: Likewise.
7457 * math/s_casin.c: Likewise.
7458 * math/s_casinf.c: Likewise.
7459 * math/s_casinl.c: Likewise.
7460 * math/s_ccos.c: Likewise.
7461 * math/s_ccosf.c: Likewise.
7462 * math/s_ccosl.c: Likewise.
7463 * math/s_ctan.c: Likewise.
7464 * math/s_ctanf.c: Likewise.
7465 * math/s_ctanh.c: Likewise.
7466 * math/s_ctanhf.c: Likewise.
7467 * math/s_ctanhl.c: Likewise.
7468 * math/s_ctanl.c: Likewise.
7469 * math/w_fmod.c: Likewise.
7470 * math/w_fmodf.c: Likewise.
7471 * math/w_fmodl.c: Likewise.
7472 * math/w_remainder.c: Likewise.
7473 * math/w_remainderf.c: Likewise.
7474 * math/w_remainderl.c: Likewise.
7475 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7476 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7477 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7478 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7479 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7480 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7481 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7482 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7484 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7486 * stdio-common/printf_fphex.c: Likewise.
7487 * stdio-common/printf_size.c: Likewise.
7489 * math/e_exp10.c: Include math_private.h using <...> not "...".
7490 * math/e_exp10f.c: Likewise.
7491 * math/e_exp10l.c: Likewise.
7492 * math/e_exp2l.c: Likewise.
7493 * math/e_j0l.c: Likewise.
7494 * math/e_j1l.c: Likewise.
7495 * math/e_jnl.c: Likewise.
7496 * math/e_lgammal_r.c: Likewise.
7497 * math/e_rem_pio2l.c: Likewise.
7498 * math/e_scalb.c: Likewise.
7499 * math/e_scalbf.c: Likewise.
7500 * math/e_scalbl.c: Likewise.
7501 * math/k_cosl.c: Likewise.
7502 * math/k_sinl.c: Likewise.
7503 * math/k_tanl.c: Likewise.
7504 * math/s_cacoshf.c: Likewise.
7505 * math/s_catan.c: Likewise.
7506 * math/s_catanf.c: Likewise.
7507 * math/s_catanh.c: Likewise.
7508 * math/s_catanhf.c: Likewise.
7509 * math/s_catanhl.c: Likewise.
7510 * math/s_catanl.c: Likewise.
7511 * math/s_ccosh.c: Likewise.
7512 * math/s_ccoshf.c: Likewise.
7513 * math/s_ccoshl.c: Likewise.
7514 * math/s_cexp.c: Likewise.
7515 * math/s_cexpf.c: Likewise.
7516 * math/s_cexpl.c: Likewise.
7517 * math/s_clog.c: Likewise.
7518 * math/s_clog10.c: Likewise.
7519 * math/s_clog10f.c: Likewise.
7520 * math/s_clog10l.c: Likewise.
7521 * math/s_clogf.c: Likewise.
7522 * math/s_clogl.c: Likewise.
7523 * math/s_csin.c: Likewise.
7524 * math/s_csinf.c: Likewise.
7525 * math/s_csinh.c: Likewise.
7526 * math/s_csinhf.c: Likewise.
7527 * math/s_csinhl.c: Likewise.
7528 * math/s_csinl.c: Likewise.
7529 * math/s_csqrt.c: Likewise.
7530 * math/s_csqrtf.c: Likewise.
7531 * math/s_csqrtl.c: Likewise.
7532 * math/s_ctan.c: Likewise.
7533 * math/s_ctanf.c: Likewise.
7534 * math/s_ctanh.c: Likewise.
7535 * math/s_ctanhf.c: Likewise.
7536 * math/s_ctanhl.c: Likewise.
7537 * math/s_ctanl.c: Likewise.
7538 * math/s_ldexp.c: Likewise.
7539 * math/s_ldexpf.c: Likewise.
7540 * math/s_ldexpl.c: Likewise.
7541 * math/s_significand.c: Likewise.
7542 * math/s_significandf.c: Likewise.
7543 * math/s_significandl.c: Likewise.
7544 * math/w_acos.c: Likewise.
7545 * math/w_acosf.c: Likewise.
7546 * math/w_acosh.c: Likewise.
7547 * math/w_acoshf.c: Likewise.
7548 * math/w_acoshl.c: Likewise.
7549 * math/w_acosl.c: Likewise.
7550 * math/w_asin.c: Likewise.
7551 * math/w_asinf.c: Likewise.
7552 * math/w_asinl.c: Likewise.
7553 * math/w_atan2.c: Likewise.
7554 * math/w_atan2f.c: Likewise.
7555 * math/w_atan2l.c: Likewise.
7556 * math/w_atanh.c: Likewise.
7557 * math/w_atanhf.c: Likewise.
7558 * math/w_atanhl.c: Likewise.
7559 * math/w_cosh.c: Likewise.
7560 * math/w_coshf.c: Likewise.
7561 * math/w_coshl.c: Likewise.
7562 * math/w_dremf.c: Likewise.
7563 * math/w_exp10.c: Likewise.
7564 * math/w_exp10f.c: Likewise.
7565 * math/w_exp10l.c: Likewise.
7566 * math/w_exp2.c: Likewise.
7567 * math/w_exp2f.c: Likewise.
7568 * math/w_fmod.c: Likewise.
7569 * math/w_fmodf.c: Likewise.
7570 * math/w_fmodl.c: Likewise.
7571 * math/w_hypot.c: Likewise.
7572 * math/w_hypotf.c: Likewise.
7573 * math/w_hypotl.c: Likewise.
7574 * math/w_j0.c: Likewise.
7575 * math/w_j0f.c: Likewise.
7576 * math/w_j0l.c: Likewise.
7577 * math/w_j1.c: Likewise.
7578 * math/w_j1f.c: Likewise.
7579 * math/w_j1l.c: Likewise.
7580 * math/w_jn.c: Likewise.
7581 * math/w_jnf.c: Likewise.
7582 * math/w_jnl.c: Likewise.
7583 * math/w_lgamma.c: Likewise.
7584 * math/w_lgamma_r.c: Likewise.
7585 * math/w_lgammaf.c: Likewise.
7586 * math/w_lgammaf_r.c: Likewise.
7587 * math/w_lgammal.c: Likewise.
7588 * math/w_lgammal_r.c: Likewise.
7589 * math/w_log.c: Likewise.
7590 * math/w_log10.c: Likewise.
7591 * math/w_log10f.c: Likewise.
7592 * math/w_log10l.c: Likewise.
7593 * math/w_log2.c: Likewise.
7594 * math/w_log2f.c: Likewise.
7595 * math/w_log2l.c: Likewise.
7596 * math/w_logf.c: Likewise.
7597 * math/w_logl.c: Likewise.
7598 * math/w_pow.c: Likewise.
7599 * math/w_powf.c: Likewise.
7600 * math/w_powl.c: Likewise.
7601 * math/w_remainder.c: Likewise.
7602 * math/w_remainderf.c: Likewise.
7603 * math/w_remainderl.c: Likewise.
7604 * math/w_scalb.c: Likewise.
7605 * math/w_scalbf.c: Likewise.
7606 * math/w_scalbl.c: Likewise.
7607 * math/w_sinh.c: Likewise.
7608 * math/w_sinhf.c: Likewise.
7609 * math/w_sinhl.c: Likewise.
7610 * math/w_sqrt.c: Likewise.
7611 * math/w_sqrtf.c: Likewise.
7612 * math/w_sqrtl.c: Likewise.
7613 * math/w_tgamma.c: Likewise.
7614 * math/w_tgammaf.c: Likewise.
7615 * math/w_tgammal.c: Likewise.
7617 * po/ja.po: Update from translation team.
7619 2011-09-29 Andreas Jaeger <aj@suse.de>
7622 * sunrpc/netname.c (netname2host): Fix logic.
7626 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7628 * math/w_remainder.c (__remainder): Likewise.
7629 * math/w_remainderf.c (__remainderf): Likewise.
7630 * math/libm-test.inc (remainder_test): Add test cases.
7632 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7634 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7637 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7639 * string/test-memcmp.c: Avoid unncessary #defines.
7640 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7642 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7644 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7645 Use new sse2 version for core i3 - i7 as it's faster
7647 (bit_Prefer_PMINUB_for_stringop): New.
7648 * sysdeps/x86_64/rawmemchr.S: Update.
7649 Replace with faster SSE2 version.
7650 * sysdeps/x86_64/memrchr.S: New file.
7651 * sysdeps/x86_64/memchr.S: Update.
7652 Replace with faster SSE2 version.
7654 2011-09-12 Marek Polacek <mpolacek@redhat.com>
7656 * elf/dl-load.c (lose): Add cast to avoid warning.
7658 2011-10-07 Ulrich Drepper <drepper@gmail.com>
7660 * po/ca.po: Update from translation team.
7662 * inet/getnetgrent_r.c: Hook up nscd.
7663 * nscd/Makefile (routines): Add nscd_netgroup.
7664 (nscd-modules): Add netgroupcache.
7665 (CFLAGS-netgroupcache.c): Define.
7666 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7667 (cache_search): Add const to second parameter.
7668 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7670 (dbs): Add netgrdb entry.
7671 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7672 (verify_persistent_db): Handle netgrdb.
7673 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7674 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7676 (netgroup_response_header): Define.
7677 (innetgroup_response_header): Define.
7678 (datahead): Add netgroup_response_header and innetgroup_response_header
7680 * nscd/nscd.conf: Add entries for netgroup cache.
7681 * nscd/nscd.h (dbtype): Add netgrdb.
7682 (_PATH_NSCD_NETGROUP_DB): Define.
7683 (netgroup_iov_disabled): Declare.
7684 (xmalloc, xcalloc, xrealloc): Move declarations here.
7685 (cache_search): Adjust prototype.
7686 Add netgroup-related prototypes.
7687 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7688 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7689 (__nscd_innetgr): Declare.
7690 * nscd/selinux.c (perms): Use access_vector_t as element type and
7691 add netgroup-related initializers.
7692 * nscd/netgroupcache.c: New file.
7693 * nscd/nscd_netgroup.c: New file.
7694 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7695 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7696 For four parameters use innetgr.
7697 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7698 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7699 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7700 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7702 * nscd/connections.c (register_traced_file): Don't register file
7703 for disabled databases.
7705 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7707 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7709 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7710 from tree and freeing node.
7712 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7714 * nss/nsswitch.c (__nss_database_lookup): Handle
7715 nss_parse_service_list out of memory case.
7717 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7719 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7722 2011-10-04 Andreas Schwab <schwab@redhat.com>
7724 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7725 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7727 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7728 elf_machine_rela, elf_machine_lazy_rel.
7729 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7730 (ELF_DYNAMIC_DO_REL): Likewise.
7731 (ELF_DYNAMIC_DO_RELA): Likewise.
7732 (ELF_DYNAMIC_RELOCATE): Likewise.
7733 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7734 to ELF_DYNAMIC_DO_REL.
7735 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7736 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7737 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7739 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7740 skip_ifunc, don't call ifunc function if non-zero.
7741 (elf_machine_rela): Likewise.
7742 (elf_machine_lazy_rel): Likewise.
7743 (elf_machine_lazy_rela): Likewise.
7744 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7745 (elf_machine_lazy_rel): Likewise.
7746 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7748 (elf_machine_lazy_rel): Likewise.
7749 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7751 (elf_machine_lazy_rel): Likewise.
7752 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7753 (elf_machine_lazy_rel): Likewise.
7754 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7755 (elf_machine_lazy_rel): Likewise.
7756 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7757 (elf_machine_lazy_rel): Likewise.
7758 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7759 (elf_machine_lazy_rel): Likewise.
7760 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7761 (elf_machine_lazy_rel): Likewise.
7762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7763 (elf_machine_lazy_rel): Likewise.
7765 2011-09-28 Ulrich Drepper <drepper@gmail.com>
7767 * nss/nss_files/files-init.c (_nss_files_init): Use static
7768 initialization for all the *_traced_file variables.
7770 2011-09-28 Andreas Schwab <schwab@redhat.com>
7772 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7774 2011-09-27 Roland McGrath <roland@hack.frob.com>
7777 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7779 2011-09-27 Andreas Schwab <schwab@redhat.com>
7781 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7782 Reread the line before reparsing it.
7784 2011-09-26 Andreas Schwab <schwab@redhat.com>
7786 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7788 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7789 Maxim Kuvyrkov <maxim@codesourcery.com>
7790 Joseph Myers <joseph@codesourcery.com>
7792 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7793 if needed for __stack_chk_guard.
7795 2011-09-19 Roland McGrath <roland@hack.frob.com>
7797 * sysdeps/posix/spawni.c (script_execute): Always define it.
7798 It will be optimized away if unused.
7799 (maybe_script_execute): New function.
7800 (__spawni): Call it.
7802 * Makerules: Don't include tls.make.
7803 (config-tls): Always set to thread.
7804 * tls.make.c: File removed.
7806 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7808 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7809 * config.make.in (CPPFLAGS-config): New substituted variable.
7811 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7813 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7816 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7817 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7819 2011-09-15 Roland McGrath <roland@hack.frob.com>
7821 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7822 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7823 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7824 (CALL_FAIL): Likewise.
7825 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7826 (CALL_FAIL): Macro removed.
7827 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7829 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7831 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7832 for __FINITE_MATH_ONLY__ == 1.
7834 2011-09-15 Andreas Schwab <schwab@redhat.com>
7836 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7837 __ieee754_sqrt instead of sqrt.
7838 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7839 __ieee754_sqrtf instead of sqrtf.
7840 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7841 __floorf instead of floorf.
7842 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7843 __floorf, __truncf instead of floorf, truncf.
7845 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7847 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7849 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7850 __extern_always_inline.
7851 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7854 2011-09-14 Andreas Schwab <schwab@redhat.com>
7856 * elf/rtld.c (dl_main): Also relocate in dependency order when
7857 doing symbol dependency testing.
7859 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7862 Always define `refsym'.
7864 2011-09-13 Andreas Schwab <schwab@redhat.com>
7866 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7867 (__FD_ELT): Renamed from __FDELT.
7868 * misc/bits/select2.h (__FD_ELT): Likewise.
7869 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7870 __FD_MASK instead of __FDELT, __FDMASK.
7871 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7873 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7876 * elf/Makefile (gen-ldd): Fix pattern.
7878 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7879 (init_tls): Likewise.
7881 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7883 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7885 2011-09-12 Andreas Schwab <schwab@redhat.com>
7887 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7888 `struct cmsghdr *' instead of `void *'.
7889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7892 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7894 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7896 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7899 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7901 * configure.in: Remove --with-tls option.
7902 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7903 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7904 out in case it is missing.
7905 * sysdeps/ia64/elf/configure.in: Likewise.
7906 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7907 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7908 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7909 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7910 * sysdeps/sh/elf/configure.in: Likewise.
7911 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7912 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7913 * sysdeps/x86_64/elf/configure.in: Likewise.
7914 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7915 * sysdeps/mach/hurd/tls.h: Likewise.
7918 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7921 * configure.in: Fix use of AC_INIT.
7923 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7925 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7927 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7929 * malloc/hooks.c: Likewise.
7932 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7933 variables statically.
7934 (narenas): Initialize.
7935 (list_lock): Initialize.
7936 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7937 initializtion of main_arena and list_lock. Small cleanups.
7938 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7939 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7940 Add initializers to main_arena and mp_.
7941 (malloc_state): Remove pagesize member. Change all users to use
7944 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7945 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7946 is always initialized.
7948 * malloc/malloc.c: Removed unused configurations and dead code.
7949 * malloc/arena.c: Likewise.
7950 * malloc/hooks.c: Likewise.
7951 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7953 * include/tls.h: Removed. USE___THREAD must always be defined.
7954 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7955 * elf/dl-libc.c: Likewise.
7956 * elf/dl-tsd.c: Likewise.
7957 * include/errno.h: Likewise.
7958 * include/netdb.h: Likewise.
7959 * include/resolv.h: Likewise.
7960 * inet/herrno-loc.c: Likewise.
7961 * inet/herrno.c: Likewise.
7962 * malloc/arena.c: Likewise.
7963 * malloc/hooks.c: Likewise.
7964 * malloc/malloc.c: Likewise.
7965 * resolv/res-state.c: Likewise.
7966 * resolv/res_libc.c: Likewise.
7967 * sysdeps/i386/dl-machine.h: Likewise.
7968 * sysdeps/ia64/dl-machine.h: Likewise.
7969 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7970 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7971 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7972 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7973 * sysdeps/sh/dl-machine.h: Likewise.
7974 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7975 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7976 * sysdeps/unix/i386/sysdep.S: Likewise.
7977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7978 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7979 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7980 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7981 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7982 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7983 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7985 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7987 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7988 * sysdeps/x86_64/dl-machine.h: Likewise.
7989 * tls.make.c: Likewise.
7991 * configure.in: Remove --with-__thread option. Make tests for
7992 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7993 tls_model attribute fail if no support is available. Remove
7995 * Makeconfig: Adjust for dropped configure option. All features are
7997 * Makerules: Likewise.
7998 * Versions.def: Likewise.
7999 * argp/argp-fmtstream.c: Likewise.
8000 * argp/argp-fmtstream.h: Likewise.
8001 * argp/argp-help.c: Likewise.
8002 * assert/assert.c: Likewise.
8003 * config.h.in: Likewise.
8004 * config.make.in: Likewise.
8005 * configure: Likewise.
8006 * configure.in: Likewise.
8007 * csu/Versions: Likewise.
8008 * csu/init.c: Likewise.
8009 * elf/tst-audit2.c: Likewise.
8010 * elf/tst-tls10.c: Likewise.
8011 * elf/tst-tls10.h: Likewise.
8012 * elf/tst-tls11.c: Likewise.
8013 * elf/tst-tls12.c: Likewise.
8014 * elf/tst-tls14.c: Likewise.
8015 * elf/tst-tlsmod11.c: Likewise.
8016 * elf/tst-tlsmod12.c: Likewise.
8017 * elf/tst-tlsmod13.c: Likewise.
8018 * elf/tst-tlsmod13a.c: Likewise.
8019 * elf/tst-tlsmod14a.c: Likewise.
8020 * elf/tst-tlsmod15b.c: Likewise.
8021 * elf/tst-tlsmod16a.c: Likewise.
8022 * elf/tst-tlsmod16b.c: Likewise.
8023 * elf/tst-tlsmod7.c: Likewise.
8024 * elf/tst-tlsmod8.c: Likewise.
8025 * elf/tst-tlsmod9.c: Likewise.
8026 * gmon/gmon.c: Likewise.
8027 * grp/fgetgrent_r.c: Likewise.
8028 * grp/putgrent.c: Likewise.
8029 * hurd/fopenport.c: Likewise.
8030 * include/libc-symbols.h: Likewise.
8031 * include/tls.h: Likewise.
8032 * intl/gettextP.h: Likewise.
8033 * intl/loadinfo.h: Likewise.
8034 * locale/global-locale.c: Likewise.
8035 * locale/localeinfo.h: Likewise.
8036 * mach/devstream.c: Likewise.
8037 * malloc/arena.c: Likewise.
8038 * malloc/set-freeres.c: Likewise.
8039 * misc/err.c: Likewise.
8040 * misc/getttyent.c: Likewise.
8041 * misc/mntent_r.c: Likewise.
8042 * posix/getopt.c: Likewise.
8043 * posix/wordexp.c: Likewise.
8044 * pwd/fgetpwent_r.c: Likewise.
8045 * resolv/Versions: Likewise.
8046 * resolv/res_hconf.c: Likewise.
8047 * shadow/fgetspent_r.c: Likewise.
8048 * shadow/putspent.c: Likewise.
8049 * stdio-common/printf_fphex.c: Likewise.
8050 * stdio-common/tmpfile.c: Likewise.
8051 * stdlib/abort.c: Likewise.
8052 * stdlib/fmtmsg.c: Likewise.
8053 * sunrpc/auth_unix.c: Likewise.
8054 * sunrpc/clnt_perr.c: Likewise.
8055 * sunrpc/clnt_tcp.c: Likewise.
8056 * sunrpc/clnt_udp.c: Likewise.
8057 * sunrpc/clnt_unix.c: Likewise.
8058 * sunrpc/openchild.c: Likewise.
8059 * sunrpc/svc_simple.c: Likewise.
8060 * sunrpc/svc_tcp.c: Likewise.
8061 * sunrpc/svc_udp.c: Likewise.
8062 * sunrpc/svc_unix.c: Likewise.
8063 * sunrpc/xdr.c: Likewise.
8064 * sunrpc/xdr_array.c: Likewise.
8065 * sunrpc/xdr_rec.c: Likewise.
8066 * sunrpc/xdr_ref.c: Likewise.
8067 * sunrpc/xdr_stdio.c: Likewise.
8069 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8071 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8073 2011-07-03 Andreas Jaeger <aj@suse.de>
8075 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8076 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8077 regenerate with gen-libm-tests.pl.
8079 2010-05-12 Petr Baudis <pasky@suse.cz>
8082 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8083 around j0() zero points by switching to j1().
8084 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8085 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8086 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8087 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8089 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8091 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8093 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8096 Patch in part by Pavel Roskin <proski@gnu.org>.
8099 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8101 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8102 Free memory block if necessary.
8105 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8106 be NULL. Don't lock in this case.
8108 2011-09-09 Roland McGrath <roland@hack.frob.com>
8110 * elf/elf.h (ELFOSABI_GNU): New macro.
8111 (ELFOSABI_LINUX): Define to that.
8113 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8115 * string/strncat.c (strncat): Undef the symbol in case it has been
8116 defined in bits/string.h.
8118 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8120 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8122 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8125 2011-08-17 Andreas Jaeger <aj@suse.de>
8127 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8129 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8130 Ian Lance Taylor <iant@google.com>
8132 * math/libm-test.inc (lround_test): New testcase.
8133 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8135 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8137 * Makefile: Remove support for automatic cvs check-ins.
8138 * Makerules: Likewise.
8139 * config.make.in: Likewise.
8140 * configure.in: Likewise.
8141 * intl/Makefile: Likewise.
8142 * locale/Makefile: Likewise.
8143 * po/Makefile: Likewise.
8144 * posix/Makefile: Likewise.
8145 * sysdeps/gnu/Makefile: Likewise.
8146 * sysdeps/mach/hurd/Makefile: Likewise.
8147 * sysdeps/sparc/sparc32/Makefile: Likewise.
8150 * posix/Makefile (bug-regex32-ENV): Define.
8151 Patch by John Stanley <jpsinthemix@verizon.net>.
8153 * misc/Makefile (headers): Add bits/select2.h.
8154 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8155 * misc/bits/select2.h: New file.
8156 * include/bits/select2.h: New file.
8157 * debug/Makefile (routines): Add fdelt_chk.
8158 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8159 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8161 * debug/fdelt_chk.c: New file.
8163 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8164 * wcsmbs/test-wmemcmp.c: Likewise.
8165 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8166 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8168 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8170 * string/Makefile (strop-tests): Add memcmp.
8171 * string/test-wmemcmp.c: New file.
8172 * string/test-memcmp.c: Add wmemcmp support.
8174 2011-09-08 Roland McGrath <roland@hack.frob.com>
8177 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8180 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8181 garbage value in a __mach_port_mod_refs call in the cases of the
8182 task-self and thread-self ports.
8184 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8186 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8188 2011-09-08 Andreas Schwab <schwab@redhat.com>
8190 * elf/dl-load.c (lose): Check for non-null L.
8192 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8194 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8196 * elf/dl-libc.c (dlerror_run): Pass back error code from
8200 * elf/dl-load.c (lose): Free l_origin if it is valid.
8202 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8204 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8205 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8206 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8207 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8208 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8209 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8211 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8213 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8214 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8215 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8216 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8217 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8218 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8219 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8220 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8221 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8222 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8224 2011-08-15 Alan Modra <amodra@gmail.com>
8227 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8228 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8229 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8230 ppc_mcount to static-only-routines.
8231 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8233 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8234 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8236 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8238 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8239 for finite and infinity parameters.
8241 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8243 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8244 and add nop instructions for throughput optimization.
8245 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8247 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8249 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8250 aligned copy for power7 with vector-scalar instructions.
8251 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8253 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8258 2011-09-07 Andreas Schwab <schwab@redhat.com>
8261 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8264 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8266 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8267 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8268 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8269 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8272 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8274 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8275 Forgot to demangle the pointer.
8277 * sysdeps/i386/sysdep.h: Define atom_text_section.
8278 * sysdeps/x86_64/sysdep.h: Likewise.
8279 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8280 section with atom_text_section.
8281 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8282 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8283 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8284 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8285 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8287 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8288 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8289 already be defined. Change to take two parameters and don't assign
8290 result to variable. Adjust all users.
8291 Define INTERNAL_GETTIME if not already defined.
8292 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8294 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8295 HAVE_CLOCK_GETTIME_VSYSCALL.
8296 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8298 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8299 gettimeofday vsyscall, just use time.
8301 2011-09-06 Andreas Schwab <schwab@redhat.com>
8303 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8306 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8308 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8312 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8313 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8314 syscall if possible.
8316 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8318 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8319 e_ident. Don't pass to find_mapsXX.
8320 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8322 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8325 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8326 * sysdeps/x86_64/multiarch/strchr.S: Update.
8327 Check bit_slow_BSF bit.
8328 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8329 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8330 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8332 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8335 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8338 (__spawni): Change last parameter to be flag. Test
8339 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8340 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8341 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8342 * posix/spawni.c: Likewise.
8343 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8344 * posix/spawnp.c: Likewise. Change normal version to use
8345 SPAWN_XFLAGS_USE_PATH.
8346 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8347 SPAWN_XFLAGS_TRY_SHELL.
8350 * posix/glob.h: Remove gcc 1.x support.
8353 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8355 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8357 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8358 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8360 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8361 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8362 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8363 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8364 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8365 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8367 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8369 * sysdeps/x86_64/wcscmp.S: New file.
8371 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8372 wcscmp-c wcscmp-sse2
8373 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8374 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8375 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8376 * wcsmbs/wcscmp.c: Allow renaming.
8378 2011-09-05 David S. Miller <davem@davemloft.net>
8380 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
8381 stack slot, rather than the struct return pointer slot.
8382 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
8383 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
8384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
8385 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
8387 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8389 * po/ja.po: Update from translation team.
8392 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
8393 kernel in 64-bit binaries.
8395 2011-09-01 David S. Miller <davem@davemloft.net>
8397 * elf/elf.h (HWCAP_SPARC_*): Move to..
8398 * sysdeps/sparc/sysdep.h: this new file and add new values.
8399 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
8400 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
8401 _DL_HWCAP_COUNT to 24.
8402 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8404 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8405 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8406 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8408 instead of magic constants.
8409 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8411 2011-08-31 David S. Miller <davem@davemloft.net>
8413 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8415 Reimplement to do errno handling inline.
8416 (SYSCALL_ERROR_HANDLER): New macro.
8417 (__SYSCALL_STRING): Do not do errno handling in asm.
8418 (__CLONE_SYSCALL_STRING): Delete.
8419 (__INTERNAL_SYSCALL_STRING): Delete.
8420 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8421 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8422 (PSEUDO): Reimplement to do errno handling inline.
8423 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8424 (SYSCALL_ERROR_HANDLER): New macro.
8425 (__SYSCALL_STRING): Do not do errno handling in asm.
8426 (__CLONE_SYSCALL_STRING): Delete.
8427 (__INTERNAL_SYSCALL_STRING): Delete.
8428 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8429 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8431 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8432 (inline_syscall*): Add 'err' argument.
8433 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8434 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8435 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8436 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8438 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8439 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8441 2011-08-30 Andreas Schwab <schwab@redhat.com>
8443 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8445 2011-08-29 Jiri Olsa <jolsa@redhat.com>
8447 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8450 2011-08-24 David S. Miller <davem@davemloft.net>
8452 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8454 2011-08-24 Andreas Schwab <schwab@redhat.com>
8456 * elf/Makefile: Add rules to build and run unload8 test.
8457 * elf/unload8.c: New file.
8458 * elf/unload8mod1.c: New file.
8459 * elf/unload8mod1x.c: New file.
8460 * elf/unload8mod2.c: New file.
8461 * elf/unload8mod3.c: New file.
8463 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8466 2011-08-23 David S. Miller <davem@davemloft.net>
8468 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8469 subtract stack bias.
8470 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8471 %sp not %fp in calculations.
8472 (_JMPBUF_UNWINDS_ADJ): Likewise.
8474 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8475 (aio_suspend): Call it to force an exception region around the
8476 AIO_MISC_WAIT() invocation.
8478 2011-08-23 Andreas Schwab <schwab@redhat.com>
8480 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8483 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8485 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8487 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8489 (Elf64_FuncDesc): Remove.
8491 2011-08-22 David S. Miller <davem@davemloft.net>
8493 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8494 sigaltstack check, add missing cfi directives.
8495 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8496 missing cfi directives, and sigaltstack handling.
8498 2011-08-16 Andreas Schwab <schwab@redhat.com>
8501 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8502 object is seen twice.
8503 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8505 * elf/Makefile (distribute): Add tst-initorder2.c.
8506 (tests): Add tst-initorder2.
8507 (modules-names): Add tst-initorder2a tst-initorder2b
8508 tst-initorder2c tst-initorder2d. Add rules to build them.
8509 ($(objpfx)tst-initorder2.out): New rule.
8510 * elf/tst-initorder2.c: New file.
8511 * elf/tst-initorder2.exp: New file.
8513 2011-08-22 Andreas Schwab <schwab@redhat.com>
8515 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8517 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8518 dependencies back to end of function.
8520 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8523 2011-08-21 Ulrich Drepper <drepper@gmail.com>
8525 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8526 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8527 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8528 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8529 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8530 of __vdso_gettimeofday.
8531 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8532 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8534 (_libc_vdso_platform_setup): Remove initialization of
8535 __vdso_gettimeofday and __vdso_time.
8537 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8539 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8541 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8544 * elf/dl-open.c (add_to_global): Report additions to the global scope
8545 for LD_DEBUG=scopes.
8546 (dl_open_worker): Also print scope of newly loaded dependencies.
8547 (_dl_show_scope): Indicate if there is no scope.
8550 * stdio-common/Makefile (tests): Add bug24.
8551 * stdio-common/bug24.c: New file.
8553 2011-08-19 Andreas Jaeger <aj@suse.de>
8556 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8557 non-existant file when using close-on-exec mode.
8559 2011-08-20 Ulrich Drepper <drepper@gmail.com>
8561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8562 the very first instruction.
8564 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8565 the CFI state in the end.
8566 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8567 inclusion of dl-trampoline.h.
8568 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8570 2011-08-19 Andreas Schwab <schwab@redhat.com>
8572 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8573 expectations for long double.
8575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8576 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8578 2011-08-14 David S. Miller <davem@davemloft.net>
8580 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8581 artificual limit depends upon the system page size.
8583 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8585 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8586 * resolv/Makefile: Define CFLAGS-libresolv.
8588 2011-08-17 Andreas Schwab <schwab@redhat.com>
8590 * nss/makedb.c (compute_tables): Make variables used in nested
8593 2011-08-17 Ulrich Drepper <drepper@gmail.com>
8595 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8596 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8597 if buffer was too small.
8599 * elf/pldd.c (main): Attach to all threads in the process.
8600 Rewrite /proc handling to use *at functions.
8602 2011-08-16 Ulrich Drepper <drepper@gmail.com>
8604 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8605 specifies first scope to show.
8606 (dl_open_worker): Update callers. Move printing scope of new
8607 object to before the relocation.
8608 * elf/rtld.c (dl_main): Update _dl_show_scope call.
8609 * sysdeps/generic/ldsodefs.h: Update declaration.
8611 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8612 string for the scope number.
8614 2011-08-14 Ulrich Drepper <drepper@gmail.com>
8616 * nscd/servicescache.c (cache_addserv): Make sure written is always
8619 2011-08-14 Roland McGrath <roland@hack.frob.com>
8621 * sysdeps/i386/i486/bits/atomic.h
8622 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8623 statement expression, so as to suppress "set but not used" warning.
8624 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8626 * string/strncat.c (STRNCAT): Use prototype definition.
8628 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8629 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8631 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8632 (localedef-modules): Add localedef.
8633 (locale-modules): Add locale.
8635 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8636 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8639 2011-08-14 David S. Miller <davem@davemloft.net>
8641 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8642 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8644 2011-08-13 Ulrich Drepper <drepper@gmail.com>
8646 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
8647 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8648 * elf/rtld.c (dl_main): Set l_name of vDSO.
8649 Call _dl_show_scope when DL_DEBUG_SCOPES.
8650 (process_dl_debug): Recognize scopes flag and also set it for all.
8651 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8652 Declare _dl_show_scope.
8654 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8655 (do_dlopen): Pass caller_dlopen to dl_open.
8656 (__libc_dlopen_mode): Initialize caller_dlopen.
8658 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8659 of libc. Make tolower call locale-independent. Optimize a bit by
8660 using isdigit instead of isalnum.
8661 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8663 2011-08-12 Ulrich Drepper <drepper@gmail.com>
8665 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8666 was a dependency or dynamically loaded.
8668 2011-08-11 Ulrich Drepper <drepper@gmail.com>
8670 * intl/l10nflist.c: Allow architecture-specific pop function.
8671 * sysdeps/x86_64/l10nflist.c: New file.
8673 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8676 2011-08-10 Andreas Schwab <schwab@redhat.com>
8678 * include/dirent.h: Add libc_hidden_proto for scandirat and
8679 scandirat64. Don't declare __scandirat64.
8680 * dirent/scandirat.c: Add libc_hidden_def.
8681 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8682 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8684 2011-08-10 David S. Miller <davem@davemloft.net>
8686 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8688 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8689 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8690 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8692 2011-08-09 Ulrich Drepper <drepper@gmail.com>
8694 * Versions.def [libc]: Add GLIBC_2.15.
8695 * dirent/Makefile (routines): Add scandirat and scandirat64.
8696 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8698 * dirent/dirent.h: Declare scandirat and scandirat64.
8699 * dirent/scandirat.c: New file.
8700 * dirent/scandirat64.c: New file.
8701 * sysdeps/wordsize-64/scandirat.c: New file.
8702 * sysdeps/wordsize-64/scandirat64.c: New file.
8703 * dirent/opendir.c: Define opendirat.
8704 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8706 * dirent/scandir64.c: Adjust for scandir.c change.
8707 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8708 __scandirat64, and __scandir_cancel_handler.
8709 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8710 additional parameter and use openat instead of open (outside of ld.so).
8711 Add new __opendir as wrapper around __opendirat.
8712 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8713 here without requiring old scandirat implementation.
8715 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8717 * dirent/scandir.c (cancel_handler): Renamed to
8718 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8719 defined. Adjust users.
8720 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8721 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8723 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8725 * string/test-string.h (IMPL): Use __STRING to expand name and then
8728 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8731 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8733 * string/Makefile: Update.
8734 (strop-tests): Append strncat.
8735 * string/test-wcscmp.c: New file.
8736 New comprehensive test for wcscmp.
8737 * string/test-strcmp.c: Update.
8740 2011-07-22 Andreas Schwab <schwab@redhat.com>
8742 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8745 2011-07-26 Andreas Schwab <schwab@redhat.com>
8747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8748 encoding to ACE if AI_IDN.
8750 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8752 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8753 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8755 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8757 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8758 Fix overflow bug in strncat.
8759 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8761 * string/test-strncat.c: Update.
8762 Add new tests for checking overflow bugs.
8764 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8767 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8768 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8769 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8770 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8771 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8772 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8773 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8774 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8776 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8777 (USE_AS_STRCAT): Define.
8778 Add strcat and strncat support.
8779 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8781 2011-07-25 Andreas Schwab <schwab@redhat.com>
8783 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8784 __n bigger than INT_MAX+1.
8785 (__strncmp_g): Likewise.
8787 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8789 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8790 * libio/stido.h: Likewise.
8792 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8797 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8798 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8799 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8800 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8804 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8807 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8809 (_dl_x86_64_save_sse): Likewise.
8811 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8813 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8815 (_dl_x86_64_save_sse): Likewise.
8817 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8819 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8821 2011-07-21 Andreas Schwab <schwab@redhat.com>
8823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8825 (_dl_x86_64_save_sse): Use correct AVX check.
8827 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8829 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8830 bug in strncpy/strncat.
8831 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8833 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8835 * string/tester.c (test_strcat): Add tests for different alignments
8836 of source and destination.
8837 (test_strncat): Likewise.
8839 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8842 * posix/glob.c (glob): Check passed in values before using them in
8843 expressions to avoid some overflows.
8844 (glob_in_dir): Likewise.
8847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8848 check for AVX enablement so that we don't crash with old kernels and
8850 * elf/tst-audit4.c: Add same checks here.
8851 * elf/tst-audit6.c: Likewise.
8853 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8855 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8857 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8859 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8861 * po/cs.po: Update from translation team.
8862 * po/bg.po: Likewise.
8864 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8866 * misc/sys/cdefs.h: Add support for const attribute.
8867 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8868 to gnu_dev_{major,minor,makedev} functions.
8870 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8872 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8874 2011-07-20 Andreas Schwab <schwab@redhat.com>
8876 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8879 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8881 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8882 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8883 register in order to avoid conflicts with the soft frame pointer
8884 being held in r11 when necessary.
8885 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8886 (INTERNAL_VSYSCALL_NCS): Likewise.
8888 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8890 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8891 * elf/dl-fini.c (_dl_fini): Adjust caller.
8892 * elf/dl-close.c (_dl_close_worker): Likewise.
8893 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8895 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8897 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8898 "aux_cache->nlibs < 0".
8900 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8901 in the reload-count case.
8903 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8906 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8907 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8908 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8909 * sysdeps/x86_64/multiarch/strcat.S: New file.
8910 * sysdeps/x86_64/multiarch/strncat.S: New file.
8911 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8912 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8913 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8914 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8915 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8916 (USE_AS_STRCAT): Define.
8917 Add strcat and strncat support.
8918 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8919 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8920 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8921 * string/strncat.c: Update.
8922 (USE_AS_STRNCAT): Define.
8923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8924 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8926 * sysdeps/x86_64/multiarch/init-arch.h
8927 (bit_Prefer_PMINUB_for_stringop): New.
8928 (index_Prefer_PMINUB_for_stringop): Likewise.
8929 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8930 bit_Prefer_PMINUB_for_stringop.
8932 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8934 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8936 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8937 of casting of buffer.
8938 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8939 buffer32 and buffer64.
8940 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8941 writes instead of casting of buffer.
8942 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8944 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8947 2011-07-19 Andreas Schwab <schwab@redhat.com>
8949 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8951 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8953 * nscd/nscd.c (termination_handler): Don't do anything for a database
8954 if it has not yet been initialized.
8956 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8958 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8960 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8962 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8964 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8966 * po/nl.po: Update from translation team.
8967 * po/sv.po: Likewise.
8969 2011-07-16 Roland McGrath <roland@hack.frob.com>
8971 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8972 now disallowed by GCC.
8974 * configure.in (use-default-link): Default to yes if a test -shared
8975 link meets our qualifications.
8976 * configure: Regenerated.
8978 * config.make.in (output-format): New variable.
8979 * configure.in: Check for ld --print-output-format support.
8980 * configure: Regenerated.
8981 * Makerules ($(common-objpfx)format.lds)
8982 [$(output-format) != unknown]: Just use $(output-format),
8983 instead of the linker-script munging.
8985 2011-07-14 Roland McGrath <roland@hack.frob.com>
8987 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8988 of $(common-objpfx)shlib.lds.
8989 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8991 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8992 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8994 * configure.in (-z relro check): Adjust test code to add a large
8995 writable data section after it.
8996 * configure: Regenerated.
8998 2011-07-11 Roland McGrath <roland@hack.frob.com>
9000 * configure.in (-z relro check): Fix test code to make the variable
9002 * configure: Regenerated.
9004 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9006 * nscd/nscd.h (struct traced_file): Define.
9007 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9008 elements. Add traced_files.
9009 (inotify_fd): Declare.
9010 (register_traced_file): Declare.
9011 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9012 (inotify_fd): Export.
9013 (resolv_conf_descr): Remove.
9014 (nscd_init): Move inotify descriptor creation to main.
9015 Don't register files for notification here.
9016 (register_traced_file): New function.
9017 (invalidate_cache): Don't use reset_res to determine whether to call
9018 res_init, go through the list of registered files.
9019 (main_loop_poll): The inotify descriptors are now stored in the
9020 structures for the traced files.
9021 (main_loop_epoll): Likewise
9022 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9023 to __nss_disable_nscd.
9024 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9025 for a database anymore. Check the records for all the registered
9027 * nss/Makefile (libnss_files-routines): Add files-init.
9028 (libnss_db-routines): Add db-init.
9029 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9030 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9031 * nss/nss_db/db-init.c: New file.
9032 * nss/nss_files/files-init.c: New file.
9033 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9034 __nss_lookup_function.
9035 (__nss_lookup_function): Call nss_load_library.
9036 (nss_load_all_libraries): New function.
9037 (__nss_disable_nscd): Take parameter with callback function for files
9038 to register. Set is_nscd. Load all the DSOs for the NSS modules
9039 used for the cached services.
9040 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9041 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9042 options for features to all the files in nscd.
9044 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9046 2011-07-10 Roland McGrath <roland@hack.frob.com>
9048 * csu/elf-init.c (__libc_csu_init): Comment typo.
9050 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9052 * po/pl.po: Update from translation team.
9053 * po/ja.po: Likewise.
9054 * po/ru.po: Likewise.
9055 * po/ko.po: Likewise.
9056 * po/fr.po: Likewise.
9058 2011-07-09 Roland McGrath <roland@hack.frob.com>
9060 * configure.in (.ctors/.dtors header and trailer check):
9061 Use an empirical test on a built program.
9062 * configure: Regenerated.
9064 * configure.in (-z relro check): Use an empirical test on a built DSO.
9065 Detect, but do not require, on ia64.
9066 * configure: Regenerated.
9068 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9069 Update tests that use readelf to use $READELF instead.
9070 * configure: Regenerated.
9072 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9074 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9075 if the result is not used.
9077 2011-07-05 Andreas Jaeger <aj@suse.de>
9080 * stdlib/tst-strtod.c: Add testcase.
9082 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9084 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9085 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9086 The latter has a higher limit. Take additional parameter to pass to
9088 (__pathconf): Pass file to __statfs_link_max.
9089 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9091 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9095 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9096 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9098 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9099 (__statfs_filesize_max): Likewise.
9100 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9102 2011-07-05 Andreas Jaeger <aj@suse.de>
9104 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9106 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9108 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9110 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9113 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9115 * Makefile (strop-tests): Add strncat.
9116 * string/test-strncat.c: New file.
9118 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9120 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9122 2011-06-21 Andreas Jaeger <aj@suse.de>
9124 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9125 Copy rule from iconvdata/Makefile.
9127 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9130 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9131 but no long options are defined, just return 'W'.
9133 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9136 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9138 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9140 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9142 (innetgr): Likewise.
9144 2011-07-05 Roland McGrath <roland@hack.frob.com>
9146 * config.make.in (install_root): Default to $(DESTDIR).
9148 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9150 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9152 2011-07-02 Roland McGrath <roland@hack.frob.com>
9154 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9156 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9157 containing directory rather than embedding absolute directory names.
9159 * scripts/check-local-headers.sh: Rewritten using awk.
9160 Match by word, not by line. Print error messages for matches.
9161 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9163 * Makerules [shlib-lds-flags empty]:
9164 ($(common-objpfx)libc_pic.opts): New target.
9165 ($(common-objpfx)libc_pic.os.clean): New target.
9166 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9168 * config.make.in (OBJCOPY): New variable.
9169 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9170 * configure: Regenerated.
9172 * config.make.in (use-default-link): New variable.
9173 * configure.in (use_default_link): Grok --with-default-link to set it.
9174 * configure: Regenerated.
9175 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9176 (shlib-lds, shlib-lds-flags): Define to empty.
9178 * Makerules (shlib-lds): New variable.
9179 (shlib-lds-flags): New variable.
9180 (build-shlib, build-moduile, build-module-asneeded): Use it.
9181 ($(common-objpfx)libc.so): Use $(shlib-lds).
9182 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9183 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9185 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9186 DT_FLAGS/DT_FLAGS_1 with zero flags.
9188 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9189 linker script munging.
9191 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9193 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9195 * crypt/sha512.c (sha512_process_block): Perform total addition using
9196 128-bit if possible.
9197 (__sha512_finish_ctx): Likewise.
9198 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9200 * crypt/sha256.c (SWAP64): Define.
9201 (sha256_process_block): Perform total addition using 64-bit if
9203 (__sha256_finish_ctx): Likewise.
9205 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9207 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9208 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9209 * nscd/hstcache.c (cache_addhst): Likewise.
9210 * nscd/grpcache.c (cache_addgr): Likewise.
9211 * nscd/aicache.c (addhstaiX): Likewise
9212 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9214 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9216 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9217 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9218 * nscd/hstcache.c (cache_addhst): Likewise.
9219 * nscd/grpcache.c (cache_addgr): Likewise.
9220 * nscd/aicache.c (addhstaiX): Likewise
9222 2011-07-01 Andreas Schwab <schwab@redhat.com>
9224 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9225 domain only when needed.
9227 2011-06-30 Andreas Schwab <schwab@redhat.com>
9229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9232 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9234 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9235 are re-adding the entry.
9236 * nscd/servicescache.c (cache_addserv): Likewise.
9238 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9240 * sysdeps/generic/dl-irel.h: fix protection against multiple
9242 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9244 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9247 * malloc/memusage.sh: Fix quoting in message.
9248 * debug/xtrace.sh: Likewise.
9250 * configure.in: Remove support for --experimental-malloc option, make
9252 * config.make.in: Likewise.
9253 * malloc/Makefile: Likewise.
9255 2011-06-27 Andreas Schwab <schwab@redhat.com>
9257 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9258 two-byte characters.
9260 2011-06-27 Roland McGrath <roland@hack.frob.com>
9262 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9263 AC_CACHE_CHECK invocation.
9264 * configure: Regenerated.
9266 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9268 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9271 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9272 bit from old_res_options.
9274 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9276 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9277 value type for setfct.
9279 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9281 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9282 __gettimeofday instead of gettimeofday.
9284 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9286 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9288 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9290 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9292 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9295 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9298 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9299 strcpy-sse2-unaligned strncpy-sse2-unaligned
9300 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9301 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9302 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9303 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9304 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9305 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9307 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9308 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9309 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9310 (STRCPY): Support SSE2 and SSSE3 versions.
9312 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9315 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9316 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9317 kernels which artificially limit size of requests.
9319 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9321 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9322 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9323 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9324 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9325 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9326 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9327 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9328 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9329 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9330 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9331 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9332 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9333 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9334 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9335 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9337 Enable unaligned load optimization for Intel Core i3, i5 and i7
9339 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9341 (index_Fast_Unaligned_Load): Define.
9342 (HAS_FAST_UNALIGNED_LOAD): Define.
9344 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9346 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9348 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9351 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9352 until it is clear that the information is realy needed.
9353 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9355 2011-06-22 Andreas Schwab <schwab@redhat.com>
9357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9359 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9362 /sys/devices/system/cpu/online if it is usable.
9364 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9365 reading the information from the /proc filesystem to once a second.
9367 2011-06-21 Andreas Jaeger <aj@suse.de>
9369 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9370 NULL after inclusion of kernel headers.
9372 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9374 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9375 calls to internal_setent.
9378 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9379 addresses using gethostbyname4_r ignore IPv4 addresses.
9381 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
9382 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
9384 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
9386 2011-06-20 David S. Miller <davem@davemloft.net>
9388 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
9390 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
9392 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
9394 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
9395 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
9396 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
9397 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
9398 * sysdeps/x86_64/dl-irel.h: Likewise.
9400 * elf/dl-runtime.c: Use elf_ifunc_invoke.
9401 * elf/dl-sym.c: Likewise.
9403 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9405 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9406 need to dereference resplen2.
9408 2011-06-14 Andreas Schwab <schwab@redhat.com>
9410 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9412 2011-06-15 Ulrich Drepper <drepper@gmail.com>
9414 * Makeconfig: Define vardbdir and inst_vardbdir.
9415 * nss/Makefile: Add rules to install db-Makefile.
9417 * nss/nss_db/db-XXX.c: Cleanup.
9419 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9420 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9422 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9423 * nss/makedb.c: Implement -g option to specify that value strings
9424 are generated and should not be added to table iterated over for
9426 * nss/nss_db/db-initgroups.c: New file.
9428 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9431 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9432 (internal_getgrouplist): Adjust to name change.
9433 Update use_initgroups_entry if this is not the first call.
9434 * nss/databases.def: Add initgroups entry.
9436 * nss/makedb.c (compute_tables): Check result of multiple hash table
9437 sizes to minimize maximum chain length.
9439 2011-06-14 Ulrich Drepper <drepper@gmail.com>
9441 * Versions.def: Add entry for libnss_db.
9442 * shlib-versions: Likewise.
9443 * nss/Makefile: Add rules to build libnss_db.
9444 * nss/Versions: Add libnss_db information. Organize libnss_files
9446 * nss/db-Makefile: Add gshadow support. Change rules for the new
9447 makedb progra. Some minor improvements to generate smaller files.
9448 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9450 * nss/makedb.c: ...here.
9451 Improve database format to be smaller and require less memory at
9453 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9455 * nss/nss_db/db-netgrp.c: Likewise.
9456 * nss/nss_db/db-open.c: Likewise.
9457 * nss/nss_files/flies-XXX.x: Adjust comments.
9458 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9459 * nss/nss_files/files-grp.c: Likewise.
9460 * nss/nss_files/files-hosts.c: Likewise.
9461 * nss/nss_files/files-network.c: Likewise.
9462 * nss/nss_files/files-proto.c: Likewise.
9463 * nss/nss_files/files-pwd.c: Likewise.
9464 * nss/nss_files/files-rpc.c: Likewise.
9465 * nss/nss_files/files-service.c: Likewise.
9466 * nss/nss_files/files-sgrp.c: Likewise.
9467 * nss/nss_files/files-spwd.c: Likewise.
9468 * nss/nss_db/db-alias.c: Removed.
9469 * nss/nss_db/dummy-db.h: Removed.
9471 2011-06-02 Ulrich Drepper <drepper@gmail.com>
9473 * nss/makedb.c: Rewritten to not use database library.
9474 * nss/Makefile: Update to build new makedb program.
9476 2011-06-14 Andreas Jaeger <aj@suse.de>
9478 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9481 2011-06-10 Andreas Schwab <schwab@redhat.com>
9483 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9486 2011-06-10 Roland McGrath <roland@hack.frob.com>
9488 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9489 * elf/Makefile ($(objpfx)ld.so): Likewise.
9491 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9492 Don't list ld.so twice in dependencies.
9494 * posix/bug-regex31.c: Include <stdlib.h>.
9496 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9498 * nis/nss_compat/compat-spwd.c
9499 (getspent_next_nss_netgr): Remove unused variable.
9500 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9502 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9503 nonmembers" output to use the right array.
9505 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9507 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9509 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9510 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9511 * catgets/gencat.c (read_input_file): Likewise.
9512 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9514 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9515 variable definition inside #if's controlling its use.
9517 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9519 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9521 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9523 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9526 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9528 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9529 * configure: Regenerated.
9531 * Makerules: Revert last change.
9532 * elf/Makefile: Likewise.
9534 2011-06-09 Roland McGrath <roland@hack.frob.com>
9536 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9537 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9538 (reloc-link): Likewise.
9540 2011-06-09 Ulrich Drepper <drepper@gmail.com>
9542 * elf/Makefile: Add rules to build pldd.
9543 * elf/pldd.c: New file.
9544 * elf/pldd-xx.c: New file.
9546 2011-06-07 Ulrich Drepper <drepper@gmail.com>
9548 * version.h: Update for 2.15 development version.
9550 2011-06-07 David S. Miller <davem@davemloft.net>
9552 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9554 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9555 elf_machine_lazy_rel): Likewise.
9556 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9557 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9558 elf_machine_lazy_rel): Likewise.
9559 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9560 dl_hwcap via passed in argument.
9561 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9564 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9566 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9568 2011-06-06 Roland McGrath <roland@hack.frob.com>
9571 * manual/fdl-1.1.texi: New file, verbatim from:
9572 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9573 * manual/lgpl-2.1.texi: New file, verbatim from:
9574 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9575 * manual/Makefile (licenses): New variable, list those new file names.
9577 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9579 * manual/fdl.texi: File removed.
9580 * manual/lesser.texi: File removed.
9581 * manual/libc.texinfo (Copying, Documentation License):
9582 Use new @include file names, put @appendix directive before @include.
9584 2011-06-04 Jakub Jelinek <jakub@redhat.com>
9587 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9588 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9589 (mq_open): Add __NTH.
9591 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9594 Assume Intel Core i3/i5/i7 processor if AVX is available.
9596 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9598 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9601 2011-05-31 Andreas Schwab <schwab@redhat.com>
9603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9604 memory. Use alloca_account. Fix memory leak when retrying.
9606 2011-05-31 Ulrich Drepper <drepper@gmail.com>
9608 * version.h (RELEASE): Bump for 2.14 release.
9609 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9611 * config.make.in (RANLIB): Remove entry.
9613 2011-05-30 Ulrich Drepper <drepper@gmail.com>
9615 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9616 (libc.pot): Work around missing support for .ksh extension in xgettext.
9619 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9620 if both request failed.
9621 (send_dg): In case of server errors clear resplen or *resplen2.
9624 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9625 when there are multiple maps.
9626 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9627 (_dl_fini): Remove test here.
9629 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9631 2011-05-29 Ulrich Drepper <drepper@gmail.com>
9634 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9635 bit from old_res_options.
9636 (gaih_inet): Likewise.
9639 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
9642 * resolv/res_init.c (res_setoptions): Make the code more compact.
9645 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9649 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9651 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9654 * malloc/malloc.h: Declare malloc hook variables as volatile.
9656 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9660 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
9661 raise in the comment.
9662 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9663 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9664 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
9666 2011-05-28 Ulrich Drepper <drepper@gmail.com>
9669 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9670 grow the buffers more if it already has to be sufficient.
9671 (build_wcs_upper_buffer): Likewise.
9672 * posix/regexec.c (check_matching): Likewise.
9673 (clean_state_log_if_needed): Likewise.
9674 (extend_buffers): Don't enlarge buffers beyond size of the input
9676 Patches mostly by Emil Wojak <emil@wojak.eu>.
9677 * posix/bug-regex32.c: New file.
9678 * posix/Makefile (tests): Add bug-regex32.
9680 * locale/findlocale.c (_nl_find_locale): Return right away if
9681 _nl_explode_name failed.
9682 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9684 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9686 * debug/xtrace.sh: Unify messages.
9687 * malloc/memusage.sh: Likewise.
9690 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9691 time symbol from vDSO. Substitute with vsyscall if not available.
9692 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9695 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9696 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9697 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9698 Add sendmmsg and internal_sendmmsg.
9699 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9700 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9701 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9703 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9704 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9705 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9707 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9710 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9711 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9713 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9717 * iconvdata/Makefile (tests): Add bug-iconv9.
9718 * iconvdata/bug-iconv9.c: New file.
9720 2011-05-27 Andreas Schwab <schwab@redhat.com>
9723 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9725 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9727 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9728 (struct user_regs_struct): Change intcs field back to cs.
9730 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9732 * po/ja.po: Update from translation team.
9734 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9737 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9738 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9740 2011-05-20 Andreas Schwab <schwab@redhat.com>
9742 * stdlib/longlong.h: Update from GCC.
9744 2011-05-23 Andreas Schwab <schwab@redhat.com>
9746 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9748 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9750 (__sysconf): Pass it down.
9752 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9755 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9757 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9758 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9759 add in in __libc_use_alloca calls. Adjust callers.
9760 (glob): Use malloc in some situations.
9762 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9763 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9766 2011-05-21 Ulrich Drepper <drepper@gmail.com>
9768 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9769 and CLOCK_BOOTTIME_ALARM.
9772 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9775 * string/_strerror.c (__strerror_r): Print negative errors as signed
9779 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9780 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9781 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9783 * configure.in: Fix typo in redirection and correct removal of test
9787 * locale/setlocale.c (new_composite_name): Fix test to check for
9788 identical name of all categories.
9791 * libio/filedoalloc.c (local_isatty): New function.
9792 (_IO_file_doallocate): Use local_isatty.
9793 * stdio-common/perror.c (perror): In case a new stream is used
9794 forward the stream error.
9795 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9798 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9803 * include/alloca.h (extend_alloca_account): Define.
9806 * posix/regex.h: Fix comments with documentation of user-accessible
9807 fields after compilation and describe correct free'ing of pattern
9808 after re_compile_pattern.
9809 Patch by Reuben Thomas <rrt@sc3d.org>.
9811 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9813 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9814 and -mno-altivec to prevent the compiler from using Altivec and/or
9815 VSX instructions when the corresponding registers are not available.
9817 2011-05-19 Andreas Schwab <schwab@redhat.com>
9819 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9821 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9823 * libio/freopen.c (freopen): Use __dup2, not dup2.
9824 * libio/freopen64.c (freopen64): Likewise.
9826 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9829 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9830 * math/Makefile (tests): Add test-powl.
9831 (CFLAGS-test-powl.c): Define.
9832 * math/test-powl.c: New file.
9834 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9836 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9838 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9841 * iconvdata/gb18030.c: Update to GB18020-2005.
9843 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9845 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9846 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9847 Patch by Aharon Robbins <arnold@skeeve.com>.
9850 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9854 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9858 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9859 point to strings before performing equality test for error_one_per_line
9863 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9866 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9867 (struct user_fpregs_struct): Avoid __uint*_t types.
9870 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9871 symbol info. Use it instead of calling _dl_addr locally.
9872 (lock_and_info): New function.
9873 (tr_freehook): Call lock_and_info and pass symbol info as additional
9874 parameter to tr_where.
9875 (tr_mallochook): Likewise.
9876 (tr_reallochook): Likewise.
9877 (tr_memalignhook): Likewise.
9879 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9880 used and couldn't be at all thread-safe.
9882 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9884 * libio/freopen.c (freopen): Don't close old file descriptor
9885 before the new one is opened. Instead dup the new file descriptor
9886 to the old one after the new stream is created.
9887 * libio/freopen64.c (freopen64): Likewise.
9888 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9889 * libio/fileops.c (_IO_new_file_close_it): Handle new
9890 _IO_FLAGS2_NOCLOSE flag.
9891 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9892 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9893 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9894 _IO_FLAGS2_NOCLOSE flag.
9895 * include/unistd.h: Add hidden_proto for dup3.
9897 * io/dup3.c: Define hidden symbol.
9898 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9901 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9902 when an incomplete long option is used.
9903 * posix/tst-getopt_long1.c: New file.
9904 * posix/Makefile (tests): Add tst-getopt_long1.
9907 * scripts/config.guess: Update from autoconf-2.68.
9908 * scripts/config.sub: Likewise.
9911 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9913 (has_cpuclock): ...this. New function.
9914 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9915 macro here based on has_cpuclock code.
9918 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9919 First byte (not low byte) is now always NUL.
9920 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9922 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9923 Use non-cancelable interfaces.
9926 * locale/iso-639.def: Add entry for Sorani.
9929 * include/stdlib.h: Move include protection to the right place.
9930 Define abort_msg_s. Declare __abort_msg with it.
9931 * stdlib/abort.c (__abort_msg): Adjust type.
9932 * assert/assert.c (__assert_fail_base): New function. Majority
9933 of code from __assert_fail. Allocate memory for __abort_msg with
9935 (__assert_fail): Now call __assert_fail_base.
9936 * assert/assert-perr.c: Remove bulk of implementation. Use
9938 * include/assert.hL Declare __assert_fail_base.
9939 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9941 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9943 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9947 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9948 until all modules are registered in the DTV.
9949 * elf/Makefile: Add rules to build and run tst-tls19.
9950 * elf/tst-tls19.c: New file.
9951 * elf/tst-tls19mod1.c: New file.
9952 * elf/tst-tls19mod2.c: New file.
9953 * elf/tst-tls19mod3.c: New file.
9954 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9957 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9961 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9962 two-byte sequence errors.
9963 * iconvdata/Makefile (tests): Add bug-iconv8.
9964 * iconvdata/bug-iconv8.c: New file.
9967 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9970 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9973 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9974 (dummy_getcfa): New function.
9975 (init): Get _Unwind_GetCFA address, use dummy if not found.
9976 (backtrace_helper): In recursion check, also check whether CFA changes.
9977 (__backtrace): Completely initialize arg.
9979 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9980 storing incomplete byte sequence in state object. Avoid testing for
9981 guaranteed too small input if we know there is enough data available.
9983 2011-05-11 Andreas Schwab <schwab@redhat.com>
9985 * Makeconfig (+link-pie): Indent.
9986 * Rules (binaries-pie): Define if $(have-fpie) and
9988 (binaries-shared): Also filter out $(binaries-pie).
9989 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9990 * nscd/Makefile (others-pie): Add nscd.
9991 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9992 ($(objpfx)nscd): Remove command override.
9993 * login/Makefile (others-pie): Add pt_chown.
9994 ($(objpfx)pt_chown): Remove command override.
9995 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9996 remove command overrides.
9998 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10000 * libio/tst_putwc.c: Fix error messages.
10003 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10004 currently writing and seek to current position when not.
10005 * libio/Makefile (tests): Add bug-fclose1.
10006 * libio/bug-fclose1.c: New file.
10008 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10011 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10012 don't set DF_1_NODELETE here.
10013 (do_lookup_x): When entering new entry test for copy relocation
10014 and if necessary set DF_1_NODELETE flag.
10015 * elf/tst-unique4.cc: New file.
10016 * elf/tst-unique4.h: New file.
10017 * elf/tst-unique4lib.cc: New file.
10018 * elf/Makefile: Add rules to build and run tst-unique4.
10019 Patch by Piotr Bury <pbury@goahead.com>.
10021 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10024 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10027 * misc/mntent_r.c (addmntent): Flush the stream after the output
10030 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10031 (is_trusted_path_normalize): Skip initial colon. Append slash
10032 to empty buffer. Duplicate is_trusted_path code but allow
10033 constructed patch to be prefix.
10034 (is_dst): Allow $ORIGIN followed by /.
10035 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10036 Correct testing of result of is_trusted_path_normalize
10037 (decompose_rpath): Fix warning.
10039 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10042 * grp/initgroups.c (internal_getgrouplist): When we found the service
10043 list through the initgroups entry in nsswitch.conf do not always
10044 continue on a successful lookup. Don't always use the
10045 __nss_group_database value if it is set.
10046 * nss/nsswitch.conf (initgroups): Change action for successful db
10047 lookup to continue for compatibility.
10049 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10052 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10054 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10056 * iconvdata/tst-tables.sh: Likewise.
10057 * iconvdata/cp770.c: New file.
10058 * iconvdata/cp771.c: New file.
10059 * iconvdata/cp772.c: New file.
10060 * iconvdata/cp773.c: New file.
10061 * iconvdata/cp774.c: New file.
10062 * iconvdata/testdata/CP770: New file.
10063 * iconvdata/testdata/CP770..UTF8: New file.
10064 * iconvdata/testdata/CP771: New file.
10065 * iconvdata/testdata/CP771..UTF8: New file.
10066 * iconvdata/testdata/CP772: New file.
10067 * iconvdata/testdata/CP772..UTF8: New file.
10068 * iconvdata/testdata/CP773: New file.
10069 * iconvdata/testdata/CP773..UTF8: New file.
10070 * iconvdata/testdata/CP774: New file.
10071 * iconvdata/testdata/CP774..UTF8: New file.
10073 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10075 * iconvdata/gen-8bit-gap.sh: Likewise.
10076 * iconvdata/gen-8bit.sh: Likewise.
10078 * locale/iso-639.def: Add ary entry.
10081 * locale/C-translit.h.in: Add U20A1 transliteration.
10084 * locale/iso-639.def: Add wae entry.
10085 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10088 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10092 * locale/C-translit.h.in: Add entry for U20B9.
10093 Patch by pravin.d.s@gmail.com.
10095 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10098 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10099 ENAMETOOLONG use generic getcwd.
10100 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10101 in rtld. Use *stat64.
10102 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10103 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10104 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10105 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10106 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10107 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10108 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10109 __fstatat64 macros.
10110 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10111 * dirent/rewinddir.c: Add libc_hidden_def.
10112 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10113 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10115 * include/dirent.h (__alloc_dir): Add flags parameter.
10116 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10117 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10119 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10120 from fdopendir if O_CLOEXEC is already set.
10122 2011-03-15 Alan Modra <amodra@gmail.com>
10124 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10125 l_tls_firstbyte_offset non-zero. Save padding offset in
10126 l_tls_firstbyte_offset for later use.
10127 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10128 freeing static tls block.
10130 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10132 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10133 where #ifdef was intended. The intent is to prevent ARG_MAX from
10134 being defined by the kernel headers.
10136 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10139 * resolv/resolv.h: Define RES_NOTLDQUERY.
10140 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10141 no-tld-query and set RES_NOTLDQUERY.
10142 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10143 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10144 modern BIND to search name as TLD unless forbidden.
10146 2011-05-07 Petr Baudis <pasky@suse.cz>
10147 Ulrich Drepper <drepper@gmail.com>
10150 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10151 (is_trusted_path): ...to here.
10152 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10153 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10154 using is_trusted_path_normalize() in setuid scripts.
10156 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10158 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10159 __BEGIN/__END_DECLS.
10161 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10163 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10164 NSS_STATUS_NOTFOUND if no record was found.
10166 2011-05-05 Andreas Schwab <schwab@redhat.com>
10168 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10169 (headers-not-in-tirpc): Remove rpc/netdb.h
10170 * resolv/netdb.h: Revert last change.
10172 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10174 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10175 circular dependency between libgcc.a and libc.a.
10177 2011-05-05 Andreas Schwab <schwab@redhat.com>
10179 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10180 * nis/Makefile: Don't install rpcsvc/*.
10181 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10182 instead of <rpc/types.h>.
10183 (MAXHOSTNAMELEN): Define.
10185 2011-05-03 Andreas Schwab <schwab@redhat.com>
10187 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10189 2011-04-28 Maciej Babinski <mbabinski@google.com>
10192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10193 gethostbyname4_r when IPv6 results are possible.
10195 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10198 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10199 _PC_PIPE_BUF handling.
10201 2011-04-30 Bruno Haible <bruno@clisp.org>
10204 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10205 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10207 * inet/getnameinfo.c (getnameinfo): Likewise.
10209 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10211 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10212 to groups setting in database lookup.
10213 * nss/nsswitch.conf: Add initgroups entry.
10215 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10218 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10220 Patch by Eric Blake <eblake@redhat.com>.
10222 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10224 * sunrpc/Makefile (need-export-routines): Add svc_run.
10225 (routines): Remove svc_run.
10226 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10227 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10228 * sunrpc/svc_run.c (svc_run): Likewise.
10229 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10231 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10233 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10234 problem in reallocation in last patch.
10236 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10238 * sunrpc/Makefile: Move inclusion of Rules.
10240 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10242 * nss/nss_files/files-initgroups.c: New file.
10243 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10244 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10245 _nss_files_initgroups_dyn.
10247 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10249 * elf/elf.h (R_ARM_IRELATIVE): Define.
10251 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10253 * po/ru.po: Update from translation team.
10255 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10257 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10260 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10263 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10264 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10265 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10266 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10267 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10269 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10271 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10273 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10275 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10277 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10280 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10282 * stdlib/bug-getcontext.c: New file.
10283 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10285 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10287 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10288 instructions into .machine "z9-109".
10289 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10290 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10292 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10294 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10295 between environment variables and auxiliary vector.
10297 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10299 * Makefile: Add rules to build linkobj/libc.so.
10300 * include/libc-symbols.h: Define libc_hidden_nolink.
10301 * include/rpc/auth.h: Mark functions which are to be hidden.
10302 * include/rpc/auth_des.h: Likewise.
10303 * include/rpc/auth_unix.h: Likewise.
10304 * include/rpc/clnt.h: Likewise.
10305 * include/rpc/des_crypt.h: Likewise.
10306 * include/rpc/key_prot.h: Likewise.
10307 * include/rpc/pmap_clnt.h: Likewise.
10308 * include/rpc/pmap_prot.h: Likewise.
10309 * include/rpc/pmap_rmt.h: Likewise.
10310 * include/rpc/rpc_msg.h: Likewise.
10311 * include/rpc/svc.h: Likewise.
10312 * include/rpc/svc_auth.h: Likewise.
10313 * include/rpc/xdr.h: Likewise.
10314 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10315 * nss/Makefile: Likewise.
10316 * sunrpc/Makefile: Don't install headers. Build library with normal
10317 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10318 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10319 for the compat linking library. Remove use of INTDEF/INTUSE.
10320 * sunrpc/auth_none.c: Likewise.
10321 * sunrpc/auth_unix.c: Likewise.
10322 * sunrpc/authdes_prot.c: Likewise.
10323 * sunrpc/authuxprot.c: Likewise.
10324 * sunrpc/clnt_gen.c: Likewise.
10325 * sunrpc/clnt_perr.c: Likewise.
10326 * sunrpc/clnt_raw.c: Likewise.
10327 * sunrpc/clnt_simp.c: Likewise.
10328 * sunrpc/clnt_tcp.c: Likewise.
10329 * sunrpc/clnt_udp.c: Likewise.
10330 * sunrpc/clnt_unix.c: Likewise.
10331 * sunrpc/des_crypt.c: Likewise.
10332 * sunrpc/des_soft.c: Likewise.
10333 * sunrpc/get_myaddr.c: Likewise.
10334 * sunrpc/key_call.c: Likewise.
10335 * sunrpc/key_prot.c: Likewise.
10336 * sunrpc/netname.c: Likewise.
10337 * sunrpc/pm_getmaps.c: Likewise.
10338 * sunrpc/pm_getport.c: Likewise.
10339 * sunrpc/pmap_clnt.c: Likewise.
10340 * sunrpc/pmap_prot.c: Likewise.
10341 * sunrpc/pmap_prot2.c: Likewise.
10342 * sunrpc/pmap_rmt.c: Likewise.
10343 * sunrpc/publickey.c: Likewise.
10344 * sunrpc/rpc_cmsg.c: Likewise.
10345 * sunrpc/rpc_common.c: Likewise.
10346 * sunrpc/rpc_dtable.c: Likewise.
10347 * sunrpc/rpc_prot.c: Likewise.
10348 * sunrpc/rpc_thread.c: Likewise.
10349 * sunrpc/rtime.c: Likewise.
10350 * sunrpc/svc.c: Likewise.
10351 * sunrpc/svc_auth.c: Likewise.
10352 * sunrpc/svc_authux.c: Likewise.
10353 * sunrpc/svc_raw.c: Likewise.
10354 * sunrpc/svc_run.c: Likewise.
10355 * sunrpc/svc_simple.c: Likewise.
10356 * sunrpc/svc_tcp.c: Likewise.
10357 * sunrpc/svc_udp.c: Likewise.
10358 * sunrpc/svc_unix.c: Likewise.
10359 * sunrpc/svcauth_des.c: Likewise.
10360 * sunrpc/xcrypt.c: Likewise.
10361 * sunrpc/xdr.c: Likewise.
10362 * sunrpc/xdr_array.c: Likewise.
10363 * sunrpc/xdr_float.c: Likewise.
10364 * sunrpc/xdr_intXX_t.c: Likewise.
10365 * sunrpc/xdr_mem.c: Likewise.
10366 * sunrpc/xdr_rec.c: Likewise.
10367 * sunrpc/xdr_ref.c: Likewise.
10368 * sunrpc/xdr_sizeof.c: Likewise.
10369 * sunrpc/xdr_stdio.c: Likewise.
10371 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10374 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10375 * sysdeps/ia64/dl-tls.h: Likewise.
10376 * sysdeps/powerpc/dl-tls.h: Likewise.
10377 * sysdeps/s390/dl-tls.h: Likewise.
10378 * sysdeps/sh/dl-tls.h: Likewise.
10379 * sysdeps/sparc/dl-tls.h: Likewise.
10380 * sysdeps/x86_64/dl-tls.h: Likewise.
10381 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
10383 2011-03-14 Andreas Schwab <schwab@redhat.com>
10385 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
10386 rpath element also skip the following colon.
10387 (expand_dynamic_string_token): Add is_path parameter and pass
10388 down to DL_DST_REQUIRED and _dl_dst_substitute.
10389 (decompose_rpath): Call expand_dynamic_string_token with
10390 non-zero is_path. Ignore empty rpaths.
10391 (_dl_map_object_from_fd): Call expand_dynamic_string_token
10394 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
10396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10399 2011-04-09 Ulrich Drepper <drepper@gmail.com>
10402 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10403 Patch by Filipe David Manana <fdmanana@apache.org>.
10405 2011-04-07 Andreas Schwab <schwab@redhat.com>
10407 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10408 Maintain aligned stack.
10409 (CHECK_RSP): Remove unused macro.
10411 2011-04-03 Ulrich Drepper <drepper@gmail.com>
10413 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10414 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10416 2011-04-02 Ulrich Drepper <drepper@gmail.com>
10418 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10420 * include/features.h: Mention __USE_XOPEN2K8 in comment.
10422 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10425 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10426 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10427 * sysdeps/x86_64/memmove.c: New file.
10428 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10429 (memcpy): Renamed to ...
10430 (__new_memcpy): This.
10431 (memcpy): Provide GLIBC_2_14 memcpy.
10432 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10433 (memcpy): Provide GLIBC_2_2_5 memcpy.
10435 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10438 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10440 2011-03-30 Andreas Schwab <schwab@redhat.com>
10442 * misc/syncfs.c: New file.
10443 * misc/Makefile (routines): Add syncfs.
10444 * posix/unistd.h: Declare syncfs.
10445 * sysdeps/unix/syscalls.list: Add syncfs.
10447 2011-04-01 Andreas Schwab <schwab@redhat.com>
10449 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10451 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10452 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10453 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10454 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10456 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10457 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10459 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10461 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10462 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10463 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10464 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10465 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10466 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10467 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10469 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10470 sync_file_range.c with -fexceptions.
10471 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10472 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10473 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10474 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10475 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10476 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10477 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
10478 sync_file_range as cancellation point
10479 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10480 now a wrapper around __call_sync_file_range with cancellation handling.
10481 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10482 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10483 function name to __call_sync_file_range.
10484 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10485 Add call_sync_file_range.
10487 2011-04-01 Andreas Schwab <schwab@redhat.com>
10489 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10492 2011-04-01 Ulrich Drepper <drepper@gmail.com>
10494 * iconv/iconv.h: Fix typo in comment.
10495 * io/fcntl.h: Likewise.
10496 * libio/stdio.h: Likewise.
10497 * posix/spawn.h: Likewise.
10498 * posix/unistd.h: Likewise.
10499 * stdlib/stdlib.h: Likewise.
10500 * time/time.h: Likewise.
10501 * wcsmbs/wchar.h: Likewise.
10503 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10504 open_by_handle): Add.
10505 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10506 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10507 Augment a few comments.
10508 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10510 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10513 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10516 * io/fcntl.h (AT_EMPTY_PATH): Define.
10518 2011-03-30 Ulrich Drepper <drepper@gmail.com>
10520 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10521 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10522 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10524 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
10525 * Versions.def: Add GLIBC_2.14.
10526 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10529 2011-03-22 Ulrich Drepper <drepper@gmail.com>
10531 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10533 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10535 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10538 * string/test-strncmp.c (do_page_test): New function.
10539 (check2): Likewise.
10540 (test_main): Call check2.
10541 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10543 2011-03-20 Ulrich Drepper <drepper@gmail.com>
10546 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10547 Handle cache information in CPU leaf 4.
10548 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10550 2011-03-18 Ulrich Drepper <drepper@gmail.com>
10553 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10554 character representation.
10555 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10557 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10559 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10560 END(__isnan) to END(__isnanf) to match function entry point/label
10561 EALIGN(__isnanf,...).
10563 2011-03-10 Jakub Jelinek <jakub@redhat.com>
10565 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10567 2011-03-10 Ulrich Drepper <drepper@gmail.com>
10570 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10571 copy from the symbol referenced in the relocation to initialize the
10573 Patch by Piotr Bury <pbury@goahead.com>.
10574 * elf/Makefile: Add rules to build and tst-unique3.
10575 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10576 * elf/tst-unique3.cc: New file.
10577 * elf/tst-unique3.h: New file.
10578 * elf/tst-unique3lib.cc: New file.
10579 * elf/tst-unique3lib2.cc: New file.
10581 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10583 2011-03-10 Mike Frysinger <vapier@gentoo.org>
10585 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10586 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10589 2011-03-06 Ulrich Drepper <drepper@gmail.com>
10591 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10592 to-be-loaded object along a path to loader is ld.so.
10594 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10595 Ulrich Drepper <drepper@gmail.com>
10597 * sysdeps/x86_64/memset.S: After aligning destination, code
10598 branches to different locations depending on the value of
10599 misalignment, when multiarch is enabled. Fix this.
10601 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10603 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10604 Set _x86_64_preferred_memory_instruction for AMD processsors.
10605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10606 Set bit_Prefer_SSE_for_memop for AMD processors.
10608 2011-03-04 Ulrich Drepper <drepper@gmail.com>
10610 * libio/fmemopen.c (fmemopen): Optimize a bit.
10612 2011-03-03 Andreas Schwab <schwab@redhat.com>
10614 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10616 2011-03-03 Roland McGrath <roland@redhat.com>
10618 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10620 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10622 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
10623 __bzero_ultra1 instead of __memset_ultra1.
10625 2011-02-23 Andreas Schwab <schwab@redhat.com>
10626 Ulrich Drepper <drepper@gmail.com>
10629 * include/link.h (struct link_map): Add l_orig_initfini.
10630 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10631 returning unsuccessfully.
10632 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10633 close of a file loaded at startup, restore the original l_initfini
10635 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10636 list, store the pointer.
10637 * elf/Makefile ($(objpfx)noload-mem): New rule.
10638 (noload-ENV): Define.
10639 (tests): Add $(objpfx)noload-mem.
10640 * elf/noload.c: Include <memcheck.h>.
10641 (main): Call mtrace. Close all opened handles.
10643 2011-02-17 Andreas Schwab <schwab@redhat.com>
10646 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10647 dependencies are missing.
10649 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10651 Fix __if_freereq crash: Unlike the generic version which uses free,
10653 * sysdeps/mach/hurd/ifreq.h: New file.
10655 2011-01-27 Petr Baudis <pasky@suse.cz>
10656 Ulrich Drepper <drepper@gmail.com>
10659 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10660 to extend_alloca().
10661 * stdio-common/bug23.c: New file.
10662 * stdio-common/Makefile (tests): Add bug23.
10664 2010-09-28 Andreas Schwab <schwab@redhat.com>
10665 Ulrich Drepper <drepper@gmail.com>
10668 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10669 before performing relro protection. At old place add assertion
10670 to make sure nothing changed.
10672 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10673 Glauber de Oliveira Costa <glommer@gmail.com>
10675 * elf/elf.h: Add new ARM TLS relocs.
10677 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10680 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10682 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10684 * sysdeps/wordsize-64/tst-writev.c: New file.
10686 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10688 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10689 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10690 insns in _dl_start to prevent a TOC reference before relocs are
10693 2011-02-15 Ulrich Drepper <drepper@gmail.com>
10696 * Makeconfig: Remove RANLIB definition.
10697 * Makerules: Don't use RANLIB.
10698 * aclocal.m4: Remove ranlib test.
10699 * configure.in: No need to check for ranlib.
10700 * elf/rtld-Rules: Don't use RANLIB.
10702 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10704 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10706 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10707 inclusion protection macro.
10709 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10710 SIGRTMIN and SIGRTMAX and print information in that case only when
10711 SIGRTMIN is defined.
10713 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10715 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10716 arginfo fn returning -1.
10718 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10719 and thousands string is zero terminated.
10721 2011-02-03 Andreas Schwab <schwab@redhat.com>
10723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10724 sysdeps/unix/sysv/linux/bits/socket.h.
10726 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10728 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10729 (__CPU_COUNT): Remove old macros.
10730 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10731 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10732 (__CPU_ALLOC, __CPU_FREE): Add macros.
10733 (__sched_cpualloc, __sched_cpufree): Add declarations.
10735 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10737 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10738 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10739 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10740 (readdhstai): Return value of addhstaiX call.
10741 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10742 (addgrbyX): Return value returned by cache_addgr.
10743 (readdgrbyname): Return value returned by addgrbyX.
10744 (readdgrbygid): Likewise.
10745 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10746 (addpwbyX): Return value returned by cache_addpw.
10747 (readdpwbyname): Return value returned by addhstbyX.
10748 (readdpwbyuid): Likewise.
10749 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10750 (addservbyX): Return value returned by cache_addserv.
10751 (readdservbyname): Return value returned by addservbyX:
10752 (readdservbyport): Likewise.
10753 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10754 (addhstbyX): Return value returned by cache_addhst.
10755 (readdhstbyname): Return value returned by addhstbyX.
10756 (readdhstbyaddr): Likewise.
10757 (readdhstbynamev6): Likewise.
10758 (readdhstbyaddrv6): Likewise.
10759 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10760 (readdinitgroups): Return value returned by addinitgroupsX.
10761 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10762 (prune_cache): Keep track of timeout value of re-added entries.
10763 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10764 * nscd/nscd.h: Adjust prototypes of readd* functions.
10766 2011-02-04 Roland McGrath <roland@redhat.com>
10768 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10769 (nis_stats): Likewise.
10770 * nis/nis_modify.c (nis_modify): Likewise.
10771 * nis/nis_remove.c (nis_remove): Likewise.
10772 * nis/nis_add.c (nis_add): Likewise.
10774 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10776 * posix/fnmatch_loop.c: Add some consts.
10778 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10780 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10783 * config.make.in (config-cflags-novzeroupper): Define.
10784 * configure.in: Substitute libc_cv_cc_novzeroupper.
10785 * elf/Makefile (AVX-CFLAGS): Define.
10786 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10787 (CFLAGS-tst-auditmod4a.c): Likewise.
10788 (CFLAGS-tst-auditmod4b.c): Likewise.
10789 (CFLAGS-tst-auditmod6b.c): Likewise.
10790 (CFLAGS-tst-auditmod6c.c): Likewise.
10791 (CFLAGS-tst-auditmod7b.c): Likewise.
10792 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10794 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10796 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10797 function to the callback.
10798 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10800 2011-02-02 Andreas Schwab <schwab@redhat.com>
10802 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10805 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10808 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10810 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10812 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10815 * elf/Makefile: Add rules to build and run new test.
10816 * elf/tst-initorder.c: New file.
10817 * elf/tst-initorder.exp: New file.
10818 * elf/tst-initordera1.c: New file.
10819 * elf/tst-initordera2.c: New file.
10820 * elf/tst-initordera3.c: New file.
10821 * elf/tst-initordera4.c: New file.
10822 * elf/tst-initorderb1.c: New file.
10823 * elf/tst-initorderb2.c: New file.
10824 * elf/tst-order-a1.c: New file.
10825 * elf/tst-order-a2.c: New file.
10826 * elf/tst-order-a3.c: New file.
10827 * elf/tst-order-a4.c: New file.
10828 * elf/tst-order-b1.c: New file.
10829 * elf/tst-order-b2.c: New file.
10830 * elf/tst-order-main.c: New file.
10831 New test case by George Gensure <werkt0@gmail.com>.
10833 2010-10-01 Andreas Schwab <schwab@redhat.com>
10835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10836 decoding ACE if AI_CANONIDN.
10838 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10840 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10842 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10844 * version.h (RELEASE): Bump for 2.13 release.
10845 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10847 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10849 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10851 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10852 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10853 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10854 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10855 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10856 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10858 * posix/getconf.c: Update copyright year.
10859 * catgets/gencat.c: Likewise.
10860 * csu/version.c: Likewise.
10861 * debug/catchsegv.sh: Likewise.
10862 * debug/xtrace.sh: Likewise.
10863 * elf/ldconfig.c: Likewise.
10864 * elf/ldd.bash.in: Likewise.
10865 * elf/sprof.c (print_version): Likewise.
10866 * iconv/iconv_prog.c: Likewise.
10867 * iconv/iconvconfig.c: Likewise.
10868 * locale/programs/locale.c: Likewise.
10869 * locale/programs/localedef.c: Likewise.
10870 * malloc/memusage.sh: Likewise.
10871 * malloc/mtrace.pl: Likewise.
10872 * nscd/nscd.c (print_version): Likewise.
10873 * nss/getent.c: Likewise.
10875 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10876 PF_CAIF, and PF_ALG.
10877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10879 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10881 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10882 (modules-names): Use them.
10883 (ifunc-test-modules, ifunc-pie-tests): Define.
10884 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10885 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10886 (test-extras): Likewise.
10887 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10888 $(compile-command.c).
10889 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10890 (all-built-dso): Define.
10891 (check-textrel.out, check-execstack.out): Depend on it.
10893 * configure.in: Don't override --enable-multi-arch.
10895 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10898 * nscd/hstcache.c (tryagain): Define.
10899 (cache_addhst): Return tryagain not notfound for temporary errors.
10900 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10903 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10906 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10907 to make the syscall.
10908 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10911 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10912 and fall back to matching as normal character if the string ends before
10913 the matching ']' is found. This is what POSIX requires.
10914 * posix/testfnm.c: Adjust test result.
10915 * posix/globtest.sh: Adjust test result. Add new test.
10916 * posix/tst-fnmatch.input: Likewise.
10917 * posix/tst-fnmatch2.c: Add new test.
10919 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10921 * elf/Makefile (check-execstack): Revert last change. Depend on
10923 (check-execstack.h): New target.
10924 (generated): Add check-execstack.h.
10925 * elf/check-execstack.c: Include "check-execstack.h".
10926 (main): Revert last change.
10927 (handle_file): Return zero if GNU_STACK is absent and
10928 DEFAULT_STACK_PERMS doesn't include PF_X.
10930 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10932 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10933 in child fails because the descriptor is already closed.
10934 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10935 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10936 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10939 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10943 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10944 temporary buffer used to handle multi lookups locally.
10945 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10947 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10949 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10952 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10954 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10955 alignment for SSE2.
10957 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10960 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10961 characters. When rounding increased number of integer digits recompute
10963 * stdio-common/tst-grouping.c: New file.
10964 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10966 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10968 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10969 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10971 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10973 * bits/select.h: Likewise.
10975 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10977 * po/ja.po: Update from translation team.
10979 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10982 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10983 implementation just like for lxstat, fxstatat, et al.
10985 2010-12-27 Jim Meyering <meyering@redhat.com>
10988 * posix/regexec.c (build_trtable): Return failure indication upon
10989 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10991 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10994 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10995 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10996 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10997 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11000 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11003 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11004 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11006 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11008 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11009 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11010 script has SORT_BY_INIT_PRIORITY.
11011 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11012 NO_CTORS_DTORS_SECTIONS is defined.
11013 * elf/soinit.c: Likewise.
11014 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11015 NO_CTORS_DTORS_SECTIONS is defined.
11016 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11017 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11018 * sysdeps/sh/init-first.c: Likewise.
11019 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11021 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11023 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11024 always use the slow path.
11026 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11028 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11029 similar rule which adds the sysdep directories to the header search in
11030 order to pick up the correct platform stackinfo.h.
11031 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11032 perform test if it is, otherwise return successfully without testing.
11033 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11034 DEFAULT_STACK_PERMS define in stackinfo.h.
11035 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11036 defined in stackinfo.h.
11037 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11038 DEFAULT_STACK_PERMS defined in stackinfo.h.
11039 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11040 * sysdeps/ia64/stackinfo.h: Likewise.
11041 * sysdeps/s390/stackinfo.h: Likewise.
11042 * sysdeps/sh/stackinfo.h: Likewise.
11043 * sysdeps/sparc/stackinfo.h: Likewise.
11044 * sysdeps/x86_64/stackinfo.h: Likewise.
11045 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11046 PF_X for powerpc64. Retain PF_X for powerpc32.
11048 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11050 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11052 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11053 GETDENTS_64BIT_ALIGNED.
11055 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11057 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11059 2010-12-10 Andreas Schwab <schwab@redhat.com>
11061 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11064 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11065 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11067 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11068 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11070 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11073 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11076 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11078 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11080 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11082 * po/it.po: Update from translation team.
11084 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11086 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11089 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11091 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11093 2010-11-24 Andreas Schwab <schwab@redhat.com>
11095 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11097 (gaih_getanswer_slice): Likewise.
11099 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11103 2010-05-31 Petr Baudis <pasky@suse.cz>
11106 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11107 silently even in the chroot mode.
11109 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11111 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11112 last patch a bit. Pretty printing
11114 2010-05-31 Petr Baudis <pasky@suse.cz>
11117 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11118 initialization of skip_initgroups_dyn.
11120 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11122 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11123 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11125 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11127 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11129 2010-11-11 Andreas Schwab <schwab@redhat.com>
11131 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11132 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11133 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11134 ($(objpfx)tst-fnmatch-mem): New rule.
11135 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11136 * posix/tst-fnmatch.c (main): Call mtrace.
11138 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11141 Support Intel processor model 6 and model 0x2c.
11143 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11145 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11148 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11151 * string/test-strncasecmp.c (check_result): New function.
11152 (do_one_test): Use it.
11153 (check1): New function.
11154 (test_main): Use it.
11155 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11156 Support strcasecmp and strncasecmp.
11158 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11161 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11162 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11164 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11166 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11170 * sysdeps/x86_64/multiarch/bzero.S: New file.
11171 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11172 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11173 * sysdeps/x86_64/multiarch/memset.S: New file.
11174 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11176 Set bit_Prefer_SSE_for_memop for Intel processors.
11177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11179 (index_Prefer_SSE_for_memop): Define.
11180 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11182 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11184 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11185 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11187 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11190 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11191 (__x86_64_raw_data_cache_size_half): Likewise.
11192 (__x86_64_raw_shared_cache_size): Likewise.
11193 (__x86_64_raw_shared_cache_size_half): Likewise.
11195 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11196 (__x86_64_raw_data_cache_size_half): Likewise.
11197 (__x86_64_raw_shared_cache_size): Likewise.
11198 (__x86_64_raw_shared_cache_size_half): Likewise.
11199 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11200 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11201 and __x86_64_raw_shared_cache_size_half. Round
11202 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11203 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11204 to multiple of 256 bytes.
11206 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11209 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11210 of inacessible symlinks. Verify result of symlink before returning it.
11211 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11212 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11214 2010-10-28 Erich Ritz <erichritz@gmail.com>
11216 * math/math.h (isinf): Fix typo in comment.
11218 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11220 * po/da.po: Update from translation team.
11222 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11224 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11225 is added to the list.
11227 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11228 Ulrich Drepper <drepper@gmail.com>
11230 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11231 the global list here. Move code to...
11232 (_dl_add_to_namespace_list): ...here. New function.
11233 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11234 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11235 * elf/dl-load.c (lose): Don't remove the element from the list.
11236 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11237 (_dl_map_object): Likewise.
11239 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11242 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11243 into all bytes of SSE register.
11244 Patch by Richard Li <richardpku@gmail.com>.
11246 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11249 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11252 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11254 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11255 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11256 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11257 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11262 2010-10-22 Andreas Schwab <schwab@redhat.com>
11264 * include/dlfcn.h (__RTLD_SECURE): Define.
11265 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11266 mode & __RTLD_SECURE instead.
11267 (open_path): Rename preloaded parameter to secure.
11268 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11269 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11270 * elf/dl-deps.c (openaux): Likewise.
11271 * elf/rtld.c (struct map_args): Remove is_preloaded.
11272 (map_doit): Don't use it.
11273 (dl_main): Likewise.
11274 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11275 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11277 2010-09-09 Andreas Schwab <schwab@redhat.com>
11279 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11280 (sysd-rules-targets): Remove duplicates.
11281 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11282 rtld-%.$o dependency.
11284 2010-10-18 Andreas Schwab <schwab@redhat.com>
11286 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11287 _dl_map_object do it.
11289 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11291 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11292 fast fma builtins, define the macros in the C99 standard.
11293 (FP_FAST_FMAF): Likewise.
11294 (FP_FAST_FMAL): Likewise.
11295 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11297 * bits/mathdef.h: Update copyright year.
11298 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11300 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11302 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11303 builtins, define the macros in the C99 standard.
11304 (FP_FAST_FMAF): Likewise.
11305 (FP_FAST_FMAL): Likewise.
11306 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11308 (FP_FAST_FMAF): Likewise.
11310 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11313 * math/libm-test.inc (fma_test): Some new testcases.
11314 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11315 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11316 y and infinite z. Do multiplication by C already in long double.
11317 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11318 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11319 y and infinite z. Do bitwise or of inexact bit into u.d.
11320 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11321 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11322 * sysdeps/i386/fpu/s_fma.S: Removed.
11323 * sysdeps/i386/fpu/s_fmal.S: Removed.
11325 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11328 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11330 computation is not scheduled after fetestexcept. Fix value
11331 of minimum denormal long double.
11333 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11336 * math/libm-test.inc (fma_test): Add some more tests.
11337 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11340 2010-10-15 Andreas Schwab <schwab@redhat.com>
11342 * scripts/data/localplt-s390-linux-gnu.data: New file.
11343 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11345 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11348 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11349 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11351 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11353 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11355 if one of x and y is very large and the other is subnormal.
11356 * sysdeps/s390/fpu/s_fmaf.c: New file.
11357 * sysdeps/s390/fpu/s_fma.c: New file.
11358 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11359 * sysdeps/powerpc/fpu/s_fma.S: New file.
11360 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11361 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11362 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11364 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11367 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11369 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11370 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11371 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11372 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11373 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11374 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11375 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11377 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11380 * posix/regcomp.c (parse_branch): One more memory leak plugged.
11381 * posix/bug-regex31.input: Add test case.
11383 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11385 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
11386 * posix/bug-regex31.input: New file.
11389 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
11390 (parse_sub_exp): Fix last change, use postorder.
11392 * posix/bug-regex31.c: New file.
11393 * posix/Makefile: Add rules to build and run bug-regex31.
11395 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
11398 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
11401 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11402 to have entries in sys_siglist.
11405 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11408 2010-10-07 Jakub Jelinek <jakub@redhat.com>
11411 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11412 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11413 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11414 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11415 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11416 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11417 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11418 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11419 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11420 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11421 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11422 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11423 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11424 * math/ftestexcept.c (fetestexcept): Likewise.
11425 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11426 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11427 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11428 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11429 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11430 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11431 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11433 2010-10-11 Ulrich Drepper <drepper@gmail.com>
11436 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11439 2010-10-06 Ulrich Drepper <drepper@gmail.com>
11441 * string/bug-strstr1.c: New file.
11442 * string/Makefile: Add rules to build and run bug-strstr1.
11444 2010-10-05 Eric Blake <eblake@redhat.com>
11447 * string/str-two-way.h (two_way_long_needle): Always clear memory
11448 when skipping input due to the shift table.
11450 2010-10-03 Ulrich Drepper <drepper@gmail.com>
11453 * malloc/mcheck.c: Handle large requests.
11456 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11457 for strncmp and strncasecmp.
11458 * string/stratcliff.c: Add tests for strcmp and strncmp.
11459 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11461 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11463 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11466 2010-09-30 Andreas Jaeger <aj@suse.de>
11468 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11469 (CGROUP_SUPER_MAGIC): Define.
11470 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11471 Handle btrfs and cgroup file systems.
11472 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11475 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
11477 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11478 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11480 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11483 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11484 trying to locate the ELF header.
11486 2010-09-27 Andreas Schwab <schwab@redhat.com>
11489 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11490 Mask out sign-bit copies when constructing f_fsid.
11492 2010-09-24 Petr Baudis <pasky@suse.cz>
11494 * debug/stack_chk_fail_local.c: Add missing licence exception.
11495 * debug/warning-nop.c: Likewise.
11497 2010-09-15 Joseph Myers <joseph@codesourcery.com>
11499 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11500 implementing getdents64 using getdents syscall, set d_type if
11501 __ASSUME_GETDENTS32_D_TYPE.
11503 2010-09-16 Andreas Schwab <schwab@redhat.com>
11505 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11506 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11508 2010-09-21 Ulrich Drepper <drepper@redhat.com>
11511 * posix/unistd.h: Undo change of feature selection for ftruncate from
11514 2010-09-20 Ulrich Drepper <drepper@redhat.com>
11516 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
11519 2010-09-20 Andreas Schwab <schwab@redhat.com>
11521 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11523 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11525 2010-09-14 Andreas Schwab <schwab@redhat.com>
11527 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11528 variables after CHECK_SP call.
11529 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11531 2010-09-13 Andreas Schwab <schwab@redhat.com>
11532 Ulrich Drepper <drepper@redhat.com>
11534 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11535 re-relocationg ld.so.
11536 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11537 _dl_init_paths call.
11538 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11541 2010-09-14 Ulrich Drepper <drepper@redhat.com>
11543 * resolv/res_init.c (__res_vinit): Count the default server we added.
11545 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11546 Ulrich Drepper <drepper@redhat.com>
11549 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11550 (____longjmp_chk): Use %ebx for saving value across system call.
11553 2010-09-06 Andreas Schwab <schwab@redhat.com>
11555 * manual/Makefile: Don't mix pattern rules with normal rules.
11557 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11559 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11561 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11562 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11563 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11564 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11565 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11568 2010-09-04 Ulrich Drepper <drepper@redhat.com>
11571 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11572 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11574 2010-09-02 Ulrich Drepper <drepper@redhat.com>
11576 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11577 * sysdeps/x86_64/addmul_1.S: Likewise.
11578 * sysdeps/x86_64/lshift.S: Likewise.
11579 * sysdeps/x86_64/mul_1.S: Likewise.
11580 * sysdeps/x86_64/rshift.S: Likewise.
11581 * sysdeps/x86_64/sub_n.S: Likewise.
11582 * sysdeps/x86_64/submul_1.S: Likewise.
11584 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11586 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11587 Define __sched_param instead of SCHED_* and sched_param when
11588 <bits/sched.h> is included with __need_schedparam defined.
11589 * bits/sched.h [__need_schedparam]
11590 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
11591 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11592 (__defined_schedparam): Define to 1.
11593 (__sched_param): New structure, identical to sched_param.
11594 (__need_schedparam): Undefine.
11596 2010-08-31 Mike Frysinger <vapier@gentoo.org>
11598 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11599 (epoll_create1): Declare.
11601 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11603 2010-08-31 Andreas Schwab <schwab@redhat.com>
11606 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11607 shifting retval into place.
11609 2010-09-01 Ulrich Drepper <drepper@redhat.com>
11611 * nis/rpcsvc/nis.h: Update copyright notice.
11612 * nis/rpcsvc/nis.x: Likewise.
11613 * nis/rpcsvc/nis_callback.h: Likewise.
11614 * nis/rpcsvc/nis_callback.x: Likewise.
11615 * nis/rpcsvc/nis_object.x: Likewise.
11616 * nis/rpcsvc/nis_tags.h: Likewise.
11617 * nis/rpcsvc/yp.h: Likewise.
11618 * nis/rpcsvc/yp.x: Likewise.
11619 * nis/rpcsvc/ypupd.h: Likewise.
11620 * nis/yp_xdr.c: Likewise.
11621 * nis/ypupdate_xdr.c: Likewise.
11623 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11624 mainly the body of pmap_getport. Add parameters to specify timeouts.
11625 (pmap_getport): Use __libc_rpc_getport.
11626 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11627 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11628 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11630 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11635 2010-08-27 Roland McGrath <roland@redhat.com>
11637 * sysdeps/i386/i686/multiarch/Makefile
11638 (CFLAGS-varshift.c): New variable.
11640 2010-08-27 Ulrich Drepper <drepper@redhat.com>
11642 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11643 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11645 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11647 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11649 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11651 * sysdeps/x86_64/strlen.S: Unroll the loop.
11652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11653 strlen-sse2 strlen-sse2-bsf.
11654 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11655 __strlen_no_bsf if bit_Slow_BSF is set.
11656 (__strlen_sse42): Removed.
11657 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11658 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11660 2010-08-25 Roland McGrath <roland@redhat.com>
11662 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11663 * sysdeps/x86_64/multiarch/varshift.c: New file.
11664 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11665 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11666 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11667 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11669 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11672 strlen-sse2 strlen-sse2-bsf.
11673 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11674 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11675 (__strlen_sse2): Removed.
11676 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11678 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11679 bit_Slow_BSF for Atom.
11680 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11681 (index_Slow_BSF): Define.
11682 (HAS_SLOW_BSF): Define.
11684 2010-08-25 Ulrich Drepper <drepper@redhat.com>
11687 * resolv/res_init.c (__res_vinit): When no server address at all
11688 is given default to loopback.
11690 2010-08-24 Roland McGrath <roland@redhat.com>
11692 * configure.in: Remove config-name.h generation.
11693 * configure: Regenerated.
11694 * config-name.in: File removed.
11695 * scripts/config-uname.sh: New file.
11696 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11697 ($(objdir)config-name.h): New target.
11699 * sunrpc/rpc_parse.h: Avoid nested comment.
11701 2010-08-24 Richard Henderson <rth@redhat.com>
11702 Ulrich Drepper <drepper@redhat.com>
11703 H.J. Lu <hongjiu.lu@intel.com>
11705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11707 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11708 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11709 _mm_alignr_epi8 with _mm_loadu_si128.
11710 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11711 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11712 (__m128i_shift_right): Removed.
11713 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11714 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11715 * sysdeps/x86_64/multiarch/varshift.h: New file.
11716 * sysdeps/x86_64/multiarch/varshift.S: New file.
11718 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11720 * configure.in: Move assembler checks to before sysdep dir checking.
11722 2010-08-20 Petr Baudis <pasky@suse.cz>
11724 * LICENSES: Sync the sunrpc license.
11726 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11728 * sunrpc/auth_des.c: Update copyright notice once again.
11729 * sunrpc/auth_none.c: Likewise.
11730 * sunrpc/auth_unix.c: Likewise.
11731 * sunrpc/authdes_prot.c: Likewise.
11732 * sunrpc/authuxprot.c: Likewise.
11733 * sunrpc/bindrsvprt.c: Likewise.
11734 * sunrpc/clnt_gen.c: Likewise.
11735 * sunrpc/clnt_perr.c: Likewise.
11736 * sunrpc/clnt_raw.c: Likewise.
11737 * sunrpc/clnt_simp.c: Likewise.
11738 * sunrpc/clnt_tcp.c: Likewise.
11739 * sunrpc/clnt_udp.c: Likewise.
11740 * sunrpc/clnt_unix.c: Likewise.
11741 * sunrpc/des_crypt.c: Likewise.
11742 * sunrpc/des_soft.c: Likewise.
11743 * sunrpc/get_myaddr.c: Likewise.
11744 * sunrpc/getrpcport.c: Likewise.
11745 * sunrpc/key_call.c: Likewise.
11746 * sunrpc/key_prot.c: Likewise.
11747 * sunrpc/openchild.c: Likewise.
11748 * sunrpc/pm_getmaps.c: Likewise.
11749 * sunrpc/pm_getport.c: Likewise.
11750 * sunrpc/pmap_clnt.c: Likewise.
11751 * sunrpc/pmap_prot.c: Likewise.
11752 * sunrpc/pmap_prot2.c: Likewise.
11753 * sunrpc/pmap_rmt.c: Likewise.
11754 * sunrpc/rpc/auth.h: Likewise.
11755 * sunrpc/rpc/auth_unix.h: Likewise.
11756 * sunrpc/rpc/clnt.h: Likewise.
11757 * sunrpc/rpc/des_crypt.h: Likewise.
11758 * sunrpc/rpc/key_prot.h: Likewise.
11759 * sunrpc/rpc/netdb.h: Likewise.
11760 * sunrpc/rpc/pmap_clnt.h: Likewise.
11761 * sunrpc/rpc/pmap_prot.h: Likewise.
11762 * sunrpc/rpc/pmap_rmt.h: Likewise.
11763 * sunrpc/rpc/rpc.h: Likewise.
11764 * sunrpc/rpc/rpc_des.h: Likewise.
11765 * sunrpc/rpc/rpc_msg.h: Likewise.
11766 * sunrpc/rpc/svc.h: Likewise.
11767 * sunrpc/rpc/svc_auth.h: Likewise.
11768 * sunrpc/rpc/types.h: Likewise.
11769 * sunrpc/rpc/xdr.h: Likewise.
11770 * sunrpc/rpc_clntout.c: Likewise.
11771 * sunrpc/rpc_cmsg.c: Likewise.
11772 * sunrpc/rpc_common.c: Likewise.
11773 * sunrpc/rpc_cout.c: Likewise.
11774 * sunrpc/rpc_dtable.c: Likewise.
11775 * sunrpc/rpc_hout.c: Likewise.
11776 * sunrpc/rpc_main.c: Likewise.
11777 * sunrpc/rpc_parse.c: Likewise.
11778 * sunrpc/rpc_parse.h: Likewise.
11779 * sunrpc/rpc_prot.c: Likewise.
11780 * sunrpc/rpc_sample.c: Likewise.
11781 * sunrpc/rpc_scan.c: Likewise.
11782 * sunrpc/rpc_scan.h: Likewise.
11783 * sunrpc/rpc_svcout.c: Likewise.
11784 * sunrpc/rpc_tblout.c: Likewise.
11785 * sunrpc/rpc_util.c: Likewise.
11786 * sunrpc/rpc_util.h: Likewise.
11787 * sunrpc/rpcinfo.c: Likewise.
11788 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11789 * sunrpc/rpcsvc/key_prot.x: Likewise.
11790 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11791 * sunrpc/rpcsvc/mount.x: Likewise.
11792 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11793 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11794 * sunrpc/rpcsvc/rex.x: Likewise.
11795 * sunrpc/rpcsvc/rstat.x: Likewise.
11796 * sunrpc/rpcsvc/rusers.x: Likewise.
11797 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11798 * sunrpc/rpcsvc/spray.x: Likewise.
11799 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11800 * sunrpc/rtime.c: Likewise.
11801 * sunrpc/svc.c: Likewise.
11802 * sunrpc/svc_auth.c: Likewise.
11803 * sunrpc/svc_authux.c: Likewise.
11804 * sunrpc/svc_raw.c: Likewise.
11805 * sunrpc/svc_run.c: Likewise.
11806 * sunrpc/svc_simple.c: Likewise.
11807 * sunrpc/svc_tcp.c: Likewise.
11808 * sunrpc/svc_udp.c: Likewise.
11809 * sunrpc/svc_unix.c: Likewise.
11810 * sunrpc/svcauth_des.c: Likewise.
11811 * sunrpc/xcrypt.c: Likewise.
11812 * sunrpc/xdr.c: Likewise.
11813 * sunrpc/xdr_array.c: Likewise.
11814 * sunrpc/xdr_float.c: Likewise.
11815 * sunrpc/xdr_mem.c: Likewise.
11816 * sunrpc/xdr_rec.c: Likewise.
11817 * sunrpc/xdr_ref.c: Likewise.
11818 * sunrpc/xdr_sizeof.c: Likewise.
11819 * sunrpc/xdr_stdio.c: Likewise.
11821 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11824 2010-08-19 Andreas Schwab <schwab@redhat.com>
11826 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11828 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11830 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11831 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11832 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11833 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11834 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11835 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11836 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11837 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11838 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11839 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11840 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11841 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11842 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11843 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11845 2010-07-26 Anton Blanchard <anton@samba.org>
11847 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11848 * malloc/arena.c (heap_trim): Likewise.
11850 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11852 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11854 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11855 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11857 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11859 * sysdeps/i386/elf/Makefile: New file.
11861 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11863 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11864 from fanotify_init.
11865 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11868 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11870 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11872 * sysdeps/multiarch/strcmp.S: Likewise.
11874 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11876 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11877 strncase_l-nonascii.
11878 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11879 Add strncase_l-ssse3.
11880 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11881 * sysdeps/x86_64/strcmp.S: Likewise.
11882 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11883 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11884 * sysdeps/x86_64/strncase.S: New file.
11885 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11886 * sysdeps/x86_64/strncase_l.S: New file.
11887 * string/Makefile (strop-tests): Add strncasecmp.
11888 * string/test-strncasecmp.c: New file.
11890 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11893 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11894 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11896 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11898 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11900 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11902 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11903 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11904 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11906 2010-05-01 Alan Modra <amodra@gmail.com>
11908 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11909 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11910 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11911 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11912 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11913 tidying. Don't tail-call __sigjmp_save for static lib.
11914 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11916 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11917 (CALL_MCOUNT): Add eh info, and nop after bl.
11918 (TAIL_CALL_SYSCALL_ERROR): New macro.
11919 (PSEUDO_RET): Use it.
11920 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11921 Correct save location of integer regs and cr.
11922 (_dl_profile_resolve): Correct cr save location. Delete nops
11923 after bl when SHARED. Reduce cfi size a little by better
11924 placement of cfi directives.
11925 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11926 make a stack frame. Instead use parm save area as a temp.
11927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11928 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11930 Don't make a stack frame for parent, use parm save area.
11931 Increase child stack frame to 112 bytes. Don't save unused reg,
11932 and adjust reg usage. Set up cfi on error recovery and
11933 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11935 (__makecontext): Add dummy nop after jump to exit.
11936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11937 Use correct parm save area and cr save, reduce stack frame.
11938 Correct cfi for possible PSEUDO_RET frame setup.
11939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11940 Branch to local label emitted by PSEUDO_RET rather than
11943 2010-08-12 Andreas Schwab <schwab@redhat.com>
11946 * locale/programs/locale.c (print_assignment): New function.
11947 (show_locale_vars): Use it.
11949 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11951 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11953 (struct statfs64): Likewise.
11954 (_STATFS_F_FLAGS): Define.
11955 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11956 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11957 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11958 (ST_VALID): Define locally.
11959 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11960 __statvfs_getflags, use the provided value.
11961 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11962 __ASSUME_STATFS_F_FLAGS.
11964 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11966 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11967 Add sys/fanotify.h.
11968 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11969 fanotify_mask for GLIBC_2.13.
11970 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11971 fanotify_init and fanotify_mark.
11972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11973 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11975 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11977 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11978 prlimit64 for GLIBC_2.13.
11979 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11981 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11984 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11985 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11986 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11987 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11989 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11992 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11993 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11995 * nss/Makefile: Add rules to build and run tst-nss-test1.
11996 * shlib-versions: Add entry for libnss_test1.
11997 * nss/nss_test1.c: New file.
11998 * nss/tst-nss-test1.c: New file.
12000 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12001 (__nss_configure_lookup): Set appropriate entry in
12002 __nss_configure_lookup to true.
12003 * nss/nsswitch.h: Define enum with indeces of databases in
12004 databases and __nss_database_custom arrays. Declare
12005 __nss_database_custom.
12006 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12007 to avoid using nscd when custom rules are installed.
12008 * nss/getXXbyYY_r.c: Likewise.
12009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12011 * nss/nss_files/files-parse.c: Whitespace fixes.
12013 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12016 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12017 * posix/fnmatch_loop.c: Likewise.
12019 2010-07-17 Andi Kleen <ak@linux.intel.com>
12021 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12022 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12023 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12024 * Versions.def [GLIBC_2.13]: Add.
12026 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12028 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12029 Also fail if tpwd after pwuid call is NULL.
12031 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12033 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12034 when converting to ms.
12036 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12038 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12039 EOPNOTSUPP errors with ENOTTY.
12040 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12041 EOPNOTSUPP errors with ENOTTY.
12043 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12045 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12046 Add strcasecmp_l-ssse3.
12047 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12049 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12050 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12051 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12053 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12055 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12057 * string/Makefile (strop-tests): Add strcasecmp.
12058 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12059 strcasecmp_l-nonascii.
12060 (gen-as-const-headers): Add locale-defines.sym.
12061 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12062 * sysdeps/x86_64/strcasecmp.S: New file.
12063 * sysdeps/x86_64/strcasecmp_l.S: New file.
12064 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12065 * sysdeps/x86_64/locale-defines.sym: New file.
12066 * string/test-strcasecmp.c: New file.
12068 * string/test-strcasestr.c: Test both ends of the range of characters.
12069 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12071 2010-07-29 Roland McGrath <roland@redhat.com>
12074 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12076 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12078 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12081 2010-07-27 Andreas Schwab <schwab@redhat.com>
12083 * manual/memory.texi (Malloc Tunable Parameters): Document
12086 2010-07-26 Roland McGrath <roland@redhat.com>
12089 * configure.in (-fgnu89-inline check): Set and substitute
12090 gnu89_inline, not libc_cv_gnu89_inline.
12091 * configure: Regenerated.
12092 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12094 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12096 * string/test-strnlen.c: New file.
12097 * string/Makefile (strop-tests): Add strnlen.
12098 * string/tester.c (test_strnlen): Add a few more test cases.
12099 * string/tst-strlen.c: Better error reporting.
12101 * sysdeps/x86_64/strnlen.S: New file.
12103 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12105 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12106 lower-latency instructions.
12108 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12110 * string/test-strcasestr.c: New file.
12111 * string/test-strstr.c: New file.
12112 * string/Makefile (strop-tests): Add strstr and strcasestr.
12113 * string/str-two-way.h: Don't undefine MAX.
12114 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12116 2010-07-21 Andreas Schwab <schwab@redhat.com>
12118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12119 strcasestr-nonascii.
12120 (CFLAGS-strcasestr-nonascii.c): Define.
12121 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12122 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12123 Remove unused attribute.
12125 2010-07-20 Roland McGrath <roland@redhat.com>
12127 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12128 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12129 ld.so.cache was broken. With it, there is no way to disable dsocaps
12130 like LD_HWCAP_MASK can disable hwcaps.
12132 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12134 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12136 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12138 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12139 call in strcasestr.
12140 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12141 __strcasestr_sse42_nonascii.
12142 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12143 strcasestr-nonascii.c.
12144 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12146 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12148 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12150 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12151 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12153 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12155 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12158 2010-07-06 Andreas Schwab <schwab@redhat.com>
12161 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12164 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12166 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12167 _PC_PIPE_BUF using F_GETPIPE_SZ.
12169 2010-07-05 Roland McGrath <roland@redhat.com>
12171 * manual/arith.texi (Rounding Functions): Fix rint description
12172 implicit in round description.
12174 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12176 * elf/Makefile: Fix linking for a few tests to make recent linker
12179 2010-06-30 Andreas Schwab <schwab@redhat.com>
12181 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12182 $(common-objpfx)libc_nonshared.a.
12184 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12186 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12187 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12188 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12189 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12190 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12191 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12192 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12193 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12208 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12209 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12210 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12211 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12212 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12213 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12214 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12215 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12216 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12217 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12218 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12219 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12235 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12237 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12238 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12239 * string/memmove.c (memmove): Renamed to ...
12240 (MEMMOVE): ...this. Default to memmove.
12241 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12242 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12244 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12245 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12246 mempcpy-ssse3-back memmove-ssse3-back.
12247 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12248 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12249 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12250 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12251 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12252 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12253 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12254 * sysdeps/x86_64/multiarch/memmove.c: New file.
12255 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12256 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12257 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12258 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12259 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12260 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12262 (index_Fast_Copy_Backward): Define.
12263 (HAS_ARCH_FEATURE): Define.
12264 (HAS_FAST_REP_STRING): Define.
12265 (HAS_FAST_COPY_BACKWARD): Define.
12267 2010-06-21 Andreas Schwab <schwab@redhat.com>
12269 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12270 Restore proper fallback handling.
12272 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12275 * posix/group_member.c (__group_member): Correct checking loop.
12277 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12278 OOM in getpwuid_r correctly. Return error number when the caller
12279 should return, otherwise -1.
12280 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12281 call returning > 0 value.
12282 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12284 2010-06-07 Andreas Schwab <schwab@redhat.com>
12286 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12287 libc_nonshared.a from targets in modules-names.
12289 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12291 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12294 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12296 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12297 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12298 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12299 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12301 2010-06-02 Andreas Schwab <schwab@redhat.com>
12303 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12305 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12307 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12309 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12311 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12313 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12314 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12316 2010-06-14 Roland McGrath <roland@redhat.com>
12318 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12320 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12322 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12323 __REDIRECT followed by __THROW.
12324 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12325 * posix/getopt.h (getopt): Likewise.
12327 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12329 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12330 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12331 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12333 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12334 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12336 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12338 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12340 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12344 Properly check family and model.
12346 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12348 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12350 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12352 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12354 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12356 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12359 2010-05-19 Andreas Schwab <schwab@redhat.com>
12361 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12364 2010-05-21 Andreas Schwab <schwab@redhat.com>
12366 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12367 and internal_recvmmsg.
12368 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12369 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12370 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12371 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12373 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12374 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12375 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12377 2010-05-20 Andreas Schwab <schwab@redhat.com>
12379 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
12381 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
12383 POWER7 optimizations.
12384 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
12385 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
12387 2010-05-19 Ulrich Drepper <drepper@redhat.com>
12389 * version.h: Update for 2.13 development version.
12391 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
12393 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
12394 exceptions. Return 0.
12396 2010-05-07 Roland McGrath <roland@redhat.com>
12398 * elf/ldconfig.c (main): Add a const.
12400 2010-05-06 Ulrich Drepper <drepper@redhat.com>
12402 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12403 (args_options): Add no-idn option.
12404 (ahosts_keys_int): Add idn_flags to ai_flags.
12405 (parse_option): Handle 'i' option to clear idn_flags.
12407 * malloc/malloc.c (_int_free): Possible race in the most recently
12408 added check. Only act on the data if no current modification
12411 See ChangeLog.17 for earlier changes.