1 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
5 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
6 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
8 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
9 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
12 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
14 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
21 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
32 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
34 2012-05-31 Joseph Myers <joseph@codesourcery.com>
36 * math/math.h (M_El): Use two more decimal places.
38 (M_LOG10El): Likewise.
46 (M_2_SQRTPIl): Likewise.
48 (M_SQRT1_2l): Likewise.
50 2012-05-31 David S. Miller <davem@davemloft.net>
52 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
53 values between float registers.
54 * sysdeps/sparc/sparc64/memset.S: Likewise.
55 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57 2012-05-31 Mike Frysinger <vapier@gentoo.org>
59 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
61 (CPPFLAGS-tst-longjmp_chk.c): Define.
62 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63 (CPPFLAGS-tst-longjmp_chk2.c): Define.
64 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67 2012-05-31 Marek Polacek <polacek@redhat.com>
70 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
71 __endmntent_internal): Remove declaration.
72 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
73 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
76 2012-05-30 David S. Miller <davem@davemloft.net>
78 * sysdeps/sparc/sparc32/soft-fp/q_util.c
79 (___Q_simulate_exceptions): Use real FP ops rather than writing
81 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
84 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
87 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
88 * sysdeps/x86/bits/xtitypes.h: This.
90 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
91 * sysdeps/x86/bits/wordsize.h: This.
93 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
94 * sysdeps/x86/bits/huge_vall.h: This.
96 * sysdeps/i386/bits/select.h: Removed.
97 * sysdeps/x86_64/bits/select.h: Renamed to ...
98 * sysdeps/x86/bits/select.h: This.
100 * sysdeps/i386/bits/setjmp.h: Removed.
101 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
102 * sysdeps/x86/bits/setjmp.h: This.
104 * sysdeps/i386/bits/mathdef.h: Removed.
105 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
106 * sysdeps/x86/bits/mathdef.h: This.
108 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
111 * include/sys/socket.h (__connect_internal)
112 (__libc_sa_len_internal): Remove declaration.
113 (__connect, __libc_sa_len): Declare hidden_proto.
114 (SA_LEN): Remove use of INTUSE.
115 * socket/connect.c: Add libc_hidden_def.
116 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
117 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
118 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
120 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
121 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
122 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
123 of adding _internal alias.
125 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
128 * sysdeps/i386/bits/link.h: Removed.
129 * sysdeps/i386/bits/linkmap.h: Likewise.
130 * sysdeps/x86_64/bits/link.h: Renamed to ...
131 * sysdeps/x86/bits/link.h: This.
132 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
133 * sysdeps/x86/bits/linkmap.h: This.
135 * sysdeps/i386/bits/endian.h: Removed.
136 * sysdeps/x86_64/bits/endian.h: Renamed to ...
137 * sysdeps/x86/bits/endian.h: This.
139 * sysdeps/i386/bits/byteswap.h: Removed.
140 * sysdeps/i386/bits/byteswap-16.h: Likewise.
141 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
142 * sysdeps/x86/bits/byteswap.h: This.
143 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
144 * sysdeps/x86/bits/byteswap-16.h: This.
145 * sysdeps/i386/Implies: Add x86.
146 * sysdeps/x86_64/Implies: Likewise.
148 2012-05-30 David S. Miller <davem@davemloft.net>
150 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
151 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
152 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
153 (FP_TRAPPING_EXCEPTIONS): Define.
154 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
155 (FP_TRAPPING_EXCEPTIONS): Define.
156 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
157 subnormals only when inexact has been signalled or underflow
158 exceptions are enabled.
159 (_FP_PACK_CANONICAL): Likewise.
161 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
164 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
165 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
167 2012-05-30 Richard Henderson <rth@twiddle.net>
169 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
170 with #ifndef NOT_IN_libc.
172 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
173 marked to avoid plt entry.
175 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
178 * Makeconfig (default-abi): New macro.
179 (abi-includes): Likewise.
180 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
181 $(abi-$(default-abi)-lib-soname) for soname if defined.
182 ($(common-objpfx)gnu/lib-names.stmp): Generate from
184 * Makefile (installed-stubs): Likewise.
185 * include/stubs-biarch.h: Removed.
186 * scripts/lib-names.awk: Only handle one library at a time.
187 * scripts/soversions.awk: Remove WORDSIZE support.
188 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
190 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
192 (syscall-list-default-condition): Likewise.
193 (syscall-list-default-condition): Likewise.
194 (syscall-list-includes): Likewise.
195 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
196 syscall-list-* with abi-*. Handle undefined abi-variants.
197 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
198 * sysdeps/unix/sysv/linux/i386/Implies: New file.
199 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
200 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
201 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
202 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
204 (syscall-list-32-options): Likewise.
205 (syscall-list-32-condition): Likewise.
206 (syscall-list-64-options): Likewise.
207 (syscall-list-64-condition): Likewise.
208 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
210 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
213 (abi-64-ld-soname): New macro.
214 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
215 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
218 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
219 * sysdeps/x86_64/x32/shlib-versions: Likewise.
221 2012-05-30 Joseph Myers <joseph@codesourcery.com>
223 * sysdeps/unix/sysv/linux/kernel-features.h
224 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
225 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
226 include <kernel-features.h>.
227 [!__NR_ftruncate64]: Remove conditional code.
228 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
229 [__NR_ftruncate64]: Make code unconditional.
230 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
231 * sysdeps/unix/sysv/linux/truncate64.c: Do not
232 include <kernel-features.h>.
233 [!__NR_ftruncate64]: Remove conditional code.
234 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
235 [__NR_ftruncate64]: Make code unconditional.
236 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
238 include <kernel-features.h>.
239 [!__NR_ftruncate64]: Remove conditional code.
240 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
241 [__NR_ftruncate64]: Make code unconditional.
242 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
244 include <kernel-features.h>.
245 [!__NR_ftruncate64]: Remove conditional code.
246 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
247 [__NR_ftruncate64]: Make code unconditional.
248 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
250 * configure.in (libc_cv_fpie): Weaken to a compile test using
252 * configure: Regenerated.
254 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
257 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
265 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
269 2012-05-27 David S. Miller <davem@davemloft.net>
271 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
273 (__Q_simulate_exceptions): Return void. Change to simulate
274 exceptions by writing into the %fsr.
275 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
276 (__Qp_handle_exceptions): Likewise.
278 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
279 __Qp_handle_exceptions.
280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
281 __Qp_handle_exceptions.
282 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
283 as unused and give dummy FP_RND_NEAREST initializer.
284 (FP_INHIBIT_RESULTS): Define.
285 (___Q_simulate_exceptions): Update declaration.
286 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
288 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
289 as unused and give dummy FP_RND_NEAREST initializer.
290 (__Qp_handle_exceptions): Update declaration.
291 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
294 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
296 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
297 the temporary FPU control word.
298 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
299 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
300 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
301 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
302 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
303 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
304 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
305 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
306 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
307 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
308 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
310 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
312 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
315 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
317 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
318 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
319 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
320 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
322 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
323 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
326 2012-05-27 Ulrich Drepper <drepper@gmail.com>
328 * po/h.po: Update from translation team.
330 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
332 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
334 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
335 handling of denormals.
336 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
337 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
338 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
339 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
340 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
341 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
342 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
345 2012-05-26 Marek Polacek <polacek@redhat.com>
348 * math/libm-test.inc (fma_test): Don't always expect underflow
351 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
354 * elf/tst-execstack.c: Include stackinfo.h.
355 (do_test): Adjust test case to ensure that pthread_getattr_np
356 behaviour remains the same after marking stack executable.
358 2012-05-25 Joseph Myers <joseph@codesourcery.com>
360 * sysdeps/unix/sysv/linux/kernel-features.h
361 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
362 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
364 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
365 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
366 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
368 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
369 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
371 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
373 * configure.in: Define the default includes to being none.
374 * configure: Regenerated.
376 2012-05-25 Roland McGrath <roland@hack.frob.com>
378 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
379 * sysdeps/x86_64/setjmp.S: Likewise.
380 * sysdeps/i386/bsd-setjmp.S: Likewise.
381 * sysdeps/i386/bsd-_setjmp.S: Likewise.
382 * sysdeps/i386/setjmp.S: Likewise.
383 * sysdeps/i386/__longjmp.S: Likewise.
384 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
385 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
387 * include/stap-probe.h: New file.
388 * configure.in: Handle --enable-systemtap.
389 * configure: Regenerated.
390 * config.h.in (USE_STAP_PROBE): New #undef.
391 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
392 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
393 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
395 2012-05-25 Joseph Myers <joseph@codesourcery.com>
398 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
399 to 2.4.0 where earlier.
400 * sysdeps/unix/sysv/linux/configure: Regenerated.
401 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
403 [__ASSUME_32BITUIDS]: Make code unconditional.
404 [!__ASSUME_32BITUIDS]: Remove conditional code.
405 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
407 [__ASSUME_32BITUIDS]: Make code unconditional.
408 [!__ASSUME_32BITUIDS]: Remove conditional code.
409 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
410 [__ASSUME_32BITUIDS]: Make code unconditional.
411 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
412 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
414 [__ASSUME_32BITUIDS]: Make code unconditional.
415 [!__ASSUME_32BITUIDS]: Remove conditional code.
416 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
418 [__ASSUME_32BITUIDS]: Make code unconditional.
419 [!__ASSUME_32BITUIDS]: Remove conditional code.
420 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
422 [__ASSUME_32BITUIDS]: Make code unconditional.
423 [!__ASSUME_32BITUIDS]: Remove conditional code.
424 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
426 [__ASSUME_32BITUIDS]: Make code unconditional.
427 [!__ASSUME_32BITUIDS]: Remove conditional code.
428 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
430 [__ASSUME_32BITUIDS]: Make code unconditional.
431 [!__ASSUME_32BITUIDS]: Remove conditional code.
432 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
434 [__ASSUME_32BITUIDS]: Make code unconditional.
435 [!__ASSUME_32BITUIDS]: Remove conditional code.
436 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
438 [__ASSUME_32BITUIDS]: Make code unconditional.
439 [!__ASSUME_32BITUIDS]: Remove conditional code.
440 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
442 [__ASSUME_32BITUIDS]: Make code unconditional.
443 [!__ASSUME_32BITUIDS]: Remove conditional code.
444 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
446 [__ASSUME_32BITUIDS]: Make code unconditional.
447 [!__ASSUME_32BITUIDS]: Remove conditional code.
448 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
450 [__ASSUME_32BITUIDS]: Make code unconditional.
451 [!__ASSUME_32BITUIDS]: Remove conditional code.
452 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
454 [__NR_setresgid] (__setresgid): Do not declare.
455 [__ASSUME_32BITUIDS]: Make code unconditional.
456 [!__ASSUME_32BITUIDS]: Remove conditional code.
457 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
459 [__NR_setresuid] (__setresuid): Do not declare.
460 [__ASSUME_32BITUIDS]: Make code unconditional.
461 [!__ASSUME_32BITUIDS]: Remove conditional code.
462 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
464 [__ASSUME_32BITUIDS]: Make code unconditional.
465 [!__ASSUME_32BITUIDS]: Remove conditional code.
466 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
468 [__ASSUME_32BITUIDS]: Make code unconditional.
469 [!__ASSUME_32BITUIDS]: Remove conditional code.
470 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
472 [__ASSUME_32BITUIDS]: Make code unconditional.
473 [!__ASSUME_32BITUIDS]: Remove conditional code.
474 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
476 [__ASSUME_32BITUIDS]: Make code unconditional.
477 [!__ASSUME_32BITUIDS]: Remove conditional code.
478 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
480 [__ASSUME_32BITUIDS]: Make code unconditional.
481 [!__ASSUME_32BITUIDS]: Remove conditional code.
482 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
484 [__ASSUME_32BITUIDS]: Make code unconditional.
485 [!__ASSUME_32BITUIDS]: Remove conditional code.
486 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
488 [__ASSUME_32BITUIDS]: Make code unconditional.
489 [!__ASSUME_32BITUIDS]: Remove conditional code.
490 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
492 [__ASSUME_32BITUIDS]: Make code unconditional.
493 [!__ASSUME_32BITUIDS]: Remove conditional code.
494 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
496 [__ASSUME_32BITUIDS]: Make code unconditional.
497 [!__ASSUME_32BITUIDS]: Remove conditional code.
498 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
500 [__ASSUME_32BITUIDS]: Make code unconditional.
501 [!__ASSUME_32BITUIDS]: Remove conditional code.
502 * sysdeps/unix/sysv/linux/kernel-features.h
503 (__ASSUME_SETRESUID_SYSCALL): Remove.
504 (__ASSUME_SETRESGID_SYSCALL): Likewise.
505 (__ASSUME_32BITUIDS): Likewise.
506 (__ASSUME_LDT_WORKS): Likewise.
507 (__ASSUME_O_DIRECTORY): Likewise.
508 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
509 architecture but not kernel version.
510 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
511 (__ASSUME_MMAP2_SYSCALL): Likewise.
512 (__ASSUME_STAT64_SYSCALL): Likewise.
513 (__ASSUME_IPC64): Likewise.
514 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
516 [__ASSUME_32BITUIDS]: Make code unconditional.
517 [!__ASSUME_32BITUIDS]: Remove conditional code.
518 * sysdeps/unix/sysv/linux/opendir.c: Do not include
520 [__ASSUME_O_DIRECTORY]: Make code unconditional.
521 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
522 132096]: Remove conditional code.
523 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
524 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
526 [__ASSUME_32BITUIDS]: Make code unconditional.
527 [!__ASSUME_32BITUIDS]: Remove conditional code.
528 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
530 [__ASSUME_32BITUIDS]: Make code unconditional.
531 [!__ASSUME_32BITUIDS]: Remove conditional code.
532 * sysdeps/unix/sysv/linux/setegid.c: Do not include
534 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
536 (__setresgid): Do not declare.
537 [__ASSUME_32BITUIDS]: Make code unconditional.
538 [!__ASSUME_32BITUIDS]: Remove conditional code.
539 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
541 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
543 (__setresuid): Do not declare.
544 [__ASSUME_32BITUIDS]: Make code unconditional.
545 [!__ASSUME_32BITUIDS]: Remove conditional code.
546 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
548 [__ASSUME_32BITUIDS]: Make code unconditional.
549 [!__ASSUME_32BITUIDS]: Remove conditional code.
550 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
552 [__ASSUME_32BITUIDS]: Make code unconditional.
553 [!__ASSUME_32BITUIDS]: Remove conditional code.
555 2012-05-25 Richard Henderson <rth@twiddle.net>
557 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
558 dl_hwcap to ifunc resolver.
559 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
561 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
562 dl_hwcap to ifunc resolver.
563 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
565 2012-05-24 Joseph Myers <joseph@codesourcery.com>
568 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
569 for |x| <= 2**-26, not 2**-57.
570 * math/libm-test.inc (acos_test): Do not allow spurious underflow
573 2012-05-24 Jeff Law <law@redhat.com>
575 * stdio-common/Makefile (tests): Add bug25.
576 * stdio-common/bug25.c: New test.
578 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
581 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
582 multiple of MALLOC_ALIGNMENT in size.
583 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
585 2012-05-24 Joseph Myers <joseph@codesourcery.com>
587 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
589 (FILENAME_MAX): Use macro-int-constant.
590 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
591 (_IOFBF): Use macro-int-constant.
594 (SEEK_CUR): Likewise.
595 (SEEK_END): Likewise.
596 (SEEK_SET): Likewise.
598 (EOF): Use macro-int-constant. Require < 0.
599 (NULL): Use macro-constant. Require == 0.
600 (stdin): Require type to be FILE *.
603 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
605 (EXIT_SUCCESS): Likewise.
606 (NULL): Use macro-constant. Require == 0.
607 (RAND_MAX): Use macro-int-constant.
608 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
609 [C99-based standards] (strtof): Require function.
610 [C99-based standards] (strtold): Likewise.
611 [C99-based standards] (strtoll): Likewise.
612 [C99-based standards] (strtoull): Likewise.
613 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
614 [ISO || ISO99 || ISO11] (limits.h): Likewise.
615 [ISO || ISO99 || ISO11] (math.h): Likewise.
616 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
617 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
618 [ISO || ISO99 || ISO11] (*_t): Do not allow.
620 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
623 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
624 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
625 * intl/dgettext.c (DCGETTEXT): Likewise.
626 * intl/gettext.c (DCGETTEXT): Likewise.
627 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
628 * posix/regex_internal.h (gettext): Likewise.
629 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
631 * include/argz.h (__argz_count_internal)
632 (__argz_stringify_internal): Remove declaration.
633 (__argz_count, __argz_stringify): Declare hidden proto.
634 * intl/dcgettext.c: Remove use of INTDEF.
635 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
636 * string/argz-stringify.c: Likewise.
637 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
638 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
639 Declare hidden proto.
640 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
641 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
642 Declare hidden proto.
643 * include/stdio.h (__asprintf_internal): Don't declare.
644 (__asprintf): Don't define as macro. Declare hidden proto.
645 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
646 (__fsetlocking): Declare hidden proto.
647 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
648 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
650 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
651 (_IO_setlinebuf): Remove use of INTUSE.
652 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
653 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
654 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
656 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
657 (_IO_do_flush): Remove use of INTUSE.
658 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
659 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
660 (_IO_adjust_column, _IO_least_wmarker)
661 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
662 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
663 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
664 (_IO_default_doallocate, _IO_wdefault_doallocate)
665 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
666 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
667 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
668 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
669 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
670 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
671 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
672 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
673 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
674 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
675 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
676 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
677 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
679 (_IO_flush_all_internal, _IO_adjust_column_internal)
680 (_IO_default_uflow_internal, _IO_default_finish_internal)
681 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
682 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
683 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
684 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
685 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
686 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
687 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
688 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
689 (_IO_file_close_internal, _IO_file_close_it_internal)
690 (_IO_file_underflow_internal, _IO_file_overflow_internal)
691 (_IO_file_init_internal, _IO_file_attach_internal)
692 (_IO_file_fopen_internal, _IO_file_read_internal)
693 (_IO_file_sync_internal, _IO_file_seek_internal)
694 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
695 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
696 (_IO_str_underflow_internal, _IO_str_overflow_internal)
697 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
698 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
699 (_IO_list_all_internal, _IO_link_in_internal)
700 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
701 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
702 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
703 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
704 (_IO_do_write_internal, _IO_padn_internal)
705 (_IO_getline_info_internal, _IO_getline_internal)
706 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
707 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
708 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
709 (_IO_vfscanf_internal, _IO_vfprintf_internal)
710 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
711 (_IO_init_internal, _IO_un_link_internal): Don't declare.
712 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
713 with libc_hidden_ver, remove use of INTUSE.
714 * libio/genops.c: Likewise.
715 * libio/freopen.c: Likewise.
716 * libio/freopen64.c: Likewise.
717 * libio/iofclose.c: Likewise.
718 * libio/iofdopen.c: Likewise.
719 * libio/iofflush.c: Likewise.
720 * libio/iofflush_u.c: Likewise.
721 * libio/iofgets.c: Likewise.
722 * libio/iofgets_u.c: Likewise.
723 * libio/iofopen.c: Likewise.
724 * libio/iofopncook.c: Likewise.
725 * libio/iofread.c: Likewise.
726 * libio/iofread_u.c: Likewise.
727 * libio/ioftell.c: Likewise.
728 * libio/iofwrite.c: Likewise.
729 * libio/iogetline.c: Likewise.
730 * libio/iogets.c: Likewise.
731 * libio/iogetwline.c: Likewise.
732 * libio/iopadn.c: Likewise.
733 * libio/iopopen.c: Likewise.
734 * libio/ioseekoff.c: Likewise.
735 * libio/ioseekpos.c: Likewise.
736 * libio/iosetbuffer.c: Likewise.
737 * libio/iosetvbuf.c: Likewise.
738 * libio/ioungetc.c: Likewise.
739 * libio/ioungetwc.c: Likewise.
740 * libio/iovdprintf.c: Likewise.
741 * libio/iovsprintf.c: Likewise.
742 * libio/iovsscanf.c: Likewise.
743 * libio/memstream.c: Likewise.
744 * libio/obprintf.c: Likewise.
745 * libio/oldfileops.c: Likewise.
746 * libio/oldiofclose.c: Likewise.
747 * libio/oldiofdopen.c: Likewise.
748 * libio/oldiofopen.c: Likewise.
749 * libio/oldiopopen.c: Likewise.
750 * libio/oldstdfiles.c: Likewise.
751 * libio/putc.c: Likewise.
752 * libio/setbuf.c: Likewise.
753 * libio/setlinebuf.c: Likewise.
754 * libio/stdfiles.c: Likewise.
755 * libio/strops.c: Likewise.
756 * libio/vasprintf.c: Likewise.
757 * libio/vscanf.c: Likewise.
758 * libio/vsnprintf.c: Likewise.
759 * libio/vswprintf.c: Likewise.
760 * libio/wfiledoalloc.c: Likewise.
761 * libio/wfileops.c: Likewise.
762 * libio/wgenops.c: Likewise.
763 * libio/wmemstream.c: Likewise.
764 * libio/wstrops.c: Likewise.
765 * libio/__fpurge.c: Likewise.
766 * libio/__fsetlocking.c: Likewise.
767 * assert/assert.c: Likewise.
768 * debug/fgets_chk.c: Likewise.
769 * debug/fgets_u_chk.c: Likewise.
770 * debug/fread_chk.c: Likewise.
771 * debug/fread_u_chk.c: Likewise.
772 * debug/gets_chk.c: Likewise.
773 * debug/obprintf_chk.c: Likewise.
774 * debug/vasprintf_chk.c: Likewise.
775 * debug/vdprintf_chk.c: Likewise.
776 * debug/vsnprintf_chk.c: Likewise.
777 * debug/vsprintf_chk.c: Likewise.
778 * malloc/mtrace.c: Likewise.
779 * misc/error.c: Likewise.
780 * misc/syslog.c: Likewise.
781 * stdio-common/asprintf.c: Likewise.
782 * stdio-common/fxprintf.c: Likewise.
783 * stdio-common/getw.c: Likewise.
784 * stdio-common/isoc99_fscanf.c: Likewise.
785 * stdio-common/isoc99_scanf.c: Likewise.
786 * stdio-common/isoc99_vfscanf.c: Likewise.
787 * stdio-common/isoc99_vscanf.c: Likewise.
788 * stdio-common/isoc99_vsscanf.c: Likewise.
789 * stdio-common/printf-prs.c: Likewise.
790 * stdio-common/printf_fp.c: Likewise.
791 * stdio-common/printf_fphex.c: Likewise.
792 * stdio-common/printf_size.c: Likewise.
793 * stdio-common/putw.c: Likewise.
794 * stdio-common/scanf.c: Likewise.
795 * stdio-common/sprintf.c: Likewise.
796 * stdio-common/tmpfile.c: Likewise.
797 * stdio-common/vfprintf.c: Likewise.
798 * stdio-common/vfscanf.c: Likewise.
799 * stdlib/strfmon_l.c: Likewise.
800 * sunrpc/openchild.c: Likewise.
801 * sunrpc/xdr_stdio.c: Likewise.
802 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
803 * sysdeps/mach/hurd/tmpfile.c: Likewise.
805 2012-05-24 Roland McGrath <roland@hack.frob.com>
807 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
809 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
810 in the third column, to generate for the shared library an IFUNC
811 that uses _dl_vdso_vsym.
812 * Makerules (COMPILE.c, compile-stdin.c): New variables.
813 * Makeconfig (object-suffixes-noshared): New variable.
815 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
816 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
817 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
818 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
821 * include/sys/time.h (__gettimeofday): Remove macro.
822 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
823 * time/gettimeofday.c (__gettimeofday): Remove #undef.
825 (__gettimeofday): Add libc_hidden_def.
826 (gettimeofday): Add libc_hidden_weak.
827 * sysdeps/mach/gettimeofday.c: Likewise.
828 * sysdeps/posix/gettimeofday.c: Likewise.
829 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
830 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
831 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
832 (__gettimeofday_internal): Remove strong_alias.
833 (__gettimeofday): Add libc_hidden_def.
834 (gettimeofday): Add libc_hidden_weak.
835 * sysdeps/unix/syscalls.list (gettimeofday):
836 Remove __gettimeofday_internal alias.
838 2012-05-24 Daniel Jacobowitz <drow@false.org>
839 H.J. Lu <hongjiu.lu@intel.com>
842 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
843 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
844 (largebin_index_32_big): New.
845 (largebin_index): Use it for 16-byte alignment.
846 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
847 correction with front_misalign.
849 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
877 * scripts/data/c++-types-x32-linux-gnu.data: New file.
878 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
880 2012-05-24 Joseph Myers <joseph@codesourcery.com>
884 * math/libm-test.inc (exp_test): Add test from bug 14036.
885 (pow_test): Add test from bug 10846.
887 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
889 (special_function): Do not include flags in test name.
890 (parse_args): Likewise.
891 * sysdeps/i386/fpu/libm-test-ulps: Update.
892 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
893 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
894 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
897 * math/gen-libm-test.pl (%beautify): Add entries for underflow
899 * math/libm-test.inc ("Philosophy"): Update comment about
901 (UNDERFLOW_EXCEPTION): New macro.
902 (UNDERFLOW_EXCEPTION_OK): Likewise.
903 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
904 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
905 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
906 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
907 (INVALID_EXCEPTION_OK): Update value.
908 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
909 (OVERFLOW_EXCEPTION_OK): Likewise.
910 (IGNORE_ZERO_INF_SIGN): Likewise.
911 (test_exceptions): Handle underflow exceptions.
912 (acos_test): Update for underflow exception expectations.
913 (cexp_test): Likewise.
914 (clog_test): Likewise.
915 (clog10_test): Likewise.
916 (csqrt_test): Likewise.
917 (ctan_test): Likewise.
918 (ctanh_test): Likewise.
919 (exp_test): Likewise.
920 (exp10_test): Likewise.
921 (exp2_test): Likewise.
922 (expm1_test): Likewise.
923 (fma_test): Likewise.
926 (nexttoward_test): Likewise.
927 (pow_test): Likewise.
928 (scalbn_test): Likewise.
929 (scalbln_test): Likewise.
930 (tan_test): Likewise.
932 * sysdeps/i386/fpu/libm-test-ulps: Update.
933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
935 2012-05-23 David S. Miller <davem@davemloft.net>
937 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
938 (__libc_sigaction): Remove unused local variables.
940 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
942 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
944 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
946 mktime: avoid signed integer overflow
947 * time/mktime.c (__mktime_internal): Do not mishandle the case
948 where diff == INT_MIN.
950 mktime: simplify computation of average
951 * time/mktime.c (ranged_convert): Use new time_t_avg function
952 instead of rolling our own (probably-slower) code.
954 mktime: do not assume signed right shift propagates sign bit
955 * time/mktime.c (isdst_differ): New static function.
956 (__mktime_internal): No need to normalize tm_isdst now.
957 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
960 mktime: merge another wrapv change from gnulib
961 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
964 mktime: remove incorrect attempt at unusual arithmetics
965 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
966 The code didn't really work on such machines anyway.
967 (TYPE_MINIMUM): Assume two's complement.
968 (twos_complement_arithmetic): Verify that long_int and time_t
969 are two's complement (or unsigned, in the latter case).
971 mktime: check signed shifts on long_int and time_t, too
972 * time/mktime.c (SHR): Check that shifts work as desired
973 on the types long_int and time_t too, as SHR is used on
976 mktime: do not assume 'long' is wide enough
977 * time/mktime.c (verify): Move decl up.
978 (long_int): New type.
979 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
980 to remove assumption in the code that 'long' is wide enough to
981 store year values. This assumption is not true on x32 and on
982 some non-glibc platforms.
984 mktime: merge wrapv change from gnulib
985 * time/mktime.c (WRAPV): New macro.
986 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
987 (guess_time_tm, __mktime_internal): Do not assume that signed
988 integer overflow wraps around; modern compilers generate code
989 where this assumption is no longer valid.
991 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
993 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
994 Replace "jmp L(pseudo_end)" with "ret".
995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
998 2012-05-23 Andreas Jaeger <aj@suse.de>
1000 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1001 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1003 2012-05-23 Andreas Jaeger <aj@suse.de>
1004 Maximilian Attems <max@stro.at>
1006 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1009 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1011 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1012 code so that pseudo_end is just ret and the stack pointer is
1013 correct also for static library in error case.
1015 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1017 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1018 move to syscalls.list.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1024 * manual/install.texi (Running make install): Do not mention Linux
1025 kernel version for which pt_chown is not needed.
1026 (Linux): Do not mention problems with nscd with 2.0 kernels.
1027 * INSTALL: Regenerated.
1029 2012-05-23 Andreas Jaeger <aj@suse.de>
1031 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1032 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1034 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1035 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1036 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1037 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1038 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1039 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1040 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1041 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1042 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1043 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1044 * sysdeps/unix/sysv/linux/bits/in.h
1045 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1047 2012-05-22 Roland McGrath <roland@hack.frob.com>
1049 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1050 (PREPARE_VERSION): Just use assert instead, it will be elided
1051 under [NDEBUG] anyway.
1053 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1055 * sysdeps/unix/sysv/linux/Makefile: Include
1056 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1057 (sysdep_routines): Remove sysctl.
1058 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1059 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1060 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1061 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1062 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1064 2012-05-22 Andreas Jaeger <aj@suse.de>
1066 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1067 that pseudo_end is just ret and the stack pointer is correct also
1068 for static library in error case.
1070 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1073 * nss/nsswitch.c (defconfig_entries): New variable.
1074 (__nss_database_lookup): Don't leak defconfig entries.
1075 (nss_parse_service_list): Don't leak on error paths.
1076 (free_database_entries): New function.
1077 (free_defconfig): New function.
1078 (free_mem): Move common code to free_database_entries.
1080 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1082 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1084 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1086 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1087 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1090 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1091 (INTERNAL_SYSCALL_TYPES): Likewise.
1092 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1093 (LOAD_REGS_TYPES_[1-6]): Likewise.
1094 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1095 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1097 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1099 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1100 copysignl for GLIBC_2_0.
1101 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1102 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1103 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1104 logbl for GLIBC_2_0.
1105 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1106 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1108 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1110 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1111 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1113 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1116 * time/mktime.c: Update copyright years.
1118 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1120 mktime: merge comment-quoting-style change from gnulib
1121 * time/mktime.c: Quote 'like this' in comments.
1122 The GNU coding standards suggest that we no longer quote `like this',
1123 as "`" and "'" are typically rendered asymmetrically nowadays.
1124 The typical gnulib style is to quote 'like this' when quoting
1125 code, and "like this" when quoting English.
1127 * time/mktime.c (compile-command): Add "-I.".
1129 mktime: merge mktime-internal.h change from gnulib
1130 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1132 mktime: merge time_r change from gnulib
1133 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1135 mktime: merge DEBUG change from gnulib
1136 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1137 case system <time.h> has a #define.
1139 mktime: merge <sys/types.h> change from gnulib
1140 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1141 since <time.t> is now guaranteed to define time_t.
1143 mktime: merge HAVE_CONFIG_H change from gnulib
1144 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1146 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1151 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1153 (struct rusage): Use anonymous union to pad each field to
1156 2012-05-21 David S. Miller <davem@davemloft.net>
1158 * Makefules (o-iterator): Remove .s cases.
1159 (compile-command.s): Delete.
1160 (COMPILE.s): Delete.
1161 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1163 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1165 * configure.in (libc_cv_predef_stack_protector): Only consider
1166 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1167 * configure: Regenerated.
1169 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1172 New macro. Use R*LP on int and pointer.
1173 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1174 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1175 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1176 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1178 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1179 [__WORDSIZE_TIME64_COMPAT32] instead of
1180 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1181 (struct utmp): Likewise.
1182 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1183 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1185 (__WORDSIZE_TIME64_COMPAT32): This.
1186 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1187 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1188 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1190 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1191 (__WORDSIZE_TIME64_COMPAT32): New macro.
1193 2012-05-21 Andreas Jaeger <aj@suse.de>
1195 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1196 only if [SHARED]. Add prototype for __wcschr_ia32.
1198 2012-05-21 Roland McGrath <roland@hack.frob.com>
1200 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1201 of %rbp unmolested in the jmp_buf while mangling the low bits.
1202 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1203 unmolested high bits of %rbp while demangling the low bits.
1204 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1206 2012-05-21 Andreas Jaeger <aj@suse.de>
1208 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1209 * sunrpc/svc_simple.c: Use it for registerrpc.
1210 * sunrpc/xcrypt.c: Use it for passwd2des.
1212 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1214 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1216 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1217 Don't define if [__SYSCALL_WORDSIZE != 32].
1218 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1221 2012-05-21 Bruno Haible <bruno@clisp.org>
1222 Andreas Jaeger <aj@suse.de>
1224 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1225 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1226 inptr and inend for must_buffer_ch.
1227 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1228 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1229 * stdio-common/Makefile (tests): Remove bug15.
1230 (bug15-ENV): Remove macro.
1231 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1234 2012-05-19 Andreas Jaeger <aj@suse.de>
1235 Roland McGrath <roland@hack.frob.com>
1237 * manual/contrib.texi: Completely rewritten. It contains now an
1238 alphabetical list of contributors and their contributions.
1240 2012-05-21 Richard Henderson <rth@twiddle.net>
1242 * misc/getauxval.c (__getauxval): Use unsigned long int.
1243 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1244 (getauxval): Use unsigned long int.
1246 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1248 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1250 2012-05-21 Roland McGrath <roland@hack.frob.com>
1252 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1253 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1254 __alignof__ (long double).
1256 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1260 2012-05-20 Richard Henderson <rth@twiddle.net>
1262 * misc/getauxval.c: New file.
1263 * misc/sys/auxv.h: New file.
1264 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1265 (routines): Add getauxval.
1266 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1267 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1268 * elf/dl-sysdep.c (_dl_auxv): Remove.
1269 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1270 * elf/dl-support.c (_dl_auxv): New variable.
1271 (_dl_aux_init): Initialize it.
1272 * manual/startup.texi (Auxiliary Vector): New node.
1273 * sysdeps/generic/bits/hwcap.h: New file.
1274 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1275 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1276 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1277 * sysdeps/sparc/sysdep.h: ... here. Include it.
1278 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1279 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1284 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1285 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1287 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1291 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1295 2012-05-19 David S. Miller <davem@davemloft.net>
1297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1299 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1302 * math/s_ccosh.c: Include <float.h>
1303 (__ccosh): Avoid internal overflow calculating sinh and cosh
1304 values before multiplying by sin and cos values.
1305 * math/s_ccoshf.c: Likewise.
1306 * math/s_ccoshl.c: Likewise.
1307 * math/s_csin.c: Likewise.
1308 * math/s_csinf.c: Likewise.
1309 * math/s_csinl.c: Likewise.
1310 * math/s_csinh.c: Likewise.
1311 * math/s_csinhf.c: Likewise.
1312 * math/s_csinhl.c: Likewise.
1313 * math/libm-test.inc (ccos_test): Add more tests.
1314 (ccosh_test): Likewise.
1315 (csin_test): Likewise.
1316 (csinh_test): Likewise.
1317 * sysdeps/i386/fpu/libm-test-ulps: Update.
1318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1320 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1322 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1323 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1325 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1327 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1329 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1330 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1331 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1332 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1333 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1334 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1335 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1336 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1337 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1338 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1339 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1340 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1341 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1342 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1343 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1344 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1345 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1346 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1347 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1348 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1349 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1350 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1351 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1352 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1353 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1354 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1355 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1356 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1357 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1358 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1359 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1361 2012-05-18 Andreas Jaeger <aj@suse.de>
1363 * csu/.gitignore: Delete.
1365 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1367 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1368 (timex): Use __syscall_slong_t.
1370 2012-05-18 Andreas Jaeger <aj@suse.de>
1371 Carlos O'Donell <carlos_odonell@mentor.com>
1373 * manual/install.texi (Configuring and compiling): Update
1374 description about files modified in the source directory.
1375 * INSTALL: Regenerated.
1377 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1379 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1380 value. Use "or" to set return value to -1.
1381 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1382 negate return value.
1384 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1386 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1387 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1388 failure if the compiler has Graphite support disabled.
1389 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1391 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1392 CFLAGS-memmove.c): Likewise.
1393 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1396 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1398 * sysdeps/x86_64/x32/_itoa.h: New file.
1400 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1401 getdents system call only if kernel and user dirents have the
1402 same d_ino and d_off.
1404 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1405 LLONG_MAX != LONG_MAX.
1406 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1407 (_fitoa_word): Likewise.
1409 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1411 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1412 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1413 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1415 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1416 include <bits/wordsize.h>. Check __x86_64__ instead of
1418 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1419 if __x86_64__ is defined. Use anonymous union on fpstate.
1421 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1424 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1426 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1427 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1428 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1429 Refer to _rtld_local_ro instead of _rtld_global_ro.
1430 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1432 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1434 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1436 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1437 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1438 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1440 * sysdeps/powerpc/powerpc32/dl-machine.c
1441 (__elf_machine_runtime_setup) [PROF]: Don't reference
1444 2012-05-18 Andreas Jaeger <aj@suse.de>
1446 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1447 function only available for GCCs before 3.4 since GCC 3.4
1448 introduced a builtin.
1450 (llrintf): Likewise.
1458 (nearbyint): Likewise.
1459 (nearbyintf): Likewise.
1465 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1467 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1468 on both fields and cast pointer to __syscall_ulong_t.
1470 * bits/types.h (__fsword_t): New type.
1471 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1472 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1473 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1474 (__FSWORD_T_TYPE): Likewise.
1475 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1476 (__FSWORD_T_TYPE): Likewise.
1477 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1478 (__FSWORD_T_TYPE): Likewise.
1479 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1480 (__FSWORD_T_TYPE): Likewise.
1481 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1482 __SWORD_TYPE with __fsword_t.
1483 (statfs64): Likewise.
1485 2012-05-17 David S. Miller <davem@davemloft.net>
1487 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1489 2012-05-17 Andreas Jaeger <aj@suse.de>
1491 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1494 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1496 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1498 2012-05-17 Andreas Jaeger <aj@suse.de>
1500 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1503 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1505 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1507 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1509 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1510 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1512 2012-05-17 Andreas Jaeger <aj@suse.de>
1513 Carlos O'Donell <carlos_odonell@mentor.com>
1516 * sysdeps/x86_64/multiarch/init-arch.h
1517 (bit_YMM_Usable): Rename to...
1518 (bit_AVX_Usable): ... this.
1519 (bit_FMA4_Usable): New macro.
1520 (bit_XMM_state): New macro.
1521 (bit_YMM_state): New macro.
1522 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1523 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1524 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1525 (CPUID_OSXSAVE): New macro.
1526 (CPUID_AVX): New macro.
1527 (CPUID_FMA4): New macro.
1528 (index_YMM_Usable): Rename to...
1529 (index_AVX_Usable): ... this.
1530 (HAS_AVX): Use HAS_ARCH_FEATURE.
1531 (HAS_FMA4): Likewise.
1532 (HAS_YMM_USABLE): Remove.
1533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1534 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1536 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1537 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1538 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1539 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1540 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1542 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1544 * math/libm-test.c: Support platforms without multiple rounding modes.
1545 * math/bug-nextafter.c: Support platforms without FP exceptions.
1546 * math/bug-nexttoward.c: Likewise.
1547 * math/test-fenv.c: Likewise.
1548 * math/test-misc.c: Likewise.
1549 * stdlib/bug-getcontext.c: Likewise.
1551 2012-05-17 Andreas Jaeger <aj@suse.de>
1553 * manual/examples/search.c (critter_cmp): Change signature to
1555 * manual/string.texi (Collation Functions): Likewise.
1557 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1559 * bits/types.h: Fold copyright years.
1560 * bits/typesizes.h: Likewise.
1561 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1562 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1563 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1564 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1565 * time/time.h: Likewise.
1567 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1570 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1571 in instead of returning them. Return void.
1572 (__libc_mallinfo): Accumulate over all arenas.
1573 (__malloc_stats): Adjust for change in int_mallinfo interface.
1575 2012-05-16 Roland McGrath <roland@hack.frob.com>
1578 * configure.in (NM): Add AC_CHECK_TOOL for it.
1579 (libc_extra_cflags): New substituted variable.
1580 Check for -fstack-protector being used implicitly.
1581 * configure: Regenerated.
1582 * config.make.in (config-extra-cflags): New variable,
1583 gets @libc_extra_cflags@.
1584 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1587 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1588 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1589 * configure: Regenerated.
1590 * config.make.in (CPPUNDEFS): New substituted variable.
1591 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1592 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1593 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1595 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1597 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1598 (mq_attr): Use __syscall_slong_t.
1600 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1602 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1603 Check __x86_64__ instead of __WORDSIZE.
1604 (_STAT_VER_LINUX): Likewise.
1605 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1606 __syscall_ulong_t and __syscall_slong_t.
1609 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1611 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1613 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1615 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1617 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1619 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1622 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1623 include <bits/wordsize.h>. Check __x86_64__ instead of
1625 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1627 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1629 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1630 include <bits/wordsize.h>. Check __x86_64__ instead of
1632 (user_regs_struct): Use "__extension__ unsigned long long"
1633 instead of "unsigned long" if __x86_64__ is defined.
1634 (user): Likewise. Pad after pointer field if __ILP32__ is
1637 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1639 * configure.in (makeinfo): Require version 4.5 or later. Allow
1641 * configure: Regenerated.
1642 * manual/install.texi (texinfo): Increase version requirement to
1644 * INSTALL: Regenerated.
1646 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1648 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1650 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1652 * sysdeps/x86_64/x32/ffs.c: New file.
1654 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1656 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1657 defined. Use __syscall_ulong_t.
1658 (shminfo): Use __syscall_ulong_t.
1659 (shm_info): Likewise.
1661 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1664 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1666 (msgqnum_t): Use __syscall_ulong_t.
1667 (msglen_t): Likewise.
1668 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1671 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1672 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1674 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1676 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1677 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1679 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1682 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1683 include <bits/wordsize.h>. Check __x86_64__ instead of
1686 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1687 "unsigned long long int" if __x86_64__ is defined.
1688 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1690 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1691 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1692 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1694 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1696 (GET_PC): Cast to uintptr_t first.
1697 (GET_FRAME): Likewise.
1698 (GET_STACK): Likewise.
1700 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1701 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1702 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1703 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1704 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1705 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1706 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1707 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1708 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1709 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1710 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1711 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1712 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1713 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1714 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1715 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1716 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1717 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1718 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1719 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1720 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1721 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1722 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1723 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1724 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1725 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1726 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1727 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1728 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1730 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1732 * Makerules (+depfiles): Also collect depfiles from .oS in
1734 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1735 .oS, $(libnldbl-routines)).
1737 * Makerules (native-compile-mkdep-flags): Define.
1738 * sunrpc/Makefile (extra-objs): Add $(addprefix
1739 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1740 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1741 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1742 calling $(make-target-directory).
1744 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1746 * bits/types.h (__snseconds_t): Removed.
1747 * time/time.h (struct timespec): Replace __snseconds_t with
1749 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1750 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1752 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1753 (__SNSECONDS_T_TYPE): Likewise.
1754 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1755 (__SNSECONDS_T_TYPE): Likewise.
1756 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1757 (__SNSECONDS_T_TYPE): Likewise.
1759 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1761 * sysdeps/mach/hurd/bits/typesizes.h
1762 (__SYSCALL_SLONG_TYPE): New macro.
1763 (__SYSCALL_ULONG_TYPE): Likewise.
1765 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1767 * bits/types.h (__syscall_slong_t): New type.
1768 (__syscall_ulong_t): Likewise.
1770 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1771 (__SYSCALL_ULONG_TYPE): Likewise.
1772 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1773 (__SYSCALL_SLONG_TYPE): Likewise.
1774 (__SYSCALL_ULONG_TYPE): Likewise.
1775 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1776 (__SYSCALL_SLONG_TYPE): Likewise.
1777 (__SYSCALL_ULONG_TYPE): Likewise.
1778 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1779 (__SYSCALL_SLONG_TYPE): Likewise.
1780 (__SYSCALL_ULONG_TYPE): Likewise.
1782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1784 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1785 Add sigaltstack-offsets.sym.
1786 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1787 <sigaltstack-offsets.h>.
1788 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1789 longjmp_msg pointer.
1790 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1791 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1793 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1795 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1797 * elf/stackguard-macros.h: Remove file.
1798 * sysdeps/generic/stackguard-macros.h: New file.
1799 * sysdeps/i386/stackguard-macros.h: Likewise.
1800 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1801 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1802 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1803 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1804 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1805 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1806 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1807 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1808 <elf/stackguard-macros.h>.
1811 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1812 __aligned__ in attribute.
1813 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1814 (gregset_t): Likewise.
1816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1818 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1819 * sysdeps/x86_64/64/Implies-after: Here. New file.
1820 * sysdeps/x86_64/x32/Implies-after: New file.
1822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1824 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1825 and access return value for _dl_profile_fixup. Use R10_LP to
1828 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1830 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1834 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1835 * sysdeps/x86_64/x32/sysdep.h: New file.
1837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1839 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1840 * sysdeps/x86_64/setjmp.S: Likewise.
1842 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1844 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1845 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1846 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1847 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1848 remove unused global constant.
1850 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1852 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1853 include of <not-cancel.h>.
1855 2012-05-15 Roland McGrath <roland@hack.frob.com>
1857 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1859 2012-05-15 Jeff Law <law@redhat.com>
1860 Andreas Jaeger <aj@suse.de>
1863 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1865 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1866 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1867 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1868 code changing __hst_map_handle.map.
1870 2012-05-15 Roland McGrath <roland@hack.frob.com>
1872 * configure.in (sysnames): Look for Implies-before and Implies-after
1874 * configure: Regenerated.
1876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1878 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1879 8-byte data alignment with LP_SIZE alignment.
1881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1883 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1888 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1892 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1893 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1894 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1896 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1898 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1900 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1901 (stackinfo_sub_sp): Likewise.
1903 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1905 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1908 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1910 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1913 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1915 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1918 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1920 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1924 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1925 into R11_LP and load __x86_64_shared_cache_size_half into
1928 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1930 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1933 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1935 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1937 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1939 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1941 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1942 powerpc32/power7/fpu/s_logb.c via #include.
1943 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1944 powerpc32/power7/fpu/s_logbf.c via #include.
1945 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1946 powerpc32/power7/fpu/s_logbl.c via #include.
1948 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1950 * README.libm: Remove file.
1952 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1954 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1955 count for x32. Use R*_LP and omit operand-size suffix.
1957 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1959 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1960 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1961 * sysdeps/x86_64/x32/shlib-versions: New file.
1963 2012-05-14 Roland McGrath <roland@hack.frob.com>
1965 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1966 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1967 Use _dl_fatal_printf instead.
1969 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1971 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1972 set if not set by the user. Do not allow for being unset.
1973 * sysdeps/unix/sysv/linux/configure: Regenerated.
1975 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1977 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1978 the `q' suffix from lea and replace .quad with ASM_ADDR.
1980 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1982 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1983 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1985 (PTR_DEMANGLE): Likewise.
1987 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1989 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1991 (ASM_ADDR): Likewise.
2009 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2011 * sysdeps/x86_64/x32/dl-machine.h: New file.
2013 2012-05-14 Andreas Jaeger <aj@suse.de>
2015 * manual/Makefile (subdir): Remove export of subdir.
2016 (all): Remove target.
2017 (.PHONY): Remove all from list.
2018 (mkinstalldirs): Remove.
2019 (.PHONY): Remove installdirs from list.
2020 ($(inst_infodir)/libc.info): Use make-target-directory.
2021 (installdirs): Remove.
2023 (glibc-targets): Remove.
2026 ($(objpfx)stubs ../po/manual.pot): Remove.
2027 ($(objpfx)stamp%): Remove.
2028 (make-target-directory): Remove.
2029 (subdir_install): Remove.
2037 * manual/.gitignore: Remove, it's not needed anymore.
2038 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2040 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2042 (texis): Renamed to $(objpfx)texis.
2043 (texis-path): New, contains path to generated files.
2044 (chapters.%): Use texis-path for complete path, add extra argument
2046 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2047 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2048 (summary,texi, stamp-summary): Use complete path of
2049 files. Generate files in build dir.
2050 (dir-add.texi): Build in build dir.
2051 (libm-err.texi,stamp-libm-err): Likewise.
2052 (version.texi, stamp-version): Likewise.
2053 (.%c.texi): Likewise.
2054 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2055 (mostlyclean): Remove target.
2056 (realclean): Remove target.
2057 (generated): Add new variable with contents from mostlyclean and
2058 realclean, remove entries duplicated in common-mostlyclean, add
2059 stamp-libm-err and stamp-version.
2060 (generated-dirs): Add libc directory.
2061 ($(inst_infodir)/libc.info): Install files from build dir.
2063 * manual/install.texi (Configuring and compiling): Adjust since
2064 the info files are not part of the tar ball anymore.
2066 2012-05-14 Andreas Jaeger <aj@suse.de>
2068 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2071 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2074 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2075 to 2.2.0 where earlier.
2076 * sysdeps/unix/sysv/linux/configure: Regenerated.
2077 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2078 Remove conditional code.
2079 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2080 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2081 Remove conditional code.
2082 [!__NR_lchown]: Likewise.
2083 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2084 [__NR_lchown]: Likewise.
2085 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2086 comment referencing __ASSUME_LCHOWN_SYSCALL.
2087 * sysdeps/unix/sysv/linux/i386/sigaction.c
2088 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2089 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2090 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2091 Remove conditional code.
2092 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2093 (__protocol_available): Remove #if 0 code.
2094 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2096 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2097 * sysdeps/unix/sysv/linux/kernel-features.h
2098 (__ASSUME_GETCWD_SYSCALL): Don't define.
2099 (__ASSUME_REALTIME_SIGNALS): Likewise.
2100 (__ASSUME_PREAD_SYSCALL): Likewise.
2101 (__ASSUME_PWRITE_SYSCALL): Likewise.
2102 (__ASSUME_POLL_SYSCALL): Likewise.
2103 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2104 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2106 (__ASSUME_SIOCGIFNAME): Don't define.
2107 (__ASSUME_MSG_NOSIGNAL): Likewise.
2108 (__ASSUME_SENDFILE): Define unconditionally.
2109 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2110 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2112 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2113 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2114 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2115 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2116 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2117 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2118 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2120 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2121 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2123 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2124 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2126 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2127 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2129 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2130 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2132 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2133 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2135 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2136 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2138 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2139 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2141 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2142 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2143 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2144 Remove conditional code.
2145 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2146 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2147 Remove conditional code.
2148 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2149 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2150 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2151 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2152 Remove conditional code.
2153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2154 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2155 Remove conditional code.
2156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2157 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2158 Remove conditional code.
2159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2160 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2161 Remove conditional code.
2162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2163 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2164 Remove conditional code.
2165 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2166 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2167 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2168 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2169 * sysdeps/unix/sysv/linux/sigaction.c
2170 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2171 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2172 * sysdeps/unix/sysv/linux/sigpending.c
2173 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2174 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2175 * sysdeps/unix/sysv/linux/sigprocmask.c
2176 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2177 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2178 * sysdeps/unix/sysv/linux/sigsuspend.c
2179 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2180 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2181 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2182 (__libc_missing_rt_sigs): Remove.
2183 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2184 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2185 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2186 Remove conditional code.
2187 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2188 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2190 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2191 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2192 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2193 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2195 2012-05-14 Andreas Jaeger <aj@suse.de>
2197 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2198 it's not used in glibc.
2199 (__coshm1): Likewise.
2200 (__acosh1p): Likewise.
2203 * manual/string.texi (Copying and Concatenation): Add missing
2204 variable in concat example.
2205 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2207 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2210 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2211 __builtin_clzl with __builtin_clzll.
2213 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2216 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2219 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2221 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2222 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2223 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2224 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2226 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2228 * NEWS: Update ia64 info.
2230 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2232 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2235 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2237 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2238 * sysdeps/unix/syscalls.list (dup3): Likewise.
2239 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2240 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2242 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2244 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2245 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2247 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2249 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2251 (TLS_IE): Use mov/add instead of movq/addq to load thread
2253 (TLS_GD_PREFIX): New.
2256 2012-05-11 David S. Miller <davem@davemloft.net>
2258 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2259 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2260 (_FPU_SETCW): Likewise.
2262 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2264 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2267 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2270 * iconvdata/gb18030.c: Update tables.
2271 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2272 characters specially.
2273 (BODY for TO_LOOP): Add encoding of missing ranges.
2275 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2278 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2279 * sysdeps/mach/hurd/dup3.c: Likewise.
2280 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2281 * sysdeps/powerpc/memmove.c:: Likewise.
2283 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2285 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2286 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2288 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2290 * elf/elf.h (R_X86_64_RELATIVE64): New.
2291 (R_X86_64_NUM): Updated.
2292 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2293 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2294 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2295 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2296 tst-quad1pie tst-quad2pie
2297 (modules-names): Add tst-quadmod1 tst-quadmod2.
2298 ($(objpfx)tst-quad1): New dependency.
2299 ($(objpfx)tst-quad2): Likewise.
2300 ($(objpfx)tst-quad1pie): Likewise.
2301 ($(objpfx)tst-quad2pie): Likewise.
2302 * sysdeps/x86_64/tst-quad1.c: New file.
2303 * sysdeps/x86_64/tst-quad1pie.c: New file.
2304 * sysdeps/x86_64/tst-quad2.c: Likewise.
2305 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2306 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2307 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2308 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2309 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2311 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2313 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2314 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2315 * streams/stropts.h (t_scalar_t): Define type.
2317 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2318 (_PATH_PRESERVE): Set to "/var/lib".
2319 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2321 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2324 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2325 if __dir_mkfile succeeded.
2327 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2328 checking for _hurd_dtablesize. Unlock it right after having
2329 finished _hurd_dtable allocation.
2331 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2333 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2334 * sysdeps/mach/hurd/configure: Regenerated.
2335 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2336 special-casing to...
2337 * sysdeps/gnu/configure.in: ... this new file.
2338 * sysdeps/unix/sysv/linux/configure: Regenerated.
2339 * sysdeps/gnu/configure: New generated file.
2341 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2342 for Linux: use nsec instead of usec, as well as:
2343 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2344 members of type struct timespec.
2345 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2347 (struct stat64): Likewise.
2348 (_STATBUF_ST_NSEC): New macro.
2349 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2351 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2352 __strtoul_internal rather than strtoul.
2354 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2356 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2359 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2361 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2362 which preserves existing values.
2363 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2365 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2367 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2368 TIMEOUT values. Return EINVAL for NFDS values either negative or
2369 greater than FD_SETSIZE.
2371 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2373 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2374 allocated, call __vm_protect to finish enabling the existing space, and
2375 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2376 allocate the remainder.
2378 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2380 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2381 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2383 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2385 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2386 sysdeps/mach/hurd/readlink.c.
2388 * posix/tst-sysconf.c (posix_options): Only use
2389 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2390 _POSIX_SYNCHRONIZED_IO when they are defined
2391 * sysdeps/mach/hurd/bits/posix_opt.h:
2392 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2393 (_XOPEN_REALTIME): Undefine macro.
2394 (_XOPEN_REALTIME_THREADS): Undefine macro.
2395 (_XOPEN_SHM): Undefine macro.
2396 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2398 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2400 (_POSIX_ASYNC_IO): Undefine macro.
2401 (_POSIX_PRIORITIZED_IO): Undefine macro.
2402 (_POSIX_SPIN_LOCKS): Define macro to -1.
2404 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2405 SA_NODEFER, SA_RESETHAND.
2406 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2407 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2410 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2412 * elf/Makefile (pldd-modules): Define unconditionally.
2414 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2416 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2418 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2420 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2421 Return ENOENT when name is empty.
2422 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2424 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2426 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2428 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2430 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2432 Fix mlock in all cases except non-readable pages.
2433 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2434 instead of VM_PROT_ALL as parameter to __vm_wire function.
2436 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2437 (__mkdir): When path is `/', just fail with EEXIST.
2438 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2440 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2442 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2443 <sys/uio.h> (for writev).
2444 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2445 and <sys/param.h> (for MIN).
2447 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2449 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2450 REQUESTED_TIME. Properly set the remaining time and return EINTR
2453 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2455 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2456 Depend on against $(link-rpcuserlibs).
2458 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2460 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2461 (__libc_stack_end): Do not use attribute_relro.
2462 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2463 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2464 to libthread-provided value.
2465 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2468 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2471 * bits/libc-lock.h (__libc_once_get): New macro.
2472 * sysdeps/mach/bits/libc-lock.h: Likewise.
2473 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2474 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2475 instead of using implementation details.
2477 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2478 * libio/freopen.c: Likewise.
2479 * libio/freopen64.c: Likewise.
2480 * misc/syslog.c: Likewise.
2481 * nscd/connections.c: Likewise.
2482 * nscd/netgroupcache.c: Likewise.
2483 * sysdeps/posix/getcwd.c: Likewise.
2485 2012-05-10 Roland McGrath <roland@hack.frob.com>
2487 * math/w_ilogbf.c: Add #include <limits.h>.
2489 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2491 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2492 path instead of returning without unlocking.
2494 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2495 immediate-write ioctls.
2496 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2498 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2500 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2501 __builtin_frame_address instead of making assumptions about the
2502 location of the return address relative to DATA. Force early load of
2504 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2505 __builtin_frame_address.
2508 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2509 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2510 implement dup3 and do some further code clean-ups.
2511 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2512 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2514 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2516 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2518 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2519 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2520 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2521 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2522 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2525 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2526 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2527 when handler == SIG_ERR, not when handler != SIG_ERR.
2529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2531 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2532 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2535 accept4 for GNU Hurd.
2536 * include/sys/socket.h (__libc_accept4): New prototype.
2537 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2538 to implement __libc_accept4.
2539 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2541 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2543 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2544 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2545 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2548 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2550 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2552 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2554 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2555 assertion on O_CLOEXEC flag.
2556 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2557 * hurd/intern-fd.c: Likewise.
2558 * hurd/port2fd.c: Likewise.
2560 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2563 * bits/in.h (IPV6_PKTINFO): Define new macro.
2564 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2566 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2571 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2572 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2573 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2574 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2575 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2576 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2577 * math/libm-test.inc (logb_test) : Additional logb tests.
2579 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2580 Andreas Jaeger <aj@suse.de>
2582 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2583 * configure: Regenerated.
2584 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2585 * config.make.in (link-obsolete-rpc): New substituted variable.
2586 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2587 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2588 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2589 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2590 so that libc.a contains the symbols.
2591 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2592 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2593 * sunrpc/auth_none.c: Likewise.
2594 * sunrpc/auth_unix.c: Likewise.
2595 * sunrpc/authdes_prot.c: Likewise.
2596 * sunrpc/authuxprot.c: Likewise.
2597 * sunrpc/clnt_gen.c: Likewise.
2598 * sunrpc/clnt_perr.c: Likewise.
2599 * sunrpc/clnt_raw.c: Likewise.
2600 * sunrpc/clnt_simp.c: Likewise.
2601 * sunrpc/clnt_tcp.c: Likewise.
2602 * sunrpc/clnt_udp.c: Likewise.
2603 * sunrpc/clnt_unix.c: Likewise.
2604 * sunrpc/des_crypt.c: Likewise.
2605 * sunrpc/des_soft.c: Likewise.
2606 * sunrpc/get_myaddr.c: Likewise.
2607 * sunrpc/key_call.c: Likewise.
2608 * sunrpc/key_prot.c: Likewise.
2609 * sunrpc/netname.c: Likewise.
2610 * sunrpc/pm_getmaps.c: Likewise.
2611 * sunrpc/pm_getport.c: Likewise.
2612 * sunrpc/pmap_clnt.c: Likewise.
2613 * sunrpc/pmap_prot.c: Likewise.
2614 * sunrpc/pmap_prot2.c: Likewise.
2615 * sunrpc/pmap_rmt.c: Likewise.
2616 * sunrpc/publickey.c: Likewise.
2617 * sunrpc/rpc_cmsg.c: Likewise.
2618 * sunrpc/rpc_common.c: Likewise.
2619 * sunrpc/rpc_dtable.c: Likewise.
2620 * sunrpc/rpc_prot.c: Likewise.
2621 * sunrpc/rpc_thread.c: Likewise.
2622 * sunrpc/rtime.c: Likewise.
2623 * sunrpc/svc.c: Likewise.
2624 * sunrpc/svc_auth.c: Likewise.
2625 * sunrpc/svc_raw.c: Likewise.
2626 * sunrpc/svc_run.c: Likewise.
2627 * sunrpc/svc_tcp.c: Likewise.
2628 * sunrpc/svc_udp.c: Likewise.
2629 * sunrpc/svc_unix.c: Likewise.
2630 * sunrpc/svcauth_des.c: Likewise.
2631 * sunrpc/xcrypt.c: Likewise.
2632 * sunrpc/xdr.c: Likewise.
2633 * sunrpc/xdr_array.c: Likewise.
2634 * sunrpc/xdr_float.c: Likewise.
2635 * sunrpc/xdr_intXX_t.c: Likewise.
2636 * sunrpc/xdr_mem.c: Likewise.
2637 * sunrpc/xdr_rec.c: Likewise.
2638 * sunrpc/xdr_ref.c: Likewise.
2639 * sunrpc/xdr_sizeof.c: Likewise.
2640 * sunrpc/xdr_stdio.c: Likewise.
2642 2012-05-10 Roland McGrath <roland@hack.frob.com>
2644 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2645 change. Update copyright years.
2647 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2649 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2651 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2652 Joseph Myers <joseph@codesourcery.com>
2653 Paul Pluzhnikov <ppluzhnikov@google.com>
2656 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2658 [cross-compiling] (extra-libs): Likewise.
2659 [cross-compiling] (extra-libs-others): Likewise.
2660 [cross-compiling] (librpcsvc-routines): Likewise.
2661 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2662 [cross-compiling] (omit-deps): Likewise.
2663 (sunrpc-CPPFLAGS): New variable.
2664 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2665 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2666 (cross-rpcgen-objs): New variable.
2667 (extra-objs): Append $(cross-rpcgen-objs).
2668 ($(cross-rpcgen-objs)): New rule.
2669 ($(objpfx)cross-rpcgen): Likewise.
2670 (rpcgen-cmd): Define to use $(built-program-file). Expand
2672 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2673 ($(objpfx)x%.stmp): Likewise.
2674 * sunrpc/proto.h [IS_IN_build] (_): Define.
2675 [IS_IN_build] (_libc_intl_domainname): Likewise.
2677 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2679 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2680 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2681 and R_X86_64_TPOFF64.
2683 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2685 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2686 sysdeps/unix/sysv/syscalls.list.
2689 * sysdeps/unix/sysv/syscalls.list: Remove file.
2691 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2694 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2695 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2696 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2697 (__LC_IDENTIFICATION): Make these macros useful in #if
2698 expressions, as required by C99.
2700 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2702 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2703 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2706 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2708 * stdlib/longlong.h: Updated from GCC.
2710 2012-05-09 Andreas Jaeger <aj@suse.de>
2712 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2713 default is first entry.
2714 (run_mode): Set type.
2715 (main): Remove informal message about syslog.
2716 (options): Fix typo.
2719 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2722 (llrintf): Likewise.
2726 (nearbyint): Likewise.
2727 (nearbyintf): Likewise.
2729 2012-05-09 Andreas Jaeger <aj@suse.de>
2730 Pedro Alves <palves@redhat.com>
2732 * nscd/nscd.c (run_mode): Use enum.
2733 (main): Cleanup coding style issue.
2735 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2736 Andreas Jaeger <aj@suse.de>
2738 * nscd/nscd.c (go_background): Replaced with...
2739 (run_mode): ... this.
2740 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2741 (options): Add -F --foreground.
2742 (main): Implement it.
2743 (parse_opt): Parse it.
2745 2012-05-09 Andreas Jaeger <aj@suse.de>
2748 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2749 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2750 -Wconversion warning.
2751 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2754 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2756 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2758 (LC_ALL): Use macro-int-constant.
2759 (LC_COLLATE): Likewise.
2760 (LC_CTYPE): Likewise.
2761 (LC_MESSAGES): Likewise.
2762 (LC_MONETARY): Likewise.
2763 (LC_NUMERIC): Likewise.
2764 (LC_TIME): Likewise.
2765 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2766 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2767 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2768 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2770 [C99-based standards] (float_t): Expect type.
2771 [C99-based standards] (double_t): Expect type.
2772 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2774 [C99-based standards] (HUGE_VALL): Likewise.
2775 [C99-based standards] (INFINITY): Likewise.
2776 [C99-based standards] (NAN): Likewise.
2777 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2778 [C99-based standards] (FP_NAN): Likewise.
2779 [C99-based standards] (FP_NORMAL): Likewise.
2780 [C99-based standards] (FP_SUBNORMAL): Likewise.
2781 [C99-based standards] (FP_ZERO): Likewise.
2782 [C99-based standards] (FP_FAST_FMA): Use
2783 optional-macro-int-constant. Specify type. Require == 1.
2784 [C99-based standards] (FP_FAST_FMAF): Likewise.
2785 [C99-based standards] (FP_FAST_FMAL): Likewise.
2786 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2787 [C99-based standards] (FP_ILOGBNAN): Likewise.
2788 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2790 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2791 [C99-based standards] (math_errhandling): Specify type.
2792 [ISO99 || ISO11] (signgam): Do not allow.
2793 [non-C99-based standards] (copysignf): Do not allow.
2794 [non-C99-based standards] (exp2f): Likewise.
2795 [non-C99-based standards] (log2f): Likewise.
2796 [non-C99-based standards] (modff): Allow.
2797 [non-C99-based standards] (erff): Do not allow.
2798 [non-C99-based standards] (erfcf): Likewise.
2799 [non-C99-based standards] (gammaf): Likewise.
2800 [non-C99-based standards] (hypotf): Likewise.
2801 [non-C99-based standards] (j0f): Likewise.
2802 [non-C99-based standards] (j1f): Likewise.
2803 [non-C99-based standards] (jnf): Likewise.
2804 [non-C99-based standards] (lgammaf): Likewise.
2805 [non-C99-based standards] (tgammaf): Likewise.
2806 [non-C99-based standards] (y0f): Likewise.
2807 [non-C99-based standards] (y1f): Likewise.
2808 [non-C99-based standards] (ynf): Likewise.
2809 [non-C99-based standards] (isnanf): Likewise.
2810 [non-C99-based standards] (acoshf): Likewise.
2811 [non-C99-based standards] (asinhf): Likewise.
2812 [non-C99-based standards] (atanhf): Likewise.
2813 [non-C99-based standards] (cbrtf): Likewise.
2814 [non-C99-based standards] (expm1f): Likewise.
2815 [non-C99-based standards] (ilogbf): Likewise.
2816 [non-C99-based standards] (log1pf): Likewise.
2817 [non-C99-based standards] (logbf): Likewise.
2818 [non-C99-based standards] (nextafterf): Likewise.
2819 [non-C99-based standards] (remainderf): Likewise.
2820 [non-C99-based standards] (rintf): Likewise.
2821 [non-C99-based standards] (scalbf): Likewise.
2822 [non-C99-based standards] (copysignl): Likewise.
2823 [non-C99-based standards] (exp2l): Likewise.
2824 [non-C99-based standards] (log2l): Likewise.
2825 [non-C99-based standards] (modfl): Allow.
2826 [non-C99-based standards] (erfl): Do not allow.
2827 [non-C99-based standards] (erfcl): Likewise.
2828 [non-C99-based standards] (gammal): Likewise.
2829 [non-C99-based standards] (hypotl): Likewise.
2830 [non-C99-based standards] (j0l): Likewise.
2831 [non-C99-based standards] (j1l): Likewise.
2832 [non-C99-based standards] (jnl): Likewise.
2833 [non-C99-based standards] (lgammal): Likewise.
2834 [non-C99-based standards] (tgammal): Likewise.
2835 [non-C99-based standards] (y0l): Likewise.
2836 [non-C99-based standards] (y1l): Likewise.
2837 [non-C99-based standards] (ynl): Likewise.
2838 [non-C99-based standards] (isnanl): Likewise.
2839 [non-C99-based standards] (acoshl): Likewise.
2840 [non-C99-based standards] (asinhl): Likewise.
2841 [non-C99-based standards] (atanhl): Likewise.
2842 [non-C99-based standards] (cbrtl): Likewise.
2843 [non-C99-based standards] (expm1l): Likewise.
2844 [non-C99-based standards] (ilogbl): Likewise.
2845 [non-C99-based standards] (log1pl): Likewise.
2846 [non-C99-based standards] (logbl): Likewise.
2847 [non-C99-based standards] (nextafterl): Likewise.
2848 [non-C99-based standards] (remainderl): Likewise.
2849 [non-C99-based standards] (rintl): Likewise.
2850 [non-C99-based standards] (scalbl): Likewise.
2851 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2852 [non-C99-based standards] (FP_*): Do not allow.
2853 [C99-based standards] (FP_*): Change to
2854 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2855 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2857 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2858 (SIG_ERR): Likewise.
2859 [X/Open-based standards] (SIG_HOLD): Likewise.
2860 (SIG_IGN): Likewise.
2861 (SIGABRT): Use macro-int-constant. Specify type. Require
2866 (SIGSEGV): Likewise.
2868 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2869 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2870 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2871 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2872 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2873 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2874 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2875 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2876 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2877 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2878 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2879 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2880 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2881 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2882 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2883 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2884 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2885 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2886 [X/Open-based standards] (SIGTRAP): Likewise.
2887 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2888 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2889 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2890 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2891 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2894 2012-05-08 Ian Wienand <ianw@vmware.com>
2897 * time/tzset.c (__tzset_parse_tz): Update default rules for
2898 daylight time changes in the Energy Policy Act of 2005.
2900 2012-05-09 Andreas Jaeger <aj@suse.de>
2903 * elf/ldconfig.c (parse_conf): Change string to make clear that
2904 ldconfig only issued a warning if ld.so.conf does not exist.
2906 2012-05-08 David S. Miller <davem@davemloft.net>
2908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2909 movxtod instead of popping the value on the stack.
2911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2913 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2915 * config.h.in: Add HAVE_ARM_PCS_VFP.
2917 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2920 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2921 checking but the checks are disabled for any reason.
2923 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2925 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2926 and ELF64_R_TYPE with ELFW(R_TYPE).
2928 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2930 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2933 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2934 (settimeofday): Likewise.
2936 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2938 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2939 a struct th_u2 inside the union, and move tu_block/tu_code into
2940 a new th_u3 union of tu_block/tu_code inside of that. Move
2941 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2942 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2943 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2944 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2945 (th_stuff): Change to th_u1.tu_stuff.
2947 (th_msg): Change to th_u1.th_u2.tu_data.
2949 2012-05-07 David S. Miller <davem@davemloft.net>
2951 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2954 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2955 (SETUP_PIC_REG): Use it.
2956 (SETUP_PIC_REG_LEAF): Use it.
2958 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2962 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2964 (EXPL_FINITE): Likewise.
2966 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2967 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2969 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2971 (EXPL_FINITE): Likewise.
2973 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2974 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2976 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2977 test of -max_value argument for long double.
2978 * sysdeps/i386/fpu/libm-test-ulps: Update.
2979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2981 2012-05-06 David S. Miller <davem@davemloft.net>
2983 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2984 quad soft-float symbols whose references which are compiler
2986 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2988 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2992 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2994 (EXPL_FINITE): Likewise.
2998 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2999 Adjust comments for base varying.
3000 (__expl_finite): Change alias to EXPL_FINITE.
3001 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3003 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3004 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3005 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3006 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3007 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3009 (EXPL_FINITE): Likewise.
3013 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3014 Adjust comments for base varying.
3015 (__expl_finite): Change alias to EXPL_FINITE.
3016 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3021 * math/libm-test.inc (check_float_internal): Correct ulp
3022 calculation for subnormal expected results.
3024 2012-05-06 Andreas Jaeger <aj@suse.de>
3026 * Makeconfig (+math-flags): New, set to -frounding-math.
3027 (+cflags): Add +math-flags so that all of glibc gets compiled with
3030 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3032 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3034 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3040 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3041 (__ieee754_expl): Allow for and saturate large arguments.
3042 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3043 (u_threshold): Likewise.
3044 (__exp): Call __ieee754_exp before checking for overflow and
3046 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3047 (u_threshold): Likewise.
3048 (__expf): Call __ieee754_expf before checking for overflow and
3050 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3051 (u_threshold): Likewise.
3052 (__expl): Call __ieee754_expl before checking for overflow and
3054 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3055 (__ieee754_expl): Allow for and saturate large arguments.
3056 * math/libm-test.inc (exp_test): Add another test. Do not allow
3057 missing overflow exception on overflow.
3058 (expm1_test): Do not allow missing overflow exception on overflow.
3060 * sysdeps/i386/fpu/e_expl.c: Move to ...
3061 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3062 rather than using inline asm.
3063 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3064 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3065 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3067 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3074 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3076 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3077 sysdeps/unix/common/syscalls.list.
3080 (ftruncate): Likewise.
3081 (getrusage): Likewise.
3082 (gettimeofday): Likewise.
3083 (setpgid): Likewise.
3084 (setregid): Likewise.
3085 (setreuid): Likewise.
3086 (sigaction): Likewise.
3087 (truncate): Likewise.
3088 (vhangup): Likewise.
3089 * sysdeps/unix/common/syscalls.list: Remove file.
3090 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3091 * sysdeps/unix/sysv/linux/Implies: Likewise.
3093 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3095 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3097 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3101 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3104 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3107 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3110 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3113 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3116 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3119 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3123 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3127 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3130 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3134 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3138 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3140 * sysdeps/unix/common/bits/dirent.h: Remove file.
3141 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3143 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3144 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3145 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3146 * sysdeps/unix/bsd/isatty.c: Likewise.
3147 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3148 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3149 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3151 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3155 long double comparison inaccuracies.
3156 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3157 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3159 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3161 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3162 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3164 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3167 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3168 nonzero digits before rounding a hex value.
3169 * stdlib/tst-strtod.c (tests): Add another test.
3171 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3173 * sysdeps/s390/fpu/libm-test-ulps: Update.
3175 2012-05-03 Andreas Jaeger <aj@suse.de>
3177 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3178 does not get optimized out.
3179 (malloc_opt_barrier): New.
3181 2012-05-03 Andreas Jaeger <aj@suse.de>
3182 Roland McGrath <roland@hack.frob.com>
3184 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3185 intermediate file deletion.
3186 (generated): Add .symlist files.
3188 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3191 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3192 Redirect under this condition.
3193 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3194 [__USE_GNU] (__dprintf_chk): Not under this condition.
3195 [__USE_GNU] (__vdprintf_chk): Likewise.
3196 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3197 under this condition.
3198 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3199 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3200 [__USE_XOPEN2K8] (vdprintf): Likewise.
3201 [__USE_GNU] (__dprintf_chk): Not under this condition.
3202 [__USE_GNU] (__vdprintf_chk): Likewise.
3203 [__USE_GNU] (dprintf): Likewise.
3204 [__USE_GNU] (vdprintf): Likewise.
3206 2012-05-03 Roland McGrath <roland@hack.frob.com>
3208 * elf/Makefile (common-generated): Set this instead of generated for
3209 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3210 $(all-built-dso)-derived lists.
3212 2012-05-03 Andreas Jaeger <aj@suse.de>
3214 * sysdeps/i386/fpu/libm-test-ulps: Update.
3218 * scripts/gen-FAQ.pl: Likewise.
3219 * manual/install.texi (Installation): Point to online location of
3221 * Makefile (files-for-dist): Remove FAQ.
3224 2012-05-02 Allan McRae <allan@archlinux.org>
3226 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3227 (LDFLAGS-reldepmod5.so): Likewise.
3228 (LDFLAGS-reldep6mod1.so): Likewise.
3229 (LDFLAGS-reldep6mod4.so): Likewise.
3230 (LDFLAGS-reldep8mod3.so): Likewise.
3231 (LDFLAGS-unload4mod1.so): Likewise.
3232 (LDFLAGS-unload4mod2.so): Likewise.
3233 (LDFLAGS-tst-initorder): Likewise.
3234 (LDFLAGS-tst-initordera2.so): Likewise.
3235 (LDFLAGS-tst-initordera3.so): Likewise.
3236 (LDFLAGS-tst-initordera4.so): Likewise.
3237 (LDFLAGS-tst-initorderb2.so): Likewise.
3238 (LDFLAGS-noload): Likewise.
3239 (LDFLAGS-next): Likewise.
3240 (LDFLAGS-order2mod1.so): Likewise.
3241 (LDFLAGS-order2mod2.so): Likewise.
3242 (LDFLAGS-tst-initorder2): Likewise.
3243 (LDFLAGS-tst-initorder2a.so): Likewise.
3244 (LDFLAGS-tst-initorder2b.so): Likewise.
3245 (LDFLAGS-tst-initorder2c.so): Likewise.
3246 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3248 2012-05-02 David S. Miller <davem@davemloft.net>
3250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3252 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3255 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3257 2012-05-02 Andreas Jaeger <aj@suse.de>
3259 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3260 since we manipulate rounding mode.
3261 (CPPFLAGS-test-idouble.c): Likewise.
3262 (CPPFLAGS-test-ifloat.c): Likewise.
3263 (CFLAGS-test-ldouble.c): Likewise.
3264 (CFLAGS-test-double.c): Likewise.
3265 (CFLAGS-test-float.c): Likewise.
3266 (CFLAGS-test-misc.c): Likewise.
3267 (CFLAGS-test-test-fenv.c): Likewise.
3269 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3273 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3274 comparisons to determine direction to adjust input.
3276 2012-05-01 Roland McGrath <roland@hack.frob.com>
3278 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3279 output to the target.
3281 * scripts/localplt.awk: New file.
3282 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3283 (check-localplt-CFLAGS): Variable removed.
3284 ($(all-built-dso:=.jmprel)): New static pattern rule.
3285 (generated): Add those targets.
3286 (localplt-built-dso): New variable.
3287 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3289 * elf/check-localplt.c: File removed.
3291 * scripts/check-execstack.awk: New file.
3292 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3293 (check-execstack-CFLAGS): Variable removed.
3294 ($(objpfx)check-execstack.h): Target removed.
3295 ($(objpfx)execstack-default): New target.
3296 (generated): Add that instead of check-execstack.h.
3297 ($(all-built-dso:=.phdr)): New static pattern rule.
3298 (generated): Add those targets.
3299 * elf/check-execstack.c: File removed.
3301 * scripts/check-textrel.awk: New file.
3302 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3303 (check-textrel-CFLAGS): Variable removed.
3304 (all-built-dso): Use := to define.o
3305 ($(all-built-dso:=.dyn)): New static pattern rule.
3306 (generated): Add those targets.
3307 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3308 * config.make.in (READELF): New substituted variable.
3309 * elf/check-textrel.c: File removed.
3311 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3313 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3315 * conform/data/ctype.h-data [C99-based standards] (isblank):
3317 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3318 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3319 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3320 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3321 Specify type. Require positive value.
3324 [ISO || POSIX] (EILSEQ): Do not expect.
3325 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3326 Specify type. Require positive value.
3327 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3328 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3329 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3330 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3331 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3332 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3333 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3334 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3335 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3336 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3337 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3338 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3339 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3340 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3341 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3342 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3343 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3344 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3345 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3346 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3347 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3348 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3349 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3350 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3351 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3352 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3353 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3354 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3355 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3356 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3357 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3358 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3359 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3360 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3361 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3362 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3363 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3364 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3365 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3366 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3367 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3368 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3369 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3370 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3371 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3372 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3373 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3374 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3375 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3376 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3377 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3378 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3379 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3380 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3381 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3382 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3383 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3384 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3385 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3386 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3387 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3388 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3389 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3390 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3391 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3392 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3393 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3394 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3395 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3396 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3397 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3398 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3399 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3400 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3401 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3402 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3403 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3405 (FLT_ROUNDS): Expect as macro, not constant.
3406 (FLT_MANT_DIG): Use macro-int-constant.
3407 (DBL_MANT_DIG): Likewise.
3408 (LDBL_MANT_DIG): Likewise.
3409 (FLT_DIG): Likewise.
3410 (DBL_DIG): Likewise.
3411 (LDBL_DIG): Likewise.
3412 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3413 (DBL_MIN_EXP): Likewise.
3414 (LDBL_MIN_EXP): Likewise.
3415 (FLT_MAX_EXP): Use macro-int-constant.
3416 (DBL_MAX_EXP): Likewise.
3417 (LDBL_MAX_EXP): Likewise.
3418 (FLT_MAX_10_EXP): Likewise.
3419 (DBL_MAX_10_EXP): Likewise.
3420 (LDBL_MAX_10_EXP): Likewise.
3421 (FLT_MAX): Use macro-constant.
3422 (DBL_MAX): Likewise.
3423 (LDBL_MAX): Likewise.
3424 (FLT_EPSILON): Use macro-constant. Give upper bound.
3425 (DBL_EPSILON): Likewise.
3426 (LDBL_EPSILON): Likewise.
3427 (FLT_MIN): Likewise.
3428 (DBL_MIN): Likewise.
3429 (LDBL_MIN): Likewise.
3430 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3431 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3432 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3433 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3434 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3435 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3436 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3437 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3438 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3439 [ISO11] (FLT_TRUE_MIN): Likewise.
3440 [ISO11] (LDBL_TRUE_MIN): Likewise.
3441 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3442 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3443 (SCHAR_MIN): Use macro-int-constant. Specify type.
3444 (SCHAR_MAX): Likewise.
3445 (UCHAR_MAX): Likewise.
3446 (CHAR_MIN): Likewise.
3447 (CHAR_MAX): Likewise.
3448 (MB_LEN_MAX): Use macro-int-constant.
3449 (SHRT_MIN): Use macro-int-constant. Specify type.
3450 (SHRT_MAX): Likewise.
3451 (USHRT_MAX): Likewise.
3452 (INT_MAX): Likewise.
3453 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3455 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3457 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3459 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3460 bound negative. Suffix upper bound with "L".
3461 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3463 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3465 [C99-based standards] (LLONG_MAX): Likewise.
3466 [C99-based standards] (ULLONG_MAX): Likewise.
3467 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3469 [ISO11] (max_align_t): Require type.
3470 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3472 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3473 from $CFLAGS, without defining away __attribute__ calls.
3474 (checknamespace): Use $CFLAGS_namespace.
3476 * conform/conformtest.pl (@keywords): Only include C99 keywords
3477 for standards based on C99 or C11.
3479 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3481 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3484 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3485 usability of symbols in #if.
3487 * conform/conformtest.pl: If macro or constant types start
3488 "promoted:", expect the symbol to be of the following type
3489 promoted by the integer promotions.
3491 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3492 in one place. Also handle "macro-constant".
3494 * conform/conformtest.pl: Only accept expected macro values with
3495 "==". Parse all "macro" lines in one place.
3496 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3498 * conform/conformtest.pl: Handle braced types on "constant" lines
3499 instead of handling "typed-constant".
3500 * conform/data/signal.h-data: Use "constant" instead of
3503 * conform/conformtest.pl: Handle "optional-" at start of lines in
3504 one place rather than duplicating several cases. Handle each
3505 format of "macro" line with initial "optional-".
3507 * conform/conformtest.pl: Only accept expected constant or
3508 optional-constant values with "==". Parse all "constant" lines in
3509 one place. Parse all "optional-constant" lines in one place.
3510 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3511 * conform/data/fmtmsg.h-data: Likewise.
3512 * conform/data/netinet/in.h-data: Likewise.
3513 * conform/data/tar.h-data: Likewise.
3514 * conform/data/limits.h-data: Use "==" form on "constant" and
3515 "optional-constant" lines.
3517 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3518 Use -std=c99 for XOPEN2K.
3519 (@knownproblems): Remove.
3520 (newtoken): Don't check %isknown.
3522 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3523 Do not expect macro.
3524 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3526 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3527 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3528 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3529 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3530 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3532 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3533 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3534 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3535 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3536 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3537 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3540 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3544 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3546 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3547 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3548 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3549 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3550 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3551 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3552 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3553 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3554 [XPG3] (acosh): Likewise.
3555 [XPG3] (asinh): Likewise.
3556 [XPG3] (atanh): Likewise.
3557 [XPG3] (cbrt): Likewise.
3558 [XPG3] (expm1): Likewise.
3559 [XPG3] (ilogb): Likewise.
3560 [XPG3] (log1p): Likewise.
3561 [XPG3] (logb): Likewise.
3562 [XPG3] (nextafter): Likewise.
3563 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3564 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3565 [XPG3] (remainder): Likewise.
3566 [XPG3] (rint): Likewise.
3567 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3568 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3569 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3570 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3573 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3574 [UNIX98 || XOPEN2K] (scalb): Expect.
3575 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3576 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3577 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3578 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3579 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3586 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3587 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3588 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3591 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3592 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3616 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3617 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3618 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3619 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3620 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3621 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3622 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3623 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3624 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3625 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3626 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3627 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3628 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3629 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3630 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3631 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3632 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3633 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3634 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3635 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3636 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3637 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3638 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3639 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3640 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3641 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3642 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3643 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3644 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3645 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3646 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3647 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3648 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3649 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3650 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3654 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3655 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3656 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3662 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3663 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3697 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3702 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3703 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3704 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3705 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3706 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3707 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3708 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3709 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3710 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3713 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3714 _XOPEN_SOURCE_EXTENDED for XPG4.
3716 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3718 * Makeconfig (localtime): Remove variable.
3719 (inst_localtime-file): Likewise.
3721 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3742 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3746 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3747 comparisons to determine direction to adjust input.
3748 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3749 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3750 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3752 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3756 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3757 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3759 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3761 * math/libm-test.inc (nexttoward_test): Add more tests.
3763 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3766 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3767 in version GLIBC_2.1, not GLIBC_2.0.
3768 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3771 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3774 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3776 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3777 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3778 * math/libm-test.inc (acos_test): Add more tests.
3779 (asin_test): Likewise.
3780 * sysdeps/i386/fpu/libm-test-ulps: Update.
3781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3784 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3786 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3787 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3788 * math/libm-test.inc (acos_test_tonearest): New function.
3789 (acos_test_towardzero): Likewise.
3790 (acos_test_downward): Likewise.
3791 (acos_test_upward): Likewise.
3792 (asin_test_tonearest): Likewise.
3793 (asin_test_towardzero): Likewise.
3794 (asin_test_downward): Likewise.
3795 (asin_test_upward): Likewise.
3796 (main): Call the new functions.
3797 * sysdeps/i386/fpu/libm-test-ulps: Update.
3798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3802 * math/e_exp10.c: Include <float.h>.
3803 (__ieee754_exp10): Handle underflow here rather than multiplying
3804 large negative argument by M_LN10.
3805 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3807 * math/e_exp10l.c: Include <float.h>.
3808 (__ieee754_exp10l): Handle underflow here rather than multiplying
3809 large negative argument by M_LN10l.
3810 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3811 spurious overflow exception on underflow.
3813 2012-04-29 Marek Polacek <polacek@redhat.com>
3815 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3816 (__fortify_function): New macro.
3817 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3818 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3819 __extern_always_inline.
3820 * libio/bits/stdio2.h: Likewise.
3821 * libio/bits/stdio.h: Likewise.
3822 * string/string.h: Likewise.
3823 * string/bits/string3.h: Likewise.
3824 * include/stdio.h: Likewise.
3825 * stdlib/bits/stdlib.h: Likewise.
3826 * stdlib/stdlib.h: Likewise.
3827 * rt/bits/mqueue2.h: Likewise.
3828 * rt/mqueue.h: Likewise.
3829 * posix/bits/unistd.h: Likewise.
3830 * posix/unistd.h: Likewise.
3831 * io/bits/poll2.h: Likewise.
3832 * io/bits/fcntl2.h: Likewise.
3833 * io/fcntl.h: Likewise.
3834 * io/sys/poll.h: Likewise.
3835 * misc/bits/syslog.h: Likewise.
3836 * misc/bits/syslog-ldbl.h: Likewise.
3837 * misc/sys/syslog.h: Likewise.
3838 * socket/bits/socket2.h: Likewise.
3839 * socket/sys/socket.h: Likewise.
3840 * debug/tst-chk1.c: Likewise.
3841 * wcsmbs/bits/wchar2.h: Likewise.
3842 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3843 * wcsmbs/wchar.h: Likewise.
3845 2012-04-29 Andreas Jaeger <aj@suse.de>
3847 * Makerules (tests): Remove enable-check-abi protection.
3848 (check-abi-warn): Remove.
3849 (check-abi-%): Remove check-abi-warn usage.
3851 * configure.in: Remove check-abi configure option.
3852 * configure: Regenerated.
3853 * config.make.in (enable-check-abi): Remove.
3855 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3858 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3859 double functions to double *_finite functions.
3862 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3863 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3865 * stdio-common/Makefile (tests): Add tst-sprintf3.
3866 * stdio-common/tst-sprintf3.c: New file.
3868 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3869 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3871 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3873 * conform/conformtest.pl: Remove duplicate typed-constant
3876 2012-04-28 David S. Miller <davem@davemloft.net>
3878 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3879 (check-abi-%): Remove AWK script prerequisite and explicit
3881 (check-abi): Rewrite to just diff the symlist with the abilist.
3882 (config-tls, config-abi-config): Delete, no longer used.
3883 (update-abi-%): Remove AWK script and explicit abilist directory.
3884 (update-abi): Rewrite to simply compare and conditionally copy the
3885 symlist and the sysdep abilist file. Remove update-abi-config
3887 * abilist/ld.abilist: Remove.
3888 * abilist/libBrokenLocale.abilist: Remove.
3889 * abilist/libanl.abilist: Remove.
3890 * abilist/libcrypt.abilist: Remove.
3891 * abilist/libdl.abilist: Remove.
3892 * abilist/librt.abilist: Remove.
3893 * abilist/libthread_db.abilist: Remove.
3894 * abilist/libutil.abilist: Remove.
3895 * scripts/extract-abilist.awk: Remove.
3896 * scripts/merge-abilist.awk: Remove.
3897 * sysdeps/generic/libcidn.abilist: New file.
3898 * sysdeps/generic/libnss_compat.abilist: New file.
3899 * sysdeps/generic/libnss_db.abilist: New file.
3900 * sysdeps/generic/libnss_dns.abilist: New file.
3901 * sysdeps/generic/libnss_files.abilist: New file.
3902 * sysdeps/generic/libnss_hesiod.abilist: New file.
3903 * sysdeps/generic/libnss_nis.abilist: New file.
3904 * sysdeps/generic/libnss_nisplus.abilist: New file.
3905 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3906 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3907 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3909 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3910 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3911 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3912 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3913 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3914 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3915 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3916 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3917 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3919 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3920 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3921 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3922 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3924 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3925 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3926 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3927 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3928 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3929 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3931 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3932 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3933 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3935 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4038 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4039 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4040 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4042 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4043 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4044 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4045 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4046 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4047 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4048 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4049 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4050 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4051 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4103 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4105 * conform/conformtest.pl: Fix typo in handling typed-constant from
4108 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4110 * README: Cut down references to pre-2.6 Linux kernels and
4111 Linuxthreads. Update lists of configurations in libc and ports
4112 and sort alphabetically. Say "or newer" with Linux kernel version
4115 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4117 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4120 * math/libm-test.inc (logb_test_downward): New test to expose
4121 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4124 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4127 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4129 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4130 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4132 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4134 * sysdeps/unix/i386/brk.S: Remove file.
4135 * sysdeps/unix/i386/dl-brk.S: Likewise.
4136 * sysdeps/unix/i386/pipe.S: Likewise.
4137 * sysdeps/unix/i386/sigreturn.S: Likewise.
4138 * sysdeps/unix/i386/syscall.S: Likewise.
4139 * sysdeps/unix/i386/vfork.S: Likewise.
4140 * sysdeps/unix/i386/wait.S: Likewise.
4142 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4143 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4145 * configure.in (arm*-none*): Do not allow without
4146 --enable-hacker-mode.
4147 (netbsd*): Remove case setting base_os.
4148 (386bsd*): Likewise.
4149 (freebsd*): Likewise.
4153 (ultrix*): Likewise.
4154 (newsos*): Likewise.
4164 (solaris[2-9]*): Likewise.
4166 * configure: Regenerated.
4168 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4171 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4172 overflow or cancellation in calculating denominator.
4173 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4174 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4175 down expression to avoid unexpected rounding in newer GCCs.
4176 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4178 2012-04-26 David S. Miller <davem@davemloft.net>
4180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4181 long-double compat symbols.
4182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4196 2012-04-25 David S. Miller <davem@davemloft.net>
4198 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4199 HWCAP_* values only after the memory barriers have been defined.
4200 (atomic_full_barrier): Define.
4201 (atomic_read_barrier): Define.
4202 (atomic_write_barrier): Define.
4204 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4206 * shlib-versions: Add libgcc_s version information.
4207 * sysdeps/generic/libgcc_s.h: Remove.
4208 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4210 * sysdeps/gnu/unwind-resume.c: Likewise.
4211 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4213 2012-04-25 David S. Miller <davem@davemloft.net>
4215 * sysdeps/unix/sparc/brk.S: Delete.
4216 * sysdeps/unix/sparc/dl-brk.S: Delete.
4217 * sysdeps/unix/sparc/pipe.S: Delete.
4218 * sysdeps/unix/sparc/sysdep.S: Delete.
4219 * sysdeps/unix/sparc/sysdep.h: Delete.
4220 * sysdeps/unix/sparc/vfork.S: Delete.
4221 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4222 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4223 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4224 ret_ERRVAL, r0, r1, MOVE): Define.
4225 (JUMPTARGET): Remove.
4226 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4227 sysdeps/unix/sparc/sysdep.h
4228 (ENTRY, END): Remove.
4229 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4231 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4233 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4234 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4237 * timezone/README: Update upstream location and email address for
4239 * timezone/zdump.c: Update from tzcode 2012b.
4240 * timezone/zic.c: Likewise.
4242 * configure.in (libc_cv_as_needed): Remove test.
4243 * configure: Regenerated.
4244 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4245 conditional definition.
4246 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4247 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4248 * config.make.in (have-as-needed): Remove variable.
4250 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4251 Paul Pluzhnikov <ppluzhnikov@google.com>
4253 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4256 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4258 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4259 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4260 * sysdeps/sh/strlen.S: Likewise.
4262 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4264 * sysdeps/unix/fork.S: Remove file.
4265 * sysdeps/unix/i386/fork.S: Likewise.
4266 * sysdeps/unix/sparc/fork.S: Likewise.
4268 * sysdeps/unix/system.c: Remove file.
4269 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4271 * sysdeps/unix/getegid.S: Remove file.
4272 * sysdeps/unix/geteuid.S: Likewise.
4274 2012-04-24 Roland McGrath <roland@hack.frob.com>
4276 * scripts/check-localplt.awk: New file.
4277 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4279 * scripts/data/localplt-generic.data: Add a comment.
4281 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4282 NODE when __dir_mkfile failed.
4283 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4284 Reported by Ludovic Courtès <ludo@gnu.org>.
4286 2012-04-24 Andreas Jaeger <aj@suse.de>
4288 * Makerules (common-clean): Also remove gen-as-const-headers
4291 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4293 * Makerules (native-compile): Do not change working directory for
4294 build. Use $(OUTPUT_OPTION) in command.
4295 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4297 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4300 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4301 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4302 * math/libm-test.inc (floor_test): Add more tests.
4303 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4305 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4307 * sysdeps/unix/getdents.c: Remove file.
4308 * sysdeps/unix/sysv/getdents.c: Likewise.
4309 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4311 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4312 sysdeps/unix/mman/syscalls.list.
4314 (mprotect): Likewise.
4317 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4318 * sysdeps/unix/mman/syscalls.list: Remove.
4319 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4321 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4322 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4323 * configure: Regenerated.
4324 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4326 * config.make.in (libgcc_s_suffix): Remove variable.
4328 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4330 * sysdeps/unix/sysv/gethostname.c: Move to ...
4331 * sysdeps/posix/gethostname.c: ... here.
4333 * sysdeps/unix/execve.S: Remove file.
4335 * sysdeps/unix/_exit.S: Remove file.
4337 2012-04-23 Andreas Jaeger <aj@suse.de>
4340 * manual/Makefile: Remove make dist support, there's no
4341 need for a stand-alone documentation tar ball.
4342 (TEXI2DVI): Define always, it's not in Makeconfig.
4346 (glibc-doc-$(edition).tar): Removed
4350 (ETAGS): Remove, it's in Makeconfig.
4351 (move-if-change): Remove, it's in Makeconfig.
4353 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4356 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4357 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4358 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4359 (strtod_l, strtof_l, strtold_l): Remove __wur.
4360 It is not necessarily an error to ignore strtol's return value.
4361 One can reliably look at the stored endptr to decide whether
4362 the number had valid syntax.
4364 2012-04-21 Andreas Jaeger <aj@suse.de>
4367 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4369 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4371 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4372 * sysdeps/unix/sysv/Versions: Remove file.
4374 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4379 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4383 version from __vm86.
4385 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4387 * sysdeps/unix/common/lxstat.c: Remove file.
4388 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4390 * sysdeps/unix/sysv/Makefile: Remove file.
4392 * sysdeps/unix/sysv/direct.h: Remove file.
4394 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4395 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4396 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4397 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4398 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4399 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4400 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4402 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4404 * sysdeps/unix/xmknod.c: Remove file.
4405 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4407 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4409 * sysdeps/unix/sysv/i386/time.S: Remove file.
4411 * sysdeps/unix/fxstat.c: Remove file.
4412 * sysdeps/unix/xstat.c: Likewise.
4413 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4415 * sysdeps/unix/sysv/sigaction.c: Remove file.
4417 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4418 (sysdep_headers): Remove variable.
4419 [termio.h not in sysdep_headers] (generated): Likewise.
4420 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4421 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4422 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4423 * sysdeps/unix/sysv/tcflow.c: Likewise.
4424 * sysdeps/unix/sysv/tcflush.c: Likewise.
4425 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4426 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4427 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4428 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4429 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4431 * sysdeps/unix/siglist.c: Remove file.
4433 * sysdeps/unix/getppid.S: Remove file.
4435 * sysdeps/unix/mkdir.c: Remove file.
4436 * sysdeps/unix/rmdir.c: Likewise.
4438 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4440 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4442 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4443 errlist-compat value.
4445 2012-04-18 David S. Miller <davem@davemloft.net>
4447 * sysdeps/generic/memcopy.h (reg_char): Delete.
4448 * debug/strcat_chk.c: Use char, not reg_char.
4449 * debug/strcpy_chk.c: Likewise.
4450 * debug/strncat_chk.c: Likewise.
4451 * debug/strncpy_chk.c: Likewise.
4452 * string/memchr.c: Likewise.
4453 * string/memrchr.c: Likewise.
4454 * string/rawmemchr.c: Likewise.
4455 * string/strcat.c: Likewise.
4456 * string/strchr.c: Likewise.
4457 * string/strchrnul.c: Likewise.
4458 * string/strcmp.c: Likewise.
4459 * string/strcpy.c: Likewise.
4460 * string/strncat.c: Likewise.
4461 * string/strncmp.c: Likewise.
4462 * string/strncpy.c: Likewise.
4464 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4466 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4467 __builtin_memcopy is called when src and dest ranges are known to not
4470 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4472 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4473 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4474 fwd_align_merge macro call.
4475 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4476 bwd_align_merge macro call.
4477 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4479 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4481 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4482 bwd_align_merge macros.
4483 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4484 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4485 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4487 2012-04-18 David S. Miller <davem@davemloft.net>
4489 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4491 2012-04-18 Andreas Jaeger <aj@suse.de>
4494 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4495 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4496 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4498 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4499 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4500 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4502 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4503 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4504 Adjust for changed ldbl-128 files.
4506 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4507 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4508 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4510 2012-04-17 David S. Miller <davem@davemloft.net>
4512 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4514 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4516 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4517 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4518 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4519 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4520 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4521 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4523 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4526 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4527 * math/libm-test.inc: Add ilogb errno and exception tests.
4528 * math/w_ilogb.c: New file: ilogb wrapper.
4529 * math/w_ilogbf.c: New file: ilogbf wrapper.
4530 * math/w_ilogbl.c: New file: ilogbl wrapper.
4531 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4532 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4533 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4534 exception being thrown with 0.0 as argument.
4535 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4536 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4537 exception being thrown with 0.0 as argument.
4538 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4539 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4540 exception being thrown with 0.0 as argument.
4541 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4542 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4543 exception being thrown with 0.0 as argument.
4544 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4545 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4546 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4547 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4548 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4549 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4550 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4551 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4552 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4554 2012-04-17 Petr Baudis <pasky@ucw.cz>
4556 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4559 2012-04-16 Marek Polacek <polacek@redhat.com>
4561 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4563 2012-04-16 Marek Polacek <polacek@redhat.com>
4565 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4566 operands of fdivp instruction.
4568 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4570 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4571 * elf/tst-auditmod3b.c: Likewise.
4572 * elf/tst-auditmod4b.c: Likewise.
4573 * elf/tst-auditmod5b.c: Likewise.
4574 * elf/tst-auditmod6b.c: Likewise.
4575 * elf/tst-auditmod6c.c: Likewise.
4576 * elf/tst-auditmod7b.c: Likewise.
4577 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4578 * sysdeps/x86_64/preconfigure.in: Likewise.
4579 * sysdeps/x86_64/preconfigure: Regenerated.
4581 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4583 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4586 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4588 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4589 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4591 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4594 * locale/iso-639.def: Fix gl language name. Spotted by
4597 2012-04-12 Roland McGrath <roland@hack.frob.com>
4600 * libio/libio.h (__io_write_fn): Update comment.
4602 2012-04-12 Petr Baudis <pasky@ucw.cz>
4605 * stdio.texi (Hook Functions): The user provided writer function
4606 is not allowed to return -1.
4608 2012-04-11 David S. Miller <davem@davemloft.net>
4610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4612 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4614 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4615 Add a leading slash to rtkaio.
4617 2012-04-11 Jim Meyering <meyering@redhat.com>
4620 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4621 It is not necessarily an error to ignore fwrite's return
4622 value. One can reliably use ferror to test for errors after
4625 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4627 * bits/types.h (__snseconds_t): New type.
4628 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4630 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4632 (__SNSECONDS_T_TYPE): Likewise.
4633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4634 (__SNSECONDS_T_TYPE): Likewise.
4635 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4636 (__SNSECONDS_T_TYPE): Likewise.
4638 2012-04-10 Andreas Jaeger <aj@suse.de>
4641 * manual/time.texi (Processor Time): Return type of times is
4642 elapsed real time since an arbitrary point in the past.
4643 (CPU Time): Move CLK_TCK from here...
4644 (Processor Time): ...to here. Correct description.
4645 * manual/conf.texi (Constants for Sysconf): Correct description of
4648 2012-04-10 David S. Miller <davem@davemloft.net>
4651 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4652 where the is a gap between DT_REL(A) and DT_JMPREL.
4654 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4656 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4657 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4658 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4660 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4662 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4663 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4664 (dl_main): Handle --inhibit-cache.
4665 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4667 * elf/dl-load.c (_dl_map_object): Use it.
4668 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4670 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4673 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4674 (__ieee754_powl): Saturate large exponents rather than testing for
4675 overflow of y*log2(x).
4676 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4677 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4681 * math/s_ctan.c: Include <float.h>.
4682 (__ctan): Avoid internal overflow or cancellation in calculating
4684 * math/s_ctanf.c: Likewise.
4685 * math/s_ctanl.c: Likewise.
4686 * math/s_ctanh.c: Likewise.
4687 * math/s_ctanhf.c: Likewise.
4688 * math/s_ctanhl.c: Likewise.
4689 * math/libm-test.inc (ctan_test): Add more tests.
4690 (ctanh_test): Likewise.
4691 * sysdeps/i386/fpu/libm-test-ulps: Update.
4692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4694 2012-04-09 Andreas Jaeger <aj@suse.de>
4697 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4698 is an optional BSD extension.
4701 * manual/stdio.texi (Opening Streams): Document additional fopen
4704 2012-04-09 Roland McGrath <roland@hack.frob.com>
4706 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4707 %eax without telling the compiler.
4709 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4712 * manual/install.texi: Use sourceware.org.
4714 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4717 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4718 (__ieee754_pow): Generate overflow and underflow using huge*huge
4719 and tiny*tiny rather than just returning constant infinity or zero
4720 for large exponents.
4721 * math/libm-test.inc (pow_test): Require overflow exceptions for
4722 applicable cases of large exponents.
4725 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4726 (__ieee754_pow): Use iterative multiplication algorithm only for
4727 integer exponents with absolute value below 1024. Check for odd
4728 integer exponents when using algorithm for real exponents.
4729 * math/libm-test.inc (pow_test): Add more tests.
4730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4732 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4735 * math/libm-test.inc (exp_test): Do not allow overflow exception
4738 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4741 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4742 instead of __kernel_standard_f.
4744 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4746 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4747 * sysdeps/x86_64/memset_chk.S: Likewise.
4749 2012-04-08 Andreas Jaeger <aj@suse.de>
4752 * manual/startup.texi (Environment Access): Describe return value
4753 for putenv and setenv.
4756 * manual/filesys.texi (Directory Entries): Add description for
4760 * manual/filesys.texi (Directory Entries): Clarify that it's file
4761 system not operating system in the description of DT_UNKNOWN.
4764 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4766 2012-04-08 Stephen Compall <s11@member.fsf.org>
4769 * manual/llio.texi (Opening and Closing Files): Add cross
4770 reference to explain mode argument.
4772 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4774 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4775 * sysdeps/x86_64/memset_chk.S: Likewise.
4777 2012-04-07 David S. Miller <davem@davemloft.net>
4779 * elf/elf.h (R_SPARC_WDISP10): Define.
4780 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4782 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4783 R_SPARC_SIZE64 and R_SPARC_H34.
4785 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4787 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4788 conditions and remove no longer applicable assertion.
4790 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4792 * bits/byteswap.h: Include <features.h>.
4793 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4794 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4796 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4798 * bits/byteswap.h (__bswap_16): Removed.
4799 Include <bits/byteswap-16.h> to get __bswap_16.
4800 * sysdeps/i386/bits/byteswap.h: Likewise.
4801 * sysdeps/s390/bits/byteswap.h: Likewise.
4802 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4803 * bits/byteswap-16.h: New file.
4804 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4805 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4806 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4807 * string/Makefile (headers): Add bits/byteswap-16.h.
4809 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4812 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4814 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4815 * nss/tst-nss-static.c: New.
4817 2012-04-06 Robert Millan <rmh@gnu.org>
4820 * manual/llio.texi (File Position Primitive): lseek
4821 refers to WHENCE when it really means OFFSET.
4823 2012-04-06 Andreas Jaeger <aj@suse.de>
4825 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4826 strncmp declarations.
4828 * abilist/libc.abilist: Add __poll and __ppoll.
4830 2012-04-05 David S. Miller <davem@davemloft.net>
4832 * scripts/check-local-headers.sh: Accept a host triplet in the
4833 path matched by the exclude regexp.
4835 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4837 * sysdeps/powerpc/powerpc32/dl-machine.h
4838 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4839 * sysdeps/s390/s390-32/dl-machine.h
4840 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4841 * sysdeps/sparc/sparc32/dl-machine.h
4842 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4843 * sysdeps/sparc/sparc64/dl-machine.h
4844 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4846 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4848 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4849 undefined symbol errors.
4851 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4854 2012-04-05 Michael Matz <matz@suse.de>
4857 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4859 2012-04-05 Andreas Jaeger <aj@suse.de>
4862 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4865 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4867 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4868 which ROUND is no valid rounding mode.
4870 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4872 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4874 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4876 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4878 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4879 an exception using FPU order intentionally.
4881 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4883 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4884 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4885 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4886 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4888 2012-04-05 Simon Josefsson <simon@josefsson.org>
4891 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4892 EINVAL when BUFLEN is too smal.
4894 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4897 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4898 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4900 2012-04-03 Andreas Jaeger <aj@suse.de>
4903 * manual/setjmp.texi (System V contexts): Fix sentence.
4906 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4907 New macro for this case.
4908 [!__GNUC__] (__bswap_64): New inline function for this case.
4909 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4910 * bits/byteswap.h: Likewise.
4911 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4912 ull, guard with __GLIBC_HAVE_LONG_LONG.
4914 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4915 __GLIBC_HAVE_LONG_LONG.
4917 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4918 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4920 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4923 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4924 inptr and inend, rather than using last_ch.
4926 2012-04-02 David S. Miller <davem@davemloft.net>
4928 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4929 * stdio-common/printf-parse.h (read_int): Change return type to
4930 'int', return -1 on INT_MAX overflow.
4931 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4932 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4933 overflows INT_MAX. Check for overflow of in-format-string precision
4934 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4935 SIZE_MAX not INT_MAX for integer overflow test.
4936 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4937 skip the construct in the format string but do not record anything.
4938 * stdio-common/bug22.c: Adjust to test both width/prevision
4939 INT_MAX overflow as well as total length INT_MAX overflow. Check
4940 explicitly for proper errno values.
4942 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4944 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4946 * string/test-strcmp.c [! WIDE]: Likewise.
4947 * time/tst-mktime2.c: Likewise for INT_MAX.
4948 * string/test-string.h: #include <sys/param.h> for MIN.
4950 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4951 * sysdeps/i386/init-first.c (init): Likewise.
4952 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4953 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4954 * sysdeps/sh/init-first.c (init): Likewise.
4956 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4958 * po/ru.po: Update from translation team.
4959 * po/vi.po: Likewise.
4961 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4963 * resolv/nss_dns/dns-host.c: Merge copyright years.
4965 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4967 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4968 Optimize memcpy with prefetch if
4969 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4970 src, dst pointers have unequal 16 byte alignments.
4972 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4975 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4976 from a CNAME entry and return the minimum ttl for the query.
4977 (gaih_getanswer_slice): Likewise.
4979 2012-03-30 Jeff Law <law@redhat.com>
4981 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4983 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4984 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4986 * resolv/nss_dns/dns-host.c: Update copyright year.
4988 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4990 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4991 requests to save a system call. Fix check that all bytes are sent.
4993 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4994 comments for sendmmsg.
4996 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4999 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5000 with only 1 character between 0x0041 and 0x01b0.
5001 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5002 * wcsmbs/tst-mbsnrtowcs.c: New file.
5004 2012-03-29 David S. Miller <davem@davemloft.net>
5006 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5007 small copies by hand.
5009 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5012 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5013 _nss_compat_initgroups_dyn): Fall back to malloc/free
5014 for large group memberships.
5016 2012-03-28 David S. Miller <davem@davemloft.net>
5018 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5019 that branches into memcpy.
5020 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5021 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5022 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5023 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5024 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5026 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5028 * sysdeps/sparc/mempcpy.S: New file.
5030 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5031 the IFUNC routine in the libc case.
5032 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5034 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5035 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5036 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5037 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5038 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5039 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5040 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5041 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5043 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5044 loop to 256 bytes instead of 64 bytes and fix test signedness.
5046 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5047 * sysdeps/sparc/sparc32/Makefile: rather than here...
5048 * sysdeps/sparc/sparc64/Makefile: and here.
5050 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5052 * malloc/mallocbug.c: Avoid warnings about unused variables.
5054 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5057 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5058 in the right place. Discard and retry query if response is
5059 larger than input buffer size.
5061 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5066 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5067 x for large integer exponent.
5068 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5069 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5070 sign of result as needed afterwards.
5071 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5072 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5073 result for underflowing pow the same as for overflow.
5074 (__kernel_standard_l): Handle powl overflow and underflow here
5075 rather than calling __kernel_standard.
5076 * math/libm-test.inc (pow_test): Add more tests.
5091 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5092 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5093 (__kernel_standard_l): New function.
5094 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5096 * math/w_acosl.c (__acosl): Likewise.
5097 * math/w_asinl.c (__asinl): Likewise.
5098 * math/w_atan2l.c (__atan2l): Likewise.
5099 * math/w_atanhl.c (__atanhl): Likewise.
5100 * math/w_coshl.c (__coshl): Likewise.
5101 * math/w_exp10l.c (__exp10l): Likewise.
5102 * math/w_exp2l.c (__exp2l): Likewise.
5103 * math/w_fmodl.c (__fmodl): Likewise.
5104 * math/w_hypotl.c (__hypotl): Likewise.
5105 * math/w_j0l.c (__j0l, __y0l): Likewise.
5106 * math/w_j1l.c (__j1l, __y1l): Likewise.
5107 * math/w_jnl.c (__jnl, __ynl): Likewise.
5108 * math/w_lgammal.c (__lgammal): Likewise.
5109 * math/w_log10l.c (__log10l): Likewise.
5110 * math/w_log2l.c (__log2l): Likewise.
5111 * math/w_logl.c (__logl): Likewise.
5112 * math/w_powl.c (__powl): Likewise.
5113 * math/w_remainderl.c (__remainderl): Likewise.
5114 * math/w_scalbl.c (sysv_scalbl): Likewise.
5115 * math/w_sinhl.c (__sinhl): Likewise.
5116 * math/w_sqrtl.c (__sqrtl): Likewise.
5117 * math/w_tgammal.c (__tgammal): Likewise.
5118 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5119 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5120 * math/libm-test.inc (acos_test): Add more tests.
5121 (acosh_test): Likewise.
5122 (asin_test): Likewise.
5123 (atanh_test): Likewise.
5124 (exp_test): Likewise.
5125 (exp10_test): Likewise.
5126 (exp2_test): Likewise.
5127 (expm1_test): Likewise.
5128 (lgamma_test): Likewise.
5129 (log_test): Likewise.
5130 (log10_test): Likewise.
5131 (log1p_test): Likewise.
5132 (log2_test): Likewise.
5133 (pow_test): Do not allow some spurious overflow exceptions.
5134 (sqrt_test): Add more tests.
5135 (tgamma_test): Likewise.
5136 (y0_test): Likewise.
5137 (y1_test): Likewise.
5138 (yn_test): Likewise.
5140 2012-03-27 Anton Blanchard <anton@samba.org>
5142 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5144 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5145 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5146 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5148 2012-03-27 David S. Miller <davem@davemloft.net>
5150 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5152 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5155 2012-03-27 Andreas Jaeger <aj@suse.de>
5157 * sysdeps/x86_64/elf/configure.in: Moved to ...
5158 * sysdeps/x86_64/configure.in: ... here.
5159 * sysdeps/x86_64/elf/start.S: Moved to ...
5160 * sysdeps/x86_64/start.S: ... here.
5161 * sysdeps/x86_64/elf/configure: Delete.
5163 * sysdeps/x86_64/configure.in: Merge contents from
5164 sysdeps/i386/configure.in (without i686 check).
5166 * sysdeps/i386/elf/Versions: Merge into ...
5167 * sysdeps/i386/Versions: ... this.
5168 * sysdeps/i386/elf/Versions: Delete file.
5169 * sysdeps/i386/elf/start.S: Moved to ...
5170 * sysdeps/i386/start.S: ...here.
5171 * sysdeps/i386/elf/configure.in: Merge into...
5172 * sysdeps/i386/configure.in: ...here.
5173 * sysdeps/i386/elf/configure.in: Delete file.
5174 * sysdeps/i386/elf/configure: Delete file.
5176 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5177 * debug/backtracesyms.c: ... here.
5178 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5179 * debug/backtracesymsfd.c: ... here.
5180 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5181 * sysdeps/generic/ifunc-sel.h: ... here.
5183 * sysdeps/unix/i386/start.c: Delete file.
5184 * sysdeps/unix/sparc/start.c: Delete file.
5185 * sysdeps/unix/start.c: Delete file.
5187 * sysdeps/sh/elf/configure.in: Moved to ...
5188 * sysdeps/sh/configure.in: ... here.
5189 * sysdeps/sh/elf/start.S: Moved to ...
5190 * sysdeps/sh/start.S: ... here.
5191 * sysdeps/sh/elf/configure: Delete file.
5193 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5194 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5195 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5196 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5197 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5198 * sysdeps/powerpc/powerpc64/start.S: here.
5199 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5200 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5201 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5202 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5203 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5205 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5206 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5207 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5208 * sysdeps/powerpc/powerpc32/start.S: ... here.
5209 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5210 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5211 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5213 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5214 * sysdeps/powerpc/ifunc-sel.h: ... here.
5215 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5216 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5218 * sysdeps/sparc/elf/configure.in: Moved to ...
5219 * sysdeps/sparc/configure.in: ... here.
5220 * sysdeps/sparc/elf/configure: Delete file.
5221 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5222 * sysdeps/sparc/sparc32/start.S: ... here.
5223 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5224 * sysdeps/sparc/sparc64/start.S: ... here.
5225 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5226 * sysdeps/sparc/sparc32/Makefile: ... this.
5227 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5228 * sysdeps/sparc/sparc64/Makefile: ... this.
5230 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5231 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5232 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5233 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5234 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5235 * sysdeps/s390/s390-32/setjmp.S: ... here.
5236 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5237 * sysdeps/s390/s390-32/configure.in: ... here.
5238 * sysdeps/s390/s390-32/elf/configure: Delete file.
5239 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5240 * sysdeps/s390/s390-32/start.S: ... here.
5242 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5243 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5244 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5245 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5246 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5247 * sysdeps/s390/s390-64/setjmp.S: ... here.
5248 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5249 * sysdeps/s390/s390-64/configure.in: ... here
5250 * sysdeps/s390/s390-64/elf/configure: Delete file.
5251 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5252 * sysdeps/s390/s390-64/start.S: ... here.
5253 * sysdeps/s390/s390-64/elf/configure: Delete.
5255 * configure.in: Remove support for elf directories in sysdeps.
5257 * configure: Regenerated.
5258 * sysdeps/i386/configure: Regenerated.
5259 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5260 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5261 * sysdeps/s390/s390-32/configure: Regenerated.
5262 * sysdeps/s390/s390-64/configure: Regenerated.
5263 * sysdeps/sh/configure: Regenerated.
5264 * sysdeps/sparc/configure: Regenerated.
5265 * sysdeps/x86_64/configure: Regenerated.
5267 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5272 denormal result into account.
5274 2012-03-25 Roland McGrath <roland@hack.frob.com>
5276 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5277 Reported by Allan McRae <allan@archlinux.org>.
5279 2012-03-23 Jeff Law <law@redhat.com>
5281 * nss/getnssent.c (__nss_getent): Fix typo.
5283 2012-03-23 David S. Miller <davem@davemloft.net>
5285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5287 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5289 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5290 to pad to uint64_t for each field.
5291 (dl_tls_index): Replace unsigned long with uint64_t.
5293 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5294 Paul Pluzhnikov <ppluzhnikov@google.com>
5297 * grp/Makefile (otherlibs): Don't set it.
5298 * inet/Makefile (otherlibs): Likewise.
5299 * login/Makefile (otherlibs): Likewise.
5300 * nscd/Makefile (otherlibs): Likewise.
5301 * posix/Makefile (otherlibs): Likewise.
5302 * pwd/Makefile (otherlibs): Likewise.
5303 * rt/Makefile (otherlibs): Likewise.
5304 * sunrpc/Makefile (otherlibs): Likewise.
5305 * nss/Makefile (otherlibs): Likewise.
5306 Add libnss_files to routines and static-only-routines.
5307 ($(objpfx)getent): Remove rule.
5308 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5309 static-only-routines.
5311 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5314 * math/s_cexp.c: Include <float.h>.
5315 (__cexp): Handle exp result overflowing not necessarily
5316 overflowing both real and imaginary parts of result.
5317 * math/s_cexpf.c: Likewise.
5318 * math/s_cexpl.c: Likewise.
5319 * math/libm-test.inc (cexp_test): Add more tests.
5320 * sysdeps/i386/fpu/libm-test-ulps: Update.
5321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5323 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5325 * include/link.h (ELFW): New macro.
5326 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5327 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5329 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5331 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5334 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5336 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5338 (struct La_x32_retval): Likewise.
5340 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5342 * sysdeps/x86_64/preconfigure.in: New file.
5343 * sysdeps/x86_64/preconfigure: New generated file.
5345 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5348 * math/e_exp2l.c: Include <float.h>.
5349 (__ieee754_exp2l): Handle overflow and underflow cases
5350 separately. Only pass fractional part of argument to
5352 * math/libm-test.inc (exp2_test): Add more tests.
5354 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5355 negating x to take absolute value.
5356 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5358 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5359 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5361 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5362 computing low part if x was negated.
5363 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5365 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5367 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5369 (pltexit): Cast int_retval to ptrdiff_t.
5370 * elf/tst-auditmod3b.c: Likewise.
5371 * elf/tst-auditmod4b.c: Likewise.
5372 * elf/tst-auditmod5b.c: Likewise.
5373 * elf/tst-auditmod6b.c: Likewise.
5374 * elf/tst-auditmod6c.c: Likewise.
5375 * elf/tst-auditmod7b.c: Likewise.
5377 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5378 and x32_gnu_pltexit.
5380 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5382 (La_x32_regs): New macro.
5383 (La_x32_retval): Likewise.
5384 (la_x32_gnu_pltenter): New function prototype.
5385 (la_x32_gnu_pltexit): Likewise.
5387 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5389 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5394 * configure.in (libc_cv_cc_nofma): Check for option to disable
5395 generation of FMA instructions.
5396 * configure: Regenerate.
5397 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5398 * sysdeps/ieee754/dbl-64/Makefile: New file.
5399 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5400 Remove brandred-fma4.
5401 (CFLAGS-brandred-fma4.c): Remove.
5402 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5403 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5405 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5408 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5410 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5411 LLONG_MAX != LONG_MAX.
5412 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5413 (_fitoa_word): Likewise.
5414 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5415 LLONG_MAX != LONG_MAX.
5416 * stdio-common/_itowa.h: Include <_itoa.h>.
5417 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5418 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5419 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5420 only if not defined.
5421 (_ITOA_WORD_TYPE): Likewise.
5422 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5423 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5425 2012-03-21 David S. Miller <davem@davemloft.net>
5427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5429 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5431 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5432 of x86_64 when setting libc_cv_slibdir, libdir and
5434 * sysdeps/unix/sysv/linux/configure: Regenerated.
5436 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5438 * manual/lang.texi (Old Varargs): Remove section.
5439 (How Variadic): Update menu.
5440 (va_start): Do not mention varargs.h.
5442 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5443 Joseph Myers <joseph@codesourcery.com>
5445 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5447 * configure: Regenerated.
5449 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5451 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5452 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5455 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5458 * Makefile (files-for-dist): Remove NOTES.
5459 (NOTES): Remove rule.
5460 * README: Don't refer to NOTES.
5461 * manual/creature.texi: Don't include macros.texi.
5462 * manual/intro.texi (creature.texi): Remove comment referring to
5465 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5466 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5467 * configure: Regenerated.
5468 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5470 (libc_cv_as_i686): Likewise.
5471 (libc_cv_cc_avx): Likewise.
5472 (libc_cv_cc_sse2avx): Likewise.
5473 (libc_cv_cc_fma4): Likewise.
5474 (libc_cv_cc_novzeroupper): Likewise.
5475 * sysdeps/i386/configure: Regenerated.
5478 * sysdeps/i386/fpu/s_cexp.S: Remove.
5479 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5480 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5481 * math/libm-test.inc (cexp_test): Add more tests.
5482 * sysdeps/i386/fpu/libm-test-ulps: Update.
5483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5485 2012-03-21 Allan McRae <allan@archlinux.org>
5487 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5489 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5492 * math/w_exp2.c: Do not include <float.h>.
5493 (o_threshold, u_threshold): Remove.
5494 (__exp2): Calculate result before checking finiteness and calling
5496 * math/w_exp2f.c: Likewise.
5497 * math/w_exp2l.c: Likewise.
5498 * math/libm-test.inc (exp2_test): Require overflow exception for
5502 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5503 range of signed 64-bit integers before using fistpll. Remove
5504 checks for whether integers fit in mantissa bits.
5505 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5506 the range of signed 32-bit integers before using fistpl. Remove
5507 checks for whether integers fit in mantissa bits.
5508 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5509 (__ieee754_powl): Test for y outside the range of signed 64-bit
5510 integers before using fistpll. Reduce 64-bit values to 63-bit
5512 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5513 divide-by-zero is raised for zero to large negative powers.
5514 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5515 (__ieee754_powl): Test for y outside the range of signed 64-bit
5516 integers before using fistpll. Reduce 64-bit values to 63-bit
5518 * math/libm-test.inc (pow_test): Add more tests.
5520 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5522 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5523 <stdio-common/_itoa.h>.
5524 * debug/segfault.c: Likewise.
5525 * elf/dl-cache.c: Likewise.
5526 * elf/dl-minimal.c: Likewise.
5527 * elf/dl-misc.c: Likewise.
5528 * elf/dl-sysdep.c: Likewise.
5529 * elf/dl-version.c: Likewise.
5530 * elf/rtld.c: Likewise.
5531 * hurd/hurdsock.c: Likewise.
5532 * hurd/lookup-retry.c: Likewise.
5533 * malloc/malloc.c: Likewise.
5534 * malloc/mtrace.c: Likewise.
5535 * nscd/nscd_getgr_r.c: Likewise.
5536 * nscd/nscd_getpw_r.c: Likewise.
5537 * nscd/nscd_getserv_r.c: Likewise.
5538 * posix/getopt_init.c: Likewise.
5539 * posix/wordexp.c: Likewise.
5540 * stdio-common/_itoa.c: Likewise.
5541 * stdio-common/printf_fphex.c: Likewise.
5542 * stdio-common/vfprintf.c: Likewise.
5543 * string/_strerror.c: Likewise.
5544 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5545 * sysdeps/i386/i686/hp-timing.h: Likewise.
5546 * sysdeps/mach/_strerror.c: Likewise.
5547 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5548 * sysdeps/mach/hurd/sethostid.c: Likewise.
5549 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5550 * sysdeps/mach/xpg-strerror.c: Likewise.
5551 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5552 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5553 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5554 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5555 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5556 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5557 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5558 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5559 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5560 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5561 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5562 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5563 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5564 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5565 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5566 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5567 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5568 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5569 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5570 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5571 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5573 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5575 * stdio-common/_itoa.h: Moved to ...
5576 * sysdeps/generic/_itoa.h: Here.
5578 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5580 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5581 instead of "_itoa.h" and "_itowa.h".
5582 * stdio-common/vfprintf.: Likewise.
5584 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5586 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5588 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5589 (__signbit): Likwise.
5593 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5595 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5598 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5600 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5601 OVERFLOW_EXCEPTION_OK.
5602 * math/libm-test.inc ("Philosophy"): Update comment about
5604 (OVERFLOW_EXCEPTION): Define.
5605 (OVERFLOW_EXCEPTION_OK): Likewise.
5606 (INVALID_EXCEPTION_OK): Renumber.
5607 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5608 (IGNORE_ZERO_INF_SIGN): Likewise.
5609 (test_exceptions): Handle FE_OVERFLOW.
5610 (exp10_test): Expect overflow exceptions.
5611 (exp2_test): Likewise.
5612 (expm1_test): Likewise.
5613 (nextafter_test): Likewise.
5614 (pow_test): Likewise.
5615 (scalbn_test): Likewise.
5616 (scalbln_test): Likewise.
5618 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5620 * sysdeps/x86_64/bits/atomic.h
5621 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5623 (atomic_exchange_acq): Likewise.
5624 (__arch_exchange_and_add_body): Likewise.
5625 (__arch_add_body): Likewise.
5626 (atomic_add_negative): Likewise.
5627 (atomic_add_zero): Likewise.
5629 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5631 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5632 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5634 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5636 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5637 Check __x86_64__ instead of __WORDSIZE.
5639 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5641 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5643 2012-03-19 David S. Miller <davem@davemloft.net>
5645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5647 * sysdeps/sparc/fpu/fenv_private.h: New file.
5648 * sysdeps/sparc/fpu/math_private.h: Use it.
5649 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5651 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5652 (libc_feholdexcept_setroundl): Remove.
5653 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5655 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5656 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5658 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5660 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5661 int64_t instead of long int.
5662 (INSERT_WORDS64): Likwise.
5664 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5666 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5667 _Unwind_GetCFA return to _Unwind_Ptr first.
5669 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5672 * math/s_clog.c: Include <float.h>.
5673 (__clog): Scale large or subnormal inputs.
5674 * math/s_clogf.c: Likewise.
5675 * math/s_clogl.c: Likewise.
5676 * math/s_clog10.c: Include <float.h>.
5677 (M_LOG10_2): Define.
5678 (__clog10): Scale large or subnormal inputs.
5679 * math/s_clog10f.c: Likewise.
5680 * math/s_clog10l.c: Likewise.
5681 * math/libm-test.inc (clog_test): Add more tests.
5682 (clog10_test): Likewise.
5683 * sysdeps/i386/fpu/libm-test-ulps: Update.
5684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5687 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5689 * math/libm-test.inc (atan2_test): Add another test.
5691 * Makerules (common-objdir-compile): Remove.
5692 * sysdeps/unix/Makefile (config-generated): Do not add
5693 $(unix-generated) to variable.
5694 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5695 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5697 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5699 [generic bits/local_lim.h] (before-compile): Do not append to
5701 [generic bits/local_lim.h] (common-generated): Likewise.
5702 [generic sys/param.h] (before-compile): Do not append to variable.
5703 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5704 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5705 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5706 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5708 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5709 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5710 [generic sys/param.h] ($(addprefix
5711 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5712 [generic sys/param.h] (common-generated): Do not append to
5714 [generic sys/param.h] (sysdep_headers): Likewise.
5715 [generic bits/errno.h] (before-compile): Do not append to
5717 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5719 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5720 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5721 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5722 [generic bits/errno.h] (common-generated): Do not append to
5724 [generic bits/ioctls.h] (before-compile): Do not append to
5726 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5728 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5729 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5730 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5732 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5733 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5734 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5735 [generic bits/ioctls.h] (common-generated): Do not append to
5737 [generic sys/syscall.h] (syscall.h): Remove variable.
5738 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5740 [generic sys/syscall.h] (before-compile): Do not append to
5742 [generic sys/syscall.h] (common-generated): Likewise.
5743 * sysdeps/unix/errnos-tmpl.c: Remove file.
5744 * sysdeps/unix/errnos.awk: Likewise.
5745 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5746 * sysdeps/unix/ioctls.awk: Likewise.
5747 * sysdeps/unix/mk-local_lim.c: Likewise.
5748 * sysdeps/unix/snarf-ioctls: Likewise.
5750 2012-03-19 Richard Henderson <rth@twiddle.net>
5752 * sysdeps/i386/fpu/fenv_private.h: New file.
5753 * sysdeps/i386/fpu/math_private.h: Use it.
5754 (math_opt_barrier, math_force_eval): Remove.
5755 (libc_feholdexcept_setround_53bit): Remove.
5756 (libc_feupdateenv_53bit): Remove.
5757 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5758 (math_opt_barrier, math_force_eval): Remove.
5759 (libc_feholdexcept): Remove.
5760 (libc_feholdexcept_setround): Remove.
5761 (libc_fetestexcept, libc_fesetenv): Remove.
5762 (libc_feupdateenv_test): Remove.
5763 (libc_feupdateenv, libc_feholdsetround): Remove.
5764 (libc_feresetround): Remove.
5766 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5767 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5769 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5770 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5771 (libc_feupdateenv_testl): New.
5772 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5773 (libc_feupdateenv_testf): New.
5774 (libc_feupdateenv): Use libc_feupdateenv_test.
5775 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5776 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5778 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5779 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5780 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5781 (libc_feresetround_noex): New.
5782 (libc_feresetround_noexf): New.
5783 (libc_feresetround_noexl): New.
5784 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5785 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5786 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5787 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5789 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5790 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5792 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5793 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5794 SET_RESTORE_ROUND_NOEX.
5795 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5796 SET_RESTORE_ROUND_NOEXF.
5797 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5798 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5799 (libc_feholdsetroundf): New.
5800 (libc_feresetround, libc_feresetroundf): New.
5802 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5803 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5804 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5806 * sysdeps/generic/math_private.h: Include <fenv.h>.
5807 (default_libc_feholdexcept): New.
5808 (default_libc_feholdexcept_setround): New.
5809 (default_libc_fesetenv, default_libc_feupdateenv): New.
5810 (libc_feholdexcept): Only define if undefined.
5811 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5812 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5813 (libc_feholdexcept_setroundl): Likewise.
5814 (libc_feholdexcept_setround_53bit): Likewise.
5815 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5816 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5817 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5818 (libc_feupdateenv_53bit): Likewise.
5819 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5820 (libc_feholdexcept): Convert from macro to inline function.
5821 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5822 (libc_fesetenv, libc_feupdateenv): Likewise.
5824 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5825 not previously defined.
5826 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5827 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5828 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5829 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5830 * sysdeps/ieee754/flt-32/math_private.h: New file.
5831 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5832 math_private.h below SET_FLOAT_WORD.
5833 (__isnan, __isinf_ns, __finite): Remove.
5834 (__isnanf, __isinf_nsf, __finitef): Remove.
5836 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5840 2012-03-17 David S. Miller <davem@davemloft.net>
5843 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5846 2012-03-16 David S. Miller <davem@davemloft.net>
5848 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5852 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5854 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5855 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5856 sysdep_routines when subdir is sysvipc.
5857 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5860 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5862 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5864 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5867 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5869 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5870 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5871 (__lround): Renamed to ...
5872 (__llround): This. Replace long int with long long int.
5873 Define lround functions as aliases of llround functions.
5874 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5876 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5878 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5879 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5880 adresses to uintptr_t. Replace "long int" and "unsigned long
5881 int" with "greg_t" on va_arg.
5883 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5885 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5886 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5888 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5889 Move e_machine check before EI_CLASS check. Handle x32
5890 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5891 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5892 SKIP_EM_IA_64 and include
5893 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5895 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5896 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5897 (add_system_dir): New macro.
5899 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5900 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5902 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5913 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5915 * math/w_j0f.c (j0f): Likewise.
5917 * math/w_j0l.c (__j0l): Likewise.
5919 * math/w_j1.c (j1): Likewise.
5921 * math/w_j1f.c (j1f): Likewise.
5923 * math/w_j1l.c (__j1l): Likewise.
5925 * math/w_jn.c (jn): Likewise.
5927 * math/w_jnf.c (jnf): Likewise.
5929 * math/w_jnl.c (__jnl): Likewise.
5931 * math/libm-test.inc (j0_test): Add more tests.
5932 (j1_test): Likewise.
5933 (jn_test): Likewise. Add trailing semicolon to existing test.
5934 (y0_test): Likewise.
5935 (y1_test): Likewise.
5936 * sysdeps/i386/fpu/libm-test-ulps: Update.
5937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5941 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5942 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5943 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5944 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5945 (__tanl): Set errno for infinite argument.
5946 * sysdeps/i386/fpu/mptan.c: Remove.
5947 * sysdeps/i386/fpu/s_tan.S: Likewise.
5948 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5949 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5950 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5951 * math/libm-test.inc (tan_test): Add more tests and enable more
5952 tests for double and long double.
5953 * sysdeps/i386/fpu/libm-test-ulps: Update.
5954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5956 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5958 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5959 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5961 2012-03-16 Roland McGrath <roland@hack.frob.com>
5963 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5964 * configure.in: Use it for both main tree and add-ons.
5965 * configure: Regenerated.
5967 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5969 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5971 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5973 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5977 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5978 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5979 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5980 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5981 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5983 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5984 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5986 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5987 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5988 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5989 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5990 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5991 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5992 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5993 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5994 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5995 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5996 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5997 * math/libm-test.inc (cos_test): Add more tests and enable more
5998 tests for long double.
5999 (sin_test): Likewise.
6000 (sincos_test): Likewise.
6001 * sysdeps/i386/fpu/libm-test-ulps: Update.
6002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6004 2012-03-16 David S. Miller <davem@davemloft.net>
6006 * sysdeps/sparc/fpu/math_private.h: New file.
6008 2012-03-15 David S. Miller <davem@davemloft.net>
6010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6020 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6024 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6025 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6027 * sysdeps/sparc/sparc-ifunc.h: New file.
6028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6054 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6055 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6066 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6067 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6068 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6069 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6070 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6071 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6073 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6075 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6079 2012-03-15 Andreas Jaeger <aj@suse.de>
6082 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6083 ieee754/flt-32 implementation for sin, cos and sincos.
6084 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6085 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6086 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6087 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6088 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6089 ieee754/flt-32 implementation for tan.
6091 * math/libm-test.inc (cos_test): Enable some large input tests for
6093 (sin_test): Likewise.
6094 (sincos_test): Likewise.
6095 (tan_test): Add tests for large input.
6097 * sysdeps/i386/fpu/libm-test-ulps: Update.
6099 2012-03-15 Andreas Jaeger <aj@suse.de>
6102 * math/libm-test.inc (cos_test): Add more test cases.
6103 (sin_test): Likewise.
6104 (sincos_test): Likewise.
6106 2012-03-15 Andreas Jaeger <aj@suse.de>
6109 * math/libm-test.inc (cos_test): Add a test case for large input
6111 (sin_test): Likewise.
6112 (sincos_test): Likewise.
6114 2012-03-15 Andreas Jaeger <aj@suse.de>,
6115 Joseph Myers <joseph@codesourcery.com>
6118 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6119 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6120 * sysdeps/i386/fpu/branred.c: Likewise.
6121 * sysdeps/i386/fpu/dosincos.c: Likewise.
6122 * sysdeps/i386/fpu/mpa.c: Likewise.
6123 * sysdeps/i386/fpu/s_cos.S: Likewise.
6124 * sysdeps/i386/fpu/s_sin.S: Likewise.
6125 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6126 * sysdeps/i386/fpu/sincos32.c: Likewise.
6128 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6130 (libc_feupdateenv_53bit): Define.
6131 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6133 (libc_feupdateenv_53bit): Define.
6135 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6136 53 bit (without extend i386 double precision).
6138 * math/libm-test.inc (sincos_test): Add tests for large input.
6142 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6144 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6148 2012-03-15 David S. Miller <davem@davemloft.net>
6150 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6151 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6152 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6153 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6177 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6178 fmin/fmax sysdep routines.
6179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6181 2012-03-14 David S. Miller <davem@davemloft.net>
6183 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6184 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6185 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6186 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6187 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6188 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6189 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6190 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6192 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6203 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6204 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6205 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6206 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6207 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6208 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6209 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6210 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6211 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6255 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6260 * sysdeps/sparc/configure.in: New file.
6261 * sysdeps/sparc/configure: Generate.
6262 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6263 * configure: Regenerate.
6264 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6265 * config.make.in (have-as-vis3): New.
6266 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6267 available use -Av9d instead of -Av9a.
6268 * sysdeps/sparc/sparc64/Makefile: Likewise.
6269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6278 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6279 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6280 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6281 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6282 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6284 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6285 fzeros/fnegs to load 0x80000000 into a float register instead of
6287 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6289 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6291 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6293 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6294 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6295 ($(inst_includedir)/bits/syscall.h): Remove rule.
6296 ($(objpfx)bits/syscall.d): Include instead of
6297 $(objpfx)syscall-list.d.
6298 (generated): Change syscall-list.h and syscall-list.d to
6299 bits/syscall.h and bits/syscall.d.
6301 2012-03-14 Roland McGrath <roland@hack.frob.com>
6304 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6306 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6309 * math/s_csqrt.c: Include <float.h>.
6310 (__csqrt): Scale large or subnormal inputs.
6311 * math/s_csqrtf.c: Likewise.
6312 * math/s_csqrtl.c: Likewise.
6313 * math/libm-test.inc (csqrt_test): Add more tests.
6314 * sysdeps/i386/fpu/libm-test-ulps: Update.
6315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6318 * math/libm-test.inc (hypot_test): Add more tests.
6320 2012-03-13 David S. Miller <davem@davemloft.net>
6323 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6324 double-precision for the calculation instead of scaling.
6326 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6328 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6329 manipulate bits before adding and subtracting TWO52[sx].
6330 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6331 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6333 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6335 2012-03-13 David S. Miller <davem@davemloft.net>
6337 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6338 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6339 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6340 rtld-global-offsets.h
6341 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6343 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6346 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6348 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6349 'err' in the ifdef scope in which it is actually used.
6351 * nss/nss_db/db-init.c: Include string.h
6353 2012-03-12 David S. Miller <davem@davemloft.net>
6355 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6356 masking out of the most significant byte of random value used.
6357 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6358 Fix coding style in previous change.
6360 * sysdeps/unix/sysv/linux/kernel-features.h
6361 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6362 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6364 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6367 2012-03-11 David S. Miller <davem@davemloft.net>
6369 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6370 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6371 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6372 for 'resultvar' otherwise things get truncated on 64-bit.
6374 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6375 Fix masking out of the most significant byte of random value used.
6377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6379 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6383 2012-03-09 David S. Miller <davem@davemloft.net>
6385 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6386 variables with appropriate CPP guards.
6387 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6388 frame pointer, not the stack pointer. Correct layout comments. Fix test
6389 on resulting framesize and the management of the outregs buffer for pltexit.
6390 Preserve floating point return values across _dl_call_pltexit call.
6391 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6392 framesize and the management of the outregs buffer for pltexit.
6393 Preserve floating point return values across _dl_call_pltexit
6395 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6396 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6397 (print_exit): Fix format string for return register value.
6399 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6401 * sunrpc/Makefile (others): Add rpcgen.
6402 ($(objpfx)rpcgen): Remove special build rule and dependency on
6404 * sunrpc/rpcgen.c: New file.
6406 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6409 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6410 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6411 * sysdeps/i386/crti.S: Likewise.
6412 * sysdeps/i386/crtn.S: Likewise.
6413 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6414 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6415 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6416 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6417 * sysdeps/sh/crti.S: Likewise.
6418 * sysdeps/sh/crtn.S: Likewise.
6419 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6422 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6424 * locale/programs/locfile-kw.gperf: Likewise.
6425 * locale/programs/charmap-kw.h: Regenerated.
6426 * locale/programs/locfile-kw.h: Likewise.
6429 * intl/plural.y: Replace FSF snail mail address with URL.
6430 * intl/plural.c: Regenerated.
6432 2012-03-09 Richard Henderson <rth@twiddle.net>
6434 * include/math_private.h: Remove file.
6435 * math/math_private.h: Move file ...
6436 * sysdeps/generic/math_private.h: ... here.
6438 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6439 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6440 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6442 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6443 and <math_private.h>.
6444 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6445 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6446 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6447 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6448 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6449 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6450 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6451 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6452 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6453 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6455 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6456 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6457 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6458 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6459 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6460 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6461 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6462 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6463 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6464 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6465 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6466 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6467 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6489 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6490 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6491 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6492 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6493 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6494 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6495 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6496 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6497 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6498 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6499 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6500 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6501 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6502 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6503 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6504 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6516 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6517 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6518 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6519 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6522 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6524 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6526 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6527 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6528 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6529 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6530 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6531 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6532 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6533 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6534 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6535 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6536 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6537 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6538 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6539 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6540 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6541 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6542 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6543 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6544 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6545 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6546 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6547 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6548 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6549 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6550 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6551 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6552 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6553 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6554 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6555 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6556 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6557 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6558 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6559 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6560 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6561 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6562 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6563 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6564 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6565 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6566 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6567 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6568 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6569 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6570 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6571 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6572 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6573 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6574 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6575 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6576 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6577 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6578 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6579 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6580 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6581 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6582 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6583 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6584 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6585 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6586 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6587 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6588 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6589 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6590 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6591 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6592 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6593 * sysdeps/ieee754/k_standard.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6709 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6713 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6714 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6716 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6721 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6743 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6744 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6754 * sysdeps/ieee754/s_lib_version.c: Likewise.
6755 * sysdeps/ieee754/s_matherr.c: Likewise.
6756 * sysdeps/ieee754/s_signgam.c: Likewise.
6757 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6758 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6759 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6760 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6761 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6762 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6763 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6764 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6765 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6766 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6767 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6768 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6769 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6770 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6771 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6772 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6773 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6774 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6775 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6776 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6777 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6779 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6781 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6782 * sunrpc/rpc_main.c: Likewise.
6783 * sunrpc/rpc_svcout.c: Likewise.
6785 2012-03-09 David S. Miller <davem@davemloft.net>
6787 * include/math_private.h: New file.
6789 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6791 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6792 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6793 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6794 from <bits/socket_type.h>.
6795 (enum __socket_type): Don't define here.
6796 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6801 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6804 * Makerules ($(inst_includedir)/%.h): New rule.
6805 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6806 (install-others): Remove variable setting.
6807 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6809 2012-03-08 Richard Henderson <rth@twiddle.net>
6811 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6812 from macro to inline function; merge with the
6813 !__LIBC_INTERNAL_MATH_INLINES version.
6814 (__ieee754_sqrtf): Likewise.
6816 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6818 (__rintf, __floor, __floorf): Likewise.
6820 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6821 macro to inline function.
6822 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6824 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6825 not <math/math_private.h>.
6827 2012-03-08 David S. Miller <davem@davemloft.net>
6829 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6831 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6833 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6835 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6837 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6838 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6840 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6842 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6843 be defined individually, they must be defined as a block. Define
6844 S for printing a string instead of hidint the different by using a
6845 macro for adding the 'l'.
6846 * stdio-common/tst-fphex-wide.c: Adjust.
6848 2012-03-07 Marek Polacek <polacek@redhat.com>
6850 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6852 2012-03-08 Marek Polacek <polacek@redhat.com>
6855 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6856 * stdio-common/tst-fphex.c: Define a few macros to make the
6857 test reusable. Use them.
6858 * stdio-common/tst-fphex-wide.c: New file.
6860 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6863 * manual/macros.texi (gnusystems): New macro.
6864 (nongnusystems): Likewise.
6865 (gnulinuxhurdsystems): Likewise.
6866 (gnuhurdsystems): Likewise..
6867 (gnulinuxsystems): Likewise.
6868 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6869 variants of the GNU system, not "GNU system".
6870 * manual/conf.texi: Likewise.
6871 * manual/errno.texi: Likewise. Update example of errno macro
6873 * manual/filesys.texi: Likewise.
6874 (getumask): Document as specific to GNU/Hurd.
6875 * manual/install.texi: Likewise. Reword some references to
6877 * manual/intro.texi: Likewise.
6878 * manual/io.texi: Likewise.
6879 (File Name Portability): Detail which constraints are inapplicable
6880 to all GNU systems and which are only inapplicable to GNU/Hurd.
6881 * manual/job.texi: Likewise.
6882 * manual/llio.texi: Likewise.
6883 (O_NOCTTY): Document as present on GNU/Linux.
6884 * manual/maint.texi: Likewise.
6885 * manual/memory.texi: Likewise.
6886 * manual/pattern.texi: Likewise.
6887 * manual/pipe.texi: Likewise.
6888 * manual/process.texi: Likewise.
6889 * manual/resource.texi: Likewise.
6890 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6892 * manual/setjmp.texi: Likewise.
6893 * manual/signal.texi: Likewise.
6894 * manual/startup.texi: Likewise.
6895 * manual/stdio.texi: Likewise.
6896 * manual/terminal.texi: Likewise.
6897 (ONLCR): Document as POSIX.
6898 (OXTABS): Document availability on GNU/Linux as XTABS.
6899 (ONOEOT): Document availability separately from other bits.
6900 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6901 * manual/time.texi: Likewise.
6902 * manual/users.texi: Likewise.
6903 * INSTALL: Regenerated.
6904 * sysdeps/gnu/errlist.c: Regenerated.
6906 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6907 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6908 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6910 * configure: Regenerated.
6912 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6914 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6915 default includes instead of AC_HEADER_CHECK.
6916 * sysdeps/i386/configure: Regenerated.
6919 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6920 * math/s_cacoshf.c (__cacoshf): Likewise.
6921 * math/s_cacoshl.c (__cacoshl): Likewise.
6922 * math/s_casinh.c (__casinh): Set signs of result from argument.
6923 * math/s_casinhf.c (__casinhf): Likewise.
6924 * math/s_casinhl.c (__casinhl): Likewise.
6925 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6926 (casinh_test): Add more tests.
6927 * sysdeps/i386/fpu/libm-test-ulps: Update.
6928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6930 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6932 * po/zh_TW.po: Update from translation team.
6934 * login/Makefile (distribute): Remove variable.
6935 * catgets/Makefile: Likewise.
6936 * mach/Makefile: Likewise.
6937 * malloc/Makefile: Likewise.
6938 * misc/Makefile: Likewise.
6939 * iconv/Makefile: Likewise.
6940 * nscd/Makefile: Likewise.
6941 * hurd/Makefile: Likewise.
6942 * manual/Makefile: Likewise.
6943 * locale/Makefile: Likewise.
6944 * intl/Makefile: Likewise.
6945 * conform/Makefile: Likewise.
6946 * nss/Makefile: Likewise.
6947 * time/Makefile: Likewise.
6948 * soft-fp/Makefile: Likewise.
6949 * dirent/Makefile: Likewise.
6950 * gmon/Makefile: Likewise.
6951 * po/Makefile: Likewise.
6952 * rt/Makefile: Likewise.
6953 * socket/Makefile: Likewise.
6954 * math/Makefile: Likewise.
6955 * signal/Makefile: Likewise.
6956 * debug/Makefile: Likewise.
6957 * elf/Makefile: Likewise.
6958 * timezone/Makefile: Likewise.
6959 * stdlib/Makefile: Likewise.
6960 * iconvdata/Makefile: Likewise.
6961 * sunrpc/Makefile: Likewise.
6962 * io/Makefile: Likewise.
6963 * argp/Makefile: Likewise.
6964 * inet/Makefile: Likewise.
6965 * hesiod/Makefile: Likewise.
6966 * grp/Makefile: Likewise.
6967 * csu/Makefile: Likewise.
6968 * wctype/Makefile: Likewise.
6969 * crypt/Makefile: Likewise.
6970 * libio/Makefile: Likewise.
6971 * string/Makefile: Likewise.
6972 * nis/Makefile: Likewise.
6973 * resolv/Makefile: Likewise.
6974 * stdio-common/Makefile: Likewise.
6975 * wcsmbs/Makefile: Likewise.
6976 * dlfcn/Makefile: Likewise.
6977 * posix/Makefile: Likewise.
6980 * timezone/Makefile: Don't install timezone files, just the programs
6983 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6985 * nss/databases.def: Add missing gshadow entry.
6987 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6989 2012-03-06 Marek Polacek <polacek@redhat.com>
6992 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6993 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6994 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6995 * stdio-common/tst-long-dbl-fphex.c: New file.
6997 2012-03-06 David S. Miller <davem@davemloft.net>
6999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7000 (set_obp_int): New function.
7001 (get_obp_int): New function.
7002 (__get_clockfreq_via_dev_openprom): Likewise.
7003 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7004 Avoid unused variable warnings on 'val' and use builtin_expect.
7005 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7007 (INLINE_CLONE_SYSCALL): Likewise.
7009 2012-03-05 David S. Miller <davem@davemloft.net>
7011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7013 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7017 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7019 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7021 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7023 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7024 Replace gettimeofday with __vdso_gettimeofday.
7026 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7027 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7028 __vdso_clock_gettime and __vdso_getcpu.
7030 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7031 time with __vdso_time.
7033 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7035 * manual/lang.texi (size_t): Note types to which size_t may be
7036 equivalent with the GNU C Library, but do not describe when
7037 differences between them are significant.
7039 2012-03-05 Andreas Jaeger <aj@suse.de>
7041 * sysdeps/i386/fpu/libm-test-ulps: Update.
7043 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7046 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7047 (__ieee754_pow): Save and restore rounding mode and use
7048 round-to-nearest for main computations.
7049 * math/libm-test.inc (pow_test_tonearest): New function.
7050 (pow_test_towardzero): Likewise.
7051 (pow_test_downward): Likewise.
7052 (pow_test_upward): Likewise.
7053 (main): Call the new functions.
7054 * sysdeps/i386/fpu/libm-test-ulps: Update.
7055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7058 * math/libm-test.inc (cosh_test_tonearest): New function.
7059 (cosh_test_towardzero): Likewise.
7060 (cosh_test_downward): Likewise.
7061 (cosh_test_upward): Likewise.
7062 (sinh_test_tonearest): Likewise.
7063 (sinh_test_towardzero): Likewise.
7064 (sinh_test_downward): Likewise.
7065 (sinh_test_upward): Likewise.
7066 (main): Call the new functions.
7067 * sysdeps/i386/fpu/libm-test-ulps: Update.
7068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7070 2012-03-05 Tom de Vries <tom@codesourcery.com>
7072 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7073 default stack guard is set in last bytes.
7074 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7076 2012-03-05 Kees Cook <keescook@chromium.org>
7078 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7081 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7082 possibly allocate from heap instead of stack.
7083 * stdio-common/bug-vfprintf-nargs.c: New file.
7084 * stdio-common/Makefile (tests): Add nargs overflow test.
7086 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7090 2012-03-03 Marek Polacek <polacek@redhat.com>
7092 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7093 * math/math_private.h: Likewise.
7094 * stdlib/tst-strtod.c: Likewise.
7095 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7096 * sysdeps/x86_64/bits/atomic.h: Likewise.
7098 2012-03-02 David S. Miller <davem@davemloft.net>
7100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7104 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7105 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7106 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7107 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7109 2012-03-02 Roland McGrath <roland@hack.frob.com>
7112 * manual/examples/README: New file, says the example source files
7113 can be used under GPL>=2.
7114 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7115 line containing just "*/".
7116 * manual/examples/add.c: Add copyright header (GPL>=2).
7117 * manual/examples/argp-ex1.c: Likewise.
7118 * manual/examples/argp-ex2.c: Likewise.
7119 * manual/examples/argp-ex3.c: Likewise.
7120 * manual/examples/argp-ex4.c: Likewise.
7121 * manual/examples/atexit.c: Likewise.
7122 * manual/examples/db.c: Likewise.
7123 * manual/examples/dir.c: Likewise.
7124 * manual/examples/dir2.c: Likewise.
7125 * manual/examples/execinfo.c: Likewise.
7126 * manual/examples/filecli.c: Likewise.
7127 * manual/examples/filesrv.c: Likewise.
7128 * manual/examples/fmtmsgexpl.c: Likewise.
7129 * manual/examples/genpass.c: Likewise.
7130 * manual/examples/inetcli.c: Likewise.
7131 * manual/examples/inetsrv.c: Likewise.
7132 * manual/examples/isockad.c: Likewise.
7133 * manual/examples/longopt.c: Likewise.
7134 * manual/examples/memopen.c: Likewise.
7135 * manual/examples/memstrm.c: Likewise.
7136 * manual/examples/mkfsock.c: Likewise.
7137 * manual/examples/mkisock.c: Likewise.
7138 * manual/examples/mygetpass.c: Likewise.
7139 * manual/examples/pipe.c: Likewise.
7140 * manual/examples/popen.c: Likewise.
7141 * manual/examples/rprintf.c: Likewise.
7142 * manual/examples/search.c: Likewise.
7143 * manual/examples/select.c: Likewise.
7144 * manual/examples/setjmp.c: Likewise.
7145 * manual/examples/sigh1.c: Likewise.
7146 * manual/examples/sigusr.c: Likewise.
7147 * manual/examples/stpcpy.c: Likewise.
7148 * manual/examples/strdupa.c: Likewise.
7149 * manual/examples/strftim.c: Likewise.
7150 * manual/examples/strncat.c: Likewise.
7151 * manual/examples/subopt.c: Likewise.
7152 * manual/examples/swapcontext.c: Likewise.
7153 * manual/examples/termios.c: Likewise.
7154 * manual/examples/testopt.c: Likewise.
7155 * manual/examples/testpass.c: Likewise.
7156 * manual/examples/timeval_subtract.c: Likewise.
7159 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7161 * manual/timeval_subtract.c.texi: ... here, new file.
7163 2012-03-02 David S. Miller <davem@davemloft.net>
7165 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7167 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7170 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7171 (__sin): Save and restore rounding mode and use round-to-nearest
7172 for all computations.
7173 (__cos): Save and restore rounding mode and use round-to-nearest
7174 for all computations.
7175 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7177 (tan): Save and restore rounding mode and use round-to-nearest for
7179 * math/libm-test.inc (cos_test_tonearest): New function.
7180 (cos_test_towardzero): Likewise.
7181 (cos_test_downward): Likewise.
7182 (cos_test_upward): Likewise.
7183 (sin_test_tonearest): Likewise.
7184 (sin_test_towardzero): Likewise.
7185 (sin_test_downward): Likewise.
7186 (sin_test_upward): Likewise.
7187 (tan_test_tonearest): Likewise.
7188 (tan_test_towardzero): Likewise.
7189 (tan_test_downward): Likewise.
7190 (tan_test_upward): Likewise.
7191 (main): Call the new functions.
7192 * sysdeps/i386/fpu/libm-test-ulps: Update.
7193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7196 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7197 small n, then large n, before computing and testing k+n.
7198 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7199 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7201 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7203 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7204 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7205 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7206 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7207 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7208 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7209 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7210 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7211 * math/libm-test.inc (scalbn_test): Add more tests.
7212 (scalbln_test): Likewise.
7214 * manual/filesys.texi (mode_t): Describe constraints on size and
7215 signedness, not exact equivalence to a particular type.
7217 (ino64_t): Likewise.
7219 (nlink_t): Likewise.
7220 (blkcnt_t): Likewise.
7221 (blkcnt64_t): Likewise.
7222 * manual/llio.texi (off_t): Likewise.
7225 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7226 (__ieee754_exp): Save and restore rounding mode and use
7227 round-to-nearest for all computations.
7228 * math/libm-test.inc (exp_test_tonearest): New function.
7229 (exp_test_towardzero): Likewise.
7230 (exp_test_downward): Likewise.
7231 (exp_test_upward): Likewise.
7232 (main): Call the new functions.
7233 * sysdeps/i386/fpu/libm-test-ulps: Update.
7234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7236 2012-03-01 Chris Demetriou <cgd@google.com>
7238 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7239 have predictable order.
7241 2012-03-01 David S. Miller <davem@davemloft.net>
7243 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7245 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7246 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7247 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7248 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7250 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7251 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7252 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7254 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7255 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7256 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7257 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7258 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7262 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7263 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7264 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7266 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7267 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7268 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7269 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7270 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7271 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7272 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7273 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7274 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7275 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7276 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7277 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7279 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7280 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7282 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7283 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7284 * sysdeps/sparc/elf/configure: Regenerated.
7286 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7288 * configure.in (AS, LD): Require binutils 2.20 or later.
7289 * configure: Regenerated.
7290 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7291 as required minimum version.
7292 * INSTALL: Regenerated.
7296 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7297 before squaring exponent.
7298 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7299 bottom long double and 27 bits of top long double before squaring
7301 * math/libm-test.inc (erfc_test): Add more tests.
7302 * sysdeps/i386/fpu/libm-test-ulps: Update.
7303 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7306 2012-03-01 Kai Tietz <ktietz@redhat.com>
7308 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7309 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7310 containing bit-fields.
7311 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7312 * soft-fp/single.h (_FP_UNION_S): Likewise.
7313 * soft-fp/double.h (_FP_UNION_D): Likewise.
7315 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7318 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7319 not include ../strcmp.S.
7320 [USE_AS_STRNCASECMP_L]: Likewise.
7321 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7322 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7323 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7324 (__strncasecmp_l_ia32): Define as alias to
7325 __strncasecmp_l_nonascii.
7328 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7329 * sysdeps/i386/fpu/libm-test-ulps: Update.
7330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7332 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7335 2012-02-29 Jeff Law <law@redhat.com>
7337 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7340 2012-02-29 Marek Polacek <polacek@redhat.com>
7343 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7344 * elf/Makefile: Add rules to run tst-unused-dep.out.
7346 2012-02-28 David S. Miller <davem@davemloft.net>
7348 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7349 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7350 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7351 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7352 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7353 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7355 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7357 * math/libm-test.inc (llround_test): Move one test from
7358 lround_test. Use TEST_f_L in moved test.
7359 (lround_test): Move misplaced test to llround_test. Add testcase
7362 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7364 * sysdeps/x86_64/fpu/e_expf.S: New file.
7365 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7367 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7370 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7371 of remain_len that may cause incomplete multi-byte character and
7373 * posix/bug-regex33.c: New file.
7374 * posix/Makefile (tests): Add bug-regex33.
7376 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7378 * manual/macros.texi: New file.
7379 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7380 * manual/libc.texinfo: Include macros.texi.
7381 * manual/creatute.texi: Likewise.
7382 * manual/install.texi: Likewise.
7383 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7384 @glibcadj{} in references to the GNU C Library.
7385 * manual/charset.texi: Likewise.
7386 * manual/conf.texi: Likewise.
7387 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7388 when not using those macros.
7389 * manual/creature.texi: Likewise.
7390 * manual/crypt.texi: Likewise.
7391 * manual/errno.texi: Likewise.
7392 * manual/filesys.texi: Likewise.
7393 * manual/header.texi: Likewise.
7394 * manual/install.texi: Likewise.
7395 * manual/intro.texi: Likewise.
7396 * manual/io.texi: Likewise.
7397 * manual/job.texi: Likewise.
7398 * manual/lang.texi: Likewise.
7399 * manual/libc.texiinfo: Likewise.
7400 * manual/llio.texi: Likewise.
7401 * manual/locale.texi: Likewise.
7402 * manual/maint.texi: Likewise.
7403 * manual/math.texi: Likewise.
7404 * manual/memory.texi: Likewise.
7405 * manual/message.texi: Likewise.
7406 * manual/nss.texi: Likewise.
7407 * manual/pattern.texi: Likewise.
7408 * manual/process.texi: Likewise.
7409 * manual/resource.texi: Likewise.
7410 * manual/search.texi: Likewise.
7411 * manual/setjmp.texi: Likewise.
7412 * manual/signal.texi: Likewise.
7413 * manual/socket.texi: Likewise.
7414 * manual/startup.texi: Likewise.
7415 * manual/stdio.texi: Likewise.
7416 * manual/string.texi: Likewise.
7417 * manual/sysinfo.texi: Likewise.
7418 * manual/syslog.texi: Likewise.
7419 * manual/terminal.texi: Likewise.
7420 * manual/time.texi: Likewise.
7421 * manual/users.texi: Likewise.
7422 * INSTALL: Regenerated.
7423 * NOTES: Regenerated.
7424 * sysdeps/gnu/errlist.c: Regenerated.
7426 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7428 * include/dirent.h: Include <dirstream.h> before
7431 2012-02-28 David S. Miller <davem@davemloft.net>
7433 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7434 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7435 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7436 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7438 2012-02-27 David S. Miller <davem@davemloft.net>
7440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7442 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7443 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7446 frame pointer instead of stack pointer relative arg slot.
7447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7448 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7449 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7451 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7454 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7456 2012-02-27 David S. Miller <davem@davemloft.net>
7458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7462 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7463 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7464 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7465 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7467 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7469 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7470 later. Allow versions 5-9.
7471 * configure: Regenerated.
7472 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7473 required minimum version and 4.6 as recommended version. Do not
7474 mention bugs in GCC 2.7 and 2.8.
7475 * INSTALL: Regenerated.
7477 2012-02-27 David S. Miller <davem@davemloft.net>
7479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7483 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7484 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7485 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7486 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7488 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7489 manipulate bits before adding and subtracting TWO112[sx].
7490 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7492 2012-02-27 Roland McGrath <roland@hack.frob.com>
7495 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7496 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7497 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7498 being in POSIX, because they are in 1003.1-2008.
7500 * rt/tst-aio.c: Include <fcntl.h>.
7501 * rt/tst-aio7.c: Likewise.
7502 * rt/tst-aio64.c: Likewise.
7504 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7506 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7508 * manual/install.texi (--with-headers): Describe headers as
7509 interface headers, not private headers.
7510 (Specific advice for GNU/Linux systems): Describe use of headers
7511 from "make headers_install", not private headers from older
7513 * INSTALL: Regenerated.
7514 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7516 * sysdeps/unix/sysv/linux/configure: Regenerated.
7518 * manual/llio.texi (fclean): Remove documentation.
7520 * manual/Makefile (libc-texi-generated): New variable. Include
7522 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7523 $(libc-texi-generated), not duplicated list of files.
7524 (version.texi, stamp-version): New rules.
7525 (realclean): Remove $(libc-texi-generated), not individual files
7526 from that list. Do not remove dir-add.texinfo.
7527 * manual/libc.texinfo: Comment out uses of edition numbers and
7528 references to printed manual. Remove last-updated dates.
7529 (EDITION): Comment out.
7531 (VERSION, UPDATED): Remove.
7532 (version.texi): Include.
7534 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7536 * sysdeps/posix/spawni.c: Include <signal.h>.
7537 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7538 * sysdeps/pthread/aio_fsync.c: Likewise.
7540 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7542 * conform/Makefile (tests): Run only when not cross-compiling and
7543 when fast-check is not defined.
7545 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7546 * conform/data/limits.h-data: Fixes for POSIX2008.
7547 * conform/run-conformtest.sh: Run all tests.
7548 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7550 * include/bits/dlfcn.h: Likewise.
7551 * include/langinfo.h: Likewise.
7552 * include/monetary.h: Likewise.
7553 * include/sys/poll.h: Likewise.
7555 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7557 * posix/spawn.h: Define __need_sigset_t.
7558 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7559 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7560 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7561 to get sigevent_t only.
7562 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7564 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7565 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7566 process_vm_writev only for __USE_GNU.
7567 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7569 * conform/Makefile: For now ignore errors from run-conformtest.
7570 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7571 POSIX to avoid namespace pollution. Don't prepend headers.
7572 * conform/data/aio.h-data: Fixes for POSIX testing.
7573 * conform/data/fcntl.h-data: Likewise.
7574 * conform/data/glob.h-data: Likewise.
7575 * conform/data/grp.h-data: Likewise.
7576 * conform/data/pthread.h-data: Likewise.
7577 * conform/data/pwd.h-data: Likewise.
7578 * conform/data/signal.h-data: Likewise.
7579 * conform/data/spawn.h-data: Likewise.
7580 * conform/data/stdio.h-data: Likewise.
7581 * conform/data/stdlib.h-data: Likewise.
7582 * conform/data/stropts.h-data: Likewise.
7583 * conform/data/sys/mman.h-data: Likewise.
7584 * conform/data/sys/stat.h-data: Likewise.
7585 * conform/data/sys/types.h-data: Likewise.
7586 * conform/data/sys/wait.h-data: Likewise.
7587 * conform/data/time.h-data: Likewise.
7588 * conform/data/unistd.h-data: Likewise.
7589 * conform/data/utime.h-data: Likewise.
7591 * io/sys/stat.h: fchmod was always in POSIX.
7592 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7593 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7594 * rt/aio.h: Define __need_timespec before including <time.h>.
7595 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7596 struct. Add forward declaration of pthread_attr_t and use it in
7598 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7599 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7600 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7601 always remove CLK_TCK definition.
7603 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7605 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7607 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7609 * conform/run-conformtest.sh: New file.
7610 * conform/Makefile: Run run-conformtest for tests.
7611 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7614 * conform/data/uchar.h-data: New file.
7615 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7616 * conform/data/arpa/inet.h-data: Likewise.
7617 * conform/data/assert.h-data: Likewise.
7618 * conform/data/complex.h-data: Likewise.
7619 * conform/data/cpio.h-data: Likewise.
7620 * conform/data/ctype.h-data: Likewise.
7621 * conform/data/dirent.h-data: Likewise.
7622 * conform/data/dlfcn.h-data: Likewise.
7623 * conform/data/errno.h-data: Likewise.
7624 * conform/data/fcntl.h-data: Likewise.
7625 * conform/data/float.h-data: Likewise.
7626 * conform/data/fmtmsg.h-data: Likewise.
7627 * conform/data/fnmatch.h-data: Likewise.
7628 * conform/data/ftw.h-data: Likewise.
7629 * conform/data/glob.h-data: Likewise.
7630 * conform/data/grp.h-data: Likewise.
7631 * conform/data/iconv.h-data: Likewise.
7632 * conform/data/inttypes.h-data: Likewise.
7633 * conform/data/langinfo.h-data: Likewise.
7634 * conform/data/libgen.h-data: Likewise.
7635 * conform/data/limits.h-data: Likewise.
7636 * conform/data/locale.h-data: Likewise.
7637 * conform/data/math.h-data: Likewise.
7638 * conform/data/monetary.h-data: Likewise.
7639 * conform/data/mqueue.h-data: Likewise.
7640 * conform/data/ndbm.h-data: Likewise.
7641 * conform/data/net/if.h-data: Likewise.
7642 * conform/data/netdb.h-data: Likewise.
7643 * conform/data/netinet/in.h-data: Likewise.
7644 * conform/data/nl_types.h-data: Likewise.
7645 * conform/data/poll.h-data: Likewise.
7646 * conform/data/pthread.h-data: Likewise.
7647 * conform/data/pwd.h-data: Likewise.
7648 * conform/data/regex.h-data: Likewise.
7649 * conform/data/sched.h-data: Likewise.
7650 * conform/data/search.h-data: Likewise.
7651 * conform/data/semaphore.h-data: Likewise.
7652 * conform/data/setjmp.h-data: Likewise.
7653 * conform/data/signal.h-data: Likewise.
7654 * conform/data/spawn.h-data: Likewise.
7655 * conform/data/stdarg.h-data: Likewise.
7656 * conform/data/stdio.h-data: Likewise.
7657 * conform/data/stdlib.h-data: Likewise.
7658 * conform/data/string.h-data: Likewise.
7659 * conform/data/strings.h-data: Likewise.
7660 * conform/data/stropts.h-data: Likewise.
7661 * conform/data/sys/ipc.h-data: Likewise.
7662 * conform/data/sys/mman.h-data: Likewise.
7663 * conform/data/sys/msg.h-data: Likewise.
7664 * conform/data/sys/resource.h-data: Likewise.
7665 * conform/data/sys/select.h-data: Likewise.
7666 * conform/data/sys/sem.h-data: Likewise.
7667 * conform/data/sys/shm.h-data: Likewise.
7668 * conform/data/sys/socket.h-data: Likewise.
7669 * conform/data/sys/stat.h-data: Likewise.
7670 * conform/data/sys/statvfs.h-data: Likewise.
7671 * conform/data/sys/time.h-data: Likewise.
7672 * conform/data/sys/timeb.h-data: Likewise.
7673 * conform/data/sys/times.h-data: Likewise.
7674 * conform/data/sys/types.h-data: Likewise.
7675 * conform/data/sys/uio.h-data: Likewise.
7676 * conform/data/sys/un.h-data: Likewise.
7677 * conform/data/sys/utsname.h-data: Likewise.
7678 * conform/data/sys/wait.h-data: Likewise.
7679 * conform/data/syslog.h-data: Likewise.
7680 * conform/data/tar.h-data: Likewise.
7681 * conform/data/termios.h-data: Likewise.
7682 * conform/data/utime.h-data: Likewise.
7683 * conform/data/utmpx.h-data: Likewise.
7684 * conform/data/varargs.h-data: Likewise.
7685 * conform/data/wchar.h-data: Likewise.
7686 * conform/data/wctype.h-data: Likewise.
7687 * conform/data/wordexp.h-data: Likewise.
7689 * include/stropts.h: New file.
7690 * include/uchar.h: New file.
7691 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7692 * include/assert.h: Likewise.
7693 * include/ctype.h: Likewise.
7694 * include/dirent.h: Likewise.
7695 * include/dlfcn.h: Likewise.
7696 * include/fcntl.h: Likewise.
7697 * include/fnmatch.h: Likewise.
7698 * include/glob.h: Likewise.
7699 * include/grp.h: Likewise.
7700 * include/libio.h: Likewise.
7701 * include/locale.h: Likewise.
7702 * include/math.h: Likewise.
7703 * include/net/if.h: Likewise.
7704 * include/netdb.h: Likewise.
7705 * include/netinet/in.h: Likewise.
7706 * include/pthread.h: Likewise.
7707 * include/pwd.h: Likewise.
7708 * include/regex.h: Likewise.
7709 * include/sched.h: Likewise.
7710 * include/search.h: Likewise.
7711 * include/setjmp.h: Likewise.
7712 * include/signal.h: Likewise.
7713 * include/stdio.h: Likewise.
7714 * include/stdlib.h: Likewise.
7715 * include/string.h: Likewise.
7716 * include/sys/cdefs.h: Likewise.
7717 * include/sys/mman.h: Likewise.
7718 * include/sys/msg.h: Likewise.
7719 * include/sys/resource.h: Likewise.
7720 * include/sys/select.h: Likewise.
7721 * include/sys/socket.h: Likewise.
7722 * include/sys/stat.h: Likewise.
7723 * include/sys/statvfs.h: Likewise.
7724 * include/sys/time.h: Likewise.
7725 * include/sys/times.h: Likewise.
7726 * include/sys/uio.h: Likewise.
7727 * include/sys/utsname.h: Likewise.
7728 * include/sys/wait.h: Likewise.
7729 * include/termios.h: Likewise.
7730 * include/time.h: Likewise.
7731 * include/ulimit.h: Likewise.
7732 * include/unistd.h: Likewise.
7733 * include/utime.h: Likewise.
7734 * include/wchar.h: Likewise.
7735 * include/wctype.h: Likewise.
7736 * include/wordexp.h: Likewise.
7738 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7740 * time/time.h: TIME_UTC must be a macro.
7741 Make timespec_get available for ISO C11 only as well.
7743 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7745 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7746 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7748 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7750 * configure.in: Use -o not -a in test for unsupported multi-arch.
7752 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7754 * manual/texinfo.tex: Update to version 2012-01-19.16.
7756 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7758 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7760 2012-02-24 Roland McGrath <roland@hack.frob.com>
7763 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7764 * manual/fdl-1.3.texi: New file.
7765 * manual/fdl-1.1.texi: File removed.
7768 * manual/libc.texinfo (FDL_VERSION): New @set.
7769 Use it for mention of FDL in cover text.
7770 (Documentation License): Use it in @include file name.
7772 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7773 Roland McGrath <roland@hack.frob.com>
7776 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7777 not LONG_LONG_MAX and LONG_LONG_MIN.
7778 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7779 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7781 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7783 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7787 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7788 manipulate bits before adding and subtracting TWO23[sx].
7789 * math/libm-test.inc (nearbyint_test): Add more tests.
7791 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7794 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7795 bits before adding and subtracting TWO23[sx].
7796 * math/libm-test.inc (rint_test): Add more tests.
7797 (rint_test_tonearest): Likewise.
7798 (rint_test_towardzero): Likewise.
7799 (rint_test_downward): Likewise.
7800 (rint_test_upward: Likewise.
7802 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7805 * include/stdc-predef.h: New file. Extracted from features.h.
7806 * include/features.h: Include stdc-predef.h.
7807 * Makefile (headers): Add stdc-predef.h.
7808 * CONFORMANCE (Compiler limitations): Update.
7810 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7812 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7814 2012-02-21 David S. Miller <davem@davemloft.net>
7816 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7817 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7819 2012-02-20 David S. Miller <davem@davemloft.net>
7821 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7822 using a normal save/restore sequence, rather than allocating a
7823 dummy stack frame just to store a frame pointer and restore.
7824 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7826 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7828 * manual/install.texi: Fix stray word in line-wrapped comment.
7830 2012-02-20 David S. Miller <davem@davemloft.net>
7832 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7833 both binutils and gcc support GOTDATA.
7835 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7836 "rd %pc" in the PIC register setup sequences.
7838 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7839 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7840 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7841 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7842 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7843 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7844 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7845 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7847 (SYSCALL_ERROR_HANDLER): Likewise.
7848 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7849 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7850 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7851 (SYSCALL_ERROR_HANDLER): Likewise.
7853 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7854 (HAVE_GCC_GOTDATA): New.
7855 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7856 relocation support in both binutils and gcc.
7857 * sysdeps/sparc/elf/configure: Regenerate.
7859 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7860 * sysdeps/sparc/sparc32/elf/configure: Delete.
7861 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7862 * sysdeps/sparc/sparc64/elf/configure: Delete.
7863 * sysdeps/sparc/elf/configure.in: New file.
7864 * sysdeps/sparc/elf/configure: Generate.
7866 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7867 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7868 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7869 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7870 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7872 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7874 * manual/install.texi: Do not mention specific glibc version
7876 * manual/libc.texinfo (VERSION, UPDATED): Update.
7877 (@copying): Use @copyright{} and range of years.
7879 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7882 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7883 [crti.S not in sysdirs] (generated): Do not append.
7884 [crti.S not in sysdirs] (omit-deps): Likewise.
7885 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7886 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7887 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7888 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7889 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7891 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7892 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7893 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7894 * csu/defs.awk: Remove file.
7895 * sysdeps/generic/initfini.c: Likewise.
7896 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7898 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7901 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7903 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7904 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7905 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7906 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7907 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7908 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7910 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7911 (__EPOLL_PACKED): Define to empty if not defined by
7913 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7914 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7917 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7919 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7920 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7921 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7922 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7924 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7925 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7928 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7930 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7932 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7933 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7934 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7937 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7939 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7940 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7942 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7944 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7945 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7947 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7949 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7952 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7954 * math/w_acos.c: Use non-signaling floating-point comparisons.
7955 * math/w_acosf.c: Likewise.
7956 * math/w_acosh.c: Likewise.
7957 * math/w_acoshf.c: Likewise.
7958 * math/w_acoshl.c: Likewise.
7959 * math/w_acosl.c: Likewise.
7960 * math/w_asin.c: Likewise.
7961 * math/w_asinf.c: Likewise.
7962 * math/w_asinl.c: Likewise.
7963 * math/w_atanh.c: Likewise.
7964 * math/w_atanhf.c: Likewise.
7965 * math/w_atanhl.c: Likewise.
7966 * math/w_exp2.c: Likewise.
7967 * math/w_exp2f.c: Likewise.
7968 * math/w_exp2l.c: Likewise.
7969 * math/w_j0.c: Likewise.
7970 * math/w_j0f.c: Likewise.
7971 * math/w_j0l.c: Likewise.
7972 * math/w_j1.c: Likewise.
7973 * math/w_j1f.c: Likewise.
7974 * math/w_j1l.c: Likewise.
7975 * math/w_jn.c: Likewise.
7976 * math/w_jnf.c: Likewise.
7977 * math/w_log.c: Likewise.
7978 * math/w_log10.c: Likewise.
7979 * math/w_log10f.c: Likewise.
7980 * math/w_log10l.c: Likewise.
7981 * math/w_log2.c: Likewise.
7982 * math/w_log2f.c: Likewise.
7983 * math/w_log2l.c: Likewise.
7984 * math/w_logf.c: Likewise.
7985 * math/w_logl.c: Likewise.
7986 * math/w_sqrt.c: Likewise.
7987 * math/w_sqrtf.c: Likewise.
7988 * math/w_sqrtl.c: Likewise.
7989 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7990 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7991 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7992 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7993 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7995 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7998 * manual/string.texi (strnlen): Use correct parameter name in
7999 equivalent expression.
8001 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8004 * manual/users.texi (seteuid): Consistently use neweuid for
8007 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8010 * manual/nss.texi (Services in the NSS configuration): Correct
8011 list of services in example configuration file.
8013 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8016 * manual/arith.texi: Remove statements about negative zero
8017 behaving identically to zero.
8019 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8022 * manual/install.texi: Do not document upgrading from libc5.
8024 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8027 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8029 2012-02-18 David S. Miller <davem@davemloft.net>
8031 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8032 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8033 %o7 across the call.
8034 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8036 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8038 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8039 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8040 * sysdeps/sparc/crtn.S: Likewise.
8042 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8044 * aout/Makefile: Remove.
8046 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8049 * manual/examples/argp-ex1.c (main): Format definition in GNU
8051 * manual/examples/argp-ex2.c (main): Likewise.
8052 * manual/examples/argp-ex3.c (main): Likewise.
8053 * manual/examples/argp-ex4.c (main): Likewise.
8054 * manual/examples/longopt.c (main): Use new-style prototype
8056 * manual/examples/strncat.c (main): Specify return type and use
8057 (void) for arguments.
8058 * manual/examples/subopt.c (main): Use char **argv argument.
8060 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8063 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8066 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8069 * manual/string.texi (strchr): Change when strchrnul is
8072 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8075 * manual/locale.texi (setlocale): Document LOCPATH.
8077 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8080 * manual/process.texi (execle): Move @dots{} before last argument.
8082 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8085 * manual/charset.texi (Generic Charset Conversion): Fix typo
8086 (LC_TYPE -> LC_CTYPE).
8088 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8091 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8092 (scalbnf): Likewise.
8093 (scalbnl): Likewise.
8094 (scalbln): Likewise.
8095 (scalblnf): Likewise.
8096 (scalblnl): Likewise.
8097 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8101 * manual/filesys.texi (telldir): Use braces around return type.
8102 * manual/llio.texi (mmap): Add space after comma.
8104 * manual/math.texi (jn): Use @var{} on parameter names.
8110 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8112 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8114 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8115 (sched_get_priority_max): Likewise.
8116 * manual/signal.texi (sigvec): Add space after comma.
8117 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8119 (if_indextoname): Likewise.
8120 (if_freenameindex): Likewise.
8121 (sendto): Use ',' instead of '.' in prototype.
8122 * manual/startup.texi (syscall): Use @dots{} instead of literal
8124 * manual/stdio.texi (__fpending): Separate initial words of
8125 paragraph from @deftypefun line.
8126 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8128 (vsyslog): Use @var{} on parameter names.
8129 * manual/terminal.texi (stty): Use @var{} on parameter names.
8130 * manual/users.texi (getutmp): Use @var{} on parameter names.
8131 (getutmpx): Likewise.
8133 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8136 * manual/stdio.texi (fopen): Fix typos in description of
8139 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8142 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8143 get clock_id definition.
8145 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8148 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8149 (madvise): Cast every argument to void on its own.
8151 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8154 * manual/startup.texi (Exit Status): Fix typo.
8156 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8159 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8160 * manual/examples/argp-ex2.c: Likewise.
8161 * manual/examples/argp-ex3.c: Likewise.
8163 2012-02-16 Richard Henderson <rth@redhat.com>
8165 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8166 * sysdeps/s390/s390-32/initfini.c: Remove.
8167 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8168 * sysdeps/s390/s390-64/initfini.c: Remove.
8170 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8172 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8173 compiler output for sysdeps/generic/initfini.c.
8174 * sysdeps/sh/elf/initfini.c: Remove file.
8176 2012-02-16 David S. Miller <davem@davemloft.net>
8179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8181 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8182 * sysdeps/sparc/crti.S: New file.
8183 * sysdeps/sparc/crtn.S: New file.
8184 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8185 * sysdeps/sparc/sparc64/Makefile: Likewise.
8187 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8190 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8192 2012-02-15 Roland McGrath <roland@hack.frob.com>
8195 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8197 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8198 (write, read, close): Likewise.
8199 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8201 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8203 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8204 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8205 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8206 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8208 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8209 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8212 2012-02-14 Marek Polacek <polacek@redhat.com>
8214 * sysdeps/x86_64/crti.S: New file.
8215 * sysdeps/x86_64/crtn.S: New file.
8216 * sysdeps/x86_64/elf/initfini.c: Remove file.
8218 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8220 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8221 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8222 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8223 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8225 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8226 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8229 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8231 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8232 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8233 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8234 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8236 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8240 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8242 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8243 __feraiseexcept instead of feraiseexcept.
8245 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8246 nanosleep invocations.
8247 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8248 strings, and add error checking for a nanosleep invocations.
8250 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8252 Replace FSF snail mail address with URLs, as per GNU coding standards.
8253 Most of the snail mail addresses were wrong anyway, and omitting
8254 them makes the source code easier to maintain. Almost all of the
8255 changes are to license notices and to locale LC_IDENTIFICATION
8256 addresses, except for this one:
8257 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8258 not its snail mail address.
8260 2012-02-09 Richard Henderson <rth@twiddle.net>
8262 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8263 of kernel-features.h.
8265 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8267 2012-02-08 Marek Polacek <polacek@redhat.com>
8269 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8270 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8271 * sysdeps/gnu/_G_config.h: Likewise.
8272 * sysdeps/generic/_G_config.h: Likewise.
8274 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8276 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8280 * sysdeps/powerpc/powerpc32/crti.S: New file.
8281 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8282 * sysdeps/powerpc/powerpc64/crti.S: New file.
8283 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8285 * Makeconfig (have-initfini): Don't set.
8286 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8287 * configure.in (nopic_initfini): Don't substitute.
8288 * config.h.in (HAVE_INITFINI): Don't #undef.
8289 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8290 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8292 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8294 Support crti.S and crtn.S provided directly by architectures.
8295 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8296 [crti.S in sysdirs] (omit-deps): Likewise.
8297 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8298 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8299 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8300 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8301 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8302 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8303 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8304 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8305 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8306 compiler output for sysdeps/generic/initfini.c.
8307 * sysdeps/i386/elf/Makefile: Remove file.
8308 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8310 2012-02-07 Marek Polacek <polacek@redhat.com>
8312 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8313 * sysdeps/gnu/_G_config.h: Likewise.
8314 * sysdeps/mach/hurd/_G_config.h: Likewise.
8316 2012-02-07 Marek Polacek <polacek@redhat.com>
8318 * math/Makefile (tests): Add tst-CMPLX2.
8319 * math/tst-CMPLX2.c: New file.
8321 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8323 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8325 * math/libm-test.inc (jn_test): Add missing L suffix.
8327 2012-02-06 Marek Polacek <polacek@redhat.com>
8329 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8330 * sysdeps/i386/fpu/e_powf.S: Likewise.
8331 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8332 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8333 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8334 * sysdeps/i386/fpu/e_pow.S: Likewise.
8335 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8336 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8337 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8338 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8339 * sysdeps/i386/fpu/e_log2.S: Likewise.
8340 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8341 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8342 * sysdeps/i386/fpu/e_powl.S: Likewise.
8343 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8344 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8345 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8346 * sysdeps/i386/fpu/e_logl.S: Likewise.
8347 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8348 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8349 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8350 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8351 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8352 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8353 * sysdeps/i386/fpu/e_log.S: Likewise.
8354 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8355 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8356 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8357 * sysdeps/i386/fpu/e_logf.S: Likewise.
8358 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8359 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8360 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8361 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8362 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8363 * sysdeps/i386/fpu/e_log10.S: Likewise.
8364 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8365 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8366 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8367 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8368 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8369 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8370 * sysdeps/i386/asm-syntax.h: Likewise.
8371 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8372 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8373 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8374 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8375 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8376 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8377 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8378 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8379 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8380 * sysdeps/powerpc/sysdep.h: Likewise.
8381 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8382 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8384 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8387 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8389 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8391 * sysdeps/i386/sysdep.h: Include <features.h>.
8392 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8395 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8397 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8399 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8402 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8404 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8405 (SETUP_PIC_REG): Use GET_PC_THUNK.
8406 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8409 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8411 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8412 for non-PIC compilation.
8413 (SETUP_PIC_REG): Add .p2align directive.
8414 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8415 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8416 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8417 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8418 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8419 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8420 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8421 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8422 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8423 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8424 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8425 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8426 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8427 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8428 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8429 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8430 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8431 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8432 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8433 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8434 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8435 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8436 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8437 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8438 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8439 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8440 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8441 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8442 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8443 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8444 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8445 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8446 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8448 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8449 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8450 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8453 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8454 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8456 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8458 * math/tst-CMPLX.c: Include <stdio.h>.
8460 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8462 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8464 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8465 * sysdeps/sparc/bits/mathdef.h: Likewise.
8467 2012-01-31 Marek Polacek <polacek@redhat.com>
8469 * libio/libio.h: Don't define _PARAMS.
8470 * locale/programs/config.h: Don't define PARAMS.
8471 * stdlib/strtol_l.c: Likewise.
8472 (__strtol_l): Remove PARAMS from the prototype.
8474 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8476 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8477 names. Just use the correct names. Remove unnecessary wrapper
8479 * malloc/arena.c: Likewise.
8480 * malloc/hooks.c: Likewise.
8482 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8483 ARENA_TEST says not to. Simplify test for creation of a new arena.
8484 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8486 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8488 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8490 (update_get_addr): New function.
8491 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8492 GET_ADDR_MODULE parameter.
8494 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8496 * crypt/cert.c: Remove __STDC__ conditionals.
8497 * crypt/crypt-entry.c: Likewise.
8498 * crypt/crypt_util.c: Likewise.
8499 * libio/filedoalloc.c: Likewise.
8500 * libio/fileops.c: Likewise.
8501 * libio/genops.c: Likewise.
8502 * libio/iofclose.c: Likewise.
8503 * libio/iofdopen.c: Likewise.
8504 * libio/iofopen.c: Likewise.
8505 * libio/iofopen64.c: Likewise.
8506 * libio/iogetdelim.c: Likewise.
8507 * libio/iopopen.c: Likewise.
8508 * libio/obprintf.c: Likewise.
8509 * libio/oldfileops.c: Likewise.
8510 * libio/oldiofclose.c: Likewise.
8511 * libio/oldiofdopen.c: Likewise.
8512 * libio/oldiofopen.c: Likewise.
8513 * libio/oldiopopen.c: Likewise.
8514 * libio/wfiledoalloc.c: Likewise.
8515 * libio/wgenops.c: Likewise.
8516 * locale/programs/xmalloc.c: Likewise.
8517 * misc/syslog.c: Likewise.
8518 * stdio-common/xbug.c: Likewise.
8519 * string/memchr.c: Likewise.
8520 * string/memcmp.c: Likewise.
8521 * string/memrchr.c: Likewise.
8522 * string/rawmemchr.c: Likewise.
8523 * sysdeps/posix/getcwd.c: Likewise.
8524 * time/strftime_l.c: Likewise.
8526 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8528 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8529 * config.make.in (config-cflags-sse2avx): Define.
8530 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8533 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8535 * scripts/config.guess: Update from upstream config git repository.
8536 * scripts/config.sub: Likewise.
8538 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8540 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8542 (R_TILEPRO_*, R_TILEGX_*): New macros.
8544 * scripts/firstversions.awk: Fix bug in version range handling.
8546 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8548 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8550 * include/sys/epoll.h: New file.
8551 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8554 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8556 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8557 Avoid unnecessary __WORDSIZE == 64 test.
8558 (fmaxf): Use VEX format if possible.
8563 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8564 * math/math_private.h: Remove libc_fegetround* and
8566 * sysdeps/i386/configure.in: Check for -msse2avx.
8567 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8568 also if SSE2AVX is defined.
8569 Remove libc_fegetround* and libc_fesetround*.
8570 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8571 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8572 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8574 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8575 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8576 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8577 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8578 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8580 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8582 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8584 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8586 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8588 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8591 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8593 * Makeconfig (libm): Define.
8594 * elf/Makefile: Add rules to build and run tst-relsort1.
8595 * elf/tst-relsort1.c: New file.
8596 * elf/tst-relsort1mod1.c: New file.
8597 * elf/tst-relsort1mod2.c: New file.
8599 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8601 * math/s_ldexp.c: Remove __STDC__ conditionals.
8602 * math/s_ldexpf.c: Likewise.
8603 * math/s_ldexpl.c: Likewise.
8604 * math/s_nextafter.c: Likewise.
8605 * math/s_nexttowardf.c: Likewise.
8606 * math/s_significand.c: Likewise.
8607 * math/s_significandf.c: Likewise.
8608 * math/s_significandl.c: Likewise.
8609 * math/w_jnl.c: Likewise.
8610 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8611 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8612 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8613 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8614 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8615 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8616 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8618 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8629 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8630 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8631 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8632 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8633 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8634 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8635 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8636 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8637 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8638 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8639 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8640 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8641 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8642 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8643 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8644 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8646 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8647 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8649 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8650 * sysdeps/ieee754/k_standard.c: Likewise.
8651 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8652 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8653 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8654 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8712 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8717 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8725 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8726 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8730 * sysdeps/ieee754/s_matherr.c: Likewise.
8731 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8732 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8733 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8734 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8736 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8738 * crypt/md5.h: Remove __STDC__ conditionals.
8739 * libio/libioP.h: Likewise.
8740 * locale/programs/config.h: Likewise.
8741 * sysdeps/generic/sysdep.h: Likewise.
8742 * sysdeps/i386/asm-syntax.h: Likewise.
8743 * sysdeps/s390/asm-syntax.h: Likewise.
8744 * sysdeps/unix/sysdep.h: Likewise.
8745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8748 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8750 * libio/libio.h: Remove __STDC__ conditionals.
8751 * malloc/obstack.h: Likewise.
8752 * math/complex.h: Likewise.
8753 * math/math.h: Likewise.
8754 * sysdeps/generic/_G_config.h: Likewise.
8755 * sysdeps/gnu/_G_config.h: Likewise.
8756 * sysdeps/mach/hurd/_G_config.h: Likewise.
8757 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8758 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8759 * sysdeps/sparc/bits/mathdef.h: Likewise.
8761 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8764 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8765 Clean up HAS_* macros.
8766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8767 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8769 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8771 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8772 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8773 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8774 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8775 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8777 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8779 * elf/tst-unique3.cc (gets): Remove declaration.
8780 * elf/tst-unique3lib.cc (gets): Likewise.
8781 * elf/tst-unique3lib2.cc (gets): Likewise.
8782 * elf/tst-unique4.cc (gets): Likewise.
8784 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8786 * include/stdio.h: Add C++ protection. Add gets declarations and
8788 * debug/tst-chk1.c: Don't declare gets here.
8789 * stdio-common/tst-gets.c: Likewise.
8791 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8793 * posix/glob: Remove directory.
8795 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8797 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8799 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8801 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8802 of the non-standard EPFNOSUPPORT.
8804 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8806 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8807 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8808 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8810 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8812 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8814 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8816 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8818 * nscd/grpcache.c (cache_addgr): Likewise.
8819 * nscd/hstcache.c (cache_addhst): Likewise.
8820 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8821 * nscd/pwdcache.c (cache_addpw): Likewise.
8822 * nscd/servicescache.c (cache_addserv): Likewise.
8824 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8826 * malloc/malloc.c: Various cleanups.
8827 * malloc/hooks.c: Likewise.
8829 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8830 * stdlib/bug-fmtmsg1.c: New file.
8832 * stdlib/fmtmsg.c (init): Add missing unlock.
8833 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8835 2012-01-12 Marek Polacek <polacek@redhat.com>
8837 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8840 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8842 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8843 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8844 macro to ensure uniqueness of label name.
8845 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8846 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8848 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8850 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8852 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8853 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8854 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8857 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8859 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8861 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8862 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8863 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8865 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8867 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8868 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8869 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8872 * math/bits/math-finite.h: Add ldexp support.
8874 2012-01-10 Marek Polacek <polacek@redhat.com>
8876 * locale/programs/localedef.h (show_archive_content): Add noreturn
8879 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8881 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8883 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8885 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8887 * io/Makefile (headers): Add bits/poll2.h.
8889 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8892 typo #include statement.
8894 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8896 * include/sys/cdefs.h: Define __attribute_alloc_size.
8897 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8898 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8899 * elf/pldd.c: Likewise.
8900 * iconv/iconv_charmap.c: Likewise.
8901 * iconv/iconvconfig.c: Likewise.
8902 * iconv/strtab.c: Likewise.
8903 * locale/programs/locale.c: Likewise.
8904 * locale/programs/localedef.h: Likewise.
8905 * locale/programs/simple-hash.c: Likewise.
8906 * nscd/nscd.h: Likewise.
8907 * nss/makedb.c: Likewise.
8908 * sysdeps/generic/ldconfig.h: Likewise.
8909 * locale/programs/localedef.c: Remove xmalloc prototype.
8910 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8912 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8914 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8917 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8919 * math/Makefile (tests): Add tst-CMPLX.
8920 * math/tst-CMPLX.c: New file.
8922 * math/complex.h (CMPLXL): Fix typo.
8924 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8925 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8927 * debug/tst-chk1.c: Add poll and ppoll tests.
8928 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8929 * include/sys/poll.h: Add hidden proto for ppoll.
8930 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8931 * sysdeps/mach/hurd/ppoll.c: Likewise.
8932 * io/ppoll.c: Likewise.
8933 * debug/poll_chk.c: New file.
8934 * debug/ppoll_chk.c: New file.
8935 * include/bits/poll2.h: New file.
8936 * io/bits/poll2.h: New file.
8939 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8941 * configure.in: static is always set to yes. Remove.
8942 * config.make.in: Don't set build-static.
8943 * Makeconfig: Remove use of build-static.
8944 * dlfcn/Makefile: Likewise.
8945 * elf/Makefile: Likewise.
8946 * math/Makefile: Likewise.
8947 * misc/Makefile: Likewise.
8948 * nptl/Makefile: Likewise.
8949 * sysdeps/mach/hurd/Makefile: Likewise.
8951 * configure.in: PWD_P is not used anymore.
8952 * config.make.in: Remove PWD_P entry.
8954 * configure.in: Remove last remnants of RANLIB.
8955 No need to check for signed size_t anymore.
8956 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8958 Remove __builtin_expect test because we require at least gcc 3.4.
8959 * aclocal.m4: Likewise.
8961 * wcsmbs/mbrtoc16.c: Implement using towc function.
8962 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8963 * wcsmbs/wcsmbsload.c: Likewise.
8964 * iconv/gconv_simple.c: Likewise.
8965 * iconv/gconv_int.h: Likewise.
8966 * iconv/gconv_builtin.h: Likewise.
8967 * iconv/iconv_prog.c: Remove CHAR16 handling.
8969 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8971 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8973 * configure.in: Remove --with-elf and --enable-bounded options.
8974 Dont set base_machine for ia64. More non-ELF conditions removed.
8975 Remove testing and setting of leading underscore information.
8976 * config.make.in (build-bounded): Set to no.
8977 * config.h.in: Remove NO_UNDERSCORES entry.
8978 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8980 * csu/start.c: Remove !NO_UNDERSCORE code.
8981 * locale/localeinfo.h: Likewise.
8982 * sysdeps/generic/machine-gmon.h: Likewise.
8983 * sysdeps/generic/sysdep.h: Likewise.
8984 * sysdeps/i386/sysdep.h: Likewise.
8985 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8986 * sysdeps/mach/sysdep.h: Likewise.
8987 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8988 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8989 * sysdeps/sh/sysdep.h: Likewise.
8990 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8991 * sysdeps/unix/i386/sysdep.S: Likewise.
8992 * sysdeps/unix/sparc/start.c: Likewise.
8993 * sysdeps/unix/sparc/sysdep.S: Likewise.
8994 * sysdeps/unix/sparc/sysdep.h: Likewise.
8995 * sysdeps/unix/start.c: Likewise.
8996 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8997 * sysdeps/x86_64/sysdep.h: Likewise.
8999 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9002 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9004 * argp/argp-fmtstream.h: Use const instead __const.
9005 * argp/argp.h: Likewise.
9006 * assert/assert.h: Likewise.
9007 * bits/fenv.h: Likewise.
9008 * bits/sched.h: Likewise.
9009 * bits/sigset.h: Likewise.
9010 * bits/sigthread.h: Likewise.
9011 * catgets/nl_types.h: Likewise.
9012 * conform/data/pthread.h-data: Likewise.
9013 * crypt/crypt-private.h: Likewise.
9014 * crypt/crypt.h: Likewise.
9015 * crypt/crypt_util.c: Likewise.
9016 * ctype/ctype.h: Likewise.
9017 * debug/execinfo.h: Likewise.
9018 * debug/mbsnrtowcs_chk.c: Likewise.
9019 * debug/mbsrtowcs_chk.c: Likewise.
9020 * debug/wcsnrtombs_chk.c: Likewise.
9021 * debug/wcsrtombs_chk.c: Likewise.
9022 * debug/wcstombs_chk.c: Likewise.
9023 * dirent/dirent.h: Likewise.
9024 * dlfcn/dlfcn.h: Likewise.
9025 * elf/neededtest4.c: Likewise.
9026 * grp/grp.h: Likewise.
9027 * gshadow/gshadow.h: Likewise.
9028 * iconv/gconv.h: Likewise.
9029 * iconv/gconv_int.h: Likewise.
9030 * iconv/gconv_simple.c: Likewise.
9031 * iconv/iconv.h: Likewise.
9032 * iconv/loop.c: Likewise.
9033 * iconv/skeleton.c: Likewise.
9034 * include/aio.h: Likewise.
9035 * include/aliases.h: Likewise.
9036 * include/argz.h: Likewise.
9037 * include/arpa/inet.h: Likewise.
9038 * include/assert.h: Likewise.
9039 * include/dirent.h: Likewise.
9040 * include/dlfcn.h: Likewise.
9041 * include/execinfo.h: Likewise.
9042 * include/fcntl.h: Likewise.
9043 * include/fenv.h: Likewise.
9044 * include/glob.h: Likewise.
9045 * include/grp.h: Likewise.
9046 * include/libintl.h: Likewise.
9047 * include/mntent.h: Likewise.
9048 * include/netdb.h: Likewise.
9049 * include/pwd.h: Likewise.
9050 * include/rpc/netdb.h: Likewise.
9051 * include/sched.h: Likewise.
9052 * include/search.h: Likewise.
9053 * include/shadow.h: Likewise.
9054 * include/signal.h: Likewise.
9055 * include/stdio.h: Likewise.
9056 * include/stdlib.h: Likewise.
9057 * include/string.h: Likewise.
9058 * include/sys/socket.h: Likewise.
9059 * include/sys/stat.h: Likewise.
9060 * include/sys/statfs.h: Likewise.
9061 * include/sys/statvfs.h: Likewise.
9062 * include/sys/syslog.h: Likewise.
9063 * include/sys/time.h: Likewise.
9064 * include/sys/uio.h: Likewise.
9065 * include/time.h: Likewise.
9066 * include/unistd.h: Likewise.
9067 * include/utmp.h: Likewise.
9068 * include/wchar.h: Likewise.
9069 * include/wctype.h: Likewise.
9070 * inet/aliases.h: Likewise.
9071 * inet/arpa/inet.h: Likewise.
9072 * inet/netinet/ether.h: Likewise.
9073 * inet/netinet/in.h: Likewise.
9074 * intl/libintl.h: Likewise.
9075 * io/bits/fcntl2.h: Likewise.
9076 * io/fcntl.h: Likewise.
9077 * io/ftw.h: Likewise.
9078 * io/sys/poll.h: Likewise.
9079 * io/sys/stat.h: Likewise.
9080 * io/sys/statfs.h: Likewise.
9081 * io/sys/statvfs.h: Likewise.
9082 * io/utime.h: Likewise.
9083 * libio/bits/stdio.h: Likewise.
9084 * libio/bits/stdio2.h: Likewise.
9085 * libio/libio.h: Likewise.
9086 * libio/libioP.h: Likewise.
9087 * libio/stdio.h: Likewise.
9088 * locale/lc-ctype.c: Likewise.
9089 * locale/locale.h: Likewise.
9090 * login/utmp.h: Likewise.
9091 * malloc/arena.c: Likewise.
9092 * malloc/malloc.c: Likewise.
9093 * malloc/malloc.h: Likewise.
9094 * malloc/mcheck.c: Likewise.
9095 * malloc/mtrace.c: Likewise.
9096 * math/bits/mathcalls.h: Likewise.
9097 * math/fenv.h: Likewise.
9098 * math/math_private.h: Likewise.
9099 * misc/bits/error.h: Likewise.
9100 * misc/bits/syslog.h: Likewise.
9101 * misc/err.h: Likewise.
9102 * misc/error.h: Likewise.
9103 * misc/fstab.h: Likewise.
9104 * misc/mntent.h: Likewise.
9105 * misc/regexp.h: Likewise.
9106 * misc/search.h: Likewise.
9107 * misc/sgtty.h: Likewise.
9108 * misc/sys/mman.h: Likewise.
9109 * misc/sys/syslog.h: Likewise.
9110 * misc/sys/uio.h: Likewise.
9111 * misc/sys/xattr.h: Likewise.
9112 * misc/ttyent.h: Likewise.
9113 * nis/rpcsvc/ypclnt.h: Likewise.
9114 * nss/nss.h: Likewise.
9115 * posix/bits/unistd.h: Likewise.
9116 * posix/fnmatch.h: Likewise.
9117 * posix/glob.h: Likewise.
9118 * posix/sched.h: Likewise.
9119 * posix/spawn.h: Likewise.
9120 * posix/sys/wait.h: Likewise.
9121 * posix/unistd.h: Likewise.
9122 * posix/wordexp.h: Likewise.
9123 * pwd/pwd.h: Likewise.
9124 * resolv/netdb.h: Likewise.
9125 * resource/sys/resource.h: Likewise.
9126 * rt/aio.h: Likewise.
9127 * rt/bits/mqueue2.h: Likewise.
9128 * rt/mqueue.h: Likewise.
9129 * shadow/shadow.h: Likewise.
9130 * signal/signal.h: Likewise.
9131 * socket/send.c: Likewise.
9132 * socket/sendto.c: Likewise.
9133 * socket/sys/socket.h: Likewise.
9134 * stdio-common/printf.h: Likewise.
9135 * stdlib/bits/stdlib.h: Likewise.
9136 * stdlib/fmtmsg.h: Likewise.
9137 * stdlib/monetary.h: Likewise.
9138 * stdlib/stdlib.h: Likewise.
9139 * stdlib/ucontext.h: Likewise.
9140 * streams/stropts.h: Likewise.
9141 * string/argz.h: Likewise.
9142 * string/bits/string2.h: Likewise.
9143 * string/string.h: Likewise.
9144 * string/strings.h: Likewise.
9145 * sunrpc/rpc/auth.h: Likewise.
9146 * sunrpc/rpc/auth_des.h: Likewise.
9147 * sunrpc/rpc/clnt.h: Likewise.
9148 * sunrpc/rpc/netdb.h: Likewise.
9149 * sunrpc/rpc/pmap_clnt.h: Likewise.
9150 * sunrpc/rpc/xdr.h: Likewise.
9151 * sysdeps/generic/inttypes.h: Likewise.
9152 * sysdeps/generic/net/if.h: Likewise.
9153 * sysdeps/generic/sys/swap.h: Likewise.
9154 * sysdeps/gnu/net/if.h: Likewise.
9155 * sysdeps/gnu/utmpx.h: Likewise.
9156 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9157 * sysdeps/i386/i486/bits/string.h: Likewise.
9158 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9159 * sysdeps/s390/bits/string.h: Likewise.
9160 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9161 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9162 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9163 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9164 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9165 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9166 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9167 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9168 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9169 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9170 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9171 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9172 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9173 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9174 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9175 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9176 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9178 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9179 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9180 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9181 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9182 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9183 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9184 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9185 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9186 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9187 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9188 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9189 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9190 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9191 * sysvipc/sys/ipc.h: Likewise.
9192 * sysvipc/sys/msg.h: Likewise.
9193 * sysvipc/sys/sem.h: Likewise.
9194 * sysvipc/sys/shm.h: Likewise.
9195 * termios/termios.h: Likewise.
9196 * time/sys/time.h: Likewise.
9197 * time/time.h: Likewise.
9198 * wcsmbs/bits/wchar2.h: Likewise.
9199 * wcsmbs/uchar.h: Likewise.
9200 * wcsmbs/wchar.h: Likewise.
9201 * wctype/wctype.h: Likewise.
9204 * Makeconfig: Remove all but ELF support including AIX support.
9205 * Makerules: Likewise.
9206 * config.h.in: Likewise.
9207 * config.make.in: Likewise.
9208 * configure: Likewise.
9209 * configure.in: Likewise.
9210 * csu/Makefile: Likewise.
9211 * csu/version.c: Likewise.
9212 * debug/Makefile: Likewise.
9213 * dlfcn/Makefile: Likewise.
9214 * elf/Makefile: Likewise.
9215 * extra-lib.mk: Likewise.
9216 * iconv/Makefile: Likewise.
9217 * include/libc-symbols.h: Likewise.
9218 * include/shlib-compat.h: Likewise.
9219 * resolv/Makefile: Likewise.
9220 * resolv/res_libc.c: Likewise.
9221 * rt/Makefile: Likewise.
9222 * sysdeps/i386/asm-syntax.h: Likewise.
9223 * sysdeps/i386/sysdep.h: Likewise.
9224 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9225 * sysdeps/mach/sysdep.h: Likewise.
9226 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9227 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9228 * sysdeps/s390/asm-syntax.h: Likewise.
9229 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9230 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9231 * sysdeps/sh/sysdep.h: Likewise.
9232 * sysdeps/unix/sparc/sysdep.h: Likewise.
9233 * sysdeps/wordsize-32/divdi3.c: Likewise.
9234 * sysdeps/x86_64/sysdep.h: Likewise.
9236 * argp/Versions: Remove _argp_unlock_xxx.
9239 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9240 * abilist/libBrokenLocale.abilist: Likewise.
9241 * abilist/libanl.abilist: Likewise.
9242 * abilist/libc.abilist: Likewise.
9243 * abilist/libcrypt.abilist: Likewise.
9244 * abilist/libdl.abilist: Likewise.
9245 * abilist/libm.abilist: Likewise.
9246 * abilist/libnsl.abilist: Likewise.
9247 * abilist/libpthread.abilist: Likewise.
9248 * abilist/libresolv.abilist: Likewise.
9249 * abilist/librt.abilist: Likewise.
9250 * abilist/libthread_db.abilist: Likewise.
9251 * abilist/libutil.abilist: Likewise.
9252 * abilist/libnss_db.abilist: New file.
9254 * scripts/abilist.awk: Add support for indirect functions.
9256 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9258 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9260 * shlib-versions: Remove entries for ports architectures.
9262 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9264 * elf/stackguard-macros.h: Remove support for IA-64.
9265 * elf/tst-auditmod1.c: Likewise.
9266 * sysdeps/generic/ldsodefs.h: Likewise.
9268 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9269 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9273 * configure.in: Remove --enable-omitfp support.
9275 * config.make.in: Likewise.
9276 * Makeconfig: Likewise.
9277 * manual/install.texi: Likewise.
9279 In case anyone cares, the IA-64 architecture could move to ports.
9280 * sysdeps/ia64/*: Removed.
9281 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9282 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9285 * configure.in: Remove entries for unsupported architectures.
9288 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9289 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9291 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9292 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9293 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9294 fall back to using wcrtomb.
9295 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9296 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9298 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9299 * wcsmbs/tst-c16c32-1.c: New file.
9301 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9304 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9306 * elf/tst-unique3.cc: Add explicit declaration of gets.
9307 * elf/tst-unique3lib.cc: Likewise.
9308 * elf/tst-unique3lib2.cc: Likewise.
9309 * elf/tst-unique4.cc: Likewise.
9311 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9313 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9316 * assert/assert.h (static_assert): Don't define for C++.
9317 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9318 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9320 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9322 * iconv/loop.c (single loop): Fix assertion in storing of
9325 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9327 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9329 * posix/getconf.c: Update copyright year.
9330 * nss/getent.c: Likewise.
9331 * nss/makedb.c: Likewise.
9332 * iconv/iconvconfig.c: Likewise.
9333 * iconv/iconv_prog.c: Likewise.
9334 * elf/ldconfig.c: Likewise.
9335 * elf/pldd.c: Likewise.
9336 * elf/sotruss.ksh: Likewise.
9337 * catgets/gencat.c: Likewise.
9338 * csu/version.c: Likewise.
9339 * elf/ldd.bash.in: Likewise.
9340 * elf/sprof.c (print_version): Likewise.
9341 * locale/programs/locale.c: Likewise.
9342 * locale/programs/localedef.c: Likewise.
9343 * login/programs/pt_chown.c: Likewise.
9344 * nscd/nscd.c (print_version): Likewise.
9345 * debug/xtrace.sh: Likewise.
9346 * malloc/memusage.sh: Likewise.
9347 * malloc/mtrace.pl: Likewise.
9348 * debug/catchsegv.sh: Likewise.
9350 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9352 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9355 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9358 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9359 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9361 * iconv/gconv_int.h: Likewise.
9362 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9363 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9364 from libc for GLIBC_2.16.
9365 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9366 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9367 * wcsmbs/uchar.h: Really define mbstate_t.
9368 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9369 * wcsmbs/c16rtomb.c: New file.
9370 * wcsmbs/mbrtoc16.c: New file.
9371 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9373 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9374 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9376 * wcsmbs/wchar.h: Add missing __restrict.
9378 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9381 * time/Makefile (routines): Add timespec_get.
9382 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9383 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9384 timespec for ISO C11.
9385 * time/timespec_get.c: New file.
9386 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9387 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9390 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9391 * stdlib/stdlib.h: Declare aligned_alloc.
9392 * Versions.def: Add GLIBC_2.16 for libc.
9393 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9396 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9399 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9403 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9406 * assert/assert.h (static_assert): Define.
9408 * version.h: Update for 2.16 development version.
9411 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9414 * version.h (RELEASE): Bump for 2.15 release.
9415 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9417 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9418 Patch by Marek Polacek <mpolacek@redhat.com>.
9420 * bits/byteswap.h: Protect long long constants with __extension__.
9421 * sysdeps/i386/bits/byteswap.h: Likewise.
9422 * sysdeps/ia64/bits/byteswap.h: Likewise.
9423 * sysdeps/s390/bits/byteswap.h: Likewise.
9424 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9426 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9429 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9431 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9433 2011-12-23 Marek Polacek <polacek@redhat.com>
9435 * elf/dl-addr.c (determine_info): Add inline keyword.
9436 * elf/tst-auditmod4b.c (check_avx): Likewise.
9437 * elf/tst-auditmod6b.c (check_avx): Likewise.
9438 * elf/tst-auditmod6c.c (check_avx): Likewise.
9439 * elf/tst-auditmod7b.c (check_avx): Likewise.
9441 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9443 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9446 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9449 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9450 processing for last bytes.
9452 2011-08-06 Bruno Haible <bruno@clisp.org>
9455 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9456 U+0385, not to U+1FEE.
9459 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9460 entry for U+00A5 U+0301.
9462 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9465 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9466 buffer for the output is too small.
9468 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9472 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9473 SSE flags if possible.
9475 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9478 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9479 processing for last bytes.
9481 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9483 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9484 (syscall-list-default-options, syscall-list-default-condition)
9485 (syscall-list-includes): Define.
9486 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9487 list of ABIs and options and #if conditions for each ABI. Do not
9488 handle common syscalls between ABIs specially.
9489 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9491 (syscall-list-variants, syscall-list-32bit-options)
9492 (syscall-list-32bit-condition, syscall-list-64bit-options)
9493 (syscall-list-64bit-condition): Define.
9494 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9495 (syscall-list-variants, syscall-list-32bit-options)
9496 (syscall-list-32bit-condition, syscall-list-64bit-options)
9497 (syscall-list-64bit-condition): Define.
9498 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9500 (syscall-list-variants, syscall-list-32bit-options)
9501 (syscall-list-32bit-condition, syscall-list-64bit-options)
9502 (syscall-list-64bit-condition): Define.
9503 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9505 (syscall-list-variants, syscall-list-32bit-options)
9506 (syscall-list-32bit-condition, syscall-list-64bit-options)
9507 (syscall-list-64bit-condition): Define.
9509 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9511 * locale/iso-639.def: Add brx entry.
9514 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9515 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9517 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9518 __feraiseexcept_renamed.
9520 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9523 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9524 EPOLLET with unsigned values.
9525 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9526 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9528 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9529 to large cancellation.
9530 * math/s_cacoshf.c: Likewise.
9531 * math/s_cacoshl.c: Likewise.
9533 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9537 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9538 * math/s_cacoshf.c: Likewise.
9539 * math/s_cacoshl.c: Likewise.
9541 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9544 * iconv/gconv.h: Define __GCONV_SWAP.
9545 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9546 * iconvdata/utf-16.c: Likewise.
9547 * iconvdata/utf-32.c: Likewise.
9549 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9552 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9553 numerator after shifting it by one limb.
9555 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9557 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9558 under [__USE_EXTERN_INLINES].
9560 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9563 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9565 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9567 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9568 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9570 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9571 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9572 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9573 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9574 for strncasecmp/strncasecmp_l compilation.
9575 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9576 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9578 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9581 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9584 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9587 * time/tzfile.c (__tzfile_read): Check values from file header.
9589 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9591 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9592 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9593 * powerpc/powerpc32/dl-start.S: Likewise.
9594 * powerpc/powerpc32/elf/start.S: Likewise.
9595 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9596 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9597 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9598 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9599 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9600 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9601 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9602 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9603 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9604 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9605 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9606 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9607 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9608 * powerpc/powerpc32/memset.S: Likewise.
9609 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9610 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9611 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9612 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9613 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9614 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9615 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9616 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9617 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9618 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9619 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9620 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9621 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9623 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9625 * math/libm-test.inc: Added more nearbyint tests.
9626 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9627 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9628 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9629 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9631 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9633 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9636 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9638 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9639 Add wcscpy-ssse3 wcscpy-c.
9640 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9641 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9642 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9643 * sysdeps/x86_64/wcschr.S: New file.
9644 * sysdeps/x86_64/wcsrchr.S: New file.
9645 * string/test-strcmp.c: Remove checking of wcscmp function for
9647 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9648 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9649 wcsrchr-sse2 wcsrchr-c.
9650 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9651 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9652 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9653 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9654 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9655 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9656 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9657 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9658 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9659 * wcsmbc/wcschr.c (WCSCHR): New macro.
9661 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9663 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9664 * wcsmbs/test-wcsrchr.c: New file.
9665 * string/test-strrchr.c: Add wcsrchr support.
9667 * wcsmbs/test-wcscpy.c: New file.
9668 * string/test-strcpy.c: Add wcscpy support.
9671 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9673 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9676 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9679 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9681 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9683 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9684 Minor optimizations.
9686 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9687 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9688 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9690 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9692 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9693 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9694 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9695 for gcc to avoid warnings.
9696 * inet/Makefile (tests): Add tst-checks.
9697 * inet/tst-checks.c: New file.
9699 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9702 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9705 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9706 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9708 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9710 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9712 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9715 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9717 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9719 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9720 conditional on GCC version.
9721 (__arch_compare_and_exchange_val_8_acq)
9722 (__arch_compare_and_exchange_val_16_acq)
9723 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9724 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9725 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9727 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9729 * sysdeps/sh/backtrace.c: New file.
9731 2011-12-02 Andreas Schwab <schwab@redhat.com>
9733 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9736 2011-12-01 Andreas Schwab <schwab@redhat.com>
9738 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9739 falling back to utime.
9741 2011-11-30 Andreas Schwab <schwab@redhat.com>
9743 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9744 expectations for float.
9746 2011-11-29 Andreas Schwab <schwab@redhat.com>
9748 * locale/weight.h (findidx): Add parameter len.
9749 * locale/weightwc.h (findidx): Likewise.
9750 * posix/fnmatch_loop.c (FCT): Adjust caller.
9751 * posix/regcomp.c (build_equiv_class): Likewise.
9752 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9753 * posix/regexec.c (check_node_accept_bytes): Likewise.
9754 * string/strcoll_l.c (STRCOLL): Likewise.
9755 * string/strxfrm_l.c (STRXFRM): Likewise.
9757 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9759 * Makefile.in: Remove CVSOPT handling.
9760 * configure.in: Remove use of AC_REVISION.
9761 * iconvdata/Makefile (distribute): No need to filter out CVS.
9762 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9765 2011-11-16 Andreas Schwab <schwab@redhat.com>
9767 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9768 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9769 [USE_AS_STRNCASECMP_L]: Likewise.
9770 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9771 NO_TLS_DIRECT_SEG_REFS.
9772 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9773 Fix argument offsets for non-PIC.
9774 [USE_AS_STRNCASECMP_L]: Likewise.
9775 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9776 NO_TLS_DIRECT_SEG_REFS.
9778 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9780 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9782 * locale/loadlocale.c (_nl_load_locale): Likewise.
9784 2011-11-15 Andreas Schwab <schwab@redhat.com>
9786 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9787 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9788 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9789 (SYSCALL_GETTIME): Set errno on error.
9791 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9792 count references to noai6ai_cached.
9794 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9796 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9798 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9799 FD_CLOEXEC for /proc/self/maps.
9801 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9802 FD_CLOEXEC for /proc/meminfo.
9804 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9807 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9808 FD_CLOEXEC for given file.
9810 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9812 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9813 FD_CLOEXEC for /etc/hosts.
9814 (_gethtent): Likewise.
9816 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9818 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9819 cancellation and set FD_CLOEXEC for /etc/netgroup.
9821 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9822 reading /etc/publickey.
9824 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9825 allow cancellation when reading /etc/group.
9827 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9829 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9831 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9832 when using data file.
9834 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9836 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9837 (write_nis_obj): Use "c" and "e" in fopen.
9839 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9841 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9843 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9845 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9847 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9850 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9852 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9854 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9856 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9857 file parsing and set FD_CLOEXEC.
9859 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9861 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9863 2011-11-14 Andreas Schwab <schwab@redhat.com>
9865 * malloc/arena.c (arena_get2): Don't call reused_arena when
9866 _int_new_arena failed.
9868 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9870 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9871 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9872 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9873 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9874 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9875 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9876 to compile strcasecmp and strncasecmp.
9877 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9878 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9882 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9884 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9885 locale-defines.sym to gen-as-const-headers.
9886 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9887 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9889 to compile strcasecmp and strncasecmp.
9890 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9891 strcasecmp_l and strncasecmp_l.
9892 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9893 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9894 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9895 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9896 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9897 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9898 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9899 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9900 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9901 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9902 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9904 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9906 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9907 result of SYSDEP_GETTIME_CPU to retval.
9908 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9909 parameter list to macro. Remove trailing semicolon. Adjust users.
9911 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9914 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9916 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9918 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9919 from unused variable.
9921 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9923 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9926 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9929 * sunrpc/rpc_prot.c (rejected): Fix case value.
9931 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9932 unsigned long long int to avoid warnings in shift.
9934 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9936 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9939 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9940 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9941 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9943 * nis/nis_table.c (nis_list): Use variable of correct type for
9944 result of __follow_path call.
9946 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9948 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9949 of math functions ceil, trunc, floor, round, and sqrt, when
9950 avaliable on the platform.
9951 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9953 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9954 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9955 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9957 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9959 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9960 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9962 2011-11-11 Roland McGrath <roland@hack.frob.com>
9964 * include/unistd.h: Fix __readlink return type.
9965 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9967 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9969 * stdlib/ucontext.h: Undo last change for makecontext.
9971 2011-11-11 Andreas Schwab <schwab@redhat.com>
9973 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9975 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9976 * setjmp/setjmp.h: Mark functions as non-leaf.
9977 * setjmp/bits/setjmp2.h: Likewise.
9978 * stdlib/ucontext.h: Likewise.
9980 2011-11-10 Andreas Schwab <schwab@redhat.com>
9982 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9983 (reused_arena): Don't check arena limit.
9984 (arena_get2): Atomically check arena limit.
9986 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9988 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9989 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9991 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9994 2011-11-07 Andreas Schwab <schwab@redhat.com>
9996 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9997 handler when locking.
9999 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10000 Fix size of allocated buffer.
10002 2011-11-04 Andreas Schwab <schwab@redhat.com>
10005 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10006 declarations for long double functions.
10007 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10009 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10011 2011-11-03 Andreas Schwab <schwab@redhat.com>
10013 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10016 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10019 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10021 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10023 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10025 * include/alloca.h (stackinfo_alloca_round): Define.
10026 (extend_alloca): Use it.
10027 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10028 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10031 * scripts/check-local-headers.sh: Ignore libaudit.h.
10033 * nscd/Makefile (extra-objs): Make recursively expanded.
10035 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10037 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10038 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10040 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10041 * posix/tst-rfc3484-2.c: Likewise.
10042 * posix/tst-rfc3484-3.c: Likewise.
10044 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10046 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10048 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10049 process_vm_writev from libc using GLIBC_2.15 version.
10051 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10053 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10055 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10058 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10061 * nss/getent.c (initgroups_keys): Show error message in case no group
10064 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10065 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10066 __bump_nl_timestamp.
10067 * nscd/connections (nscd_init): When host database is served open
10068 netlink socket and request notification about configuration changes.
10069 (main_loop_poll): Track netlink file descriptor and bump timestamp
10070 in case data becomes available.
10071 (main_loop_epoll): Likewise.
10072 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10073 (database_pers_head): Add extra_data fileds.
10074 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10075 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10076 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10078 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10079 in6ai data, call __free_in6ai.
10080 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10081 Add -DHAVE_NETLINK.
10082 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10083 interface information. Reuse previous data if netlink timestamp
10085 (__bump_nl_timestamp): New function.
10086 (__free_in6ai): New function.
10088 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10090 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10091 close_not_cancel_no_status here.
10092 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10094 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10097 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10100 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10101 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10102 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10104 2011-07-03 Andreas Jaeger <aj@suse.de>
10107 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10108 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10109 * math/libm-test.inc (sin_test): Add test case.
10111 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10114 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10115 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10117 * elf/chroot_canon.c (chroot_canon): Cleanups.
10119 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10122 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10123 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10125 * string/test-strchr.c: Make usable for strchrnul testing.
10126 * string/test-strchrnul.c: New file.
10127 * string/Makefile (strop-tests): Add strchrnul.
10129 * po/it.po: Update from translation team.
10130 * po/es.po: Likewise.
10132 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10134 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10135 the three constants needed as parameters. Drop the others.
10136 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10137 __m128i_strloadu_tolower.
10138 Create and initialize variable zero and use it in all the places
10139 where _mm_setzero_si128 was used.
10141 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10142 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10143 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10144 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10146 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10147 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10148 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10149 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10150 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10151 __mpranred, __mptan.
10152 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10153 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10154 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10155 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10156 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10157 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10158 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10159 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10160 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10162 2011-10-28 Andreas Schwab <schwab@redhat.com>
10164 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10165 redefine if SHARED.
10166 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10168 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10169 wide char related routines to wcsmbs subdir.
10171 2011-10-27 Andreas Schwab <schwab@redhat.com>
10174 * misc/sys/cdefs.h (__THROWNL): Define.
10175 * posix/unistd.h: Use __THREADNL instead of __THREAD
10176 for memory synchronization functions.
10178 2011-10-26 Roland McGrath <roland@hack.frob.com>
10181 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10183 * manual/stdio.texi (Obstack Streams): Node removed.
10185 2011-10-26 Andreas Schwab <schwab@redhat.com>
10187 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10188 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10189 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10191 * math/math_private.h (math_force_eval): Allow non-addressable
10193 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10195 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10197 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10198 file is not needed.
10200 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10201 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10202 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10203 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10204 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10205 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10206 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10207 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10209 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10210 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10211 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10212 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10213 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10214 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10215 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10216 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10217 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10218 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10219 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10220 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10221 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10222 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10223 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10224 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10225 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10226 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10227 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10229 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10230 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10232 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10233 place. Use VEX encoding when compiling for AVX.
10235 2011-10-25 Andreas Schwab <schwab@redhat.com>
10237 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10238 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10240 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10242 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10244 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10245 useless if() expression.
10246 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10248 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10249 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10250 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10252 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10253 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10254 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10255 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10256 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10257 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10258 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10259 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10260 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10261 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10262 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10263 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10264 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10266 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10268 2011-10-25 Andreas Schwab <schwab@redhat.com>
10270 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10272 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10274 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10276 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10277 .text section. Avoid duplicate constants.
10278 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10280 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10281 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10282 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10283 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10288 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10289 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10290 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10292 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10293 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10294 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10295 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10296 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10297 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10301 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10302 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10303 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10304 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10305 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10306 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10307 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10308 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10309 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10310 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10311 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10312 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10313 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10314 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10315 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10316 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10317 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10318 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10319 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10320 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10321 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10322 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10324 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10326 * sysdeps/x86_64/dla.h: Move to ...
10327 * sysdeps/x86_64/fpu/dla.h: ...here.
10328 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10329 situations. Use __builtin_fma only for gcc 4.6 and up.
10331 * config.make.in: Add have-mfma4 entry.
10332 * configure.in: Substitute libc_cv_cc_fma4.
10333 * math/Makefile (dbl-only-routines): Add sincostab.
10334 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10335 Use __sincostab not sincos.
10336 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10338 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10343 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10344 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10345 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10346 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10348 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10349 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10351 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10352 define aliases when function name is a macro.
10353 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10354 sysdeps/ieee754/dbl-64/sincos.tbl.
10355 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10356 fma4-enabled routines.
10357 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10358 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10359 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10360 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10361 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10362 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10363 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10364 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10365 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10366 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10367 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10368 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10369 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10370 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10371 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10372 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10373 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10374 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10375 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10376 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10377 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10378 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10379 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10380 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10381 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10382 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10383 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10384 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10385 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10386 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10388 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10390 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10399 2011-10-24 Andreas Schwab <schwab@redhat.com>
10401 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10403 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10405 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10407 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10409 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10411 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10412 Remove unused variable magic_bits.
10413 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10415 * string/strnlen.c: Define and use STRNLEN macro.
10416 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10417 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10418 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10419 * wcsmbs/wcslen.c: Define and use WCSLEN.
10420 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10421 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10422 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10423 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10424 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10425 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10426 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10428 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10431 strnlen-sse2-no-bsf.
10432 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10433 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10434 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10435 Add strnlen support.
10436 (USE_AS_STRNLEN): New macro.
10437 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10438 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10439 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10440 * sysdeps/x86_64/wcslen.S: New file.
10442 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10444 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10445 XMM-moves are used for copying on small sizes.
10447 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10449 * wcsmbs/Makefile (strop-tests): Add wcschr.
10450 * wcsmbs/test-wcschr.c: New file.
10451 * string/test-strchr.c: Update.
10452 Add wcschr support.
10455 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10457 * wcsmbs/Makefile (strop-tests): Add wcslen.
10458 * wcsmbs/test-wcslen.c: New file.
10459 * string/test-strlen.c: Update.
10460 Add wcslen support.
10463 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10465 * po/it.po: Update from translation team.
10467 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10469 * sysdeps/x86_64/wcscmp.S: Update.
10470 Fix wrong comparison semantics.
10471 wcscmp shall use signed comparison not unsigned.
10472 Don't use substraction to avoid overflow bug.
10473 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10474 * wcsmbc/wcscmp.c: Likewise.
10475 * string/test-strcmp.c: Likewise.
10476 Add new tests to check cases with negative values.
10478 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10480 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10481 * sysdeps/x86_64/dla.h: ...here. New file.
10482 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10484 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10485 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10486 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10487 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10488 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10489 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10490 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10492 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10494 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10495 __ynl_finite aliases.
10497 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10501 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10503 [DLA_FMA] (EMULV): Use DLA_FMA.
10504 [DLA_FMA] (MUL12): Use EMULV.
10505 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10506 that are not needed.
10507 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10508 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10510 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10511 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10512 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10513 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10515 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10517 * math/s_nan.c: Undef __nan.
10518 * math/s_nanf.c: Undef __nanf.
10519 * math/s_nanl.c: Undef __nanl.
10520 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10523 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10525 * math/s_catan.c: Add branch predictions.
10526 * math/s_catanf.c: Likewise.
10527 * math/s_catanh.c: Likewise.
10528 * math/s_catanhf.c: Likewise.
10529 * math/s_catanhl.c: Likewise.
10530 * math/s_catanl.c: Likewise.
10531 * math/s_cexp.c: Likewise.
10532 * math/s_cexpf.c: Likewise.
10533 * math/s_cexpl.c: Likewise.
10534 * math/s_clog.c: Likewise.
10535 * math/s_clog10.c: Likewise.
10536 * math/s_clog10f.c: Likewise.
10537 * math/s_clog10l.c: Likewise.
10538 * math/s_clogf.c: Likewise.
10539 * math/s_clogl.c: Likewise.
10540 * math/s_csqrt.c: Likewise.
10541 * math/s_csqrtf.c: Likewise.
10542 * math/s_csqrtl.c: Likewise.
10543 * math/s_ctanf.c: Likewise.
10544 * math/s_ctanh.c: Likewise.
10545 * math/s_ctanhf.c: Likewise.
10546 * math/s_ctanhl.c: Likewise.
10547 * math/s_ctanl.c: Likewise.
10549 * math/math_private.h: Define __nan, __nanf, __nanl.
10550 * math/s_cacosh.c: Include <math_private.h>.
10551 * math/s_cacoshl.c: Likewise.
10552 * math/s_casinh.c: Likewise.
10553 * math/s_casinhf.c: Likewise.
10554 * math/s_casinhl.c: Likewise.
10555 * math/s_ccos.c: Rely entire on ccosh.
10556 * math/s_ccosf.c: Rely entire on ccoshf.
10557 * math/s_ccosl.c: Rely entirely on ccoshl.
10558 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10559 Remove tests for FE_INVALID.
10560 * math/s_ccoshf.c: Likewise.
10561 * math/s_ccoshl.c: Likewise.
10562 * math/s_csin.c: Likewise.
10563 * math/s_csinf.c: Likewise.
10564 * math/s_csinh.c Likewise.
10565 * math/s_csinhf.c: Likewise.
10566 * math/s_csinhl.c: Likewise.
10567 * math/s_csinl.c: Likewise.
10568 * math/s_ctan.c: Likewise.
10569 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10570 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10571 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10573 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10576 compilation problems.
10578 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10581 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10583 * sysdeps/i386/configure.in: Test for -mfma4 option.
10584 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10585 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10586 COMMON_CPUID_INDEX_80000001.
10587 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10588 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10589 use it if FMA3 is not supported.
10590 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10592 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10593 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10595 2011-10-20 Andreas Schwab <schwab@redhat.com>
10598 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10599 it would create a cycle with a link time dependency.
10601 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10603 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10605 * string/Makefile (strop-tests): Add rawmemchr.
10606 * string/test-rawmemchr.c: New file.
10608 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10609 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10610 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10611 when compiling str{,n}casecmp and when AVX is available. Hook up
10612 new optimized code in initializers.
10614 2011-10-19 Andreas Schwab <schwab@redhat.com>
10616 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10617 __feraiseexcept instead of feraiseexcept.
10619 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10621 * math/math_private.h: Define defaults for libc_fetestexcept and
10623 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10624 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10625 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10626 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10627 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10628 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10629 libc_fetestexcept and libc_feupdateenv.
10631 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10632 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10633 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10634 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10635 libc_feholdexcept_setround.
10637 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10638 Add s_nearbyint-c and s_nearbyintf-c.
10639 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10640 nearbyintf inlines.
10641 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10642 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10643 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10644 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10646 * math/math_private.h: Define defaults for libc_fegetround,
10647 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10648 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10649 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10650 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10651 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10652 standard functions.
10653 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10654 Remove comments and hacks for old compiler versions.
10655 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10656 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10657 libc_feholdexceptl.
10659 2011-10-18 Andreas Schwab <schwab@redhat.com>
10661 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10662 (__feraiseexcept_renamed): Add __NTH.
10663 (feraiseexcept): Add __NTH. Rename local variables to fix
10664 namespace violations.
10666 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10668 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10670 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10672 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10673 recently added interfaces.
10674 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10676 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10677 about macro parameter expansion.
10679 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10680 __NO_MATH_INLINES is defined. Cleanups.
10682 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10683 and __floorf is target has SSE4.1.
10684 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10685 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10686 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10687 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10689 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10691 (floorf): Likewise.
10693 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10695 2011-10-17 Andreas Schwab <schwab@redhat.com>
10697 * misc/sys/cdefs.h: Fix last change.
10699 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10702 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10704 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10706 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10707 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10712 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10713 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10714 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10715 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10716 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10717 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10718 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10719 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10720 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10721 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10722 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10723 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10724 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10725 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10726 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10727 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10729 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10730 ceil, ceilf, floor, floorf.
10732 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10733 Perform IRELATIVE relocations last.
10735 * elf/do-rel.h: Add another parameter nrelative, replacing the
10736 local variable with the same name. Change name of the function
10737 to end in Rel or Rela (uppercase).
10738 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10739 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10740 elf_dynamic_do_##reloc function.
10742 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10744 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10745 is sufficient, at least on modern CPUs.
10747 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10749 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10750 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10752 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10754 * math/bits/math-finite.h: Add entries for exp.
10755 * math/e_expl.c: Add __*_finite alias.
10756 * sysdeps/i386/fpu/e_exp.S: Likewise.
10757 * sysdeps/i386/fpu/e_expf.S: Likewise.
10758 * sysdeps/i386/fpu/e_expl.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10760 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10764 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10765 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10767 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10768 is sufficient, at least on modern CPUs.
10770 * ctype/ctype-info.c (__ctype_init): Define.
10771 * include/ctype.h (__ctype_init): Declare.
10772 (__ctype_b_loc): The variable is always initialized.
10773 (__ctype_toupper_loc): Likewise.
10774 (__ctype_tolower_loc): Likewise.
10775 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10776 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10778 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10780 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10782 * configure.in: Also look in $cxxmachine/include for C++ system
10785 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10787 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10788 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10789 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10790 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10791 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10792 (USE_AS_WMEMCMP): New macro.
10794 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10795 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10796 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10797 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10799 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10800 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10801 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10802 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10803 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10804 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10805 (USE_AS_WMEMCMP): New macro.
10806 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10807 * sysdeps/string/test-memcmp.c: Update.
10808 Fix simple_wmemcmp.
10810 * wcsmbs/wmemcmp.c: Update.
10811 (WMEMCMP): New macro.
10814 2011-10-12 Andreas Jaeger <aj@suse.de>
10817 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10819 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10821 * libio/iofwide.c (do_length): Avoid warning.
10823 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10825 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10827 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10829 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10830 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10831 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10832 * sysdeps/i386/i686/fpu/e_log.S: New file.
10833 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10834 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10836 * ctype/ctype.h: Add support for inlined isXXX functions when
10837 compiling C++ code.
10839 2011-10-14 Andreas Schwab <schwab@redhat.com>
10841 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10843 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10845 2011-10-13 Roland McGrath <roland@hack.frob.com>
10848 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10850 2011-10-13 Andreas Schwab <schwab@redhat.com>
10852 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10853 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10856 * sysdeps/x86_64/memrchr.S: Check for zero size.
10858 * string/stratcliff.c: Add memrchr tests.
10860 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10862 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10863 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10864 rawmemchr-sse2 rawmemchr-sse2-bsf.
10865 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10866 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10867 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10868 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10869 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10870 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10871 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10872 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10873 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10874 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10875 * string/memrchr.c (MEMRCHR): New macro.
10877 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10879 Add integration with gcc's -ffinite-math-only and optimize wrapper
10881 * Versions.def: Define GLIBC_2.15 version for libm.
10882 * math/Makefile (headers): Add bits/math-finite.h.
10883 * math/bits/math-finite.h: New file.
10884 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10885 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10886 * math/e_acoshl.c: Add __*_finite alias.
10887 * math/e_acosl.c: Likewise.
10888 * math/e_asinl.c: Likewise.
10889 * math/e_atan2l.c: Likewise.
10890 * math/e_atanhl.c: Likewise.
10891 * math/e_coshl.c: Likewise.
10892 * math/e_exp10.c: Likewise.
10893 * math/e_exp10f.c: Likewise.
10894 * math/e_exp10l.c: Likewise.
10895 * math/e_exp2l.c: Likewise.
10896 * math/e_fmodl.c: Likewise.
10897 * math/e_gammal_r.c: Likewise.
10898 * math/e_hypotl.c: Likewise.
10899 * math/e_j0l.c: Likewise.
10900 * math/e_j1l.c: Likewise.
10901 * math/e_jnl.c: Likewise.
10902 * math/e_lgammal_r.c: Likewise.
10903 * math/e_log10l.c: Likewise.
10904 * math/e_log2l.c: Likewise.
10905 * math/e_logl.c: Likewise.
10906 * math/e_powl.c: Likewise.
10907 * math/e_sinhl.c: Likewise.
10908 * math/e_sqrtl.c: Likewise.
10909 * math/e_scalb.c: Completely rewritten and optimized.
10910 * math/e_scalbf.c: Likewise.
10911 * math/e_scalbl.c: Likewise.
10912 * math/w_acos.c: Likewise.
10913 * math/w_acosf.c: Likewise.
10914 * math/w_acosl.c: Likewise.
10915 * math/w_acosh.c: Likewise.
10916 * math/w_acoshf.c: Likewise.
10917 * math/w_acoshl.c: Likewise.
10918 * math/w_asin.c: Likewise.
10919 * math/w_asinf.c: Likewise.
10920 * math/w_asinl.c: Likewise.
10921 * math/w_atan2.c: Likewise.
10922 * math/w_atan2f.c: Likewise.
10923 * math/w_atan2l.c: Likewise.
10924 * math/w_atanh.c: Likewise.
10925 * math/w_atanhf.c: Likewise.
10926 * math/w_atanhl.c: Likewise.
10927 * math/w_exp10.c: Likewise.
10928 * math/w_exp10f.c: Likewise.
10929 * math/w_exp10l.c: Likewise.
10930 * math/w_fmod.c: Likewise.
10931 * math/w_fmodf.c: Likewise.
10932 * math/w_fmodl.c: Likewise.
10933 * math/w_j0.c: Likewise.
10934 * math/w_j0f.c: Likewise.
10935 * math/w_j0l.c: Likewise.
10936 * math/w_j1.c: Likewise.
10937 * math/w_j1f.c: Likewise.
10938 * math/w_j1l.c: Likewise.
10939 * math/w_jn.c: Likewise.
10940 * math/w_jnf.c: Likewise.
10941 * math/w_log.c: Likewise.
10942 * math/w_logf.c: Likewise.
10943 * math/w_logl.c: Likewise.
10944 * math/w_log10.c: Likewise.
10945 * math/w_log10f.c: Likewise.
10946 * math/w_log10l.c: Likewise.
10947 * math/w_log2.c: Likewise.
10948 * math/w_log2f.c: Likewise.
10949 * math/w_log2l.c: Likewise.
10950 * math/w_pow.c: Likewise.
10951 * math/w_powf.c: Likewise.
10952 * math/w_powl.c: Likewise.
10953 * math/w_remainder.c: Likewise.
10954 * math/w_remainderf.c: Likewise.
10955 * math/w_remainderl.c: Likewise.
10956 * math/w_scalb.c: Likewise.
10957 * math/w_scalbf.c: Likewise.
10958 * math/w_scalbl.c: Likewise.
10959 * math/w_sqrt.c: Likewise.
10960 * math/w_sqrtf.c: Likewise.
10961 * math/w_sqrtl.c: Likewise.
10962 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10963 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10965 * math/math_private.h: Declare __kernel_standard_f.
10966 * math/w_cosh.c: Remove cruft and optimize a bit.
10967 * math/w_coshf.c: Likewise.
10968 * math/w_coshl.c: Likewise.
10969 * math/w_exp2.c: Likewise.
10970 * math/w_exp2f.c: Likewise.
10971 * math/w_exp2l.c: Likewise.
10972 * math/w_hypot.c: Likewise.
10973 * math/w_hypotf.c: Likewise.
10974 * math/w_hypotl.c: Likewise.
10975 * math/w_lgamma.c: Likewise.
10976 * math/w_lgamma_r.c: Likewise.
10977 * math/w_lgammaf.c: Likewise.
10978 * math/w_lgammaf_r.c: Likewise.
10979 * math/w_lgammal.c: Likewise.
10980 * math/w_lgammal_r.c: Likewise.
10981 * math/w_sinh.c: Likewise.
10982 * math/w_sinhf.c: Likewise.
10983 * math/w_sinhl.c: Likewise.
10984 * math/w_tgamma.c: Likewise.
10985 * math/w_tgammaf.c: Likewise.
10986 * math/w_tgammal.c: Likewise.
10987 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10988 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10989 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10990 Minor optimizations. Pretty printing. Remove cruft.
10991 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10992 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10993 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10994 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10995 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10996 * sysdeps/i386/fpu/e_asin.S: Likewise.
10997 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10998 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10999 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11000 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11001 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11002 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11003 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11004 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11005 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11006 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11007 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11008 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11009 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11010 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11011 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11012 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11013 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11014 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11015 * sysdeps/i386/fpu/e_log.S: Likewise.
11016 * sysdeps/i386/fpu/e_log10.S: Likewise.
11017 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11018 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11019 * sysdeps/i386/fpu/e_log2.S: Likewise.
11020 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11021 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11022 * sysdeps/i386/fpu/e_logf.S: Likewise.
11023 * sysdeps/i386/fpu/e_logl.S: Likewise.
11024 * sysdeps/i386/fpu/e_pow.S: Likewise.
11025 * sysdeps/i386/fpu/e_powf.S: Likewise.
11026 * sysdeps/i386/fpu/e_powl.S: Likewise.
11027 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11028 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11029 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11030 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11031 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11032 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11033 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11034 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11035 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11036 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11037 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11038 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11039 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11040 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11041 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11044 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11045 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11046 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11047 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11051 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11057 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11058 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11059 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11060 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11061 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11062 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11063 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11064 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11065 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11066 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11067 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11068 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11069 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11070 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11071 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11072 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11073 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11074 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11075 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11076 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11077 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11078 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11079 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11080 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11081 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11116 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11119 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11120 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11121 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11122 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11124 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11127 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11128 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11129 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11130 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11131 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11132 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11133 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11134 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11135 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11136 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11137 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11138 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11139 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11140 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11141 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11142 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11143 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11144 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11145 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11146 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11147 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11148 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11149 (__isnanf): Likewise.
11150 (__isinf_ns): Likewise.
11151 (__isinf_nsf): Likewise.
11152 (__finite): Likewise.
11153 (__finitef): Likewise.
11154 (__ieee754_sqrt): Define as macro.
11155 (__ieee754_sqrtf): Define as macro.
11156 (__ieee754_sqrtl): Define as macro.
11157 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11159 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11160 __FINITE_MATH_ONLY__ consistent.
11161 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11163 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11165 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11168 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11170 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11172 * po/ja.po: Update from translation team.
11174 2011-10-08 Roland McGrath <roland@hack.frob.com>
11176 * locale/programs/locarchive.c (prepare_address_space): New function.
11177 (create_archive, enlarge_archive, open_archive): Use it.
11179 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11180 inside [SHARED], where it is used.
11182 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11184 * nss/getent.c (netgroup_keys): Remove unused variable.
11185 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11187 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11189 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11190 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11192 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11193 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11194 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11195 * math/Makefile (libm-calls): Add s_isinf_ns.
11196 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11197 * math/multc3.c: Likewise.
11198 * math/s_casin.c: Likewise.
11199 * math/s_casinf.c: Likewise.
11200 * math/s_casinl.c: Likewise.
11201 * math/s_ccos.c: Likewise.
11202 * math/s_ccosf.c: Likewise.
11203 * math/s_ccosl.c: Likewise.
11204 * math/s_ctan.c: Likewise.
11205 * math/s_ctanf.c: Likewise.
11206 * math/s_ctanh.c: Likewise.
11207 * math/s_ctanhf.c: Likewise.
11208 * math/s_ctanhl.c: Likewise.
11209 * math/s_ctanl.c: Likewise.
11210 * math/w_fmod.c: Likewise.
11211 * math/w_fmodf.c: Likewise.
11212 * math/w_fmodl.c: Likewise.
11213 * math/w_remainder.c: Likewise.
11214 * math/w_remainderf.c: Likewise.
11215 * math/w_remainderl.c: Likewise.
11216 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11217 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11218 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11219 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11220 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11221 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11222 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11223 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11225 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11227 * stdio-common/printf_fphex.c: Likewise.
11228 * stdio-common/printf_size.c: Likewise.
11230 * math/e_exp10.c: Include math_private.h using <...> not "...".
11231 * math/e_exp10f.c: Likewise.
11232 * math/e_exp10l.c: Likewise.
11233 * math/e_exp2l.c: Likewise.
11234 * math/e_j0l.c: Likewise.
11235 * math/e_j1l.c: Likewise.
11236 * math/e_jnl.c: Likewise.
11237 * math/e_lgammal_r.c: Likewise.
11238 * math/e_rem_pio2l.c: Likewise.
11239 * math/e_scalb.c: Likewise.
11240 * math/e_scalbf.c: Likewise.
11241 * math/e_scalbl.c: Likewise.
11242 * math/k_cosl.c: Likewise.
11243 * math/k_sinl.c: Likewise.
11244 * math/k_tanl.c: Likewise.
11245 * math/s_cacoshf.c: Likewise.
11246 * math/s_catan.c: Likewise.
11247 * math/s_catanf.c: Likewise.
11248 * math/s_catanh.c: Likewise.
11249 * math/s_catanhf.c: Likewise.
11250 * math/s_catanhl.c: Likewise.
11251 * math/s_catanl.c: Likewise.
11252 * math/s_ccosh.c: Likewise.
11253 * math/s_ccoshf.c: Likewise.
11254 * math/s_ccoshl.c: Likewise.
11255 * math/s_cexp.c: Likewise.
11256 * math/s_cexpf.c: Likewise.
11257 * math/s_cexpl.c: Likewise.
11258 * math/s_clog.c: Likewise.
11259 * math/s_clog10.c: Likewise.
11260 * math/s_clog10f.c: Likewise.
11261 * math/s_clog10l.c: Likewise.
11262 * math/s_clogf.c: Likewise.
11263 * math/s_clogl.c: Likewise.
11264 * math/s_csin.c: Likewise.
11265 * math/s_csinf.c: Likewise.
11266 * math/s_csinh.c: Likewise.
11267 * math/s_csinhf.c: Likewise.
11268 * math/s_csinhl.c: Likewise.
11269 * math/s_csinl.c: Likewise.
11270 * math/s_csqrt.c: Likewise.
11271 * math/s_csqrtf.c: Likewise.
11272 * math/s_csqrtl.c: Likewise.
11273 * math/s_ctan.c: Likewise.
11274 * math/s_ctanf.c: Likewise.
11275 * math/s_ctanh.c: Likewise.
11276 * math/s_ctanhf.c: Likewise.
11277 * math/s_ctanhl.c: Likewise.
11278 * math/s_ctanl.c: Likewise.
11279 * math/s_ldexp.c: Likewise.
11280 * math/s_ldexpf.c: Likewise.
11281 * math/s_ldexpl.c: Likewise.
11282 * math/s_significand.c: Likewise.
11283 * math/s_significandf.c: Likewise.
11284 * math/s_significandl.c: Likewise.
11285 * math/w_acos.c: Likewise.
11286 * math/w_acosf.c: Likewise.
11287 * math/w_acosh.c: Likewise.
11288 * math/w_acoshf.c: Likewise.
11289 * math/w_acoshl.c: Likewise.
11290 * math/w_acosl.c: Likewise.
11291 * math/w_asin.c: Likewise.
11292 * math/w_asinf.c: Likewise.
11293 * math/w_asinl.c: Likewise.
11294 * math/w_atan2.c: Likewise.
11295 * math/w_atan2f.c: Likewise.
11296 * math/w_atan2l.c: Likewise.
11297 * math/w_atanh.c: Likewise.
11298 * math/w_atanhf.c: Likewise.
11299 * math/w_atanhl.c: Likewise.
11300 * math/w_cosh.c: Likewise.
11301 * math/w_coshf.c: Likewise.
11302 * math/w_coshl.c: Likewise.
11303 * math/w_dremf.c: Likewise.
11304 * math/w_exp10.c: Likewise.
11305 * math/w_exp10f.c: Likewise.
11306 * math/w_exp10l.c: Likewise.
11307 * math/w_exp2.c: Likewise.
11308 * math/w_exp2f.c: Likewise.
11309 * math/w_fmod.c: Likewise.
11310 * math/w_fmodf.c: Likewise.
11311 * math/w_fmodl.c: Likewise.
11312 * math/w_hypot.c: Likewise.
11313 * math/w_hypotf.c: Likewise.
11314 * math/w_hypotl.c: Likewise.
11315 * math/w_j0.c: Likewise.
11316 * math/w_j0f.c: Likewise.
11317 * math/w_j0l.c: Likewise.
11318 * math/w_j1.c: Likewise.
11319 * math/w_j1f.c: Likewise.
11320 * math/w_j1l.c: Likewise.
11321 * math/w_jn.c: Likewise.
11322 * math/w_jnf.c: Likewise.
11323 * math/w_jnl.c: Likewise.
11324 * math/w_lgamma.c: Likewise.
11325 * math/w_lgamma_r.c: Likewise.
11326 * math/w_lgammaf.c: Likewise.
11327 * math/w_lgammaf_r.c: Likewise.
11328 * math/w_lgammal.c: Likewise.
11329 * math/w_lgammal_r.c: Likewise.
11330 * math/w_log.c: Likewise.
11331 * math/w_log10.c: Likewise.
11332 * math/w_log10f.c: Likewise.
11333 * math/w_log10l.c: Likewise.
11334 * math/w_log2.c: Likewise.
11335 * math/w_log2f.c: Likewise.
11336 * math/w_log2l.c: Likewise.
11337 * math/w_logf.c: Likewise.
11338 * math/w_logl.c: Likewise.
11339 * math/w_pow.c: Likewise.
11340 * math/w_powf.c: Likewise.
11341 * math/w_powl.c: Likewise.
11342 * math/w_remainder.c: Likewise.
11343 * math/w_remainderf.c: Likewise.
11344 * math/w_remainderl.c: Likewise.
11345 * math/w_scalb.c: Likewise.
11346 * math/w_scalbf.c: Likewise.
11347 * math/w_scalbl.c: Likewise.
11348 * math/w_sinh.c: Likewise.
11349 * math/w_sinhf.c: Likewise.
11350 * math/w_sinhl.c: Likewise.
11351 * math/w_sqrt.c: Likewise.
11352 * math/w_sqrtf.c: Likewise.
11353 * math/w_sqrtl.c: Likewise.
11354 * math/w_tgamma.c: Likewise.
11355 * math/w_tgammaf.c: Likewise.
11356 * math/w_tgammal.c: Likewise.
11358 * po/ja.po: Update from translation team.
11360 2011-09-29 Andreas Jaeger <aj@suse.de>
11363 * sunrpc/netname.c (netname2host): Fix logic.
11367 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11369 * math/w_remainder.c (__remainder): Likewise.
11370 * math/w_remainderf.c (__remainderf): Likewise.
11371 * math/libm-test.inc (remainder_test): Add test cases.
11373 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11375 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11378 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11380 * string/test-memcmp.c: Avoid unncessary #defines.
11381 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11383 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11385 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11386 Use new sse2 version for core i3 - i7 as it's faster
11387 than sse42 version.
11388 (bit_Prefer_PMINUB_for_stringop): New.
11389 * sysdeps/x86_64/rawmemchr.S: Update.
11390 Replace with faster SSE2 version.
11391 * sysdeps/x86_64/memrchr.S: New file.
11392 * sysdeps/x86_64/memchr.S: Update.
11393 Replace with faster SSE2 version.
11395 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11397 * elf/dl-load.c (lose): Add cast to avoid warning.
11399 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11401 * po/ca.po: Update from translation team.
11403 * inet/getnetgrent_r.c: Hook up nscd.
11404 * nscd/Makefile (routines): Add nscd_netgroup.
11405 (nscd-modules): Add netgroupcache.
11406 (CFLAGS-netgroupcache.c): Define.
11407 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11408 (cache_search): Add const to second parameter.
11409 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11411 (dbs): Add netgrdb entry.
11412 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11413 (verify_persistent_db): Handle netgrdb.
11414 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11415 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11417 (netgroup_response_header): Define.
11418 (innetgroup_response_header): Define.
11419 (datahead): Add netgroup_response_header and innetgroup_response_header
11421 * nscd/nscd.conf: Add entries for netgroup cache.
11422 * nscd/nscd.h (dbtype): Add netgrdb.
11423 (_PATH_NSCD_NETGROUP_DB): Define.
11424 (netgroup_iov_disabled): Declare.
11425 (xmalloc, xcalloc, xrealloc): Move declarations here.
11426 (cache_search): Adjust prototype.
11427 Add netgroup-related prototypes.
11428 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11429 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11430 (__nscd_innetgr): Declare.
11431 * nscd/selinux.c (perms): Use access_vector_t as element type and
11432 add netgroup-related initializers.
11433 * nscd/netgroupcache.c: New file.
11434 * nscd/nscd_netgroup.c: New file.
11435 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11436 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11437 For four parameters use innetgr.
11438 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11439 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11440 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11441 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11443 * nscd/connections.c (register_traced_file): Don't register file
11444 for disabled databases.
11446 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11448 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11450 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11451 from tree and freeing node.
11453 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11455 * nss/nsswitch.c (__nss_database_lookup): Handle
11456 nss_parse_service_list out of memory case.
11458 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11460 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11461 out of memory case.
11463 2011-10-04 Andreas Schwab <schwab@redhat.com>
11465 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11466 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11468 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11469 elf_machine_rela, elf_machine_lazy_rel.
11470 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11471 (ELF_DYNAMIC_DO_REL): Likewise.
11472 (ELF_DYNAMIC_DO_RELA): Likewise.
11473 (ELF_DYNAMIC_RELOCATE): Likewise.
11474 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11475 to ELF_DYNAMIC_DO_REL.
11476 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11477 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11478 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11480 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11481 skip_ifunc, don't call ifunc function if non-zero.
11482 (elf_machine_rela): Likewise.
11483 (elf_machine_lazy_rel): Likewise.
11484 (elf_machine_lazy_rela): Likewise.
11485 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11486 (elf_machine_lazy_rel): Likewise.
11487 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11489 (elf_machine_lazy_rel): Likewise.
11490 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11492 (elf_machine_lazy_rel): Likewise.
11493 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11494 (elf_machine_lazy_rel): Likewise.
11495 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11496 (elf_machine_lazy_rel): Likewise.
11497 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11498 (elf_machine_lazy_rel): Likewise.
11499 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11500 (elf_machine_lazy_rel): Likewise.
11501 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11502 (elf_machine_lazy_rel): Likewise.
11503 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11504 (elf_machine_lazy_rel): Likewise.
11506 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11508 * nss/nss_files/files-init.c (_nss_files_init): Use static
11509 initialization for all the *_traced_file variables.
11511 2011-09-28 Andreas Schwab <schwab@redhat.com>
11513 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11515 2011-09-27 Roland McGrath <roland@hack.frob.com>
11518 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11520 2011-09-27 Andreas Schwab <schwab@redhat.com>
11522 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11523 Reread the line before reparsing it.
11525 2011-09-26 Andreas Schwab <schwab@redhat.com>
11527 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11529 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11530 Maxim Kuvyrkov <maxim@codesourcery.com>
11531 Joseph Myers <joseph@codesourcery.com>
11533 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11534 if needed for __stack_chk_guard.
11536 2011-09-19 Roland McGrath <roland@hack.frob.com>
11538 * sysdeps/posix/spawni.c (script_execute): Always define it.
11539 It will be optimized away if unused.
11540 (maybe_script_execute): New function.
11541 (__spawni): Call it.
11543 * Makerules: Don't include tls.make.
11544 (config-tls): Always set to thread.
11545 * tls.make.c: File removed.
11547 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11549 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11550 * config.make.in (CPPFLAGS-config): New substituted variable.
11552 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11554 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11557 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11558 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11560 2011-09-15 Roland McGrath <roland@hack.frob.com>
11562 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11563 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11564 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11565 (CALL_FAIL): Likewise.
11566 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11567 (CALL_FAIL): Macro removed.
11568 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11570 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11572 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11573 for __FINITE_MATH_ONLY__ == 1.
11575 2011-09-15 Andreas Schwab <schwab@redhat.com>
11577 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11578 __ieee754_sqrt instead of sqrt.
11579 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11580 __ieee754_sqrtf instead of sqrtf.
11581 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11582 __floorf instead of floorf.
11583 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11584 __floorf, __truncf instead of floorf, truncf.
11586 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11588 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11590 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11591 __extern_always_inline.
11592 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11595 2011-09-14 Andreas Schwab <schwab@redhat.com>
11597 * elf/rtld.c (dl_main): Also relocate in dependency order when
11598 doing symbol dependency testing.
11600 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11602 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11603 Always define `refsym'.
11605 2011-09-13 Andreas Schwab <schwab@redhat.com>
11607 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11608 (__FD_ELT): Renamed from __FDELT.
11609 * misc/bits/select2.h (__FD_ELT): Likewise.
11610 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11611 __FD_MASK instead of __FDELT, __FDMASK.
11612 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11614 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11617 * elf/Makefile (gen-ldd): Fix pattern.
11619 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11620 (init_tls): Likewise.
11622 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11624 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11626 2011-09-12 Andreas Schwab <schwab@redhat.com>
11628 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11629 `struct cmsghdr *' instead of `void *'.
11630 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11633 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11635 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11637 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11638 ldd_rewrite_script.
11640 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11642 * configure.in: Remove --with-tls option.
11643 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11644 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11645 out in case it is missing.
11646 * sysdeps/ia64/elf/configure.in: Likewise.
11647 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11648 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11649 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11650 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11651 * sysdeps/sh/elf/configure.in: Likewise.
11652 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11653 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11654 * sysdeps/x86_64/elf/configure.in: Likewise.
11655 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11656 * sysdeps/mach/hurd/tls.h: Likewise.
11659 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11662 * configure.in: Fix use of AC_INIT.
11664 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11666 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11668 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11670 * malloc/hooks.c: Likewise.
11673 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11674 variables statically.
11675 (narenas): Initialize.
11676 (list_lock): Initialize.
11677 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11678 initializtion of main_arena and list_lock. Small cleanups.
11679 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11680 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11681 Add initializers to main_arena and mp_.
11682 (malloc_state): Remove pagesize member. Change all users to use
11685 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11686 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11687 is always initialized.
11689 * malloc/malloc.c: Removed unused configurations and dead code.
11690 * malloc/arena.c: Likewise.
11691 * malloc/hooks.c: Likewise.
11692 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11694 * include/tls.h: Removed. USE___THREAD must always be defined.
11695 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11696 * elf/dl-libc.c: Likewise.
11697 * elf/dl-tsd.c: Likewise.
11698 * include/errno.h: Likewise.
11699 * include/netdb.h: Likewise.
11700 * include/resolv.h: Likewise.
11701 * inet/herrno-loc.c: Likewise.
11702 * inet/herrno.c: Likewise.
11703 * malloc/arena.c: Likewise.
11704 * malloc/hooks.c: Likewise.
11705 * malloc/malloc.c: Likewise.
11706 * resolv/res-state.c: Likewise.
11707 * resolv/res_libc.c: Likewise.
11708 * sysdeps/i386/dl-machine.h: Likewise.
11709 * sysdeps/ia64/dl-machine.h: Likewise.
11710 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11711 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11712 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11713 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11714 * sysdeps/sh/dl-machine.h: Likewise.
11715 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11716 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11717 * sysdeps/unix/i386/sysdep.S: Likewise.
11718 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11719 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11720 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11721 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11722 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11723 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11724 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11725 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11726 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11727 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11728 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11729 * sysdeps/x86_64/dl-machine.h: Likewise.
11730 * tls.make.c: Likewise.
11732 * configure.in: Remove --with-__thread option. Make tests for
11733 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11734 tls_model attribute fail if no support is available. Remove
11736 * Makeconfig: Adjust for dropped configure option. All features are
11738 * Makerules: Likewise.
11739 * Versions.def: Likewise.
11740 * argp/argp-fmtstream.c: Likewise.
11741 * argp/argp-fmtstream.h: Likewise.
11742 * argp/argp-help.c: Likewise.
11743 * assert/assert.c: Likewise.
11744 * config.h.in: Likewise.
11745 * config.make.in: Likewise.
11746 * configure: Likewise.
11747 * configure.in: Likewise.
11748 * csu/Versions: Likewise.
11749 * csu/init.c: Likewise.
11750 * elf/tst-audit2.c: Likewise.
11751 * elf/tst-tls10.c: Likewise.
11752 * elf/tst-tls10.h: Likewise.
11753 * elf/tst-tls11.c: Likewise.
11754 * elf/tst-tls12.c: Likewise.
11755 * elf/tst-tls14.c: Likewise.
11756 * elf/tst-tlsmod11.c: Likewise.
11757 * elf/tst-tlsmod12.c: Likewise.
11758 * elf/tst-tlsmod13.c: Likewise.
11759 * elf/tst-tlsmod13a.c: Likewise.
11760 * elf/tst-tlsmod14a.c: Likewise.
11761 * elf/tst-tlsmod15b.c: Likewise.
11762 * elf/tst-tlsmod16a.c: Likewise.
11763 * elf/tst-tlsmod16b.c: Likewise.
11764 * elf/tst-tlsmod7.c: Likewise.
11765 * elf/tst-tlsmod8.c: Likewise.
11766 * elf/tst-tlsmod9.c: Likewise.
11767 * gmon/gmon.c: Likewise.
11768 * grp/fgetgrent_r.c: Likewise.
11769 * grp/putgrent.c: Likewise.
11770 * hurd/fopenport.c: Likewise.
11771 * include/libc-symbols.h: Likewise.
11772 * include/tls.h: Likewise.
11773 * intl/gettextP.h: Likewise.
11774 * intl/loadinfo.h: Likewise.
11775 * locale/global-locale.c: Likewise.
11776 * locale/localeinfo.h: Likewise.
11777 * mach/devstream.c: Likewise.
11778 * malloc/arena.c: Likewise.
11779 * malloc/set-freeres.c: Likewise.
11780 * misc/err.c: Likewise.
11781 * misc/getttyent.c: Likewise.
11782 * misc/mntent_r.c: Likewise.
11783 * posix/getopt.c: Likewise.
11784 * posix/wordexp.c: Likewise.
11785 * pwd/fgetpwent_r.c: Likewise.
11786 * resolv/Versions: Likewise.
11787 * resolv/res_hconf.c: Likewise.
11788 * shadow/fgetspent_r.c: Likewise.
11789 * shadow/putspent.c: Likewise.
11790 * stdio-common/printf_fphex.c: Likewise.
11791 * stdio-common/tmpfile.c: Likewise.
11792 * stdlib/abort.c: Likewise.
11793 * stdlib/fmtmsg.c: Likewise.
11794 * sunrpc/auth_unix.c: Likewise.
11795 * sunrpc/clnt_perr.c: Likewise.
11796 * sunrpc/clnt_tcp.c: Likewise.
11797 * sunrpc/clnt_udp.c: Likewise.
11798 * sunrpc/clnt_unix.c: Likewise.
11799 * sunrpc/openchild.c: Likewise.
11800 * sunrpc/svc_simple.c: Likewise.
11801 * sunrpc/svc_tcp.c: Likewise.
11802 * sunrpc/svc_udp.c: Likewise.
11803 * sunrpc/svc_unix.c: Likewise.
11804 * sunrpc/xdr.c: Likewise.
11805 * sunrpc/xdr_array.c: Likewise.
11806 * sunrpc/xdr_rec.c: Likewise.
11807 * sunrpc/xdr_ref.c: Likewise.
11808 * sunrpc/xdr_stdio.c: Likewise.
11810 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11812 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11814 2011-07-03 Andreas Jaeger <aj@suse.de>
11816 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11817 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11818 regenerate with gen-libm-tests.pl.
11820 2010-05-12 Petr Baudis <pasky@suse.cz>
11823 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11824 around j0() zero points by switching to j1().
11825 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11826 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11827 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11828 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11830 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11832 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11834 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11836 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11837 Patch in part by Pavel Roskin <proski@gnu.org>.
11840 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11842 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11843 Free memory block if necessary.
11846 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11847 be NULL. Don't lock in this case.
11849 2011-09-09 Roland McGrath <roland@hack.frob.com>
11851 * elf/elf.h (ELFOSABI_GNU): New macro.
11852 (ELFOSABI_LINUX): Define to that.
11854 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11856 * string/strncat.c (strncat): Undef the symbol in case it has been
11857 defined in bits/string.h.
11859 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11861 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11863 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11866 2011-08-17 Andreas Jaeger <aj@suse.de>
11868 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11870 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11871 Ian Lance Taylor <iant@google.com>
11873 * math/libm-test.inc (lround_test): New testcase.
11874 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11876 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11878 * Makefile: Remove support for automatic cvs check-ins.
11879 * Makerules: Likewise.
11880 * config.make.in: Likewise.
11881 * configure.in: Likewise.
11882 * intl/Makefile: Likewise.
11883 * locale/Makefile: Likewise.
11884 * po/Makefile: Likewise.
11885 * posix/Makefile: Likewise.
11886 * sysdeps/gnu/Makefile: Likewise.
11887 * sysdeps/mach/hurd/Makefile: Likewise.
11888 * sysdeps/sparc/sparc32/Makefile: Likewise.
11891 * posix/Makefile (bug-regex32-ENV): Define.
11892 Patch by John Stanley <jpsinthemix@verizon.net>.
11894 * misc/Makefile (headers): Add bits/select2.h.
11895 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11896 * misc/bits/select2.h: New file.
11897 * include/bits/select2.h: New file.
11898 * debug/Makefile (routines): Add fdelt_chk.
11899 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11900 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11902 * debug/fdelt_chk.c: New file.
11904 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11905 * wcsmbs/test-wmemcmp.c: Likewise.
11906 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11907 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11909 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11911 * string/Makefile (strop-tests): Add memcmp.
11912 * string/test-wmemcmp.c: New file.
11913 * string/test-memcmp.c: Add wmemcmp support.
11915 2011-09-08 Roland McGrath <roland@hack.frob.com>
11918 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11921 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11922 garbage value in a __mach_port_mod_refs call in the cases of the
11923 task-self and thread-self ports.
11925 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11927 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11929 2011-09-08 Andreas Schwab <schwab@redhat.com>
11931 * elf/dl-load.c (lose): Check for non-null L.
11933 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11935 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11937 * elf/dl-libc.c (dlerror_run): Pass back error code from
11941 * elf/dl-load.c (lose): Free l_origin if it is valid.
11943 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11945 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11946 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11947 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11948 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11949 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11950 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11952 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11954 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11955 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11956 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11957 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11958 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11959 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11960 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11961 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11962 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11963 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11965 2011-08-15 Alan Modra <amodra@gmail.com>
11968 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11969 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11970 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11971 ppc_mcount to static-only-routines.
11972 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11974 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11975 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11977 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11979 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11980 for finite and infinity parameters.
11982 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11984 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11985 and add nop instructions for throughput optimization.
11986 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11988 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11990 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11991 aligned copy for power7 with vector-scalar instructions.
11992 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11994 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11999 2011-09-07 Andreas Schwab <schwab@redhat.com>
12002 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12005 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12007 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12008 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12009 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12010 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12013 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12015 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12016 Forgot to demangle the pointer.
12018 * sysdeps/i386/sysdep.h: Define atom_text_section.
12019 * sysdeps/x86_64/sysdep.h: Likewise.
12020 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12021 section with atom_text_section.
12022 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12023 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12024 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12025 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12026 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12028 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12029 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12030 already be defined. Change to take two parameters and don't assign
12031 result to variable. Adjust all users.
12032 Define INTERNAL_GETTIME if not already defined.
12033 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12035 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12036 HAVE_CLOCK_GETTIME_VSYSCALL.
12037 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12039 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12040 gettimeofday vsyscall, just use time.
12042 2011-09-06 Andreas Schwab <schwab@redhat.com>
12044 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12047 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12049 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12051 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12053 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12054 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12055 syscall if possible.
12057 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12059 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12060 e_ident. Don't pass to find_mapsXX.
12061 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12063 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12066 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12067 * sysdeps/x86_64/multiarch/strchr.S: Update.
12068 Check bit_slow_BSF bit.
12069 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12070 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12071 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12073 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12076 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12078 (tryshell): Define.
12079 (__spawni): Change last parameter to be flag. Test
12080 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12081 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12082 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12083 * posix/spawni.c: Likewise.
12084 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12085 * posix/spawnp.c: Likewise. Change normal version to use
12086 SPAWN_XFLAGS_USE_PATH.
12087 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12088 SPAWN_XFLAGS_TRY_SHELL.
12091 * posix/glob.h: Remove gcc 1.x support.
12094 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12096 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12098 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12099 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12101 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12102 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12103 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12104 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12105 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12106 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12108 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12110 * sysdeps/x86_64/wcscmp.S: New file.
12112 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12113 wcscmp-c wcscmp-sse2
12114 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12115 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12116 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12117 * wcsmbs/wcscmp.c: Allow renaming.
12119 2011-09-05 David S. Miller <davem@davemloft.net>
12121 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12122 stack slot, rather than the struct return pointer slot.
12123 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12124 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12126 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12128 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12130 * po/ja.po: Update from translation team.
12133 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12134 kernel in 64-bit binaries.
12136 2011-09-01 David S. Miller <davem@davemloft.net>
12138 * elf/elf.h (HWCAP_SPARC_*): Move to..
12139 * sysdeps/sparc/sysdep.h: this new file and add new values.
12140 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12141 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12142 _DL_HWCAP_COUNT to 24.
12143 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12145 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12146 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12147 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12148 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12149 instead of magic constants.
12150 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12152 2011-08-31 David S. Miller <davem@davemloft.net>
12154 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12155 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12156 Reimplement to do errno handling inline.
12157 (SYSCALL_ERROR_HANDLER): New macro.
12158 (__SYSCALL_STRING): Do not do errno handling in asm.
12159 (__CLONE_SYSCALL_STRING): Delete.
12160 (__INTERNAL_SYSCALL_STRING): Delete.
12161 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12162 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12163 (PSEUDO): Reimplement to do errno handling inline.
12164 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12165 (SYSCALL_ERROR_HANDLER): New macro.
12166 (__SYSCALL_STRING): Do not do errno handling in asm.
12167 (__CLONE_SYSCALL_STRING): Delete.
12168 (__INTERNAL_SYSCALL_STRING): Delete.
12169 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12170 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12172 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12173 (inline_syscall*): Add 'err' argument.
12174 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12175 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12176 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12177 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12179 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12180 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12182 2011-08-30 Andreas Schwab <schwab@redhat.com>
12184 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12186 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12188 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12191 2011-08-24 David S. Miller <davem@davemloft.net>
12193 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12195 2011-08-24 Andreas Schwab <schwab@redhat.com>
12197 * elf/Makefile: Add rules to build and run unload8 test.
12198 * elf/unload8.c: New file.
12199 * elf/unload8mod1.c: New file.
12200 * elf/unload8mod1x.c: New file.
12201 * elf/unload8mod2.c: New file.
12202 * elf/unload8mod3.c: New file.
12204 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12207 2011-08-23 David S. Miller <davem@davemloft.net>
12209 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12210 subtract stack bias.
12211 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12212 %sp not %fp in calculations.
12213 (_JMPBUF_UNWINDS_ADJ): Likewise.
12215 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12216 (aio_suspend): Call it to force an exception region around the
12217 AIO_MISC_WAIT() invocation.
12219 2011-08-23 Andreas Schwab <schwab@redhat.com>
12221 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12224 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12226 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12228 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12229 and <dl-machine.h>.
12230 (Elf64_FuncDesc): Remove.
12232 2011-08-22 David S. Miller <davem@davemloft.net>
12234 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12235 sigaltstack check, add missing cfi directives.
12236 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12237 missing cfi directives, and sigaltstack handling.
12239 2011-08-16 Andreas Schwab <schwab@redhat.com>
12242 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12243 object is seen twice.
12244 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12246 * elf/Makefile (distribute): Add tst-initorder2.c.
12247 (tests): Add tst-initorder2.
12248 (modules-names): Add tst-initorder2a tst-initorder2b
12249 tst-initorder2c tst-initorder2d. Add rules to build them.
12250 ($(objpfx)tst-initorder2.out): New rule.
12251 * elf/tst-initorder2.c: New file.
12252 * elf/tst-initorder2.exp: New file.
12254 2011-08-22 Andreas Schwab <schwab@redhat.com>
12256 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12258 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12259 dependencies back to end of function.
12261 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12262 $(elfobjdir)/ld.so.
12264 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12266 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12267 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12268 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12269 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12270 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12271 of __vdso_gettimeofday.
12272 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12273 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12275 (_libc_vdso_platform_setup): Remove initialization of
12276 __vdso_gettimeofday and __vdso_time.
12278 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12280 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12281 and fgetc_unlocked.
12282 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12285 * elf/dl-open.c (add_to_global): Report additions to the global scope
12286 for LD_DEBUG=scopes.
12287 (dl_open_worker): Also print scope of newly loaded dependencies.
12288 (_dl_show_scope): Indicate if there is no scope.
12291 * stdio-common/Makefile (tests): Add bug24.
12292 * stdio-common/bug24.c: New file.
12294 2011-08-19 Andreas Jaeger <aj@suse.de>
12297 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12298 non-existant file when using close-on-exec mode.
12300 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12302 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12303 the very first instruction.
12305 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12306 the CFI state in the end.
12307 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12308 inclusion of dl-trampoline.h.
12309 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12311 2011-08-19 Andreas Schwab <schwab@redhat.com>
12313 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12314 expectations for long double.
12316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12317 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12319 2011-08-14 David S. Miller <davem@davemloft.net>
12321 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12322 artificual limit depends upon the system page size.
12324 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12326 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12327 * resolv/Makefile: Define CFLAGS-libresolv.
12329 2011-08-17 Andreas Schwab <schwab@redhat.com>
12331 * nss/makedb.c (compute_tables): Make variables used in nested
12334 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12336 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12337 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12338 if buffer was too small.
12340 * elf/pldd.c (main): Attach to all threads in the process.
12341 Rewrite /proc handling to use *at functions.
12343 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12345 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12346 specifies first scope to show.
12347 (dl_open_worker): Update callers. Move printing scope of new
12348 object to before the relocation.
12349 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12350 * sysdeps/generic/ldsodefs.h: Update declaration.
12352 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12353 string for the scope number.
12355 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12357 * nscd/servicescache.c (cache_addserv): Make sure written is always
12360 2011-08-14 Roland McGrath <roland@hack.frob.com>
12362 * sysdeps/i386/i486/bits/atomic.h
12363 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12364 statement expression, so as to suppress "set but not used" warning.
12365 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12367 * string/strncat.c (STRNCAT): Use prototype definition.
12369 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12370 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12372 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12373 (localedef-modules): Add localedef.
12374 (locale-modules): Add locale.
12376 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12377 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12378 to avoid a warning.
12380 2011-08-14 David S. Miller <davem@davemloft.net>
12382 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12383 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12385 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12387 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12388 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12389 * elf/rtld.c (dl_main): Set l_name of vDSO.
12390 Call _dl_show_scope when DL_DEBUG_SCOPES.
12391 (process_dl_debug): Recognize scopes flag and also set it for all.
12392 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12393 Declare _dl_show_scope.
12395 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12396 (do_dlopen): Pass caller_dlopen to dl_open.
12397 (__libc_dlopen_mode): Initialize caller_dlopen.
12399 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12400 of libc. Make tolower call locale-independent. Optimize a bit by
12401 using isdigit instead of isalnum.
12402 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12404 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12406 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12407 was a dependency or dynamically loaded.
12409 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12411 * intl/l10nflist.c: Allow architecture-specific pop function.
12412 * sysdeps/x86_64/l10nflist.c: New file.
12414 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12417 2011-08-10 Andreas Schwab <schwab@redhat.com>
12419 * include/dirent.h: Add libc_hidden_proto for scandirat and
12420 scandirat64. Don't declare __scandirat64.
12421 * dirent/scandirat.c: Add libc_hidden_def.
12422 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12423 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12425 2011-08-10 David S. Miller <davem@davemloft.net>
12427 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12429 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12430 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12431 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12433 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12435 * Versions.def [libc]: Add GLIBC_2.15.
12436 * dirent/Makefile (routines): Add scandirat and scandirat64.
12437 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12439 * dirent/dirent.h: Declare scandirat and scandirat64.
12440 * dirent/scandirat.c: New file.
12441 * dirent/scandirat64.c: New file.
12442 * sysdeps/wordsize-64/scandirat.c: New file.
12443 * sysdeps/wordsize-64/scandirat64.c: New file.
12444 * dirent/opendir.c: Define opendirat.
12445 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12447 * dirent/scandir64.c: Adjust for scandir.c change.
12448 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12449 __scandirat64, and __scandir_cancel_handler.
12450 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12451 additional parameter and use openat instead of open (outside of ld.so).
12452 Add new __opendir as wrapper around __opendirat.
12453 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12454 here without requiring old scandirat implementation.
12456 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12458 * dirent/scandir.c (cancel_handler): Renamed to
12459 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12460 defined. Adjust users.
12461 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12462 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12464 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12466 * string/test-string.h (IMPL): Use __STRING to expand name and then
12469 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12472 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12474 * string/Makefile: Update.
12475 (strop-tests): Append strncat.
12476 * string/test-wcscmp.c: New file.
12477 New comprehensive test for wcscmp.
12478 * string/test-strcmp.c: Update.
12479 (WIDE): New define.
12481 2011-07-22 Andreas Schwab <schwab@redhat.com>
12483 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12486 2011-07-26 Andreas Schwab <schwab@redhat.com>
12488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12489 encoding to ACE if AI_IDN.
12491 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12493 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12494 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12496 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12498 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12499 Fix overflow bug in strncat.
12500 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12502 * string/test-strncat.c: Update.
12503 Add new tests for checking overflow bugs.
12505 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12507 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12508 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12509 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12510 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12511 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12512 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12513 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12514 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12515 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12517 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12518 (USE_AS_STRCAT): Define.
12519 Add strcat and strncat support.
12520 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12522 2011-07-25 Andreas Schwab <schwab@redhat.com>
12524 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12525 __n bigger than INT_MAX+1.
12526 (__strncmp_g): Likewise.
12528 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12530 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12531 * libio/stido.h: Likewise.
12533 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12535 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12538 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12539 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12540 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12541 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12542 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12545 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12548 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12550 (_dl_x86_64_save_sse): Likewise.
12552 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12554 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12556 (_dl_x86_64_save_sse): Likewise.
12558 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12560 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12562 2011-07-21 Andreas Schwab <schwab@redhat.com>
12564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12566 (_dl_x86_64_save_sse): Use correct AVX check.
12568 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12570 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12571 bug in strncpy/strncat.
12572 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12574 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12576 * string/tester.c (test_strcat): Add tests for different alignments
12577 of source and destination.
12578 (test_strncat): Likewise.
12580 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12583 * posix/glob.c (glob): Check passed in values before using them in
12584 expressions to avoid some overflows.
12585 (glob_in_dir): Likewise.
12588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12589 check for AVX enablement so that we don't crash with old kernels and
12591 * elf/tst-audit4.c: Add same checks here.
12592 * elf/tst-audit6.c: Likewise.
12594 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12596 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12598 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12600 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12602 * po/cs.po: Update from translation team.
12603 * po/bg.po: Likewise.
12605 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12607 * misc/sys/cdefs.h: Add support for const attribute.
12608 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12609 to gnu_dev_{major,minor,makedev} functions.
12611 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12613 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12615 2011-07-20 Andreas Schwab <schwab@redhat.com>
12617 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12620 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12622 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12623 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12624 register in order to avoid conflicts with the soft frame pointer
12625 being held in r11 when necessary.
12626 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12627 (INTERNAL_VSYSCALL_NCS): Likewise.
12629 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12631 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12632 * elf/dl-fini.c (_dl_fini): Adjust caller.
12633 * elf/dl-close.c (_dl_close_worker): Likewise.
12634 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12636 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12638 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12639 "aux_cache->nlibs < 0".
12641 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12642 in the reload-count case.
12644 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12646 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12647 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12648 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12649 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12650 * sysdeps/x86_64/multiarch/strcat.S: New file.
12651 * sysdeps/x86_64/multiarch/strncat.S: New file.
12652 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12653 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12654 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12655 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12656 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12657 (USE_AS_STRCAT): Define.
12658 Add strcat and strncat support.
12659 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12660 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12661 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12662 * string/strncat.c: Update.
12663 (USE_AS_STRNCAT): Define.
12664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12665 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12667 * sysdeps/x86_64/multiarch/init-arch.h
12668 (bit_Prefer_PMINUB_for_stringop): New.
12669 (index_Prefer_PMINUB_for_stringop): Likewise.
12670 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12671 bit_Prefer_PMINUB_for_stringop.
12673 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12675 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12677 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12678 of casting of buffer.
12679 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12680 buffer32 and buffer64.
12681 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12682 writes instead of casting of buffer.
12683 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12685 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12688 2011-07-19 Andreas Schwab <schwab@redhat.com>
12690 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12692 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12694 * nscd/nscd.c (termination_handler): Don't do anything for a database
12695 if it has not yet been initialized.
12697 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12699 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12701 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12703 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12705 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12707 * po/nl.po: Update from translation team.
12708 * po/sv.po: Likewise.
12710 2011-07-16 Roland McGrath <roland@hack.frob.com>
12712 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12713 now disallowed by GCC.
12715 * configure.in (use-default-link): Default to yes if a test -shared
12716 link meets our qualifications.
12717 * configure: Regenerated.
12719 * config.make.in (output-format): New variable.
12720 * configure.in: Check for ld --print-output-format support.
12721 * configure: Regenerated.
12722 * Makerules ($(common-objpfx)format.lds)
12723 [$(output-format) != unknown]: Just use $(output-format),
12724 instead of the linker-script munging.
12726 2011-07-14 Roland McGrath <roland@hack.frob.com>
12728 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12729 of $(common-objpfx)shlib.lds.
12730 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12732 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12733 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12735 * configure.in (-z relro check): Adjust test code to add a large
12736 writable data section after it.
12737 * configure: Regenerated.
12739 2011-07-11 Roland McGrath <roland@hack.frob.com>
12741 * configure.in (-z relro check): Fix test code to make the variable
12743 * configure: Regenerated.
12745 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12747 * nscd/nscd.h (struct traced_file): Define.
12748 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12749 elements. Add traced_files.
12750 (inotify_fd): Declare.
12751 (register_traced_file): Declare.
12752 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12753 (inotify_fd): Export.
12754 (resolv_conf_descr): Remove.
12755 (nscd_init): Move inotify descriptor creation to main.
12756 Don't register files for notification here.
12757 (register_traced_file): New function.
12758 (invalidate_cache): Don't use reset_res to determine whether to call
12759 res_init, go through the list of registered files.
12760 (main_loop_poll): The inotify descriptors are now stored in the
12761 structures for the traced files.
12762 (main_loop_epoll): Likewise
12763 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12764 to __nss_disable_nscd.
12765 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12766 for a database anymore. Check the records for all the registered
12768 * nss/Makefile (libnss_files-routines): Add files-init.
12769 (libnss_db-routines): Add db-init.
12770 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12771 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12772 * nss/nss_db/db-init.c: New file.
12773 * nss/nss_files/files-init.c: New file.
12774 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12775 __nss_lookup_function.
12776 (__nss_lookup_function): Call nss_load_library.
12777 (nss_load_all_libraries): New function.
12778 (__nss_disable_nscd): Take parameter with callback function for files
12779 to register. Set is_nscd. Load all the DSOs for the NSS modules
12780 used for the cached services.
12781 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12782 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12783 options for features to all the files in nscd.
12785 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12787 2011-07-10 Roland McGrath <roland@hack.frob.com>
12789 * csu/elf-init.c (__libc_csu_init): Comment typo.
12791 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12793 * po/pl.po: Update from translation team.
12794 * po/ja.po: Likewise.
12795 * po/ru.po: Likewise.
12796 * po/ko.po: Likewise.
12797 * po/fr.po: Likewise.
12799 2011-07-09 Roland McGrath <roland@hack.frob.com>
12801 * configure.in (.ctors/.dtors header and trailer check):
12802 Use an empirical test on a built program.
12803 * configure: Regenerated.
12805 * configure.in (-z relro check): Use an empirical test on a built DSO.
12806 Detect, but do not require, on ia64.
12807 * configure: Regenerated.
12809 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12810 Update tests that use readelf to use $READELF instead.
12811 * configure: Regenerated.
12813 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12815 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12816 if the result is not used.
12818 2011-07-05 Andreas Jaeger <aj@suse.de>
12821 * stdlib/tst-strtod.c: Add testcase.
12823 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12825 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12826 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12827 The latter has a higher limit. Take additional parameter to pass to
12829 (__pathconf): Pass file to __statfs_link_max.
12830 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12832 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12836 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12837 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12839 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12840 (__statfs_filesize_max): Likewise.
12841 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12843 2011-07-05 Andreas Jaeger <aj@suse.de>
12845 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12847 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12849 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12851 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12854 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12856 * Makefile (strop-tests): Add strncat.
12857 * string/test-strncat.c: New file.
12859 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12861 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12863 2011-06-21 Andreas Jaeger <aj@suse.de>
12865 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12866 Copy rule from iconvdata/Makefile.
12868 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12871 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12872 but no long options are defined, just return 'W'.
12874 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12877 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12879 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12881 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12883 (innetgr): Likewise.
12885 2011-07-05 Roland McGrath <roland@hack.frob.com>
12887 * config.make.in (install_root): Default to $(DESTDIR).
12889 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12891 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12893 2011-07-02 Roland McGrath <roland@hack.frob.com>
12895 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12897 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12898 containing directory rather than embedding absolute directory names.
12900 * scripts/check-local-headers.sh: Rewritten using awk.
12901 Match by word, not by line. Print error messages for matches.
12902 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12904 * Makerules [shlib-lds-flags empty]:
12905 ($(common-objpfx)libc_pic.opts): New target.
12906 ($(common-objpfx)libc_pic.os.clean): New target.
12907 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12909 * config.make.in (OBJCOPY): New variable.
12910 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12911 * configure: Regenerated.
12913 * config.make.in (use-default-link): New variable.
12914 * configure.in (use_default_link): Grok --with-default-link to set it.
12915 * configure: Regenerated.
12916 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12917 (shlib-lds, shlib-lds-flags): Define to empty.
12919 * Makerules (shlib-lds): New variable.
12920 (shlib-lds-flags): New variable.
12921 (build-shlib, build-moduile, build-module-asneeded): Use it.
12922 ($(common-objpfx)libc.so): Use $(shlib-lds).
12923 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12924 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12926 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12927 DT_FLAGS/DT_FLAGS_1 with zero flags.
12929 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12930 linker script munging.
12932 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12934 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12936 * crypt/sha512.c (sha512_process_block): Perform total addition using
12937 128-bit if possible.
12938 (__sha512_finish_ctx): Likewise.
12939 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12941 * crypt/sha256.c (SWAP64): Define.
12942 (sha256_process_block): Perform total addition using 64-bit if
12944 (__sha256_finish_ctx): Likewise.
12946 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12948 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12949 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12950 * nscd/hstcache.c (cache_addhst): Likewise.
12951 * nscd/grpcache.c (cache_addgr): Likewise.
12952 * nscd/aicache.c (addhstaiX): Likewise
12953 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12955 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12957 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12958 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12959 * nscd/hstcache.c (cache_addhst): Likewise.
12960 * nscd/grpcache.c (cache_addgr): Likewise.
12961 * nscd/aicache.c (addhstaiX): Likewise
12963 2011-07-01 Andreas Schwab <schwab@redhat.com>
12965 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12966 domain only when needed.
12968 2011-06-30 Andreas Schwab <schwab@redhat.com>
12970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12971 is always restored.
12973 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12975 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12976 are re-adding the entry.
12977 * nscd/servicescache.c (cache_addserv): Likewise.
12979 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12981 * sysdeps/generic/dl-irel.h: fix protection against multiple
12983 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12985 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12988 * malloc/memusage.sh: Fix quoting in message.
12989 * debug/xtrace.sh: Likewise.
12991 * configure.in: Remove support for --experimental-malloc option, make
12993 * config.make.in: Likewise.
12994 * malloc/Makefile: Likewise.
12996 2011-06-27 Andreas Schwab <schwab@redhat.com>
12998 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12999 two-byte characters.
13001 2011-06-27 Roland McGrath <roland@hack.frob.com>
13003 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13004 AC_CACHE_CHECK invocation.
13005 * configure: Regenerated.
13007 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13009 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13012 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13013 bit from old_res_options.
13015 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13017 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13018 value type for setfct.
13020 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13022 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13023 __gettimeofday instead of gettimeofday.
13025 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13027 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13029 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13031 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13033 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13036 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13039 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13040 strcpy-sse2-unaligned strncpy-sse2-unaligned
13041 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13042 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13043 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13044 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13045 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13046 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13047 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13048 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13049 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13050 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13051 (STRCPY): Support SSE2 and SSSE3 versions.
13053 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13056 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13057 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13058 kernels which artificially limit size of requests.
13060 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13063 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13064 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13065 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13066 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13067 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13068 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13069 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13070 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13071 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13072 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13073 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13074 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13075 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13076 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13077 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13078 Enable unaligned load optimization for Intel Core i3, i5 and i7
13080 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13082 (index_Fast_Unaligned_Load): Define.
13083 (HAS_FAST_UNALIGNED_LOAD): Define.
13085 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13087 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13089 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13092 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13093 until it is clear that the information is realy needed.
13094 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13096 2011-06-22 Andreas Schwab <schwab@redhat.com>
13098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13100 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13102 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13103 /sys/devices/system/cpu/online if it is usable.
13105 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13106 reading the information from the /proc filesystem to once a second.
13108 2011-06-21 Andreas Jaeger <aj@suse.de>
13110 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13111 NULL after inclusion of kernel headers.
13113 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13115 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13116 calls to internal_setent.
13119 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13120 addresses using gethostbyname4_r ignore IPv4 addresses.
13122 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13123 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13125 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13127 2011-06-20 David S. Miller <davem@davemloft.net>
13129 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13131 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13133 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13134 (elf_irel): Use it.
13135 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13136 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13137 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13138 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13139 * sysdeps/x86_64/dl-irel.h: Likewise.
13141 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13142 * elf/dl-sym.c: Likewise.
13144 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13146 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13147 need to dereference resplen2.
13149 2011-06-14 Andreas Schwab <schwab@redhat.com>
13151 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13153 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13155 * Makeconfig: Define vardbdir and inst_vardbdir.
13156 * nss/Makefile: Add rules to install db-Makefile.
13158 * nss/nss_db/db-XXX.c: Cleanup.
13160 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13161 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13163 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13164 * nss/makedb.c: Implement -g option to specify that value strings
13165 are generated and should not be added to table iterated over for
13167 * nss/nss_db/db-initgroups.c: New file.
13169 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13172 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13173 (internal_getgrouplist): Adjust to name change.
13174 Update use_initgroups_entry if this is not the first call.
13175 * nss/databases.def: Add initgroups entry.
13177 * nss/makedb.c (compute_tables): Check result of multiple hash table
13178 sizes to minimize maximum chain length.
13180 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13182 * Versions.def: Add entry for libnss_db.
13183 * shlib-versions: Likewise.
13184 * nss/Makefile: Add rules to build libnss_db.
13185 * nss/Versions: Add libnss_db information. Organize libnss_files
13187 * nss/db-Makefile: Add gshadow support. Change rules for the new
13188 makedb progra. Some minor improvements to generate smaller files.
13189 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13191 * nss/makedb.c: ...here.
13192 Improve database format to be smaller and require less memory at
13194 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13196 * nss/nss_db/db-netgrp.c: Likewise.
13197 * nss/nss_db/db-open.c: Likewise.
13198 * nss/nss_files/flies-XXX.x: Adjust comments.
13199 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13200 * nss/nss_files/files-grp.c: Likewise.
13201 * nss/nss_files/files-hosts.c: Likewise.
13202 * nss/nss_files/files-network.c: Likewise.
13203 * nss/nss_files/files-proto.c: Likewise.
13204 * nss/nss_files/files-pwd.c: Likewise.
13205 * nss/nss_files/files-rpc.c: Likewise.
13206 * nss/nss_files/files-service.c: Likewise.
13207 * nss/nss_files/files-sgrp.c: Likewise.
13208 * nss/nss_files/files-spwd.c: Likewise.
13209 * nss/nss_db/db-alias.c: Removed.
13210 * nss/nss_db/dummy-db.h: Removed.
13212 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13214 * nss/makedb.c: Rewritten to not use database library.
13215 * nss/Makefile: Update to build new makedb program.
13217 2011-06-14 Andreas Jaeger <aj@suse.de>
13219 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13220 memset declaration.
13222 2011-06-10 Andreas Schwab <schwab@redhat.com>
13224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13227 2011-06-10 Roland McGrath <roland@hack.frob.com>
13229 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13230 * elf/Makefile ($(objpfx)ld.so): Likewise.
13232 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13233 Don't list ld.so twice in dependencies.
13235 * posix/bug-regex31.c: Include <stdlib.h>.
13237 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13239 * nis/nss_compat/compat-spwd.c
13240 (getspent_next_nss_netgr): Remove unused variable.
13241 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13243 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13244 nonmembers" output to use the right array.
13246 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13248 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13250 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13251 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13252 * catgets/gencat.c (read_input_file): Likewise.
13253 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13255 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13256 variable definition inside #if's controlling its use.
13258 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13260 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13262 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13264 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13267 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13269 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13270 * configure: Regenerated.
13272 * Makerules: Revert last change.
13273 * elf/Makefile: Likewise.
13275 2011-06-09 Roland McGrath <roland@hack.frob.com>
13277 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13278 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13279 (reloc-link): Likewise.
13281 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13283 * elf/Makefile: Add rules to build pldd.
13284 * elf/pldd.c: New file.
13285 * elf/pldd-xx.c: New file.
13287 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13289 * version.h: Update for 2.15 development version.
13291 2011-06-07 David S. Miller <davem@davemloft.net>
13293 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13295 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13296 elf_machine_lazy_rel): Likewise.
13297 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13298 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13299 elf_machine_lazy_rel): Likewise.
13300 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13301 dl_hwcap via passed in argument.
13302 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13305 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13307 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13309 2011-06-06 Roland McGrath <roland@hack.frob.com>
13312 * manual/fdl-1.1.texi: New file, verbatim from:
13313 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13314 * manual/lgpl-2.1.texi: New file, verbatim from:
13315 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13316 * manual/Makefile (licenses): New variable, list those new file names.
13318 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13320 * manual/fdl.texi: File removed.
13321 * manual/lesser.texi: File removed.
13322 * manual/libc.texinfo (Copying, Documentation License):
13323 Use new @include file names, put @appendix directive before @include.
13325 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13328 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13329 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13330 (mq_open): Add __NTH.
13332 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13335 Assume Intel Core i3/i5/i7 processor if AVX is available.
13337 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13339 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13342 2011-05-31 Andreas Schwab <schwab@redhat.com>
13344 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13345 memory. Use alloca_account. Fix memory leak when retrying.
13347 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13349 * version.h (RELEASE): Bump for 2.14 release.
13350 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13352 * config.make.in (RANLIB): Remove entry.
13354 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13356 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13357 (libc.pot): Work around missing support for .ksh extension in xgettext.
13360 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13361 if both request failed.
13362 (send_dg): In case of server errors clear resplen or *resplen2.
13365 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13366 when there are multiple maps.
13367 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13368 (_dl_fini): Remove test here.
13370 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13372 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13375 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13376 bit from old_res_options.
13377 (gaih_inet): Likewise.
13380 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13383 * resolv/res_init.c (res_setoptions): Make the code more compact.
13386 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13390 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13392 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13395 * malloc/malloc.h: Declare malloc hook variables as volatile.
13397 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13401 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13402 raise in the comment.
13403 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13404 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13405 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13407 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13410 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13411 grow the buffers more if it already has to be sufficient.
13412 (build_wcs_upper_buffer): Likewise.
13413 * posix/regexec.c (check_matching): Likewise.
13414 (clean_state_log_if_needed): Likewise.
13415 (extend_buffers): Don't enlarge buffers beyond size of the input
13417 Patches mostly by Emil Wojak <emil@wojak.eu>.
13418 * posix/bug-regex32.c: New file.
13419 * posix/Makefile (tests): Add bug-regex32.
13421 * locale/findlocale.c (_nl_find_locale): Return right away if
13422 _nl_explode_name failed.
13423 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13425 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13427 * debug/xtrace.sh: Unify messages.
13428 * malloc/memusage.sh: Likewise.
13431 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13432 time symbol from vDSO. Substitute with vsyscall if not available.
13433 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13436 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13437 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13438 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13439 Add sendmmsg and internal_sendmmsg.
13440 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13441 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13442 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13444 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13445 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13446 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13448 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13451 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13452 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13454 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13458 * iconvdata/Makefile (tests): Add bug-iconv9.
13459 * iconvdata/bug-iconv9.c: New file.
13461 2011-05-27 Andreas Schwab <schwab@redhat.com>
13464 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13466 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13468 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13469 (struct user_regs_struct): Change intcs field back to cs.
13471 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13473 * po/ja.po: Update from translation team.
13475 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13478 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13479 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13481 2011-05-20 Andreas Schwab <schwab@redhat.com>
13483 * stdlib/longlong.h: Update from GCC.
13485 2011-05-23 Andreas Schwab <schwab@redhat.com>
13487 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13489 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13490 Add parameter name.
13491 (__sysconf): Pass it down.
13493 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13496 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13498 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13499 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13500 add in in __libc_use_alloca calls. Adjust callers.
13501 (glob): Use malloc in some situations.
13503 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13504 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13507 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13509 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13510 and CLOCK_BOOTTIME_ALARM.
13513 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13516 * string/_strerror.c (__strerror_r): Print negative errors as signed
13520 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13521 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13522 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13524 * configure.in: Fix typo in redirection and correct removal of test
13525 files in two cases.
13528 * locale/setlocale.c (new_composite_name): Fix test to check for
13529 identical name of all categories.
13532 * libio/filedoalloc.c (local_isatty): New function.
13533 (_IO_file_doallocate): Use local_isatty.
13534 * stdio-common/perror.c (perror): In case a new stream is used
13535 forward the stream error.
13536 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13539 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13544 * include/alloca.h (extend_alloca_account): Define.
13547 * posix/regex.h: Fix comments with documentation of user-accessible
13548 fields after compilation and describe correct free'ing of pattern
13549 after re_compile_pattern.
13550 Patch by Reuben Thomas <rrt@sc3d.org>.
13552 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13554 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13555 and -mno-altivec to prevent the compiler from using Altivec and/or
13556 VSX instructions when the corresponding registers are not available.
13558 2011-05-19 Andreas Schwab <schwab@redhat.com>
13560 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13562 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13564 * libio/freopen.c (freopen): Use __dup2, not dup2.
13565 * libio/freopen64.c (freopen64): Likewise.
13567 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13570 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13571 * math/Makefile (tests): Add test-powl.
13572 (CFLAGS-test-powl.c): Define.
13573 * math/test-powl.c: New file.
13575 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13577 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13579 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13582 * iconvdata/gb18030.c: Update to GB18020-2005.
13584 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13586 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13587 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13588 Patch by Aharon Robbins <arnold@skeeve.com>.
13591 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13595 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13596 through underflows.
13599 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13600 point to strings before performing equality test for error_one_per_line
13604 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13607 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13608 (struct user_fpregs_struct): Avoid __uint*_t types.
13611 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13612 symbol info. Use it instead of calling _dl_addr locally.
13613 (lock_and_info): New function.
13614 (tr_freehook): Call lock_and_info and pass symbol info as additional
13615 parameter to tr_where.
13616 (tr_mallochook): Likewise.
13617 (tr_reallochook): Likewise.
13618 (tr_memalignhook): Likewise.
13620 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13621 used and couldn't be at all thread-safe.
13623 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13625 * libio/freopen.c (freopen): Don't close old file descriptor
13626 before the new one is opened. Instead dup the new file descriptor
13627 to the old one after the new stream is created.
13628 * libio/freopen64.c (freopen64): Likewise.
13629 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13630 * libio/fileops.c (_IO_new_file_close_it): Handle new
13631 _IO_FLAGS2_NOCLOSE flag.
13632 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13633 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13634 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13635 _IO_FLAGS2_NOCLOSE flag.
13636 * include/unistd.h: Add hidden_proto for dup3.
13637 Define __have_dup3.
13638 * io/dup3.c: Define hidden symbol.
13639 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13642 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13643 when an incomplete long option is used.
13644 * posix/tst-getopt_long1.c: New file.
13645 * posix/Makefile (tests): Add tst-getopt_long1.
13648 * scripts/config.guess: Update from autoconf-2.68.
13649 * scripts/config.sub: Likewise.
13652 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13654 (has_cpuclock): ...this. New function.
13655 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13656 macro here based on has_cpuclock code.
13659 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13660 First byte (not low byte) is now always NUL.
13661 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13663 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13664 Use non-cancelable interfaces.
13667 * locale/iso-639.def: Add entry for Sorani.
13670 * include/stdlib.h: Move include protection to the right place.
13671 Define abort_msg_s. Declare __abort_msg with it.
13672 * stdlib/abort.c (__abort_msg): Adjust type.
13673 * assert/assert.c (__assert_fail_base): New function. Majority
13674 of code from __assert_fail. Allocate memory for __abort_msg with
13676 (__assert_fail): Now call __assert_fail_base.
13677 * assert/assert-perr.c: Remove bulk of implementation. Use
13678 __assert_fail_base.
13679 * include/assert.hL Declare __assert_fail_base.
13680 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13682 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13684 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13688 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13689 until all modules are registered in the DTV.
13690 * elf/Makefile: Add rules to build and run tst-tls19.
13691 * elf/tst-tls19.c: New file.
13692 * elf/tst-tls19mod1.c: New file.
13693 * elf/tst-tls19mod2.c: New file.
13694 * elf/tst-tls19mod3.c: New file.
13695 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13698 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13702 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13703 two-byte sequence errors.
13704 * iconvdata/Makefile (tests): Add bug-iconv8.
13705 * iconvdata/bug-iconv8.c: New file.
13708 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13711 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13714 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13715 (dummy_getcfa): New function.
13716 (init): Get _Unwind_GetCFA address, use dummy if not found.
13717 (backtrace_helper): In recursion check, also check whether CFA changes.
13718 (__backtrace): Completely initialize arg.
13720 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13721 storing incomplete byte sequence in state object. Avoid testing for
13722 guaranteed too small input if we know there is enough data available.
13724 2011-05-11 Andreas Schwab <schwab@redhat.com>
13726 * Makeconfig (+link-pie): Indent.
13727 * Rules (binaries-pie): Define if $(have-fpie) and
13729 (binaries-shared): Also filter out $(binaries-pie).
13730 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13731 * nscd/Makefile (others-pie): Add nscd.
13732 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13733 ($(objpfx)nscd): Remove command override.
13734 * login/Makefile (others-pie): Add pt_chown.
13735 ($(objpfx)pt_chown): Remove command override.
13736 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13737 remove command overrides.
13739 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13741 * libio/tst_putwc.c: Fix error messages.
13744 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13745 currently writing and seek to current position when not.
13746 * libio/Makefile (tests): Add bug-fclose1.
13747 * libio/bug-fclose1.c: New file.
13749 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13752 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13753 don't set DF_1_NODELETE here.
13754 (do_lookup_x): When entering new entry test for copy relocation
13755 and if necessary set DF_1_NODELETE flag.
13756 * elf/tst-unique4.cc: New file.
13757 * elf/tst-unique4.h: New file.
13758 * elf/tst-unique4lib.cc: New file.
13759 * elf/Makefile: Add rules to build and run tst-unique4.
13760 Patch by Piotr Bury <pbury@goahead.com>.
13762 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13765 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13768 * misc/mntent_r.c (addmntent): Flush the stream after the output
13771 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13772 (is_trusted_path_normalize): Skip initial colon. Append slash
13773 to empty buffer. Duplicate is_trusted_path code but allow
13774 constructed patch to be prefix.
13775 (is_dst): Allow $ORIGIN followed by /.
13776 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13777 Correct testing of result of is_trusted_path_normalize
13778 (decompose_rpath): Fix warning.
13780 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13783 * grp/initgroups.c (internal_getgrouplist): When we found the service
13784 list through the initgroups entry in nsswitch.conf do not always
13785 continue on a successful lookup. Don't always use the
13786 __nss_group_database value if it is set.
13787 * nss/nsswitch.conf (initgroups): Change action for successful db
13788 lookup to continue for compatibility.
13790 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13793 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13795 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13797 * iconvdata/tst-tables.sh: Likewise.
13798 * iconvdata/cp770.c: New file.
13799 * iconvdata/cp771.c: New file.
13800 * iconvdata/cp772.c: New file.
13801 * iconvdata/cp773.c: New file.
13802 * iconvdata/cp774.c: New file.
13803 * iconvdata/testdata/CP770: New file.
13804 * iconvdata/testdata/CP770..UTF8: New file.
13805 * iconvdata/testdata/CP771: New file.
13806 * iconvdata/testdata/CP771..UTF8: New file.
13807 * iconvdata/testdata/CP772: New file.
13808 * iconvdata/testdata/CP772..UTF8: New file.
13809 * iconvdata/testdata/CP773: New file.
13810 * iconvdata/testdata/CP773..UTF8: New file.
13811 * iconvdata/testdata/CP774: New file.
13812 * iconvdata/testdata/CP774..UTF8: New file.
13814 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13816 * iconvdata/gen-8bit-gap.sh: Likewise.
13817 * iconvdata/gen-8bit.sh: Likewise.
13819 * locale/iso-639.def: Add ary entry.
13822 * locale/C-translit.h.in: Add U20A1 transliteration.
13825 * locale/iso-639.def: Add wae entry.
13826 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13829 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13833 * locale/C-translit.h.in: Add entry for U20B9.
13834 Patch by pravin.d.s@gmail.com.
13836 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13839 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13840 ENAMETOOLONG use generic getcwd.
13841 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13842 in rtld. Use *stat64.
13843 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13844 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13845 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13846 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13847 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13848 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13849 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13850 __fstatat64 macros.
13851 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13852 * dirent/rewinddir.c: Add libc_hidden_def.
13853 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13854 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13856 * include/dirent.h (__alloc_dir): Add flags parameter.
13857 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13858 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13860 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13861 from fdopendir if O_CLOEXEC is already set.
13863 2011-03-15 Alan Modra <amodra@gmail.com>
13865 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13866 l_tls_firstbyte_offset non-zero. Save padding offset in
13867 l_tls_firstbyte_offset for later use.
13868 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13869 freeing static tls block.
13871 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13873 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13874 where #ifdef was intended. The intent is to prevent ARG_MAX from
13875 being defined by the kernel headers.
13877 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13880 * resolv/resolv.h: Define RES_NOTLDQUERY.
13881 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13882 no-tld-query and set RES_NOTLDQUERY.
13883 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13884 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13885 modern BIND to search name as TLD unless forbidden.
13887 2011-05-07 Petr Baudis <pasky@suse.cz>
13888 Ulrich Drepper <drepper@gmail.com>
13891 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13892 (is_trusted_path): ...to here.
13893 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13894 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13895 using is_trusted_path_normalize() in setuid scripts.
13897 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13899 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13900 __BEGIN/__END_DECLS.
13902 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13904 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13905 NSS_STATUS_NOTFOUND if no record was found.
13907 2011-05-05 Andreas Schwab <schwab@redhat.com>
13909 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13910 (headers-not-in-tirpc): Remove rpc/netdb.h
13911 * resolv/netdb.h: Revert last change.
13913 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13915 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13916 circular dependency between libgcc.a and libc.a.
13918 2011-05-05 Andreas Schwab <schwab@redhat.com>
13920 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13921 * nis/Makefile: Don't install rpcsvc/*.
13922 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13923 instead of <rpc/types.h>.
13924 (MAXHOSTNAMELEN): Define.
13926 2011-05-03 Andreas Schwab <schwab@redhat.com>
13928 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13930 2011-04-28 Maciej Babinski <mbabinski@google.com>
13933 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13934 gethostbyname4_r when IPv6 results are possible.
13936 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13939 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13940 _PC_PIPE_BUF handling.
13942 2011-04-30 Bruno Haible <bruno@clisp.org>
13945 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13946 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13948 * inet/getnameinfo.c (getnameinfo): Likewise.
13950 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13952 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13953 to groups setting in database lookup.
13954 * nss/nsswitch.conf: Add initgroups entry.
13956 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13959 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13961 Patch by Eric Blake <eblake@redhat.com>.
13963 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13965 * sunrpc/Makefile (need-export-routines): Add svc_run.
13966 (routines): Remove svc_run.
13967 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13968 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13969 * sunrpc/svc_run.c (svc_run): Likewise.
13970 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13972 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13974 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13975 problem in reallocation in last patch.
13977 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13979 * sunrpc/Makefile: Move inclusion of Rules.
13981 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13983 * nss/nss_files/files-initgroups.c: New file.
13984 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13985 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13986 _nss_files_initgroups_dyn.
13988 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13990 * elf/elf.h (R_ARM_IRELATIVE): Define.
13992 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13994 * po/ru.po: Update from translation team.
13996 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13998 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14001 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14004 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14005 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14006 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14008 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14010 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14012 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14014 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14015 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14016 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14018 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14021 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14023 * stdlib/bug-getcontext.c: New file.
14024 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14026 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14028 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14029 instructions into .machine "z9-109".
14030 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14031 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14033 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14035 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14036 between environment variables and auxiliary vector.
14038 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14040 * Makefile: Add rules to build linkobj/libc.so.
14041 * include/libc-symbols.h: Define libc_hidden_nolink.
14042 * include/rpc/auth.h: Mark functions which are to be hidden.
14043 * include/rpc/auth_des.h: Likewise.
14044 * include/rpc/auth_unix.h: Likewise.
14045 * include/rpc/clnt.h: Likewise.
14046 * include/rpc/des_crypt.h: Likewise.
14047 * include/rpc/key_prot.h: Likewise.
14048 * include/rpc/pmap_clnt.h: Likewise.
14049 * include/rpc/pmap_prot.h: Likewise.
14050 * include/rpc/pmap_rmt.h: Likewise.
14051 * include/rpc/rpc_msg.h: Likewise.
14052 * include/rpc/svc.h: Likewise.
14053 * include/rpc/svc_auth.h: Likewise.
14054 * include/rpc/xdr.h: Likewise.
14055 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14056 * nss/Makefile: Likewise.
14057 * sunrpc/Makefile: Don't install headers. Build library with normal
14058 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14059 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14060 for the compat linking library. Remove use of INTDEF/INTUSE.
14061 * sunrpc/auth_none.c: Likewise.
14062 * sunrpc/auth_unix.c: Likewise.
14063 * sunrpc/authdes_prot.c: Likewise.
14064 * sunrpc/authuxprot.c: Likewise.
14065 * sunrpc/clnt_gen.c: Likewise.
14066 * sunrpc/clnt_perr.c: Likewise.
14067 * sunrpc/clnt_raw.c: Likewise.
14068 * sunrpc/clnt_simp.c: Likewise.
14069 * sunrpc/clnt_tcp.c: Likewise.
14070 * sunrpc/clnt_udp.c: Likewise.
14071 * sunrpc/clnt_unix.c: Likewise.
14072 * sunrpc/des_crypt.c: Likewise.
14073 * sunrpc/des_soft.c: Likewise.
14074 * sunrpc/get_myaddr.c: Likewise.
14075 * sunrpc/key_call.c: Likewise.
14076 * sunrpc/key_prot.c: Likewise.
14077 * sunrpc/netname.c: Likewise.
14078 * sunrpc/pm_getmaps.c: Likewise.
14079 * sunrpc/pm_getport.c: Likewise.
14080 * sunrpc/pmap_clnt.c: Likewise.
14081 * sunrpc/pmap_prot.c: Likewise.
14082 * sunrpc/pmap_prot2.c: Likewise.
14083 * sunrpc/pmap_rmt.c: Likewise.
14084 * sunrpc/publickey.c: Likewise.
14085 * sunrpc/rpc_cmsg.c: Likewise.
14086 * sunrpc/rpc_common.c: Likewise.
14087 * sunrpc/rpc_dtable.c: Likewise.
14088 * sunrpc/rpc_prot.c: Likewise.
14089 * sunrpc/rpc_thread.c: Likewise.
14090 * sunrpc/rtime.c: Likewise.
14091 * sunrpc/svc.c: Likewise.
14092 * sunrpc/svc_auth.c: Likewise.
14093 * sunrpc/svc_authux.c: Likewise.
14094 * sunrpc/svc_raw.c: Likewise.
14095 * sunrpc/svc_run.c: Likewise.
14096 * sunrpc/svc_simple.c: Likewise.
14097 * sunrpc/svc_tcp.c: Likewise.
14098 * sunrpc/svc_udp.c: Likewise.
14099 * sunrpc/svc_unix.c: Likewise.
14100 * sunrpc/svcauth_des.c: Likewise.
14101 * sunrpc/xcrypt.c: Likewise.
14102 * sunrpc/xdr.c: Likewise.
14103 * sunrpc/xdr_array.c: Likewise.
14104 * sunrpc/xdr_float.c: Likewise.
14105 * sunrpc/xdr_intXX_t.c: Likewise.
14106 * sunrpc/xdr_mem.c: Likewise.
14107 * sunrpc/xdr_rec.c: Likewise.
14108 * sunrpc/xdr_ref.c: Likewise.
14109 * sunrpc/xdr_sizeof.c: Likewise.
14110 * sunrpc/xdr_stdio.c: Likewise.
14112 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14115 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14116 * sysdeps/ia64/dl-tls.h: Likewise.
14117 * sysdeps/powerpc/dl-tls.h: Likewise.
14118 * sysdeps/s390/dl-tls.h: Likewise.
14119 * sysdeps/sh/dl-tls.h: Likewise.
14120 * sysdeps/sparc/dl-tls.h: Likewise.
14121 * sysdeps/x86_64/dl-tls.h: Likewise.
14122 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14124 2011-03-14 Andreas Schwab <schwab@redhat.com>
14126 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14127 rpath element also skip the following colon.
14128 (expand_dynamic_string_token): Add is_path parameter and pass
14129 down to DL_DST_REQUIRED and _dl_dst_substitute.
14130 (decompose_rpath): Call expand_dynamic_string_token with
14131 non-zero is_path. Ignore empty rpaths.
14132 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14135 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14140 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14143 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14144 Patch by Filipe David Manana <fdmanana@apache.org>.
14146 2011-04-07 Andreas Schwab <schwab@redhat.com>
14148 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14149 Maintain aligned stack.
14150 (CHECK_RSP): Remove unused macro.
14152 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14154 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14155 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14157 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14159 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14161 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14163 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14166 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14167 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14168 * sysdeps/x86_64/memmove.c: New file.
14169 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14170 (memcpy): Renamed to ...
14171 (__new_memcpy): This.
14172 (memcpy): Provide GLIBC_2_14 memcpy.
14173 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14174 (memcpy): Provide GLIBC_2_2_5 memcpy.
14176 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14179 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14181 2011-03-30 Andreas Schwab <schwab@redhat.com>
14183 * misc/syncfs.c: New file.
14184 * misc/Makefile (routines): Add syncfs.
14185 * posix/unistd.h: Declare syncfs.
14186 * sysdeps/unix/syscalls.list: Add syncfs.
14188 2011-04-01 Andreas Schwab <schwab@redhat.com>
14190 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14192 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14193 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14194 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14195 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14197 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14200 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14202 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14203 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14204 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14205 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14206 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14207 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14208 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14210 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14211 sync_file_range.c with -fexceptions.
14212 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14213 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14214 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14215 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14216 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14217 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14218 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14219 sync_file_range as cancellation point
14220 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14221 now a wrapper around __call_sync_file_range with cancellation handling.
14222 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14223 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14224 function name to __call_sync_file_range.
14225 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14226 Add call_sync_file_range.
14228 2011-04-01 Andreas Schwab <schwab@redhat.com>
14230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14233 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14235 * iconv/iconv.h: Fix typo in comment.
14236 * io/fcntl.h: Likewise.
14237 * libio/stdio.h: Likewise.
14238 * posix/spawn.h: Likewise.
14239 * posix/unistd.h: Likewise.
14240 * stdlib/stdlib.h: Likewise.
14241 * time/time.h: Likewise.
14242 * wcsmbs/wchar.h: Likewise.
14244 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14245 open_by_handle): Add.
14246 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14247 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14248 Augment a few comments.
14249 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14250 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14251 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14253 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14254 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14257 * io/fcntl.h (AT_EMPTY_PATH): Define.
14259 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14261 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14262 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14263 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14265 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14266 * Versions.def: Add GLIBC_2.14.
14267 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14270 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14272 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14274 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14276 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14279 * string/test-strncmp.c (do_page_test): New function.
14280 (check2): Likewise.
14281 (test_main): Call check2.
14282 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14284 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14287 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14288 Handle cache information in CPU leaf 4.
14289 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14291 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14294 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14295 character representation.
14296 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14298 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14300 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14301 END(__isnan) to END(__isnanf) to match function entry point/label
14302 EALIGN(__isnanf,...).
14304 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14306 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14308 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14311 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14312 copy from the symbol referenced in the relocation to initialize the
14314 Patch by Piotr Bury <pbury@goahead.com>.
14315 * elf/Makefile: Add rules to build and tst-unique3.
14316 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14317 * elf/tst-unique3.cc: New file.
14318 * elf/tst-unique3.h: New file.
14319 * elf/tst-unique3lib.cc: New file.
14320 * elf/tst-unique3lib2.cc: New file.
14322 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14324 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14326 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14327 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14330 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14332 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14333 to-be-loaded object along a path to loader is ld.so.
14335 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14336 Ulrich Drepper <drepper@gmail.com>
14338 * sysdeps/x86_64/memset.S: After aligning destination, code
14339 branches to different locations depending on the value of
14340 misalignment, when multiarch is enabled. Fix this.
14342 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14344 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14345 Set _x86_64_preferred_memory_instruction for AMD processsors.
14346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14347 Set bit_Prefer_SSE_for_memop for AMD processors.
14349 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14351 * libio/fmemopen.c (fmemopen): Optimize a bit.
14353 2011-03-03 Andreas Schwab <schwab@redhat.com>
14355 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14357 2011-03-03 Roland McGrath <roland@redhat.com>
14359 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14361 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14363 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14364 __bzero_ultra1 instead of __memset_ultra1.
14366 2011-02-23 Andreas Schwab <schwab@redhat.com>
14367 Ulrich Drepper <drepper@gmail.com>
14370 * include/link.h (struct link_map): Add l_orig_initfini.
14371 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14372 returning unsuccessfully.
14373 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14374 close of a file loaded at startup, restore the original l_initfini
14376 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14377 list, store the pointer.
14378 * elf/Makefile ($(objpfx)noload-mem): New rule.
14379 (noload-ENV): Define.
14380 (tests): Add $(objpfx)noload-mem.
14381 * elf/noload.c: Include <memcheck.h>.
14382 (main): Call mtrace. Close all opened handles.
14384 2011-02-17 Andreas Schwab <schwab@redhat.com>
14387 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14388 dependencies are missing.
14390 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14392 Fix __if_freereq crash: Unlike the generic version which uses free,
14394 * sysdeps/mach/hurd/ifreq.h: New file.
14396 2011-01-27 Petr Baudis <pasky@suse.cz>
14397 Ulrich Drepper <drepper@gmail.com>
14400 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14401 to extend_alloca().
14402 * stdio-common/bug23.c: New file.
14403 * stdio-common/Makefile (tests): Add bug23.
14405 2010-09-28 Andreas Schwab <schwab@redhat.com>
14406 Ulrich Drepper <drepper@gmail.com>
14409 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14410 before performing relro protection. At old place add assertion
14411 to make sure nothing changed.
14413 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14414 Glauber de Oliveira Costa <glommer@gmail.com>
14416 * elf/elf.h: Add new ARM TLS relocs.
14418 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14421 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14423 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14425 * sysdeps/wordsize-64/tst-writev.c: New file.
14427 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14429 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14430 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14431 insns in _dl_start to prevent a TOC reference before relocs are
14434 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14437 * Makeconfig: Remove RANLIB definition.
14438 * Makerules: Don't use RANLIB.
14439 * aclocal.m4: Remove ranlib test.
14440 * configure.in: No need to check for ranlib.
14441 * elf/rtld-Rules: Don't use RANLIB.
14443 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14445 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14447 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14448 inclusion protection macro.
14450 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14451 SIGRTMIN and SIGRTMAX and print information in that case only when
14452 SIGRTMIN is defined.
14454 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14456 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14457 arginfo fn returning -1.
14459 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14460 and thousands string is zero terminated.
14462 2011-02-03 Andreas Schwab <schwab@redhat.com>
14464 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14465 sysdeps/unix/sysv/linux/bits/socket.h.
14467 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14469 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14470 (__CPU_COUNT): Remove old macros.
14471 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14472 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14473 (__CPU_ALLOC, __CPU_FREE): Add macros.
14474 (__sched_cpualloc, __sched_cpufree): Add declarations.
14476 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14478 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14479 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14480 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14481 (readdhstai): Return value of addhstaiX call.
14482 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14483 (addgrbyX): Return value returned by cache_addgr.
14484 (readdgrbyname): Return value returned by addgrbyX.
14485 (readdgrbygid): Likewise.
14486 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14487 (addpwbyX): Return value returned by cache_addpw.
14488 (readdpwbyname): Return value returned by addhstbyX.
14489 (readdpwbyuid): Likewise.
14490 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14491 (addservbyX): Return value returned by cache_addserv.
14492 (readdservbyname): Return value returned by addservbyX:
14493 (readdservbyport): Likewise.
14494 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14495 (addhstbyX): Return value returned by cache_addhst.
14496 (readdhstbyname): Return value returned by addhstbyX.
14497 (readdhstbyaddr): Likewise.
14498 (readdhstbynamev6): Likewise.
14499 (readdhstbyaddrv6): Likewise.
14500 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14501 (readdinitgroups): Return value returned by addinitgroupsX.
14502 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14503 (prune_cache): Keep track of timeout value of re-added entries.
14504 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14505 * nscd/nscd.h: Adjust prototypes of readd* functions.
14507 2011-02-04 Roland McGrath <roland@redhat.com>
14509 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14510 (nis_stats): Likewise.
14511 * nis/nis_modify.c (nis_modify): Likewise.
14512 * nis/nis_remove.c (nis_remove): Likewise.
14513 * nis/nis_add.c (nis_add): Likewise.
14515 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14517 * posix/fnmatch_loop.c: Add some consts.
14519 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14521 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14524 * config.make.in (config-cflags-novzeroupper): Define.
14525 * configure.in: Substitute libc_cv_cc_novzeroupper.
14526 * elf/Makefile (AVX-CFLAGS): Define.
14527 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14528 (CFLAGS-tst-auditmod4a.c): Likewise.
14529 (CFLAGS-tst-auditmod4b.c): Likewise.
14530 (CFLAGS-tst-auditmod6b.c): Likewise.
14531 (CFLAGS-tst-auditmod6c.c): Likewise.
14532 (CFLAGS-tst-auditmod7b.c): Likewise.
14533 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14535 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14537 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14538 function to the callback.
14539 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14541 2011-02-02 Andreas Schwab <schwab@redhat.com>
14543 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14546 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14549 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14551 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14553 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14556 * elf/Makefile: Add rules to build and run new test.
14557 * elf/tst-initorder.c: New file.
14558 * elf/tst-initorder.exp: New file.
14559 * elf/tst-initordera1.c: New file.
14560 * elf/tst-initordera2.c: New file.
14561 * elf/tst-initordera3.c: New file.
14562 * elf/tst-initordera4.c: New file.
14563 * elf/tst-initorderb1.c: New file.
14564 * elf/tst-initorderb2.c: New file.
14565 * elf/tst-order-a1.c: New file.
14566 * elf/tst-order-a2.c: New file.
14567 * elf/tst-order-a3.c: New file.
14568 * elf/tst-order-a4.c: New file.
14569 * elf/tst-order-b1.c: New file.
14570 * elf/tst-order-b2.c: New file.
14571 * elf/tst-order-main.c: New file.
14572 New test case by George Gensure <werkt0@gmail.com>.
14574 2010-10-01 Andreas Schwab <schwab@redhat.com>
14576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14577 decoding ACE if AI_CANONIDN.
14579 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14581 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14583 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14585 * version.h (RELEASE): Bump for 2.13 release.
14586 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14588 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14590 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14592 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14593 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14594 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14595 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14596 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14597 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14599 * posix/getconf.c: Update copyright year.
14600 * catgets/gencat.c: Likewise.
14601 * csu/version.c: Likewise.
14602 * debug/catchsegv.sh: Likewise.
14603 * debug/xtrace.sh: Likewise.
14604 * elf/ldconfig.c: Likewise.
14605 * elf/ldd.bash.in: Likewise.
14606 * elf/sprof.c (print_version): Likewise.
14607 * iconv/iconv_prog.c: Likewise.
14608 * iconv/iconvconfig.c: Likewise.
14609 * locale/programs/locale.c: Likewise.
14610 * locale/programs/localedef.c: Likewise.
14611 * malloc/memusage.sh: Likewise.
14612 * malloc/mtrace.pl: Likewise.
14613 * nscd/nscd.c (print_version): Likewise.
14614 * nss/getent.c: Likewise.
14616 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14617 PF_CAIF, and PF_ALG.
14618 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14620 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14622 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14623 (modules-names): Use them.
14624 (ifunc-test-modules, ifunc-pie-tests): Define.
14625 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14626 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14627 (test-extras): Likewise.
14628 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14629 $(compile-command.c).
14630 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14631 (all-built-dso): Define.
14632 (check-textrel.out, check-execstack.out): Depend on it.
14634 * configure.in: Don't override --enable-multi-arch.
14636 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14639 * nscd/hstcache.c (tryagain): Define.
14640 (cache_addhst): Return tryagain not notfound for temporary errors.
14641 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14644 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14647 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14648 to make the syscall.
14649 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14652 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14653 and fall back to matching as normal character if the string ends before
14654 the matching ']' is found. This is what POSIX requires.
14655 * posix/testfnm.c: Adjust test result.
14656 * posix/globtest.sh: Adjust test result. Add new test.
14657 * posix/tst-fnmatch.input: Likewise.
14658 * posix/tst-fnmatch2.c: Add new test.
14660 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14662 * elf/Makefile (check-execstack): Revert last change. Depend on
14664 (check-execstack.h): New target.
14665 (generated): Add check-execstack.h.
14666 * elf/check-execstack.c: Include "check-execstack.h".
14667 (main): Revert last change.
14668 (handle_file): Return zero if GNU_STACK is absent and
14669 DEFAULT_STACK_PERMS doesn't include PF_X.
14671 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14673 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14674 in child fails because the descriptor is already closed.
14675 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14676 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14677 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14680 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14684 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14685 temporary buffer used to handle multi lookups locally.
14686 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14688 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14690 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14693 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14695 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14696 alignment for SSE2.
14698 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14701 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14702 characters. When rounding increased number of integer digits recompute
14704 * stdio-common/tst-grouping.c: New file.
14705 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14707 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14709 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14710 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14712 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14714 * bits/select.h: Likewise.
14716 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14718 * po/ja.po: Update from translation team.
14720 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14723 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14724 implementation just like for lxstat, fxstatat, et al.
14726 2010-12-27 Jim Meyering <meyering@redhat.com>
14729 * posix/regexec.c (build_trtable): Return failure indication upon
14730 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14732 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14735 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14736 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14737 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14738 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14741 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14744 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14745 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14747 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14749 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14750 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14751 script has SORT_BY_INIT_PRIORITY.
14752 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14753 NO_CTORS_DTORS_SECTIONS is defined.
14754 * elf/soinit.c: Likewise.
14755 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14756 NO_CTORS_DTORS_SECTIONS is defined.
14757 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14758 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14759 * sysdeps/sh/init-first.c: Likewise.
14760 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14762 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14764 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14765 always use the slow path.
14767 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14769 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14770 similar rule which adds the sysdep directories to the header search in
14771 order to pick up the correct platform stackinfo.h.
14772 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14773 perform test if it is, otherwise return successfully without testing.
14774 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14775 DEFAULT_STACK_PERMS define in stackinfo.h.
14776 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14777 defined in stackinfo.h.
14778 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14779 DEFAULT_STACK_PERMS defined in stackinfo.h.
14780 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14781 * sysdeps/ia64/stackinfo.h: Likewise.
14782 * sysdeps/s390/stackinfo.h: Likewise.
14783 * sysdeps/sh/stackinfo.h: Likewise.
14784 * sysdeps/sparc/stackinfo.h: Likewise.
14785 * sysdeps/x86_64/stackinfo.h: Likewise.
14786 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14787 PF_X for powerpc64. Retain PF_X for powerpc32.
14789 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14791 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14793 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14794 GETDENTS_64BIT_ALIGNED.
14796 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14798 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14800 2010-12-10 Andreas Schwab <schwab@redhat.com>
14802 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14805 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14806 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14808 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14809 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14811 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14814 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14817 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14819 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14821 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14823 * po/it.po: Update from translation team.
14825 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14827 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14830 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14832 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14834 2010-11-24 Andreas Schwab <schwab@redhat.com>
14836 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14838 (gaih_getanswer_slice): Likewise.
14840 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14844 2010-05-31 Petr Baudis <pasky@suse.cz>
14847 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14848 silently even in the chroot mode.
14850 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14852 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14853 last patch a bit. Pretty printing
14855 2010-05-31 Petr Baudis <pasky@suse.cz>
14858 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14859 initialization of skip_initgroups_dyn.
14861 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14863 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14864 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14866 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14868 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14870 2010-11-11 Andreas Schwab <schwab@redhat.com>
14872 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14873 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14874 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14875 ($(objpfx)tst-fnmatch-mem): New rule.
14876 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14877 * posix/tst-fnmatch.c (main): Call mtrace.
14879 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14882 Support Intel processor model 6 and model 0x2c.
14884 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14886 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14889 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14892 * string/test-strncasecmp.c (check_result): New function.
14893 (do_one_test): Use it.
14894 (check1): New function.
14895 (test_main): Use it.
14896 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14897 Support strcasecmp and strncasecmp.
14899 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14902 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14903 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14905 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14907 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14911 * sysdeps/x86_64/multiarch/bzero.S: New file.
14912 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14913 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14914 * sysdeps/x86_64/multiarch/memset.S: New file.
14915 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14917 Set bit_Prefer_SSE_for_memop for Intel processors.
14918 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14920 (index_Prefer_SSE_for_memop): Define.
14921 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14923 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14925 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14926 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14928 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14931 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14932 (__x86_64_raw_data_cache_size_half): Likewise.
14933 (__x86_64_raw_shared_cache_size): Likewise.
14934 (__x86_64_raw_shared_cache_size_half): Likewise.
14936 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14937 (__x86_64_raw_data_cache_size_half): Likewise.
14938 (__x86_64_raw_shared_cache_size): Likewise.
14939 (__x86_64_raw_shared_cache_size_half): Likewise.
14940 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14941 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14942 and __x86_64_raw_shared_cache_size_half. Round
14943 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14944 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14945 to multiple of 256 bytes.
14947 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14950 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14951 of inacessible symlinks. Verify result of symlink before returning it.
14952 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14953 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14955 2010-10-28 Erich Ritz <erichritz@gmail.com>
14957 * math/math.h (isinf): Fix typo in comment.
14959 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14961 * po/da.po: Update from translation team.
14963 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14965 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14966 is added to the list.
14968 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14969 Ulrich Drepper <drepper@gmail.com>
14971 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14972 the global list here. Move code to...
14973 (_dl_add_to_namespace_list): ...here. New function.
14974 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14975 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14976 * elf/dl-load.c (lose): Don't remove the element from the list.
14977 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14978 (_dl_map_object): Likewise.
14980 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14983 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14984 into all bytes of SSE register.
14985 Patch by Richard Li <richardpku@gmail.com>.
14987 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14990 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14993 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14995 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14996 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14997 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14998 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15003 2010-10-22 Andreas Schwab <schwab@redhat.com>
15005 * include/dlfcn.h (__RTLD_SECURE): Define.
15006 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15007 mode & __RTLD_SECURE instead.
15008 (open_path): Rename preloaded parameter to secure.
15009 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15010 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15011 * elf/dl-deps.c (openaux): Likewise.
15012 * elf/rtld.c (struct map_args): Remove is_preloaded.
15013 (map_doit): Don't use it.
15014 (dl_main): Likewise.
15015 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15016 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15018 2010-09-09 Andreas Schwab <schwab@redhat.com>
15020 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15021 (sysd-rules-targets): Remove duplicates.
15022 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15023 rtld-%.$o dependency.
15025 2010-10-18 Andreas Schwab <schwab@redhat.com>
15027 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15028 _dl_map_object do it.
15030 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15032 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15033 fast fma builtins, define the macros in the C99 standard.
15034 (FP_FAST_FMAF): Likewise.
15035 (FP_FAST_FMAL): Likewise.
15036 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15038 * bits/mathdef.h: Update copyright year.
15039 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15041 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15043 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15044 builtins, define the macros in the C99 standard.
15045 (FP_FAST_FMAF): Likewise.
15046 (FP_FAST_FMAL): Likewise.
15047 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15049 (FP_FAST_FMAF): Likewise.
15051 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15054 * math/libm-test.inc (fma_test): Some new testcases.
15055 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15056 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15057 y and infinite z. Do multiplication by C already in long double.
15058 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15059 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15060 y and infinite z. Do bitwise or of inexact bit into u.d.
15061 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15062 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15063 * sysdeps/i386/fpu/s_fma.S: Removed.
15064 * sysdeps/i386/fpu/s_fmal.S: Removed.
15066 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15069 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15071 computation is not scheduled after fetestexcept. Fix value
15072 of minimum denormal long double.
15074 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15077 * math/libm-test.inc (fma_test): Add some more tests.
15078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15081 2010-10-15 Andreas Schwab <schwab@redhat.com>
15083 * scripts/data/localplt-s390-linux-gnu.data: New file.
15084 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15086 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15089 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15090 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15092 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15094 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15095 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15096 if one of x and y is very large and the other is subnormal.
15097 * sysdeps/s390/fpu/s_fmaf.c: New file.
15098 * sysdeps/s390/fpu/s_fma.c: New file.
15099 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15100 * sysdeps/powerpc/fpu/s_fma.S: New file.
15101 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15102 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15103 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15105 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15108 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15110 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15111 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15112 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15113 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15114 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15115 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15116 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15118 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15121 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15122 * posix/bug-regex31.input: Add test case.
15124 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15126 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15127 * posix/bug-regex31.input: New file.
15130 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15131 (parse_sub_exp): Fix last change, use postorder.
15133 * posix/bug-regex31.c: New file.
15134 * posix/Makefile: Add rules to build and run bug-regex31.
15136 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15139 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15142 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15143 to have entries in sys_siglist.
15146 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15149 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15152 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15153 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15154 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15155 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15156 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15157 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15158 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15159 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15160 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15161 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15162 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15163 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15164 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15165 * math/ftestexcept.c (fetestexcept): Likewise.
15166 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15167 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15168 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15169 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15170 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15171 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15172 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15174 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15177 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15180 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15182 * string/bug-strstr1.c: New file.
15183 * string/Makefile: Add rules to build and run bug-strstr1.
15185 2010-10-05 Eric Blake <eblake@redhat.com>
15188 * string/str-two-way.h (two_way_long_needle): Always clear memory
15189 when skipping input due to the shift table.
15191 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15194 * malloc/mcheck.c: Handle large requests.
15197 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15198 for strncmp and strncasecmp.
15199 * string/stratcliff.c: Add tests for strcmp and strncmp.
15200 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15202 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15204 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15207 2010-09-30 Andreas Jaeger <aj@suse.de>
15209 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15210 (CGROUP_SUPER_MAGIC): Define.
15211 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15212 Handle btrfs and cgroup file systems.
15213 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15216 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15218 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15219 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15221 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15224 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15225 trying to locate the ELF header.
15227 2010-09-27 Andreas Schwab <schwab@redhat.com>
15230 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15231 Mask out sign-bit copies when constructing f_fsid.
15233 2010-09-24 Petr Baudis <pasky@suse.cz>
15235 * debug/stack_chk_fail_local.c: Add missing licence exception.
15236 * debug/warning-nop.c: Likewise.
15238 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15240 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15241 implementing getdents64 using getdents syscall, set d_type if
15242 __ASSUME_GETDENTS32_D_TYPE.
15244 2010-09-16 Andreas Schwab <schwab@redhat.com>
15246 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15247 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15249 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15252 * posix/unistd.h: Undo change of feature selection for ftruncate from
15255 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15257 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15260 2010-09-20 Andreas Schwab <schwab@redhat.com>
15262 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15264 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15266 2010-09-14 Andreas Schwab <schwab@redhat.com>
15268 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15269 variables after CHECK_SP call.
15270 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15272 2010-09-13 Andreas Schwab <schwab@redhat.com>
15273 Ulrich Drepper <drepper@redhat.com>
15275 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15276 re-relocationg ld.so.
15277 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15278 _dl_init_paths call.
15279 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15282 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15284 * resolv/res_init.c (__res_vinit): Count the default server we added.
15286 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15287 Ulrich Drepper <drepper@redhat.com>
15290 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15291 (____longjmp_chk): Use %ebx for saving value across system call.
15294 2010-09-06 Andreas Schwab <schwab@redhat.com>
15296 * manual/Makefile: Don't mix pattern rules with normal rules.
15298 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15300 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15302 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15303 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15304 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15305 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15306 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15309 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15312 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15313 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15315 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15317 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15318 * sysdeps/x86_64/addmul_1.S: Likewise.
15319 * sysdeps/x86_64/lshift.S: Likewise.
15320 * sysdeps/x86_64/mul_1.S: Likewise.
15321 * sysdeps/x86_64/rshift.S: Likewise.
15322 * sysdeps/x86_64/sub_n.S: Likewise.
15323 * sysdeps/x86_64/submul_1.S: Likewise.
15325 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15327 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15328 Define __sched_param instead of SCHED_* and sched_param when
15329 <bits/sched.h> is included with __need_schedparam defined.
15330 * bits/sched.h [__need_schedparam]
15331 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15332 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15333 (__defined_schedparam): Define to 1.
15334 (__sched_param): New structure, identical to sched_param.
15335 (__need_schedparam): Undefine.
15337 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15339 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15340 (epoll_create1): Declare.
15342 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15344 2010-08-31 Andreas Schwab <schwab@redhat.com>
15347 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15348 shifting retval into place.
15350 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15352 * nis/rpcsvc/nis.h: Update copyright notice.
15353 * nis/rpcsvc/nis.x: Likewise.
15354 * nis/rpcsvc/nis_callback.h: Likewise.
15355 * nis/rpcsvc/nis_callback.x: Likewise.
15356 * nis/rpcsvc/nis_object.x: Likewise.
15357 * nis/rpcsvc/nis_tags.h: Likewise.
15358 * nis/rpcsvc/yp.h: Likewise.
15359 * nis/rpcsvc/yp.x: Likewise.
15360 * nis/rpcsvc/ypupd.h: Likewise.
15361 * nis/yp_xdr.c: Likewise.
15362 * nis/ypupdate_xdr.c: Likewise.
15364 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15365 mainly the body of pmap_getport. Add parameters to specify timeouts.
15366 (pmap_getport): Use __libc_rpc_getport.
15367 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15368 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15369 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15371 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15376 2010-08-27 Roland McGrath <roland@redhat.com>
15378 * sysdeps/i386/i686/multiarch/Makefile
15379 (CFLAGS-varshift.c): New variable.
15381 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15383 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15384 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15386 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15388 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15390 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15392 * sysdeps/x86_64/strlen.S: Unroll the loop.
15393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15394 strlen-sse2 strlen-sse2-bsf.
15395 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15396 __strlen_no_bsf if bit_Slow_BSF is set.
15397 (__strlen_sse42): Removed.
15398 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15399 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15401 2010-08-25 Roland McGrath <roland@redhat.com>
15403 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15404 * sysdeps/x86_64/multiarch/varshift.c: New file.
15405 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15406 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15407 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15408 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15410 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15412 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15413 strlen-sse2 strlen-sse2-bsf.
15414 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15415 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15416 (__strlen_sse2): Removed.
15417 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15418 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15420 bit_Slow_BSF for Atom.
15421 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15422 (index_Slow_BSF): Define.
15423 (HAS_SLOW_BSF): Define.
15425 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15428 * resolv/res_init.c (__res_vinit): When no server address at all
15429 is given default to loopback.
15431 2010-08-24 Roland McGrath <roland@redhat.com>
15433 * configure.in: Remove config-name.h generation.
15434 * configure: Regenerated.
15435 * config-name.in: File removed.
15436 * scripts/config-uname.sh: New file.
15437 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15438 ($(objdir)config-name.h): New target.
15440 * sunrpc/rpc_parse.h: Avoid nested comment.
15442 2010-08-24 Richard Henderson <rth@redhat.com>
15443 Ulrich Drepper <drepper@redhat.com>
15444 H.J. Lu <hongjiu.lu@intel.com>
15446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15448 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15449 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15450 _mm_alignr_epi8 with _mm_loadu_si128.
15451 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15452 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15453 (__m128i_shift_right): Removed.
15454 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15455 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15456 * sysdeps/x86_64/multiarch/varshift.h: New file.
15457 * sysdeps/x86_64/multiarch/varshift.S: New file.
15459 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15461 * configure.in: Move assembler checks to before sysdep dir checking.
15463 2010-08-20 Petr Baudis <pasky@suse.cz>
15465 * LICENSES: Sync the sunrpc license.
15467 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15469 * sunrpc/auth_des.c: Update copyright notice once again.
15470 * sunrpc/auth_none.c: Likewise.
15471 * sunrpc/auth_unix.c: Likewise.
15472 * sunrpc/authdes_prot.c: Likewise.
15473 * sunrpc/authuxprot.c: Likewise.
15474 * sunrpc/bindrsvprt.c: Likewise.
15475 * sunrpc/clnt_gen.c: Likewise.
15476 * sunrpc/clnt_perr.c: Likewise.
15477 * sunrpc/clnt_raw.c: Likewise.
15478 * sunrpc/clnt_simp.c: Likewise.
15479 * sunrpc/clnt_tcp.c: Likewise.
15480 * sunrpc/clnt_udp.c: Likewise.
15481 * sunrpc/clnt_unix.c: Likewise.
15482 * sunrpc/des_crypt.c: Likewise.
15483 * sunrpc/des_soft.c: Likewise.
15484 * sunrpc/get_myaddr.c: Likewise.
15485 * sunrpc/getrpcport.c: Likewise.
15486 * sunrpc/key_call.c: Likewise.
15487 * sunrpc/key_prot.c: Likewise.
15488 * sunrpc/openchild.c: Likewise.
15489 * sunrpc/pm_getmaps.c: Likewise.
15490 * sunrpc/pm_getport.c: Likewise.
15491 * sunrpc/pmap_clnt.c: Likewise.
15492 * sunrpc/pmap_prot.c: Likewise.
15493 * sunrpc/pmap_prot2.c: Likewise.
15494 * sunrpc/pmap_rmt.c: Likewise.
15495 * sunrpc/rpc/auth.h: Likewise.
15496 * sunrpc/rpc/auth_unix.h: Likewise.
15497 * sunrpc/rpc/clnt.h: Likewise.
15498 * sunrpc/rpc/des_crypt.h: Likewise.
15499 * sunrpc/rpc/key_prot.h: Likewise.
15500 * sunrpc/rpc/netdb.h: Likewise.
15501 * sunrpc/rpc/pmap_clnt.h: Likewise.
15502 * sunrpc/rpc/pmap_prot.h: Likewise.
15503 * sunrpc/rpc/pmap_rmt.h: Likewise.
15504 * sunrpc/rpc/rpc.h: Likewise.
15505 * sunrpc/rpc/rpc_des.h: Likewise.
15506 * sunrpc/rpc/rpc_msg.h: Likewise.
15507 * sunrpc/rpc/svc.h: Likewise.
15508 * sunrpc/rpc/svc_auth.h: Likewise.
15509 * sunrpc/rpc/types.h: Likewise.
15510 * sunrpc/rpc/xdr.h: Likewise.
15511 * sunrpc/rpc_clntout.c: Likewise.
15512 * sunrpc/rpc_cmsg.c: Likewise.
15513 * sunrpc/rpc_common.c: Likewise.
15514 * sunrpc/rpc_cout.c: Likewise.
15515 * sunrpc/rpc_dtable.c: Likewise.
15516 * sunrpc/rpc_hout.c: Likewise.
15517 * sunrpc/rpc_main.c: Likewise.
15518 * sunrpc/rpc_parse.c: Likewise.
15519 * sunrpc/rpc_parse.h: Likewise.
15520 * sunrpc/rpc_prot.c: Likewise.
15521 * sunrpc/rpc_sample.c: Likewise.
15522 * sunrpc/rpc_scan.c: Likewise.
15523 * sunrpc/rpc_scan.h: Likewise.
15524 * sunrpc/rpc_svcout.c: Likewise.
15525 * sunrpc/rpc_tblout.c: Likewise.
15526 * sunrpc/rpc_util.c: Likewise.
15527 * sunrpc/rpc_util.h: Likewise.
15528 * sunrpc/rpcinfo.c: Likewise.
15529 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15530 * sunrpc/rpcsvc/key_prot.x: Likewise.
15531 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15532 * sunrpc/rpcsvc/mount.x: Likewise.
15533 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15534 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15535 * sunrpc/rpcsvc/rex.x: Likewise.
15536 * sunrpc/rpcsvc/rstat.x: Likewise.
15537 * sunrpc/rpcsvc/rusers.x: Likewise.
15538 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15539 * sunrpc/rpcsvc/spray.x: Likewise.
15540 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15541 * sunrpc/rtime.c: Likewise.
15542 * sunrpc/svc.c: Likewise.
15543 * sunrpc/svc_auth.c: Likewise.
15544 * sunrpc/svc_authux.c: Likewise.
15545 * sunrpc/svc_raw.c: Likewise.
15546 * sunrpc/svc_run.c: Likewise.
15547 * sunrpc/svc_simple.c: Likewise.
15548 * sunrpc/svc_tcp.c: Likewise.
15549 * sunrpc/svc_udp.c: Likewise.
15550 * sunrpc/svc_unix.c: Likewise.
15551 * sunrpc/svcauth_des.c: Likewise.
15552 * sunrpc/xcrypt.c: Likewise.
15553 * sunrpc/xdr.c: Likewise.
15554 * sunrpc/xdr_array.c: Likewise.
15555 * sunrpc/xdr_float.c: Likewise.
15556 * sunrpc/xdr_mem.c: Likewise.
15557 * sunrpc/xdr_rec.c: Likewise.
15558 * sunrpc/xdr_ref.c: Likewise.
15559 * sunrpc/xdr_sizeof.c: Likewise.
15560 * sunrpc/xdr_stdio.c: Likewise.
15562 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15565 2010-08-19 Andreas Schwab <schwab@redhat.com>
15567 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15569 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15571 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15572 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15573 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15574 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15575 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15576 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15577 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15578 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15579 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15580 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15581 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15582 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15583 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15584 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15586 2010-07-26 Anton Blanchard <anton@samba.org>
15588 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15589 * malloc/arena.c (heap_trim): Likewise.
15591 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15593 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15595 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15596 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15598 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15600 * sysdeps/i386/elf/Makefile: New file.
15602 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15604 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15605 from fanotify_init.
15606 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15607 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15609 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15611 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15613 * sysdeps/multiarch/strcmp.S: Likewise.
15615 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15617 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15618 strncase_l-nonascii.
15619 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15620 Add strncase_l-ssse3.
15621 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15622 * sysdeps/x86_64/strcmp.S: Likewise.
15623 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15624 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15625 * sysdeps/x86_64/strncase.S: New file.
15626 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15627 * sysdeps/x86_64/strncase_l.S: New file.
15628 * string/Makefile (strop-tests): Add strncasecmp.
15629 * string/test-strncasecmp.c: New file.
15631 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15634 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15635 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15637 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15639 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15641 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15643 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15644 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15645 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15647 2010-05-01 Alan Modra <amodra@gmail.com>
15649 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15650 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15651 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15652 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15653 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15654 tidying. Don't tail-call __sigjmp_save for static lib.
15655 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15657 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15658 (CALL_MCOUNT): Add eh info, and nop after bl.
15659 (TAIL_CALL_SYSCALL_ERROR): New macro.
15660 (PSEUDO_RET): Use it.
15661 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15662 Correct save location of integer regs and cr.
15663 (_dl_profile_resolve): Correct cr save location. Delete nops
15664 after bl when SHARED. Reduce cfi size a little by better
15665 placement of cfi directives.
15666 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15667 make a stack frame. Instead use parm save area as a temp.
15668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15669 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15671 Don't make a stack frame for parent, use parm save area.
15672 Increase child stack frame to 112 bytes. Don't save unused reg,
15673 and adjust reg usage. Set up cfi on error recovery and
15674 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15676 (__makecontext): Add dummy nop after jump to exit.
15677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15678 Use correct parm save area and cr save, reduce stack frame.
15679 Correct cfi for possible PSEUDO_RET frame setup.
15680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15681 Branch to local label emitted by PSEUDO_RET rather than
15684 2010-08-12 Andreas Schwab <schwab@redhat.com>
15687 * locale/programs/locale.c (print_assignment): New function.
15688 (show_locale_vars): Use it.
15690 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15692 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15694 (struct statfs64): Likewise.
15695 (_STATFS_F_FLAGS): Define.
15696 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15697 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15698 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15699 (ST_VALID): Define locally.
15700 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15701 __statvfs_getflags, use the provided value.
15702 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15703 __ASSUME_STATFS_F_FLAGS.
15705 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15707 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15708 Add sys/fanotify.h.
15709 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15710 fanotify_mask for GLIBC_2.13.
15711 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15712 fanotify_init and fanotify_mark.
15713 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15714 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15716 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15718 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15719 prlimit64 for GLIBC_2.13.
15720 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15722 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15725 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15726 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15727 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15728 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15730 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15733 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15734 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15736 * nss/Makefile: Add rules to build and run tst-nss-test1.
15737 * shlib-versions: Add entry for libnss_test1.
15738 * nss/nss_test1.c: New file.
15739 * nss/tst-nss-test1.c: New file.
15741 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15742 (__nss_configure_lookup): Set appropriate entry in
15743 __nss_configure_lookup to true.
15744 * nss/nsswitch.h: Define enum with indeces of databases in
15745 databases and __nss_database_custom arrays. Declare
15746 __nss_database_custom.
15747 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15748 to avoid using nscd when custom rules are installed.
15749 * nss/getXXbyYY_r.c: Likewise.
15750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15752 * nss/nss_files/files-parse.c: Whitespace fixes.
15754 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15757 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15758 * posix/fnmatch_loop.c: Likewise.
15760 2010-07-17 Andi Kleen <ak@linux.intel.com>
15762 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15763 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15764 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15765 * Versions.def [GLIBC_2.13]: Add.
15767 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15769 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15770 Also fail if tpwd after pwuid call is NULL.
15772 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15774 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15775 when converting to ms.
15777 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15779 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15780 EOPNOTSUPP errors with ENOTTY.
15781 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15782 EOPNOTSUPP errors with ENOTTY.
15784 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15786 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15787 Add strcasecmp_l-ssse3.
15788 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15790 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15791 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15792 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15794 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15796 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15798 * string/Makefile (strop-tests): Add strcasecmp.
15799 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15800 strcasecmp_l-nonascii.
15801 (gen-as-const-headers): Add locale-defines.sym.
15802 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15803 * sysdeps/x86_64/strcasecmp.S: New file.
15804 * sysdeps/x86_64/strcasecmp_l.S: New file.
15805 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15806 * sysdeps/x86_64/locale-defines.sym: New file.
15807 * string/test-strcasecmp.c: New file.
15809 * string/test-strcasestr.c: Test both ends of the range of characters.
15810 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15812 2010-07-29 Roland McGrath <roland@redhat.com>
15815 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15817 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15819 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15822 2010-07-27 Andreas Schwab <schwab@redhat.com>
15824 * manual/memory.texi (Malloc Tunable Parameters): Document
15827 2010-07-26 Roland McGrath <roland@redhat.com>
15830 * configure.in (-fgnu89-inline check): Set and substitute
15831 gnu89_inline, not libc_cv_gnu89_inline.
15832 * configure: Regenerated.
15833 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15835 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15837 * string/test-strnlen.c: New file.
15838 * string/Makefile (strop-tests): Add strnlen.
15839 * string/tester.c (test_strnlen): Add a few more test cases.
15840 * string/tst-strlen.c: Better error reporting.
15842 * sysdeps/x86_64/strnlen.S: New file.
15844 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15847 lower-latency instructions.
15849 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15851 * string/test-strcasestr.c: New file.
15852 * string/test-strstr.c: New file.
15853 * string/Makefile (strop-tests): Add strstr and strcasestr.
15854 * string/str-two-way.h: Don't undefine MAX.
15855 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15857 2010-07-21 Andreas Schwab <schwab@redhat.com>
15859 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15860 strcasestr-nonascii.
15861 (CFLAGS-strcasestr-nonascii.c): Define.
15862 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15863 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15864 Remove unused attribute.
15866 2010-07-20 Roland McGrath <roland@redhat.com>
15868 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15869 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15870 ld.so.cache was broken. With it, there is no way to disable dsocaps
15871 like LD_HWCAP_MASK can disable hwcaps.
15873 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15875 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15877 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15879 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15880 call in strcasestr.
15881 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15882 __strcasestr_sse42_nonascii.
15883 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15884 strcasestr-nonascii.c.
15885 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15887 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15889 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15890 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15891 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15892 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15894 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15896 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15899 2010-07-06 Andreas Schwab <schwab@redhat.com>
15902 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15905 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15907 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15908 _PC_PIPE_BUF using F_GETPIPE_SZ.
15910 2010-07-05 Roland McGrath <roland@redhat.com>
15912 * manual/arith.texi (Rounding Functions): Fix rint description
15913 implicit in round description.
15915 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15917 * elf/Makefile: Fix linking for a few tests to make recent linker
15920 2010-06-30 Andreas Schwab <schwab@redhat.com>
15922 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15923 $(common-objpfx)libc_nonshared.a.
15925 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15927 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15928 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15929 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15930 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15931 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15932 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15933 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15934 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15949 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15950 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15951 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15952 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15953 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15954 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15955 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15956 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15957 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15958 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15959 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15960 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15976 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15978 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15979 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15980 * string/memmove.c (memmove): Renamed to ...
15981 (MEMMOVE): ...this. Default to memmove.
15982 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15983 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15986 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15987 mempcpy-ssse3-back memmove-ssse3-back.
15988 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15989 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15990 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15991 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15992 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15993 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15994 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15995 * sysdeps/x86_64/multiarch/memmove.c: New file.
15996 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15997 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15998 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15999 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16000 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16001 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16003 (index_Fast_Copy_Backward): Define.
16004 (HAS_ARCH_FEATURE): Define.
16005 (HAS_FAST_REP_STRING): Define.
16006 (HAS_FAST_COPY_BACKWARD): Define.
16008 2010-06-21 Andreas Schwab <schwab@redhat.com>
16010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16011 Restore proper fallback handling.
16013 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16016 * posix/group_member.c (__group_member): Correct checking loop.
16018 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16019 OOM in getpwuid_r correctly. Return error number when the caller
16020 should return, otherwise -1.
16021 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16022 call returning > 0 value.
16023 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16025 2010-06-07 Andreas Schwab <schwab@redhat.com>
16027 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16028 libc_nonshared.a from targets in modules-names.
16030 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16032 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16035 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16037 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16038 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16040 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16042 2010-06-02 Andreas Schwab <schwab@redhat.com>
16044 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16046 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16048 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16050 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16051 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16052 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16054 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16055 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16057 2010-06-14 Roland McGrath <roland@redhat.com>
16059 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16061 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16063 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16064 __REDIRECT followed by __THROW.
16065 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16066 * posix/getopt.h (getopt): Likewise.
16068 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16070 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16071 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16072 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16074 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16075 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16077 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16079 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16081 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16085 Properly check family and model.
16087 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16089 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16091 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16093 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16095 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16097 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16100 2010-05-19 Andreas Schwab <schwab@redhat.com>
16102 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16105 2010-05-21 Andreas Schwab <schwab@redhat.com>
16107 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16108 and internal_recvmmsg.
16109 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16110 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16111 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16112 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16114 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16115 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16116 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16118 2010-05-20 Andreas Schwab <schwab@redhat.com>
16120 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16122 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16124 POWER7 optimizations.
16125 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16126 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16128 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16130 * version.h: Update for 2.13 development version.
16132 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16134 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16135 exceptions. Return 0.
16137 2010-05-07 Roland McGrath <roland@redhat.com>
16139 * elf/ldconfig.c (main): Add a const.
16141 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16143 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16144 (args_options): Add no-idn option.
16145 (ahosts_keys_int): Add idn_flags to ai_flags.
16146 (parse_option): Handle 'i' option to clear idn_flags.
16148 * malloc/malloc.c (_int_free): Possible race in the most recently
16149 added check. Only act on the data if no current modification
16152 See ChangeLog.17 for earlier changes.