1 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
4 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
5 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
6 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
8 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
9 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
12 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
13 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
21 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
23 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
32 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
34 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38 2012-05-31 Joseph Myers <joseph@codesourcery.com>
40 * math/math.h (M_El): Use two more decimal places.
42 (M_LOG10El): Likewise.
50 (M_2_SQRTPIl): Likewise.
52 (M_SQRT1_2l): Likewise.
54 2012-05-31 David S. Miller <davem@davemloft.net>
56 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57 values between float registers.
58 * sysdeps/sparc/sparc64/memset.S: Likewise.
59 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
61 2012-05-31 Mike Frysinger <vapier@gentoo.org>
63 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65 (CPPFLAGS-tst-longjmp_chk.c): Define.
66 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67 (CPPFLAGS-tst-longjmp_chk2.c): Define.
68 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
71 2012-05-31 Marek Polacek <polacek@redhat.com>
74 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
75 __endmntent_internal): Remove declaration.
76 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
77 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
78 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80 2012-05-30 David S. Miller <davem@davemloft.net>
82 * sysdeps/sparc/sparc32/soft-fp/q_util.c
83 (___Q_simulate_exceptions): Use real FP ops rather than writing
85 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
88 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
91 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
92 * sysdeps/x86/bits/xtitypes.h: This.
94 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
95 * sysdeps/x86/bits/wordsize.h: This.
97 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
98 * sysdeps/x86/bits/huge_vall.h: This.
100 * sysdeps/i386/bits/select.h: Removed.
101 * sysdeps/x86_64/bits/select.h: Renamed to ...
102 * sysdeps/x86/bits/select.h: This.
104 * sysdeps/i386/bits/setjmp.h: Removed.
105 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
106 * sysdeps/x86/bits/setjmp.h: This.
108 * sysdeps/i386/bits/mathdef.h: Removed.
109 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
110 * sysdeps/x86/bits/mathdef.h: This.
112 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
115 * include/sys/socket.h (__connect_internal)
116 (__libc_sa_len_internal): Remove declaration.
117 (__connect, __libc_sa_len): Declare hidden_proto.
118 (SA_LEN): Remove use of INTUSE.
119 * socket/connect.c: Add libc_hidden_def.
120 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
121 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
122 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
124 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
125 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
126 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
127 of adding _internal alias.
129 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
132 * sysdeps/i386/bits/link.h: Removed.
133 * sysdeps/i386/bits/linkmap.h: Likewise.
134 * sysdeps/x86_64/bits/link.h: Renamed to ...
135 * sysdeps/x86/bits/link.h: This.
136 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
137 * sysdeps/x86/bits/linkmap.h: This.
139 * sysdeps/i386/bits/endian.h: Removed.
140 * sysdeps/x86_64/bits/endian.h: Renamed to ...
141 * sysdeps/x86/bits/endian.h: This.
143 * sysdeps/i386/bits/byteswap.h: Removed.
144 * sysdeps/i386/bits/byteswap-16.h: Likewise.
145 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
146 * sysdeps/x86/bits/byteswap.h: This.
147 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
148 * sysdeps/x86/bits/byteswap-16.h: This.
149 * sysdeps/i386/Implies: Add x86.
150 * sysdeps/x86_64/Implies: Likewise.
152 2012-05-30 David S. Miller <davem@davemloft.net>
154 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
155 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
156 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
157 (FP_TRAPPING_EXCEPTIONS): Define.
158 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
159 (FP_TRAPPING_EXCEPTIONS): Define.
160 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
161 subnormals only when inexact has been signalled or underflow
162 exceptions are enabled.
163 (_FP_PACK_CANONICAL): Likewise.
165 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
168 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
169 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
171 2012-05-30 Richard Henderson <rth@twiddle.net>
173 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
174 with #ifndef NOT_IN_libc.
176 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
177 marked to avoid plt entry.
179 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
182 * Makeconfig (default-abi): New macro.
183 (abi-includes): Likewise.
184 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
185 $(abi-$(default-abi)-lib-soname) for soname if defined.
186 ($(common-objpfx)gnu/lib-names.stmp): Generate from
188 * Makefile (installed-stubs): Likewise.
189 * include/stubs-biarch.h: Removed.
190 * scripts/lib-names.awk: Only handle one library at a time.
191 * scripts/soversions.awk: Remove WORDSIZE support.
192 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
194 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
196 (syscall-list-default-condition): Likewise.
197 (syscall-list-default-condition): Likewise.
198 (syscall-list-includes): Likewise.
199 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
200 syscall-list-* with abi-*. Handle undefined abi-variants.
201 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
202 * sysdeps/unix/sysv/linux/i386/Implies: New file.
203 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
204 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
205 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
206 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
208 (syscall-list-32-options): Likewise.
209 (syscall-list-32-condition): Likewise.
210 (syscall-list-64-options): Likewise.
211 (syscall-list-64-condition): Likewise.
212 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
214 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
217 (abi-64-ld-soname): New macro.
218 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
219 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
222 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
223 * sysdeps/x86_64/x32/shlib-versions: Likewise.
225 2012-05-30 Joseph Myers <joseph@codesourcery.com>
227 * sysdeps/unix/sysv/linux/kernel-features.h
228 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
229 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
230 include <kernel-features.h>.
231 [!__NR_ftruncate64]: Remove conditional code.
232 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
233 [__NR_ftruncate64]: Make code unconditional.
234 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
235 * sysdeps/unix/sysv/linux/truncate64.c: Do not
236 include <kernel-features.h>.
237 [!__NR_ftruncate64]: Remove conditional code.
238 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
239 [__NR_ftruncate64]: Make code unconditional.
240 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
242 include <kernel-features.h>.
243 [!__NR_ftruncate64]: Remove conditional code.
244 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
245 [__NR_ftruncate64]: Make code unconditional.
246 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
248 include <kernel-features.h>.
249 [!__NR_ftruncate64]: Remove conditional code.
250 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
251 [__NR_ftruncate64]: Make code unconditional.
252 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
254 * configure.in (libc_cv_fpie): Weaken to a compile test using
256 * configure: Regenerated.
258 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
273 2012-05-27 David S. Miller <davem@davemloft.net>
275 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
277 (__Q_simulate_exceptions): Return void. Change to simulate
278 exceptions by writing into the %fsr.
279 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
280 (__Qp_handle_exceptions): Likewise.
282 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
283 __Qp_handle_exceptions.
284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
285 __Qp_handle_exceptions.
286 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
287 as unused and give dummy FP_RND_NEAREST initializer.
288 (FP_INHIBIT_RESULTS): Define.
289 (___Q_simulate_exceptions): Update declaration.
290 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
292 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
293 as unused and give dummy FP_RND_NEAREST initializer.
294 (__Qp_handle_exceptions): Update declaration.
295 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
298 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
300 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
301 the temporary FPU control word.
302 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
303 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
304 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
305 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
306 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
307 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
308 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
309 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
310 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
311 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
312 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
314 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
316 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
319 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
321 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
322 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
323 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
324 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
326 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
327 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
330 2012-05-27 Ulrich Drepper <drepper@gmail.com>
332 * po/h.po: Update from translation team.
334 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
336 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
338 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
339 handling of denormals.
340 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
341 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
342 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
343 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
345 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
346 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
349 2012-05-26 Marek Polacek <polacek@redhat.com>
352 * math/libm-test.inc (fma_test): Don't always expect underflow
355 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
358 * elf/tst-execstack.c: Include stackinfo.h.
359 (do_test): Adjust test case to ensure that pthread_getattr_np
360 behaviour remains the same after marking stack executable.
362 2012-05-25 Joseph Myers <joseph@codesourcery.com>
364 * sysdeps/unix/sysv/linux/kernel-features.h
365 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
366 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
368 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
369 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
370 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
372 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
373 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
375 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
377 * configure.in: Define the default includes to being none.
378 * configure: Regenerated.
380 2012-05-25 Roland McGrath <roland@hack.frob.com>
382 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
383 * sysdeps/x86_64/setjmp.S: Likewise.
384 * sysdeps/i386/bsd-setjmp.S: Likewise.
385 * sysdeps/i386/bsd-_setjmp.S: Likewise.
386 * sysdeps/i386/setjmp.S: Likewise.
387 * sysdeps/i386/__longjmp.S: Likewise.
388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
389 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
391 * include/stap-probe.h: New file.
392 * configure.in: Handle --enable-systemtap.
393 * configure: Regenerated.
394 * config.h.in (USE_STAP_PROBE): New #undef.
395 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
396 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
397 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
399 2012-05-25 Joseph Myers <joseph@codesourcery.com>
402 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
403 to 2.4.0 where earlier.
404 * sysdeps/unix/sysv/linux/configure: Regenerated.
405 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
407 [__ASSUME_32BITUIDS]: Make code unconditional.
408 [!__ASSUME_32BITUIDS]: Remove conditional code.
409 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
411 [__ASSUME_32BITUIDS]: Make code unconditional.
412 [!__ASSUME_32BITUIDS]: Remove conditional code.
413 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
414 [__ASSUME_32BITUIDS]: Make code unconditional.
415 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
416 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
418 [__ASSUME_32BITUIDS]: Make code unconditional.
419 [!__ASSUME_32BITUIDS]: Remove conditional code.
420 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
422 [__ASSUME_32BITUIDS]: Make code unconditional.
423 [!__ASSUME_32BITUIDS]: Remove conditional code.
424 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
426 [__ASSUME_32BITUIDS]: Make code unconditional.
427 [!__ASSUME_32BITUIDS]: Remove conditional code.
428 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
430 [__ASSUME_32BITUIDS]: Make code unconditional.
431 [!__ASSUME_32BITUIDS]: Remove conditional code.
432 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
434 [__ASSUME_32BITUIDS]: Make code unconditional.
435 [!__ASSUME_32BITUIDS]: Remove conditional code.
436 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
438 [__ASSUME_32BITUIDS]: Make code unconditional.
439 [!__ASSUME_32BITUIDS]: Remove conditional code.
440 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
442 [__ASSUME_32BITUIDS]: Make code unconditional.
443 [!__ASSUME_32BITUIDS]: Remove conditional code.
444 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
446 [__ASSUME_32BITUIDS]: Make code unconditional.
447 [!__ASSUME_32BITUIDS]: Remove conditional code.
448 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
450 [__ASSUME_32BITUIDS]: Make code unconditional.
451 [!__ASSUME_32BITUIDS]: Remove conditional code.
452 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
454 [__ASSUME_32BITUIDS]: Make code unconditional.
455 [!__ASSUME_32BITUIDS]: Remove conditional code.
456 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
458 [__NR_setresgid] (__setresgid): Do not declare.
459 [__ASSUME_32BITUIDS]: Make code unconditional.
460 [!__ASSUME_32BITUIDS]: Remove conditional code.
461 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
463 [__NR_setresuid] (__setresuid): Do not declare.
464 [__ASSUME_32BITUIDS]: Make code unconditional.
465 [!__ASSUME_32BITUIDS]: Remove conditional code.
466 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
468 [__ASSUME_32BITUIDS]: Make code unconditional.
469 [!__ASSUME_32BITUIDS]: Remove conditional code.
470 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
472 [__ASSUME_32BITUIDS]: Make code unconditional.
473 [!__ASSUME_32BITUIDS]: Remove conditional code.
474 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
476 [__ASSUME_32BITUIDS]: Make code unconditional.
477 [!__ASSUME_32BITUIDS]: Remove conditional code.
478 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
480 [__ASSUME_32BITUIDS]: Make code unconditional.
481 [!__ASSUME_32BITUIDS]: Remove conditional code.
482 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
484 [__ASSUME_32BITUIDS]: Make code unconditional.
485 [!__ASSUME_32BITUIDS]: Remove conditional code.
486 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
488 [__ASSUME_32BITUIDS]: Make code unconditional.
489 [!__ASSUME_32BITUIDS]: Remove conditional code.
490 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
492 [__ASSUME_32BITUIDS]: Make code unconditional.
493 [!__ASSUME_32BITUIDS]: Remove conditional code.
494 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
496 [__ASSUME_32BITUIDS]: Make code unconditional.
497 [!__ASSUME_32BITUIDS]: Remove conditional code.
498 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
500 [__ASSUME_32BITUIDS]: Make code unconditional.
501 [!__ASSUME_32BITUIDS]: Remove conditional code.
502 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
504 [__ASSUME_32BITUIDS]: Make code unconditional.
505 [!__ASSUME_32BITUIDS]: Remove conditional code.
506 * sysdeps/unix/sysv/linux/kernel-features.h
507 (__ASSUME_SETRESUID_SYSCALL): Remove.
508 (__ASSUME_SETRESGID_SYSCALL): Likewise.
509 (__ASSUME_32BITUIDS): Likewise.
510 (__ASSUME_LDT_WORKS): Likewise.
511 (__ASSUME_O_DIRECTORY): Likewise.
512 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
513 architecture but not kernel version.
514 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
515 (__ASSUME_MMAP2_SYSCALL): Likewise.
516 (__ASSUME_STAT64_SYSCALL): Likewise.
517 (__ASSUME_IPC64): Likewise.
518 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
520 [__ASSUME_32BITUIDS]: Make code unconditional.
521 [!__ASSUME_32BITUIDS]: Remove conditional code.
522 * sysdeps/unix/sysv/linux/opendir.c: Do not include
524 [__ASSUME_O_DIRECTORY]: Make code unconditional.
525 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
526 132096]: Remove conditional code.
527 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
528 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
530 [__ASSUME_32BITUIDS]: Make code unconditional.
531 [!__ASSUME_32BITUIDS]: Remove conditional code.
532 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
534 [__ASSUME_32BITUIDS]: Make code unconditional.
535 [!__ASSUME_32BITUIDS]: Remove conditional code.
536 * sysdeps/unix/sysv/linux/setegid.c: Do not include
538 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
540 (__setresgid): Do not declare.
541 [__ASSUME_32BITUIDS]: Make code unconditional.
542 [!__ASSUME_32BITUIDS]: Remove conditional code.
543 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
545 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
547 (__setresuid): Do not declare.
548 [__ASSUME_32BITUIDS]: Make code unconditional.
549 [!__ASSUME_32BITUIDS]: Remove conditional code.
550 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
552 [__ASSUME_32BITUIDS]: Make code unconditional.
553 [!__ASSUME_32BITUIDS]: Remove conditional code.
554 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
556 [__ASSUME_32BITUIDS]: Make code unconditional.
557 [!__ASSUME_32BITUIDS]: Remove conditional code.
559 2012-05-25 Richard Henderson <rth@twiddle.net>
561 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
562 dl_hwcap to ifunc resolver.
563 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
565 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
566 dl_hwcap to ifunc resolver.
567 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
569 2012-05-24 Joseph Myers <joseph@codesourcery.com>
572 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
573 for |x| <= 2**-26, not 2**-57.
574 * math/libm-test.inc (acos_test): Do not allow spurious underflow
577 2012-05-24 Jeff Law <law@redhat.com>
579 * stdio-common/Makefile (tests): Add bug25.
580 * stdio-common/bug25.c: New test.
582 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
585 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
586 multiple of MALLOC_ALIGNMENT in size.
587 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
589 2012-05-24 Joseph Myers <joseph@codesourcery.com>
591 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
593 (FILENAME_MAX): Use macro-int-constant.
594 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
595 (_IOFBF): Use macro-int-constant.
598 (SEEK_CUR): Likewise.
599 (SEEK_END): Likewise.
600 (SEEK_SET): Likewise.
602 (EOF): Use macro-int-constant. Require < 0.
603 (NULL): Use macro-constant. Require == 0.
604 (stdin): Require type to be FILE *.
607 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
609 (EXIT_SUCCESS): Likewise.
610 (NULL): Use macro-constant. Require == 0.
611 (RAND_MAX): Use macro-int-constant.
612 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
613 [C99-based standards] (strtof): Require function.
614 [C99-based standards] (strtold): Likewise.
615 [C99-based standards] (strtoll): Likewise.
616 [C99-based standards] (strtoull): Likewise.
617 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
618 [ISO || ISO99 || ISO11] (limits.h): Likewise.
619 [ISO || ISO99 || ISO11] (math.h): Likewise.
620 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
621 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
622 [ISO || ISO99 || ISO11] (*_t): Do not allow.
624 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
627 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
628 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
629 * intl/dgettext.c (DCGETTEXT): Likewise.
630 * intl/gettext.c (DCGETTEXT): Likewise.
631 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
632 * posix/regex_internal.h (gettext): Likewise.
633 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
635 * include/argz.h (__argz_count_internal)
636 (__argz_stringify_internal): Remove declaration.
637 (__argz_count, __argz_stringify): Declare hidden proto.
638 * intl/dcgettext.c: Remove use of INTDEF.
639 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
640 * string/argz-stringify.c: Likewise.
641 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
642 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
643 Declare hidden proto.
644 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
645 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
646 Declare hidden proto.
647 * include/stdio.h (__asprintf_internal): Don't declare.
648 (__asprintf): Don't define as macro. Declare hidden proto.
649 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
650 (__fsetlocking): Declare hidden proto.
651 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
652 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
654 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
655 (_IO_setlinebuf): Remove use of INTUSE.
656 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
657 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
658 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
660 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
661 (_IO_do_flush): Remove use of INTUSE.
662 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
663 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
664 (_IO_adjust_column, _IO_least_wmarker)
665 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
666 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
667 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
668 (_IO_default_doallocate, _IO_wdefault_doallocate)
669 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
670 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
671 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
672 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
673 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
674 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
675 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
676 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
677 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
678 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
679 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
680 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
681 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
683 (_IO_flush_all_internal, _IO_adjust_column_internal)
684 (_IO_default_uflow_internal, _IO_default_finish_internal)
685 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
686 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
687 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
688 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
689 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
690 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
691 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
692 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
693 (_IO_file_close_internal, _IO_file_close_it_internal)
694 (_IO_file_underflow_internal, _IO_file_overflow_internal)
695 (_IO_file_init_internal, _IO_file_attach_internal)
696 (_IO_file_fopen_internal, _IO_file_read_internal)
697 (_IO_file_sync_internal, _IO_file_seek_internal)
698 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
699 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
700 (_IO_str_underflow_internal, _IO_str_overflow_internal)
701 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
702 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
703 (_IO_list_all_internal, _IO_link_in_internal)
704 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
705 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
706 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
707 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
708 (_IO_do_write_internal, _IO_padn_internal)
709 (_IO_getline_info_internal, _IO_getline_internal)
710 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
711 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
712 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
713 (_IO_vfscanf_internal, _IO_vfprintf_internal)
714 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
715 (_IO_init_internal, _IO_un_link_internal): Don't declare.
716 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
717 with libc_hidden_ver, remove use of INTUSE.
718 * libio/genops.c: Likewise.
719 * libio/freopen.c: Likewise.
720 * libio/freopen64.c: Likewise.
721 * libio/iofclose.c: Likewise.
722 * libio/iofdopen.c: Likewise.
723 * libio/iofflush.c: Likewise.
724 * libio/iofflush_u.c: Likewise.
725 * libio/iofgets.c: Likewise.
726 * libio/iofgets_u.c: Likewise.
727 * libio/iofopen.c: Likewise.
728 * libio/iofopncook.c: Likewise.
729 * libio/iofread.c: Likewise.
730 * libio/iofread_u.c: Likewise.
731 * libio/ioftell.c: Likewise.
732 * libio/iofwrite.c: Likewise.
733 * libio/iogetline.c: Likewise.
734 * libio/iogets.c: Likewise.
735 * libio/iogetwline.c: Likewise.
736 * libio/iopadn.c: Likewise.
737 * libio/iopopen.c: Likewise.
738 * libio/ioseekoff.c: Likewise.
739 * libio/ioseekpos.c: Likewise.
740 * libio/iosetbuffer.c: Likewise.
741 * libio/iosetvbuf.c: Likewise.
742 * libio/ioungetc.c: Likewise.
743 * libio/ioungetwc.c: Likewise.
744 * libio/iovdprintf.c: Likewise.
745 * libio/iovsprintf.c: Likewise.
746 * libio/iovsscanf.c: Likewise.
747 * libio/memstream.c: Likewise.
748 * libio/obprintf.c: Likewise.
749 * libio/oldfileops.c: Likewise.
750 * libio/oldiofclose.c: Likewise.
751 * libio/oldiofdopen.c: Likewise.
752 * libio/oldiofopen.c: Likewise.
753 * libio/oldiopopen.c: Likewise.
754 * libio/oldstdfiles.c: Likewise.
755 * libio/putc.c: Likewise.
756 * libio/setbuf.c: Likewise.
757 * libio/setlinebuf.c: Likewise.
758 * libio/stdfiles.c: Likewise.
759 * libio/strops.c: Likewise.
760 * libio/vasprintf.c: Likewise.
761 * libio/vscanf.c: Likewise.
762 * libio/vsnprintf.c: Likewise.
763 * libio/vswprintf.c: Likewise.
764 * libio/wfiledoalloc.c: Likewise.
765 * libio/wfileops.c: Likewise.
766 * libio/wgenops.c: Likewise.
767 * libio/wmemstream.c: Likewise.
768 * libio/wstrops.c: Likewise.
769 * libio/__fpurge.c: Likewise.
770 * libio/__fsetlocking.c: Likewise.
771 * assert/assert.c: Likewise.
772 * debug/fgets_chk.c: Likewise.
773 * debug/fgets_u_chk.c: Likewise.
774 * debug/fread_chk.c: Likewise.
775 * debug/fread_u_chk.c: Likewise.
776 * debug/gets_chk.c: Likewise.
777 * debug/obprintf_chk.c: Likewise.
778 * debug/vasprintf_chk.c: Likewise.
779 * debug/vdprintf_chk.c: Likewise.
780 * debug/vsnprintf_chk.c: Likewise.
781 * debug/vsprintf_chk.c: Likewise.
782 * malloc/mtrace.c: Likewise.
783 * misc/error.c: Likewise.
784 * misc/syslog.c: Likewise.
785 * stdio-common/asprintf.c: Likewise.
786 * stdio-common/fxprintf.c: Likewise.
787 * stdio-common/getw.c: Likewise.
788 * stdio-common/isoc99_fscanf.c: Likewise.
789 * stdio-common/isoc99_scanf.c: Likewise.
790 * stdio-common/isoc99_vfscanf.c: Likewise.
791 * stdio-common/isoc99_vscanf.c: Likewise.
792 * stdio-common/isoc99_vsscanf.c: Likewise.
793 * stdio-common/printf-prs.c: Likewise.
794 * stdio-common/printf_fp.c: Likewise.
795 * stdio-common/printf_fphex.c: Likewise.
796 * stdio-common/printf_size.c: Likewise.
797 * stdio-common/putw.c: Likewise.
798 * stdio-common/scanf.c: Likewise.
799 * stdio-common/sprintf.c: Likewise.
800 * stdio-common/tmpfile.c: Likewise.
801 * stdio-common/vfprintf.c: Likewise.
802 * stdio-common/vfscanf.c: Likewise.
803 * stdlib/strfmon_l.c: Likewise.
804 * sunrpc/openchild.c: Likewise.
805 * sunrpc/xdr_stdio.c: Likewise.
806 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
807 * sysdeps/mach/hurd/tmpfile.c: Likewise.
809 2012-05-24 Roland McGrath <roland@hack.frob.com>
811 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
813 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
814 in the third column, to generate for the shared library an IFUNC
815 that uses _dl_vdso_vsym.
816 * Makerules (COMPILE.c, compile-stdin.c): New variables.
817 * Makeconfig (object-suffixes-noshared): New variable.
819 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
820 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
821 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
822 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
825 * include/sys/time.h (__gettimeofday): Remove macro.
826 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
827 * time/gettimeofday.c (__gettimeofday): Remove #undef.
829 (__gettimeofday): Add libc_hidden_def.
830 (gettimeofday): Add libc_hidden_weak.
831 * sysdeps/mach/gettimeofday.c: Likewise.
832 * sysdeps/posix/gettimeofday.c: Likewise.
833 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
834 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
835 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
836 (__gettimeofday_internal): Remove strong_alias.
837 (__gettimeofday): Add libc_hidden_def.
838 (gettimeofday): Add libc_hidden_weak.
839 * sysdeps/unix/syscalls.list (gettimeofday):
840 Remove __gettimeofday_internal alias.
842 2012-05-24 Daniel Jacobowitz <drow@false.org>
843 H.J. Lu <hongjiu.lu@intel.com>
846 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
847 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
848 (largebin_index_32_big): New.
849 (largebin_index): Use it for 16-byte alignment.
850 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
851 correction with front_misalign.
853 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
881 * scripts/data/c++-types-x32-linux-gnu.data: New file.
882 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
884 2012-05-24 Joseph Myers <joseph@codesourcery.com>
888 * math/libm-test.inc (exp_test): Add test from bug 14036.
889 (pow_test): Add test from bug 10846.
891 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
893 (special_function): Do not include flags in test name.
894 (parse_args): Likewise.
895 * sysdeps/i386/fpu/libm-test-ulps: Update.
896 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
897 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
898 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
901 * math/gen-libm-test.pl (%beautify): Add entries for underflow
903 * math/libm-test.inc ("Philosophy"): Update comment about
905 (UNDERFLOW_EXCEPTION): New macro.
906 (UNDERFLOW_EXCEPTION_OK): Likewise.
907 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
908 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
909 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
910 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
911 (INVALID_EXCEPTION_OK): Update value.
912 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
913 (OVERFLOW_EXCEPTION_OK): Likewise.
914 (IGNORE_ZERO_INF_SIGN): Likewise.
915 (test_exceptions): Handle underflow exceptions.
916 (acos_test): Update for underflow exception expectations.
917 (cexp_test): Likewise.
918 (clog_test): Likewise.
919 (clog10_test): Likewise.
920 (csqrt_test): Likewise.
921 (ctan_test): Likewise.
922 (ctanh_test): Likewise.
923 (exp_test): Likewise.
924 (exp10_test): Likewise.
925 (exp2_test): Likewise.
926 (expm1_test): Likewise.
927 (fma_test): Likewise.
930 (nexttoward_test): Likewise.
931 (pow_test): Likewise.
932 (scalbn_test): Likewise.
933 (scalbln_test): Likewise.
934 (tan_test): Likewise.
936 * sysdeps/i386/fpu/libm-test-ulps: Update.
937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
939 2012-05-23 David S. Miller <davem@davemloft.net>
941 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
942 (__libc_sigaction): Remove unused local variables.
944 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
946 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
948 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
950 mktime: avoid signed integer overflow
951 * time/mktime.c (__mktime_internal): Do not mishandle the case
952 where diff == INT_MIN.
954 mktime: simplify computation of average
955 * time/mktime.c (ranged_convert): Use new time_t_avg function
956 instead of rolling our own (probably-slower) code.
958 mktime: do not assume signed right shift propagates sign bit
959 * time/mktime.c (isdst_differ): New static function.
960 (__mktime_internal): No need to normalize tm_isdst now.
961 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
964 mktime: merge another wrapv change from gnulib
965 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
968 mktime: remove incorrect attempt at unusual arithmetics
969 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
970 The code didn't really work on such machines anyway.
971 (TYPE_MINIMUM): Assume two's complement.
972 (twos_complement_arithmetic): Verify that long_int and time_t
973 are two's complement (or unsigned, in the latter case).
975 mktime: check signed shifts on long_int and time_t, too
976 * time/mktime.c (SHR): Check that shifts work as desired
977 on the types long_int and time_t too, as SHR is used on
980 mktime: do not assume 'long' is wide enough
981 * time/mktime.c (verify): Move decl up.
982 (long_int): New type.
983 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
984 to remove assumption in the code that 'long' is wide enough to
985 store year values. This assumption is not true on x32 and on
986 some non-glibc platforms.
988 mktime: merge wrapv change from gnulib
989 * time/mktime.c (WRAPV): New macro.
990 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
991 (guess_time_tm, __mktime_internal): Do not assume that signed
992 integer overflow wraps around; modern compilers generate code
993 where this assumption is no longer valid.
995 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
997 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
998 Replace "jmp L(pseudo_end)" with "ret".
999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1002 2012-05-23 Andreas Jaeger <aj@suse.de>
1004 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1005 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1007 2012-05-23 Andreas Jaeger <aj@suse.de>
1008 Maximilian Attems <max@stro.at>
1010 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1013 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1015 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1016 code so that pseudo_end is just ret and the stack pointer is
1017 correct also for static library in error case.
1019 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1021 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1022 move to syscalls.list.
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1028 * manual/install.texi (Running make install): Do not mention Linux
1029 kernel version for which pt_chown is not needed.
1030 (Linux): Do not mention problems with nscd with 2.0 kernels.
1031 * INSTALL: Regenerated.
1033 2012-05-23 Andreas Jaeger <aj@suse.de>
1035 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1036 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1038 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1039 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1040 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1041 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1042 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1043 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1044 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1045 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1046 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1047 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1048 * sysdeps/unix/sysv/linux/bits/in.h
1049 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1051 2012-05-22 Roland McGrath <roland@hack.frob.com>
1053 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1054 (PREPARE_VERSION): Just use assert instead, it will be elided
1055 under [NDEBUG] anyway.
1057 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1059 * sysdeps/unix/sysv/linux/Makefile: Include
1060 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1061 (sysdep_routines): Remove sysctl.
1062 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1063 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1064 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1065 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1066 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1068 2012-05-22 Andreas Jaeger <aj@suse.de>
1070 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1071 that pseudo_end is just ret and the stack pointer is correct also
1072 for static library in error case.
1074 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1077 * nss/nsswitch.c (defconfig_entries): New variable.
1078 (__nss_database_lookup): Don't leak defconfig entries.
1079 (nss_parse_service_list): Don't leak on error paths.
1080 (free_database_entries): New function.
1081 (free_defconfig): New function.
1082 (free_mem): Move common code to free_database_entries.
1084 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1086 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1088 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1090 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1091 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1094 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1095 (INTERNAL_SYSCALL_TYPES): Likewise.
1096 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1097 (LOAD_REGS_TYPES_[1-6]): Likewise.
1098 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1099 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1101 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1103 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1104 copysignl for GLIBC_2_0.
1105 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1106 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1107 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1108 logbl for GLIBC_2_0.
1109 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1110 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1112 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1114 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1115 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1117 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1120 * time/mktime.c: Update copyright years.
1122 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1124 mktime: merge comment-quoting-style change from gnulib
1125 * time/mktime.c: Quote 'like this' in comments.
1126 The GNU coding standards suggest that we no longer quote `like this',
1127 as "`" and "'" are typically rendered asymmetrically nowadays.
1128 The typical gnulib style is to quote 'like this' when quoting
1129 code, and "like this" when quoting English.
1131 * time/mktime.c (compile-command): Add "-I.".
1133 mktime: merge mktime-internal.h change from gnulib
1134 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1136 mktime: merge time_r change from gnulib
1137 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1139 mktime: merge DEBUG change from gnulib
1140 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1141 case system <time.h> has a #define.
1143 mktime: merge <sys/types.h> change from gnulib
1144 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1145 since <time.t> is now guaranteed to define time_t.
1147 mktime: merge HAVE_CONFIG_H change from gnulib
1148 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1150 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1155 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1157 (struct rusage): Use anonymous union to pad each field to
1160 2012-05-21 David S. Miller <davem@davemloft.net>
1162 * Makefules (o-iterator): Remove .s cases.
1163 (compile-command.s): Delete.
1164 (COMPILE.s): Delete.
1165 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1167 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1169 * configure.in (libc_cv_predef_stack_protector): Only consider
1170 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1171 * configure: Regenerated.
1173 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1176 New macro. Use R*LP on int and pointer.
1177 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1178 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1179 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1180 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1182 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1183 [__WORDSIZE_TIME64_COMPAT32] instead of
1184 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1185 (struct utmp): Likewise.
1186 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1187 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1189 (__WORDSIZE_TIME64_COMPAT32): This.
1190 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1191 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1192 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1193 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1194 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1195 (__WORDSIZE_TIME64_COMPAT32): New macro.
1197 2012-05-21 Andreas Jaeger <aj@suse.de>
1199 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1200 only if [SHARED]. Add prototype for __wcschr_ia32.
1202 2012-05-21 Roland McGrath <roland@hack.frob.com>
1204 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1205 of %rbp unmolested in the jmp_buf while mangling the low bits.
1206 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1207 unmolested high bits of %rbp while demangling the low bits.
1208 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1210 2012-05-21 Andreas Jaeger <aj@suse.de>
1212 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1213 * sunrpc/svc_simple.c: Use it for registerrpc.
1214 * sunrpc/xcrypt.c: Use it for passwd2des.
1216 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1218 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1220 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1221 Don't define if [__SYSCALL_WORDSIZE != 32].
1222 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1225 2012-05-21 Bruno Haible <bruno@clisp.org>
1226 Andreas Jaeger <aj@suse.de>
1228 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1229 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1230 inptr and inend for must_buffer_ch.
1231 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1232 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1233 * stdio-common/Makefile (tests): Remove bug15.
1234 (bug15-ENV): Remove macro.
1235 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1238 2012-05-19 Andreas Jaeger <aj@suse.de>
1239 Roland McGrath <roland@hack.frob.com>
1241 * manual/contrib.texi: Completely rewritten. It contains now an
1242 alphabetical list of contributors and their contributions.
1244 2012-05-21 Richard Henderson <rth@twiddle.net>
1246 * misc/getauxval.c (__getauxval): Use unsigned long int.
1247 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1248 (getauxval): Use unsigned long int.
1250 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1252 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1254 2012-05-21 Roland McGrath <roland@hack.frob.com>
1256 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1257 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1258 __alignof__ (long double).
1260 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1264 2012-05-20 Richard Henderson <rth@twiddle.net>
1266 * misc/getauxval.c: New file.
1267 * misc/sys/auxv.h: New file.
1268 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1269 (routines): Add getauxval.
1270 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1271 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1272 * elf/dl-sysdep.c (_dl_auxv): Remove.
1273 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1274 * elf/dl-support.c (_dl_auxv): New variable.
1275 (_dl_aux_init): Initialize it.
1276 * manual/startup.texi (Auxiliary Vector): New node.
1277 * sysdeps/generic/bits/hwcap.h: New file.
1278 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1279 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1280 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1281 * sysdeps/sparc/sysdep.h: ... here. Include it.
1282 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1283 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1289 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1295 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1299 2012-05-19 David S. Miller <davem@davemloft.net>
1301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1303 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1306 * math/s_ccosh.c: Include <float.h>
1307 (__ccosh): Avoid internal overflow calculating sinh and cosh
1308 values before multiplying by sin and cos values.
1309 * math/s_ccoshf.c: Likewise.
1310 * math/s_ccoshl.c: Likewise.
1311 * math/s_csin.c: Likewise.
1312 * math/s_csinf.c: Likewise.
1313 * math/s_csinl.c: Likewise.
1314 * math/s_csinh.c: Likewise.
1315 * math/s_csinhf.c: Likewise.
1316 * math/s_csinhl.c: Likewise.
1317 * math/libm-test.inc (ccos_test): Add more tests.
1318 (ccosh_test): Likewise.
1319 (csin_test): Likewise.
1320 (csinh_test): Likewise.
1321 * sysdeps/i386/fpu/libm-test-ulps: Update.
1322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1324 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1326 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1327 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1329 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1331 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1333 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1334 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1335 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1336 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1337 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1338 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1339 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1340 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1341 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1342 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1343 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1344 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1345 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1346 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1347 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1348 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1349 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1350 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1351 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1352 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1353 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1354 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1355 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1356 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1357 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1358 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1359 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1360 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1361 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1362 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1363 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1365 2012-05-18 Andreas Jaeger <aj@suse.de>
1367 * csu/.gitignore: Delete.
1369 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1371 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1372 (timex): Use __syscall_slong_t.
1374 2012-05-18 Andreas Jaeger <aj@suse.de>
1375 Carlos O'Donell <carlos_odonell@mentor.com>
1377 * manual/install.texi (Configuring and compiling): Update
1378 description about files modified in the source directory.
1379 * INSTALL: Regenerated.
1381 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1383 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1384 value. Use "or" to set return value to -1.
1385 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1386 negate return value.
1388 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1390 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1391 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1392 failure if the compiler has Graphite support disabled.
1393 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1395 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1396 CFLAGS-memmove.c): Likewise.
1397 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1400 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1402 * sysdeps/x86_64/x32/_itoa.h: New file.
1404 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1405 getdents system call only if kernel and user dirents have the
1406 same d_ino and d_off.
1408 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1409 LLONG_MAX != LONG_MAX.
1410 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1411 (_fitoa_word): Likewise.
1413 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1415 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1416 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1417 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1419 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1420 include <bits/wordsize.h>. Check __x86_64__ instead of
1422 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1423 if __x86_64__ is defined. Use anonymous union on fpstate.
1425 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1428 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1430 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1431 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1432 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1433 Refer to _rtld_local_ro instead of _rtld_global_ro.
1434 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1436 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1438 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1440 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1441 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1442 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1444 * sysdeps/powerpc/powerpc32/dl-machine.c
1445 (__elf_machine_runtime_setup) [PROF]: Don't reference
1448 2012-05-18 Andreas Jaeger <aj@suse.de>
1450 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1451 function only available for GCCs before 3.4 since GCC 3.4
1452 introduced a builtin.
1454 (llrintf): Likewise.
1462 (nearbyint): Likewise.
1463 (nearbyintf): Likewise.
1469 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1471 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1472 on both fields and cast pointer to __syscall_ulong_t.
1474 * bits/types.h (__fsword_t): New type.
1475 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1476 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1477 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1478 (__FSWORD_T_TYPE): Likewise.
1479 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1480 (__FSWORD_T_TYPE): Likewise.
1481 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1482 (__FSWORD_T_TYPE): Likewise.
1483 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1484 (__FSWORD_T_TYPE): Likewise.
1485 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1486 __SWORD_TYPE with __fsword_t.
1487 (statfs64): Likewise.
1489 2012-05-17 David S. Miller <davem@davemloft.net>
1491 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1493 2012-05-17 Andreas Jaeger <aj@suse.de>
1495 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1498 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1500 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1502 2012-05-17 Andreas Jaeger <aj@suse.de>
1504 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1507 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1509 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1511 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1513 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1514 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1516 2012-05-17 Andreas Jaeger <aj@suse.de>
1517 Carlos O'Donell <carlos_odonell@mentor.com>
1520 * sysdeps/x86_64/multiarch/init-arch.h
1521 (bit_YMM_Usable): Rename to...
1522 (bit_AVX_Usable): ... this.
1523 (bit_FMA4_Usable): New macro.
1524 (bit_XMM_state): New macro.
1525 (bit_YMM_state): New macro.
1526 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1527 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1528 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1529 (CPUID_OSXSAVE): New macro.
1530 (CPUID_AVX): New macro.
1531 (CPUID_FMA4): New macro.
1532 (index_YMM_Usable): Rename to...
1533 (index_AVX_Usable): ... this.
1534 (HAS_AVX): Use HAS_ARCH_FEATURE.
1535 (HAS_FMA4): Likewise.
1536 (HAS_YMM_USABLE): Remove.
1537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1538 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1540 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1541 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1542 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1543 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1544 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1546 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1548 * math/libm-test.c: Support platforms without multiple rounding modes.
1549 * math/bug-nextafter.c: Support platforms without FP exceptions.
1550 * math/bug-nexttoward.c: Likewise.
1551 * math/test-fenv.c: Likewise.
1552 * math/test-misc.c: Likewise.
1553 * stdlib/bug-getcontext.c: Likewise.
1555 2012-05-17 Andreas Jaeger <aj@suse.de>
1557 * manual/examples/search.c (critter_cmp): Change signature to
1559 * manual/string.texi (Collation Functions): Likewise.
1561 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1563 * bits/types.h: Fold copyright years.
1564 * bits/typesizes.h: Likewise.
1565 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1566 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1567 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1568 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1569 * time/time.h: Likewise.
1571 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1574 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1575 in instead of returning them. Return void.
1576 (__libc_mallinfo): Accumulate over all arenas.
1577 (__malloc_stats): Adjust for change in int_mallinfo interface.
1579 2012-05-16 Roland McGrath <roland@hack.frob.com>
1582 * configure.in (NM): Add AC_CHECK_TOOL for it.
1583 (libc_extra_cflags): New substituted variable.
1584 Check for -fstack-protector being used implicitly.
1585 * configure: Regenerated.
1586 * config.make.in (config-extra-cflags): New variable,
1587 gets @libc_extra_cflags@.
1588 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1591 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1592 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1593 * configure: Regenerated.
1594 * config.make.in (CPPUNDEFS): New substituted variable.
1595 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1596 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1597 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1599 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1601 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1602 (mq_attr): Use __syscall_slong_t.
1604 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1606 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1607 Check __x86_64__ instead of __WORDSIZE.
1608 (_STAT_VER_LINUX): Likewise.
1609 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1610 __syscall_ulong_t and __syscall_slong_t.
1613 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1615 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1617 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1619 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1621 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1623 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1626 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1627 include <bits/wordsize.h>. Check __x86_64__ instead of
1629 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1631 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1633 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1634 include <bits/wordsize.h>. Check __x86_64__ instead of
1636 (user_regs_struct): Use "__extension__ unsigned long long"
1637 instead of "unsigned long" if __x86_64__ is defined.
1638 (user): Likewise. Pad after pointer field if __ILP32__ is
1641 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1643 * configure.in (makeinfo): Require version 4.5 or later. Allow
1645 * configure: Regenerated.
1646 * manual/install.texi (texinfo): Increase version requirement to
1648 * INSTALL: Regenerated.
1650 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1652 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1654 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1656 * sysdeps/x86_64/x32/ffs.c: New file.
1658 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1660 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1661 defined. Use __syscall_ulong_t.
1662 (shminfo): Use __syscall_ulong_t.
1663 (shm_info): Likewise.
1665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1668 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1670 (msgqnum_t): Use __syscall_ulong_t.
1671 (msglen_t): Likewise.
1672 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1675 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1676 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1678 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1680 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1681 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1683 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1686 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1687 include <bits/wordsize.h>. Check __x86_64__ instead of
1690 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1691 "unsigned long long int" if __x86_64__ is defined.
1692 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1694 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1695 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1696 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1698 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1700 (GET_PC): Cast to uintptr_t first.
1701 (GET_FRAME): Likewise.
1702 (GET_STACK): Likewise.
1704 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1705 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1706 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1707 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1708 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1709 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1710 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1711 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1712 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1713 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1714 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1715 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1716 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1717 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1718 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1719 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1720 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1721 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1722 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1723 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1724 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1725 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1726 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1727 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1728 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1729 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1730 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1731 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1732 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1734 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1736 * Makerules (+depfiles): Also collect depfiles from .oS in
1738 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1739 .oS, $(libnldbl-routines)).
1741 * Makerules (native-compile-mkdep-flags): Define.
1742 * sunrpc/Makefile (extra-objs): Add $(addprefix
1743 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1744 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1745 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1746 calling $(make-target-directory).
1748 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1750 * bits/types.h (__snseconds_t): Removed.
1751 * time/time.h (struct timespec): Replace __snseconds_t with
1753 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1754 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1756 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1757 (__SNSECONDS_T_TYPE): Likewise.
1758 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1759 (__SNSECONDS_T_TYPE): Likewise.
1760 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1761 (__SNSECONDS_T_TYPE): Likewise.
1763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1765 * sysdeps/mach/hurd/bits/typesizes.h
1766 (__SYSCALL_SLONG_TYPE): New macro.
1767 (__SYSCALL_ULONG_TYPE): Likewise.
1769 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1771 * bits/types.h (__syscall_slong_t): New type.
1772 (__syscall_ulong_t): Likewise.
1774 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1775 (__SYSCALL_ULONG_TYPE): Likewise.
1776 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1777 (__SYSCALL_SLONG_TYPE): Likewise.
1778 (__SYSCALL_ULONG_TYPE): Likewise.
1779 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1780 (__SYSCALL_SLONG_TYPE): Likewise.
1781 (__SYSCALL_ULONG_TYPE): Likewise.
1782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1783 (__SYSCALL_SLONG_TYPE): Likewise.
1784 (__SYSCALL_ULONG_TYPE): Likewise.
1786 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1788 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1789 Add sigaltstack-offsets.sym.
1790 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1791 <sigaltstack-offsets.h>.
1792 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1793 longjmp_msg pointer.
1794 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1795 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1797 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1799 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1801 * elf/stackguard-macros.h: Remove file.
1802 * sysdeps/generic/stackguard-macros.h: New file.
1803 * sysdeps/i386/stackguard-macros.h: Likewise.
1804 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1805 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1806 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1807 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1808 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1809 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1810 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1811 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1812 <elf/stackguard-macros.h>.
1815 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1816 __aligned__ in attribute.
1817 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1818 (gregset_t): Likewise.
1820 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1822 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1823 * sysdeps/x86_64/64/Implies-after: Here. New file.
1824 * sysdeps/x86_64/x32/Implies-after: New file.
1826 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1828 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1829 and access return value for _dl_profile_fixup. Use R10_LP to
1832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1834 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1836 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1838 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1839 * sysdeps/x86_64/x32/sysdep.h: New file.
1841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1843 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1844 * sysdeps/x86_64/setjmp.S: Likewise.
1846 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1848 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1849 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1850 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1851 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1852 remove unused global constant.
1854 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1856 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1857 include of <not-cancel.h>.
1859 2012-05-15 Roland McGrath <roland@hack.frob.com>
1861 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1863 2012-05-15 Jeff Law <law@redhat.com>
1864 Andreas Jaeger <aj@suse.de>
1867 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1869 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1870 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1871 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1872 code changing __hst_map_handle.map.
1874 2012-05-15 Roland McGrath <roland@hack.frob.com>
1876 * configure.in (sysnames): Look for Implies-before and Implies-after
1878 * configure: Regenerated.
1880 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1882 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1883 8-byte data alignment with LP_SIZE alignment.
1885 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1887 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1892 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1896 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1897 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1898 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1900 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1902 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1904 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1905 (stackinfo_sub_sp): Likewise.
1907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1909 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1914 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1919 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1924 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1928 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1929 into R11_LP and load __x86_64_shared_cache_size_half into
1932 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1934 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1937 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1939 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1941 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1945 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1946 powerpc32/power7/fpu/s_logb.c via #include.
1947 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1948 powerpc32/power7/fpu/s_logbf.c via #include.
1949 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1950 powerpc32/power7/fpu/s_logbl.c via #include.
1952 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1954 * README.libm: Remove file.
1956 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1958 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1959 count for x32. Use R*_LP and omit operand-size suffix.
1961 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1963 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1964 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1965 * sysdeps/x86_64/x32/shlib-versions: New file.
1967 2012-05-14 Roland McGrath <roland@hack.frob.com>
1969 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1970 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1971 Use _dl_fatal_printf instead.
1973 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1975 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1976 set if not set by the user. Do not allow for being unset.
1977 * sysdeps/unix/sysv/linux/configure: Regenerated.
1979 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1981 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1982 the `q' suffix from lea and replace .quad with ASM_ADDR.
1984 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1987 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1989 (PTR_DEMANGLE): Likewise.
1991 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1993 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1995 (ASM_ADDR): Likewise.
2013 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2015 * sysdeps/x86_64/x32/dl-machine.h: New file.
2017 2012-05-14 Andreas Jaeger <aj@suse.de>
2019 * manual/Makefile (subdir): Remove export of subdir.
2020 (all): Remove target.
2021 (.PHONY): Remove all from list.
2022 (mkinstalldirs): Remove.
2023 (.PHONY): Remove installdirs from list.
2024 ($(inst_infodir)/libc.info): Use make-target-directory.
2025 (installdirs): Remove.
2027 (glibc-targets): Remove.
2030 ($(objpfx)stubs ../po/manual.pot): Remove.
2031 ($(objpfx)stamp%): Remove.
2032 (make-target-directory): Remove.
2033 (subdir_install): Remove.
2041 * manual/.gitignore: Remove, it's not needed anymore.
2042 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2044 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2046 (texis): Renamed to $(objpfx)texis.
2047 (texis-path): New, contains path to generated files.
2048 (chapters.%): Use texis-path for complete path, add extra argument
2050 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2051 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2052 (summary,texi, stamp-summary): Use complete path of
2053 files. Generate files in build dir.
2054 (dir-add.texi): Build in build dir.
2055 (libm-err.texi,stamp-libm-err): Likewise.
2056 (version.texi, stamp-version): Likewise.
2057 (.%c.texi): Likewise.
2058 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2059 (mostlyclean): Remove target.
2060 (realclean): Remove target.
2061 (generated): Add new variable with contents from mostlyclean and
2062 realclean, remove entries duplicated in common-mostlyclean, add
2063 stamp-libm-err and stamp-version.
2064 (generated-dirs): Add libc directory.
2065 ($(inst_infodir)/libc.info): Install files from build dir.
2067 * manual/install.texi (Configuring and compiling): Adjust since
2068 the info files are not part of the tar ball anymore.
2070 2012-05-14 Andreas Jaeger <aj@suse.de>
2072 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2075 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2078 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2079 to 2.2.0 where earlier.
2080 * sysdeps/unix/sysv/linux/configure: Regenerated.
2081 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2082 Remove conditional code.
2083 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2084 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2085 Remove conditional code.
2086 [!__NR_lchown]: Likewise.
2087 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2088 [__NR_lchown]: Likewise.
2089 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2090 comment referencing __ASSUME_LCHOWN_SYSCALL.
2091 * sysdeps/unix/sysv/linux/i386/sigaction.c
2092 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2093 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2094 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2095 Remove conditional code.
2096 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2097 (__protocol_available): Remove #if 0 code.
2098 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2100 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2101 * sysdeps/unix/sysv/linux/kernel-features.h
2102 (__ASSUME_GETCWD_SYSCALL): Don't define.
2103 (__ASSUME_REALTIME_SIGNALS): Likewise.
2104 (__ASSUME_PREAD_SYSCALL): Likewise.
2105 (__ASSUME_PWRITE_SYSCALL): Likewise.
2106 (__ASSUME_POLL_SYSCALL): Likewise.
2107 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2108 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2110 (__ASSUME_SIOCGIFNAME): Don't define.
2111 (__ASSUME_MSG_NOSIGNAL): Likewise.
2112 (__ASSUME_SENDFILE): Define unconditionally.
2113 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2114 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2116 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2117 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2118 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2119 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2120 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2121 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2122 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2124 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2125 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2127 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2128 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2130 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2131 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2133 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2134 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2136 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2137 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2139 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2140 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2142 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2143 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2145 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2147 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2148 Remove conditional code.
2149 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2150 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2151 Remove conditional code.
2152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2153 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2154 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2155 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2156 Remove conditional code.
2157 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2158 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2159 Remove conditional code.
2160 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2161 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2162 Remove conditional code.
2163 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2164 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2165 Remove conditional code.
2166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2167 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2168 Remove conditional code.
2169 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2170 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2171 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2173 * sysdeps/unix/sysv/linux/sigaction.c
2174 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2175 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2176 * sysdeps/unix/sysv/linux/sigpending.c
2177 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2178 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2179 * sysdeps/unix/sysv/linux/sigprocmask.c
2180 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2181 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2182 * sysdeps/unix/sysv/linux/sigsuspend.c
2183 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2184 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2185 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2186 (__libc_missing_rt_sigs): Remove.
2187 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2188 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2189 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2190 Remove conditional code.
2191 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2192 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2194 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2195 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2196 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2197 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2199 2012-05-14 Andreas Jaeger <aj@suse.de>
2201 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2202 it's not used in glibc.
2203 (__coshm1): Likewise.
2204 (__acosh1p): Likewise.
2207 * manual/string.texi (Copying and Concatenation): Add missing
2208 variable in concat example.
2209 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2211 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2214 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2215 __builtin_clzl with __builtin_clzll.
2217 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2220 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2223 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2225 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2226 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2227 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2228 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2230 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2232 * NEWS: Update ia64 info.
2234 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2236 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2239 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2241 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2242 * sysdeps/unix/syscalls.list (dup3): Likewise.
2243 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2244 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2246 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2248 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2249 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2251 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2253 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2255 (TLS_IE): Use mov/add instead of movq/addq to load thread
2257 (TLS_GD_PREFIX): New.
2260 2012-05-11 David S. Miller <davem@davemloft.net>
2262 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2263 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2264 (_FPU_SETCW): Likewise.
2266 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2268 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2271 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2274 * iconvdata/gb18030.c: Update tables.
2275 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2276 characters specially.
2277 (BODY for TO_LOOP): Add encoding of missing ranges.
2279 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2282 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2283 * sysdeps/mach/hurd/dup3.c: Likewise.
2284 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2285 * sysdeps/powerpc/memmove.c:: Likewise.
2287 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2289 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2290 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2292 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2294 * elf/elf.h (R_X86_64_RELATIVE64): New.
2295 (R_X86_64_NUM): Updated.
2296 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2297 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2298 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2299 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2300 tst-quad1pie tst-quad2pie
2301 (modules-names): Add tst-quadmod1 tst-quadmod2.
2302 ($(objpfx)tst-quad1): New dependency.
2303 ($(objpfx)tst-quad2): Likewise.
2304 ($(objpfx)tst-quad1pie): Likewise.
2305 ($(objpfx)tst-quad2pie): Likewise.
2306 * sysdeps/x86_64/tst-quad1.c: New file.
2307 * sysdeps/x86_64/tst-quad1pie.c: New file.
2308 * sysdeps/x86_64/tst-quad2.c: Likewise.
2309 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2310 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2311 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2312 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2313 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2315 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2317 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2318 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2319 * streams/stropts.h (t_scalar_t): Define type.
2321 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2322 (_PATH_PRESERVE): Set to "/var/lib".
2323 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2325 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2328 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2329 if __dir_mkfile succeeded.
2331 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2332 checking for _hurd_dtablesize. Unlock it right after having
2333 finished _hurd_dtable allocation.
2335 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2337 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2338 * sysdeps/mach/hurd/configure: Regenerated.
2339 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2340 special-casing to...
2341 * sysdeps/gnu/configure.in: ... this new file.
2342 * sysdeps/unix/sysv/linux/configure: Regenerated.
2343 * sysdeps/gnu/configure: New generated file.
2345 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2346 for Linux: use nsec instead of usec, as well as:
2347 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2348 members of type struct timespec.
2349 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2351 (struct stat64): Likewise.
2352 (_STATBUF_ST_NSEC): New macro.
2353 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2355 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2356 __strtoul_internal rather than strtoul.
2358 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2360 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2363 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2365 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2366 which preserves existing values.
2367 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2369 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2371 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2372 TIMEOUT values. Return EINVAL for NFDS values either negative or
2373 greater than FD_SETSIZE.
2375 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2377 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2378 allocated, call __vm_protect to finish enabling the existing space, and
2379 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2380 allocate the remainder.
2382 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2384 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2385 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2387 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2389 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2390 sysdeps/mach/hurd/readlink.c.
2392 * posix/tst-sysconf.c (posix_options): Only use
2393 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2394 _POSIX_SYNCHRONIZED_IO when they are defined
2395 * sysdeps/mach/hurd/bits/posix_opt.h:
2396 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2397 (_XOPEN_REALTIME): Undefine macro.
2398 (_XOPEN_REALTIME_THREADS): Undefine macro.
2399 (_XOPEN_SHM): Undefine macro.
2400 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2402 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2404 (_POSIX_ASYNC_IO): Undefine macro.
2405 (_POSIX_PRIORITIZED_IO): Undefine macro.
2406 (_POSIX_SPIN_LOCKS): Define macro to -1.
2408 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2409 SA_NODEFER, SA_RESETHAND.
2410 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2411 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2414 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2416 * elf/Makefile (pldd-modules): Define unconditionally.
2418 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2420 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2422 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2424 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2425 Return ENOENT when name is empty.
2426 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2428 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2430 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2432 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2434 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2436 Fix mlock in all cases except non-readable pages.
2437 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2438 instead of VM_PROT_ALL as parameter to __vm_wire function.
2440 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2441 (__mkdir): When path is `/', just fail with EEXIST.
2442 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2444 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2446 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2447 <sys/uio.h> (for writev).
2448 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2449 and <sys/param.h> (for MIN).
2451 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2453 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2454 REQUESTED_TIME. Properly set the remaining time and return EINTR
2457 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2459 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2460 Depend on against $(link-rpcuserlibs).
2462 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2464 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2465 (__libc_stack_end): Do not use attribute_relro.
2466 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2467 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2468 to libthread-provided value.
2469 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2472 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2475 * bits/libc-lock.h (__libc_once_get): New macro.
2476 * sysdeps/mach/bits/libc-lock.h: Likewise.
2477 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2478 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2479 instead of using implementation details.
2481 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2482 * libio/freopen.c: Likewise.
2483 * libio/freopen64.c: Likewise.
2484 * misc/syslog.c: Likewise.
2485 * nscd/connections.c: Likewise.
2486 * nscd/netgroupcache.c: Likewise.
2487 * sysdeps/posix/getcwd.c: Likewise.
2489 2012-05-10 Roland McGrath <roland@hack.frob.com>
2491 * math/w_ilogbf.c: Add #include <limits.h>.
2493 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2495 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2496 path instead of returning without unlocking.
2498 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2499 immediate-write ioctls.
2500 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2502 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2504 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2505 __builtin_frame_address instead of making assumptions about the
2506 location of the return address relative to DATA. Force early load of
2508 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2509 __builtin_frame_address.
2512 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2513 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2514 implement dup3 and do some further code clean-ups.
2515 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2516 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2520 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2522 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2523 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2524 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2525 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2526 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2529 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2530 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2531 when handler == SIG_ERR, not when handler != SIG_ERR.
2533 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2535 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2536 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2539 accept4 for GNU Hurd.
2540 * include/sys/socket.h (__libc_accept4): New prototype.
2541 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2542 to implement __libc_accept4.
2543 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2545 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2547 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2548 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2549 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2552 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2554 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2556 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2558 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2559 assertion on O_CLOEXEC flag.
2560 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2561 * hurd/intern-fd.c: Likewise.
2562 * hurd/port2fd.c: Likewise.
2564 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2567 * bits/in.h (IPV6_PKTINFO): Define new macro.
2568 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2570 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2575 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2576 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2577 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2578 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2579 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2580 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2581 * math/libm-test.inc (logb_test) : Additional logb tests.
2583 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2584 Andreas Jaeger <aj@suse.de>
2586 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2587 * configure: Regenerated.
2588 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2589 * config.make.in (link-obsolete-rpc): New substituted variable.
2590 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2591 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2592 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2593 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2594 so that libc.a contains the symbols.
2595 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2596 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2597 * sunrpc/auth_none.c: Likewise.
2598 * sunrpc/auth_unix.c: Likewise.
2599 * sunrpc/authdes_prot.c: Likewise.
2600 * sunrpc/authuxprot.c: Likewise.
2601 * sunrpc/clnt_gen.c: Likewise.
2602 * sunrpc/clnt_perr.c: Likewise.
2603 * sunrpc/clnt_raw.c: Likewise.
2604 * sunrpc/clnt_simp.c: Likewise.
2605 * sunrpc/clnt_tcp.c: Likewise.
2606 * sunrpc/clnt_udp.c: Likewise.
2607 * sunrpc/clnt_unix.c: Likewise.
2608 * sunrpc/des_crypt.c: Likewise.
2609 * sunrpc/des_soft.c: Likewise.
2610 * sunrpc/get_myaddr.c: Likewise.
2611 * sunrpc/key_call.c: Likewise.
2612 * sunrpc/key_prot.c: Likewise.
2613 * sunrpc/netname.c: Likewise.
2614 * sunrpc/pm_getmaps.c: Likewise.
2615 * sunrpc/pm_getport.c: Likewise.
2616 * sunrpc/pmap_clnt.c: Likewise.
2617 * sunrpc/pmap_prot.c: Likewise.
2618 * sunrpc/pmap_prot2.c: Likewise.
2619 * sunrpc/pmap_rmt.c: Likewise.
2620 * sunrpc/publickey.c: Likewise.
2621 * sunrpc/rpc_cmsg.c: Likewise.
2622 * sunrpc/rpc_common.c: Likewise.
2623 * sunrpc/rpc_dtable.c: Likewise.
2624 * sunrpc/rpc_prot.c: Likewise.
2625 * sunrpc/rpc_thread.c: Likewise.
2626 * sunrpc/rtime.c: Likewise.
2627 * sunrpc/svc.c: Likewise.
2628 * sunrpc/svc_auth.c: Likewise.
2629 * sunrpc/svc_raw.c: Likewise.
2630 * sunrpc/svc_run.c: Likewise.
2631 * sunrpc/svc_tcp.c: Likewise.
2632 * sunrpc/svc_udp.c: Likewise.
2633 * sunrpc/svc_unix.c: Likewise.
2634 * sunrpc/svcauth_des.c: Likewise.
2635 * sunrpc/xcrypt.c: Likewise.
2636 * sunrpc/xdr.c: Likewise.
2637 * sunrpc/xdr_array.c: Likewise.
2638 * sunrpc/xdr_float.c: Likewise.
2639 * sunrpc/xdr_intXX_t.c: Likewise.
2640 * sunrpc/xdr_mem.c: Likewise.
2641 * sunrpc/xdr_rec.c: Likewise.
2642 * sunrpc/xdr_ref.c: Likewise.
2643 * sunrpc/xdr_sizeof.c: Likewise.
2644 * sunrpc/xdr_stdio.c: Likewise.
2646 2012-05-10 Roland McGrath <roland@hack.frob.com>
2648 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2649 change. Update copyright years.
2651 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2653 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2655 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2656 Joseph Myers <joseph@codesourcery.com>
2657 Paul Pluzhnikov <ppluzhnikov@google.com>
2660 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2662 [cross-compiling] (extra-libs): Likewise.
2663 [cross-compiling] (extra-libs-others): Likewise.
2664 [cross-compiling] (librpcsvc-routines): Likewise.
2665 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2666 [cross-compiling] (omit-deps): Likewise.
2667 (sunrpc-CPPFLAGS): New variable.
2668 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2669 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2670 (cross-rpcgen-objs): New variable.
2671 (extra-objs): Append $(cross-rpcgen-objs).
2672 ($(cross-rpcgen-objs)): New rule.
2673 ($(objpfx)cross-rpcgen): Likewise.
2674 (rpcgen-cmd): Define to use $(built-program-file). Expand
2676 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2677 ($(objpfx)x%.stmp): Likewise.
2678 * sunrpc/proto.h [IS_IN_build] (_): Define.
2679 [IS_IN_build] (_libc_intl_domainname): Likewise.
2681 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2684 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2685 and R_X86_64_TPOFF64.
2687 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2689 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2690 sysdeps/unix/sysv/syscalls.list.
2693 * sysdeps/unix/sysv/syscalls.list: Remove file.
2695 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2698 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2699 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2700 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2701 (__LC_IDENTIFICATION): Make these macros useful in #if
2702 expressions, as required by C99.
2704 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2706 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2707 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2710 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2712 * stdlib/longlong.h: Updated from GCC.
2714 2012-05-09 Andreas Jaeger <aj@suse.de>
2716 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2717 default is first entry.
2718 (run_mode): Set type.
2719 (main): Remove informal message about syslog.
2720 (options): Fix typo.
2723 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2726 (llrintf): Likewise.
2730 (nearbyint): Likewise.
2731 (nearbyintf): Likewise.
2733 2012-05-09 Andreas Jaeger <aj@suse.de>
2734 Pedro Alves <palves@redhat.com>
2736 * nscd/nscd.c (run_mode): Use enum.
2737 (main): Cleanup coding style issue.
2739 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2740 Andreas Jaeger <aj@suse.de>
2742 * nscd/nscd.c (go_background): Replaced with...
2743 (run_mode): ... this.
2744 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2745 (options): Add -F --foreground.
2746 (main): Implement it.
2747 (parse_opt): Parse it.
2749 2012-05-09 Andreas Jaeger <aj@suse.de>
2752 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2753 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2754 -Wconversion warning.
2755 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2758 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2760 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2762 (LC_ALL): Use macro-int-constant.
2763 (LC_COLLATE): Likewise.
2764 (LC_CTYPE): Likewise.
2765 (LC_MESSAGES): Likewise.
2766 (LC_MONETARY): Likewise.
2767 (LC_NUMERIC): Likewise.
2768 (LC_TIME): Likewise.
2769 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2770 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2771 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2772 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2774 [C99-based standards] (float_t): Expect type.
2775 [C99-based standards] (double_t): Expect type.
2776 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2778 [C99-based standards] (HUGE_VALL): Likewise.
2779 [C99-based standards] (INFINITY): Likewise.
2780 [C99-based standards] (NAN): Likewise.
2781 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2782 [C99-based standards] (FP_NAN): Likewise.
2783 [C99-based standards] (FP_NORMAL): Likewise.
2784 [C99-based standards] (FP_SUBNORMAL): Likewise.
2785 [C99-based standards] (FP_ZERO): Likewise.
2786 [C99-based standards] (FP_FAST_FMA): Use
2787 optional-macro-int-constant. Specify type. Require == 1.
2788 [C99-based standards] (FP_FAST_FMAF): Likewise.
2789 [C99-based standards] (FP_FAST_FMAL): Likewise.
2790 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2791 [C99-based standards] (FP_ILOGBNAN): Likewise.
2792 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2794 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2795 [C99-based standards] (math_errhandling): Specify type.
2796 [ISO99 || ISO11] (signgam): Do not allow.
2797 [non-C99-based standards] (copysignf): Do not allow.
2798 [non-C99-based standards] (exp2f): Likewise.
2799 [non-C99-based standards] (log2f): Likewise.
2800 [non-C99-based standards] (modff): Allow.
2801 [non-C99-based standards] (erff): Do not allow.
2802 [non-C99-based standards] (erfcf): Likewise.
2803 [non-C99-based standards] (gammaf): Likewise.
2804 [non-C99-based standards] (hypotf): Likewise.
2805 [non-C99-based standards] (j0f): Likewise.
2806 [non-C99-based standards] (j1f): Likewise.
2807 [non-C99-based standards] (jnf): Likewise.
2808 [non-C99-based standards] (lgammaf): Likewise.
2809 [non-C99-based standards] (tgammaf): Likewise.
2810 [non-C99-based standards] (y0f): Likewise.
2811 [non-C99-based standards] (y1f): Likewise.
2812 [non-C99-based standards] (ynf): Likewise.
2813 [non-C99-based standards] (isnanf): Likewise.
2814 [non-C99-based standards] (acoshf): Likewise.
2815 [non-C99-based standards] (asinhf): Likewise.
2816 [non-C99-based standards] (atanhf): Likewise.
2817 [non-C99-based standards] (cbrtf): Likewise.
2818 [non-C99-based standards] (expm1f): Likewise.
2819 [non-C99-based standards] (ilogbf): Likewise.
2820 [non-C99-based standards] (log1pf): Likewise.
2821 [non-C99-based standards] (logbf): Likewise.
2822 [non-C99-based standards] (nextafterf): Likewise.
2823 [non-C99-based standards] (remainderf): Likewise.
2824 [non-C99-based standards] (rintf): Likewise.
2825 [non-C99-based standards] (scalbf): Likewise.
2826 [non-C99-based standards] (copysignl): Likewise.
2827 [non-C99-based standards] (exp2l): Likewise.
2828 [non-C99-based standards] (log2l): Likewise.
2829 [non-C99-based standards] (modfl): Allow.
2830 [non-C99-based standards] (erfl): Do not allow.
2831 [non-C99-based standards] (erfcl): Likewise.
2832 [non-C99-based standards] (gammal): Likewise.
2833 [non-C99-based standards] (hypotl): Likewise.
2834 [non-C99-based standards] (j0l): Likewise.
2835 [non-C99-based standards] (j1l): Likewise.
2836 [non-C99-based standards] (jnl): Likewise.
2837 [non-C99-based standards] (lgammal): Likewise.
2838 [non-C99-based standards] (tgammal): Likewise.
2839 [non-C99-based standards] (y0l): Likewise.
2840 [non-C99-based standards] (y1l): Likewise.
2841 [non-C99-based standards] (ynl): Likewise.
2842 [non-C99-based standards] (isnanl): Likewise.
2843 [non-C99-based standards] (acoshl): Likewise.
2844 [non-C99-based standards] (asinhl): Likewise.
2845 [non-C99-based standards] (atanhl): Likewise.
2846 [non-C99-based standards] (cbrtl): Likewise.
2847 [non-C99-based standards] (expm1l): Likewise.
2848 [non-C99-based standards] (ilogbl): Likewise.
2849 [non-C99-based standards] (log1pl): Likewise.
2850 [non-C99-based standards] (logbl): Likewise.
2851 [non-C99-based standards] (nextafterl): Likewise.
2852 [non-C99-based standards] (remainderl): Likewise.
2853 [non-C99-based standards] (rintl): Likewise.
2854 [non-C99-based standards] (scalbl): Likewise.
2855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2856 [non-C99-based standards] (FP_*): Do not allow.
2857 [C99-based standards] (FP_*): Change to
2858 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2859 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2861 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2862 (SIG_ERR): Likewise.
2863 [X/Open-based standards] (SIG_HOLD): Likewise.
2864 (SIG_IGN): Likewise.
2865 (SIGABRT): Use macro-int-constant. Specify type. Require
2870 (SIGSEGV): Likewise.
2872 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2873 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2874 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2875 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2876 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2877 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2878 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2879 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2880 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2881 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2882 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2883 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2884 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2885 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2886 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2887 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2888 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2889 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2890 [X/Open-based standards] (SIGTRAP): Likewise.
2891 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2892 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2893 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2894 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2895 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2898 2012-05-08 Ian Wienand <ianw@vmware.com>
2901 * time/tzset.c (__tzset_parse_tz): Update default rules for
2902 daylight time changes in the Energy Policy Act of 2005.
2904 2012-05-09 Andreas Jaeger <aj@suse.de>
2907 * elf/ldconfig.c (parse_conf): Change string to make clear that
2908 ldconfig only issued a warning if ld.so.conf does not exist.
2910 2012-05-08 David S. Miller <davem@davemloft.net>
2912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2913 movxtod instead of popping the value on the stack.
2915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2917 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2919 * config.h.in: Add HAVE_ARM_PCS_VFP.
2921 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2924 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2925 checking but the checks are disabled for any reason.
2927 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2929 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2930 and ELF64_R_TYPE with ELFW(R_TYPE).
2932 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2934 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2937 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2938 (settimeofday): Likewise.
2940 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2942 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2943 a struct th_u2 inside the union, and move tu_block/tu_code into
2944 a new th_u3 union of tu_block/tu_code inside of that. Move
2945 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2946 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2947 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2948 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2949 (th_stuff): Change to th_u1.tu_stuff.
2951 (th_msg): Change to th_u1.th_u2.tu_data.
2953 2012-05-07 David S. Miller <davem@davemloft.net>
2955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2958 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2959 (SETUP_PIC_REG): Use it.
2960 (SETUP_PIC_REG_LEAF): Use it.
2962 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2966 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2968 (EXPL_FINITE): Likewise.
2970 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2971 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2973 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2975 (EXPL_FINITE): Likewise.
2977 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2978 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2980 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2981 test of -max_value argument for long double.
2982 * sysdeps/i386/fpu/libm-test-ulps: Update.
2983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2985 2012-05-06 David S. Miller <davem@davemloft.net>
2987 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2988 quad soft-float symbols whose references which are compiler
2990 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2992 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2996 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2998 (EXPL_FINITE): Likewise.
3002 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3003 Adjust comments for base varying.
3004 (__expl_finite): Change alias to EXPL_FINITE.
3005 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3007 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3008 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3009 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3010 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3011 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3013 (EXPL_FINITE): Likewise.
3017 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3018 Adjust comments for base varying.
3019 (__expl_finite): Change alias to EXPL_FINITE.
3020 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3025 * math/libm-test.inc (check_float_internal): Correct ulp
3026 calculation for subnormal expected results.
3028 2012-05-06 Andreas Jaeger <aj@suse.de>
3030 * Makeconfig (+math-flags): New, set to -frounding-math.
3031 (+cflags): Add +math-flags so that all of glibc gets compiled with
3034 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3036 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3038 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3044 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3045 (__ieee754_expl): Allow for and saturate large arguments.
3046 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3047 (u_threshold): Likewise.
3048 (__exp): Call __ieee754_exp before checking for overflow and
3050 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3051 (u_threshold): Likewise.
3052 (__expf): Call __ieee754_expf before checking for overflow and
3054 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3055 (u_threshold): Likewise.
3056 (__expl): Call __ieee754_expl before checking for overflow and
3058 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3059 (__ieee754_expl): Allow for and saturate large arguments.
3060 * math/libm-test.inc (exp_test): Add another test. Do not allow
3061 missing overflow exception on overflow.
3062 (expm1_test): Do not allow missing overflow exception on overflow.
3064 * sysdeps/i386/fpu/e_expl.c: Move to ...
3065 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3066 rather than using inline asm.
3067 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3068 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3069 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3071 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3078 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3080 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3081 sysdeps/unix/common/syscalls.list.
3084 (ftruncate): Likewise.
3085 (getrusage): Likewise.
3086 (gettimeofday): Likewise.
3087 (setpgid): Likewise.
3088 (setregid): Likewise.
3089 (setreuid): Likewise.
3090 (sigaction): Likewise.
3091 (truncate): Likewise.
3092 (vhangup): Likewise.
3093 * sysdeps/unix/common/syscalls.list: Remove file.
3094 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3095 * sysdeps/unix/sysv/linux/Implies: Likewise.
3097 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3099 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3101 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3105 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3108 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3110 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3111 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3114 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3117 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3120 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3123 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3127 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3131 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3134 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3138 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3142 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3144 * sysdeps/unix/common/bits/dirent.h: Remove file.
3145 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3147 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3148 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3149 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3150 * sysdeps/unix/bsd/isatty.c: Likewise.
3151 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3152 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3153 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3155 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3159 long double comparison inaccuracies.
3160 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3163 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3165 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3166 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3168 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3171 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3172 nonzero digits before rounding a hex value.
3173 * stdlib/tst-strtod.c (tests): Add another test.
3175 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3177 * sysdeps/s390/fpu/libm-test-ulps: Update.
3179 2012-05-03 Andreas Jaeger <aj@suse.de>
3181 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3182 does not get optimized out.
3183 (malloc_opt_barrier): New.
3185 2012-05-03 Andreas Jaeger <aj@suse.de>
3186 Roland McGrath <roland@hack.frob.com>
3188 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3189 intermediate file deletion.
3190 (generated): Add .symlist files.
3192 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3195 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3196 Redirect under this condition.
3197 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3198 [__USE_GNU] (__dprintf_chk): Not under this condition.
3199 [__USE_GNU] (__vdprintf_chk): Likewise.
3200 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3201 under this condition.
3202 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3203 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3204 [__USE_XOPEN2K8] (vdprintf): Likewise.
3205 [__USE_GNU] (__dprintf_chk): Not under this condition.
3206 [__USE_GNU] (__vdprintf_chk): Likewise.
3207 [__USE_GNU] (dprintf): Likewise.
3208 [__USE_GNU] (vdprintf): Likewise.
3210 2012-05-03 Roland McGrath <roland@hack.frob.com>
3212 * elf/Makefile (common-generated): Set this instead of generated for
3213 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3214 $(all-built-dso)-derived lists.
3216 2012-05-03 Andreas Jaeger <aj@suse.de>
3218 * sysdeps/i386/fpu/libm-test-ulps: Update.
3222 * scripts/gen-FAQ.pl: Likewise.
3223 * manual/install.texi (Installation): Point to online location of
3225 * Makefile (files-for-dist): Remove FAQ.
3228 2012-05-02 Allan McRae <allan@archlinux.org>
3230 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3231 (LDFLAGS-reldepmod5.so): Likewise.
3232 (LDFLAGS-reldep6mod1.so): Likewise.
3233 (LDFLAGS-reldep6mod4.so): Likewise.
3234 (LDFLAGS-reldep8mod3.so): Likewise.
3235 (LDFLAGS-unload4mod1.so): Likewise.
3236 (LDFLAGS-unload4mod2.so): Likewise.
3237 (LDFLAGS-tst-initorder): Likewise.
3238 (LDFLAGS-tst-initordera2.so): Likewise.
3239 (LDFLAGS-tst-initordera3.so): Likewise.
3240 (LDFLAGS-tst-initordera4.so): Likewise.
3241 (LDFLAGS-tst-initorderb2.so): Likewise.
3242 (LDFLAGS-noload): Likewise.
3243 (LDFLAGS-next): Likewise.
3244 (LDFLAGS-order2mod1.so): Likewise.
3245 (LDFLAGS-order2mod2.so): Likewise.
3246 (LDFLAGS-tst-initorder2): Likewise.
3247 (LDFLAGS-tst-initorder2a.so): Likewise.
3248 (LDFLAGS-tst-initorder2b.so): Likewise.
3249 (LDFLAGS-tst-initorder2c.so): Likewise.
3250 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3252 2012-05-02 David S. Miller <davem@davemloft.net>
3254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3256 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3259 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3261 2012-05-02 Andreas Jaeger <aj@suse.de>
3263 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3264 since we manipulate rounding mode.
3265 (CPPFLAGS-test-idouble.c): Likewise.
3266 (CPPFLAGS-test-ifloat.c): Likewise.
3267 (CFLAGS-test-ldouble.c): Likewise.
3268 (CFLAGS-test-double.c): Likewise.
3269 (CFLAGS-test-float.c): Likewise.
3270 (CFLAGS-test-misc.c): Likewise.
3271 (CFLAGS-test-test-fenv.c): Likewise.
3273 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3277 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3278 comparisons to determine direction to adjust input.
3280 2012-05-01 Roland McGrath <roland@hack.frob.com>
3282 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3283 output to the target.
3285 * scripts/localplt.awk: New file.
3286 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3287 (check-localplt-CFLAGS): Variable removed.
3288 ($(all-built-dso:=.jmprel)): New static pattern rule.
3289 (generated): Add those targets.
3290 (localplt-built-dso): New variable.
3291 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3293 * elf/check-localplt.c: File removed.
3295 * scripts/check-execstack.awk: New file.
3296 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3297 (check-execstack-CFLAGS): Variable removed.
3298 ($(objpfx)check-execstack.h): Target removed.
3299 ($(objpfx)execstack-default): New target.
3300 (generated): Add that instead of check-execstack.h.
3301 ($(all-built-dso:=.phdr)): New static pattern rule.
3302 (generated): Add those targets.
3303 * elf/check-execstack.c: File removed.
3305 * scripts/check-textrel.awk: New file.
3306 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3307 (check-textrel-CFLAGS): Variable removed.
3308 (all-built-dso): Use := to define.o
3309 ($(all-built-dso:=.dyn)): New static pattern rule.
3310 (generated): Add those targets.
3311 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3312 * config.make.in (READELF): New substituted variable.
3313 * elf/check-textrel.c: File removed.
3315 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3317 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3319 * conform/data/ctype.h-data [C99-based standards] (isblank):
3321 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3322 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3323 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3324 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3325 Specify type. Require positive value.
3328 [ISO || POSIX] (EILSEQ): Do not expect.
3329 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3330 Specify type. Require positive value.
3331 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3332 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3333 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3334 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3335 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3336 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3337 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3338 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3339 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3340 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3341 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3342 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3343 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3344 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3345 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3346 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3347 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3348 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3349 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3350 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3351 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3352 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3353 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3354 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3355 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3356 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3357 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3358 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3359 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3360 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3361 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3362 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3363 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3364 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3365 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3366 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3367 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3368 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3369 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3370 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3371 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3372 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3373 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3374 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3375 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3376 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3377 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3378 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3379 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3380 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3381 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3382 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3383 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3384 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3385 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3386 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3387 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3388 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3389 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3390 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3391 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3392 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3393 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3394 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3395 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3396 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3397 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3398 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3399 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3400 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3401 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3402 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3403 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3404 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3405 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3406 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3407 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3409 (FLT_ROUNDS): Expect as macro, not constant.
3410 (FLT_MANT_DIG): Use macro-int-constant.
3411 (DBL_MANT_DIG): Likewise.
3412 (LDBL_MANT_DIG): Likewise.
3413 (FLT_DIG): Likewise.
3414 (DBL_DIG): Likewise.
3415 (LDBL_DIG): Likewise.
3416 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3417 (DBL_MIN_EXP): Likewise.
3418 (LDBL_MIN_EXP): Likewise.
3419 (FLT_MAX_EXP): Use macro-int-constant.
3420 (DBL_MAX_EXP): Likewise.
3421 (LDBL_MAX_EXP): Likewise.
3422 (FLT_MAX_10_EXP): Likewise.
3423 (DBL_MAX_10_EXP): Likewise.
3424 (LDBL_MAX_10_EXP): Likewise.
3425 (FLT_MAX): Use macro-constant.
3426 (DBL_MAX): Likewise.
3427 (LDBL_MAX): Likewise.
3428 (FLT_EPSILON): Use macro-constant. Give upper bound.
3429 (DBL_EPSILON): Likewise.
3430 (LDBL_EPSILON): Likewise.
3431 (FLT_MIN): Likewise.
3432 (DBL_MIN): Likewise.
3433 (LDBL_MIN): Likewise.
3434 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3435 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3436 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3437 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3438 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3439 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3440 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3441 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3442 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3443 [ISO11] (FLT_TRUE_MIN): Likewise.
3444 [ISO11] (LDBL_TRUE_MIN): Likewise.
3445 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3446 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3447 (SCHAR_MIN): Use macro-int-constant. Specify type.
3448 (SCHAR_MAX): Likewise.
3449 (UCHAR_MAX): Likewise.
3450 (CHAR_MIN): Likewise.
3451 (CHAR_MAX): Likewise.
3452 (MB_LEN_MAX): Use macro-int-constant.
3453 (SHRT_MIN): Use macro-int-constant. Specify type.
3454 (SHRT_MAX): Likewise.
3455 (USHRT_MAX): Likewise.
3456 (INT_MAX): Likewise.
3457 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3459 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3461 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3463 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3464 bound negative. Suffix upper bound with "L".
3465 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3467 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3469 [C99-based standards] (LLONG_MAX): Likewise.
3470 [C99-based standards] (ULLONG_MAX): Likewise.
3471 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3473 [ISO11] (max_align_t): Require type.
3474 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3476 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3477 from $CFLAGS, without defining away __attribute__ calls.
3478 (checknamespace): Use $CFLAGS_namespace.
3480 * conform/conformtest.pl (@keywords): Only include C99 keywords
3481 for standards based on C99 or C11.
3483 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3485 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3488 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3489 usability of symbols in #if.
3491 * conform/conformtest.pl: If macro or constant types start
3492 "promoted:", expect the symbol to be of the following type
3493 promoted by the integer promotions.
3495 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3496 in one place. Also handle "macro-constant".
3498 * conform/conformtest.pl: Only accept expected macro values with
3499 "==". Parse all "macro" lines in one place.
3500 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3502 * conform/conformtest.pl: Handle braced types on "constant" lines
3503 instead of handling "typed-constant".
3504 * conform/data/signal.h-data: Use "constant" instead of
3507 * conform/conformtest.pl: Handle "optional-" at start of lines in
3508 one place rather than duplicating several cases. Handle each
3509 format of "macro" line with initial "optional-".
3511 * conform/conformtest.pl: Only accept expected constant or
3512 optional-constant values with "==". Parse all "constant" lines in
3513 one place. Parse all "optional-constant" lines in one place.
3514 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3515 * conform/data/fmtmsg.h-data: Likewise.
3516 * conform/data/netinet/in.h-data: Likewise.
3517 * conform/data/tar.h-data: Likewise.
3518 * conform/data/limits.h-data: Use "==" form on "constant" and
3519 "optional-constant" lines.
3521 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3522 Use -std=c99 for XOPEN2K.
3523 (@knownproblems): Remove.
3524 (newtoken): Don't check %isknown.
3526 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3527 Do not expect macro.
3528 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3529 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3530 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3532 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3533 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3534 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3535 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3536 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3540 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3541 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3544 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3546 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3547 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3548 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3549 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3550 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3551 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3552 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3553 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3554 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3555 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3556 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3557 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3558 [XPG3] (acosh): Likewise.
3559 [XPG3] (asinh): Likewise.
3560 [XPG3] (atanh): Likewise.
3561 [XPG3] (cbrt): Likewise.
3562 [XPG3] (expm1): Likewise.
3563 [XPG3] (ilogb): Likewise.
3564 [XPG3] (log1p): Likewise.
3565 [XPG3] (logb): Likewise.
3566 [XPG3] (nextafter): Likewise.
3567 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3568 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3569 [XPG3] (remainder): Likewise.
3570 [XPG3] (rint): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3573 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3574 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3575 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3576 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3577 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3578 [UNIX98 || XOPEN2K] (scalb): Expect.
3579 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3580 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3586 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3587 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3588 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3591 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3592 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3616 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3617 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3618 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3619 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3620 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3621 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3622 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3623 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3624 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3625 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3626 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3627 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3628 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3629 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3630 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3631 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3632 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3633 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3634 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3635 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3636 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3637 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3638 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3639 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3640 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3641 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3642 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3643 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3644 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3645 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3646 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3647 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3648 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3649 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3650 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3654 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3655 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3656 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3662 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3663 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3697 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3702 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3703 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3704 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3705 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3706 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3707 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3708 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3709 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3710 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3713 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3714 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3715 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3717 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3718 _XOPEN_SOURCE_EXTENDED for XPG4.
3720 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3722 * Makeconfig (localtime): Remove variable.
3723 (inst_localtime-file): Likewise.
3725 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3746 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3750 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3751 comparisons to determine direction to adjust input.
3752 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3753 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3754 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3756 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3758 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3760 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3761 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3763 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3765 * math/libm-test.inc (nexttoward_test): Add more tests.
3767 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3770 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3771 in version GLIBC_2.1, not GLIBC_2.0.
3772 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3775 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3778 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3780 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3781 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3782 * math/libm-test.inc (acos_test): Add more tests.
3783 (asin_test): Likewise.
3784 * sysdeps/i386/fpu/libm-test-ulps: Update.
3785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3788 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3790 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3791 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3792 * math/libm-test.inc (acos_test_tonearest): New function.
3793 (acos_test_towardzero): Likewise.
3794 (acos_test_downward): Likewise.
3795 (acos_test_upward): Likewise.
3796 (asin_test_tonearest): Likewise.
3797 (asin_test_towardzero): Likewise.
3798 (asin_test_downward): Likewise.
3799 (asin_test_upward): Likewise.
3800 (main): Call the new functions.
3801 * sysdeps/i386/fpu/libm-test-ulps: Update.
3802 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3806 * math/e_exp10.c: Include <float.h>.
3807 (__ieee754_exp10): Handle underflow here rather than multiplying
3808 large negative argument by M_LN10.
3809 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3811 * math/e_exp10l.c: Include <float.h>.
3812 (__ieee754_exp10l): Handle underflow here rather than multiplying
3813 large negative argument by M_LN10l.
3814 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3815 spurious overflow exception on underflow.
3817 2012-04-29 Marek Polacek <polacek@redhat.com>
3819 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3820 (__fortify_function): New macro.
3821 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3822 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3823 __extern_always_inline.
3824 * libio/bits/stdio2.h: Likewise.
3825 * libio/bits/stdio.h: Likewise.
3826 * string/string.h: Likewise.
3827 * string/bits/string3.h: Likewise.
3828 * include/stdio.h: Likewise.
3829 * stdlib/bits/stdlib.h: Likewise.
3830 * stdlib/stdlib.h: Likewise.
3831 * rt/bits/mqueue2.h: Likewise.
3832 * rt/mqueue.h: Likewise.
3833 * posix/bits/unistd.h: Likewise.
3834 * posix/unistd.h: Likewise.
3835 * io/bits/poll2.h: Likewise.
3836 * io/bits/fcntl2.h: Likewise.
3837 * io/fcntl.h: Likewise.
3838 * io/sys/poll.h: Likewise.
3839 * misc/bits/syslog.h: Likewise.
3840 * misc/bits/syslog-ldbl.h: Likewise.
3841 * misc/sys/syslog.h: Likewise.
3842 * socket/bits/socket2.h: Likewise.
3843 * socket/sys/socket.h: Likewise.
3844 * debug/tst-chk1.c: Likewise.
3845 * wcsmbs/bits/wchar2.h: Likewise.
3846 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3847 * wcsmbs/wchar.h: Likewise.
3849 2012-04-29 Andreas Jaeger <aj@suse.de>
3851 * Makerules (tests): Remove enable-check-abi protection.
3852 (check-abi-warn): Remove.
3853 (check-abi-%): Remove check-abi-warn usage.
3855 * configure.in: Remove check-abi configure option.
3856 * configure: Regenerated.
3857 * config.make.in (enable-check-abi): Remove.
3859 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3862 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3863 double functions to double *_finite functions.
3866 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3867 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3869 * stdio-common/Makefile (tests): Add tst-sprintf3.
3870 * stdio-common/tst-sprintf3.c: New file.
3872 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3873 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3875 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3877 * conform/conformtest.pl: Remove duplicate typed-constant
3880 2012-04-28 David S. Miller <davem@davemloft.net>
3882 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3883 (check-abi-%): Remove AWK script prerequisite and explicit
3885 (check-abi): Rewrite to just diff the symlist with the abilist.
3886 (config-tls, config-abi-config): Delete, no longer used.
3887 (update-abi-%): Remove AWK script and explicit abilist directory.
3888 (update-abi): Rewrite to simply compare and conditionally copy the
3889 symlist and the sysdep abilist file. Remove update-abi-config
3891 * abilist/ld.abilist: Remove.
3892 * abilist/libBrokenLocale.abilist: Remove.
3893 * abilist/libanl.abilist: Remove.
3894 * abilist/libcrypt.abilist: Remove.
3895 * abilist/libdl.abilist: Remove.
3896 * abilist/librt.abilist: Remove.
3897 * abilist/libthread_db.abilist: Remove.
3898 * abilist/libutil.abilist: Remove.
3899 * scripts/extract-abilist.awk: Remove.
3900 * scripts/merge-abilist.awk: Remove.
3901 * sysdeps/generic/libcidn.abilist: New file.
3902 * sysdeps/generic/libnss_compat.abilist: New file.
3903 * sysdeps/generic/libnss_db.abilist: New file.
3904 * sysdeps/generic/libnss_dns.abilist: New file.
3905 * sysdeps/generic/libnss_files.abilist: New file.
3906 * sysdeps/generic/libnss_hesiod.abilist: New file.
3907 * sysdeps/generic/libnss_nis.abilist: New file.
3908 * sysdeps/generic/libnss_nisplus.abilist: New file.
3909 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3910 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3911 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3913 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3914 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3915 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3916 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3917 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3918 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3919 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3920 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3921 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3923 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3924 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3925 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3926 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3928 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3929 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3930 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3931 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3932 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3933 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3935 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3936 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3937 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3939 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4042 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4043 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4044 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4046 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4047 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4048 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4049 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4050 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4051 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4052 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4053 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4054 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4055 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4107 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4109 * conform/conformtest.pl: Fix typo in handling typed-constant from
4112 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4114 * README: Cut down references to pre-2.6 Linux kernels and
4115 Linuxthreads. Update lists of configurations in libc and ports
4116 and sort alphabetically. Say "or newer" with Linux kernel version
4119 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4121 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4124 * math/libm-test.inc (logb_test_downward): New test to expose
4125 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4128 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4131 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4133 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4134 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4136 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4138 * sysdeps/unix/i386/brk.S: Remove file.
4139 * sysdeps/unix/i386/dl-brk.S: Likewise.
4140 * sysdeps/unix/i386/pipe.S: Likewise.
4141 * sysdeps/unix/i386/sigreturn.S: Likewise.
4142 * sysdeps/unix/i386/syscall.S: Likewise.
4143 * sysdeps/unix/i386/vfork.S: Likewise.
4144 * sysdeps/unix/i386/wait.S: Likewise.
4146 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4147 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4149 * configure.in (arm*-none*): Do not allow without
4150 --enable-hacker-mode.
4151 (netbsd*): Remove case setting base_os.
4152 (386bsd*): Likewise.
4153 (freebsd*): Likewise.
4157 (ultrix*): Likewise.
4158 (newsos*): Likewise.
4168 (solaris[2-9]*): Likewise.
4170 * configure: Regenerated.
4172 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4175 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4176 overflow or cancellation in calculating denominator.
4177 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4178 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4179 down expression to avoid unexpected rounding in newer GCCs.
4180 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4182 2012-04-26 David S. Miller <davem@davemloft.net>
4184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4185 long-double compat symbols.
4186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4200 2012-04-25 David S. Miller <davem@davemloft.net>
4202 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4203 HWCAP_* values only after the memory barriers have been defined.
4204 (atomic_full_barrier): Define.
4205 (atomic_read_barrier): Define.
4206 (atomic_write_barrier): Define.
4208 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4210 * shlib-versions: Add libgcc_s version information.
4211 * sysdeps/generic/libgcc_s.h: Remove.
4212 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4214 * sysdeps/gnu/unwind-resume.c: Likewise.
4215 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4217 2012-04-25 David S. Miller <davem@davemloft.net>
4219 * sysdeps/unix/sparc/brk.S: Delete.
4220 * sysdeps/unix/sparc/dl-brk.S: Delete.
4221 * sysdeps/unix/sparc/pipe.S: Delete.
4222 * sysdeps/unix/sparc/sysdep.S: Delete.
4223 * sysdeps/unix/sparc/sysdep.h: Delete.
4224 * sysdeps/unix/sparc/vfork.S: Delete.
4225 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4226 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4227 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4228 ret_ERRVAL, r0, r1, MOVE): Define.
4229 (JUMPTARGET): Remove.
4230 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4231 sysdeps/unix/sparc/sysdep.h
4232 (ENTRY, END): Remove.
4233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4235 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4237 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4238 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4241 * timezone/README: Update upstream location and email address for
4243 * timezone/zdump.c: Update from tzcode 2012b.
4244 * timezone/zic.c: Likewise.
4246 * configure.in (libc_cv_as_needed): Remove test.
4247 * configure: Regenerated.
4248 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4249 conditional definition.
4250 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4251 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4252 * config.make.in (have-as-needed): Remove variable.
4254 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4255 Paul Pluzhnikov <ppluzhnikov@google.com>
4257 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4260 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4262 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4263 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4264 * sysdeps/sh/strlen.S: Likewise.
4266 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4268 * sysdeps/unix/fork.S: Remove file.
4269 * sysdeps/unix/i386/fork.S: Likewise.
4270 * sysdeps/unix/sparc/fork.S: Likewise.
4272 * sysdeps/unix/system.c: Remove file.
4273 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4275 * sysdeps/unix/getegid.S: Remove file.
4276 * sysdeps/unix/geteuid.S: Likewise.
4278 2012-04-24 Roland McGrath <roland@hack.frob.com>
4280 * scripts/check-localplt.awk: New file.
4281 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4283 * scripts/data/localplt-generic.data: Add a comment.
4285 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4286 NODE when __dir_mkfile failed.
4287 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4288 Reported by Ludovic Courtès <ludo@gnu.org>.
4290 2012-04-24 Andreas Jaeger <aj@suse.de>
4292 * Makerules (common-clean): Also remove gen-as-const-headers
4295 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4297 * Makerules (native-compile): Do not change working directory for
4298 build. Use $(OUTPUT_OPTION) in command.
4299 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4301 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4304 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4305 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4306 * math/libm-test.inc (floor_test): Add more tests.
4307 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4309 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4311 * sysdeps/unix/getdents.c: Remove file.
4312 * sysdeps/unix/sysv/getdents.c: Likewise.
4313 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4315 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4316 sysdeps/unix/mman/syscalls.list.
4318 (mprotect): Likewise.
4321 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4322 * sysdeps/unix/mman/syscalls.list: Remove.
4323 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4325 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4326 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4327 * configure: Regenerated.
4328 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4330 * config.make.in (libgcc_s_suffix): Remove variable.
4332 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4334 * sysdeps/unix/sysv/gethostname.c: Move to ...
4335 * sysdeps/posix/gethostname.c: ... here.
4337 * sysdeps/unix/execve.S: Remove file.
4339 * sysdeps/unix/_exit.S: Remove file.
4341 2012-04-23 Andreas Jaeger <aj@suse.de>
4344 * manual/Makefile: Remove make dist support, there's no
4345 need for a stand-alone documentation tar ball.
4346 (TEXI2DVI): Define always, it's not in Makeconfig.
4350 (glibc-doc-$(edition).tar): Removed
4354 (ETAGS): Remove, it's in Makeconfig.
4355 (move-if-change): Remove, it's in Makeconfig.
4357 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4360 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4361 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4362 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4363 (strtod_l, strtof_l, strtold_l): Remove __wur.
4364 It is not necessarily an error to ignore strtol's return value.
4365 One can reliably look at the stored endptr to decide whether
4366 the number had valid syntax.
4368 2012-04-21 Andreas Jaeger <aj@suse.de>
4371 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4373 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4375 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4376 * sysdeps/unix/sysv/Versions: Remove file.
4378 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4383 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4386 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4387 version from __vm86.
4389 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4391 * sysdeps/unix/common/lxstat.c: Remove file.
4392 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4394 * sysdeps/unix/sysv/Makefile: Remove file.
4396 * sysdeps/unix/sysv/direct.h: Remove file.
4398 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4399 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4400 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4401 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4402 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4403 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4404 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4406 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4408 * sysdeps/unix/xmknod.c: Remove file.
4409 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4411 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4413 * sysdeps/unix/sysv/i386/time.S: Remove file.
4415 * sysdeps/unix/fxstat.c: Remove file.
4416 * sysdeps/unix/xstat.c: Likewise.
4417 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4419 * sysdeps/unix/sysv/sigaction.c: Remove file.
4421 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4422 (sysdep_headers): Remove variable.
4423 [termio.h not in sysdep_headers] (generated): Likewise.
4424 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4425 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4426 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4427 * sysdeps/unix/sysv/tcflow.c: Likewise.
4428 * sysdeps/unix/sysv/tcflush.c: Likewise.
4429 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4430 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4431 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4432 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4433 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4435 * sysdeps/unix/siglist.c: Remove file.
4437 * sysdeps/unix/getppid.S: Remove file.
4439 * sysdeps/unix/mkdir.c: Remove file.
4440 * sysdeps/unix/rmdir.c: Likewise.
4442 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4444 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4446 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4447 errlist-compat value.
4449 2012-04-18 David S. Miller <davem@davemloft.net>
4451 * sysdeps/generic/memcopy.h (reg_char): Delete.
4452 * debug/strcat_chk.c: Use char, not reg_char.
4453 * debug/strcpy_chk.c: Likewise.
4454 * debug/strncat_chk.c: Likewise.
4455 * debug/strncpy_chk.c: Likewise.
4456 * string/memchr.c: Likewise.
4457 * string/memrchr.c: Likewise.
4458 * string/rawmemchr.c: Likewise.
4459 * string/strcat.c: Likewise.
4460 * string/strchr.c: Likewise.
4461 * string/strchrnul.c: Likewise.
4462 * string/strcmp.c: Likewise.
4463 * string/strcpy.c: Likewise.
4464 * string/strncat.c: Likewise.
4465 * string/strncmp.c: Likewise.
4466 * string/strncpy.c: Likewise.
4468 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4470 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4471 __builtin_memcopy is called when src and dest ranges are known to not
4474 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4476 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4477 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4478 fwd_align_merge macro call.
4479 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4480 bwd_align_merge macro call.
4481 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4483 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4485 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4486 bwd_align_merge macros.
4487 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4488 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4489 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4491 2012-04-18 David S. Miller <davem@davemloft.net>
4493 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4495 2012-04-18 Andreas Jaeger <aj@suse.de>
4498 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4499 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4500 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4502 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4503 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4504 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4506 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4507 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4508 Adjust for changed ldbl-128 files.
4510 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4511 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4512 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4514 2012-04-17 David S. Miller <davem@davemloft.net>
4516 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4518 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4520 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4521 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4522 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4523 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4524 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4525 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4527 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4530 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4531 * math/libm-test.inc: Add ilogb errno and exception tests.
4532 * math/w_ilogb.c: New file: ilogb wrapper.
4533 * math/w_ilogbf.c: New file: ilogbf wrapper.
4534 * math/w_ilogbl.c: New file: ilogbl wrapper.
4535 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4536 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4537 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4538 exception being thrown with 0.0 as argument.
4539 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4540 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4541 exception being thrown with 0.0 as argument.
4542 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4543 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4544 exception being thrown with 0.0 as argument.
4545 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4546 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4547 exception being thrown with 0.0 as argument.
4548 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4549 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4550 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4551 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4552 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4553 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4554 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4555 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4556 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4558 2012-04-17 Petr Baudis <pasky@ucw.cz>
4560 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4563 2012-04-16 Marek Polacek <polacek@redhat.com>
4565 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4567 2012-04-16 Marek Polacek <polacek@redhat.com>
4569 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4570 operands of fdivp instruction.
4572 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4574 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4575 * elf/tst-auditmod3b.c: Likewise.
4576 * elf/tst-auditmod4b.c: Likewise.
4577 * elf/tst-auditmod5b.c: Likewise.
4578 * elf/tst-auditmod6b.c: Likewise.
4579 * elf/tst-auditmod6c.c: Likewise.
4580 * elf/tst-auditmod7b.c: Likewise.
4581 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4582 * sysdeps/x86_64/preconfigure.in: Likewise.
4583 * sysdeps/x86_64/preconfigure: Regenerated.
4585 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4587 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4590 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4592 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4593 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4595 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4598 * locale/iso-639.def: Fix gl language name. Spotted by
4601 2012-04-12 Roland McGrath <roland@hack.frob.com>
4604 * libio/libio.h (__io_write_fn): Update comment.
4606 2012-04-12 Petr Baudis <pasky@ucw.cz>
4609 * stdio.texi (Hook Functions): The user provided writer function
4610 is not allowed to return -1.
4612 2012-04-11 David S. Miller <davem@davemloft.net>
4614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4616 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4618 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4619 Add a leading slash to rtkaio.
4621 2012-04-11 Jim Meyering <meyering@redhat.com>
4624 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4625 It is not necessarily an error to ignore fwrite's return
4626 value. One can reliably use ferror to test for errors after
4629 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4631 * bits/types.h (__snseconds_t): New type.
4632 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4634 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4635 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4636 (__SNSECONDS_T_TYPE): Likewise.
4637 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4638 (__SNSECONDS_T_TYPE): Likewise.
4639 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4640 (__SNSECONDS_T_TYPE): Likewise.
4642 2012-04-10 Andreas Jaeger <aj@suse.de>
4645 * manual/time.texi (Processor Time): Return type of times is
4646 elapsed real time since an arbitrary point in the past.
4647 (CPU Time): Move CLK_TCK from here...
4648 (Processor Time): ...to here. Correct description.
4649 * manual/conf.texi (Constants for Sysconf): Correct description of
4652 2012-04-10 David S. Miller <davem@davemloft.net>
4655 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4656 where the is a gap between DT_REL(A) and DT_JMPREL.
4658 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4660 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4661 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4662 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4664 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4666 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4667 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4668 (dl_main): Handle --inhibit-cache.
4669 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4671 * elf/dl-load.c (_dl_map_object): Use it.
4672 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4674 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4677 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4678 (__ieee754_powl): Saturate large exponents rather than testing for
4679 overflow of y*log2(x).
4680 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4681 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4685 * math/s_ctan.c: Include <float.h>.
4686 (__ctan): Avoid internal overflow or cancellation in calculating
4688 * math/s_ctanf.c: Likewise.
4689 * math/s_ctanl.c: Likewise.
4690 * math/s_ctanh.c: Likewise.
4691 * math/s_ctanhf.c: Likewise.
4692 * math/s_ctanhl.c: Likewise.
4693 * math/libm-test.inc (ctan_test): Add more tests.
4694 (ctanh_test): Likewise.
4695 * sysdeps/i386/fpu/libm-test-ulps: Update.
4696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4698 2012-04-09 Andreas Jaeger <aj@suse.de>
4701 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4702 is an optional BSD extension.
4705 * manual/stdio.texi (Opening Streams): Document additional fopen
4708 2012-04-09 Roland McGrath <roland@hack.frob.com>
4710 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4711 %eax without telling the compiler.
4713 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4716 * manual/install.texi: Use sourceware.org.
4718 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4721 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4722 (__ieee754_pow): Generate overflow and underflow using huge*huge
4723 and tiny*tiny rather than just returning constant infinity or zero
4724 for large exponents.
4725 * math/libm-test.inc (pow_test): Require overflow exceptions for
4726 applicable cases of large exponents.
4729 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4730 (__ieee754_pow): Use iterative multiplication algorithm only for
4731 integer exponents with absolute value below 1024. Check for odd
4732 integer exponents when using algorithm for real exponents.
4733 * math/libm-test.inc (pow_test): Add more tests.
4734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4736 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4739 * math/libm-test.inc (exp_test): Do not allow overflow exception
4742 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4745 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4746 instead of __kernel_standard_f.
4748 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4750 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4751 * sysdeps/x86_64/memset_chk.S: Likewise.
4753 2012-04-08 Andreas Jaeger <aj@suse.de>
4756 * manual/startup.texi (Environment Access): Describe return value
4757 for putenv and setenv.
4760 * manual/filesys.texi (Directory Entries): Add description for
4764 * manual/filesys.texi (Directory Entries): Clarify that it's file
4765 system not operating system in the description of DT_UNKNOWN.
4768 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4770 2012-04-08 Stephen Compall <s11@member.fsf.org>
4773 * manual/llio.texi (Opening and Closing Files): Add cross
4774 reference to explain mode argument.
4776 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4778 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4779 * sysdeps/x86_64/memset_chk.S: Likewise.
4781 2012-04-07 David S. Miller <davem@davemloft.net>
4783 * elf/elf.h (R_SPARC_WDISP10): Define.
4784 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4786 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4787 R_SPARC_SIZE64 and R_SPARC_H34.
4789 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4791 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4792 conditions and remove no longer applicable assertion.
4794 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4796 * bits/byteswap.h: Include <features.h>.
4797 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4798 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4800 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4802 * bits/byteswap.h (__bswap_16): Removed.
4803 Include <bits/byteswap-16.h> to get __bswap_16.
4804 * sysdeps/i386/bits/byteswap.h: Likewise.
4805 * sysdeps/s390/bits/byteswap.h: Likewise.
4806 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4807 * bits/byteswap-16.h: New file.
4808 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4809 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4810 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4811 * string/Makefile (headers): Add bits/byteswap-16.h.
4813 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4816 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4818 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4819 * nss/tst-nss-static.c: New.
4821 2012-04-06 Robert Millan <rmh@gnu.org>
4824 * manual/llio.texi (File Position Primitive): lseek
4825 refers to WHENCE when it really means OFFSET.
4827 2012-04-06 Andreas Jaeger <aj@suse.de>
4829 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4830 strncmp declarations.
4832 * abilist/libc.abilist: Add __poll and __ppoll.
4834 2012-04-05 David S. Miller <davem@davemloft.net>
4836 * scripts/check-local-headers.sh: Accept a host triplet in the
4837 path matched by the exclude regexp.
4839 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4841 * sysdeps/powerpc/powerpc32/dl-machine.h
4842 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4843 * sysdeps/s390/s390-32/dl-machine.h
4844 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4845 * sysdeps/sparc/sparc32/dl-machine.h
4846 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4847 * sysdeps/sparc/sparc64/dl-machine.h
4848 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4850 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4852 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4853 undefined symbol errors.
4855 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4858 2012-04-05 Michael Matz <matz@suse.de>
4861 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4863 2012-04-05 Andreas Jaeger <aj@suse.de>
4866 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4869 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4871 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4872 which ROUND is no valid rounding mode.
4874 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4876 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4878 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4880 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4882 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4883 an exception using FPU order intentionally.
4885 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4887 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4888 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4889 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4890 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4892 2012-04-05 Simon Josefsson <simon@josefsson.org>
4895 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4896 EINVAL when BUFLEN is too smal.
4898 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4901 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4902 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4904 2012-04-03 Andreas Jaeger <aj@suse.de>
4907 * manual/setjmp.texi (System V contexts): Fix sentence.
4910 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4911 New macro for this case.
4912 [!__GNUC__] (__bswap_64): New inline function for this case.
4913 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4914 * bits/byteswap.h: Likewise.
4915 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4916 ull, guard with __GLIBC_HAVE_LONG_LONG.
4918 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4919 __GLIBC_HAVE_LONG_LONG.
4921 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4922 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4924 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4927 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4928 inptr and inend, rather than using last_ch.
4930 2012-04-02 David S. Miller <davem@davemloft.net>
4932 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4933 * stdio-common/printf-parse.h (read_int): Change return type to
4934 'int', return -1 on INT_MAX overflow.
4935 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4936 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4937 overflows INT_MAX. Check for overflow of in-format-string precision
4938 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4939 SIZE_MAX not INT_MAX for integer overflow test.
4940 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4941 skip the construct in the format string but do not record anything.
4942 * stdio-common/bug22.c: Adjust to test both width/prevision
4943 INT_MAX overflow as well as total length INT_MAX overflow. Check
4944 explicitly for proper errno values.
4946 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4948 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4950 * string/test-strcmp.c [! WIDE]: Likewise.
4951 * time/tst-mktime2.c: Likewise for INT_MAX.
4952 * string/test-string.h: #include <sys/param.h> for MIN.
4954 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4955 * sysdeps/i386/init-first.c (init): Likewise.
4956 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4957 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4958 * sysdeps/sh/init-first.c (init): Likewise.
4960 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4962 * po/ru.po: Update from translation team.
4963 * po/vi.po: Likewise.
4965 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4967 * resolv/nss_dns/dns-host.c: Merge copyright years.
4969 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4971 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4972 Optimize memcpy with prefetch if
4973 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4974 src, dst pointers have unequal 16 byte alignments.
4976 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4979 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4980 from a CNAME entry and return the minimum ttl for the query.
4981 (gaih_getanswer_slice): Likewise.
4983 2012-03-30 Jeff Law <law@redhat.com>
4985 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4987 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4988 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4990 * resolv/nss_dns/dns-host.c: Update copyright year.
4992 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4994 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4995 requests to save a system call. Fix check that all bytes are sent.
4997 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4998 comments for sendmmsg.
5000 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5003 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5004 with only 1 character between 0x0041 and 0x01b0.
5005 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5006 * wcsmbs/tst-mbsnrtowcs.c: New file.
5008 2012-03-29 David S. Miller <davem@davemloft.net>
5010 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5011 small copies by hand.
5013 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5016 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5017 _nss_compat_initgroups_dyn): Fall back to malloc/free
5018 for large group memberships.
5020 2012-03-28 David S. Miller <davem@davemloft.net>
5022 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5023 that branches into memcpy.
5024 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5025 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5026 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5027 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5028 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5030 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5032 * sysdeps/sparc/mempcpy.S: New file.
5034 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5035 the IFUNC routine in the libc case.
5036 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5038 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5039 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5040 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5041 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5042 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5043 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5044 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5045 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5047 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5048 loop to 256 bytes instead of 64 bytes and fix test signedness.
5050 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5051 * sysdeps/sparc/sparc32/Makefile: rather than here...
5052 * sysdeps/sparc/sparc64/Makefile: and here.
5054 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5056 * malloc/mallocbug.c: Avoid warnings about unused variables.
5058 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5061 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5062 in the right place. Discard and retry query if response is
5063 larger than input buffer size.
5065 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5070 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5071 x for large integer exponent.
5072 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5073 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5074 sign of result as needed afterwards.
5075 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5076 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5077 result for underflowing pow the same as for overflow.
5078 (__kernel_standard_l): Handle powl overflow and underflow here
5079 rather than calling __kernel_standard.
5080 * math/libm-test.inc (pow_test): Add more tests.
5095 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5096 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5097 (__kernel_standard_l): New function.
5098 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5100 * math/w_acosl.c (__acosl): Likewise.
5101 * math/w_asinl.c (__asinl): Likewise.
5102 * math/w_atan2l.c (__atan2l): Likewise.
5103 * math/w_atanhl.c (__atanhl): Likewise.
5104 * math/w_coshl.c (__coshl): Likewise.
5105 * math/w_exp10l.c (__exp10l): Likewise.
5106 * math/w_exp2l.c (__exp2l): Likewise.
5107 * math/w_fmodl.c (__fmodl): Likewise.
5108 * math/w_hypotl.c (__hypotl): Likewise.
5109 * math/w_j0l.c (__j0l, __y0l): Likewise.
5110 * math/w_j1l.c (__j1l, __y1l): Likewise.
5111 * math/w_jnl.c (__jnl, __ynl): Likewise.
5112 * math/w_lgammal.c (__lgammal): Likewise.
5113 * math/w_log10l.c (__log10l): Likewise.
5114 * math/w_log2l.c (__log2l): Likewise.
5115 * math/w_logl.c (__logl): Likewise.
5116 * math/w_powl.c (__powl): Likewise.
5117 * math/w_remainderl.c (__remainderl): Likewise.
5118 * math/w_scalbl.c (sysv_scalbl): Likewise.
5119 * math/w_sinhl.c (__sinhl): Likewise.
5120 * math/w_sqrtl.c (__sqrtl): Likewise.
5121 * math/w_tgammal.c (__tgammal): Likewise.
5122 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5123 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5124 * math/libm-test.inc (acos_test): Add more tests.
5125 (acosh_test): Likewise.
5126 (asin_test): Likewise.
5127 (atanh_test): Likewise.
5128 (exp_test): Likewise.
5129 (exp10_test): Likewise.
5130 (exp2_test): Likewise.
5131 (expm1_test): Likewise.
5132 (lgamma_test): Likewise.
5133 (log_test): Likewise.
5134 (log10_test): Likewise.
5135 (log1p_test): Likewise.
5136 (log2_test): Likewise.
5137 (pow_test): Do not allow some spurious overflow exceptions.
5138 (sqrt_test): Add more tests.
5139 (tgamma_test): Likewise.
5140 (y0_test): Likewise.
5141 (y1_test): Likewise.
5142 (yn_test): Likewise.
5144 2012-03-27 Anton Blanchard <anton@samba.org>
5146 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5148 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5149 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5150 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5152 2012-03-27 David S. Miller <davem@davemloft.net>
5154 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5156 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5159 2012-03-27 Andreas Jaeger <aj@suse.de>
5161 * sysdeps/x86_64/elf/configure.in: Moved to ...
5162 * sysdeps/x86_64/configure.in: ... here.
5163 * sysdeps/x86_64/elf/start.S: Moved to ...
5164 * sysdeps/x86_64/start.S: ... here.
5165 * sysdeps/x86_64/elf/configure: Delete.
5167 * sysdeps/x86_64/configure.in: Merge contents from
5168 sysdeps/i386/configure.in (without i686 check).
5170 * sysdeps/i386/elf/Versions: Merge into ...
5171 * sysdeps/i386/Versions: ... this.
5172 * sysdeps/i386/elf/Versions: Delete file.
5173 * sysdeps/i386/elf/start.S: Moved to ...
5174 * sysdeps/i386/start.S: ...here.
5175 * sysdeps/i386/elf/configure.in: Merge into...
5176 * sysdeps/i386/configure.in: ...here.
5177 * sysdeps/i386/elf/configure.in: Delete file.
5178 * sysdeps/i386/elf/configure: Delete file.
5180 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5181 * debug/backtracesyms.c: ... here.
5182 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5183 * debug/backtracesymsfd.c: ... here.
5184 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5185 * sysdeps/generic/ifunc-sel.h: ... here.
5187 * sysdeps/unix/i386/start.c: Delete file.
5188 * sysdeps/unix/sparc/start.c: Delete file.
5189 * sysdeps/unix/start.c: Delete file.
5191 * sysdeps/sh/elf/configure.in: Moved to ...
5192 * sysdeps/sh/configure.in: ... here.
5193 * sysdeps/sh/elf/start.S: Moved to ...
5194 * sysdeps/sh/start.S: ... here.
5195 * sysdeps/sh/elf/configure: Delete file.
5197 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5198 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5199 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5200 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5201 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5202 * sysdeps/powerpc/powerpc64/start.S: here.
5203 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5204 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5205 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5206 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5207 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5209 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5210 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5211 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5212 * sysdeps/powerpc/powerpc32/start.S: ... here.
5213 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5214 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5215 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5217 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5218 * sysdeps/powerpc/ifunc-sel.h: ... here.
5219 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5220 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5222 * sysdeps/sparc/elf/configure.in: Moved to ...
5223 * sysdeps/sparc/configure.in: ... here.
5224 * sysdeps/sparc/elf/configure: Delete file.
5225 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5226 * sysdeps/sparc/sparc32/start.S: ... here.
5227 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5228 * sysdeps/sparc/sparc64/start.S: ... here.
5229 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5230 * sysdeps/sparc/sparc32/Makefile: ... this.
5231 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5232 * sysdeps/sparc/sparc64/Makefile: ... this.
5234 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5235 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5236 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5237 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5238 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5239 * sysdeps/s390/s390-32/setjmp.S: ... here.
5240 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5241 * sysdeps/s390/s390-32/configure.in: ... here.
5242 * sysdeps/s390/s390-32/elf/configure: Delete file.
5243 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5244 * sysdeps/s390/s390-32/start.S: ... here.
5246 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5247 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5248 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5249 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5250 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5251 * sysdeps/s390/s390-64/setjmp.S: ... here.
5252 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5253 * sysdeps/s390/s390-64/configure.in: ... here
5254 * sysdeps/s390/s390-64/elf/configure: Delete file.
5255 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5256 * sysdeps/s390/s390-64/start.S: ... here.
5257 * sysdeps/s390/s390-64/elf/configure: Delete.
5259 * configure.in: Remove support for elf directories in sysdeps.
5261 * configure: Regenerated.
5262 * sysdeps/i386/configure: Regenerated.
5263 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5264 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5265 * sysdeps/s390/s390-32/configure: Regenerated.
5266 * sysdeps/s390/s390-64/configure: Regenerated.
5267 * sysdeps/sh/configure: Regenerated.
5268 * sysdeps/sparc/configure: Regenerated.
5269 * sysdeps/x86_64/configure: Regenerated.
5271 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5275 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5276 denormal result into account.
5278 2012-03-25 Roland McGrath <roland@hack.frob.com>
5280 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5281 Reported by Allan McRae <allan@archlinux.org>.
5283 2012-03-23 Jeff Law <law@redhat.com>
5285 * nss/getnssent.c (__nss_getent): Fix typo.
5287 2012-03-23 David S. Miller <davem@davemloft.net>
5289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5291 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5293 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5294 to pad to uint64_t for each field.
5295 (dl_tls_index): Replace unsigned long with uint64_t.
5297 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5298 Paul Pluzhnikov <ppluzhnikov@google.com>
5301 * grp/Makefile (otherlibs): Don't set it.
5302 * inet/Makefile (otherlibs): Likewise.
5303 * login/Makefile (otherlibs): Likewise.
5304 * nscd/Makefile (otherlibs): Likewise.
5305 * posix/Makefile (otherlibs): Likewise.
5306 * pwd/Makefile (otherlibs): Likewise.
5307 * rt/Makefile (otherlibs): Likewise.
5308 * sunrpc/Makefile (otherlibs): Likewise.
5309 * nss/Makefile (otherlibs): Likewise.
5310 Add libnss_files to routines and static-only-routines.
5311 ($(objpfx)getent): Remove rule.
5312 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5313 static-only-routines.
5315 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5318 * math/s_cexp.c: Include <float.h>.
5319 (__cexp): Handle exp result overflowing not necessarily
5320 overflowing both real and imaginary parts of result.
5321 * math/s_cexpf.c: Likewise.
5322 * math/s_cexpl.c: Likewise.
5323 * math/libm-test.inc (cexp_test): Add more tests.
5324 * sysdeps/i386/fpu/libm-test-ulps: Update.
5325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5327 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5329 * include/link.h (ELFW): New macro.
5330 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5331 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5333 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5335 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5338 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5340 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5342 (struct La_x32_retval): Likewise.
5344 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5346 * sysdeps/x86_64/preconfigure.in: New file.
5347 * sysdeps/x86_64/preconfigure: New generated file.
5349 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5352 * math/e_exp2l.c: Include <float.h>.
5353 (__ieee754_exp2l): Handle overflow and underflow cases
5354 separately. Only pass fractional part of argument to
5356 * math/libm-test.inc (exp2_test): Add more tests.
5358 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5359 negating x to take absolute value.
5360 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5362 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5363 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5365 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5366 computing low part if x was negated.
5367 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5369 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5371 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5373 (pltexit): Cast int_retval to ptrdiff_t.
5374 * elf/tst-auditmod3b.c: Likewise.
5375 * elf/tst-auditmod4b.c: Likewise.
5376 * elf/tst-auditmod5b.c: Likewise.
5377 * elf/tst-auditmod6b.c: Likewise.
5378 * elf/tst-auditmod6c.c: Likewise.
5379 * elf/tst-auditmod7b.c: Likewise.
5381 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5382 and x32_gnu_pltexit.
5384 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5386 (La_x32_regs): New macro.
5387 (La_x32_retval): Likewise.
5388 (la_x32_gnu_pltenter): New function prototype.
5389 (la_x32_gnu_pltexit): Likewise.
5391 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5393 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5398 * configure.in (libc_cv_cc_nofma): Check for option to disable
5399 generation of FMA instructions.
5400 * configure: Regenerate.
5401 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5402 * sysdeps/ieee754/dbl-64/Makefile: New file.
5403 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5404 Remove brandred-fma4.
5405 (CFLAGS-brandred-fma4.c): Remove.
5406 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5407 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5409 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5412 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5414 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5415 LLONG_MAX != LONG_MAX.
5416 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5417 (_fitoa_word): Likewise.
5418 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5419 LLONG_MAX != LONG_MAX.
5420 * stdio-common/_itowa.h: Include <_itoa.h>.
5421 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5422 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5423 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5424 only if not defined.
5425 (_ITOA_WORD_TYPE): Likewise.
5426 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5427 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5429 2012-03-21 David S. Miller <davem@davemloft.net>
5431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5433 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5435 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5436 of x86_64 when setting libc_cv_slibdir, libdir and
5438 * sysdeps/unix/sysv/linux/configure: Regenerated.
5440 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5442 * manual/lang.texi (Old Varargs): Remove section.
5443 (How Variadic): Update menu.
5444 (va_start): Do not mention varargs.h.
5446 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5447 Joseph Myers <joseph@codesourcery.com>
5449 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5451 * configure: Regenerated.
5453 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5455 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5456 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5459 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5462 * Makefile (files-for-dist): Remove NOTES.
5463 (NOTES): Remove rule.
5464 * README: Don't refer to NOTES.
5465 * manual/creature.texi: Don't include macros.texi.
5466 * manual/intro.texi (creature.texi): Remove comment referring to
5469 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5470 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5471 * configure: Regenerated.
5472 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5474 (libc_cv_as_i686): Likewise.
5475 (libc_cv_cc_avx): Likewise.
5476 (libc_cv_cc_sse2avx): Likewise.
5477 (libc_cv_cc_fma4): Likewise.
5478 (libc_cv_cc_novzeroupper): Likewise.
5479 * sysdeps/i386/configure: Regenerated.
5482 * sysdeps/i386/fpu/s_cexp.S: Remove.
5483 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5484 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5485 * math/libm-test.inc (cexp_test): Add more tests.
5486 * sysdeps/i386/fpu/libm-test-ulps: Update.
5487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5489 2012-03-21 Allan McRae <allan@archlinux.org>
5491 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5493 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5496 * math/w_exp2.c: Do not include <float.h>.
5497 (o_threshold, u_threshold): Remove.
5498 (__exp2): Calculate result before checking finiteness and calling
5500 * math/w_exp2f.c: Likewise.
5501 * math/w_exp2l.c: Likewise.
5502 * math/libm-test.inc (exp2_test): Require overflow exception for
5506 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5507 range of signed 64-bit integers before using fistpll. Remove
5508 checks for whether integers fit in mantissa bits.
5509 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5510 the range of signed 32-bit integers before using fistpl. Remove
5511 checks for whether integers fit in mantissa bits.
5512 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5513 (__ieee754_powl): Test for y outside the range of signed 64-bit
5514 integers before using fistpll. Reduce 64-bit values to 63-bit
5516 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5517 divide-by-zero is raised for zero to large negative powers.
5518 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5519 (__ieee754_powl): Test for y outside the range of signed 64-bit
5520 integers before using fistpll. Reduce 64-bit values to 63-bit
5522 * math/libm-test.inc (pow_test): Add more tests.
5524 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5526 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5527 <stdio-common/_itoa.h>.
5528 * debug/segfault.c: Likewise.
5529 * elf/dl-cache.c: Likewise.
5530 * elf/dl-minimal.c: Likewise.
5531 * elf/dl-misc.c: Likewise.
5532 * elf/dl-sysdep.c: Likewise.
5533 * elf/dl-version.c: Likewise.
5534 * elf/rtld.c: Likewise.
5535 * hurd/hurdsock.c: Likewise.
5536 * hurd/lookup-retry.c: Likewise.
5537 * malloc/malloc.c: Likewise.
5538 * malloc/mtrace.c: Likewise.
5539 * nscd/nscd_getgr_r.c: Likewise.
5540 * nscd/nscd_getpw_r.c: Likewise.
5541 * nscd/nscd_getserv_r.c: Likewise.
5542 * posix/getopt_init.c: Likewise.
5543 * posix/wordexp.c: Likewise.
5544 * stdio-common/_itoa.c: Likewise.
5545 * stdio-common/printf_fphex.c: Likewise.
5546 * stdio-common/vfprintf.c: Likewise.
5547 * string/_strerror.c: Likewise.
5548 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5549 * sysdeps/i386/i686/hp-timing.h: Likewise.
5550 * sysdeps/mach/_strerror.c: Likewise.
5551 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5552 * sysdeps/mach/hurd/sethostid.c: Likewise.
5553 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5554 * sysdeps/mach/xpg-strerror.c: Likewise.
5555 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5556 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5557 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5558 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5559 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5560 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5561 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5562 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5563 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5564 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5565 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5566 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5567 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5568 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5569 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5570 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5571 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5572 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5573 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5574 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5575 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5577 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5579 * stdio-common/_itoa.h: Moved to ...
5580 * sysdeps/generic/_itoa.h: Here.
5582 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5584 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5585 instead of "_itoa.h" and "_itowa.h".
5586 * stdio-common/vfprintf.: Likewise.
5588 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5590 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5592 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5593 (__signbit): Likwise.
5597 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5599 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5602 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5604 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5605 OVERFLOW_EXCEPTION_OK.
5606 * math/libm-test.inc ("Philosophy"): Update comment about
5608 (OVERFLOW_EXCEPTION): Define.
5609 (OVERFLOW_EXCEPTION_OK): Likewise.
5610 (INVALID_EXCEPTION_OK): Renumber.
5611 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5612 (IGNORE_ZERO_INF_SIGN): Likewise.
5613 (test_exceptions): Handle FE_OVERFLOW.
5614 (exp10_test): Expect overflow exceptions.
5615 (exp2_test): Likewise.
5616 (expm1_test): Likewise.
5617 (nextafter_test): Likewise.
5618 (pow_test): Likewise.
5619 (scalbn_test): Likewise.
5620 (scalbln_test): Likewise.
5622 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5624 * sysdeps/x86_64/bits/atomic.h
5625 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5627 (atomic_exchange_acq): Likewise.
5628 (__arch_exchange_and_add_body): Likewise.
5629 (__arch_add_body): Likewise.
5630 (atomic_add_negative): Likewise.
5631 (atomic_add_zero): Likewise.
5633 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5635 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5636 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5638 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5640 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5641 Check __x86_64__ instead of __WORDSIZE.
5643 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5645 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5647 2012-03-19 David S. Miller <davem@davemloft.net>
5649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5651 * sysdeps/sparc/fpu/fenv_private.h: New file.
5652 * sysdeps/sparc/fpu/math_private.h: Use it.
5653 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5655 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5656 (libc_feholdexcept_setroundl): Remove.
5657 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5659 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5660 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5662 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5664 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5665 int64_t instead of long int.
5666 (INSERT_WORDS64): Likwise.
5668 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5670 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5671 _Unwind_GetCFA return to _Unwind_Ptr first.
5673 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5676 * math/s_clog.c: Include <float.h>.
5677 (__clog): Scale large or subnormal inputs.
5678 * math/s_clogf.c: Likewise.
5679 * math/s_clogl.c: Likewise.
5680 * math/s_clog10.c: Include <float.h>.
5681 (M_LOG10_2): Define.
5682 (__clog10): Scale large or subnormal inputs.
5683 * math/s_clog10f.c: Likewise.
5684 * math/s_clog10l.c: Likewise.
5685 * math/libm-test.inc (clog_test): Add more tests.
5686 (clog10_test): Likewise.
5687 * sysdeps/i386/fpu/libm-test-ulps: Update.
5688 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5691 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5693 * math/libm-test.inc (atan2_test): Add another test.
5695 * Makerules (common-objdir-compile): Remove.
5696 * sysdeps/unix/Makefile (config-generated): Do not add
5697 $(unix-generated) to variable.
5698 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5699 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5701 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5703 [generic bits/local_lim.h] (before-compile): Do not append to
5705 [generic bits/local_lim.h] (common-generated): Likewise.
5706 [generic sys/param.h] (before-compile): Do not append to variable.
5707 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5708 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5709 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5710 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5712 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5713 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5714 [generic sys/param.h] ($(addprefix
5715 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5716 [generic sys/param.h] (common-generated): Do not append to
5718 [generic sys/param.h] (sysdep_headers): Likewise.
5719 [generic bits/errno.h] (before-compile): Do not append to
5721 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5723 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5724 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5725 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5726 [generic bits/errno.h] (common-generated): Do not append to
5728 [generic bits/ioctls.h] (before-compile): Do not append to
5730 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5732 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5733 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5734 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5736 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5737 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5738 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5739 [generic bits/ioctls.h] (common-generated): Do not append to
5741 [generic sys/syscall.h] (syscall.h): Remove variable.
5742 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5744 [generic sys/syscall.h] (before-compile): Do not append to
5746 [generic sys/syscall.h] (common-generated): Likewise.
5747 * sysdeps/unix/errnos-tmpl.c: Remove file.
5748 * sysdeps/unix/errnos.awk: Likewise.
5749 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5750 * sysdeps/unix/ioctls.awk: Likewise.
5751 * sysdeps/unix/mk-local_lim.c: Likewise.
5752 * sysdeps/unix/snarf-ioctls: Likewise.
5754 2012-03-19 Richard Henderson <rth@twiddle.net>
5756 * sysdeps/i386/fpu/fenv_private.h: New file.
5757 * sysdeps/i386/fpu/math_private.h: Use it.
5758 (math_opt_barrier, math_force_eval): Remove.
5759 (libc_feholdexcept_setround_53bit): Remove.
5760 (libc_feupdateenv_53bit): Remove.
5761 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5762 (math_opt_barrier, math_force_eval): Remove.
5763 (libc_feholdexcept): Remove.
5764 (libc_feholdexcept_setround): Remove.
5765 (libc_fetestexcept, libc_fesetenv): Remove.
5766 (libc_feupdateenv_test): Remove.
5767 (libc_feupdateenv, libc_feholdsetround): Remove.
5768 (libc_feresetround): Remove.
5770 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5771 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5773 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5774 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5775 (libc_feupdateenv_testl): New.
5776 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5777 (libc_feupdateenv_testf): New.
5778 (libc_feupdateenv): Use libc_feupdateenv_test.
5779 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5780 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5782 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5783 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5784 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5785 (libc_feresetround_noex): New.
5786 (libc_feresetround_noexf): New.
5787 (libc_feresetround_noexl): New.
5788 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5789 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5790 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5791 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5793 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5794 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5796 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5797 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5798 SET_RESTORE_ROUND_NOEX.
5799 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5800 SET_RESTORE_ROUND_NOEXF.
5801 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5802 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5803 (libc_feholdsetroundf): New.
5804 (libc_feresetround, libc_feresetroundf): New.
5806 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5807 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5808 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5810 * sysdeps/generic/math_private.h: Include <fenv.h>.
5811 (default_libc_feholdexcept): New.
5812 (default_libc_feholdexcept_setround): New.
5813 (default_libc_fesetenv, default_libc_feupdateenv): New.
5814 (libc_feholdexcept): Only define if undefined.
5815 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5816 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5817 (libc_feholdexcept_setroundl): Likewise.
5818 (libc_feholdexcept_setround_53bit): Likewise.
5819 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5820 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5821 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5822 (libc_feupdateenv_53bit): Likewise.
5823 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5824 (libc_feholdexcept): Convert from macro to inline function.
5825 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5826 (libc_fesetenv, libc_feupdateenv): Likewise.
5828 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5829 not previously defined.
5830 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5831 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5832 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5833 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5834 * sysdeps/ieee754/flt-32/math_private.h: New file.
5835 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5836 math_private.h below SET_FLOAT_WORD.
5837 (__isnan, __isinf_ns, __finite): Remove.
5838 (__isnanf, __isinf_nsf, __finitef): Remove.
5840 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5844 2012-03-17 David S. Miller <davem@davemloft.net>
5847 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5850 2012-03-16 David S. Miller <davem@davemloft.net>
5852 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5856 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5858 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5859 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5860 sysdep_routines when subdir is sysvipc.
5861 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5864 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5866 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5868 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5871 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5873 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5874 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5875 (__lround): Renamed to ...
5876 (__llround): This. Replace long int with long long int.
5877 Define lround functions as aliases of llround functions.
5878 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5880 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5882 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5883 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5884 adresses to uintptr_t. Replace "long int" and "unsigned long
5885 int" with "greg_t" on va_arg.
5887 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5889 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5890 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5892 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5893 Move e_machine check before EI_CLASS check. Handle x32
5894 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5895 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5896 SKIP_EM_IA_64 and include
5897 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5899 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5900 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5901 (add_system_dir): New macro.
5903 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5904 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5906 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5917 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5919 * math/w_j0f.c (j0f): Likewise.
5921 * math/w_j0l.c (__j0l): Likewise.
5923 * math/w_j1.c (j1): Likewise.
5925 * math/w_j1f.c (j1f): Likewise.
5927 * math/w_j1l.c (__j1l): Likewise.
5929 * math/w_jn.c (jn): Likewise.
5931 * math/w_jnf.c (jnf): Likewise.
5933 * math/w_jnl.c (__jnl): Likewise.
5935 * math/libm-test.inc (j0_test): Add more tests.
5936 (j1_test): Likewise.
5937 (jn_test): Likewise. Add trailing semicolon to existing test.
5938 (y0_test): Likewise.
5939 (y1_test): Likewise.
5940 * sysdeps/i386/fpu/libm-test-ulps: Update.
5941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5945 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5946 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5947 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5948 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5949 (__tanl): Set errno for infinite argument.
5950 * sysdeps/i386/fpu/mptan.c: Remove.
5951 * sysdeps/i386/fpu/s_tan.S: Likewise.
5952 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5953 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5954 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5955 * math/libm-test.inc (tan_test): Add more tests and enable more
5956 tests for double and long double.
5957 * sysdeps/i386/fpu/libm-test-ulps: Update.
5958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5960 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5962 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5963 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5965 2012-03-16 Roland McGrath <roland@hack.frob.com>
5967 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5968 * configure.in: Use it for both main tree and add-ons.
5969 * configure: Regenerated.
5971 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5973 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5975 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5977 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5981 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5982 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5983 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5984 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5985 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5987 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5988 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5990 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5991 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5992 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5993 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5994 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5995 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5996 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5997 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5998 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5999 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6000 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6001 * math/libm-test.inc (cos_test): Add more tests and enable more
6002 tests for long double.
6003 (sin_test): Likewise.
6004 (sincos_test): Likewise.
6005 * sysdeps/i386/fpu/libm-test-ulps: Update.
6006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6008 2012-03-16 David S. Miller <davem@davemloft.net>
6010 * sysdeps/sparc/fpu/math_private.h: New file.
6012 2012-03-15 David S. Miller <davem@davemloft.net>
6014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6024 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6028 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6029 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6031 * sysdeps/sparc/sparc-ifunc.h: New file.
6032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6070 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6071 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6072 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6073 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6074 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6075 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6077 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6079 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6083 2012-03-15 Andreas Jaeger <aj@suse.de>
6086 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6087 ieee754/flt-32 implementation for sin, cos and sincos.
6088 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6089 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6090 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6091 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6092 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6093 ieee754/flt-32 implementation for tan.
6095 * math/libm-test.inc (cos_test): Enable some large input tests for
6097 (sin_test): Likewise.
6098 (sincos_test): Likewise.
6099 (tan_test): Add tests for large input.
6101 * sysdeps/i386/fpu/libm-test-ulps: Update.
6103 2012-03-15 Andreas Jaeger <aj@suse.de>
6106 * math/libm-test.inc (cos_test): Add more test cases.
6107 (sin_test): Likewise.
6108 (sincos_test): Likewise.
6110 2012-03-15 Andreas Jaeger <aj@suse.de>
6113 * math/libm-test.inc (cos_test): Add a test case for large input
6115 (sin_test): Likewise.
6116 (sincos_test): Likewise.
6118 2012-03-15 Andreas Jaeger <aj@suse.de>,
6119 Joseph Myers <joseph@codesourcery.com>
6122 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6123 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6124 * sysdeps/i386/fpu/branred.c: Likewise.
6125 * sysdeps/i386/fpu/dosincos.c: Likewise.
6126 * sysdeps/i386/fpu/mpa.c: Likewise.
6127 * sysdeps/i386/fpu/s_cos.S: Likewise.
6128 * sysdeps/i386/fpu/s_sin.S: Likewise.
6129 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6130 * sysdeps/i386/fpu/sincos32.c: Likewise.
6132 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6134 (libc_feupdateenv_53bit): Define.
6135 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6137 (libc_feupdateenv_53bit): Define.
6139 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6140 53 bit (without extend i386 double precision).
6142 * math/libm-test.inc (sincos_test): Add tests for large input.
6146 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6148 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6152 2012-03-15 David S. Miller <davem@davemloft.net>
6154 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6155 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6156 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6157 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6181 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6182 fmin/fmax sysdep routines.
6183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6185 2012-03-14 David S. Miller <davem@davemloft.net>
6187 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6191 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6192 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6193 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6194 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6196 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6207 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6208 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6209 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6210 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6211 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6212 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6213 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6215 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6259 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6262 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6264 * sysdeps/sparc/configure.in: New file.
6265 * sysdeps/sparc/configure: Generate.
6266 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6267 * configure: Regenerate.
6268 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6269 * config.make.in (have-as-vis3): New.
6270 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6271 available use -Av9d instead of -Av9a.
6272 * sysdeps/sparc/sparc64/Makefile: Likewise.
6273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6282 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6283 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6284 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6285 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6286 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6288 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6289 fzeros/fnegs to load 0x80000000 into a float register instead of
6291 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6293 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6295 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6297 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6298 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6299 ($(inst_includedir)/bits/syscall.h): Remove rule.
6300 ($(objpfx)bits/syscall.d): Include instead of
6301 $(objpfx)syscall-list.d.
6302 (generated): Change syscall-list.h and syscall-list.d to
6303 bits/syscall.h and bits/syscall.d.
6305 2012-03-14 Roland McGrath <roland@hack.frob.com>
6308 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6310 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6313 * math/s_csqrt.c: Include <float.h>.
6314 (__csqrt): Scale large or subnormal inputs.
6315 * math/s_csqrtf.c: Likewise.
6316 * math/s_csqrtl.c: Likewise.
6317 * math/libm-test.inc (csqrt_test): Add more tests.
6318 * sysdeps/i386/fpu/libm-test-ulps: Update.
6319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6322 * math/libm-test.inc (hypot_test): Add more tests.
6324 2012-03-13 David S. Miller <davem@davemloft.net>
6327 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6328 double-precision for the calculation instead of scaling.
6330 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6332 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6333 manipulate bits before adding and subtracting TWO52[sx].
6334 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6335 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6337 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6339 2012-03-13 David S. Miller <davem@davemloft.net>
6341 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6342 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6344 rtld-global-offsets.h
6345 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6347 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6350 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6352 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6353 'err' in the ifdef scope in which it is actually used.
6355 * nss/nss_db/db-init.c: Include string.h
6357 2012-03-12 David S. Miller <davem@davemloft.net>
6359 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6360 masking out of the most significant byte of random value used.
6361 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6362 Fix coding style in previous change.
6364 * sysdeps/unix/sysv/linux/kernel-features.h
6365 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6366 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6368 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6371 2012-03-11 David S. Miller <davem@davemloft.net>
6373 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6374 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6375 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6376 for 'resultvar' otherwise things get truncated on 64-bit.
6378 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6379 Fix masking out of the most significant byte of random value used.
6381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6383 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6385 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6387 2012-03-09 David S. Miller <davem@davemloft.net>
6389 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6390 variables with appropriate CPP guards.
6391 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6392 frame pointer, not the stack pointer. Correct layout comments. Fix test
6393 on resulting framesize and the management of the outregs buffer for pltexit.
6394 Preserve floating point return values across _dl_call_pltexit call.
6395 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6396 framesize and the management of the outregs buffer for pltexit.
6397 Preserve floating point return values across _dl_call_pltexit
6399 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6400 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6401 (print_exit): Fix format string for return register value.
6403 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6405 * sunrpc/Makefile (others): Add rpcgen.
6406 ($(objpfx)rpcgen): Remove special build rule and dependency on
6408 * sunrpc/rpcgen.c: New file.
6410 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6413 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6414 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6415 * sysdeps/i386/crti.S: Likewise.
6416 * sysdeps/i386/crtn.S: Likewise.
6417 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6418 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6419 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6420 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6421 * sysdeps/sh/crti.S: Likewise.
6422 * sysdeps/sh/crtn.S: Likewise.
6423 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6426 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6428 * locale/programs/locfile-kw.gperf: Likewise.
6429 * locale/programs/charmap-kw.h: Regenerated.
6430 * locale/programs/locfile-kw.h: Likewise.
6433 * intl/plural.y: Replace FSF snail mail address with URL.
6434 * intl/plural.c: Regenerated.
6436 2012-03-09 Richard Henderson <rth@twiddle.net>
6438 * include/math_private.h: Remove file.
6439 * math/math_private.h: Move file ...
6440 * sysdeps/generic/math_private.h: ... here.
6442 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6443 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6444 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6446 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6447 and <math_private.h>.
6448 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6449 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6450 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6451 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6452 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6453 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6454 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6455 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6456 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6457 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6459 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6460 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6461 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6462 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6463 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6464 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6465 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6466 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6467 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6489 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6490 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6491 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6492 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6493 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6494 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6495 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6496 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6497 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6498 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6499 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6500 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6501 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6502 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6503 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6504 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6516 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6517 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6518 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6519 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6522 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6524 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6526 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6527 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6528 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6529 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6530 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6531 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6532 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6533 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6534 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6535 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6536 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6537 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6538 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6539 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6540 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6541 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6542 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6543 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6544 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6545 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6546 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6547 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6548 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6549 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6550 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6551 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6552 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6553 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6554 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6555 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6556 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6557 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6558 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6559 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6560 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6561 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6562 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6563 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6564 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6565 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6566 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6567 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6568 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6569 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6570 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6571 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6572 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6573 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6574 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6575 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6576 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6577 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6578 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6579 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6580 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6581 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6582 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6583 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6584 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6585 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6586 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6587 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6588 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6589 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6590 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6591 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6592 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6593 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6594 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6595 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6596 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6597 * sysdeps/ieee754/k_standard.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6713 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6717 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6718 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6720 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6730 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6746 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6747 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6748 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6757 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6758 * sysdeps/ieee754/s_lib_version.c: Likewise.
6759 * sysdeps/ieee754/s_matherr.c: Likewise.
6760 * sysdeps/ieee754/s_signgam.c: Likewise.
6761 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6762 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6763 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6764 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6765 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6766 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6767 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6768 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6769 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6770 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6771 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6772 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6773 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6774 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6775 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6776 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6777 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6778 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6779 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6780 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6781 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6783 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6785 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6786 * sunrpc/rpc_main.c: Likewise.
6787 * sunrpc/rpc_svcout.c: Likewise.
6789 2012-03-09 David S. Miller <davem@davemloft.net>
6791 * include/math_private.h: New file.
6793 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6795 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6796 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6797 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6798 from <bits/socket_type.h>.
6799 (enum __socket_type): Don't define here.
6800 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6805 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6808 * Makerules ($(inst_includedir)/%.h): New rule.
6809 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6810 (install-others): Remove variable setting.
6811 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6813 2012-03-08 Richard Henderson <rth@twiddle.net>
6815 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6816 from macro to inline function; merge with the
6817 !__LIBC_INTERNAL_MATH_INLINES version.
6818 (__ieee754_sqrtf): Likewise.
6820 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6822 (__rintf, __floor, __floorf): Likewise.
6824 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6825 macro to inline function.
6826 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6828 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6829 not <math/math_private.h>.
6831 2012-03-08 David S. Miller <davem@davemloft.net>
6833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6835 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6837 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6839 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6841 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6842 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6844 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6846 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6847 be defined individually, they must be defined as a block. Define
6848 S for printing a string instead of hidint the different by using a
6849 macro for adding the 'l'.
6850 * stdio-common/tst-fphex-wide.c: Adjust.
6852 2012-03-07 Marek Polacek <polacek@redhat.com>
6854 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6856 2012-03-08 Marek Polacek <polacek@redhat.com>
6859 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6860 * stdio-common/tst-fphex.c: Define a few macros to make the
6861 test reusable. Use them.
6862 * stdio-common/tst-fphex-wide.c: New file.
6864 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6867 * manual/macros.texi (gnusystems): New macro.
6868 (nongnusystems): Likewise.
6869 (gnulinuxhurdsystems): Likewise.
6870 (gnuhurdsystems): Likewise..
6871 (gnulinuxsystems): Likewise.
6872 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6873 variants of the GNU system, not "GNU system".
6874 * manual/conf.texi: Likewise.
6875 * manual/errno.texi: Likewise. Update example of errno macro
6877 * manual/filesys.texi: Likewise.
6878 (getumask): Document as specific to GNU/Hurd.
6879 * manual/install.texi: Likewise. Reword some references to
6881 * manual/intro.texi: Likewise.
6882 * manual/io.texi: Likewise.
6883 (File Name Portability): Detail which constraints are inapplicable
6884 to all GNU systems and which are only inapplicable to GNU/Hurd.
6885 * manual/job.texi: Likewise.
6886 * manual/llio.texi: Likewise.
6887 (O_NOCTTY): Document as present on GNU/Linux.
6888 * manual/maint.texi: Likewise.
6889 * manual/memory.texi: Likewise.
6890 * manual/pattern.texi: Likewise.
6891 * manual/pipe.texi: Likewise.
6892 * manual/process.texi: Likewise.
6893 * manual/resource.texi: Likewise.
6894 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6896 * manual/setjmp.texi: Likewise.
6897 * manual/signal.texi: Likewise.
6898 * manual/startup.texi: Likewise.
6899 * manual/stdio.texi: Likewise.
6900 * manual/terminal.texi: Likewise.
6901 (ONLCR): Document as POSIX.
6902 (OXTABS): Document availability on GNU/Linux as XTABS.
6903 (ONOEOT): Document availability separately from other bits.
6904 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6905 * manual/time.texi: Likewise.
6906 * manual/users.texi: Likewise.
6907 * INSTALL: Regenerated.
6908 * sysdeps/gnu/errlist.c: Regenerated.
6910 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6911 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6912 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6914 * configure: Regenerated.
6916 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6918 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6919 default includes instead of AC_HEADER_CHECK.
6920 * sysdeps/i386/configure: Regenerated.
6923 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6924 * math/s_cacoshf.c (__cacoshf): Likewise.
6925 * math/s_cacoshl.c (__cacoshl): Likewise.
6926 * math/s_casinh.c (__casinh): Set signs of result from argument.
6927 * math/s_casinhf.c (__casinhf): Likewise.
6928 * math/s_casinhl.c (__casinhl): Likewise.
6929 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6930 (casinh_test): Add more tests.
6931 * sysdeps/i386/fpu/libm-test-ulps: Update.
6932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6934 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6936 * po/zh_TW.po: Update from translation team.
6938 * login/Makefile (distribute): Remove variable.
6939 * catgets/Makefile: Likewise.
6940 * mach/Makefile: Likewise.
6941 * malloc/Makefile: Likewise.
6942 * misc/Makefile: Likewise.
6943 * iconv/Makefile: Likewise.
6944 * nscd/Makefile: Likewise.
6945 * hurd/Makefile: Likewise.
6946 * manual/Makefile: Likewise.
6947 * locale/Makefile: Likewise.
6948 * intl/Makefile: Likewise.
6949 * conform/Makefile: Likewise.
6950 * nss/Makefile: Likewise.
6951 * time/Makefile: Likewise.
6952 * soft-fp/Makefile: Likewise.
6953 * dirent/Makefile: Likewise.
6954 * gmon/Makefile: Likewise.
6955 * po/Makefile: Likewise.
6956 * rt/Makefile: Likewise.
6957 * socket/Makefile: Likewise.
6958 * math/Makefile: Likewise.
6959 * signal/Makefile: Likewise.
6960 * debug/Makefile: Likewise.
6961 * elf/Makefile: Likewise.
6962 * timezone/Makefile: Likewise.
6963 * stdlib/Makefile: Likewise.
6964 * iconvdata/Makefile: Likewise.
6965 * sunrpc/Makefile: Likewise.
6966 * io/Makefile: Likewise.
6967 * argp/Makefile: Likewise.
6968 * inet/Makefile: Likewise.
6969 * hesiod/Makefile: Likewise.
6970 * grp/Makefile: Likewise.
6971 * csu/Makefile: Likewise.
6972 * wctype/Makefile: Likewise.
6973 * crypt/Makefile: Likewise.
6974 * libio/Makefile: Likewise.
6975 * string/Makefile: Likewise.
6976 * nis/Makefile: Likewise.
6977 * resolv/Makefile: Likewise.
6978 * stdio-common/Makefile: Likewise.
6979 * wcsmbs/Makefile: Likewise.
6980 * dlfcn/Makefile: Likewise.
6981 * posix/Makefile: Likewise.
6984 * timezone/Makefile: Don't install timezone files, just the programs
6987 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6989 * nss/databases.def: Add missing gshadow entry.
6991 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6993 2012-03-06 Marek Polacek <polacek@redhat.com>
6996 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6997 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6998 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6999 * stdio-common/tst-long-dbl-fphex.c: New file.
7001 2012-03-06 David S. Miller <davem@davemloft.net>
7003 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7004 (set_obp_int): New function.
7005 (get_obp_int): New function.
7006 (__get_clockfreq_via_dev_openprom): Likewise.
7007 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7008 Avoid unused variable warnings on 'val' and use builtin_expect.
7009 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7011 (INLINE_CLONE_SYSCALL): Likewise.
7013 2012-03-05 David S. Miller <davem@davemloft.net>
7015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7017 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7021 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7023 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7025 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7027 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7028 Replace gettimeofday with __vdso_gettimeofday.
7030 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7031 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7032 __vdso_clock_gettime and __vdso_getcpu.
7034 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7035 time with __vdso_time.
7037 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7039 * manual/lang.texi (size_t): Note types to which size_t may be
7040 equivalent with the GNU C Library, but do not describe when
7041 differences between them are significant.
7043 2012-03-05 Andreas Jaeger <aj@suse.de>
7045 * sysdeps/i386/fpu/libm-test-ulps: Update.
7047 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7050 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7051 (__ieee754_pow): Save and restore rounding mode and use
7052 round-to-nearest for main computations.
7053 * math/libm-test.inc (pow_test_tonearest): New function.
7054 (pow_test_towardzero): Likewise.
7055 (pow_test_downward): Likewise.
7056 (pow_test_upward): Likewise.
7057 (main): Call the new functions.
7058 * sysdeps/i386/fpu/libm-test-ulps: Update.
7059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7062 * math/libm-test.inc (cosh_test_tonearest): New function.
7063 (cosh_test_towardzero): Likewise.
7064 (cosh_test_downward): Likewise.
7065 (cosh_test_upward): Likewise.
7066 (sinh_test_tonearest): Likewise.
7067 (sinh_test_towardzero): Likewise.
7068 (sinh_test_downward): Likewise.
7069 (sinh_test_upward): Likewise.
7070 (main): Call the new functions.
7071 * sysdeps/i386/fpu/libm-test-ulps: Update.
7072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7074 2012-03-05 Tom de Vries <tom@codesourcery.com>
7076 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7077 default stack guard is set in last bytes.
7078 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7080 2012-03-05 Kees Cook <keescook@chromium.org>
7082 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7085 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7086 possibly allocate from heap instead of stack.
7087 * stdio-common/bug-vfprintf-nargs.c: New file.
7088 * stdio-common/Makefile (tests): Add nargs overflow test.
7090 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7094 2012-03-03 Marek Polacek <polacek@redhat.com>
7096 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7097 * math/math_private.h: Likewise.
7098 * stdlib/tst-strtod.c: Likewise.
7099 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7100 * sysdeps/x86_64/bits/atomic.h: Likewise.
7102 2012-03-02 David S. Miller <davem@davemloft.net>
7104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7108 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7109 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7110 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7111 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7113 2012-03-02 Roland McGrath <roland@hack.frob.com>
7116 * manual/examples/README: New file, says the example source files
7117 can be used under GPL>=2.
7118 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7119 line containing just "*/".
7120 * manual/examples/add.c: Add copyright header (GPL>=2).
7121 * manual/examples/argp-ex1.c: Likewise.
7122 * manual/examples/argp-ex2.c: Likewise.
7123 * manual/examples/argp-ex3.c: Likewise.
7124 * manual/examples/argp-ex4.c: Likewise.
7125 * manual/examples/atexit.c: Likewise.
7126 * manual/examples/db.c: Likewise.
7127 * manual/examples/dir.c: Likewise.
7128 * manual/examples/dir2.c: Likewise.
7129 * manual/examples/execinfo.c: Likewise.
7130 * manual/examples/filecli.c: Likewise.
7131 * manual/examples/filesrv.c: Likewise.
7132 * manual/examples/fmtmsgexpl.c: Likewise.
7133 * manual/examples/genpass.c: Likewise.
7134 * manual/examples/inetcli.c: Likewise.
7135 * manual/examples/inetsrv.c: Likewise.
7136 * manual/examples/isockad.c: Likewise.
7137 * manual/examples/longopt.c: Likewise.
7138 * manual/examples/memopen.c: Likewise.
7139 * manual/examples/memstrm.c: Likewise.
7140 * manual/examples/mkfsock.c: Likewise.
7141 * manual/examples/mkisock.c: Likewise.
7142 * manual/examples/mygetpass.c: Likewise.
7143 * manual/examples/pipe.c: Likewise.
7144 * manual/examples/popen.c: Likewise.
7145 * manual/examples/rprintf.c: Likewise.
7146 * manual/examples/search.c: Likewise.
7147 * manual/examples/select.c: Likewise.
7148 * manual/examples/setjmp.c: Likewise.
7149 * manual/examples/sigh1.c: Likewise.
7150 * manual/examples/sigusr.c: Likewise.
7151 * manual/examples/stpcpy.c: Likewise.
7152 * manual/examples/strdupa.c: Likewise.
7153 * manual/examples/strftim.c: Likewise.
7154 * manual/examples/strncat.c: Likewise.
7155 * manual/examples/subopt.c: Likewise.
7156 * manual/examples/swapcontext.c: Likewise.
7157 * manual/examples/termios.c: Likewise.
7158 * manual/examples/testopt.c: Likewise.
7159 * manual/examples/testpass.c: Likewise.
7160 * manual/examples/timeval_subtract.c: Likewise.
7163 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7165 * manual/timeval_subtract.c.texi: ... here, new file.
7167 2012-03-02 David S. Miller <davem@davemloft.net>
7169 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7171 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7174 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7175 (__sin): Save and restore rounding mode and use round-to-nearest
7176 for all computations.
7177 (__cos): Save and restore rounding mode and use round-to-nearest
7178 for all computations.
7179 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7181 (tan): Save and restore rounding mode and use round-to-nearest for
7183 * math/libm-test.inc (cos_test_tonearest): New function.
7184 (cos_test_towardzero): Likewise.
7185 (cos_test_downward): Likewise.
7186 (cos_test_upward): Likewise.
7187 (sin_test_tonearest): Likewise.
7188 (sin_test_towardzero): Likewise.
7189 (sin_test_downward): Likewise.
7190 (sin_test_upward): Likewise.
7191 (tan_test_tonearest): Likewise.
7192 (tan_test_towardzero): Likewise.
7193 (tan_test_downward): Likewise.
7194 (tan_test_upward): Likewise.
7195 (main): Call the new functions.
7196 * sysdeps/i386/fpu/libm-test-ulps: Update.
7197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7200 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7201 small n, then large n, before computing and testing k+n.
7202 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7203 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7205 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7207 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7208 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7209 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7210 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7211 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7212 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7213 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7214 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7215 * math/libm-test.inc (scalbn_test): Add more tests.
7216 (scalbln_test): Likewise.
7218 * manual/filesys.texi (mode_t): Describe constraints on size and
7219 signedness, not exact equivalence to a particular type.
7221 (ino64_t): Likewise.
7223 (nlink_t): Likewise.
7224 (blkcnt_t): Likewise.
7225 (blkcnt64_t): Likewise.
7226 * manual/llio.texi (off_t): Likewise.
7229 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7230 (__ieee754_exp): Save and restore rounding mode and use
7231 round-to-nearest for all computations.
7232 * math/libm-test.inc (exp_test_tonearest): New function.
7233 (exp_test_towardzero): Likewise.
7234 (exp_test_downward): Likewise.
7235 (exp_test_upward): Likewise.
7236 (main): Call the new functions.
7237 * sysdeps/i386/fpu/libm-test-ulps: Update.
7238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7240 2012-03-01 Chris Demetriou <cgd@google.com>
7242 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7243 have predictable order.
7245 2012-03-01 David S. Miller <davem@davemloft.net>
7247 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7249 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7250 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7251 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7252 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7254 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7255 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7256 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7258 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7259 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7260 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7261 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7262 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7266 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7267 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7268 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7270 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7271 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7272 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7273 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7274 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7275 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7276 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7277 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7278 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7279 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7280 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7281 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7282 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7283 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7284 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7285 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7286 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7287 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7288 * sysdeps/sparc/elf/configure: Regenerated.
7290 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7292 * configure.in (AS, LD): Require binutils 2.20 or later.
7293 * configure: Regenerated.
7294 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7295 as required minimum version.
7296 * INSTALL: Regenerated.
7300 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7301 before squaring exponent.
7302 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7303 bottom long double and 27 bits of top long double before squaring
7305 * math/libm-test.inc (erfc_test): Add more tests.
7306 * sysdeps/i386/fpu/libm-test-ulps: Update.
7307 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7310 2012-03-01 Kai Tietz <ktietz@redhat.com>
7312 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7313 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7314 containing bit-fields.
7315 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7316 * soft-fp/single.h (_FP_UNION_S): Likewise.
7317 * soft-fp/double.h (_FP_UNION_D): Likewise.
7319 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7322 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7323 not include ../strcmp.S.
7324 [USE_AS_STRNCASECMP_L]: Likewise.
7325 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7326 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7327 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7328 (__strncasecmp_l_ia32): Define as alias to
7329 __strncasecmp_l_nonascii.
7332 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7333 * sysdeps/i386/fpu/libm-test-ulps: Update.
7334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7336 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7339 2012-02-29 Jeff Law <law@redhat.com>
7341 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7344 2012-02-29 Marek Polacek <polacek@redhat.com>
7347 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7348 * elf/Makefile: Add rules to run tst-unused-dep.out.
7350 2012-02-28 David S. Miller <davem@davemloft.net>
7352 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7353 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7354 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7355 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7356 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7357 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7359 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7361 * math/libm-test.inc (llround_test): Move one test from
7362 lround_test. Use TEST_f_L in moved test.
7363 (lround_test): Move misplaced test to llround_test. Add testcase
7366 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7368 * sysdeps/x86_64/fpu/e_expf.S: New file.
7369 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7371 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7374 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7375 of remain_len that may cause incomplete multi-byte character and
7377 * posix/bug-regex33.c: New file.
7378 * posix/Makefile (tests): Add bug-regex33.
7380 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7382 * manual/macros.texi: New file.
7383 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7384 * manual/libc.texinfo: Include macros.texi.
7385 * manual/creatute.texi: Likewise.
7386 * manual/install.texi: Likewise.
7387 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7388 @glibcadj{} in references to the GNU C Library.
7389 * manual/charset.texi: Likewise.
7390 * manual/conf.texi: Likewise.
7391 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7392 when not using those macros.
7393 * manual/creature.texi: Likewise.
7394 * manual/crypt.texi: Likewise.
7395 * manual/errno.texi: Likewise.
7396 * manual/filesys.texi: Likewise.
7397 * manual/header.texi: Likewise.
7398 * manual/install.texi: Likewise.
7399 * manual/intro.texi: Likewise.
7400 * manual/io.texi: Likewise.
7401 * manual/job.texi: Likewise.
7402 * manual/lang.texi: Likewise.
7403 * manual/libc.texiinfo: Likewise.
7404 * manual/llio.texi: Likewise.
7405 * manual/locale.texi: Likewise.
7406 * manual/maint.texi: Likewise.
7407 * manual/math.texi: Likewise.
7408 * manual/memory.texi: Likewise.
7409 * manual/message.texi: Likewise.
7410 * manual/nss.texi: Likewise.
7411 * manual/pattern.texi: Likewise.
7412 * manual/process.texi: Likewise.
7413 * manual/resource.texi: Likewise.
7414 * manual/search.texi: Likewise.
7415 * manual/setjmp.texi: Likewise.
7416 * manual/signal.texi: Likewise.
7417 * manual/socket.texi: Likewise.
7418 * manual/startup.texi: Likewise.
7419 * manual/stdio.texi: Likewise.
7420 * manual/string.texi: Likewise.
7421 * manual/sysinfo.texi: Likewise.
7422 * manual/syslog.texi: Likewise.
7423 * manual/terminal.texi: Likewise.
7424 * manual/time.texi: Likewise.
7425 * manual/users.texi: Likewise.
7426 * INSTALL: Regenerated.
7427 * NOTES: Regenerated.
7428 * sysdeps/gnu/errlist.c: Regenerated.
7430 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7432 * include/dirent.h: Include <dirstream.h> before
7435 2012-02-28 David S. Miller <davem@davemloft.net>
7437 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7438 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7439 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7440 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7442 2012-02-27 David S. Miller <davem@davemloft.net>
7444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7446 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7447 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7450 frame pointer instead of stack pointer relative arg slot.
7451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7452 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7453 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7455 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7458 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7460 2012-02-27 David S. Miller <davem@davemloft.net>
7462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7466 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7467 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7468 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7469 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7471 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7473 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7474 later. Allow versions 5-9.
7475 * configure: Regenerated.
7476 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7477 required minimum version and 4.6 as recommended version. Do not
7478 mention bugs in GCC 2.7 and 2.8.
7479 * INSTALL: Regenerated.
7481 2012-02-27 David S. Miller <davem@davemloft.net>
7483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7487 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7488 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7489 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7490 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7492 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7493 manipulate bits before adding and subtracting TWO112[sx].
7494 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7496 2012-02-27 Roland McGrath <roland@hack.frob.com>
7499 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7500 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7501 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7502 being in POSIX, because they are in 1003.1-2008.
7504 * rt/tst-aio.c: Include <fcntl.h>.
7505 * rt/tst-aio7.c: Likewise.
7506 * rt/tst-aio64.c: Likewise.
7508 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7510 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7512 * manual/install.texi (--with-headers): Describe headers as
7513 interface headers, not private headers.
7514 (Specific advice for GNU/Linux systems): Describe use of headers
7515 from "make headers_install", not private headers from older
7517 * INSTALL: Regenerated.
7518 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7520 * sysdeps/unix/sysv/linux/configure: Regenerated.
7522 * manual/llio.texi (fclean): Remove documentation.
7524 * manual/Makefile (libc-texi-generated): New variable. Include
7526 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7527 $(libc-texi-generated), not duplicated list of files.
7528 (version.texi, stamp-version): New rules.
7529 (realclean): Remove $(libc-texi-generated), not individual files
7530 from that list. Do not remove dir-add.texinfo.
7531 * manual/libc.texinfo: Comment out uses of edition numbers and
7532 references to printed manual. Remove last-updated dates.
7533 (EDITION): Comment out.
7535 (VERSION, UPDATED): Remove.
7536 (version.texi): Include.
7538 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7540 * sysdeps/posix/spawni.c: Include <signal.h>.
7541 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7542 * sysdeps/pthread/aio_fsync.c: Likewise.
7544 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7546 * conform/Makefile (tests): Run only when not cross-compiling and
7547 when fast-check is not defined.
7549 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7550 * conform/data/limits.h-data: Fixes for POSIX2008.
7551 * conform/run-conformtest.sh: Run all tests.
7552 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7554 * include/bits/dlfcn.h: Likewise.
7555 * include/langinfo.h: Likewise.
7556 * include/monetary.h: Likewise.
7557 * include/sys/poll.h: Likewise.
7559 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7561 * posix/spawn.h: Define __need_sigset_t.
7562 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7563 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7564 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7565 to get sigevent_t only.
7566 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7569 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7570 process_vm_writev only for __USE_GNU.
7571 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7573 * conform/Makefile: For now ignore errors from run-conformtest.
7574 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7575 POSIX to avoid namespace pollution. Don't prepend headers.
7576 * conform/data/aio.h-data: Fixes for POSIX testing.
7577 * conform/data/fcntl.h-data: Likewise.
7578 * conform/data/glob.h-data: Likewise.
7579 * conform/data/grp.h-data: Likewise.
7580 * conform/data/pthread.h-data: Likewise.
7581 * conform/data/pwd.h-data: Likewise.
7582 * conform/data/signal.h-data: Likewise.
7583 * conform/data/spawn.h-data: Likewise.
7584 * conform/data/stdio.h-data: Likewise.
7585 * conform/data/stdlib.h-data: Likewise.
7586 * conform/data/stropts.h-data: Likewise.
7587 * conform/data/sys/mman.h-data: Likewise.
7588 * conform/data/sys/stat.h-data: Likewise.
7589 * conform/data/sys/types.h-data: Likewise.
7590 * conform/data/sys/wait.h-data: Likewise.
7591 * conform/data/time.h-data: Likewise.
7592 * conform/data/unistd.h-data: Likewise.
7593 * conform/data/utime.h-data: Likewise.
7595 * io/sys/stat.h: fchmod was always in POSIX.
7596 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7597 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7598 * rt/aio.h: Define __need_timespec before including <time.h>.
7599 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7600 struct. Add forward declaration of pthread_attr_t and use it in
7602 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7603 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7604 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7605 always remove CLK_TCK definition.
7607 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7609 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7611 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7613 * conform/run-conformtest.sh: New file.
7614 * conform/Makefile: Run run-conformtest for tests.
7615 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7618 * conform/data/uchar.h-data: New file.
7619 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7620 * conform/data/arpa/inet.h-data: Likewise.
7621 * conform/data/assert.h-data: Likewise.
7622 * conform/data/complex.h-data: Likewise.
7623 * conform/data/cpio.h-data: Likewise.
7624 * conform/data/ctype.h-data: Likewise.
7625 * conform/data/dirent.h-data: Likewise.
7626 * conform/data/dlfcn.h-data: Likewise.
7627 * conform/data/errno.h-data: Likewise.
7628 * conform/data/fcntl.h-data: Likewise.
7629 * conform/data/float.h-data: Likewise.
7630 * conform/data/fmtmsg.h-data: Likewise.
7631 * conform/data/fnmatch.h-data: Likewise.
7632 * conform/data/ftw.h-data: Likewise.
7633 * conform/data/glob.h-data: Likewise.
7634 * conform/data/grp.h-data: Likewise.
7635 * conform/data/iconv.h-data: Likewise.
7636 * conform/data/inttypes.h-data: Likewise.
7637 * conform/data/langinfo.h-data: Likewise.
7638 * conform/data/libgen.h-data: Likewise.
7639 * conform/data/limits.h-data: Likewise.
7640 * conform/data/locale.h-data: Likewise.
7641 * conform/data/math.h-data: Likewise.
7642 * conform/data/monetary.h-data: Likewise.
7643 * conform/data/mqueue.h-data: Likewise.
7644 * conform/data/ndbm.h-data: Likewise.
7645 * conform/data/net/if.h-data: Likewise.
7646 * conform/data/netdb.h-data: Likewise.
7647 * conform/data/netinet/in.h-data: Likewise.
7648 * conform/data/nl_types.h-data: Likewise.
7649 * conform/data/poll.h-data: Likewise.
7650 * conform/data/pthread.h-data: Likewise.
7651 * conform/data/pwd.h-data: Likewise.
7652 * conform/data/regex.h-data: Likewise.
7653 * conform/data/sched.h-data: Likewise.
7654 * conform/data/search.h-data: Likewise.
7655 * conform/data/semaphore.h-data: Likewise.
7656 * conform/data/setjmp.h-data: Likewise.
7657 * conform/data/signal.h-data: Likewise.
7658 * conform/data/spawn.h-data: Likewise.
7659 * conform/data/stdarg.h-data: Likewise.
7660 * conform/data/stdio.h-data: Likewise.
7661 * conform/data/stdlib.h-data: Likewise.
7662 * conform/data/string.h-data: Likewise.
7663 * conform/data/strings.h-data: Likewise.
7664 * conform/data/stropts.h-data: Likewise.
7665 * conform/data/sys/ipc.h-data: Likewise.
7666 * conform/data/sys/mman.h-data: Likewise.
7667 * conform/data/sys/msg.h-data: Likewise.
7668 * conform/data/sys/resource.h-data: Likewise.
7669 * conform/data/sys/select.h-data: Likewise.
7670 * conform/data/sys/sem.h-data: Likewise.
7671 * conform/data/sys/shm.h-data: Likewise.
7672 * conform/data/sys/socket.h-data: Likewise.
7673 * conform/data/sys/stat.h-data: Likewise.
7674 * conform/data/sys/statvfs.h-data: Likewise.
7675 * conform/data/sys/time.h-data: Likewise.
7676 * conform/data/sys/timeb.h-data: Likewise.
7677 * conform/data/sys/times.h-data: Likewise.
7678 * conform/data/sys/types.h-data: Likewise.
7679 * conform/data/sys/uio.h-data: Likewise.
7680 * conform/data/sys/un.h-data: Likewise.
7681 * conform/data/sys/utsname.h-data: Likewise.
7682 * conform/data/sys/wait.h-data: Likewise.
7683 * conform/data/syslog.h-data: Likewise.
7684 * conform/data/tar.h-data: Likewise.
7685 * conform/data/termios.h-data: Likewise.
7686 * conform/data/utime.h-data: Likewise.
7687 * conform/data/utmpx.h-data: Likewise.
7688 * conform/data/varargs.h-data: Likewise.
7689 * conform/data/wchar.h-data: Likewise.
7690 * conform/data/wctype.h-data: Likewise.
7691 * conform/data/wordexp.h-data: Likewise.
7693 * include/stropts.h: New file.
7694 * include/uchar.h: New file.
7695 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7696 * include/assert.h: Likewise.
7697 * include/ctype.h: Likewise.
7698 * include/dirent.h: Likewise.
7699 * include/dlfcn.h: Likewise.
7700 * include/fcntl.h: Likewise.
7701 * include/fnmatch.h: Likewise.
7702 * include/glob.h: Likewise.
7703 * include/grp.h: Likewise.
7704 * include/libio.h: Likewise.
7705 * include/locale.h: Likewise.
7706 * include/math.h: Likewise.
7707 * include/net/if.h: Likewise.
7708 * include/netdb.h: Likewise.
7709 * include/netinet/in.h: Likewise.
7710 * include/pthread.h: Likewise.
7711 * include/pwd.h: Likewise.
7712 * include/regex.h: Likewise.
7713 * include/sched.h: Likewise.
7714 * include/search.h: Likewise.
7715 * include/setjmp.h: Likewise.
7716 * include/signal.h: Likewise.
7717 * include/stdio.h: Likewise.
7718 * include/stdlib.h: Likewise.
7719 * include/string.h: Likewise.
7720 * include/sys/cdefs.h: Likewise.
7721 * include/sys/mman.h: Likewise.
7722 * include/sys/msg.h: Likewise.
7723 * include/sys/resource.h: Likewise.
7724 * include/sys/select.h: Likewise.
7725 * include/sys/socket.h: Likewise.
7726 * include/sys/stat.h: Likewise.
7727 * include/sys/statvfs.h: Likewise.
7728 * include/sys/time.h: Likewise.
7729 * include/sys/times.h: Likewise.
7730 * include/sys/uio.h: Likewise.
7731 * include/sys/utsname.h: Likewise.
7732 * include/sys/wait.h: Likewise.
7733 * include/termios.h: Likewise.
7734 * include/time.h: Likewise.
7735 * include/ulimit.h: Likewise.
7736 * include/unistd.h: Likewise.
7737 * include/utime.h: Likewise.
7738 * include/wchar.h: Likewise.
7739 * include/wctype.h: Likewise.
7740 * include/wordexp.h: Likewise.
7742 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7744 * time/time.h: TIME_UTC must be a macro.
7745 Make timespec_get available for ISO C11 only as well.
7747 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7749 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7750 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7752 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7754 * configure.in: Use -o not -a in test for unsupported multi-arch.
7756 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7758 * manual/texinfo.tex: Update to version 2012-01-19.16.
7760 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7762 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7764 2012-02-24 Roland McGrath <roland@hack.frob.com>
7767 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7768 * manual/fdl-1.3.texi: New file.
7769 * manual/fdl-1.1.texi: File removed.
7772 * manual/libc.texinfo (FDL_VERSION): New @set.
7773 Use it for mention of FDL in cover text.
7774 (Documentation License): Use it in @include file name.
7776 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7777 Roland McGrath <roland@hack.frob.com>
7780 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7781 not LONG_LONG_MAX and LONG_LONG_MIN.
7782 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7783 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7785 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7787 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7791 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7792 manipulate bits before adding and subtracting TWO23[sx].
7793 * math/libm-test.inc (nearbyint_test): Add more tests.
7795 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7798 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7799 bits before adding and subtracting TWO23[sx].
7800 * math/libm-test.inc (rint_test): Add more tests.
7801 (rint_test_tonearest): Likewise.
7802 (rint_test_towardzero): Likewise.
7803 (rint_test_downward): Likewise.
7804 (rint_test_upward: Likewise.
7806 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7809 * include/stdc-predef.h: New file. Extracted from features.h.
7810 * include/features.h: Include stdc-predef.h.
7811 * Makefile (headers): Add stdc-predef.h.
7812 * CONFORMANCE (Compiler limitations): Update.
7814 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7816 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7818 2012-02-21 David S. Miller <davem@davemloft.net>
7820 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7821 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7823 2012-02-20 David S. Miller <davem@davemloft.net>
7825 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7826 using a normal save/restore sequence, rather than allocating a
7827 dummy stack frame just to store a frame pointer and restore.
7828 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7830 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7832 * manual/install.texi: Fix stray word in line-wrapped comment.
7834 2012-02-20 David S. Miller <davem@davemloft.net>
7836 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7837 both binutils and gcc support GOTDATA.
7839 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7840 "rd %pc" in the PIC register setup sequences.
7842 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7843 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7844 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7845 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7846 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7847 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7848 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7849 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7850 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7851 (SYSCALL_ERROR_HANDLER): Likewise.
7852 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7853 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7855 (SYSCALL_ERROR_HANDLER): Likewise.
7857 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7858 (HAVE_GCC_GOTDATA): New.
7859 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7860 relocation support in both binutils and gcc.
7861 * sysdeps/sparc/elf/configure: Regenerate.
7863 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7864 * sysdeps/sparc/sparc32/elf/configure: Delete.
7865 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7866 * sysdeps/sparc/sparc64/elf/configure: Delete.
7867 * sysdeps/sparc/elf/configure.in: New file.
7868 * sysdeps/sparc/elf/configure: Generate.
7870 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7871 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7872 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7873 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7874 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7876 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7878 * manual/install.texi: Do not mention specific glibc version
7880 * manual/libc.texinfo (VERSION, UPDATED): Update.
7881 (@copying): Use @copyright{} and range of years.
7883 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7886 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7887 [crti.S not in sysdirs] (generated): Do not append.
7888 [crti.S not in sysdirs] (omit-deps): Likewise.
7889 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7890 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7891 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7892 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7893 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7895 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7896 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7897 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7898 * csu/defs.awk: Remove file.
7899 * sysdeps/generic/initfini.c: Likewise.
7900 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7902 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7905 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7907 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7908 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7909 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7910 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7911 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7912 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7914 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7915 (__EPOLL_PACKED): Define to empty if not defined by
7917 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7921 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7923 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7924 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7925 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7926 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7928 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7932 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7934 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7936 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7937 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7938 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7941 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7943 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7944 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7946 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7948 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7949 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7951 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7953 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7956 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7958 * math/w_acos.c: Use non-signaling floating-point comparisons.
7959 * math/w_acosf.c: Likewise.
7960 * math/w_acosh.c: Likewise.
7961 * math/w_acoshf.c: Likewise.
7962 * math/w_acoshl.c: Likewise.
7963 * math/w_acosl.c: Likewise.
7964 * math/w_asin.c: Likewise.
7965 * math/w_asinf.c: Likewise.
7966 * math/w_asinl.c: Likewise.
7967 * math/w_atanh.c: Likewise.
7968 * math/w_atanhf.c: Likewise.
7969 * math/w_atanhl.c: Likewise.
7970 * math/w_exp2.c: Likewise.
7971 * math/w_exp2f.c: Likewise.
7972 * math/w_exp2l.c: Likewise.
7973 * math/w_j0.c: Likewise.
7974 * math/w_j0f.c: Likewise.
7975 * math/w_j0l.c: Likewise.
7976 * math/w_j1.c: Likewise.
7977 * math/w_j1f.c: Likewise.
7978 * math/w_j1l.c: Likewise.
7979 * math/w_jn.c: Likewise.
7980 * math/w_jnf.c: Likewise.
7981 * math/w_log.c: Likewise.
7982 * math/w_log10.c: Likewise.
7983 * math/w_log10f.c: Likewise.
7984 * math/w_log10l.c: Likewise.
7985 * math/w_log2.c: Likewise.
7986 * math/w_log2f.c: Likewise.
7987 * math/w_log2l.c: Likewise.
7988 * math/w_logf.c: Likewise.
7989 * math/w_logl.c: Likewise.
7990 * math/w_sqrt.c: Likewise.
7991 * math/w_sqrtf.c: Likewise.
7992 * math/w_sqrtl.c: Likewise.
7993 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7994 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7995 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7996 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7997 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7999 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8002 * manual/string.texi (strnlen): Use correct parameter name in
8003 equivalent expression.
8005 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8008 * manual/users.texi (seteuid): Consistently use neweuid for
8011 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8014 * manual/nss.texi (Services in the NSS configuration): Correct
8015 list of services in example configuration file.
8017 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8020 * manual/arith.texi: Remove statements about negative zero
8021 behaving identically to zero.
8023 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8026 * manual/install.texi: Do not document upgrading from libc5.
8028 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8031 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8033 2012-02-18 David S. Miller <davem@davemloft.net>
8035 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8036 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8037 %o7 across the call.
8038 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8040 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8042 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8043 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8044 * sysdeps/sparc/crtn.S: Likewise.
8046 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8048 * aout/Makefile: Remove.
8050 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8053 * manual/examples/argp-ex1.c (main): Format definition in GNU
8055 * manual/examples/argp-ex2.c (main): Likewise.
8056 * manual/examples/argp-ex3.c (main): Likewise.
8057 * manual/examples/argp-ex4.c (main): Likewise.
8058 * manual/examples/longopt.c (main): Use new-style prototype
8060 * manual/examples/strncat.c (main): Specify return type and use
8061 (void) for arguments.
8062 * manual/examples/subopt.c (main): Use char **argv argument.
8064 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8067 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8070 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8073 * manual/string.texi (strchr): Change when strchrnul is
8076 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8079 * manual/locale.texi (setlocale): Document LOCPATH.
8081 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8084 * manual/process.texi (execle): Move @dots{} before last argument.
8086 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8089 * manual/charset.texi (Generic Charset Conversion): Fix typo
8090 (LC_TYPE -> LC_CTYPE).
8092 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8095 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8096 (scalbnf): Likewise.
8097 (scalbnl): Likewise.
8098 (scalbln): Likewise.
8099 (scalblnf): Likewise.
8100 (scalblnl): Likewise.
8101 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8105 * manual/filesys.texi (telldir): Use braces around return type.
8106 * manual/llio.texi (mmap): Add space after comma.
8108 * manual/math.texi (jn): Use @var{} on parameter names.
8114 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8116 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8118 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8119 (sched_get_priority_max): Likewise.
8120 * manual/signal.texi (sigvec): Add space after comma.
8121 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8123 (if_indextoname): Likewise.
8124 (if_freenameindex): Likewise.
8125 (sendto): Use ',' instead of '.' in prototype.
8126 * manual/startup.texi (syscall): Use @dots{} instead of literal
8128 * manual/stdio.texi (__fpending): Separate initial words of
8129 paragraph from @deftypefun line.
8130 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8132 (vsyslog): Use @var{} on parameter names.
8133 * manual/terminal.texi (stty): Use @var{} on parameter names.
8134 * manual/users.texi (getutmp): Use @var{} on parameter names.
8135 (getutmpx): Likewise.
8137 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8140 * manual/stdio.texi (fopen): Fix typos in description of
8143 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8146 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8147 get clock_id definition.
8149 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8152 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8153 (madvise): Cast every argument to void on its own.
8155 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8158 * manual/startup.texi (Exit Status): Fix typo.
8160 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8163 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8164 * manual/examples/argp-ex2.c: Likewise.
8165 * manual/examples/argp-ex3.c: Likewise.
8167 2012-02-16 Richard Henderson <rth@redhat.com>
8169 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8170 * sysdeps/s390/s390-32/initfini.c: Remove.
8171 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8172 * sysdeps/s390/s390-64/initfini.c: Remove.
8174 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8176 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8177 compiler output for sysdeps/generic/initfini.c.
8178 * sysdeps/sh/elf/initfini.c: Remove file.
8180 2012-02-16 David S. Miller <davem@davemloft.net>
8183 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8185 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8186 * sysdeps/sparc/crti.S: New file.
8187 * sysdeps/sparc/crtn.S: New file.
8188 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8189 * sysdeps/sparc/sparc64/Makefile: Likewise.
8191 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8194 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8196 2012-02-15 Roland McGrath <roland@hack.frob.com>
8199 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8201 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8202 (write, read, close): Likewise.
8203 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8205 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8207 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8208 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8209 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8210 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8212 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8216 2012-02-14 Marek Polacek <polacek@redhat.com>
8218 * sysdeps/x86_64/crti.S: New file.
8219 * sysdeps/x86_64/crtn.S: New file.
8220 * sysdeps/x86_64/elf/initfini.c: Remove file.
8222 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8224 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8225 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8226 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8227 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8229 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8233 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8235 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8236 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8237 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8238 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8240 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8241 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8244 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8246 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8247 __feraiseexcept instead of feraiseexcept.
8249 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8250 nanosleep invocations.
8251 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8252 strings, and add error checking for a nanosleep invocations.
8254 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8256 Replace FSF snail mail address with URLs, as per GNU coding standards.
8257 Most of the snail mail addresses were wrong anyway, and omitting
8258 them makes the source code easier to maintain. Almost all of the
8259 changes are to license notices and to locale LC_IDENTIFICATION
8260 addresses, except for this one:
8261 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8262 not its snail mail address.
8264 2012-02-09 Richard Henderson <rth@twiddle.net>
8266 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8267 of kernel-features.h.
8269 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8271 2012-02-08 Marek Polacek <polacek@redhat.com>
8273 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8274 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8275 * sysdeps/gnu/_G_config.h: Likewise.
8276 * sysdeps/generic/_G_config.h: Likewise.
8278 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8280 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8284 * sysdeps/powerpc/powerpc32/crti.S: New file.
8285 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8286 * sysdeps/powerpc/powerpc64/crti.S: New file.
8287 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8289 * Makeconfig (have-initfini): Don't set.
8290 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8291 * configure.in (nopic_initfini): Don't substitute.
8292 * config.h.in (HAVE_INITFINI): Don't #undef.
8293 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8294 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8296 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8298 Support crti.S and crtn.S provided directly by architectures.
8299 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8300 [crti.S in sysdirs] (omit-deps): Likewise.
8301 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8302 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8303 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8304 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8305 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8306 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8307 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8308 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8309 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8310 compiler output for sysdeps/generic/initfini.c.
8311 * sysdeps/i386/elf/Makefile: Remove file.
8312 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8314 2012-02-07 Marek Polacek <polacek@redhat.com>
8316 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8317 * sysdeps/gnu/_G_config.h: Likewise.
8318 * sysdeps/mach/hurd/_G_config.h: Likewise.
8320 2012-02-07 Marek Polacek <polacek@redhat.com>
8322 * math/Makefile (tests): Add tst-CMPLX2.
8323 * math/tst-CMPLX2.c: New file.
8325 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8327 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8329 * math/libm-test.inc (jn_test): Add missing L suffix.
8331 2012-02-06 Marek Polacek <polacek@redhat.com>
8333 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8334 * sysdeps/i386/fpu/e_powf.S: Likewise.
8335 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8336 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8337 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8338 * sysdeps/i386/fpu/e_pow.S: Likewise.
8339 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8340 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8341 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8342 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8343 * sysdeps/i386/fpu/e_log2.S: Likewise.
8344 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8345 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8346 * sysdeps/i386/fpu/e_powl.S: Likewise.
8347 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8348 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8349 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8350 * sysdeps/i386/fpu/e_logl.S: Likewise.
8351 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8352 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8353 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8354 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8355 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8356 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8357 * sysdeps/i386/fpu/e_log.S: Likewise.
8358 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8359 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8360 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8361 * sysdeps/i386/fpu/e_logf.S: Likewise.
8362 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8363 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8364 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8365 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8366 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8367 * sysdeps/i386/fpu/e_log10.S: Likewise.
8368 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8369 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8370 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8371 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8372 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8373 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8374 * sysdeps/i386/asm-syntax.h: Likewise.
8375 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8376 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8377 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8378 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8379 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8380 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8381 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8382 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8383 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8384 * sysdeps/powerpc/sysdep.h: Likewise.
8385 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8386 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8388 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8391 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8393 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8395 * sysdeps/i386/sysdep.h: Include <features.h>.
8396 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8399 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8401 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8403 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8406 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8408 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8409 (SETUP_PIC_REG): Use GET_PC_THUNK.
8410 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8413 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8415 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8416 for non-PIC compilation.
8417 (SETUP_PIC_REG): Add .p2align directive.
8418 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8419 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8420 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8421 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8422 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8423 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8424 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8425 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8426 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8427 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8428 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8429 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8430 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8431 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8432 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8433 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8434 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8435 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8436 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8437 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8438 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8439 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8440 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8441 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8442 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8444 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8445 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8446 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8448 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8449 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8450 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8453 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8454 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8455 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8456 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8457 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8458 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8460 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8462 * math/tst-CMPLX.c: Include <stdio.h>.
8464 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8466 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8468 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8469 * sysdeps/sparc/bits/mathdef.h: Likewise.
8471 2012-01-31 Marek Polacek <polacek@redhat.com>
8473 * libio/libio.h: Don't define _PARAMS.
8474 * locale/programs/config.h: Don't define PARAMS.
8475 * stdlib/strtol_l.c: Likewise.
8476 (__strtol_l): Remove PARAMS from the prototype.
8478 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8480 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8481 names. Just use the correct names. Remove unnecessary wrapper
8483 * malloc/arena.c: Likewise.
8484 * malloc/hooks.c: Likewise.
8486 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8487 ARENA_TEST says not to. Simplify test for creation of a new arena.
8488 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8490 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8492 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8494 (update_get_addr): New function.
8495 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8496 GET_ADDR_MODULE parameter.
8498 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8500 * crypt/cert.c: Remove __STDC__ conditionals.
8501 * crypt/crypt-entry.c: Likewise.
8502 * crypt/crypt_util.c: Likewise.
8503 * libio/filedoalloc.c: Likewise.
8504 * libio/fileops.c: Likewise.
8505 * libio/genops.c: Likewise.
8506 * libio/iofclose.c: Likewise.
8507 * libio/iofdopen.c: Likewise.
8508 * libio/iofopen.c: Likewise.
8509 * libio/iofopen64.c: Likewise.
8510 * libio/iogetdelim.c: Likewise.
8511 * libio/iopopen.c: Likewise.
8512 * libio/obprintf.c: Likewise.
8513 * libio/oldfileops.c: Likewise.
8514 * libio/oldiofclose.c: Likewise.
8515 * libio/oldiofdopen.c: Likewise.
8516 * libio/oldiofopen.c: Likewise.
8517 * libio/oldiopopen.c: Likewise.
8518 * libio/wfiledoalloc.c: Likewise.
8519 * libio/wgenops.c: Likewise.
8520 * locale/programs/xmalloc.c: Likewise.
8521 * misc/syslog.c: Likewise.
8522 * stdio-common/xbug.c: Likewise.
8523 * string/memchr.c: Likewise.
8524 * string/memcmp.c: Likewise.
8525 * string/memrchr.c: Likewise.
8526 * string/rawmemchr.c: Likewise.
8527 * sysdeps/posix/getcwd.c: Likewise.
8528 * time/strftime_l.c: Likewise.
8530 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8532 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8533 * config.make.in (config-cflags-sse2avx): Define.
8534 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8537 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8539 * scripts/config.guess: Update from upstream config git repository.
8540 * scripts/config.sub: Likewise.
8542 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8544 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8546 (R_TILEPRO_*, R_TILEGX_*): New macros.
8548 * scripts/firstversions.awk: Fix bug in version range handling.
8550 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8552 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8554 * include/sys/epoll.h: New file.
8555 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8558 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8560 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8561 Avoid unnecessary __WORDSIZE == 64 test.
8562 (fmaxf): Use VEX format if possible.
8567 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8568 * math/math_private.h: Remove libc_fegetround* and
8570 * sysdeps/i386/configure.in: Check for -msse2avx.
8571 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8572 also if SSE2AVX is defined.
8573 Remove libc_fegetround* and libc_fesetround*.
8574 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8575 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8576 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8578 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8579 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8580 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8581 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8582 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8584 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8586 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8588 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8590 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8592 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8595 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8597 * Makeconfig (libm): Define.
8598 * elf/Makefile: Add rules to build and run tst-relsort1.
8599 * elf/tst-relsort1.c: New file.
8600 * elf/tst-relsort1mod1.c: New file.
8601 * elf/tst-relsort1mod2.c: New file.
8603 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8605 * math/s_ldexp.c: Remove __STDC__ conditionals.
8606 * math/s_ldexpf.c: Likewise.
8607 * math/s_ldexpl.c: Likewise.
8608 * math/s_nextafter.c: Likewise.
8609 * math/s_nexttowardf.c: Likewise.
8610 * math/s_significand.c: Likewise.
8611 * math/s_significandf.c: Likewise.
8612 * math/s_significandl.c: Likewise.
8613 * math/w_jnl.c: Likewise.
8614 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8615 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8616 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8617 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8618 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8619 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8620 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8621 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8622 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8623 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8624 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8625 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8626 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8627 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8629 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8630 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8631 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8632 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8633 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8634 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8635 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8636 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8637 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8638 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8639 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8641 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8642 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8643 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8644 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8646 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8647 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8648 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8649 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8650 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8651 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8652 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8653 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8654 * sysdeps/ieee754/k_standard.c: Likewise.
8655 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8656 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8657 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8658 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8659 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8660 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8661 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8662 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8663 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8664 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8665 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8666 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8667 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8668 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8669 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8670 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8671 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8672 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8673 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8674 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8677 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8678 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8679 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8680 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8681 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8716 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8721 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8729 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8730 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8734 * sysdeps/ieee754/s_matherr.c: Likewise.
8735 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8736 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8737 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8738 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8740 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8742 * crypt/md5.h: Remove __STDC__ conditionals.
8743 * libio/libioP.h: Likewise.
8744 * locale/programs/config.h: Likewise.
8745 * sysdeps/generic/sysdep.h: Likewise.
8746 * sysdeps/i386/asm-syntax.h: Likewise.
8747 * sysdeps/s390/asm-syntax.h: Likewise.
8748 * sysdeps/unix/sysdep.h: Likewise.
8749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8752 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8754 * libio/libio.h: Remove __STDC__ conditionals.
8755 * malloc/obstack.h: Likewise.
8756 * math/complex.h: Likewise.
8757 * math/math.h: Likewise.
8758 * sysdeps/generic/_G_config.h: Likewise.
8759 * sysdeps/gnu/_G_config.h: Likewise.
8760 * sysdeps/mach/hurd/_G_config.h: Likewise.
8761 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8762 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8763 * sysdeps/sparc/bits/mathdef.h: Likewise.
8765 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8768 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8769 Clean up HAS_* macros.
8770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8771 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8773 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8775 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8776 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8777 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8778 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8779 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8781 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8783 * elf/tst-unique3.cc (gets): Remove declaration.
8784 * elf/tst-unique3lib.cc (gets): Likewise.
8785 * elf/tst-unique3lib2.cc (gets): Likewise.
8786 * elf/tst-unique4.cc (gets): Likewise.
8788 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8790 * include/stdio.h: Add C++ protection. Add gets declarations and
8792 * debug/tst-chk1.c: Don't declare gets here.
8793 * stdio-common/tst-gets.c: Likewise.
8795 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8797 * posix/glob: Remove directory.
8799 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8801 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8803 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8805 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8806 of the non-standard EPFNOSUPPORT.
8808 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8810 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8811 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8812 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8814 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8816 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8818 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8820 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8822 * nscd/grpcache.c (cache_addgr): Likewise.
8823 * nscd/hstcache.c (cache_addhst): Likewise.
8824 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8825 * nscd/pwdcache.c (cache_addpw): Likewise.
8826 * nscd/servicescache.c (cache_addserv): Likewise.
8828 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8830 * malloc/malloc.c: Various cleanups.
8831 * malloc/hooks.c: Likewise.
8833 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8834 * stdlib/bug-fmtmsg1.c: New file.
8836 * stdlib/fmtmsg.c (init): Add missing unlock.
8837 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8839 2012-01-12 Marek Polacek <polacek@redhat.com>
8841 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8844 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8846 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8847 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8848 macro to ensure uniqueness of label name.
8849 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8850 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8852 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8854 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8856 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8857 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8858 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8859 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8861 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8863 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8865 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8866 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8867 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8869 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8871 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8872 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8873 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8874 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8876 * math/bits/math-finite.h: Add ldexp support.
8878 2012-01-10 Marek Polacek <polacek@redhat.com>
8880 * locale/programs/localedef.h (show_archive_content): Add noreturn
8883 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8885 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8887 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8889 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8891 * io/Makefile (headers): Add bits/poll2.h.
8893 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8896 typo #include statement.
8898 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8900 * include/sys/cdefs.h: Define __attribute_alloc_size.
8901 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8902 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8903 * elf/pldd.c: Likewise.
8904 * iconv/iconv_charmap.c: Likewise.
8905 * iconv/iconvconfig.c: Likewise.
8906 * iconv/strtab.c: Likewise.
8907 * locale/programs/locale.c: Likewise.
8908 * locale/programs/localedef.h: Likewise.
8909 * locale/programs/simple-hash.c: Likewise.
8910 * nscd/nscd.h: Likewise.
8911 * nss/makedb.c: Likewise.
8912 * sysdeps/generic/ldconfig.h: Likewise.
8913 * locale/programs/localedef.c: Remove xmalloc prototype.
8914 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8916 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8918 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8921 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8923 * math/Makefile (tests): Add tst-CMPLX.
8924 * math/tst-CMPLX.c: New file.
8926 * math/complex.h (CMPLXL): Fix typo.
8928 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8929 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8931 * debug/tst-chk1.c: Add poll and ppoll tests.
8932 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8933 * include/sys/poll.h: Add hidden proto for ppoll.
8934 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8935 * sysdeps/mach/hurd/ppoll.c: Likewise.
8936 * io/ppoll.c: Likewise.
8937 * debug/poll_chk.c: New file.
8938 * debug/ppoll_chk.c: New file.
8939 * include/bits/poll2.h: New file.
8940 * io/bits/poll2.h: New file.
8943 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8945 * configure.in: static is always set to yes. Remove.
8946 * config.make.in: Don't set build-static.
8947 * Makeconfig: Remove use of build-static.
8948 * dlfcn/Makefile: Likewise.
8949 * elf/Makefile: Likewise.
8950 * math/Makefile: Likewise.
8951 * misc/Makefile: Likewise.
8952 * nptl/Makefile: Likewise.
8953 * sysdeps/mach/hurd/Makefile: Likewise.
8955 * configure.in: PWD_P is not used anymore.
8956 * config.make.in: Remove PWD_P entry.
8958 * configure.in: Remove last remnants of RANLIB.
8959 No need to check for signed size_t anymore.
8960 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8962 Remove __builtin_expect test because we require at least gcc 3.4.
8963 * aclocal.m4: Likewise.
8965 * wcsmbs/mbrtoc16.c: Implement using towc function.
8966 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8967 * wcsmbs/wcsmbsload.c: Likewise.
8968 * iconv/gconv_simple.c: Likewise.
8969 * iconv/gconv_int.h: Likewise.
8970 * iconv/gconv_builtin.h: Likewise.
8971 * iconv/iconv_prog.c: Remove CHAR16 handling.
8973 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8975 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8977 * configure.in: Remove --with-elf and --enable-bounded options.
8978 Dont set base_machine for ia64. More non-ELF conditions removed.
8979 Remove testing and setting of leading underscore information.
8980 * config.make.in (build-bounded): Set to no.
8981 * config.h.in: Remove NO_UNDERSCORES entry.
8982 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8984 * csu/start.c: Remove !NO_UNDERSCORE code.
8985 * locale/localeinfo.h: Likewise.
8986 * sysdeps/generic/machine-gmon.h: Likewise.
8987 * sysdeps/generic/sysdep.h: Likewise.
8988 * sysdeps/i386/sysdep.h: Likewise.
8989 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8990 * sysdeps/mach/sysdep.h: Likewise.
8991 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8992 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8993 * sysdeps/sh/sysdep.h: Likewise.
8994 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8995 * sysdeps/unix/i386/sysdep.S: Likewise.
8996 * sysdeps/unix/sparc/start.c: Likewise.
8997 * sysdeps/unix/sparc/sysdep.S: Likewise.
8998 * sysdeps/unix/sparc/sysdep.h: Likewise.
8999 * sysdeps/unix/start.c: Likewise.
9000 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9001 * sysdeps/x86_64/sysdep.h: Likewise.
9003 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9006 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9008 * argp/argp-fmtstream.h: Use const instead __const.
9009 * argp/argp.h: Likewise.
9010 * assert/assert.h: Likewise.
9011 * bits/fenv.h: Likewise.
9012 * bits/sched.h: Likewise.
9013 * bits/sigset.h: Likewise.
9014 * bits/sigthread.h: Likewise.
9015 * catgets/nl_types.h: Likewise.
9016 * conform/data/pthread.h-data: Likewise.
9017 * crypt/crypt-private.h: Likewise.
9018 * crypt/crypt.h: Likewise.
9019 * crypt/crypt_util.c: Likewise.
9020 * ctype/ctype.h: Likewise.
9021 * debug/execinfo.h: Likewise.
9022 * debug/mbsnrtowcs_chk.c: Likewise.
9023 * debug/mbsrtowcs_chk.c: Likewise.
9024 * debug/wcsnrtombs_chk.c: Likewise.
9025 * debug/wcsrtombs_chk.c: Likewise.
9026 * debug/wcstombs_chk.c: Likewise.
9027 * dirent/dirent.h: Likewise.
9028 * dlfcn/dlfcn.h: Likewise.
9029 * elf/neededtest4.c: Likewise.
9030 * grp/grp.h: Likewise.
9031 * gshadow/gshadow.h: Likewise.
9032 * iconv/gconv.h: Likewise.
9033 * iconv/gconv_int.h: Likewise.
9034 * iconv/gconv_simple.c: Likewise.
9035 * iconv/iconv.h: Likewise.
9036 * iconv/loop.c: Likewise.
9037 * iconv/skeleton.c: Likewise.
9038 * include/aio.h: Likewise.
9039 * include/aliases.h: Likewise.
9040 * include/argz.h: Likewise.
9041 * include/arpa/inet.h: Likewise.
9042 * include/assert.h: Likewise.
9043 * include/dirent.h: Likewise.
9044 * include/dlfcn.h: Likewise.
9045 * include/execinfo.h: Likewise.
9046 * include/fcntl.h: Likewise.
9047 * include/fenv.h: Likewise.
9048 * include/glob.h: Likewise.
9049 * include/grp.h: Likewise.
9050 * include/libintl.h: Likewise.
9051 * include/mntent.h: Likewise.
9052 * include/netdb.h: Likewise.
9053 * include/pwd.h: Likewise.
9054 * include/rpc/netdb.h: Likewise.
9055 * include/sched.h: Likewise.
9056 * include/search.h: Likewise.
9057 * include/shadow.h: Likewise.
9058 * include/signal.h: Likewise.
9059 * include/stdio.h: Likewise.
9060 * include/stdlib.h: Likewise.
9061 * include/string.h: Likewise.
9062 * include/sys/socket.h: Likewise.
9063 * include/sys/stat.h: Likewise.
9064 * include/sys/statfs.h: Likewise.
9065 * include/sys/statvfs.h: Likewise.
9066 * include/sys/syslog.h: Likewise.
9067 * include/sys/time.h: Likewise.
9068 * include/sys/uio.h: Likewise.
9069 * include/time.h: Likewise.
9070 * include/unistd.h: Likewise.
9071 * include/utmp.h: Likewise.
9072 * include/wchar.h: Likewise.
9073 * include/wctype.h: Likewise.
9074 * inet/aliases.h: Likewise.
9075 * inet/arpa/inet.h: Likewise.
9076 * inet/netinet/ether.h: Likewise.
9077 * inet/netinet/in.h: Likewise.
9078 * intl/libintl.h: Likewise.
9079 * io/bits/fcntl2.h: Likewise.
9080 * io/fcntl.h: Likewise.
9081 * io/ftw.h: Likewise.
9082 * io/sys/poll.h: Likewise.
9083 * io/sys/stat.h: Likewise.
9084 * io/sys/statfs.h: Likewise.
9085 * io/sys/statvfs.h: Likewise.
9086 * io/utime.h: Likewise.
9087 * libio/bits/stdio.h: Likewise.
9088 * libio/bits/stdio2.h: Likewise.
9089 * libio/libio.h: Likewise.
9090 * libio/libioP.h: Likewise.
9091 * libio/stdio.h: Likewise.
9092 * locale/lc-ctype.c: Likewise.
9093 * locale/locale.h: Likewise.
9094 * login/utmp.h: Likewise.
9095 * malloc/arena.c: Likewise.
9096 * malloc/malloc.c: Likewise.
9097 * malloc/malloc.h: Likewise.
9098 * malloc/mcheck.c: Likewise.
9099 * malloc/mtrace.c: Likewise.
9100 * math/bits/mathcalls.h: Likewise.
9101 * math/fenv.h: Likewise.
9102 * math/math_private.h: Likewise.
9103 * misc/bits/error.h: Likewise.
9104 * misc/bits/syslog.h: Likewise.
9105 * misc/err.h: Likewise.
9106 * misc/error.h: Likewise.
9107 * misc/fstab.h: Likewise.
9108 * misc/mntent.h: Likewise.
9109 * misc/regexp.h: Likewise.
9110 * misc/search.h: Likewise.
9111 * misc/sgtty.h: Likewise.
9112 * misc/sys/mman.h: Likewise.
9113 * misc/sys/syslog.h: Likewise.
9114 * misc/sys/uio.h: Likewise.
9115 * misc/sys/xattr.h: Likewise.
9116 * misc/ttyent.h: Likewise.
9117 * nis/rpcsvc/ypclnt.h: Likewise.
9118 * nss/nss.h: Likewise.
9119 * posix/bits/unistd.h: Likewise.
9120 * posix/fnmatch.h: Likewise.
9121 * posix/glob.h: Likewise.
9122 * posix/sched.h: Likewise.
9123 * posix/spawn.h: Likewise.
9124 * posix/sys/wait.h: Likewise.
9125 * posix/unistd.h: Likewise.
9126 * posix/wordexp.h: Likewise.
9127 * pwd/pwd.h: Likewise.
9128 * resolv/netdb.h: Likewise.
9129 * resource/sys/resource.h: Likewise.
9130 * rt/aio.h: Likewise.
9131 * rt/bits/mqueue2.h: Likewise.
9132 * rt/mqueue.h: Likewise.
9133 * shadow/shadow.h: Likewise.
9134 * signal/signal.h: Likewise.
9135 * socket/send.c: Likewise.
9136 * socket/sendto.c: Likewise.
9137 * socket/sys/socket.h: Likewise.
9138 * stdio-common/printf.h: Likewise.
9139 * stdlib/bits/stdlib.h: Likewise.
9140 * stdlib/fmtmsg.h: Likewise.
9141 * stdlib/monetary.h: Likewise.
9142 * stdlib/stdlib.h: Likewise.
9143 * stdlib/ucontext.h: Likewise.
9144 * streams/stropts.h: Likewise.
9145 * string/argz.h: Likewise.
9146 * string/bits/string2.h: Likewise.
9147 * string/string.h: Likewise.
9148 * string/strings.h: Likewise.
9149 * sunrpc/rpc/auth.h: Likewise.
9150 * sunrpc/rpc/auth_des.h: Likewise.
9151 * sunrpc/rpc/clnt.h: Likewise.
9152 * sunrpc/rpc/netdb.h: Likewise.
9153 * sunrpc/rpc/pmap_clnt.h: Likewise.
9154 * sunrpc/rpc/xdr.h: Likewise.
9155 * sysdeps/generic/inttypes.h: Likewise.
9156 * sysdeps/generic/net/if.h: Likewise.
9157 * sysdeps/generic/sys/swap.h: Likewise.
9158 * sysdeps/gnu/net/if.h: Likewise.
9159 * sysdeps/gnu/utmpx.h: Likewise.
9160 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9161 * sysdeps/i386/i486/bits/string.h: Likewise.
9162 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9163 * sysdeps/s390/bits/string.h: Likewise.
9164 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9165 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9166 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9167 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9168 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9169 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9170 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9171 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9172 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9173 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9174 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9175 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9176 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9177 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9178 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9179 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9180 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9181 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9182 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9183 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9184 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9185 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9186 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9187 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9188 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9189 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9190 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9191 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9192 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9193 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9194 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9195 * sysvipc/sys/ipc.h: Likewise.
9196 * sysvipc/sys/msg.h: Likewise.
9197 * sysvipc/sys/sem.h: Likewise.
9198 * sysvipc/sys/shm.h: Likewise.
9199 * termios/termios.h: Likewise.
9200 * time/sys/time.h: Likewise.
9201 * time/time.h: Likewise.
9202 * wcsmbs/bits/wchar2.h: Likewise.
9203 * wcsmbs/uchar.h: Likewise.
9204 * wcsmbs/wchar.h: Likewise.
9205 * wctype/wctype.h: Likewise.
9208 * Makeconfig: Remove all but ELF support including AIX support.
9209 * Makerules: Likewise.
9210 * config.h.in: Likewise.
9211 * config.make.in: Likewise.
9212 * configure: Likewise.
9213 * configure.in: Likewise.
9214 * csu/Makefile: Likewise.
9215 * csu/version.c: Likewise.
9216 * debug/Makefile: Likewise.
9217 * dlfcn/Makefile: Likewise.
9218 * elf/Makefile: Likewise.
9219 * extra-lib.mk: Likewise.
9220 * iconv/Makefile: Likewise.
9221 * include/libc-symbols.h: Likewise.
9222 * include/shlib-compat.h: Likewise.
9223 * resolv/Makefile: Likewise.
9224 * resolv/res_libc.c: Likewise.
9225 * rt/Makefile: Likewise.
9226 * sysdeps/i386/asm-syntax.h: Likewise.
9227 * sysdeps/i386/sysdep.h: Likewise.
9228 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9229 * sysdeps/mach/sysdep.h: Likewise.
9230 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9231 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9232 * sysdeps/s390/asm-syntax.h: Likewise.
9233 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9234 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9235 * sysdeps/sh/sysdep.h: Likewise.
9236 * sysdeps/unix/sparc/sysdep.h: Likewise.
9237 * sysdeps/wordsize-32/divdi3.c: Likewise.
9238 * sysdeps/x86_64/sysdep.h: Likewise.
9240 * argp/Versions: Remove _argp_unlock_xxx.
9243 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9244 * abilist/libBrokenLocale.abilist: Likewise.
9245 * abilist/libanl.abilist: Likewise.
9246 * abilist/libc.abilist: Likewise.
9247 * abilist/libcrypt.abilist: Likewise.
9248 * abilist/libdl.abilist: Likewise.
9249 * abilist/libm.abilist: Likewise.
9250 * abilist/libnsl.abilist: Likewise.
9251 * abilist/libpthread.abilist: Likewise.
9252 * abilist/libresolv.abilist: Likewise.
9253 * abilist/librt.abilist: Likewise.
9254 * abilist/libthread_db.abilist: Likewise.
9255 * abilist/libutil.abilist: Likewise.
9256 * abilist/libnss_db.abilist: New file.
9258 * scripts/abilist.awk: Add support for indirect functions.
9260 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9262 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9264 * shlib-versions: Remove entries for ports architectures.
9266 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9268 * elf/stackguard-macros.h: Remove support for IA-64.
9269 * elf/tst-auditmod1.c: Likewise.
9270 * sysdeps/generic/ldsodefs.h: Likewise.
9272 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9273 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9277 * configure.in: Remove --enable-omitfp support.
9279 * config.make.in: Likewise.
9280 * Makeconfig: Likewise.
9281 * manual/install.texi: Likewise.
9283 In case anyone cares, the IA-64 architecture could move to ports.
9284 * sysdeps/ia64/*: Removed.
9285 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9286 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9289 * configure.in: Remove entries for unsupported architectures.
9292 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9293 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9295 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9296 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9297 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9298 fall back to using wcrtomb.
9299 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9300 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9302 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9303 * wcsmbs/tst-c16c32-1.c: New file.
9305 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9308 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9310 * elf/tst-unique3.cc: Add explicit declaration of gets.
9311 * elf/tst-unique3lib.cc: Likewise.
9312 * elf/tst-unique3lib2.cc: Likewise.
9313 * elf/tst-unique4.cc: Likewise.
9315 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9317 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9320 * assert/assert.h (static_assert): Don't define for C++.
9321 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9322 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9324 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9326 * iconv/loop.c (single loop): Fix assertion in storing of
9329 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9331 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9333 * posix/getconf.c: Update copyright year.
9334 * nss/getent.c: Likewise.
9335 * nss/makedb.c: Likewise.
9336 * iconv/iconvconfig.c: Likewise.
9337 * iconv/iconv_prog.c: Likewise.
9338 * elf/ldconfig.c: Likewise.
9339 * elf/pldd.c: Likewise.
9340 * elf/sotruss.ksh: Likewise.
9341 * catgets/gencat.c: Likewise.
9342 * csu/version.c: Likewise.
9343 * elf/ldd.bash.in: Likewise.
9344 * elf/sprof.c (print_version): Likewise.
9345 * locale/programs/locale.c: Likewise.
9346 * locale/programs/localedef.c: Likewise.
9347 * login/programs/pt_chown.c: Likewise.
9348 * nscd/nscd.c (print_version): Likewise.
9349 * debug/xtrace.sh: Likewise.
9350 * malloc/memusage.sh: Likewise.
9351 * malloc/mtrace.pl: Likewise.
9352 * debug/catchsegv.sh: Likewise.
9354 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9356 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9359 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9362 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9363 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9365 * iconv/gconv_int.h: Likewise.
9366 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9367 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9368 from libc for GLIBC_2.16.
9369 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9370 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9371 * wcsmbs/uchar.h: Really define mbstate_t.
9372 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9373 * wcsmbs/c16rtomb.c: New file.
9374 * wcsmbs/mbrtoc16.c: New file.
9375 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9377 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9378 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9380 * wcsmbs/wchar.h: Add missing __restrict.
9382 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9385 * time/Makefile (routines): Add timespec_get.
9386 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9387 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9388 timespec for ISO C11.
9389 * time/timespec_get.c: New file.
9390 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9391 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9394 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9395 * stdlib/stdlib.h: Declare aligned_alloc.
9396 * Versions.def: Add GLIBC_2.16 for libc.
9397 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9400 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9403 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9407 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9410 * assert/assert.h (static_assert): Define.
9412 * version.h: Update for 2.16 development version.
9415 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9418 * version.h (RELEASE): Bump for 2.15 release.
9419 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9421 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9422 Patch by Marek Polacek <mpolacek@redhat.com>.
9424 * bits/byteswap.h: Protect long long constants with __extension__.
9425 * sysdeps/i386/bits/byteswap.h: Likewise.
9426 * sysdeps/ia64/bits/byteswap.h: Likewise.
9427 * sysdeps/s390/bits/byteswap.h: Likewise.
9428 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9430 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9433 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9435 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9437 2011-12-23 Marek Polacek <polacek@redhat.com>
9439 * elf/dl-addr.c (determine_info): Add inline keyword.
9440 * elf/tst-auditmod4b.c (check_avx): Likewise.
9441 * elf/tst-auditmod6b.c (check_avx): Likewise.
9442 * elf/tst-auditmod6c.c (check_avx): Likewise.
9443 * elf/tst-auditmod7b.c (check_avx): Likewise.
9445 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9447 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9450 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9453 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9454 processing for last bytes.
9456 2011-08-06 Bruno Haible <bruno@clisp.org>
9459 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9460 U+0385, not to U+1FEE.
9463 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9464 entry for U+00A5 U+0301.
9466 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9469 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9470 buffer for the output is too small.
9472 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9476 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9477 SSE flags if possible.
9479 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9482 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9483 processing for last bytes.
9485 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9487 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9488 (syscall-list-default-options, syscall-list-default-condition)
9489 (syscall-list-includes): Define.
9490 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9491 list of ABIs and options and #if conditions for each ABI. Do not
9492 handle common syscalls between ABIs specially.
9493 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
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/s390/Makefile (64bit-predefine): Remove.
9499 (syscall-list-variants, syscall-list-32bit-options)
9500 (syscall-list-32bit-condition, syscall-list-64bit-options)
9501 (syscall-list-64bit-condition): Define.
9502 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9504 (syscall-list-variants, syscall-list-32bit-options)
9505 (syscall-list-32bit-condition, syscall-list-64bit-options)
9506 (syscall-list-64bit-condition): Define.
9507 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9509 (syscall-list-variants, syscall-list-32bit-options)
9510 (syscall-list-32bit-condition, syscall-list-64bit-options)
9511 (syscall-list-64bit-condition): Define.
9513 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9515 * locale/iso-639.def: Add brx entry.
9518 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9519 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9521 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9522 __feraiseexcept_renamed.
9524 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9527 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9528 EPOLLET with unsigned values.
9529 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9530 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9532 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9533 to large cancellation.
9534 * math/s_cacoshf.c: Likewise.
9535 * math/s_cacoshl.c: Likewise.
9537 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9541 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9542 * math/s_cacoshf.c: Likewise.
9543 * math/s_cacoshl.c: Likewise.
9545 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9548 * iconv/gconv.h: Define __GCONV_SWAP.
9549 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9550 * iconvdata/utf-16.c: Likewise.
9551 * iconvdata/utf-32.c: Likewise.
9553 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9556 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9557 numerator after shifting it by one limb.
9559 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9561 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9562 under [__USE_EXTERN_INLINES].
9564 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9567 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9569 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9571 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9572 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9574 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9575 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9576 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9577 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9578 for strncasecmp/strncasecmp_l compilation.
9579 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9580 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9582 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9585 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9588 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9591 * time/tzfile.c (__tzfile_read): Check values from file header.
9593 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9595 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9596 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9597 * powerpc/powerpc32/dl-start.S: Likewise.
9598 * powerpc/powerpc32/elf/start.S: Likewise.
9599 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9600 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9601 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9602 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9603 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9604 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9605 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9606 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9607 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9608 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9609 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9610 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9611 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9612 * powerpc/powerpc32/memset.S: Likewise.
9613 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9614 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9615 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9616 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9617 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9618 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9619 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9620 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9621 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9622 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9623 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9624 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9625 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9627 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9629 * math/libm-test.inc: Added more nearbyint tests.
9630 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9631 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9632 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9633 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9635 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9637 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9640 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9642 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9643 Add wcscpy-ssse3 wcscpy-c.
9644 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9645 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9646 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9647 * sysdeps/x86_64/wcschr.S: New file.
9648 * sysdeps/x86_64/wcsrchr.S: New file.
9649 * string/test-strcmp.c: Remove checking of wcscmp function for
9651 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9652 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9653 wcsrchr-sse2 wcsrchr-c.
9654 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9655 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9656 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9657 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9658 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9659 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9660 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9661 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9662 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9663 * wcsmbc/wcschr.c (WCSCHR): New macro.
9665 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9667 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9668 * wcsmbs/test-wcsrchr.c: New file.
9669 * string/test-strrchr.c: Add wcsrchr support.
9671 * wcsmbs/test-wcscpy.c: New file.
9672 * string/test-strcpy.c: Add wcscpy support.
9675 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9677 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9680 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9683 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9685 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9687 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9688 Minor optimizations.
9690 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9691 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9692 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9694 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9696 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9697 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9698 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9699 for gcc to avoid warnings.
9700 * inet/Makefile (tests): Add tst-checks.
9701 * inet/tst-checks.c: New file.
9703 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9706 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9709 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9710 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9712 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9714 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9716 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9719 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9721 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9723 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9724 conditional on GCC version.
9725 (__arch_compare_and_exchange_val_8_acq)
9726 (__arch_compare_and_exchange_val_16_acq)
9727 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9728 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9729 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9731 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9733 * sysdeps/sh/backtrace.c: New file.
9735 2011-12-02 Andreas Schwab <schwab@redhat.com>
9737 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9740 2011-12-01 Andreas Schwab <schwab@redhat.com>
9742 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9743 falling back to utime.
9745 2011-11-30 Andreas Schwab <schwab@redhat.com>
9747 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9748 expectations for float.
9750 2011-11-29 Andreas Schwab <schwab@redhat.com>
9752 * locale/weight.h (findidx): Add parameter len.
9753 * locale/weightwc.h (findidx): Likewise.
9754 * posix/fnmatch_loop.c (FCT): Adjust caller.
9755 * posix/regcomp.c (build_equiv_class): Likewise.
9756 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9757 * posix/regexec.c (check_node_accept_bytes): Likewise.
9758 * string/strcoll_l.c (STRCOLL): Likewise.
9759 * string/strxfrm_l.c (STRXFRM): Likewise.
9761 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9763 * Makefile.in: Remove CVSOPT handling.
9764 * configure.in: Remove use of AC_REVISION.
9765 * iconvdata/Makefile (distribute): No need to filter out CVS.
9766 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9769 2011-11-16 Andreas Schwab <schwab@redhat.com>
9771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9772 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9773 [USE_AS_STRNCASECMP_L]: Likewise.
9774 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9775 NO_TLS_DIRECT_SEG_REFS.
9776 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9777 Fix argument offsets for non-PIC.
9778 [USE_AS_STRNCASECMP_L]: Likewise.
9779 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9780 NO_TLS_DIRECT_SEG_REFS.
9782 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9784 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9786 * locale/loadlocale.c (_nl_load_locale): Likewise.
9788 2011-11-15 Andreas Schwab <schwab@redhat.com>
9790 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9791 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9792 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9793 (SYSCALL_GETTIME): Set errno on error.
9795 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9796 count references to noai6ai_cached.
9798 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9800 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9802 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9803 FD_CLOEXEC for /proc/self/maps.
9805 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9806 FD_CLOEXEC for /proc/meminfo.
9808 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9811 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9812 FD_CLOEXEC for given file.
9814 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9816 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9817 FD_CLOEXEC for /etc/hosts.
9818 (_gethtent): Likewise.
9820 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9822 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9823 cancellation and set FD_CLOEXEC for /etc/netgroup.
9825 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9826 reading /etc/publickey.
9828 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9829 allow cancellation when reading /etc/group.
9831 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9833 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9835 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9836 when using data file.
9838 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9840 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9841 (write_nis_obj): Use "c" and "e" in fopen.
9843 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9845 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9847 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9849 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9851 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9854 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9856 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9858 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9860 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9861 file parsing and set FD_CLOEXEC.
9863 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9865 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9867 2011-11-14 Andreas Schwab <schwab@redhat.com>
9869 * malloc/arena.c (arena_get2): Don't call reused_arena when
9870 _int_new_arena failed.
9872 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9874 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9875 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9876 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9877 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9878 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9879 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9880 to compile strcasecmp and strncasecmp.
9881 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9882 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9886 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9888 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9889 locale-defines.sym to gen-as-const-headers.
9890 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9891 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9892 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9893 to compile strcasecmp and strncasecmp.
9894 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9895 strcasecmp_l and strncasecmp_l.
9896 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9897 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9898 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9899 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9900 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9901 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9902 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9903 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9904 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9905 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9906 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9908 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9910 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9911 result of SYSDEP_GETTIME_CPU to retval.
9912 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9913 parameter list to macro. Remove trailing semicolon. Adjust users.
9915 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9918 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9920 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9922 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9923 from unused variable.
9925 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9927 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9930 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9933 * sunrpc/rpc_prot.c (rejected): Fix case value.
9935 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9936 unsigned long long int to avoid warnings in shift.
9938 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9940 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9943 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9944 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9945 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9947 * nis/nis_table.c (nis_list): Use variable of correct type for
9948 result of __follow_path call.
9950 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9952 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9953 of math functions ceil, trunc, floor, round, and sqrt, when
9954 avaliable on the platform.
9955 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9957 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9958 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9959 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9961 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9963 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9964 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9966 2011-11-11 Roland McGrath <roland@hack.frob.com>
9968 * include/unistd.h: Fix __readlink return type.
9969 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9971 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9973 * stdlib/ucontext.h: Undo last change for makecontext.
9975 2011-11-11 Andreas Schwab <schwab@redhat.com>
9977 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9979 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9980 * setjmp/setjmp.h: Mark functions as non-leaf.
9981 * setjmp/bits/setjmp2.h: Likewise.
9982 * stdlib/ucontext.h: Likewise.
9984 2011-11-10 Andreas Schwab <schwab@redhat.com>
9986 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9987 (reused_arena): Don't check arena limit.
9988 (arena_get2): Atomically check arena limit.
9990 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9992 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9993 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9995 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9998 2011-11-07 Andreas Schwab <schwab@redhat.com>
10000 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10001 handler when locking.
10003 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10004 Fix size of allocated buffer.
10006 2011-11-04 Andreas Schwab <schwab@redhat.com>
10009 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10010 declarations for long double functions.
10011 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10013 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10015 2011-11-03 Andreas Schwab <schwab@redhat.com>
10017 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10020 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10023 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10025 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10027 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10029 * include/alloca.h (stackinfo_alloca_round): Define.
10030 (extend_alloca): Use it.
10031 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10032 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10035 * scripts/check-local-headers.sh: Ignore libaudit.h.
10037 * nscd/Makefile (extra-objs): Make recursively expanded.
10039 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10041 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10042 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10044 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10045 * posix/tst-rfc3484-2.c: Likewise.
10046 * posix/tst-rfc3484-3.c: Likewise.
10048 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10050 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10052 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10053 process_vm_writev from libc using GLIBC_2.15 version.
10055 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10057 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10059 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10062 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10065 * nss/getent.c (initgroups_keys): Show error message in case no group
10068 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10069 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10070 __bump_nl_timestamp.
10071 * nscd/connections (nscd_init): When host database is served open
10072 netlink socket and request notification about configuration changes.
10073 (main_loop_poll): Track netlink file descriptor and bump timestamp
10074 in case data becomes available.
10075 (main_loop_epoll): Likewise.
10076 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10077 (database_pers_head): Add extra_data fileds.
10078 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10079 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10080 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10082 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10083 in6ai data, call __free_in6ai.
10084 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10085 Add -DHAVE_NETLINK.
10086 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10087 interface information. Reuse previous data if netlink timestamp
10089 (__bump_nl_timestamp): New function.
10090 (__free_in6ai): New function.
10092 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10094 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10095 close_not_cancel_no_status here.
10096 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10098 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10101 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10104 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10105 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10106 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10108 2011-07-03 Andreas Jaeger <aj@suse.de>
10111 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10112 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10113 * math/libm-test.inc (sin_test): Add test case.
10115 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10118 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10119 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10121 * elf/chroot_canon.c (chroot_canon): Cleanups.
10123 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10126 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10127 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10129 * string/test-strchr.c: Make usable for strchrnul testing.
10130 * string/test-strchrnul.c: New file.
10131 * string/Makefile (strop-tests): Add strchrnul.
10133 * po/it.po: Update from translation team.
10134 * po/es.po: Likewise.
10136 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10138 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10139 the three constants needed as parameters. Drop the others.
10140 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10141 __m128i_strloadu_tolower.
10142 Create and initialize variable zero and use it in all the places
10143 where _mm_setzero_si128 was used.
10145 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10146 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10147 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10148 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10150 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10151 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10152 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10153 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10154 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10155 __mpranred, __mptan.
10156 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10157 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10158 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10159 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10160 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10161 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10162 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10163 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10164 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10166 2011-10-28 Andreas Schwab <schwab@redhat.com>
10168 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10169 redefine if SHARED.
10170 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10173 wide char related routines to wcsmbs subdir.
10175 2011-10-27 Andreas Schwab <schwab@redhat.com>
10178 * misc/sys/cdefs.h (__THROWNL): Define.
10179 * posix/unistd.h: Use __THREADNL instead of __THREAD
10180 for memory synchronization functions.
10182 2011-10-26 Roland McGrath <roland@hack.frob.com>
10185 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10187 * manual/stdio.texi (Obstack Streams): Node removed.
10189 2011-10-26 Andreas Schwab <schwab@redhat.com>
10191 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10192 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10193 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10195 * math/math_private.h (math_force_eval): Allow non-addressable
10197 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10199 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10201 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10202 file is not needed.
10204 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10205 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10206 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10207 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10208 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10209 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10210 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10211 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10213 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10214 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10215 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10216 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10217 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10218 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10219 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10220 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10221 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10222 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10223 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10224 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10225 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10226 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10227 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10228 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10229 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10230 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10231 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10233 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10234 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10236 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10237 place. Use VEX encoding when compiling for AVX.
10239 2011-10-25 Andreas Schwab <schwab@redhat.com>
10241 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10242 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10244 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10246 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10248 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10249 useless if() expression.
10250 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10251 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10252 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10253 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10254 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10255 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10256 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10257 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10258 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10259 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10260 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10261 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10262 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10263 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10264 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10265 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10266 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10267 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10268 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10270 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10272 2011-10-25 Andreas Schwab <schwab@redhat.com>
10274 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10276 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10278 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10280 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10281 .text section. Avoid duplicate constants.
10282 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10283 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10286 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10287 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10288 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10289 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10290 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10291 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10292 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10293 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10294 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10295 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10296 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10297 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10299 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10302 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10303 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10304 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10305 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10306 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10307 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10308 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10309 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10310 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10311 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10312 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10313 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10314 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10315 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10316 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10317 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10318 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10319 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10320 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10321 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10322 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10323 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10324 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10325 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10326 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10328 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10330 * sysdeps/x86_64/dla.h: Move to ...
10331 * sysdeps/x86_64/fpu/dla.h: ...here.
10332 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10333 situations. Use __builtin_fma only for gcc 4.6 and up.
10335 * config.make.in: Add have-mfma4 entry.
10336 * configure.in: Substitute libc_cv_cc_fma4.
10337 * math/Makefile (dbl-only-routines): Add sincostab.
10338 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10339 Use __sincostab not sincos.
10340 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10342 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10347 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10348 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10349 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10350 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10352 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10353 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10355 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10356 define aliases when function name is a macro.
10357 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10358 sysdeps/ieee754/dbl-64/sincos.tbl.
10359 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10360 fma4-enabled routines.
10361 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10362 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10363 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10364 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10365 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10366 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10367 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10368 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10369 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10370 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10371 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10372 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10373 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10374 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10375 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10376 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10377 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10378 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10379 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10380 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10381 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10382 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10383 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10384 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10385 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10386 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10387 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10388 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10389 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10390 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10392 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10394 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10398 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10400 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10401 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10403 2011-10-24 Andreas Schwab <schwab@redhat.com>
10405 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10407 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10409 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10411 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10413 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10415 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10416 Remove unused variable magic_bits.
10417 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10419 * string/strnlen.c: Define and use STRNLEN macro.
10420 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10421 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10422 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10423 * wcsmbs/wcslen.c: Define and use WCSLEN.
10424 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10425 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10426 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10427 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10428 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10429 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10430 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10432 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10435 strnlen-sse2-no-bsf.
10436 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10437 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10438 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10439 Add strnlen support.
10440 (USE_AS_STRNLEN): New macro.
10441 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10442 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10443 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10444 * sysdeps/x86_64/wcslen.S: New file.
10446 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10448 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10449 XMM-moves are used for copying on small sizes.
10451 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10453 * wcsmbs/Makefile (strop-tests): Add wcschr.
10454 * wcsmbs/test-wcschr.c: New file.
10455 * string/test-strchr.c: Update.
10456 Add wcschr support.
10459 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10461 * wcsmbs/Makefile (strop-tests): Add wcslen.
10462 * wcsmbs/test-wcslen.c: New file.
10463 * string/test-strlen.c: Update.
10464 Add wcslen support.
10467 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10469 * po/it.po: Update from translation team.
10471 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10473 * sysdeps/x86_64/wcscmp.S: Update.
10474 Fix wrong comparison semantics.
10475 wcscmp shall use signed comparison not unsigned.
10476 Don't use substraction to avoid overflow bug.
10477 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10478 * wcsmbc/wcscmp.c: Likewise.
10479 * string/test-strcmp.c: Likewise.
10480 Add new tests to check cases with negative values.
10482 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10484 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10485 * sysdeps/x86_64/dla.h: ...here. New file.
10486 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10488 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10489 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10490 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10491 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10493 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10496 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10499 __ynl_finite aliases.
10501 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10505 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10507 [DLA_FMA] (EMULV): Use DLA_FMA.
10508 [DLA_FMA] (MUL12): Use EMULV.
10509 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10510 that are not needed.
10511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10512 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10514 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10515 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10516 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10519 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10521 * math/s_nan.c: Undef __nan.
10522 * math/s_nanf.c: Undef __nanf.
10523 * math/s_nanl.c: Undef __nanl.
10524 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10527 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10529 * math/s_catan.c: Add branch predictions.
10530 * math/s_catanf.c: Likewise.
10531 * math/s_catanh.c: Likewise.
10532 * math/s_catanhf.c: Likewise.
10533 * math/s_catanhl.c: Likewise.
10534 * math/s_catanl.c: Likewise.
10535 * math/s_cexp.c: Likewise.
10536 * math/s_cexpf.c: Likewise.
10537 * math/s_cexpl.c: Likewise.
10538 * math/s_clog.c: Likewise.
10539 * math/s_clog10.c: Likewise.
10540 * math/s_clog10f.c: Likewise.
10541 * math/s_clog10l.c: Likewise.
10542 * math/s_clogf.c: Likewise.
10543 * math/s_clogl.c: Likewise.
10544 * math/s_csqrt.c: Likewise.
10545 * math/s_csqrtf.c: Likewise.
10546 * math/s_csqrtl.c: Likewise.
10547 * math/s_ctanf.c: Likewise.
10548 * math/s_ctanh.c: Likewise.
10549 * math/s_ctanhf.c: Likewise.
10550 * math/s_ctanhl.c: Likewise.
10551 * math/s_ctanl.c: Likewise.
10553 * math/math_private.h: Define __nan, __nanf, __nanl.
10554 * math/s_cacosh.c: Include <math_private.h>.
10555 * math/s_cacoshl.c: Likewise.
10556 * math/s_casinh.c: Likewise.
10557 * math/s_casinhf.c: Likewise.
10558 * math/s_casinhl.c: Likewise.
10559 * math/s_ccos.c: Rely entire on ccosh.
10560 * math/s_ccosf.c: Rely entire on ccoshf.
10561 * math/s_ccosl.c: Rely entirely on ccoshl.
10562 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10563 Remove tests for FE_INVALID.
10564 * math/s_ccoshf.c: Likewise.
10565 * math/s_ccoshl.c: Likewise.
10566 * math/s_csin.c: Likewise.
10567 * math/s_csinf.c: Likewise.
10568 * math/s_csinh.c Likewise.
10569 * math/s_csinhf.c: Likewise.
10570 * math/s_csinhl.c: Likewise.
10571 * math/s_csinl.c: Likewise.
10572 * math/s_ctan.c: Likewise.
10573 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10574 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10575 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10577 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10580 compilation problems.
10582 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10585 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10587 * sysdeps/i386/configure.in: Test for -mfma4 option.
10588 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10589 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10590 COMMON_CPUID_INDEX_80000001.
10591 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10592 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10593 use it if FMA3 is not supported.
10594 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10596 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10597 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10599 2011-10-20 Andreas Schwab <schwab@redhat.com>
10602 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10603 it would create a cycle with a link time dependency.
10605 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10607 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10609 * string/Makefile (strop-tests): Add rawmemchr.
10610 * string/test-rawmemchr.c: New file.
10612 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10613 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10614 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10615 when compiling str{,n}casecmp and when AVX is available. Hook up
10616 new optimized code in initializers.
10618 2011-10-19 Andreas Schwab <schwab@redhat.com>
10620 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10621 __feraiseexcept instead of feraiseexcept.
10623 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10625 * math/math_private.h: Define defaults for libc_fetestexcept and
10627 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10628 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10629 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10630 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10631 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10632 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10633 libc_fetestexcept and libc_feupdateenv.
10635 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10636 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10637 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10638 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10639 libc_feholdexcept_setround.
10641 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10642 Add s_nearbyint-c and s_nearbyintf-c.
10643 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10644 nearbyintf inlines.
10645 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10646 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10647 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10648 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10650 * math/math_private.h: Define defaults for libc_fegetround,
10651 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10652 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10653 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10654 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10655 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10656 standard functions.
10657 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10658 Remove comments and hacks for old compiler versions.
10659 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10660 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10661 libc_feholdexceptl.
10663 2011-10-18 Andreas Schwab <schwab@redhat.com>
10665 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10666 (__feraiseexcept_renamed): Add __NTH.
10667 (feraiseexcept): Add __NTH. Rename local variables to fix
10668 namespace violations.
10670 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10672 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10674 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10676 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10677 recently added interfaces.
10678 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10680 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10681 about macro parameter expansion.
10683 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10684 __NO_MATH_INLINES is defined. Cleanups.
10686 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10687 and __floorf is target has SSE4.1.
10688 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10689 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10690 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10691 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10693 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10695 (floorf): Likewise.
10697 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10699 2011-10-17 Andreas Schwab <schwab@redhat.com>
10701 * misc/sys/cdefs.h: Fix last change.
10703 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10706 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10708 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10710 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10711 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10716 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10717 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10718 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10719 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10720 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10721 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10722 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10723 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10724 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10725 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10726 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10727 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10728 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10729 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10730 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10731 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10733 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10734 ceil, ceilf, floor, floorf.
10736 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10737 Perform IRELATIVE relocations last.
10739 * elf/do-rel.h: Add another parameter nrelative, replacing the
10740 local variable with the same name. Change name of the function
10741 to end in Rel or Rela (uppercase).
10742 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10743 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10744 elf_dynamic_do_##reloc function.
10746 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10748 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10749 is sufficient, at least on modern CPUs.
10751 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10753 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10754 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10756 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10758 * math/bits/math-finite.h: Add entries for exp.
10759 * math/e_expl.c: Add __*_finite alias.
10760 * sysdeps/i386/fpu/e_exp.S: Likewise.
10761 * sysdeps/i386/fpu/e_expf.S: Likewise.
10762 * sysdeps/i386/fpu/e_expl.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10764 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10767 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10768 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10769 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10771 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10772 is sufficient, at least on modern CPUs.
10774 * ctype/ctype-info.c (__ctype_init): Define.
10775 * include/ctype.h (__ctype_init): Declare.
10776 (__ctype_b_loc): The variable is always initialized.
10777 (__ctype_toupper_loc): Likewise.
10778 (__ctype_tolower_loc): Likewise.
10779 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10780 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10782 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10784 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10786 * configure.in: Also look in $cxxmachine/include for C++ system
10789 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10791 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10792 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10793 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10794 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10795 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10796 (USE_AS_WMEMCMP): New macro.
10798 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10799 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10800 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10801 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10802 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10803 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10804 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10805 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10806 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10807 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10808 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10809 (USE_AS_WMEMCMP): New macro.
10810 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10811 * sysdeps/string/test-memcmp.c: Update.
10812 Fix simple_wmemcmp.
10814 * wcsmbs/wmemcmp.c: Update.
10815 (WMEMCMP): New macro.
10818 2011-10-12 Andreas Jaeger <aj@suse.de>
10821 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10823 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10825 * libio/iofwide.c (do_length): Avoid warning.
10827 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10829 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10831 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10833 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10834 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10835 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10836 * sysdeps/i386/i686/fpu/e_log.S: New file.
10837 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10838 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10840 * ctype/ctype.h: Add support for inlined isXXX functions when
10841 compiling C++ code.
10843 2011-10-14 Andreas Schwab <schwab@redhat.com>
10845 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10847 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10849 2011-10-13 Roland McGrath <roland@hack.frob.com>
10852 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10854 2011-10-13 Andreas Schwab <schwab@redhat.com>
10856 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10857 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10860 * sysdeps/x86_64/memrchr.S: Check for zero size.
10862 * string/stratcliff.c: Add memrchr tests.
10864 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10867 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10868 rawmemchr-sse2 rawmemchr-sse2-bsf.
10869 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10870 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10871 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10872 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10873 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10874 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10875 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10876 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10877 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10878 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10879 * string/memrchr.c (MEMRCHR): New macro.
10881 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10883 Add integration with gcc's -ffinite-math-only and optimize wrapper
10885 * Versions.def: Define GLIBC_2.15 version for libm.
10886 * math/Makefile (headers): Add bits/math-finite.h.
10887 * math/bits/math-finite.h: New file.
10888 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10889 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10890 * math/e_acoshl.c: Add __*_finite alias.
10891 * math/e_acosl.c: Likewise.
10892 * math/e_asinl.c: Likewise.
10893 * math/e_atan2l.c: Likewise.
10894 * math/e_atanhl.c: Likewise.
10895 * math/e_coshl.c: Likewise.
10896 * math/e_exp10.c: Likewise.
10897 * math/e_exp10f.c: Likewise.
10898 * math/e_exp10l.c: Likewise.
10899 * math/e_exp2l.c: Likewise.
10900 * math/e_fmodl.c: Likewise.
10901 * math/e_gammal_r.c: Likewise.
10902 * math/e_hypotl.c: Likewise.
10903 * math/e_j0l.c: Likewise.
10904 * math/e_j1l.c: Likewise.
10905 * math/e_jnl.c: Likewise.
10906 * math/e_lgammal_r.c: Likewise.
10907 * math/e_log10l.c: Likewise.
10908 * math/e_log2l.c: Likewise.
10909 * math/e_logl.c: Likewise.
10910 * math/e_powl.c: Likewise.
10911 * math/e_sinhl.c: Likewise.
10912 * math/e_sqrtl.c: Likewise.
10913 * math/e_scalb.c: Completely rewritten and optimized.
10914 * math/e_scalbf.c: Likewise.
10915 * math/e_scalbl.c: Likewise.
10916 * math/w_acos.c: Likewise.
10917 * math/w_acosf.c: Likewise.
10918 * math/w_acosl.c: Likewise.
10919 * math/w_acosh.c: Likewise.
10920 * math/w_acoshf.c: Likewise.
10921 * math/w_acoshl.c: Likewise.
10922 * math/w_asin.c: Likewise.
10923 * math/w_asinf.c: Likewise.
10924 * math/w_asinl.c: Likewise.
10925 * math/w_atan2.c: Likewise.
10926 * math/w_atan2f.c: Likewise.
10927 * math/w_atan2l.c: Likewise.
10928 * math/w_atanh.c: Likewise.
10929 * math/w_atanhf.c: Likewise.
10930 * math/w_atanhl.c: Likewise.
10931 * math/w_exp10.c: Likewise.
10932 * math/w_exp10f.c: Likewise.
10933 * math/w_exp10l.c: Likewise.
10934 * math/w_fmod.c: Likewise.
10935 * math/w_fmodf.c: Likewise.
10936 * math/w_fmodl.c: Likewise.
10937 * math/w_j0.c: Likewise.
10938 * math/w_j0f.c: Likewise.
10939 * math/w_j0l.c: Likewise.
10940 * math/w_j1.c: Likewise.
10941 * math/w_j1f.c: Likewise.
10942 * math/w_j1l.c: Likewise.
10943 * math/w_jn.c: Likewise.
10944 * math/w_jnf.c: Likewise.
10945 * math/w_log.c: Likewise.
10946 * math/w_logf.c: Likewise.
10947 * math/w_logl.c: Likewise.
10948 * math/w_log10.c: Likewise.
10949 * math/w_log10f.c: Likewise.
10950 * math/w_log10l.c: Likewise.
10951 * math/w_log2.c: Likewise.
10952 * math/w_log2f.c: Likewise.
10953 * math/w_log2l.c: Likewise.
10954 * math/w_pow.c: Likewise.
10955 * math/w_powf.c: Likewise.
10956 * math/w_powl.c: Likewise.
10957 * math/w_remainder.c: Likewise.
10958 * math/w_remainderf.c: Likewise.
10959 * math/w_remainderl.c: Likewise.
10960 * math/w_scalb.c: Likewise.
10961 * math/w_scalbf.c: Likewise.
10962 * math/w_scalbl.c: Likewise.
10963 * math/w_sqrt.c: Likewise.
10964 * math/w_sqrtf.c: Likewise.
10965 * math/w_sqrtl.c: Likewise.
10966 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10967 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10969 * math/math_private.h: Declare __kernel_standard_f.
10970 * math/w_cosh.c: Remove cruft and optimize a bit.
10971 * math/w_coshf.c: Likewise.
10972 * math/w_coshl.c: Likewise.
10973 * math/w_exp2.c: Likewise.
10974 * math/w_exp2f.c: Likewise.
10975 * math/w_exp2l.c: Likewise.
10976 * math/w_hypot.c: Likewise.
10977 * math/w_hypotf.c: Likewise.
10978 * math/w_hypotl.c: Likewise.
10979 * math/w_lgamma.c: Likewise.
10980 * math/w_lgamma_r.c: Likewise.
10981 * math/w_lgammaf.c: Likewise.
10982 * math/w_lgammaf_r.c: Likewise.
10983 * math/w_lgammal.c: Likewise.
10984 * math/w_lgammal_r.c: Likewise.
10985 * math/w_sinh.c: Likewise.
10986 * math/w_sinhf.c: Likewise.
10987 * math/w_sinhl.c: Likewise.
10988 * math/w_tgamma.c: Likewise.
10989 * math/w_tgammaf.c: Likewise.
10990 * math/w_tgammal.c: Likewise.
10991 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10992 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10993 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10994 Minor optimizations. Pretty printing. Remove cruft.
10995 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10996 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10997 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10998 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10999 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11000 * sysdeps/i386/fpu/e_asin.S: Likewise.
11001 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11002 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11003 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11004 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11005 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11006 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11007 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11008 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11009 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11010 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11011 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11012 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11013 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11014 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11015 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11016 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11017 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11018 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11019 * sysdeps/i386/fpu/e_log.S: Likewise.
11020 * sysdeps/i386/fpu/e_log10.S: Likewise.
11021 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11022 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11023 * sysdeps/i386/fpu/e_log2.S: Likewise.
11024 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11025 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11026 * sysdeps/i386/fpu/e_logf.S: Likewise.
11027 * sysdeps/i386/fpu/e_logl.S: Likewise.
11028 * sysdeps/i386/fpu/e_pow.S: Likewise.
11029 * sysdeps/i386/fpu/e_powf.S: Likewise.
11030 * sysdeps/i386/fpu/e_powl.S: Likewise.
11031 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11032 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11033 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11034 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11035 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11036 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11037 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11038 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11039 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11040 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11041 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11043 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11044 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11045 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11046 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11047 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11048 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11049 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11050 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11051 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11053 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11054 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11055 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11056 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11057 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11058 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11059 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11060 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11061 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11062 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11063 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11064 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11065 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11066 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11067 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11068 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11069 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11070 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11071 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11072 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11073 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11074 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11075 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11076 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11077 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11078 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11079 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11080 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11081 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11082 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11083 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11084 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11085 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11086 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11087 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11088 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11089 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11090 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11091 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11092 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11093 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11094 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11095 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11096 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11097 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11098 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11099 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11100 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11101 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11102 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11103 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11104 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11105 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11106 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11107 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11108 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11117 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11119 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11120 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11122 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11123 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11125 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11126 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11128 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11131 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11132 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11133 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11134 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11135 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11136 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11137 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11138 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11139 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11140 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11141 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11142 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11143 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11144 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11145 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11146 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11147 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11148 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11149 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11150 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11151 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11152 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11153 (__isnanf): Likewise.
11154 (__isinf_ns): Likewise.
11155 (__isinf_nsf): Likewise.
11156 (__finite): Likewise.
11157 (__finitef): Likewise.
11158 (__ieee754_sqrt): Define as macro.
11159 (__ieee754_sqrtf): Define as macro.
11160 (__ieee754_sqrtl): Define as macro.
11161 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11163 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11164 __FINITE_MATH_ONLY__ consistent.
11165 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11167 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11169 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11172 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11174 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11176 * po/ja.po: Update from translation team.
11178 2011-10-08 Roland McGrath <roland@hack.frob.com>
11180 * locale/programs/locarchive.c (prepare_address_space): New function.
11181 (create_archive, enlarge_archive, open_archive): Use it.
11183 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11184 inside [SHARED], where it is used.
11186 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11188 * nss/getent.c (netgroup_keys): Remove unused variable.
11189 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11191 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11193 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11194 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11195 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11196 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11197 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11198 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11199 * math/Makefile (libm-calls): Add s_isinf_ns.
11200 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11201 * math/multc3.c: Likewise.
11202 * math/s_casin.c: Likewise.
11203 * math/s_casinf.c: Likewise.
11204 * math/s_casinl.c: Likewise.
11205 * math/s_ccos.c: Likewise.
11206 * math/s_ccosf.c: Likewise.
11207 * math/s_ccosl.c: Likewise.
11208 * math/s_ctan.c: Likewise.
11209 * math/s_ctanf.c: Likewise.
11210 * math/s_ctanh.c: Likewise.
11211 * math/s_ctanhf.c: Likewise.
11212 * math/s_ctanhl.c: Likewise.
11213 * math/s_ctanl.c: Likewise.
11214 * math/w_fmod.c: Likewise.
11215 * math/w_fmodf.c: Likewise.
11216 * math/w_fmodl.c: Likewise.
11217 * math/w_remainder.c: Likewise.
11218 * math/w_remainderf.c: Likewise.
11219 * math/w_remainderl.c: Likewise.
11220 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11221 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11222 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11223 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11224 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11225 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11226 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11227 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11229 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11231 * stdio-common/printf_fphex.c: Likewise.
11232 * stdio-common/printf_size.c: Likewise.
11234 * math/e_exp10.c: Include math_private.h using <...> not "...".
11235 * math/e_exp10f.c: Likewise.
11236 * math/e_exp10l.c: Likewise.
11237 * math/e_exp2l.c: Likewise.
11238 * math/e_j0l.c: Likewise.
11239 * math/e_j1l.c: Likewise.
11240 * math/e_jnl.c: Likewise.
11241 * math/e_lgammal_r.c: Likewise.
11242 * math/e_rem_pio2l.c: Likewise.
11243 * math/e_scalb.c: Likewise.
11244 * math/e_scalbf.c: Likewise.
11245 * math/e_scalbl.c: Likewise.
11246 * math/k_cosl.c: Likewise.
11247 * math/k_sinl.c: Likewise.
11248 * math/k_tanl.c: Likewise.
11249 * math/s_cacoshf.c: Likewise.
11250 * math/s_catan.c: Likewise.
11251 * math/s_catanf.c: Likewise.
11252 * math/s_catanh.c: Likewise.
11253 * math/s_catanhf.c: Likewise.
11254 * math/s_catanhl.c: Likewise.
11255 * math/s_catanl.c: Likewise.
11256 * math/s_ccosh.c: Likewise.
11257 * math/s_ccoshf.c: Likewise.
11258 * math/s_ccoshl.c: Likewise.
11259 * math/s_cexp.c: Likewise.
11260 * math/s_cexpf.c: Likewise.
11261 * math/s_cexpl.c: Likewise.
11262 * math/s_clog.c: Likewise.
11263 * math/s_clog10.c: Likewise.
11264 * math/s_clog10f.c: Likewise.
11265 * math/s_clog10l.c: Likewise.
11266 * math/s_clogf.c: Likewise.
11267 * math/s_clogl.c: Likewise.
11268 * math/s_csin.c: Likewise.
11269 * math/s_csinf.c: Likewise.
11270 * math/s_csinh.c: Likewise.
11271 * math/s_csinhf.c: Likewise.
11272 * math/s_csinhl.c: Likewise.
11273 * math/s_csinl.c: Likewise.
11274 * math/s_csqrt.c: Likewise.
11275 * math/s_csqrtf.c: Likewise.
11276 * math/s_csqrtl.c: Likewise.
11277 * math/s_ctan.c: Likewise.
11278 * math/s_ctanf.c: Likewise.
11279 * math/s_ctanh.c: Likewise.
11280 * math/s_ctanhf.c: Likewise.
11281 * math/s_ctanhl.c: Likewise.
11282 * math/s_ctanl.c: Likewise.
11283 * math/s_ldexp.c: Likewise.
11284 * math/s_ldexpf.c: Likewise.
11285 * math/s_ldexpl.c: Likewise.
11286 * math/s_significand.c: Likewise.
11287 * math/s_significandf.c: Likewise.
11288 * math/s_significandl.c: Likewise.
11289 * math/w_acos.c: Likewise.
11290 * math/w_acosf.c: Likewise.
11291 * math/w_acosh.c: Likewise.
11292 * math/w_acoshf.c: Likewise.
11293 * math/w_acoshl.c: Likewise.
11294 * math/w_acosl.c: Likewise.
11295 * math/w_asin.c: Likewise.
11296 * math/w_asinf.c: Likewise.
11297 * math/w_asinl.c: Likewise.
11298 * math/w_atan2.c: Likewise.
11299 * math/w_atan2f.c: Likewise.
11300 * math/w_atan2l.c: Likewise.
11301 * math/w_atanh.c: Likewise.
11302 * math/w_atanhf.c: Likewise.
11303 * math/w_atanhl.c: Likewise.
11304 * math/w_cosh.c: Likewise.
11305 * math/w_coshf.c: Likewise.
11306 * math/w_coshl.c: Likewise.
11307 * math/w_dremf.c: Likewise.
11308 * math/w_exp10.c: Likewise.
11309 * math/w_exp10f.c: Likewise.
11310 * math/w_exp10l.c: Likewise.
11311 * math/w_exp2.c: Likewise.
11312 * math/w_exp2f.c: Likewise.
11313 * math/w_fmod.c: Likewise.
11314 * math/w_fmodf.c: Likewise.
11315 * math/w_fmodl.c: Likewise.
11316 * math/w_hypot.c: Likewise.
11317 * math/w_hypotf.c: Likewise.
11318 * math/w_hypotl.c: Likewise.
11319 * math/w_j0.c: Likewise.
11320 * math/w_j0f.c: Likewise.
11321 * math/w_j0l.c: Likewise.
11322 * math/w_j1.c: Likewise.
11323 * math/w_j1f.c: Likewise.
11324 * math/w_j1l.c: Likewise.
11325 * math/w_jn.c: Likewise.
11326 * math/w_jnf.c: Likewise.
11327 * math/w_jnl.c: Likewise.
11328 * math/w_lgamma.c: Likewise.
11329 * math/w_lgamma_r.c: Likewise.
11330 * math/w_lgammaf.c: Likewise.
11331 * math/w_lgammaf_r.c: Likewise.
11332 * math/w_lgammal.c: Likewise.
11333 * math/w_lgammal_r.c: Likewise.
11334 * math/w_log.c: Likewise.
11335 * math/w_log10.c: Likewise.
11336 * math/w_log10f.c: Likewise.
11337 * math/w_log10l.c: Likewise.
11338 * math/w_log2.c: Likewise.
11339 * math/w_log2f.c: Likewise.
11340 * math/w_log2l.c: Likewise.
11341 * math/w_logf.c: Likewise.
11342 * math/w_logl.c: Likewise.
11343 * math/w_pow.c: Likewise.
11344 * math/w_powf.c: Likewise.
11345 * math/w_powl.c: Likewise.
11346 * math/w_remainder.c: Likewise.
11347 * math/w_remainderf.c: Likewise.
11348 * math/w_remainderl.c: Likewise.
11349 * math/w_scalb.c: Likewise.
11350 * math/w_scalbf.c: Likewise.
11351 * math/w_scalbl.c: Likewise.
11352 * math/w_sinh.c: Likewise.
11353 * math/w_sinhf.c: Likewise.
11354 * math/w_sinhl.c: Likewise.
11355 * math/w_sqrt.c: Likewise.
11356 * math/w_sqrtf.c: Likewise.
11357 * math/w_sqrtl.c: Likewise.
11358 * math/w_tgamma.c: Likewise.
11359 * math/w_tgammaf.c: Likewise.
11360 * math/w_tgammal.c: Likewise.
11362 * po/ja.po: Update from translation team.
11364 2011-09-29 Andreas Jaeger <aj@suse.de>
11367 * sunrpc/netname.c (netname2host): Fix logic.
11371 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11373 * math/w_remainder.c (__remainder): Likewise.
11374 * math/w_remainderf.c (__remainderf): Likewise.
11375 * math/libm-test.inc (remainder_test): Add test cases.
11377 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11379 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11382 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11384 * string/test-memcmp.c: Avoid unncessary #defines.
11385 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11387 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11389 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11390 Use new sse2 version for core i3 - i7 as it's faster
11391 than sse42 version.
11392 (bit_Prefer_PMINUB_for_stringop): New.
11393 * sysdeps/x86_64/rawmemchr.S: Update.
11394 Replace with faster SSE2 version.
11395 * sysdeps/x86_64/memrchr.S: New file.
11396 * sysdeps/x86_64/memchr.S: Update.
11397 Replace with faster SSE2 version.
11399 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11401 * elf/dl-load.c (lose): Add cast to avoid warning.
11403 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11405 * po/ca.po: Update from translation team.
11407 * inet/getnetgrent_r.c: Hook up nscd.
11408 * nscd/Makefile (routines): Add nscd_netgroup.
11409 (nscd-modules): Add netgroupcache.
11410 (CFLAGS-netgroupcache.c): Define.
11411 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11412 (cache_search): Add const to second parameter.
11413 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11415 (dbs): Add netgrdb entry.
11416 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11417 (verify_persistent_db): Handle netgrdb.
11418 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11419 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11421 (netgroup_response_header): Define.
11422 (innetgroup_response_header): Define.
11423 (datahead): Add netgroup_response_header and innetgroup_response_header
11425 * nscd/nscd.conf: Add entries for netgroup cache.
11426 * nscd/nscd.h (dbtype): Add netgrdb.
11427 (_PATH_NSCD_NETGROUP_DB): Define.
11428 (netgroup_iov_disabled): Declare.
11429 (xmalloc, xcalloc, xrealloc): Move declarations here.
11430 (cache_search): Adjust prototype.
11431 Add netgroup-related prototypes.
11432 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11433 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11434 (__nscd_innetgr): Declare.
11435 * nscd/selinux.c (perms): Use access_vector_t as element type and
11436 add netgroup-related initializers.
11437 * nscd/netgroupcache.c: New file.
11438 * nscd/nscd_netgroup.c: New file.
11439 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11440 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11441 For four parameters use innetgr.
11442 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11443 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11444 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11445 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11447 * nscd/connections.c (register_traced_file): Don't register file
11448 for disabled databases.
11450 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11452 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11454 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11455 from tree and freeing node.
11457 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11459 * nss/nsswitch.c (__nss_database_lookup): Handle
11460 nss_parse_service_list out of memory case.
11462 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11464 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11465 out of memory case.
11467 2011-10-04 Andreas Schwab <schwab@redhat.com>
11469 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11470 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11472 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11473 elf_machine_rela, elf_machine_lazy_rel.
11474 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11475 (ELF_DYNAMIC_DO_REL): Likewise.
11476 (ELF_DYNAMIC_DO_RELA): Likewise.
11477 (ELF_DYNAMIC_RELOCATE): Likewise.
11478 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11479 to ELF_DYNAMIC_DO_REL.
11480 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11481 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11482 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11484 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11485 skip_ifunc, don't call ifunc function if non-zero.
11486 (elf_machine_rela): Likewise.
11487 (elf_machine_lazy_rel): Likewise.
11488 (elf_machine_lazy_rela): Likewise.
11489 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11490 (elf_machine_lazy_rel): Likewise.
11491 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11493 (elf_machine_lazy_rel): Likewise.
11494 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11496 (elf_machine_lazy_rel): Likewise.
11497 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11498 (elf_machine_lazy_rel): Likewise.
11499 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11500 (elf_machine_lazy_rel): Likewise.
11501 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11502 (elf_machine_lazy_rel): Likewise.
11503 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11504 (elf_machine_lazy_rel): Likewise.
11505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11506 (elf_machine_lazy_rel): Likewise.
11507 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11508 (elf_machine_lazy_rel): Likewise.
11510 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11512 * nss/nss_files/files-init.c (_nss_files_init): Use static
11513 initialization for all the *_traced_file variables.
11515 2011-09-28 Andreas Schwab <schwab@redhat.com>
11517 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11519 2011-09-27 Roland McGrath <roland@hack.frob.com>
11522 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11524 2011-09-27 Andreas Schwab <schwab@redhat.com>
11526 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11527 Reread the line before reparsing it.
11529 2011-09-26 Andreas Schwab <schwab@redhat.com>
11531 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11533 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11534 Maxim Kuvyrkov <maxim@codesourcery.com>
11535 Joseph Myers <joseph@codesourcery.com>
11537 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11538 if needed for __stack_chk_guard.
11540 2011-09-19 Roland McGrath <roland@hack.frob.com>
11542 * sysdeps/posix/spawni.c (script_execute): Always define it.
11543 It will be optimized away if unused.
11544 (maybe_script_execute): New function.
11545 (__spawni): Call it.
11547 * Makerules: Don't include tls.make.
11548 (config-tls): Always set to thread.
11549 * tls.make.c: File removed.
11551 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11553 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11554 * config.make.in (CPPFLAGS-config): New substituted variable.
11556 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11558 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11561 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11562 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11564 2011-09-15 Roland McGrath <roland@hack.frob.com>
11566 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11567 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11568 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11569 (CALL_FAIL): Likewise.
11570 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11571 (CALL_FAIL): Macro removed.
11572 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11574 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11576 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11577 for __FINITE_MATH_ONLY__ == 1.
11579 2011-09-15 Andreas Schwab <schwab@redhat.com>
11581 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11582 __ieee754_sqrt instead of sqrt.
11583 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11584 __ieee754_sqrtf instead of sqrtf.
11585 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11586 __floorf instead of floorf.
11587 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11588 __floorf, __truncf instead of floorf, truncf.
11590 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11592 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11594 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11595 __extern_always_inline.
11596 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11599 2011-09-14 Andreas Schwab <schwab@redhat.com>
11601 * elf/rtld.c (dl_main): Also relocate in dependency order when
11602 doing symbol dependency testing.
11604 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11606 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11607 Always define `refsym'.
11609 2011-09-13 Andreas Schwab <schwab@redhat.com>
11611 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11612 (__FD_ELT): Renamed from __FDELT.
11613 * misc/bits/select2.h (__FD_ELT): Likewise.
11614 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11615 __FD_MASK instead of __FDELT, __FDMASK.
11616 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11618 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11621 * elf/Makefile (gen-ldd): Fix pattern.
11623 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11624 (init_tls): Likewise.
11626 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11628 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11630 2011-09-12 Andreas Schwab <schwab@redhat.com>
11632 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11633 `struct cmsghdr *' instead of `void *'.
11634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11637 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11639 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11641 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11642 ldd_rewrite_script.
11644 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11646 * configure.in: Remove --with-tls option.
11647 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11648 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11649 out in case it is missing.
11650 * sysdeps/ia64/elf/configure.in: Likewise.
11651 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11652 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11653 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11654 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11655 * sysdeps/sh/elf/configure.in: Likewise.
11656 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11657 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11658 * sysdeps/x86_64/elf/configure.in: Likewise.
11659 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11660 * sysdeps/mach/hurd/tls.h: Likewise.
11663 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11666 * configure.in: Fix use of AC_INIT.
11668 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11670 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11672 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11674 * malloc/hooks.c: Likewise.
11677 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11678 variables statically.
11679 (narenas): Initialize.
11680 (list_lock): Initialize.
11681 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11682 initializtion of main_arena and list_lock. Small cleanups.
11683 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11684 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11685 Add initializers to main_arena and mp_.
11686 (malloc_state): Remove pagesize member. Change all users to use
11689 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11690 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11691 is always initialized.
11693 * malloc/malloc.c: Removed unused configurations and dead code.
11694 * malloc/arena.c: Likewise.
11695 * malloc/hooks.c: Likewise.
11696 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11698 * include/tls.h: Removed. USE___THREAD must always be defined.
11699 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11700 * elf/dl-libc.c: Likewise.
11701 * elf/dl-tsd.c: Likewise.
11702 * include/errno.h: Likewise.
11703 * include/netdb.h: Likewise.
11704 * include/resolv.h: Likewise.
11705 * inet/herrno-loc.c: Likewise.
11706 * inet/herrno.c: Likewise.
11707 * malloc/arena.c: Likewise.
11708 * malloc/hooks.c: Likewise.
11709 * malloc/malloc.c: Likewise.
11710 * resolv/res-state.c: Likewise.
11711 * resolv/res_libc.c: Likewise.
11712 * sysdeps/i386/dl-machine.h: Likewise.
11713 * sysdeps/ia64/dl-machine.h: Likewise.
11714 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11715 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11716 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11717 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11718 * sysdeps/sh/dl-machine.h: Likewise.
11719 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11720 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11721 * sysdeps/unix/i386/sysdep.S: Likewise.
11722 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11723 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11724 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11725 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11726 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11727 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11728 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11729 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11730 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11732 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11733 * sysdeps/x86_64/dl-machine.h: Likewise.
11734 * tls.make.c: Likewise.
11736 * configure.in: Remove --with-__thread option. Make tests for
11737 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11738 tls_model attribute fail if no support is available. Remove
11740 * Makeconfig: Adjust for dropped configure option. All features are
11742 * Makerules: Likewise.
11743 * Versions.def: Likewise.
11744 * argp/argp-fmtstream.c: Likewise.
11745 * argp/argp-fmtstream.h: Likewise.
11746 * argp/argp-help.c: Likewise.
11747 * assert/assert.c: Likewise.
11748 * config.h.in: Likewise.
11749 * config.make.in: Likewise.
11750 * configure: Likewise.
11751 * configure.in: Likewise.
11752 * csu/Versions: Likewise.
11753 * csu/init.c: Likewise.
11754 * elf/tst-audit2.c: Likewise.
11755 * elf/tst-tls10.c: Likewise.
11756 * elf/tst-tls10.h: Likewise.
11757 * elf/tst-tls11.c: Likewise.
11758 * elf/tst-tls12.c: Likewise.
11759 * elf/tst-tls14.c: Likewise.
11760 * elf/tst-tlsmod11.c: Likewise.
11761 * elf/tst-tlsmod12.c: Likewise.
11762 * elf/tst-tlsmod13.c: Likewise.
11763 * elf/tst-tlsmod13a.c: Likewise.
11764 * elf/tst-tlsmod14a.c: Likewise.
11765 * elf/tst-tlsmod15b.c: Likewise.
11766 * elf/tst-tlsmod16a.c: Likewise.
11767 * elf/tst-tlsmod16b.c: Likewise.
11768 * elf/tst-tlsmod7.c: Likewise.
11769 * elf/tst-tlsmod8.c: Likewise.
11770 * elf/tst-tlsmod9.c: Likewise.
11771 * gmon/gmon.c: Likewise.
11772 * grp/fgetgrent_r.c: Likewise.
11773 * grp/putgrent.c: Likewise.
11774 * hurd/fopenport.c: Likewise.
11775 * include/libc-symbols.h: Likewise.
11776 * include/tls.h: Likewise.
11777 * intl/gettextP.h: Likewise.
11778 * intl/loadinfo.h: Likewise.
11779 * locale/global-locale.c: Likewise.
11780 * locale/localeinfo.h: Likewise.
11781 * mach/devstream.c: Likewise.
11782 * malloc/arena.c: Likewise.
11783 * malloc/set-freeres.c: Likewise.
11784 * misc/err.c: Likewise.
11785 * misc/getttyent.c: Likewise.
11786 * misc/mntent_r.c: Likewise.
11787 * posix/getopt.c: Likewise.
11788 * posix/wordexp.c: Likewise.
11789 * pwd/fgetpwent_r.c: Likewise.
11790 * resolv/Versions: Likewise.
11791 * resolv/res_hconf.c: Likewise.
11792 * shadow/fgetspent_r.c: Likewise.
11793 * shadow/putspent.c: Likewise.
11794 * stdio-common/printf_fphex.c: Likewise.
11795 * stdio-common/tmpfile.c: Likewise.
11796 * stdlib/abort.c: Likewise.
11797 * stdlib/fmtmsg.c: Likewise.
11798 * sunrpc/auth_unix.c: Likewise.
11799 * sunrpc/clnt_perr.c: Likewise.
11800 * sunrpc/clnt_tcp.c: Likewise.
11801 * sunrpc/clnt_udp.c: Likewise.
11802 * sunrpc/clnt_unix.c: Likewise.
11803 * sunrpc/openchild.c: Likewise.
11804 * sunrpc/svc_simple.c: Likewise.
11805 * sunrpc/svc_tcp.c: Likewise.
11806 * sunrpc/svc_udp.c: Likewise.
11807 * sunrpc/svc_unix.c: Likewise.
11808 * sunrpc/xdr.c: Likewise.
11809 * sunrpc/xdr_array.c: Likewise.
11810 * sunrpc/xdr_rec.c: Likewise.
11811 * sunrpc/xdr_ref.c: Likewise.
11812 * sunrpc/xdr_stdio.c: Likewise.
11814 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11816 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11818 2011-07-03 Andreas Jaeger <aj@suse.de>
11820 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11821 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11822 regenerate with gen-libm-tests.pl.
11824 2010-05-12 Petr Baudis <pasky@suse.cz>
11827 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11828 around j0() zero points by switching to j1().
11829 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11830 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11831 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11832 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11834 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11836 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11838 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11841 Patch in part by Pavel Roskin <proski@gnu.org>.
11844 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11846 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11847 Free memory block if necessary.
11850 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11851 be NULL. Don't lock in this case.
11853 2011-09-09 Roland McGrath <roland@hack.frob.com>
11855 * elf/elf.h (ELFOSABI_GNU): New macro.
11856 (ELFOSABI_LINUX): Define to that.
11858 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11860 * string/strncat.c (strncat): Undef the symbol in case it has been
11861 defined in bits/string.h.
11863 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11865 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11867 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11870 2011-08-17 Andreas Jaeger <aj@suse.de>
11872 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11874 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11875 Ian Lance Taylor <iant@google.com>
11877 * math/libm-test.inc (lround_test): New testcase.
11878 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11880 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11882 * Makefile: Remove support for automatic cvs check-ins.
11883 * Makerules: Likewise.
11884 * config.make.in: Likewise.
11885 * configure.in: Likewise.
11886 * intl/Makefile: Likewise.
11887 * locale/Makefile: Likewise.
11888 * po/Makefile: Likewise.
11889 * posix/Makefile: Likewise.
11890 * sysdeps/gnu/Makefile: Likewise.
11891 * sysdeps/mach/hurd/Makefile: Likewise.
11892 * sysdeps/sparc/sparc32/Makefile: Likewise.
11895 * posix/Makefile (bug-regex32-ENV): Define.
11896 Patch by John Stanley <jpsinthemix@verizon.net>.
11898 * misc/Makefile (headers): Add bits/select2.h.
11899 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11900 * misc/bits/select2.h: New file.
11901 * include/bits/select2.h: New file.
11902 * debug/Makefile (routines): Add fdelt_chk.
11903 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11904 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11906 * debug/fdelt_chk.c: New file.
11908 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11909 * wcsmbs/test-wmemcmp.c: Likewise.
11910 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11911 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11913 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11915 * string/Makefile (strop-tests): Add memcmp.
11916 * string/test-wmemcmp.c: New file.
11917 * string/test-memcmp.c: Add wmemcmp support.
11919 2011-09-08 Roland McGrath <roland@hack.frob.com>
11922 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11925 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11926 garbage value in a __mach_port_mod_refs call in the cases of the
11927 task-self and thread-self ports.
11929 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11931 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11933 2011-09-08 Andreas Schwab <schwab@redhat.com>
11935 * elf/dl-load.c (lose): Check for non-null L.
11937 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11939 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11941 * elf/dl-libc.c (dlerror_run): Pass back error code from
11945 * elf/dl-load.c (lose): Free l_origin if it is valid.
11947 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11949 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11950 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11951 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11952 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11953 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11954 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11956 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11958 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11959 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11960 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11961 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11962 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11963 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11964 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11965 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11966 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11967 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11969 2011-08-15 Alan Modra <amodra@gmail.com>
11972 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11973 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11974 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11975 ppc_mcount to static-only-routines.
11976 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11978 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11979 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11981 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11983 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11984 for finite and infinity parameters.
11986 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11988 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11989 and add nop instructions for throughput optimization.
11990 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11992 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11994 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11995 aligned copy for power7 with vector-scalar instructions.
11996 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11998 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12000 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12003 2011-09-07 Andreas Schwab <schwab@redhat.com>
12006 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12009 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12011 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12012 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12013 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12014 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12017 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12019 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12020 Forgot to demangle the pointer.
12022 * sysdeps/i386/sysdep.h: Define atom_text_section.
12023 * sysdeps/x86_64/sysdep.h: Likewise.
12024 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12025 section with atom_text_section.
12026 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12027 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12028 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12029 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12030 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12032 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12033 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12034 already be defined. Change to take two parameters and don't assign
12035 result to variable. Adjust all users.
12036 Define INTERNAL_GETTIME if not already defined.
12037 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12040 HAVE_CLOCK_GETTIME_VSYSCALL.
12041 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12043 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12044 gettimeofday vsyscall, just use time.
12046 2011-09-06 Andreas Schwab <schwab@redhat.com>
12048 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12051 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12053 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12055 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12057 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12058 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12059 syscall if possible.
12061 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12063 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12064 e_ident. Don't pass to find_mapsXX.
12065 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12067 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12070 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12071 * sysdeps/x86_64/multiarch/strchr.S: Update.
12072 Check bit_slow_BSF bit.
12073 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12074 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12075 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12077 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12080 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12082 (tryshell): Define.
12083 (__spawni): Change last parameter to be flag. Test
12084 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12085 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12086 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12087 * posix/spawni.c: Likewise.
12088 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12089 * posix/spawnp.c: Likewise. Change normal version to use
12090 SPAWN_XFLAGS_USE_PATH.
12091 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12092 SPAWN_XFLAGS_TRY_SHELL.
12095 * posix/glob.h: Remove gcc 1.x support.
12098 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12100 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12102 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12103 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12105 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12106 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12107 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12108 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12109 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12110 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12112 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12114 * sysdeps/x86_64/wcscmp.S: New file.
12116 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12117 wcscmp-c wcscmp-sse2
12118 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12119 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12120 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12121 * wcsmbs/wcscmp.c: Allow renaming.
12123 2011-09-05 David S. Miller <davem@davemloft.net>
12125 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12126 stack slot, rather than the struct return pointer slot.
12127 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12128 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12130 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12132 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12134 * po/ja.po: Update from translation team.
12137 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12138 kernel in 64-bit binaries.
12140 2011-09-01 David S. Miller <davem@davemloft.net>
12142 * elf/elf.h (HWCAP_SPARC_*): Move to..
12143 * sysdeps/sparc/sysdep.h: this new file and add new values.
12144 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12145 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12146 _DL_HWCAP_COUNT to 24.
12147 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12149 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12150 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12151 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12152 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12153 instead of magic constants.
12154 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12156 2011-08-31 David S. Miller <davem@davemloft.net>
12158 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12160 Reimplement to do errno handling inline.
12161 (SYSCALL_ERROR_HANDLER): New macro.
12162 (__SYSCALL_STRING): Do not do errno handling in asm.
12163 (__CLONE_SYSCALL_STRING): Delete.
12164 (__INTERNAL_SYSCALL_STRING): Delete.
12165 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12166 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12167 (PSEUDO): Reimplement to do errno handling inline.
12168 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12169 (SYSCALL_ERROR_HANDLER): New macro.
12170 (__SYSCALL_STRING): Do not do errno handling in asm.
12171 (__CLONE_SYSCALL_STRING): Delete.
12172 (__INTERNAL_SYSCALL_STRING): Delete.
12173 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12174 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12176 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12177 (inline_syscall*): Add 'err' argument.
12178 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12179 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12180 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12181 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12183 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12184 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12186 2011-08-30 Andreas Schwab <schwab@redhat.com>
12188 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12190 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12192 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12195 2011-08-24 David S. Miller <davem@davemloft.net>
12197 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12199 2011-08-24 Andreas Schwab <schwab@redhat.com>
12201 * elf/Makefile: Add rules to build and run unload8 test.
12202 * elf/unload8.c: New file.
12203 * elf/unload8mod1.c: New file.
12204 * elf/unload8mod1x.c: New file.
12205 * elf/unload8mod2.c: New file.
12206 * elf/unload8mod3.c: New file.
12208 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12211 2011-08-23 David S. Miller <davem@davemloft.net>
12213 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12214 subtract stack bias.
12215 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12216 %sp not %fp in calculations.
12217 (_JMPBUF_UNWINDS_ADJ): Likewise.
12219 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12220 (aio_suspend): Call it to force an exception region around the
12221 AIO_MISC_WAIT() invocation.
12223 2011-08-23 Andreas Schwab <schwab@redhat.com>
12225 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12228 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12230 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12232 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12233 and <dl-machine.h>.
12234 (Elf64_FuncDesc): Remove.
12236 2011-08-22 David S. Miller <davem@davemloft.net>
12238 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12239 sigaltstack check, add missing cfi directives.
12240 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12241 missing cfi directives, and sigaltstack handling.
12243 2011-08-16 Andreas Schwab <schwab@redhat.com>
12246 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12247 object is seen twice.
12248 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12250 * elf/Makefile (distribute): Add tst-initorder2.c.
12251 (tests): Add tst-initorder2.
12252 (modules-names): Add tst-initorder2a tst-initorder2b
12253 tst-initorder2c tst-initorder2d. Add rules to build them.
12254 ($(objpfx)tst-initorder2.out): New rule.
12255 * elf/tst-initorder2.c: New file.
12256 * elf/tst-initorder2.exp: New file.
12258 2011-08-22 Andreas Schwab <schwab@redhat.com>
12260 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12262 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12263 dependencies back to end of function.
12265 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12266 $(elfobjdir)/ld.so.
12268 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12270 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12271 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12272 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12273 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12274 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12275 of __vdso_gettimeofday.
12276 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12277 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12279 (_libc_vdso_platform_setup): Remove initialization of
12280 __vdso_gettimeofday and __vdso_time.
12282 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12284 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12285 and fgetc_unlocked.
12286 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12289 * elf/dl-open.c (add_to_global): Report additions to the global scope
12290 for LD_DEBUG=scopes.
12291 (dl_open_worker): Also print scope of newly loaded dependencies.
12292 (_dl_show_scope): Indicate if there is no scope.
12295 * stdio-common/Makefile (tests): Add bug24.
12296 * stdio-common/bug24.c: New file.
12298 2011-08-19 Andreas Jaeger <aj@suse.de>
12301 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12302 non-existant file when using close-on-exec mode.
12304 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12306 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12307 the very first instruction.
12309 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12310 the CFI state in the end.
12311 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12312 inclusion of dl-trampoline.h.
12313 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12315 2011-08-19 Andreas Schwab <schwab@redhat.com>
12317 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12318 expectations for long double.
12320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12321 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12323 2011-08-14 David S. Miller <davem@davemloft.net>
12325 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12326 artificual limit depends upon the system page size.
12328 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12330 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12331 * resolv/Makefile: Define CFLAGS-libresolv.
12333 2011-08-17 Andreas Schwab <schwab@redhat.com>
12335 * nss/makedb.c (compute_tables): Make variables used in nested
12338 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12340 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12341 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12342 if buffer was too small.
12344 * elf/pldd.c (main): Attach to all threads in the process.
12345 Rewrite /proc handling to use *at functions.
12347 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12349 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12350 specifies first scope to show.
12351 (dl_open_worker): Update callers. Move printing scope of new
12352 object to before the relocation.
12353 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12354 * sysdeps/generic/ldsodefs.h: Update declaration.
12356 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12357 string for the scope number.
12359 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12361 * nscd/servicescache.c (cache_addserv): Make sure written is always
12364 2011-08-14 Roland McGrath <roland@hack.frob.com>
12366 * sysdeps/i386/i486/bits/atomic.h
12367 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12368 statement expression, so as to suppress "set but not used" warning.
12369 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12371 * string/strncat.c (STRNCAT): Use prototype definition.
12373 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12374 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12376 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12377 (localedef-modules): Add localedef.
12378 (locale-modules): Add locale.
12380 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12381 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12382 to avoid a warning.
12384 2011-08-14 David S. Miller <davem@davemloft.net>
12386 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12387 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12389 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12391 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12392 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12393 * elf/rtld.c (dl_main): Set l_name of vDSO.
12394 Call _dl_show_scope when DL_DEBUG_SCOPES.
12395 (process_dl_debug): Recognize scopes flag and also set it for all.
12396 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12397 Declare _dl_show_scope.
12399 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12400 (do_dlopen): Pass caller_dlopen to dl_open.
12401 (__libc_dlopen_mode): Initialize caller_dlopen.
12403 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12404 of libc. Make tolower call locale-independent. Optimize a bit by
12405 using isdigit instead of isalnum.
12406 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12408 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12410 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12411 was a dependency or dynamically loaded.
12413 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12415 * intl/l10nflist.c: Allow architecture-specific pop function.
12416 * sysdeps/x86_64/l10nflist.c: New file.
12418 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12421 2011-08-10 Andreas Schwab <schwab@redhat.com>
12423 * include/dirent.h: Add libc_hidden_proto for scandirat and
12424 scandirat64. Don't declare __scandirat64.
12425 * dirent/scandirat.c: Add libc_hidden_def.
12426 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12427 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12429 2011-08-10 David S. Miller <davem@davemloft.net>
12431 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12433 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12434 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12435 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12437 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12439 * Versions.def [libc]: Add GLIBC_2.15.
12440 * dirent/Makefile (routines): Add scandirat and scandirat64.
12441 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12443 * dirent/dirent.h: Declare scandirat and scandirat64.
12444 * dirent/scandirat.c: New file.
12445 * dirent/scandirat64.c: New file.
12446 * sysdeps/wordsize-64/scandirat.c: New file.
12447 * sysdeps/wordsize-64/scandirat64.c: New file.
12448 * dirent/opendir.c: Define opendirat.
12449 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12451 * dirent/scandir64.c: Adjust for scandir.c change.
12452 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12453 __scandirat64, and __scandir_cancel_handler.
12454 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12455 additional parameter and use openat instead of open (outside of ld.so).
12456 Add new __opendir as wrapper around __opendirat.
12457 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12458 here without requiring old scandirat implementation.
12460 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12462 * dirent/scandir.c (cancel_handler): Renamed to
12463 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12464 defined. Adjust users.
12465 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12466 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12468 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12470 * string/test-string.h (IMPL): Use __STRING to expand name and then
12473 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12476 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12478 * string/Makefile: Update.
12479 (strop-tests): Append strncat.
12480 * string/test-wcscmp.c: New file.
12481 New comprehensive test for wcscmp.
12482 * string/test-strcmp.c: Update.
12483 (WIDE): New define.
12485 2011-07-22 Andreas Schwab <schwab@redhat.com>
12487 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12490 2011-07-26 Andreas Schwab <schwab@redhat.com>
12492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12493 encoding to ACE if AI_IDN.
12495 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12497 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12498 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12500 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12502 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12503 Fix overflow bug in strncat.
12504 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12506 * string/test-strncat.c: Update.
12507 Add new tests for checking overflow bugs.
12509 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12511 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12512 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12513 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12514 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12515 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12516 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12517 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12518 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12519 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12521 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12522 (USE_AS_STRCAT): Define.
12523 Add strcat and strncat support.
12524 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12526 2011-07-25 Andreas Schwab <schwab@redhat.com>
12528 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12529 __n bigger than INT_MAX+1.
12530 (__strncmp_g): Likewise.
12532 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12534 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12535 * libio/stido.h: Likewise.
12537 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12539 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12542 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12543 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12545 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12546 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12549 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12552 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12554 (_dl_x86_64_save_sse): Likewise.
12556 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12560 (_dl_x86_64_save_sse): Likewise.
12562 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12564 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12566 2011-07-21 Andreas Schwab <schwab@redhat.com>
12568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12570 (_dl_x86_64_save_sse): Use correct AVX check.
12572 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12574 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12575 bug in strncpy/strncat.
12576 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12578 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12580 * string/tester.c (test_strcat): Add tests for different alignments
12581 of source and destination.
12582 (test_strncat): Likewise.
12584 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12587 * posix/glob.c (glob): Check passed in values before using them in
12588 expressions to avoid some overflows.
12589 (glob_in_dir): Likewise.
12592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12593 check for AVX enablement so that we don't crash with old kernels and
12595 * elf/tst-audit4.c: Add same checks here.
12596 * elf/tst-audit6.c: Likewise.
12598 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12600 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12602 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12604 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12606 * po/cs.po: Update from translation team.
12607 * po/bg.po: Likewise.
12609 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12611 * misc/sys/cdefs.h: Add support for const attribute.
12612 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12613 to gnu_dev_{major,minor,makedev} functions.
12615 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12617 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12619 2011-07-20 Andreas Schwab <schwab@redhat.com>
12621 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12624 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12627 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12628 register in order to avoid conflicts with the soft frame pointer
12629 being held in r11 when necessary.
12630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12631 (INTERNAL_VSYSCALL_NCS): Likewise.
12633 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12635 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12636 * elf/dl-fini.c (_dl_fini): Adjust caller.
12637 * elf/dl-close.c (_dl_close_worker): Likewise.
12638 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12640 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12642 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12643 "aux_cache->nlibs < 0".
12645 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12646 in the reload-count case.
12648 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12650 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12651 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12652 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12653 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12654 * sysdeps/x86_64/multiarch/strcat.S: New file.
12655 * sysdeps/x86_64/multiarch/strncat.S: New file.
12656 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12657 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12658 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12659 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12660 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12661 (USE_AS_STRCAT): Define.
12662 Add strcat and strncat support.
12663 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12664 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12665 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12666 * string/strncat.c: Update.
12667 (USE_AS_STRNCAT): Define.
12668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12669 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12671 * sysdeps/x86_64/multiarch/init-arch.h
12672 (bit_Prefer_PMINUB_for_stringop): New.
12673 (index_Prefer_PMINUB_for_stringop): Likewise.
12674 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12675 bit_Prefer_PMINUB_for_stringop.
12677 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12679 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12681 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12682 of casting of buffer.
12683 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12684 buffer32 and buffer64.
12685 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12686 writes instead of casting of buffer.
12687 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12689 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12692 2011-07-19 Andreas Schwab <schwab@redhat.com>
12694 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12696 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12698 * nscd/nscd.c (termination_handler): Don't do anything for a database
12699 if it has not yet been initialized.
12701 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12703 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12705 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12707 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12709 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12711 * po/nl.po: Update from translation team.
12712 * po/sv.po: Likewise.
12714 2011-07-16 Roland McGrath <roland@hack.frob.com>
12716 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12717 now disallowed by GCC.
12719 * configure.in (use-default-link): Default to yes if a test -shared
12720 link meets our qualifications.
12721 * configure: Regenerated.
12723 * config.make.in (output-format): New variable.
12724 * configure.in: Check for ld --print-output-format support.
12725 * configure: Regenerated.
12726 * Makerules ($(common-objpfx)format.lds)
12727 [$(output-format) != unknown]: Just use $(output-format),
12728 instead of the linker-script munging.
12730 2011-07-14 Roland McGrath <roland@hack.frob.com>
12732 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12733 of $(common-objpfx)shlib.lds.
12734 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12736 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12737 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12739 * configure.in (-z relro check): Adjust test code to add a large
12740 writable data section after it.
12741 * configure: Regenerated.
12743 2011-07-11 Roland McGrath <roland@hack.frob.com>
12745 * configure.in (-z relro check): Fix test code to make the variable
12747 * configure: Regenerated.
12749 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12751 * nscd/nscd.h (struct traced_file): Define.
12752 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12753 elements. Add traced_files.
12754 (inotify_fd): Declare.
12755 (register_traced_file): Declare.
12756 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12757 (inotify_fd): Export.
12758 (resolv_conf_descr): Remove.
12759 (nscd_init): Move inotify descriptor creation to main.
12760 Don't register files for notification here.
12761 (register_traced_file): New function.
12762 (invalidate_cache): Don't use reset_res to determine whether to call
12763 res_init, go through the list of registered files.
12764 (main_loop_poll): The inotify descriptors are now stored in the
12765 structures for the traced files.
12766 (main_loop_epoll): Likewise
12767 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12768 to __nss_disable_nscd.
12769 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12770 for a database anymore. Check the records for all the registered
12772 * nss/Makefile (libnss_files-routines): Add files-init.
12773 (libnss_db-routines): Add db-init.
12774 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12775 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12776 * nss/nss_db/db-init.c: New file.
12777 * nss/nss_files/files-init.c: New file.
12778 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12779 __nss_lookup_function.
12780 (__nss_lookup_function): Call nss_load_library.
12781 (nss_load_all_libraries): New function.
12782 (__nss_disable_nscd): Take parameter with callback function for files
12783 to register. Set is_nscd. Load all the DSOs for the NSS modules
12784 used for the cached services.
12785 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12786 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12787 options for features to all the files in nscd.
12789 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12791 2011-07-10 Roland McGrath <roland@hack.frob.com>
12793 * csu/elf-init.c (__libc_csu_init): Comment typo.
12795 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12797 * po/pl.po: Update from translation team.
12798 * po/ja.po: Likewise.
12799 * po/ru.po: Likewise.
12800 * po/ko.po: Likewise.
12801 * po/fr.po: Likewise.
12803 2011-07-09 Roland McGrath <roland@hack.frob.com>
12805 * configure.in (.ctors/.dtors header and trailer check):
12806 Use an empirical test on a built program.
12807 * configure: Regenerated.
12809 * configure.in (-z relro check): Use an empirical test on a built DSO.
12810 Detect, but do not require, on ia64.
12811 * configure: Regenerated.
12813 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12814 Update tests that use readelf to use $READELF instead.
12815 * configure: Regenerated.
12817 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12819 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12820 if the result is not used.
12822 2011-07-05 Andreas Jaeger <aj@suse.de>
12825 * stdlib/tst-strtod.c: Add testcase.
12827 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12829 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12830 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12831 The latter has a higher limit. Take additional parameter to pass to
12833 (__pathconf): Pass file to __statfs_link_max.
12834 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12836 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12840 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12841 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12843 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12844 (__statfs_filesize_max): Likewise.
12845 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12847 2011-07-05 Andreas Jaeger <aj@suse.de>
12849 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12851 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12853 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12855 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12858 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12860 * Makefile (strop-tests): Add strncat.
12861 * string/test-strncat.c: New file.
12863 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12865 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12867 2011-06-21 Andreas Jaeger <aj@suse.de>
12869 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12870 Copy rule from iconvdata/Makefile.
12872 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12875 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12876 but no long options are defined, just return 'W'.
12878 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12881 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12883 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12885 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12887 (innetgr): Likewise.
12889 2011-07-05 Roland McGrath <roland@hack.frob.com>
12891 * config.make.in (install_root): Default to $(DESTDIR).
12893 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12895 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12897 2011-07-02 Roland McGrath <roland@hack.frob.com>
12899 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12901 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12902 containing directory rather than embedding absolute directory names.
12904 * scripts/check-local-headers.sh: Rewritten using awk.
12905 Match by word, not by line. Print error messages for matches.
12906 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12908 * Makerules [shlib-lds-flags empty]:
12909 ($(common-objpfx)libc_pic.opts): New target.
12910 ($(common-objpfx)libc_pic.os.clean): New target.
12911 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12913 * config.make.in (OBJCOPY): New variable.
12914 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12915 * configure: Regenerated.
12917 * config.make.in (use-default-link): New variable.
12918 * configure.in (use_default_link): Grok --with-default-link to set it.
12919 * configure: Regenerated.
12920 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12921 (shlib-lds, shlib-lds-flags): Define to empty.
12923 * Makerules (shlib-lds): New variable.
12924 (shlib-lds-flags): New variable.
12925 (build-shlib, build-moduile, build-module-asneeded): Use it.
12926 ($(common-objpfx)libc.so): Use $(shlib-lds).
12927 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12928 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12930 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12931 DT_FLAGS/DT_FLAGS_1 with zero flags.
12933 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12934 linker script munging.
12936 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12938 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12940 * crypt/sha512.c (sha512_process_block): Perform total addition using
12941 128-bit if possible.
12942 (__sha512_finish_ctx): Likewise.
12943 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12945 * crypt/sha256.c (SWAP64): Define.
12946 (sha256_process_block): Perform total addition using 64-bit if
12948 (__sha256_finish_ctx): Likewise.
12950 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12952 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12953 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12954 * nscd/hstcache.c (cache_addhst): Likewise.
12955 * nscd/grpcache.c (cache_addgr): Likewise.
12956 * nscd/aicache.c (addhstaiX): Likewise
12957 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12959 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12961 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12962 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12963 * nscd/hstcache.c (cache_addhst): Likewise.
12964 * nscd/grpcache.c (cache_addgr): Likewise.
12965 * nscd/aicache.c (addhstaiX): Likewise
12967 2011-07-01 Andreas Schwab <schwab@redhat.com>
12969 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12970 domain only when needed.
12972 2011-06-30 Andreas Schwab <schwab@redhat.com>
12974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12975 is always restored.
12977 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12979 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12980 are re-adding the entry.
12981 * nscd/servicescache.c (cache_addserv): Likewise.
12983 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12985 * sysdeps/generic/dl-irel.h: fix protection against multiple
12987 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12989 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12992 * malloc/memusage.sh: Fix quoting in message.
12993 * debug/xtrace.sh: Likewise.
12995 * configure.in: Remove support for --experimental-malloc option, make
12997 * config.make.in: Likewise.
12998 * malloc/Makefile: Likewise.
13000 2011-06-27 Andreas Schwab <schwab@redhat.com>
13002 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13003 two-byte characters.
13005 2011-06-27 Roland McGrath <roland@hack.frob.com>
13007 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13008 AC_CACHE_CHECK invocation.
13009 * configure: Regenerated.
13011 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13013 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13016 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13017 bit from old_res_options.
13019 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13021 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13022 value type for setfct.
13024 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13027 __gettimeofday instead of gettimeofday.
13029 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13031 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13033 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13035 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13037 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13040 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13043 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13044 strcpy-sse2-unaligned strncpy-sse2-unaligned
13045 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13046 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13047 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13048 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13049 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13050 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13051 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13052 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13053 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13054 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13055 (STRCPY): Support SSE2 and SSSE3 versions.
13057 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13060 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13061 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13062 kernels which artificially limit size of requests.
13064 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13066 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13067 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13068 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13069 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13070 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13071 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13072 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13073 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13074 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13075 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13076 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13077 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13078 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13079 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13080 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13082 Enable unaligned load optimization for Intel Core i3, i5 and i7
13084 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13086 (index_Fast_Unaligned_Load): Define.
13087 (HAS_FAST_UNALIGNED_LOAD): Define.
13089 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13091 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13093 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13096 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13097 until it is clear that the information is realy needed.
13098 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13100 2011-06-22 Andreas Schwab <schwab@redhat.com>
13102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13104 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13106 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13107 /sys/devices/system/cpu/online if it is usable.
13109 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13110 reading the information from the /proc filesystem to once a second.
13112 2011-06-21 Andreas Jaeger <aj@suse.de>
13114 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13115 NULL after inclusion of kernel headers.
13117 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13119 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13120 calls to internal_setent.
13123 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13124 addresses using gethostbyname4_r ignore IPv4 addresses.
13126 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13127 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13129 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13131 2011-06-20 David S. Miller <davem@davemloft.net>
13133 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13135 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13137 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13138 (elf_irel): Use it.
13139 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13140 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13141 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13142 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13143 * sysdeps/x86_64/dl-irel.h: Likewise.
13145 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13146 * elf/dl-sym.c: Likewise.
13148 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13150 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13151 need to dereference resplen2.
13153 2011-06-14 Andreas Schwab <schwab@redhat.com>
13155 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13157 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13159 * Makeconfig: Define vardbdir and inst_vardbdir.
13160 * nss/Makefile: Add rules to install db-Makefile.
13162 * nss/nss_db/db-XXX.c: Cleanup.
13164 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13165 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13167 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13168 * nss/makedb.c: Implement -g option to specify that value strings
13169 are generated and should not be added to table iterated over for
13171 * nss/nss_db/db-initgroups.c: New file.
13173 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13176 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13177 (internal_getgrouplist): Adjust to name change.
13178 Update use_initgroups_entry if this is not the first call.
13179 * nss/databases.def: Add initgroups entry.
13181 * nss/makedb.c (compute_tables): Check result of multiple hash table
13182 sizes to minimize maximum chain length.
13184 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13186 * Versions.def: Add entry for libnss_db.
13187 * shlib-versions: Likewise.
13188 * nss/Makefile: Add rules to build libnss_db.
13189 * nss/Versions: Add libnss_db information. Organize libnss_files
13191 * nss/db-Makefile: Add gshadow support. Change rules for the new
13192 makedb progra. Some minor improvements to generate smaller files.
13193 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13195 * nss/makedb.c: ...here.
13196 Improve database format to be smaller and require less memory at
13198 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13200 * nss/nss_db/db-netgrp.c: Likewise.
13201 * nss/nss_db/db-open.c: Likewise.
13202 * nss/nss_files/flies-XXX.x: Adjust comments.
13203 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13204 * nss/nss_files/files-grp.c: Likewise.
13205 * nss/nss_files/files-hosts.c: Likewise.
13206 * nss/nss_files/files-network.c: Likewise.
13207 * nss/nss_files/files-proto.c: Likewise.
13208 * nss/nss_files/files-pwd.c: Likewise.
13209 * nss/nss_files/files-rpc.c: Likewise.
13210 * nss/nss_files/files-service.c: Likewise.
13211 * nss/nss_files/files-sgrp.c: Likewise.
13212 * nss/nss_files/files-spwd.c: Likewise.
13213 * nss/nss_db/db-alias.c: Removed.
13214 * nss/nss_db/dummy-db.h: Removed.
13216 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13218 * nss/makedb.c: Rewritten to not use database library.
13219 * nss/Makefile: Update to build new makedb program.
13221 2011-06-14 Andreas Jaeger <aj@suse.de>
13223 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13224 memset declaration.
13226 2011-06-10 Andreas Schwab <schwab@redhat.com>
13228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13231 2011-06-10 Roland McGrath <roland@hack.frob.com>
13233 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13234 * elf/Makefile ($(objpfx)ld.so): Likewise.
13236 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13237 Don't list ld.so twice in dependencies.
13239 * posix/bug-regex31.c: Include <stdlib.h>.
13241 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13243 * nis/nss_compat/compat-spwd.c
13244 (getspent_next_nss_netgr): Remove unused variable.
13245 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13247 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13248 nonmembers" output to use the right array.
13250 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13252 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13254 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13255 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13256 * catgets/gencat.c (read_input_file): Likewise.
13257 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13259 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13260 variable definition inside #if's controlling its use.
13262 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13264 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13266 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13268 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13271 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13273 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13274 * configure: Regenerated.
13276 * Makerules: Revert last change.
13277 * elf/Makefile: Likewise.
13279 2011-06-09 Roland McGrath <roland@hack.frob.com>
13281 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13282 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13283 (reloc-link): Likewise.
13285 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13287 * elf/Makefile: Add rules to build pldd.
13288 * elf/pldd.c: New file.
13289 * elf/pldd-xx.c: New file.
13291 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13293 * version.h: Update for 2.15 development version.
13295 2011-06-07 David S. Miller <davem@davemloft.net>
13297 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13299 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13300 elf_machine_lazy_rel): Likewise.
13301 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13302 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13303 elf_machine_lazy_rel): Likewise.
13304 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13305 dl_hwcap via passed in argument.
13306 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13309 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13311 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13313 2011-06-06 Roland McGrath <roland@hack.frob.com>
13316 * manual/fdl-1.1.texi: New file, verbatim from:
13317 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13318 * manual/lgpl-2.1.texi: New file, verbatim from:
13319 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13320 * manual/Makefile (licenses): New variable, list those new file names.
13322 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13324 * manual/fdl.texi: File removed.
13325 * manual/lesser.texi: File removed.
13326 * manual/libc.texinfo (Copying, Documentation License):
13327 Use new @include file names, put @appendix directive before @include.
13329 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13332 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13333 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13334 (mq_open): Add __NTH.
13336 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13339 Assume Intel Core i3/i5/i7 processor if AVX is available.
13341 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13343 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13346 2011-05-31 Andreas Schwab <schwab@redhat.com>
13348 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13349 memory. Use alloca_account. Fix memory leak when retrying.
13351 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13353 * version.h (RELEASE): Bump for 2.14 release.
13354 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13356 * config.make.in (RANLIB): Remove entry.
13358 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13360 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13361 (libc.pot): Work around missing support for .ksh extension in xgettext.
13364 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13365 if both request failed.
13366 (send_dg): In case of server errors clear resplen or *resplen2.
13369 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13370 when there are multiple maps.
13371 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13372 (_dl_fini): Remove test here.
13374 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13376 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13379 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13380 bit from old_res_options.
13381 (gaih_inet): Likewise.
13384 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13387 * resolv/res_init.c (res_setoptions): Make the code more compact.
13390 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13394 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13396 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13399 * malloc/malloc.h: Declare malloc hook variables as volatile.
13401 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13405 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13406 raise in the comment.
13407 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13408 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13409 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13411 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13414 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13415 grow the buffers more if it already has to be sufficient.
13416 (build_wcs_upper_buffer): Likewise.
13417 * posix/regexec.c (check_matching): Likewise.
13418 (clean_state_log_if_needed): Likewise.
13419 (extend_buffers): Don't enlarge buffers beyond size of the input
13421 Patches mostly by Emil Wojak <emil@wojak.eu>.
13422 * posix/bug-regex32.c: New file.
13423 * posix/Makefile (tests): Add bug-regex32.
13425 * locale/findlocale.c (_nl_find_locale): Return right away if
13426 _nl_explode_name failed.
13427 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13429 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13431 * debug/xtrace.sh: Unify messages.
13432 * malloc/memusage.sh: Likewise.
13435 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13436 time symbol from vDSO. Substitute with vsyscall if not available.
13437 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13440 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13441 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13442 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13443 Add sendmmsg and internal_sendmmsg.
13444 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13445 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13446 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13448 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13449 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13450 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13452 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13455 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13456 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13458 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13462 * iconvdata/Makefile (tests): Add bug-iconv9.
13463 * iconvdata/bug-iconv9.c: New file.
13465 2011-05-27 Andreas Schwab <schwab@redhat.com>
13468 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13470 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13472 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13473 (struct user_regs_struct): Change intcs field back to cs.
13475 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13477 * po/ja.po: Update from translation team.
13479 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13482 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13483 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13485 2011-05-20 Andreas Schwab <schwab@redhat.com>
13487 * stdlib/longlong.h: Update from GCC.
13489 2011-05-23 Andreas Schwab <schwab@redhat.com>
13491 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13493 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13494 Add parameter name.
13495 (__sysconf): Pass it down.
13497 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13500 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13502 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13503 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13504 add in in __libc_use_alloca calls. Adjust callers.
13505 (glob): Use malloc in some situations.
13507 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13508 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13511 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13513 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13514 and CLOCK_BOOTTIME_ALARM.
13517 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13520 * string/_strerror.c (__strerror_r): Print negative errors as signed
13524 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13525 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13526 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13528 * configure.in: Fix typo in redirection and correct removal of test
13529 files in two cases.
13532 * locale/setlocale.c (new_composite_name): Fix test to check for
13533 identical name of all categories.
13536 * libio/filedoalloc.c (local_isatty): New function.
13537 (_IO_file_doallocate): Use local_isatty.
13538 * stdio-common/perror.c (perror): In case a new stream is used
13539 forward the stream error.
13540 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13543 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13548 * include/alloca.h (extend_alloca_account): Define.
13551 * posix/regex.h: Fix comments with documentation of user-accessible
13552 fields after compilation and describe correct free'ing of pattern
13553 after re_compile_pattern.
13554 Patch by Reuben Thomas <rrt@sc3d.org>.
13556 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13558 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13559 and -mno-altivec to prevent the compiler from using Altivec and/or
13560 VSX instructions when the corresponding registers are not available.
13562 2011-05-19 Andreas Schwab <schwab@redhat.com>
13564 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13566 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13568 * libio/freopen.c (freopen): Use __dup2, not dup2.
13569 * libio/freopen64.c (freopen64): Likewise.
13571 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13574 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13575 * math/Makefile (tests): Add test-powl.
13576 (CFLAGS-test-powl.c): Define.
13577 * math/test-powl.c: New file.
13579 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13581 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13583 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13586 * iconvdata/gb18030.c: Update to GB18020-2005.
13588 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13590 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13591 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13592 Patch by Aharon Robbins <arnold@skeeve.com>.
13595 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13599 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13600 through underflows.
13603 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13604 point to strings before performing equality test for error_one_per_line
13608 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13611 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13612 (struct user_fpregs_struct): Avoid __uint*_t types.
13615 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13616 symbol info. Use it instead of calling _dl_addr locally.
13617 (lock_and_info): New function.
13618 (tr_freehook): Call lock_and_info and pass symbol info as additional
13619 parameter to tr_where.
13620 (tr_mallochook): Likewise.
13621 (tr_reallochook): Likewise.
13622 (tr_memalignhook): Likewise.
13624 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13625 used and couldn't be at all thread-safe.
13627 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13629 * libio/freopen.c (freopen): Don't close old file descriptor
13630 before the new one is opened. Instead dup the new file descriptor
13631 to the old one after the new stream is created.
13632 * libio/freopen64.c (freopen64): Likewise.
13633 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13634 * libio/fileops.c (_IO_new_file_close_it): Handle new
13635 _IO_FLAGS2_NOCLOSE flag.
13636 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13637 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13638 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13639 _IO_FLAGS2_NOCLOSE flag.
13640 * include/unistd.h: Add hidden_proto for dup3.
13641 Define __have_dup3.
13642 * io/dup3.c: Define hidden symbol.
13643 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13646 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13647 when an incomplete long option is used.
13648 * posix/tst-getopt_long1.c: New file.
13649 * posix/Makefile (tests): Add tst-getopt_long1.
13652 * scripts/config.guess: Update from autoconf-2.68.
13653 * scripts/config.sub: Likewise.
13656 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13658 (has_cpuclock): ...this. New function.
13659 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13660 macro here based on has_cpuclock code.
13663 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13664 First byte (not low byte) is now always NUL.
13665 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13667 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13668 Use non-cancelable interfaces.
13671 * locale/iso-639.def: Add entry for Sorani.
13674 * include/stdlib.h: Move include protection to the right place.
13675 Define abort_msg_s. Declare __abort_msg with it.
13676 * stdlib/abort.c (__abort_msg): Adjust type.
13677 * assert/assert.c (__assert_fail_base): New function. Majority
13678 of code from __assert_fail. Allocate memory for __abort_msg with
13680 (__assert_fail): Now call __assert_fail_base.
13681 * assert/assert-perr.c: Remove bulk of implementation. Use
13682 __assert_fail_base.
13683 * include/assert.hL Declare __assert_fail_base.
13684 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13686 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13688 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13692 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13693 until all modules are registered in the DTV.
13694 * elf/Makefile: Add rules to build and run tst-tls19.
13695 * elf/tst-tls19.c: New file.
13696 * elf/tst-tls19mod1.c: New file.
13697 * elf/tst-tls19mod2.c: New file.
13698 * elf/tst-tls19mod3.c: New file.
13699 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13702 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13706 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13707 two-byte sequence errors.
13708 * iconvdata/Makefile (tests): Add bug-iconv8.
13709 * iconvdata/bug-iconv8.c: New file.
13712 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13715 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13718 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13719 (dummy_getcfa): New function.
13720 (init): Get _Unwind_GetCFA address, use dummy if not found.
13721 (backtrace_helper): In recursion check, also check whether CFA changes.
13722 (__backtrace): Completely initialize arg.
13724 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13725 storing incomplete byte sequence in state object. Avoid testing for
13726 guaranteed too small input if we know there is enough data available.
13728 2011-05-11 Andreas Schwab <schwab@redhat.com>
13730 * Makeconfig (+link-pie): Indent.
13731 * Rules (binaries-pie): Define if $(have-fpie) and
13733 (binaries-shared): Also filter out $(binaries-pie).
13734 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13735 * nscd/Makefile (others-pie): Add nscd.
13736 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13737 ($(objpfx)nscd): Remove command override.
13738 * login/Makefile (others-pie): Add pt_chown.
13739 ($(objpfx)pt_chown): Remove command override.
13740 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13741 remove command overrides.
13743 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13745 * libio/tst_putwc.c: Fix error messages.
13748 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13749 currently writing and seek to current position when not.
13750 * libio/Makefile (tests): Add bug-fclose1.
13751 * libio/bug-fclose1.c: New file.
13753 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13756 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13757 don't set DF_1_NODELETE here.
13758 (do_lookup_x): When entering new entry test for copy relocation
13759 and if necessary set DF_1_NODELETE flag.
13760 * elf/tst-unique4.cc: New file.
13761 * elf/tst-unique4.h: New file.
13762 * elf/tst-unique4lib.cc: New file.
13763 * elf/Makefile: Add rules to build and run tst-unique4.
13764 Patch by Piotr Bury <pbury@goahead.com>.
13766 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13769 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13772 * misc/mntent_r.c (addmntent): Flush the stream after the output
13775 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13776 (is_trusted_path_normalize): Skip initial colon. Append slash
13777 to empty buffer. Duplicate is_trusted_path code but allow
13778 constructed patch to be prefix.
13779 (is_dst): Allow $ORIGIN followed by /.
13780 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13781 Correct testing of result of is_trusted_path_normalize
13782 (decompose_rpath): Fix warning.
13784 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13787 * grp/initgroups.c (internal_getgrouplist): When we found the service
13788 list through the initgroups entry in nsswitch.conf do not always
13789 continue on a successful lookup. Don't always use the
13790 __nss_group_database value if it is set.
13791 * nss/nsswitch.conf (initgroups): Change action for successful db
13792 lookup to continue for compatibility.
13794 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13797 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13799 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13801 * iconvdata/tst-tables.sh: Likewise.
13802 * iconvdata/cp770.c: New file.
13803 * iconvdata/cp771.c: New file.
13804 * iconvdata/cp772.c: New file.
13805 * iconvdata/cp773.c: New file.
13806 * iconvdata/cp774.c: New file.
13807 * iconvdata/testdata/CP770: New file.
13808 * iconvdata/testdata/CP770..UTF8: New file.
13809 * iconvdata/testdata/CP771: New file.
13810 * iconvdata/testdata/CP771..UTF8: New file.
13811 * iconvdata/testdata/CP772: New file.
13812 * iconvdata/testdata/CP772..UTF8: New file.
13813 * iconvdata/testdata/CP773: New file.
13814 * iconvdata/testdata/CP773..UTF8: New file.
13815 * iconvdata/testdata/CP774: New file.
13816 * iconvdata/testdata/CP774..UTF8: New file.
13818 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13820 * iconvdata/gen-8bit-gap.sh: Likewise.
13821 * iconvdata/gen-8bit.sh: Likewise.
13823 * locale/iso-639.def: Add ary entry.
13826 * locale/C-translit.h.in: Add U20A1 transliteration.
13829 * locale/iso-639.def: Add wae entry.
13830 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13833 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13837 * locale/C-translit.h.in: Add entry for U20B9.
13838 Patch by pravin.d.s@gmail.com.
13840 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13843 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13844 ENAMETOOLONG use generic getcwd.
13845 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13846 in rtld. Use *stat64.
13847 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13848 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13849 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13850 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13851 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13852 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13853 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13854 __fstatat64 macros.
13855 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13856 * dirent/rewinddir.c: Add libc_hidden_def.
13857 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13858 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13860 * include/dirent.h (__alloc_dir): Add flags parameter.
13861 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13862 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13864 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13865 from fdopendir if O_CLOEXEC is already set.
13867 2011-03-15 Alan Modra <amodra@gmail.com>
13869 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13870 l_tls_firstbyte_offset non-zero. Save padding offset in
13871 l_tls_firstbyte_offset for later use.
13872 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13873 freeing static tls block.
13875 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13877 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13878 where #ifdef was intended. The intent is to prevent ARG_MAX from
13879 being defined by the kernel headers.
13881 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13884 * resolv/resolv.h: Define RES_NOTLDQUERY.
13885 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13886 no-tld-query and set RES_NOTLDQUERY.
13887 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13888 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13889 modern BIND to search name as TLD unless forbidden.
13891 2011-05-07 Petr Baudis <pasky@suse.cz>
13892 Ulrich Drepper <drepper@gmail.com>
13895 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13896 (is_trusted_path): ...to here.
13897 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13898 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13899 using is_trusted_path_normalize() in setuid scripts.
13901 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13903 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13904 __BEGIN/__END_DECLS.
13906 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13908 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13909 NSS_STATUS_NOTFOUND if no record was found.
13911 2011-05-05 Andreas Schwab <schwab@redhat.com>
13913 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13914 (headers-not-in-tirpc): Remove rpc/netdb.h
13915 * resolv/netdb.h: Revert last change.
13917 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13919 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13920 circular dependency between libgcc.a and libc.a.
13922 2011-05-05 Andreas Schwab <schwab@redhat.com>
13924 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13925 * nis/Makefile: Don't install rpcsvc/*.
13926 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13927 instead of <rpc/types.h>.
13928 (MAXHOSTNAMELEN): Define.
13930 2011-05-03 Andreas Schwab <schwab@redhat.com>
13932 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13934 2011-04-28 Maciej Babinski <mbabinski@google.com>
13937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13938 gethostbyname4_r when IPv6 results are possible.
13940 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13943 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13944 _PC_PIPE_BUF handling.
13946 2011-04-30 Bruno Haible <bruno@clisp.org>
13949 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13950 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13952 * inet/getnameinfo.c (getnameinfo): Likewise.
13954 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13956 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13957 to groups setting in database lookup.
13958 * nss/nsswitch.conf: Add initgroups entry.
13960 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13963 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13965 Patch by Eric Blake <eblake@redhat.com>.
13967 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13969 * sunrpc/Makefile (need-export-routines): Add svc_run.
13970 (routines): Remove svc_run.
13971 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13972 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13973 * sunrpc/svc_run.c (svc_run): Likewise.
13974 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13976 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13978 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13979 problem in reallocation in last patch.
13981 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13983 * sunrpc/Makefile: Move inclusion of Rules.
13985 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13987 * nss/nss_files/files-initgroups.c: New file.
13988 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13989 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13990 _nss_files_initgroups_dyn.
13992 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13994 * elf/elf.h (R_ARM_IRELATIVE): Define.
13996 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13998 * po/ru.po: Update from translation team.
14000 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14002 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14005 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14008 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14009 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14010 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14011 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14012 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14014 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14016 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14018 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14019 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14020 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14022 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14025 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14027 * stdlib/bug-getcontext.c: New file.
14028 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14030 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14032 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14033 instructions into .machine "z9-109".
14034 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14035 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14037 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14039 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14040 between environment variables and auxiliary vector.
14042 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14044 * Makefile: Add rules to build linkobj/libc.so.
14045 * include/libc-symbols.h: Define libc_hidden_nolink.
14046 * include/rpc/auth.h: Mark functions which are to be hidden.
14047 * include/rpc/auth_des.h: Likewise.
14048 * include/rpc/auth_unix.h: Likewise.
14049 * include/rpc/clnt.h: Likewise.
14050 * include/rpc/des_crypt.h: Likewise.
14051 * include/rpc/key_prot.h: Likewise.
14052 * include/rpc/pmap_clnt.h: Likewise.
14053 * include/rpc/pmap_prot.h: Likewise.
14054 * include/rpc/pmap_rmt.h: Likewise.
14055 * include/rpc/rpc_msg.h: Likewise.
14056 * include/rpc/svc.h: Likewise.
14057 * include/rpc/svc_auth.h: Likewise.
14058 * include/rpc/xdr.h: Likewise.
14059 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14060 * nss/Makefile: Likewise.
14061 * sunrpc/Makefile: Don't install headers. Build library with normal
14062 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14063 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14064 for the compat linking library. Remove use of INTDEF/INTUSE.
14065 * sunrpc/auth_none.c: Likewise.
14066 * sunrpc/auth_unix.c: Likewise.
14067 * sunrpc/authdes_prot.c: Likewise.
14068 * sunrpc/authuxprot.c: Likewise.
14069 * sunrpc/clnt_gen.c: Likewise.
14070 * sunrpc/clnt_perr.c: Likewise.
14071 * sunrpc/clnt_raw.c: Likewise.
14072 * sunrpc/clnt_simp.c: Likewise.
14073 * sunrpc/clnt_tcp.c: Likewise.
14074 * sunrpc/clnt_udp.c: Likewise.
14075 * sunrpc/clnt_unix.c: Likewise.
14076 * sunrpc/des_crypt.c: Likewise.
14077 * sunrpc/des_soft.c: Likewise.
14078 * sunrpc/get_myaddr.c: Likewise.
14079 * sunrpc/key_call.c: Likewise.
14080 * sunrpc/key_prot.c: Likewise.
14081 * sunrpc/netname.c: Likewise.
14082 * sunrpc/pm_getmaps.c: Likewise.
14083 * sunrpc/pm_getport.c: Likewise.
14084 * sunrpc/pmap_clnt.c: Likewise.
14085 * sunrpc/pmap_prot.c: Likewise.
14086 * sunrpc/pmap_prot2.c: Likewise.
14087 * sunrpc/pmap_rmt.c: Likewise.
14088 * sunrpc/publickey.c: Likewise.
14089 * sunrpc/rpc_cmsg.c: Likewise.
14090 * sunrpc/rpc_common.c: Likewise.
14091 * sunrpc/rpc_dtable.c: Likewise.
14092 * sunrpc/rpc_prot.c: Likewise.
14093 * sunrpc/rpc_thread.c: Likewise.
14094 * sunrpc/rtime.c: Likewise.
14095 * sunrpc/svc.c: Likewise.
14096 * sunrpc/svc_auth.c: Likewise.
14097 * sunrpc/svc_authux.c: Likewise.
14098 * sunrpc/svc_raw.c: Likewise.
14099 * sunrpc/svc_run.c: Likewise.
14100 * sunrpc/svc_simple.c: Likewise.
14101 * sunrpc/svc_tcp.c: Likewise.
14102 * sunrpc/svc_udp.c: Likewise.
14103 * sunrpc/svc_unix.c: Likewise.
14104 * sunrpc/svcauth_des.c: Likewise.
14105 * sunrpc/xcrypt.c: Likewise.
14106 * sunrpc/xdr.c: Likewise.
14107 * sunrpc/xdr_array.c: Likewise.
14108 * sunrpc/xdr_float.c: Likewise.
14109 * sunrpc/xdr_intXX_t.c: Likewise.
14110 * sunrpc/xdr_mem.c: Likewise.
14111 * sunrpc/xdr_rec.c: Likewise.
14112 * sunrpc/xdr_ref.c: Likewise.
14113 * sunrpc/xdr_sizeof.c: Likewise.
14114 * sunrpc/xdr_stdio.c: Likewise.
14116 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14119 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14120 * sysdeps/ia64/dl-tls.h: Likewise.
14121 * sysdeps/powerpc/dl-tls.h: Likewise.
14122 * sysdeps/s390/dl-tls.h: Likewise.
14123 * sysdeps/sh/dl-tls.h: Likewise.
14124 * sysdeps/sparc/dl-tls.h: Likewise.
14125 * sysdeps/x86_64/dl-tls.h: Likewise.
14126 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14128 2011-03-14 Andreas Schwab <schwab@redhat.com>
14130 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14131 rpath element also skip the following colon.
14132 (expand_dynamic_string_token): Add is_path parameter and pass
14133 down to DL_DST_REQUIRED and _dl_dst_substitute.
14134 (decompose_rpath): Call expand_dynamic_string_token with
14135 non-zero is_path. Ignore empty rpaths.
14136 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14139 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14144 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14147 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14148 Patch by Filipe David Manana <fdmanana@apache.org>.
14150 2011-04-07 Andreas Schwab <schwab@redhat.com>
14152 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14153 Maintain aligned stack.
14154 (CHECK_RSP): Remove unused macro.
14156 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14158 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14159 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14161 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14163 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14165 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14167 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14170 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14171 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14172 * sysdeps/x86_64/memmove.c: New file.
14173 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14174 (memcpy): Renamed to ...
14175 (__new_memcpy): This.
14176 (memcpy): Provide GLIBC_2_14 memcpy.
14177 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14178 (memcpy): Provide GLIBC_2_2_5 memcpy.
14180 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14183 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14185 2011-03-30 Andreas Schwab <schwab@redhat.com>
14187 * misc/syncfs.c: New file.
14188 * misc/Makefile (routines): Add syncfs.
14189 * posix/unistd.h: Declare syncfs.
14190 * sysdeps/unix/syscalls.list: Add syncfs.
14192 2011-04-01 Andreas Schwab <schwab@redhat.com>
14194 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14196 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14197 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14198 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14199 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14201 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14202 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14204 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14206 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14207 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14208 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14209 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14210 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14211 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14212 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14214 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14215 sync_file_range.c with -fexceptions.
14216 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14217 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14218 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14219 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14220 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14221 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14222 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14223 sync_file_range as cancellation point
14224 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14225 now a wrapper around __call_sync_file_range with cancellation handling.
14226 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14227 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14228 function name to __call_sync_file_range.
14229 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14230 Add call_sync_file_range.
14232 2011-04-01 Andreas Schwab <schwab@redhat.com>
14234 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14237 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14239 * iconv/iconv.h: Fix typo in comment.
14240 * io/fcntl.h: Likewise.
14241 * libio/stdio.h: Likewise.
14242 * posix/spawn.h: Likewise.
14243 * posix/unistd.h: Likewise.
14244 * stdlib/stdlib.h: Likewise.
14245 * time/time.h: Likewise.
14246 * wcsmbs/wchar.h: Likewise.
14248 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14249 open_by_handle): Add.
14250 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14251 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14252 Augment a few comments.
14253 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14254 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14255 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14256 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14257 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14258 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14261 * io/fcntl.h (AT_EMPTY_PATH): Define.
14263 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14265 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14266 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14267 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14269 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14270 * Versions.def: Add GLIBC_2.14.
14271 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14274 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14276 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14278 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14280 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14283 * string/test-strncmp.c (do_page_test): New function.
14284 (check2): Likewise.
14285 (test_main): Call check2.
14286 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14288 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14291 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14292 Handle cache information in CPU leaf 4.
14293 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14295 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14298 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14299 character representation.
14300 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14302 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14304 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14305 END(__isnan) to END(__isnanf) to match function entry point/label
14306 EALIGN(__isnanf,...).
14308 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14310 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14312 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14315 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14316 copy from the symbol referenced in the relocation to initialize the
14318 Patch by Piotr Bury <pbury@goahead.com>.
14319 * elf/Makefile: Add rules to build and tst-unique3.
14320 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14321 * elf/tst-unique3.cc: New file.
14322 * elf/tst-unique3.h: New file.
14323 * elf/tst-unique3lib.cc: New file.
14324 * elf/tst-unique3lib2.cc: New file.
14326 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14328 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14330 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14331 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14334 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14336 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14337 to-be-loaded object along a path to loader is ld.so.
14339 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14340 Ulrich Drepper <drepper@gmail.com>
14342 * sysdeps/x86_64/memset.S: After aligning destination, code
14343 branches to different locations depending on the value of
14344 misalignment, when multiarch is enabled. Fix this.
14346 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14348 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14349 Set _x86_64_preferred_memory_instruction for AMD processsors.
14350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14351 Set bit_Prefer_SSE_for_memop for AMD processors.
14353 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14355 * libio/fmemopen.c (fmemopen): Optimize a bit.
14357 2011-03-03 Andreas Schwab <schwab@redhat.com>
14359 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14361 2011-03-03 Roland McGrath <roland@redhat.com>
14363 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14365 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14367 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14368 __bzero_ultra1 instead of __memset_ultra1.
14370 2011-02-23 Andreas Schwab <schwab@redhat.com>
14371 Ulrich Drepper <drepper@gmail.com>
14374 * include/link.h (struct link_map): Add l_orig_initfini.
14375 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14376 returning unsuccessfully.
14377 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14378 close of a file loaded at startup, restore the original l_initfini
14380 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14381 list, store the pointer.
14382 * elf/Makefile ($(objpfx)noload-mem): New rule.
14383 (noload-ENV): Define.
14384 (tests): Add $(objpfx)noload-mem.
14385 * elf/noload.c: Include <memcheck.h>.
14386 (main): Call mtrace. Close all opened handles.
14388 2011-02-17 Andreas Schwab <schwab@redhat.com>
14391 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14392 dependencies are missing.
14394 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14396 Fix __if_freereq crash: Unlike the generic version which uses free,
14398 * sysdeps/mach/hurd/ifreq.h: New file.
14400 2011-01-27 Petr Baudis <pasky@suse.cz>
14401 Ulrich Drepper <drepper@gmail.com>
14404 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14405 to extend_alloca().
14406 * stdio-common/bug23.c: New file.
14407 * stdio-common/Makefile (tests): Add bug23.
14409 2010-09-28 Andreas Schwab <schwab@redhat.com>
14410 Ulrich Drepper <drepper@gmail.com>
14413 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14414 before performing relro protection. At old place add assertion
14415 to make sure nothing changed.
14417 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14418 Glauber de Oliveira Costa <glommer@gmail.com>
14420 * elf/elf.h: Add new ARM TLS relocs.
14422 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14425 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14427 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14429 * sysdeps/wordsize-64/tst-writev.c: New file.
14431 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14433 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14434 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14435 insns in _dl_start to prevent a TOC reference before relocs are
14438 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14441 * Makeconfig: Remove RANLIB definition.
14442 * Makerules: Don't use RANLIB.
14443 * aclocal.m4: Remove ranlib test.
14444 * configure.in: No need to check for ranlib.
14445 * elf/rtld-Rules: Don't use RANLIB.
14447 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14449 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14451 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14452 inclusion protection macro.
14454 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14455 SIGRTMIN and SIGRTMAX and print information in that case only when
14456 SIGRTMIN is defined.
14458 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14460 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14461 arginfo fn returning -1.
14463 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14464 and thousands string is zero terminated.
14466 2011-02-03 Andreas Schwab <schwab@redhat.com>
14468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14469 sysdeps/unix/sysv/linux/bits/socket.h.
14471 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14473 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14474 (__CPU_COUNT): Remove old macros.
14475 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14476 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14477 (__CPU_ALLOC, __CPU_FREE): Add macros.
14478 (__sched_cpualloc, __sched_cpufree): Add declarations.
14480 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14482 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14483 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14484 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14485 (readdhstai): Return value of addhstaiX call.
14486 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14487 (addgrbyX): Return value returned by cache_addgr.
14488 (readdgrbyname): Return value returned by addgrbyX.
14489 (readdgrbygid): Likewise.
14490 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14491 (addpwbyX): Return value returned by cache_addpw.
14492 (readdpwbyname): Return value returned by addhstbyX.
14493 (readdpwbyuid): Likewise.
14494 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14495 (addservbyX): Return value returned by cache_addserv.
14496 (readdservbyname): Return value returned by addservbyX:
14497 (readdservbyport): Likewise.
14498 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14499 (addhstbyX): Return value returned by cache_addhst.
14500 (readdhstbyname): Return value returned by addhstbyX.
14501 (readdhstbyaddr): Likewise.
14502 (readdhstbynamev6): Likewise.
14503 (readdhstbyaddrv6): Likewise.
14504 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14505 (readdinitgroups): Return value returned by addinitgroupsX.
14506 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14507 (prune_cache): Keep track of timeout value of re-added entries.
14508 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14509 * nscd/nscd.h: Adjust prototypes of readd* functions.
14511 2011-02-04 Roland McGrath <roland@redhat.com>
14513 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14514 (nis_stats): Likewise.
14515 * nis/nis_modify.c (nis_modify): Likewise.
14516 * nis/nis_remove.c (nis_remove): Likewise.
14517 * nis/nis_add.c (nis_add): Likewise.
14519 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14521 * posix/fnmatch_loop.c: Add some consts.
14523 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14525 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14528 * config.make.in (config-cflags-novzeroupper): Define.
14529 * configure.in: Substitute libc_cv_cc_novzeroupper.
14530 * elf/Makefile (AVX-CFLAGS): Define.
14531 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14532 (CFLAGS-tst-auditmod4a.c): Likewise.
14533 (CFLAGS-tst-auditmod4b.c): Likewise.
14534 (CFLAGS-tst-auditmod6b.c): Likewise.
14535 (CFLAGS-tst-auditmod6c.c): Likewise.
14536 (CFLAGS-tst-auditmod7b.c): Likewise.
14537 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14539 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14541 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14542 function to the callback.
14543 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14545 2011-02-02 Andreas Schwab <schwab@redhat.com>
14547 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14550 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14553 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14555 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14557 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14560 * elf/Makefile: Add rules to build and run new test.
14561 * elf/tst-initorder.c: New file.
14562 * elf/tst-initorder.exp: New file.
14563 * elf/tst-initordera1.c: New file.
14564 * elf/tst-initordera2.c: New file.
14565 * elf/tst-initordera3.c: New file.
14566 * elf/tst-initordera4.c: New file.
14567 * elf/tst-initorderb1.c: New file.
14568 * elf/tst-initorderb2.c: New file.
14569 * elf/tst-order-a1.c: New file.
14570 * elf/tst-order-a2.c: New file.
14571 * elf/tst-order-a3.c: New file.
14572 * elf/tst-order-a4.c: New file.
14573 * elf/tst-order-b1.c: New file.
14574 * elf/tst-order-b2.c: New file.
14575 * elf/tst-order-main.c: New file.
14576 New test case by George Gensure <werkt0@gmail.com>.
14578 2010-10-01 Andreas Schwab <schwab@redhat.com>
14580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14581 decoding ACE if AI_CANONIDN.
14583 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14585 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14587 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14589 * version.h (RELEASE): Bump for 2.13 release.
14590 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14592 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14594 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14596 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14597 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14598 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14599 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14600 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14601 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14603 * posix/getconf.c: Update copyright year.
14604 * catgets/gencat.c: Likewise.
14605 * csu/version.c: Likewise.
14606 * debug/catchsegv.sh: Likewise.
14607 * debug/xtrace.sh: Likewise.
14608 * elf/ldconfig.c: Likewise.
14609 * elf/ldd.bash.in: Likewise.
14610 * elf/sprof.c (print_version): Likewise.
14611 * iconv/iconv_prog.c: Likewise.
14612 * iconv/iconvconfig.c: Likewise.
14613 * locale/programs/locale.c: Likewise.
14614 * locale/programs/localedef.c: Likewise.
14615 * malloc/memusage.sh: Likewise.
14616 * malloc/mtrace.pl: Likewise.
14617 * nscd/nscd.c (print_version): Likewise.
14618 * nss/getent.c: Likewise.
14620 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14621 PF_CAIF, and PF_ALG.
14622 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14624 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14626 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14627 (modules-names): Use them.
14628 (ifunc-test-modules, ifunc-pie-tests): Define.
14629 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14630 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14631 (test-extras): Likewise.
14632 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14633 $(compile-command.c).
14634 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14635 (all-built-dso): Define.
14636 (check-textrel.out, check-execstack.out): Depend on it.
14638 * configure.in: Don't override --enable-multi-arch.
14640 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14643 * nscd/hstcache.c (tryagain): Define.
14644 (cache_addhst): Return tryagain not notfound for temporary errors.
14645 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14648 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14651 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14652 to make the syscall.
14653 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14656 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14657 and fall back to matching as normal character if the string ends before
14658 the matching ']' is found. This is what POSIX requires.
14659 * posix/testfnm.c: Adjust test result.
14660 * posix/globtest.sh: Adjust test result. Add new test.
14661 * posix/tst-fnmatch.input: Likewise.
14662 * posix/tst-fnmatch2.c: Add new test.
14664 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14666 * elf/Makefile (check-execstack): Revert last change. Depend on
14668 (check-execstack.h): New target.
14669 (generated): Add check-execstack.h.
14670 * elf/check-execstack.c: Include "check-execstack.h".
14671 (main): Revert last change.
14672 (handle_file): Return zero if GNU_STACK is absent and
14673 DEFAULT_STACK_PERMS doesn't include PF_X.
14675 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14677 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14678 in child fails because the descriptor is already closed.
14679 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14680 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14681 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14684 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14688 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14689 temporary buffer used to handle multi lookups locally.
14690 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14692 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14694 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14697 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14699 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14700 alignment for SSE2.
14702 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14705 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14706 characters. When rounding increased number of integer digits recompute
14708 * stdio-common/tst-grouping.c: New file.
14709 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14711 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14713 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14714 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14716 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14718 * bits/select.h: Likewise.
14720 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14722 * po/ja.po: Update from translation team.
14724 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14727 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14728 implementation just like for lxstat, fxstatat, et al.
14730 2010-12-27 Jim Meyering <meyering@redhat.com>
14733 * posix/regexec.c (build_trtable): Return failure indication upon
14734 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14736 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14739 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14740 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14741 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14742 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14745 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14748 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14749 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14751 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14753 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14754 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14755 script has SORT_BY_INIT_PRIORITY.
14756 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14757 NO_CTORS_DTORS_SECTIONS is defined.
14758 * elf/soinit.c: Likewise.
14759 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14760 NO_CTORS_DTORS_SECTIONS is defined.
14761 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14762 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14763 * sysdeps/sh/init-first.c: Likewise.
14764 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14766 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14768 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14769 always use the slow path.
14771 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14773 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14774 similar rule which adds the sysdep directories to the header search in
14775 order to pick up the correct platform stackinfo.h.
14776 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14777 perform test if it is, otherwise return successfully without testing.
14778 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14779 DEFAULT_STACK_PERMS define in stackinfo.h.
14780 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14781 defined in stackinfo.h.
14782 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14783 DEFAULT_STACK_PERMS defined in stackinfo.h.
14784 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14785 * sysdeps/ia64/stackinfo.h: Likewise.
14786 * sysdeps/s390/stackinfo.h: Likewise.
14787 * sysdeps/sh/stackinfo.h: Likewise.
14788 * sysdeps/sparc/stackinfo.h: Likewise.
14789 * sysdeps/x86_64/stackinfo.h: Likewise.
14790 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14791 PF_X for powerpc64. Retain PF_X for powerpc32.
14793 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14795 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14797 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14798 GETDENTS_64BIT_ALIGNED.
14800 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14802 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14804 2010-12-10 Andreas Schwab <schwab@redhat.com>
14806 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14809 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14810 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14812 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14813 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14815 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14818 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14821 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14823 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14825 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14827 * po/it.po: Update from translation team.
14829 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14831 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14834 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14836 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14838 2010-11-24 Andreas Schwab <schwab@redhat.com>
14840 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14842 (gaih_getanswer_slice): Likewise.
14844 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14846 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14848 2010-05-31 Petr Baudis <pasky@suse.cz>
14851 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14852 silently even in the chroot mode.
14854 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14856 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14857 last patch a bit. Pretty printing
14859 2010-05-31 Petr Baudis <pasky@suse.cz>
14862 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14863 initialization of skip_initgroups_dyn.
14865 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14867 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14868 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14870 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14872 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14874 2010-11-11 Andreas Schwab <schwab@redhat.com>
14876 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14877 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14878 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14879 ($(objpfx)tst-fnmatch-mem): New rule.
14880 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14881 * posix/tst-fnmatch.c (main): Call mtrace.
14883 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14886 Support Intel processor model 6 and model 0x2c.
14888 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14890 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14893 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14896 * string/test-strncasecmp.c (check_result): New function.
14897 (do_one_test): Use it.
14898 (check1): New function.
14899 (test_main): Use it.
14900 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14901 Support strcasecmp and strncasecmp.
14903 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14906 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14907 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14909 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14911 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14913 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14915 * sysdeps/x86_64/multiarch/bzero.S: New file.
14916 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14917 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14918 * sysdeps/x86_64/multiarch/memset.S: New file.
14919 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14920 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14921 Set bit_Prefer_SSE_for_memop for Intel processors.
14922 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14924 (index_Prefer_SSE_for_memop): Define.
14925 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14927 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14929 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14930 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14932 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14935 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14936 (__x86_64_raw_data_cache_size_half): Likewise.
14937 (__x86_64_raw_shared_cache_size): Likewise.
14938 (__x86_64_raw_shared_cache_size_half): Likewise.
14940 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14941 (__x86_64_raw_data_cache_size_half): Likewise.
14942 (__x86_64_raw_shared_cache_size): Likewise.
14943 (__x86_64_raw_shared_cache_size_half): Likewise.
14944 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14945 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14946 and __x86_64_raw_shared_cache_size_half. Round
14947 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14948 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14949 to multiple of 256 bytes.
14951 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14954 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14955 of inacessible symlinks. Verify result of symlink before returning it.
14956 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14957 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14959 2010-10-28 Erich Ritz <erichritz@gmail.com>
14961 * math/math.h (isinf): Fix typo in comment.
14963 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14965 * po/da.po: Update from translation team.
14967 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14969 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14970 is added to the list.
14972 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14973 Ulrich Drepper <drepper@gmail.com>
14975 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14976 the global list here. Move code to...
14977 (_dl_add_to_namespace_list): ...here. New function.
14978 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14979 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14980 * elf/dl-load.c (lose): Don't remove the element from the list.
14981 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14982 (_dl_map_object): Likewise.
14984 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14987 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14988 into all bytes of SSE register.
14989 Patch by Richard Li <richardpku@gmail.com>.
14991 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14994 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14997 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14999 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15000 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15001 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15002 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15007 2010-10-22 Andreas Schwab <schwab@redhat.com>
15009 * include/dlfcn.h (__RTLD_SECURE): Define.
15010 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15011 mode & __RTLD_SECURE instead.
15012 (open_path): Rename preloaded parameter to secure.
15013 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15014 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15015 * elf/dl-deps.c (openaux): Likewise.
15016 * elf/rtld.c (struct map_args): Remove is_preloaded.
15017 (map_doit): Don't use it.
15018 (dl_main): Likewise.
15019 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15020 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15022 2010-09-09 Andreas Schwab <schwab@redhat.com>
15024 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15025 (sysd-rules-targets): Remove duplicates.
15026 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15027 rtld-%.$o dependency.
15029 2010-10-18 Andreas Schwab <schwab@redhat.com>
15031 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15032 _dl_map_object do it.
15034 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15036 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15037 fast fma builtins, define the macros in the C99 standard.
15038 (FP_FAST_FMAF): Likewise.
15039 (FP_FAST_FMAL): Likewise.
15040 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15042 * bits/mathdef.h: Update copyright year.
15043 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15045 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15047 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15048 builtins, define the macros in the C99 standard.
15049 (FP_FAST_FMAF): Likewise.
15050 (FP_FAST_FMAL): Likewise.
15051 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15053 (FP_FAST_FMAF): Likewise.
15055 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15058 * math/libm-test.inc (fma_test): Some new testcases.
15059 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15060 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15061 y and infinite z. Do multiplication by C already in long double.
15062 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15063 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15064 y and infinite z. Do bitwise or of inexact bit into u.d.
15065 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15066 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15067 * sysdeps/i386/fpu/s_fma.S: Removed.
15068 * sysdeps/i386/fpu/s_fmal.S: Removed.
15070 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15073 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15074 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15075 computation is not scheduled after fetestexcept. Fix value
15076 of minimum denormal long double.
15078 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15081 * math/libm-test.inc (fma_test): Add some more tests.
15082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15085 2010-10-15 Andreas Schwab <schwab@redhat.com>
15087 * scripts/data/localplt-s390-linux-gnu.data: New file.
15088 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15090 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15093 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15094 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15096 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15098 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15100 if one of x and y is very large and the other is subnormal.
15101 * sysdeps/s390/fpu/s_fmaf.c: New file.
15102 * sysdeps/s390/fpu/s_fma.c: New file.
15103 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15104 * sysdeps/powerpc/fpu/s_fma.S: New file.
15105 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15106 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15107 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15109 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15112 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15114 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15115 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15116 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15117 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15118 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15119 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15120 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15122 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15125 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15126 * posix/bug-regex31.input: Add test case.
15128 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15130 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15131 * posix/bug-regex31.input: New file.
15134 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15135 (parse_sub_exp): Fix last change, use postorder.
15137 * posix/bug-regex31.c: New file.
15138 * posix/Makefile: Add rules to build and run bug-regex31.
15140 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15143 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15146 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15147 to have entries in sys_siglist.
15150 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15153 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15156 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15157 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15158 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15159 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15160 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15161 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15162 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15163 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15164 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15165 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15166 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15167 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15168 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15169 * math/ftestexcept.c (fetestexcept): Likewise.
15170 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15171 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15172 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15173 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15174 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15175 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15176 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15178 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15181 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15184 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15186 * string/bug-strstr1.c: New file.
15187 * string/Makefile: Add rules to build and run bug-strstr1.
15189 2010-10-05 Eric Blake <eblake@redhat.com>
15192 * string/str-two-way.h (two_way_long_needle): Always clear memory
15193 when skipping input due to the shift table.
15195 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15198 * malloc/mcheck.c: Handle large requests.
15201 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15202 for strncmp and strncasecmp.
15203 * string/stratcliff.c: Add tests for strcmp and strncmp.
15204 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15206 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15208 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15211 2010-09-30 Andreas Jaeger <aj@suse.de>
15213 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15214 (CGROUP_SUPER_MAGIC): Define.
15215 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15216 Handle btrfs and cgroup file systems.
15217 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15220 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15222 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15223 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15225 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15228 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15229 trying to locate the ELF header.
15231 2010-09-27 Andreas Schwab <schwab@redhat.com>
15234 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15235 Mask out sign-bit copies when constructing f_fsid.
15237 2010-09-24 Petr Baudis <pasky@suse.cz>
15239 * debug/stack_chk_fail_local.c: Add missing licence exception.
15240 * debug/warning-nop.c: Likewise.
15242 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15244 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15245 implementing getdents64 using getdents syscall, set d_type if
15246 __ASSUME_GETDENTS32_D_TYPE.
15248 2010-09-16 Andreas Schwab <schwab@redhat.com>
15250 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15251 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15253 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15256 * posix/unistd.h: Undo change of feature selection for ftruncate from
15259 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15261 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15264 2010-09-20 Andreas Schwab <schwab@redhat.com>
15266 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15268 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15270 2010-09-14 Andreas Schwab <schwab@redhat.com>
15272 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15273 variables after CHECK_SP call.
15274 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15276 2010-09-13 Andreas Schwab <schwab@redhat.com>
15277 Ulrich Drepper <drepper@redhat.com>
15279 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15280 re-relocationg ld.so.
15281 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15282 _dl_init_paths call.
15283 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15286 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15288 * resolv/res_init.c (__res_vinit): Count the default server we added.
15290 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15291 Ulrich Drepper <drepper@redhat.com>
15294 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15295 (____longjmp_chk): Use %ebx for saving value across system call.
15298 2010-09-06 Andreas Schwab <schwab@redhat.com>
15300 * manual/Makefile: Don't mix pattern rules with normal rules.
15302 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15304 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15306 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15307 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15308 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15309 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15310 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15313 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15316 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15317 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15319 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15321 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15322 * sysdeps/x86_64/addmul_1.S: Likewise.
15323 * sysdeps/x86_64/lshift.S: Likewise.
15324 * sysdeps/x86_64/mul_1.S: Likewise.
15325 * sysdeps/x86_64/rshift.S: Likewise.
15326 * sysdeps/x86_64/sub_n.S: Likewise.
15327 * sysdeps/x86_64/submul_1.S: Likewise.
15329 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15331 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15332 Define __sched_param instead of SCHED_* and sched_param when
15333 <bits/sched.h> is included with __need_schedparam defined.
15334 * bits/sched.h [__need_schedparam]
15335 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15336 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15337 (__defined_schedparam): Define to 1.
15338 (__sched_param): New structure, identical to sched_param.
15339 (__need_schedparam): Undefine.
15341 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15343 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15344 (epoll_create1): Declare.
15346 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15348 2010-08-31 Andreas Schwab <schwab@redhat.com>
15351 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15352 shifting retval into place.
15354 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15356 * nis/rpcsvc/nis.h: Update copyright notice.
15357 * nis/rpcsvc/nis.x: Likewise.
15358 * nis/rpcsvc/nis_callback.h: Likewise.
15359 * nis/rpcsvc/nis_callback.x: Likewise.
15360 * nis/rpcsvc/nis_object.x: Likewise.
15361 * nis/rpcsvc/nis_tags.h: Likewise.
15362 * nis/rpcsvc/yp.h: Likewise.
15363 * nis/rpcsvc/yp.x: Likewise.
15364 * nis/rpcsvc/ypupd.h: Likewise.
15365 * nis/yp_xdr.c: Likewise.
15366 * nis/ypupdate_xdr.c: Likewise.
15368 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15369 mainly the body of pmap_getport. Add parameters to specify timeouts.
15370 (pmap_getport): Use __libc_rpc_getport.
15371 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15372 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15373 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15375 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15380 2010-08-27 Roland McGrath <roland@redhat.com>
15382 * sysdeps/i386/i686/multiarch/Makefile
15383 (CFLAGS-varshift.c): New variable.
15385 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15387 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15388 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15390 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15392 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15394 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15396 * sysdeps/x86_64/strlen.S: Unroll the loop.
15397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15398 strlen-sse2 strlen-sse2-bsf.
15399 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15400 __strlen_no_bsf if bit_Slow_BSF is set.
15401 (__strlen_sse42): Removed.
15402 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15403 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15405 2010-08-25 Roland McGrath <roland@redhat.com>
15407 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15408 * sysdeps/x86_64/multiarch/varshift.c: New file.
15409 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15410 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15411 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15412 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15414 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15416 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15417 strlen-sse2 strlen-sse2-bsf.
15418 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15419 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15420 (__strlen_sse2): Removed.
15421 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15422 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15424 bit_Slow_BSF for Atom.
15425 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15426 (index_Slow_BSF): Define.
15427 (HAS_SLOW_BSF): Define.
15429 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15432 * resolv/res_init.c (__res_vinit): When no server address at all
15433 is given default to loopback.
15435 2010-08-24 Roland McGrath <roland@redhat.com>
15437 * configure.in: Remove config-name.h generation.
15438 * configure: Regenerated.
15439 * config-name.in: File removed.
15440 * scripts/config-uname.sh: New file.
15441 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15442 ($(objdir)config-name.h): New target.
15444 * sunrpc/rpc_parse.h: Avoid nested comment.
15446 2010-08-24 Richard Henderson <rth@redhat.com>
15447 Ulrich Drepper <drepper@redhat.com>
15448 H.J. Lu <hongjiu.lu@intel.com>
15450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15452 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15453 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15454 _mm_alignr_epi8 with _mm_loadu_si128.
15455 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15456 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15457 (__m128i_shift_right): Removed.
15458 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15459 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15460 * sysdeps/x86_64/multiarch/varshift.h: New file.
15461 * sysdeps/x86_64/multiarch/varshift.S: New file.
15463 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15465 * configure.in: Move assembler checks to before sysdep dir checking.
15467 2010-08-20 Petr Baudis <pasky@suse.cz>
15469 * LICENSES: Sync the sunrpc license.
15471 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15473 * sunrpc/auth_des.c: Update copyright notice once again.
15474 * sunrpc/auth_none.c: Likewise.
15475 * sunrpc/auth_unix.c: Likewise.
15476 * sunrpc/authdes_prot.c: Likewise.
15477 * sunrpc/authuxprot.c: Likewise.
15478 * sunrpc/bindrsvprt.c: Likewise.
15479 * sunrpc/clnt_gen.c: Likewise.
15480 * sunrpc/clnt_perr.c: Likewise.
15481 * sunrpc/clnt_raw.c: Likewise.
15482 * sunrpc/clnt_simp.c: Likewise.
15483 * sunrpc/clnt_tcp.c: Likewise.
15484 * sunrpc/clnt_udp.c: Likewise.
15485 * sunrpc/clnt_unix.c: Likewise.
15486 * sunrpc/des_crypt.c: Likewise.
15487 * sunrpc/des_soft.c: Likewise.
15488 * sunrpc/get_myaddr.c: Likewise.
15489 * sunrpc/getrpcport.c: Likewise.
15490 * sunrpc/key_call.c: Likewise.
15491 * sunrpc/key_prot.c: Likewise.
15492 * sunrpc/openchild.c: Likewise.
15493 * sunrpc/pm_getmaps.c: Likewise.
15494 * sunrpc/pm_getport.c: Likewise.
15495 * sunrpc/pmap_clnt.c: Likewise.
15496 * sunrpc/pmap_prot.c: Likewise.
15497 * sunrpc/pmap_prot2.c: Likewise.
15498 * sunrpc/pmap_rmt.c: Likewise.
15499 * sunrpc/rpc/auth.h: Likewise.
15500 * sunrpc/rpc/auth_unix.h: Likewise.
15501 * sunrpc/rpc/clnt.h: Likewise.
15502 * sunrpc/rpc/des_crypt.h: Likewise.
15503 * sunrpc/rpc/key_prot.h: Likewise.
15504 * sunrpc/rpc/netdb.h: Likewise.
15505 * sunrpc/rpc/pmap_clnt.h: Likewise.
15506 * sunrpc/rpc/pmap_prot.h: Likewise.
15507 * sunrpc/rpc/pmap_rmt.h: Likewise.
15508 * sunrpc/rpc/rpc.h: Likewise.
15509 * sunrpc/rpc/rpc_des.h: Likewise.
15510 * sunrpc/rpc/rpc_msg.h: Likewise.
15511 * sunrpc/rpc/svc.h: Likewise.
15512 * sunrpc/rpc/svc_auth.h: Likewise.
15513 * sunrpc/rpc/types.h: Likewise.
15514 * sunrpc/rpc/xdr.h: Likewise.
15515 * sunrpc/rpc_clntout.c: Likewise.
15516 * sunrpc/rpc_cmsg.c: Likewise.
15517 * sunrpc/rpc_common.c: Likewise.
15518 * sunrpc/rpc_cout.c: Likewise.
15519 * sunrpc/rpc_dtable.c: Likewise.
15520 * sunrpc/rpc_hout.c: Likewise.
15521 * sunrpc/rpc_main.c: Likewise.
15522 * sunrpc/rpc_parse.c: Likewise.
15523 * sunrpc/rpc_parse.h: Likewise.
15524 * sunrpc/rpc_prot.c: Likewise.
15525 * sunrpc/rpc_sample.c: Likewise.
15526 * sunrpc/rpc_scan.c: Likewise.
15527 * sunrpc/rpc_scan.h: Likewise.
15528 * sunrpc/rpc_svcout.c: Likewise.
15529 * sunrpc/rpc_tblout.c: Likewise.
15530 * sunrpc/rpc_util.c: Likewise.
15531 * sunrpc/rpc_util.h: Likewise.
15532 * sunrpc/rpcinfo.c: Likewise.
15533 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15534 * sunrpc/rpcsvc/key_prot.x: Likewise.
15535 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15536 * sunrpc/rpcsvc/mount.x: Likewise.
15537 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15538 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15539 * sunrpc/rpcsvc/rex.x: Likewise.
15540 * sunrpc/rpcsvc/rstat.x: Likewise.
15541 * sunrpc/rpcsvc/rusers.x: Likewise.
15542 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15543 * sunrpc/rpcsvc/spray.x: Likewise.
15544 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15545 * sunrpc/rtime.c: Likewise.
15546 * sunrpc/svc.c: Likewise.
15547 * sunrpc/svc_auth.c: Likewise.
15548 * sunrpc/svc_authux.c: Likewise.
15549 * sunrpc/svc_raw.c: Likewise.
15550 * sunrpc/svc_run.c: Likewise.
15551 * sunrpc/svc_simple.c: Likewise.
15552 * sunrpc/svc_tcp.c: Likewise.
15553 * sunrpc/svc_udp.c: Likewise.
15554 * sunrpc/svc_unix.c: Likewise.
15555 * sunrpc/svcauth_des.c: Likewise.
15556 * sunrpc/xcrypt.c: Likewise.
15557 * sunrpc/xdr.c: Likewise.
15558 * sunrpc/xdr_array.c: Likewise.
15559 * sunrpc/xdr_float.c: Likewise.
15560 * sunrpc/xdr_mem.c: Likewise.
15561 * sunrpc/xdr_rec.c: Likewise.
15562 * sunrpc/xdr_ref.c: Likewise.
15563 * sunrpc/xdr_sizeof.c: Likewise.
15564 * sunrpc/xdr_stdio.c: Likewise.
15566 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15569 2010-08-19 Andreas Schwab <schwab@redhat.com>
15571 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15573 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15575 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15576 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15577 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15578 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15579 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15580 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15581 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15582 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15583 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15584 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15585 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15586 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15587 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15588 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15590 2010-07-26 Anton Blanchard <anton@samba.org>
15592 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15593 * malloc/arena.c (heap_trim): Likewise.
15595 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15597 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15599 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15600 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15602 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15604 * sysdeps/i386/elf/Makefile: New file.
15606 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15608 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15609 from fanotify_init.
15610 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15611 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15613 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15615 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15617 * sysdeps/multiarch/strcmp.S: Likewise.
15619 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15621 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15622 strncase_l-nonascii.
15623 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15624 Add strncase_l-ssse3.
15625 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15626 * sysdeps/x86_64/strcmp.S: Likewise.
15627 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15628 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15629 * sysdeps/x86_64/strncase.S: New file.
15630 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15631 * sysdeps/x86_64/strncase_l.S: New file.
15632 * string/Makefile (strop-tests): Add strncasecmp.
15633 * string/test-strncasecmp.c: New file.
15635 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15638 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15639 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15641 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15643 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15645 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15647 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15648 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15649 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15651 2010-05-01 Alan Modra <amodra@gmail.com>
15653 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15654 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15655 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15656 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15657 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15658 tidying. Don't tail-call __sigjmp_save for static lib.
15659 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15661 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15662 (CALL_MCOUNT): Add eh info, and nop after bl.
15663 (TAIL_CALL_SYSCALL_ERROR): New macro.
15664 (PSEUDO_RET): Use it.
15665 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15666 Correct save location of integer regs and cr.
15667 (_dl_profile_resolve): Correct cr save location. Delete nops
15668 after bl when SHARED. Reduce cfi size a little by better
15669 placement of cfi directives.
15670 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15671 make a stack frame. Instead use parm save area as a temp.
15672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15673 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15675 Don't make a stack frame for parent, use parm save area.
15676 Increase child stack frame to 112 bytes. Don't save unused reg,
15677 and adjust reg usage. Set up cfi on error recovery and
15678 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15680 (__makecontext): Add dummy nop after jump to exit.
15681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15682 Use correct parm save area and cr save, reduce stack frame.
15683 Correct cfi for possible PSEUDO_RET frame setup.
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15685 Branch to local label emitted by PSEUDO_RET rather than
15688 2010-08-12 Andreas Schwab <schwab@redhat.com>
15691 * locale/programs/locale.c (print_assignment): New function.
15692 (show_locale_vars): Use it.
15694 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15696 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15698 (struct statfs64): Likewise.
15699 (_STATFS_F_FLAGS): Define.
15700 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15701 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15702 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15703 (ST_VALID): Define locally.
15704 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15705 __statvfs_getflags, use the provided value.
15706 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15707 __ASSUME_STATFS_F_FLAGS.
15709 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15711 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15712 Add sys/fanotify.h.
15713 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15714 fanotify_mask for GLIBC_2.13.
15715 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15716 fanotify_init and fanotify_mark.
15717 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15718 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15720 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15722 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15723 prlimit64 for GLIBC_2.13.
15724 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15726 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15729 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15730 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15731 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15732 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15734 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15737 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15738 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15740 * nss/Makefile: Add rules to build and run tst-nss-test1.
15741 * shlib-versions: Add entry for libnss_test1.
15742 * nss/nss_test1.c: New file.
15743 * nss/tst-nss-test1.c: New file.
15745 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15746 (__nss_configure_lookup): Set appropriate entry in
15747 __nss_configure_lookup to true.
15748 * nss/nsswitch.h: Define enum with indeces of databases in
15749 databases and __nss_database_custom arrays. Declare
15750 __nss_database_custom.
15751 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15752 to avoid using nscd when custom rules are installed.
15753 * nss/getXXbyYY_r.c: Likewise.
15754 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15756 * nss/nss_files/files-parse.c: Whitespace fixes.
15758 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15761 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15762 * posix/fnmatch_loop.c: Likewise.
15764 2010-07-17 Andi Kleen <ak@linux.intel.com>
15766 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15767 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15768 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15769 * Versions.def [GLIBC_2.13]: Add.
15771 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15773 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15774 Also fail if tpwd after pwuid call is NULL.
15776 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15778 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15779 when converting to ms.
15781 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15783 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15784 EOPNOTSUPP errors with ENOTTY.
15785 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15786 EOPNOTSUPP errors with ENOTTY.
15788 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15790 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15791 Add strcasecmp_l-ssse3.
15792 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15794 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15795 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15796 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15798 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15800 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15802 * string/Makefile (strop-tests): Add strcasecmp.
15803 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15804 strcasecmp_l-nonascii.
15805 (gen-as-const-headers): Add locale-defines.sym.
15806 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15807 * sysdeps/x86_64/strcasecmp.S: New file.
15808 * sysdeps/x86_64/strcasecmp_l.S: New file.
15809 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15810 * sysdeps/x86_64/locale-defines.sym: New file.
15811 * string/test-strcasecmp.c: New file.
15813 * string/test-strcasestr.c: Test both ends of the range of characters.
15814 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15816 2010-07-29 Roland McGrath <roland@redhat.com>
15819 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15821 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15823 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15826 2010-07-27 Andreas Schwab <schwab@redhat.com>
15828 * manual/memory.texi (Malloc Tunable Parameters): Document
15831 2010-07-26 Roland McGrath <roland@redhat.com>
15834 * configure.in (-fgnu89-inline check): Set and substitute
15835 gnu89_inline, not libc_cv_gnu89_inline.
15836 * configure: Regenerated.
15837 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15839 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15841 * string/test-strnlen.c: New file.
15842 * string/Makefile (strop-tests): Add strnlen.
15843 * string/tester.c (test_strnlen): Add a few more test cases.
15844 * string/tst-strlen.c: Better error reporting.
15846 * sysdeps/x86_64/strnlen.S: New file.
15848 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15850 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15851 lower-latency instructions.
15853 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15855 * string/test-strcasestr.c: New file.
15856 * string/test-strstr.c: New file.
15857 * string/Makefile (strop-tests): Add strstr and strcasestr.
15858 * string/str-two-way.h: Don't undefine MAX.
15859 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15861 2010-07-21 Andreas Schwab <schwab@redhat.com>
15863 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15864 strcasestr-nonascii.
15865 (CFLAGS-strcasestr-nonascii.c): Define.
15866 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15867 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15868 Remove unused attribute.
15870 2010-07-20 Roland McGrath <roland@redhat.com>
15872 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15873 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15874 ld.so.cache was broken. With it, there is no way to disable dsocaps
15875 like LD_HWCAP_MASK can disable hwcaps.
15877 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15879 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15881 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15883 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15884 call in strcasestr.
15885 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15886 __strcasestr_sse42_nonascii.
15887 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15888 strcasestr-nonascii.c.
15889 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15891 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15893 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15894 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15895 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15896 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15898 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15900 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15903 2010-07-06 Andreas Schwab <schwab@redhat.com>
15906 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15909 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15911 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15912 _PC_PIPE_BUF using F_GETPIPE_SZ.
15914 2010-07-05 Roland McGrath <roland@redhat.com>
15916 * manual/arith.texi (Rounding Functions): Fix rint description
15917 implicit in round description.
15919 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15921 * elf/Makefile: Fix linking for a few tests to make recent linker
15924 2010-06-30 Andreas Schwab <schwab@redhat.com>
15926 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15927 $(common-objpfx)libc_nonshared.a.
15929 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15931 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15932 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15933 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15934 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15935 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15936 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15937 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15938 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15953 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15954 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15955 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15956 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15957 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15958 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15959 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15960 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15961 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15962 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15963 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15964 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15980 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15982 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15983 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15984 * string/memmove.c (memmove): Renamed to ...
15985 (MEMMOVE): ...this. Default to memmove.
15986 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15987 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15990 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15991 mempcpy-ssse3-back memmove-ssse3-back.
15992 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15993 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15994 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15995 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15996 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15997 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15998 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15999 * sysdeps/x86_64/multiarch/memmove.c: New file.
16000 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16001 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16002 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16003 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16004 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16005 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16007 (index_Fast_Copy_Backward): Define.
16008 (HAS_ARCH_FEATURE): Define.
16009 (HAS_FAST_REP_STRING): Define.
16010 (HAS_FAST_COPY_BACKWARD): Define.
16012 2010-06-21 Andreas Schwab <schwab@redhat.com>
16014 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16015 Restore proper fallback handling.
16017 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16020 * posix/group_member.c (__group_member): Correct checking loop.
16022 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16023 OOM in getpwuid_r correctly. Return error number when the caller
16024 should return, otherwise -1.
16025 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16026 call returning > 0 value.
16027 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16029 2010-06-07 Andreas Schwab <schwab@redhat.com>
16031 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16032 libc_nonshared.a from targets in modules-names.
16034 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16036 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16039 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16041 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16042 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16043 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16044 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16046 2010-06-02 Andreas Schwab <schwab@redhat.com>
16048 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16050 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16052 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16054 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16055 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16056 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16058 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16059 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16061 2010-06-14 Roland McGrath <roland@redhat.com>
16063 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16065 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16067 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16068 __REDIRECT followed by __THROW.
16069 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16070 * posix/getopt.h (getopt): Likewise.
16072 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16074 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16075 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16076 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16078 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16079 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16081 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16083 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16085 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16089 Properly check family and model.
16091 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16093 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16095 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16097 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16099 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16101 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16104 2010-05-19 Andreas Schwab <schwab@redhat.com>
16106 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16109 2010-05-21 Andreas Schwab <schwab@redhat.com>
16111 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16112 and internal_recvmmsg.
16113 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16114 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16115 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16116 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16118 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16119 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16120 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16122 2010-05-20 Andreas Schwab <schwab@redhat.com>
16124 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16126 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16128 POWER7 optimizations.
16129 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16130 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16132 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16134 * version.h: Update for 2.13 development version.
16136 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16138 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16139 exceptions. Return 0.
16141 2010-05-07 Roland McGrath <roland@redhat.com>
16143 * elf/ldconfig.c (main): Add a const.
16145 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16147 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16148 (args_options): Add no-idn option.
16149 (ahosts_keys_int): Add idn_flags to ai_flags.
16150 (parse_option): Handle 'i' option to clear idn_flags.
16152 * malloc/malloc.c (_int_free): Possible race in the most recently
16153 added check. Only act on the data if no current modification
16156 See ChangeLog.17 for earlier changes.