1 2012-05-31 David S. Miller <davem@davemloft.net>
3 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
6 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
8 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
12 * elf/dl-reloc.c: Include <_itoa.h>.
13 (_dl_reloc_bad_type): Remove use of INTUSE.
14 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16 * stdio-common/psiginfo.c (psiginfo): Likewise.
17 * stdio-common/psignal.c (psignal): Likewise.
18 * string/strsignal.c (strsignal): Likewise.
19 * include/signal.h (_sys_siglist): Declare hidden proto.
20 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
21 INTVARDEF with libc_hidden_data_def.
22 * stdio-common/itoa-udigits.c: Likewise.
23 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24 (_itoa_lower_digits_internal): Remove declaration.
25 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27 (_sys_sigabbrev_internal): Remove aliases.
28 (_sys_siglist): Define hidden alias.
30 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
32 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
46 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
48 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
52 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
60 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
61 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
64 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
66 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
67 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
68 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
71 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
72 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
75 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
77 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
78 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
79 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
81 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
82 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
84 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
86 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
87 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
88 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
90 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
92 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
94 2012-05-31 Joseph Myers <joseph@codesourcery.com>
96 * math/math.h (M_El): Use two more decimal places.
98 (M_LOG10El): Likewise.
106 (M_2_SQRTPIl): Likewise.
107 (M_SQRT2l): Likewise.
108 (M_SQRT1_2l): Likewise.
110 2012-05-31 David S. Miller <davem@davemloft.net>
112 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
113 values between float registers.
114 * sysdeps/sparc/sparc64/memset.S: Likewise.
115 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
117 2012-05-31 Mike Frysinger <vapier@gentoo.org>
119 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
121 (CPPFLAGS-tst-longjmp_chk.c): Define.
122 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
123 (CPPFLAGS-tst-longjmp_chk2.c): Define.
124 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
125 CFLAGS-tst-wchar-h.c.
127 2012-05-31 Marek Polacek <polacek@redhat.com>
130 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
131 __endmntent_internal): Remove declaration.
132 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
133 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
134 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
136 2012-05-30 David S. Miller <davem@davemloft.net>
138 * sysdeps/sparc/sparc32/soft-fp/q_util.c
139 (___Q_simulate_exceptions): Use real FP ops rather than writing
141 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
144 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
147 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
148 * sysdeps/x86/bits/xtitypes.h: This.
150 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
151 * sysdeps/x86/bits/wordsize.h: This.
153 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
154 * sysdeps/x86/bits/huge_vall.h: This.
156 * sysdeps/i386/bits/select.h: Removed.
157 * sysdeps/x86_64/bits/select.h: Renamed to ...
158 * sysdeps/x86/bits/select.h: This.
160 * sysdeps/i386/bits/setjmp.h: Removed.
161 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
162 * sysdeps/x86/bits/setjmp.h: This.
164 * sysdeps/i386/bits/mathdef.h: Removed.
165 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
166 * sysdeps/x86/bits/mathdef.h: This.
168 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
171 * include/sys/socket.h (__connect_internal)
172 (__libc_sa_len_internal): Remove declaration.
173 (__connect, __libc_sa_len): Declare hidden_proto.
174 (SA_LEN): Remove use of INTUSE.
175 * socket/connect.c: Add libc_hidden_def.
176 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
177 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
178 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
180 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
181 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
182 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
183 of adding _internal alias.
185 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
188 * sysdeps/i386/bits/link.h: Removed.
189 * sysdeps/i386/bits/linkmap.h: Likewise.
190 * sysdeps/x86_64/bits/link.h: Renamed to ...
191 * sysdeps/x86/bits/link.h: This.
192 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
193 * sysdeps/x86/bits/linkmap.h: This.
195 * sysdeps/i386/bits/endian.h: Removed.
196 * sysdeps/x86_64/bits/endian.h: Renamed to ...
197 * sysdeps/x86/bits/endian.h: This.
199 * sysdeps/i386/bits/byteswap.h: Removed.
200 * sysdeps/i386/bits/byteswap-16.h: Likewise.
201 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
202 * sysdeps/x86/bits/byteswap.h: This.
203 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
204 * sysdeps/x86/bits/byteswap-16.h: This.
205 * sysdeps/i386/Implies: Add x86.
206 * sysdeps/x86_64/Implies: Likewise.
208 2012-05-30 David S. Miller <davem@davemloft.net>
210 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
211 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
212 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
213 (FP_TRAPPING_EXCEPTIONS): Define.
214 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
215 (FP_TRAPPING_EXCEPTIONS): Define.
216 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
217 subnormals only when inexact has been signalled or underflow
218 exceptions are enabled.
219 (_FP_PACK_CANONICAL): Likewise.
221 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
224 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
225 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
227 2012-05-30 Richard Henderson <rth@twiddle.net>
229 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
230 with #ifndef NOT_IN_libc.
232 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
233 marked to avoid plt entry.
235 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
238 * Makeconfig (default-abi): New macro.
239 (abi-includes): Likewise.
240 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
241 $(abi-$(default-abi)-lib-soname) for soname if defined.
242 ($(common-objpfx)gnu/lib-names.stmp): Generate from
244 * Makefile (installed-stubs): Likewise.
245 * include/stubs-biarch.h: Removed.
246 * scripts/lib-names.awk: Only handle one library at a time.
247 * scripts/soversions.awk: Remove WORDSIZE support.
248 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
250 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
252 (syscall-list-default-condition): Likewise.
253 (syscall-list-default-condition): Likewise.
254 (syscall-list-includes): Likewise.
255 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
256 syscall-list-* with abi-*. Handle undefined abi-variants.
257 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
258 * sysdeps/unix/sysv/linux/i386/Implies: New file.
259 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
260 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
261 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
262 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
264 (syscall-list-32-options): Likewise.
265 (syscall-list-32-condition): Likewise.
266 (syscall-list-64-options): Likewise.
267 (syscall-list-64-condition): Likewise.
268 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
270 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
273 (abi-64-ld-soname): New macro.
274 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
275 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
278 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
279 * sysdeps/x86_64/x32/shlib-versions: Likewise.
281 2012-05-30 Joseph Myers <joseph@codesourcery.com>
283 * sysdeps/unix/sysv/linux/kernel-features.h
284 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
285 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
286 include <kernel-features.h>.
287 [!__NR_ftruncate64]: Remove conditional code.
288 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
289 [__NR_ftruncate64]: Make code unconditional.
290 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
291 * sysdeps/unix/sysv/linux/truncate64.c: Do not
292 include <kernel-features.h>.
293 [!__NR_ftruncate64]: Remove conditional code.
294 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
295 [__NR_ftruncate64]: Make code unconditional.
296 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
298 include <kernel-features.h>.
299 [!__NR_ftruncate64]: Remove conditional code.
300 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
301 [__NR_ftruncate64]: Make code unconditional.
302 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
304 include <kernel-features.h>.
305 [!__NR_ftruncate64]: Remove conditional code.
306 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
307 [__NR_ftruncate64]: Make code unconditional.
308 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
310 * configure.in (libc_cv_fpie): Weaken to a compile test using
312 * configure: Regenerated.
314 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
329 2012-05-27 David S. Miller <davem@davemloft.net>
331 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
333 (__Q_simulate_exceptions): Return void. Change to simulate
334 exceptions by writing into the %fsr.
335 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
336 (__Qp_handle_exceptions): Likewise.
338 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
339 __Qp_handle_exceptions.
340 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
341 __Qp_handle_exceptions.
342 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
343 as unused and give dummy FP_RND_NEAREST initializer.
344 (FP_INHIBIT_RESULTS): Define.
345 (___Q_simulate_exceptions): Update declaration.
346 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
348 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
349 as unused and give dummy FP_RND_NEAREST initializer.
350 (__Qp_handle_exceptions): Update declaration.
351 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
354 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
356 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
357 the temporary FPU control word.
358 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
359 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
360 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
361 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
362 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
363 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
364 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
365 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
366 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
367 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
368 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
370 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
372 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
375 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
377 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
378 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
379 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
380 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
382 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
383 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
386 2012-05-27 Ulrich Drepper <drepper@gmail.com>
388 * po/h.po: Update from translation team.
390 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
392 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
394 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
395 handling of denormals.
396 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
397 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
398 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
399 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
401 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
402 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
405 2012-05-26 Marek Polacek <polacek@redhat.com>
408 * math/libm-test.inc (fma_test): Don't always expect underflow
411 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
414 * elf/tst-execstack.c: Include stackinfo.h.
415 (do_test): Adjust test case to ensure that pthread_getattr_np
416 behaviour remains the same after marking stack executable.
418 2012-05-25 Joseph Myers <joseph@codesourcery.com>
420 * sysdeps/unix/sysv/linux/kernel-features.h
421 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
422 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
424 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
425 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
426 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
428 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
429 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
431 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
433 * configure.in: Define the default includes to being none.
434 * configure: Regenerated.
436 2012-05-25 Roland McGrath <roland@hack.frob.com>
438 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
439 * sysdeps/x86_64/setjmp.S: Likewise.
440 * sysdeps/i386/bsd-setjmp.S: Likewise.
441 * sysdeps/i386/bsd-_setjmp.S: Likewise.
442 * sysdeps/i386/setjmp.S: Likewise.
443 * sysdeps/i386/__longjmp.S: Likewise.
444 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
445 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
447 * include/stap-probe.h: New file.
448 * configure.in: Handle --enable-systemtap.
449 * configure: Regenerated.
450 * config.h.in (USE_STAP_PROBE): New #undef.
451 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
452 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
453 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
455 2012-05-25 Joseph Myers <joseph@codesourcery.com>
458 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
459 to 2.4.0 where earlier.
460 * sysdeps/unix/sysv/linux/configure: Regenerated.
461 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
463 [__ASSUME_32BITUIDS]: Make code unconditional.
464 [!__ASSUME_32BITUIDS]: Remove conditional code.
465 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
467 [__ASSUME_32BITUIDS]: Make code unconditional.
468 [!__ASSUME_32BITUIDS]: Remove conditional code.
469 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
470 [__ASSUME_32BITUIDS]: Make code unconditional.
471 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
472 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
474 [__ASSUME_32BITUIDS]: Make code unconditional.
475 [!__ASSUME_32BITUIDS]: Remove conditional code.
476 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
478 [__ASSUME_32BITUIDS]: Make code unconditional.
479 [!__ASSUME_32BITUIDS]: Remove conditional code.
480 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
482 [__ASSUME_32BITUIDS]: Make code unconditional.
483 [!__ASSUME_32BITUIDS]: Remove conditional code.
484 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
486 [__ASSUME_32BITUIDS]: Make code unconditional.
487 [!__ASSUME_32BITUIDS]: Remove conditional code.
488 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
490 [__ASSUME_32BITUIDS]: Make code unconditional.
491 [!__ASSUME_32BITUIDS]: Remove conditional code.
492 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
494 [__ASSUME_32BITUIDS]: Make code unconditional.
495 [!__ASSUME_32BITUIDS]: Remove conditional code.
496 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
498 [__ASSUME_32BITUIDS]: Make code unconditional.
499 [!__ASSUME_32BITUIDS]: Remove conditional code.
500 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
502 [__ASSUME_32BITUIDS]: Make code unconditional.
503 [!__ASSUME_32BITUIDS]: Remove conditional code.
504 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
506 [__ASSUME_32BITUIDS]: Make code unconditional.
507 [!__ASSUME_32BITUIDS]: Remove conditional code.
508 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
510 [__ASSUME_32BITUIDS]: Make code unconditional.
511 [!__ASSUME_32BITUIDS]: Remove conditional code.
512 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
514 [__NR_setresgid] (__setresgid): Do not declare.
515 [__ASSUME_32BITUIDS]: Make code unconditional.
516 [!__ASSUME_32BITUIDS]: Remove conditional code.
517 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
519 [__NR_setresuid] (__setresuid): Do not declare.
520 [__ASSUME_32BITUIDS]: Make code unconditional.
521 [!__ASSUME_32BITUIDS]: Remove conditional code.
522 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
524 [__ASSUME_32BITUIDS]: Make code unconditional.
525 [!__ASSUME_32BITUIDS]: Remove conditional code.
526 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
528 [__ASSUME_32BITUIDS]: Make code unconditional.
529 [!__ASSUME_32BITUIDS]: Remove conditional code.
530 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
532 [__ASSUME_32BITUIDS]: Make code unconditional.
533 [!__ASSUME_32BITUIDS]: Remove conditional code.
534 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
536 [__ASSUME_32BITUIDS]: Make code unconditional.
537 [!__ASSUME_32BITUIDS]: Remove conditional code.
538 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
540 [__ASSUME_32BITUIDS]: Make code unconditional.
541 [!__ASSUME_32BITUIDS]: Remove conditional code.
542 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
544 [__ASSUME_32BITUIDS]: Make code unconditional.
545 [!__ASSUME_32BITUIDS]: Remove conditional code.
546 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
548 [__ASSUME_32BITUIDS]: Make code unconditional.
549 [!__ASSUME_32BITUIDS]: Remove conditional code.
550 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
552 [__ASSUME_32BITUIDS]: Make code unconditional.
553 [!__ASSUME_32BITUIDS]: Remove conditional code.
554 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
556 [__ASSUME_32BITUIDS]: Make code unconditional.
557 [!__ASSUME_32BITUIDS]: Remove conditional code.
558 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
560 [__ASSUME_32BITUIDS]: Make code unconditional.
561 [!__ASSUME_32BITUIDS]: Remove conditional code.
562 * sysdeps/unix/sysv/linux/kernel-features.h
563 (__ASSUME_SETRESUID_SYSCALL): Remove.
564 (__ASSUME_SETRESGID_SYSCALL): Likewise.
565 (__ASSUME_32BITUIDS): Likewise.
566 (__ASSUME_LDT_WORKS): Likewise.
567 (__ASSUME_O_DIRECTORY): Likewise.
568 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
569 architecture but not kernel version.
570 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
571 (__ASSUME_MMAP2_SYSCALL): Likewise.
572 (__ASSUME_STAT64_SYSCALL): Likewise.
573 (__ASSUME_IPC64): Likewise.
574 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
576 [__ASSUME_32BITUIDS]: Make code unconditional.
577 [!__ASSUME_32BITUIDS]: Remove conditional code.
578 * sysdeps/unix/sysv/linux/opendir.c: Do not include
580 [__ASSUME_O_DIRECTORY]: Make code unconditional.
581 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
582 132096]: Remove conditional code.
583 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
584 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
586 [__ASSUME_32BITUIDS]: Make code unconditional.
587 [!__ASSUME_32BITUIDS]: Remove conditional code.
588 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
590 [__ASSUME_32BITUIDS]: Make code unconditional.
591 [!__ASSUME_32BITUIDS]: Remove conditional code.
592 * sysdeps/unix/sysv/linux/setegid.c: Do not include
594 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
596 (__setresgid): Do not declare.
597 [__ASSUME_32BITUIDS]: Make code unconditional.
598 [!__ASSUME_32BITUIDS]: Remove conditional code.
599 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
601 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
603 (__setresuid): Do not declare.
604 [__ASSUME_32BITUIDS]: Make code unconditional.
605 [!__ASSUME_32BITUIDS]: Remove conditional code.
606 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
608 [__ASSUME_32BITUIDS]: Make code unconditional.
609 [!__ASSUME_32BITUIDS]: Remove conditional code.
610 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
612 [__ASSUME_32BITUIDS]: Make code unconditional.
613 [!__ASSUME_32BITUIDS]: Remove conditional code.
615 2012-05-25 Richard Henderson <rth@twiddle.net>
617 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
618 dl_hwcap to ifunc resolver.
619 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
621 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
622 dl_hwcap to ifunc resolver.
623 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
625 2012-05-24 Joseph Myers <joseph@codesourcery.com>
628 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
629 for |x| <= 2**-26, not 2**-57.
630 * math/libm-test.inc (acos_test): Do not allow spurious underflow
633 2012-05-24 Jeff Law <law@redhat.com>
635 * stdio-common/Makefile (tests): Add bug25.
636 * stdio-common/bug25.c: New test.
638 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
641 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
642 multiple of MALLOC_ALIGNMENT in size.
643 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
645 2012-05-24 Joseph Myers <joseph@codesourcery.com>
647 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
649 (FILENAME_MAX): Use macro-int-constant.
650 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
651 (_IOFBF): Use macro-int-constant.
654 (SEEK_CUR): Likewise.
655 (SEEK_END): Likewise.
656 (SEEK_SET): Likewise.
658 (EOF): Use macro-int-constant. Require < 0.
659 (NULL): Use macro-constant. Require == 0.
660 (stdin): Require type to be FILE *.
663 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
665 (EXIT_SUCCESS): Likewise.
666 (NULL): Use macro-constant. Require == 0.
667 (RAND_MAX): Use macro-int-constant.
668 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
669 [C99-based standards] (strtof): Require function.
670 [C99-based standards] (strtold): Likewise.
671 [C99-based standards] (strtoll): Likewise.
672 [C99-based standards] (strtoull): Likewise.
673 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
674 [ISO || ISO99 || ISO11] (limits.h): Likewise.
675 [ISO || ISO99 || ISO11] (math.h): Likewise.
676 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
677 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
680 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
683 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
684 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
685 * intl/dgettext.c (DCGETTEXT): Likewise.
686 * intl/gettext.c (DCGETTEXT): Likewise.
687 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
688 * posix/regex_internal.h (gettext): Likewise.
689 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
691 * include/argz.h (__argz_count_internal)
692 (__argz_stringify_internal): Remove declaration.
693 (__argz_count, __argz_stringify): Declare hidden proto.
694 * intl/dcgettext.c: Remove use of INTDEF.
695 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
696 * string/argz-stringify.c: Likewise.
697 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
698 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
699 Declare hidden proto.
700 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
701 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
702 Declare hidden proto.
703 * include/stdio.h (__asprintf_internal): Don't declare.
704 (__asprintf): Don't define as macro. Declare hidden proto.
705 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
706 (__fsetlocking): Declare hidden proto.
707 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
708 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
710 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
711 (_IO_setlinebuf): Remove use of INTUSE.
712 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
713 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
714 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
716 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
717 (_IO_do_flush): Remove use of INTUSE.
718 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
719 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
720 (_IO_adjust_column, _IO_least_wmarker)
721 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
722 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
723 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
724 (_IO_default_doallocate, _IO_wdefault_doallocate)
725 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
726 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
727 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
728 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
729 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
730 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
731 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
732 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
733 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
734 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
735 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
736 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
737 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
739 (_IO_flush_all_internal, _IO_adjust_column_internal)
740 (_IO_default_uflow_internal, _IO_default_finish_internal)
741 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
742 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
743 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
744 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
745 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
746 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
747 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
748 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
749 (_IO_file_close_internal, _IO_file_close_it_internal)
750 (_IO_file_underflow_internal, _IO_file_overflow_internal)
751 (_IO_file_init_internal, _IO_file_attach_internal)
752 (_IO_file_fopen_internal, _IO_file_read_internal)
753 (_IO_file_sync_internal, _IO_file_seek_internal)
754 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
755 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
756 (_IO_str_underflow_internal, _IO_str_overflow_internal)
757 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
758 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
759 (_IO_list_all_internal, _IO_link_in_internal)
760 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
761 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
762 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
763 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
764 (_IO_do_write_internal, _IO_padn_internal)
765 (_IO_getline_info_internal, _IO_getline_internal)
766 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
767 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
768 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
769 (_IO_vfscanf_internal, _IO_vfprintf_internal)
770 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
771 (_IO_init_internal, _IO_un_link_internal): Don't declare.
772 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
773 with libc_hidden_ver, remove use of INTUSE.
774 * libio/genops.c: Likewise.
775 * libio/freopen.c: Likewise.
776 * libio/freopen64.c: Likewise.
777 * libio/iofclose.c: Likewise.
778 * libio/iofdopen.c: Likewise.
779 * libio/iofflush.c: Likewise.
780 * libio/iofflush_u.c: Likewise.
781 * libio/iofgets.c: Likewise.
782 * libio/iofgets_u.c: Likewise.
783 * libio/iofopen.c: Likewise.
784 * libio/iofopncook.c: Likewise.
785 * libio/iofread.c: Likewise.
786 * libio/iofread_u.c: Likewise.
787 * libio/ioftell.c: Likewise.
788 * libio/iofwrite.c: Likewise.
789 * libio/iogetline.c: Likewise.
790 * libio/iogets.c: Likewise.
791 * libio/iogetwline.c: Likewise.
792 * libio/iopadn.c: Likewise.
793 * libio/iopopen.c: Likewise.
794 * libio/ioseekoff.c: Likewise.
795 * libio/ioseekpos.c: Likewise.
796 * libio/iosetbuffer.c: Likewise.
797 * libio/iosetvbuf.c: Likewise.
798 * libio/ioungetc.c: Likewise.
799 * libio/ioungetwc.c: Likewise.
800 * libio/iovdprintf.c: Likewise.
801 * libio/iovsprintf.c: Likewise.
802 * libio/iovsscanf.c: Likewise.
803 * libio/memstream.c: Likewise.
804 * libio/obprintf.c: Likewise.
805 * libio/oldfileops.c: Likewise.
806 * libio/oldiofclose.c: Likewise.
807 * libio/oldiofdopen.c: Likewise.
808 * libio/oldiofopen.c: Likewise.
809 * libio/oldiopopen.c: Likewise.
810 * libio/oldstdfiles.c: Likewise.
811 * libio/putc.c: Likewise.
812 * libio/setbuf.c: Likewise.
813 * libio/setlinebuf.c: Likewise.
814 * libio/stdfiles.c: Likewise.
815 * libio/strops.c: Likewise.
816 * libio/vasprintf.c: Likewise.
817 * libio/vscanf.c: Likewise.
818 * libio/vsnprintf.c: Likewise.
819 * libio/vswprintf.c: Likewise.
820 * libio/wfiledoalloc.c: Likewise.
821 * libio/wfileops.c: Likewise.
822 * libio/wgenops.c: Likewise.
823 * libio/wmemstream.c: Likewise.
824 * libio/wstrops.c: Likewise.
825 * libio/__fpurge.c: Likewise.
826 * libio/__fsetlocking.c: Likewise.
827 * assert/assert.c: Likewise.
828 * debug/fgets_chk.c: Likewise.
829 * debug/fgets_u_chk.c: Likewise.
830 * debug/fread_chk.c: Likewise.
831 * debug/fread_u_chk.c: Likewise.
832 * debug/gets_chk.c: Likewise.
833 * debug/obprintf_chk.c: Likewise.
834 * debug/vasprintf_chk.c: Likewise.
835 * debug/vdprintf_chk.c: Likewise.
836 * debug/vsnprintf_chk.c: Likewise.
837 * debug/vsprintf_chk.c: Likewise.
838 * malloc/mtrace.c: Likewise.
839 * misc/error.c: Likewise.
840 * misc/syslog.c: Likewise.
841 * stdio-common/asprintf.c: Likewise.
842 * stdio-common/fxprintf.c: Likewise.
843 * stdio-common/getw.c: Likewise.
844 * stdio-common/isoc99_fscanf.c: Likewise.
845 * stdio-common/isoc99_scanf.c: Likewise.
846 * stdio-common/isoc99_vfscanf.c: Likewise.
847 * stdio-common/isoc99_vscanf.c: Likewise.
848 * stdio-common/isoc99_vsscanf.c: Likewise.
849 * stdio-common/printf-prs.c: Likewise.
850 * stdio-common/printf_fp.c: Likewise.
851 * stdio-common/printf_fphex.c: Likewise.
852 * stdio-common/printf_size.c: Likewise.
853 * stdio-common/putw.c: Likewise.
854 * stdio-common/scanf.c: Likewise.
855 * stdio-common/sprintf.c: Likewise.
856 * stdio-common/tmpfile.c: Likewise.
857 * stdio-common/vfprintf.c: Likewise.
858 * stdio-common/vfscanf.c: Likewise.
859 * stdlib/strfmon_l.c: Likewise.
860 * sunrpc/openchild.c: Likewise.
861 * sunrpc/xdr_stdio.c: Likewise.
862 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
863 * sysdeps/mach/hurd/tmpfile.c: Likewise.
865 2012-05-24 Roland McGrath <roland@hack.frob.com>
867 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
869 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
870 in the third column, to generate for the shared library an IFUNC
871 that uses _dl_vdso_vsym.
872 * Makerules (COMPILE.c, compile-stdin.c): New variables.
873 * Makeconfig (object-suffixes-noshared): New variable.
875 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
876 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
877 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
878 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
881 * include/sys/time.h (__gettimeofday): Remove macro.
882 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
883 * time/gettimeofday.c (__gettimeofday): Remove #undef.
885 (__gettimeofday): Add libc_hidden_def.
886 (gettimeofday): Add libc_hidden_weak.
887 * sysdeps/mach/gettimeofday.c: Likewise.
888 * sysdeps/posix/gettimeofday.c: Likewise.
889 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
890 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
891 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
892 (__gettimeofday_internal): Remove strong_alias.
893 (__gettimeofday): Add libc_hidden_def.
894 (gettimeofday): Add libc_hidden_weak.
895 * sysdeps/unix/syscalls.list (gettimeofday):
896 Remove __gettimeofday_internal alias.
898 2012-05-24 Daniel Jacobowitz <drow@false.org>
899 H.J. Lu <hongjiu.lu@intel.com>
902 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
903 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
904 (largebin_index_32_big): New.
905 (largebin_index): Use it for 16-byte alignment.
906 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
907 correction with front_misalign.
909 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
937 * scripts/data/c++-types-x32-linux-gnu.data: New file.
938 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
940 2012-05-24 Joseph Myers <joseph@codesourcery.com>
944 * math/libm-test.inc (exp_test): Add test from bug 14036.
945 (pow_test): Add test from bug 10846.
947 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
949 (special_function): Do not include flags in test name.
950 (parse_args): Likewise.
951 * sysdeps/i386/fpu/libm-test-ulps: Update.
952 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
953 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
954 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
957 * math/gen-libm-test.pl (%beautify): Add entries for underflow
959 * math/libm-test.inc ("Philosophy"): Update comment about
961 (UNDERFLOW_EXCEPTION): New macro.
962 (UNDERFLOW_EXCEPTION_OK): Likewise.
963 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
964 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
965 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
966 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
967 (INVALID_EXCEPTION_OK): Update value.
968 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
969 (OVERFLOW_EXCEPTION_OK): Likewise.
970 (IGNORE_ZERO_INF_SIGN): Likewise.
971 (test_exceptions): Handle underflow exceptions.
972 (acos_test): Update for underflow exception expectations.
973 (cexp_test): Likewise.
974 (clog_test): Likewise.
975 (clog10_test): Likewise.
976 (csqrt_test): Likewise.
977 (ctan_test): Likewise.
978 (ctanh_test): Likewise.
979 (exp_test): Likewise.
980 (exp10_test): Likewise.
981 (exp2_test): Likewise.
982 (expm1_test): Likewise.
983 (fma_test): Likewise.
986 (nexttoward_test): Likewise.
987 (pow_test): Likewise.
988 (scalbn_test): Likewise.
989 (scalbln_test): Likewise.
990 (tan_test): Likewise.
992 * sysdeps/i386/fpu/libm-test-ulps: Update.
993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
995 2012-05-23 David S. Miller <davem@davemloft.net>
997 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
998 (__libc_sigaction): Remove unused local variables.
1000 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1002 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
1004 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
1006 mktime: avoid signed integer overflow
1007 * time/mktime.c (__mktime_internal): Do not mishandle the case
1008 where diff == INT_MIN.
1010 mktime: simplify computation of average
1011 * time/mktime.c (ranged_convert): Use new time_t_avg function
1012 instead of rolling our own (probably-slower) code.
1014 mktime: do not assume signed right shift propagates sign bit
1015 * time/mktime.c (isdst_differ): New static function.
1016 (__mktime_internal): No need to normalize tm_isdst now.
1017 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
1020 mktime: merge another wrapv change from gnulib
1021 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
1022 from some compilers.
1024 mktime: remove incorrect attempt at unusual arithmetics
1025 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
1026 The code didn't really work on such machines anyway.
1027 (TYPE_MINIMUM): Assume two's complement.
1028 (twos_complement_arithmetic): Verify that long_int and time_t
1029 are two's complement (or unsigned, in the latter case).
1031 mktime: check signed shifts on long_int and time_t, too
1032 * time/mktime.c (SHR): Check that shifts work as desired
1033 on the types long_int and time_t too, as SHR is used on
1036 mktime: do not assume 'long' is wide enough
1037 * time/mktime.c (verify): Move decl up.
1038 (long_int): New type.
1039 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1040 to remove assumption in the code that 'long' is wide enough to
1041 store year values. This assumption is not true on x32 and on
1042 some non-glibc platforms.
1044 mktime: merge wrapv change from gnulib
1045 * time/mktime.c (WRAPV): New macro.
1046 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1047 (guess_time_tm, __mktime_internal): Do not assume that signed
1048 integer overflow wraps around; modern compilers generate code
1049 where this assumption is no longer valid.
1051 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1053 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1054 Replace "jmp L(pseudo_end)" with "ret".
1055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1058 2012-05-23 Andreas Jaeger <aj@suse.de>
1060 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1061 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1063 2012-05-23 Andreas Jaeger <aj@suse.de>
1064 Maximilian Attems <max@stro.at>
1066 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1069 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1071 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1072 code so that pseudo_end is just ret and the stack pointer is
1073 correct also for static library in error case.
1075 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1077 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1078 move to syscalls.list.
1079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1084 * manual/install.texi (Running make install): Do not mention Linux
1085 kernel version for which pt_chown is not needed.
1086 (Linux): Do not mention problems with nscd with 2.0 kernels.
1087 * INSTALL: Regenerated.
1089 2012-05-23 Andreas Jaeger <aj@suse.de>
1091 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1092 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1094 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1095 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1096 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1097 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1098 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1099 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1100 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1101 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1102 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1104 * sysdeps/unix/sysv/linux/bits/in.h
1105 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1107 2012-05-22 Roland McGrath <roland@hack.frob.com>
1109 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1110 (PREPARE_VERSION): Just use assert instead, it will be elided
1111 under [NDEBUG] anyway.
1113 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1115 * sysdeps/unix/sysv/linux/Makefile: Include
1116 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1117 (sysdep_routines): Remove sysctl.
1118 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1119 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1120 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1121 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1122 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1124 2012-05-22 Andreas Jaeger <aj@suse.de>
1126 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1127 that pseudo_end is just ret and the stack pointer is correct also
1128 for static library in error case.
1130 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1133 * nss/nsswitch.c (defconfig_entries): New variable.
1134 (__nss_database_lookup): Don't leak defconfig entries.
1135 (nss_parse_service_list): Don't leak on error paths.
1136 (free_database_entries): New function.
1137 (free_defconfig): New function.
1138 (free_mem): Move common code to free_database_entries.
1140 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1142 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1144 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1146 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1147 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1148 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1150 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1151 (INTERNAL_SYSCALL_TYPES): Likewise.
1152 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1153 (LOAD_REGS_TYPES_[1-6]): Likewise.
1154 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1155 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1157 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1159 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1160 copysignl for GLIBC_2_0.
1161 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1162 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1163 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1164 logbl for GLIBC_2_0.
1165 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1166 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1168 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1170 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1171 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1173 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1176 * time/mktime.c: Update copyright years.
1178 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1180 mktime: merge comment-quoting-style change from gnulib
1181 * time/mktime.c: Quote 'like this' in comments.
1182 The GNU coding standards suggest that we no longer quote `like this',
1183 as "`" and "'" are typically rendered asymmetrically nowadays.
1184 The typical gnulib style is to quote 'like this' when quoting
1185 code, and "like this" when quoting English.
1187 * time/mktime.c (compile-command): Add "-I.".
1189 mktime: merge mktime-internal.h change from gnulib
1190 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1192 mktime: merge time_r change from gnulib
1193 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1195 mktime: merge DEBUG change from gnulib
1196 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1197 case system <time.h> has a #define.
1199 mktime: merge <sys/types.h> change from gnulib
1200 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1201 since <time.t> is now guaranteed to define time_t.
1203 mktime: merge HAVE_CONFIG_H change from gnulib
1204 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1206 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1208 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1211 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1213 (struct rusage): Use anonymous union to pad each field to
1216 2012-05-21 David S. Miller <davem@davemloft.net>
1218 * Makefules (o-iterator): Remove .s cases.
1219 (compile-command.s): Delete.
1220 (COMPILE.s): Delete.
1221 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1223 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1225 * configure.in (libc_cv_predef_stack_protector): Only consider
1226 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1227 * configure: Regenerated.
1229 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1231 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1232 New macro. Use R*LP on int and pointer.
1233 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1234 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1235 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1236 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1238 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1239 [__WORDSIZE_TIME64_COMPAT32] instead of
1240 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1241 (struct utmp): Likewise.
1242 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1243 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1245 (__WORDSIZE_TIME64_COMPAT32): This.
1246 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1247 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1248 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1249 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1250 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1251 (__WORDSIZE_TIME64_COMPAT32): New macro.
1253 2012-05-21 Andreas Jaeger <aj@suse.de>
1255 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1256 only if [SHARED]. Add prototype for __wcschr_ia32.
1258 2012-05-21 Roland McGrath <roland@hack.frob.com>
1260 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1261 of %rbp unmolested in the jmp_buf while mangling the low bits.
1262 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1263 unmolested high bits of %rbp while demangling the low bits.
1264 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1266 2012-05-21 Andreas Jaeger <aj@suse.de>
1268 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1269 * sunrpc/svc_simple.c: Use it for registerrpc.
1270 * sunrpc/xcrypt.c: Use it for passwd2des.
1272 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1274 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1276 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1277 Don't define if [__SYSCALL_WORDSIZE != 32].
1278 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1281 2012-05-21 Bruno Haible <bruno@clisp.org>
1282 Andreas Jaeger <aj@suse.de>
1284 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1285 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1286 inptr and inend for must_buffer_ch.
1287 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1288 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1289 * stdio-common/Makefile (tests): Remove bug15.
1290 (bug15-ENV): Remove macro.
1291 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1294 2012-05-19 Andreas Jaeger <aj@suse.de>
1295 Roland McGrath <roland@hack.frob.com>
1297 * manual/contrib.texi: Completely rewritten. It contains now an
1298 alphabetical list of contributors and their contributions.
1300 2012-05-21 Richard Henderson <rth@twiddle.net>
1302 * misc/getauxval.c (__getauxval): Use unsigned long int.
1303 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1304 (getauxval): Use unsigned long int.
1306 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1308 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1310 2012-05-21 Roland McGrath <roland@hack.frob.com>
1312 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1313 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1314 __alignof__ (long double).
1316 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1320 2012-05-20 Richard Henderson <rth@twiddle.net>
1322 * misc/getauxval.c: New file.
1323 * misc/sys/auxv.h: New file.
1324 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1325 (routines): Add getauxval.
1326 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1327 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1328 * elf/dl-sysdep.c (_dl_auxv): Remove.
1329 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1330 * elf/dl-support.c (_dl_auxv): New variable.
1331 (_dl_aux_init): Initialize it.
1332 * manual/startup.texi (Auxiliary Vector): New node.
1333 * sysdeps/generic/bits/hwcap.h: New file.
1334 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1335 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1336 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1337 * sysdeps/sparc/sysdep.h: ... here. Include it.
1338 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1339 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1345 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1346 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1349 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1351 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1355 2012-05-19 David S. Miller <davem@davemloft.net>
1357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1359 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1362 * math/s_ccosh.c: Include <float.h>
1363 (__ccosh): Avoid internal overflow calculating sinh and cosh
1364 values before multiplying by sin and cos values.
1365 * math/s_ccoshf.c: Likewise.
1366 * math/s_ccoshl.c: Likewise.
1367 * math/s_csin.c: Likewise.
1368 * math/s_csinf.c: Likewise.
1369 * math/s_csinl.c: Likewise.
1370 * math/s_csinh.c: Likewise.
1371 * math/s_csinhf.c: Likewise.
1372 * math/s_csinhl.c: Likewise.
1373 * math/libm-test.inc (ccos_test): Add more tests.
1374 (ccosh_test): Likewise.
1375 (csin_test): Likewise.
1376 (csinh_test): Likewise.
1377 * sysdeps/i386/fpu/libm-test-ulps: Update.
1378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1380 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1382 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1383 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1385 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1387 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1389 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1390 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1391 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1392 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1393 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1394 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1395 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1396 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1397 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1398 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1399 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1400 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1401 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1402 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1403 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1404 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1405 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1406 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1407 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1408 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1409 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1410 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1411 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1412 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1413 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1414 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1415 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1416 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1417 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1418 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1419 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1421 2012-05-18 Andreas Jaeger <aj@suse.de>
1423 * csu/.gitignore: Delete.
1425 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1427 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1428 (timex): Use __syscall_slong_t.
1430 2012-05-18 Andreas Jaeger <aj@suse.de>
1431 Carlos O'Donell <carlos_odonell@mentor.com>
1433 * manual/install.texi (Configuring and compiling): Update
1434 description about files modified in the source directory.
1435 * INSTALL: Regenerated.
1437 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1439 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1440 value. Use "or" to set return value to -1.
1441 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1442 negate return value.
1444 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1446 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1447 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1448 failure if the compiler has Graphite support disabled.
1449 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1451 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1452 CFLAGS-memmove.c): Likewise.
1453 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1456 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1458 * sysdeps/x86_64/x32/_itoa.h: New file.
1460 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1461 getdents system call only if kernel and user dirents have the
1462 same d_ino and d_off.
1464 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1465 LLONG_MAX != LONG_MAX.
1466 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1467 (_fitoa_word): Likewise.
1469 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1471 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1472 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1473 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1475 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1476 include <bits/wordsize.h>. Check __x86_64__ instead of
1478 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1479 if __x86_64__ is defined. Use anonymous union on fpstate.
1481 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1484 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1486 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1487 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1488 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1489 Refer to _rtld_local_ro instead of _rtld_global_ro.
1490 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1492 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1494 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1496 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1497 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1498 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1500 * sysdeps/powerpc/powerpc32/dl-machine.c
1501 (__elf_machine_runtime_setup) [PROF]: Don't reference
1504 2012-05-18 Andreas Jaeger <aj@suse.de>
1506 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1507 function only available for GCCs before 3.4 since GCC 3.4
1508 introduced a builtin.
1510 (llrintf): Likewise.
1518 (nearbyint): Likewise.
1519 (nearbyintf): Likewise.
1525 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1527 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1528 on both fields and cast pointer to __syscall_ulong_t.
1530 * bits/types.h (__fsword_t): New type.
1531 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1532 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1533 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1534 (__FSWORD_T_TYPE): Likewise.
1535 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1536 (__FSWORD_T_TYPE): Likewise.
1537 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1538 (__FSWORD_T_TYPE): Likewise.
1539 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1540 (__FSWORD_T_TYPE): Likewise.
1541 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1542 __SWORD_TYPE with __fsword_t.
1543 (statfs64): Likewise.
1545 2012-05-17 David S. Miller <davem@davemloft.net>
1547 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1549 2012-05-17 Andreas Jaeger <aj@suse.de>
1551 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1554 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1556 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1558 2012-05-17 Andreas Jaeger <aj@suse.de>
1560 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1563 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1565 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1567 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1569 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1570 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1572 2012-05-17 Andreas Jaeger <aj@suse.de>
1573 Carlos O'Donell <carlos_odonell@mentor.com>
1576 * sysdeps/x86_64/multiarch/init-arch.h
1577 (bit_YMM_Usable): Rename to...
1578 (bit_AVX_Usable): ... this.
1579 (bit_FMA4_Usable): New macro.
1580 (bit_XMM_state): New macro.
1581 (bit_YMM_state): New macro.
1582 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1583 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1584 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1585 (CPUID_OSXSAVE): New macro.
1586 (CPUID_AVX): New macro.
1587 (CPUID_FMA4): New macro.
1588 (index_YMM_Usable): Rename to...
1589 (index_AVX_Usable): ... this.
1590 (HAS_AVX): Use HAS_ARCH_FEATURE.
1591 (HAS_FMA4): Likewise.
1592 (HAS_YMM_USABLE): Remove.
1593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1594 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1596 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1597 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1598 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1599 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1600 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1602 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1604 * math/libm-test.c: Support platforms without multiple rounding modes.
1605 * math/bug-nextafter.c: Support platforms without FP exceptions.
1606 * math/bug-nexttoward.c: Likewise.
1607 * math/test-fenv.c: Likewise.
1608 * math/test-misc.c: Likewise.
1609 * stdlib/bug-getcontext.c: Likewise.
1611 2012-05-17 Andreas Jaeger <aj@suse.de>
1613 * manual/examples/search.c (critter_cmp): Change signature to
1615 * manual/string.texi (Collation Functions): Likewise.
1617 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1619 * bits/types.h: Fold copyright years.
1620 * bits/typesizes.h: Likewise.
1621 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1622 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1624 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1625 * time/time.h: Likewise.
1627 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1630 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1631 in instead of returning them. Return void.
1632 (__libc_mallinfo): Accumulate over all arenas.
1633 (__malloc_stats): Adjust for change in int_mallinfo interface.
1635 2012-05-16 Roland McGrath <roland@hack.frob.com>
1638 * configure.in (NM): Add AC_CHECK_TOOL for it.
1639 (libc_extra_cflags): New substituted variable.
1640 Check for -fstack-protector being used implicitly.
1641 * configure: Regenerated.
1642 * config.make.in (config-extra-cflags): New variable,
1643 gets @libc_extra_cflags@.
1644 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1647 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1648 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1649 * configure: Regenerated.
1650 * config.make.in (CPPUNDEFS): New substituted variable.
1651 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1652 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1653 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1655 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1657 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1658 (mq_attr): Use __syscall_slong_t.
1660 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1662 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1663 Check __x86_64__ instead of __WORDSIZE.
1664 (_STAT_VER_LINUX): Likewise.
1665 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1666 __syscall_ulong_t and __syscall_slong_t.
1669 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1671 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1673 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1675 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1677 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1679 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1682 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1683 include <bits/wordsize.h>. Check __x86_64__ instead of
1685 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1687 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1689 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1690 include <bits/wordsize.h>. Check __x86_64__ instead of
1692 (user_regs_struct): Use "__extension__ unsigned long long"
1693 instead of "unsigned long" if __x86_64__ is defined.
1694 (user): Likewise. Pad after pointer field if __ILP32__ is
1697 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1699 * configure.in (makeinfo): Require version 4.5 or later. Allow
1701 * configure: Regenerated.
1702 * manual/install.texi (texinfo): Increase version requirement to
1704 * INSTALL: Regenerated.
1706 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1708 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1710 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1712 * sysdeps/x86_64/x32/ffs.c: New file.
1714 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1716 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1717 defined. Use __syscall_ulong_t.
1718 (shminfo): Use __syscall_ulong_t.
1719 (shm_info): Likewise.
1721 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1724 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1726 (msgqnum_t): Use __syscall_ulong_t.
1727 (msglen_t): Likewise.
1728 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1731 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1732 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1734 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1736 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1737 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1739 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1742 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1743 include <bits/wordsize.h>. Check __x86_64__ instead of
1746 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1747 "unsigned long long int" if __x86_64__ is defined.
1748 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1750 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1751 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1752 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1754 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1756 (GET_PC): Cast to uintptr_t first.
1757 (GET_FRAME): Likewise.
1758 (GET_STACK): Likewise.
1760 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1761 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1762 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1763 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1764 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1765 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1766 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1767 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1768 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1769 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1770 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1771 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1772 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1773 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1774 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1775 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1776 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1777 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1778 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1779 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1780 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1781 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1782 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1783 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1784 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1785 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1786 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1787 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1788 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1790 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1792 * Makerules (+depfiles): Also collect depfiles from .oS in
1794 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1795 .oS, $(libnldbl-routines)).
1797 * Makerules (native-compile-mkdep-flags): Define.
1798 * sunrpc/Makefile (extra-objs): Add $(addprefix
1799 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1800 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1801 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1802 calling $(make-target-directory).
1804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1806 * bits/types.h (__snseconds_t): Removed.
1807 * time/time.h (struct timespec): Replace __snseconds_t with
1809 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1810 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1812 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1813 (__SNSECONDS_T_TYPE): Likewise.
1814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1815 (__SNSECONDS_T_TYPE): Likewise.
1816 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1817 (__SNSECONDS_T_TYPE): Likewise.
1819 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1821 * sysdeps/mach/hurd/bits/typesizes.h
1822 (__SYSCALL_SLONG_TYPE): New macro.
1823 (__SYSCALL_ULONG_TYPE): Likewise.
1825 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1827 * bits/types.h (__syscall_slong_t): New type.
1828 (__syscall_ulong_t): Likewise.
1830 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1831 (__SYSCALL_ULONG_TYPE): Likewise.
1832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1833 (__SYSCALL_SLONG_TYPE): Likewise.
1834 (__SYSCALL_ULONG_TYPE): Likewise.
1835 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1836 (__SYSCALL_SLONG_TYPE): Likewise.
1837 (__SYSCALL_ULONG_TYPE): Likewise.
1838 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1839 (__SYSCALL_SLONG_TYPE): Likewise.
1840 (__SYSCALL_ULONG_TYPE): Likewise.
1842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1844 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1845 Add sigaltstack-offsets.sym.
1846 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1847 <sigaltstack-offsets.h>.
1848 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1849 longjmp_msg pointer.
1850 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1851 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1853 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1855 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1857 * elf/stackguard-macros.h: Remove file.
1858 * sysdeps/generic/stackguard-macros.h: New file.
1859 * sysdeps/i386/stackguard-macros.h: Likewise.
1860 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1861 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1862 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1863 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1864 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1865 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1866 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1867 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1868 <elf/stackguard-macros.h>.
1871 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1872 __aligned__ in attribute.
1873 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1874 (gregset_t): Likewise.
1876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1878 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1879 * sysdeps/x86_64/64/Implies-after: Here. New file.
1880 * sysdeps/x86_64/x32/Implies-after: New file.
1882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1884 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1885 and access return value for _dl_profile_fixup. Use R10_LP to
1888 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1890 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1892 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1894 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1895 * sysdeps/x86_64/x32/sysdep.h: New file.
1897 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1899 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1900 * sysdeps/x86_64/setjmp.S: Likewise.
1902 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1904 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1905 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1906 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1907 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1908 remove unused global constant.
1910 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1912 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1913 include of <not-cancel.h>.
1915 2012-05-15 Roland McGrath <roland@hack.frob.com>
1917 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1919 2012-05-15 Jeff Law <law@redhat.com>
1920 Andreas Jaeger <aj@suse.de>
1923 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1925 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1926 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1927 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1928 code changing __hst_map_handle.map.
1930 2012-05-15 Roland McGrath <roland@hack.frob.com>
1932 * configure.in (sysnames): Look for Implies-before and Implies-after
1934 * configure: Regenerated.
1936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1938 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1939 8-byte data alignment with LP_SIZE alignment.
1941 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1943 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1946 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1948 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1950 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1952 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1953 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1954 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1956 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1960 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1961 (stackinfo_sub_sp): Likewise.
1963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1965 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1970 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1975 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1980 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1984 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1985 into R11_LP and load __x86_64_shared_cache_size_half into
1988 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1990 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1993 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1995 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1999 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
2001 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
2002 powerpc32/power7/fpu/s_logb.c via #include.
2003 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
2004 powerpc32/power7/fpu/s_logbf.c via #include.
2005 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
2006 powerpc32/power7/fpu/s_logbl.c via #include.
2008 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2010 * README.libm: Remove file.
2012 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2014 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
2015 count for x32. Use R*_LP and omit operand-size suffix.
2017 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2019 * shlib-versions: Move x86_64-.*-linux.* entries to ...
2020 * sysdeps/x86_64/64/shlib-versions: Here. New file.
2021 * sysdeps/x86_64/x32/shlib-versions: New file.
2023 2012-05-14 Roland McGrath <roland@hack.frob.com>
2025 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
2026 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
2027 Use _dl_fatal_printf instead.
2029 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2031 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2032 set if not set by the user. Do not allow for being unset.
2033 * sysdeps/unix/sysv/linux/configure: Regenerated.
2035 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2037 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2038 the `q' suffix from lea and replace .quad with ASM_ADDR.
2040 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2043 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2045 (PTR_DEMANGLE): Likewise.
2047 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2049 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2051 (ASM_ADDR): Likewise.
2069 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2071 * sysdeps/x86_64/x32/dl-machine.h: New file.
2073 2012-05-14 Andreas Jaeger <aj@suse.de>
2075 * manual/Makefile (subdir): Remove export of subdir.
2076 (all): Remove target.
2077 (.PHONY): Remove all from list.
2078 (mkinstalldirs): Remove.
2079 (.PHONY): Remove installdirs from list.
2080 ($(inst_infodir)/libc.info): Use make-target-directory.
2081 (installdirs): Remove.
2083 (glibc-targets): Remove.
2086 ($(objpfx)stubs ../po/manual.pot): Remove.
2087 ($(objpfx)stamp%): Remove.
2088 (make-target-directory): Remove.
2089 (subdir_install): Remove.
2097 * manual/.gitignore: Remove, it's not needed anymore.
2098 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2100 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2102 (texis): Renamed to $(objpfx)texis.
2103 (texis-path): New, contains path to generated files.
2104 (chapters.%): Use texis-path for complete path, add extra argument
2106 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2107 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2108 (summary,texi, stamp-summary): Use complete path of
2109 files. Generate files in build dir.
2110 (dir-add.texi): Build in build dir.
2111 (libm-err.texi,stamp-libm-err): Likewise.
2112 (version.texi, stamp-version): Likewise.
2113 (.%c.texi): Likewise.
2114 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2115 (mostlyclean): Remove target.
2116 (realclean): Remove target.
2117 (generated): Add new variable with contents from mostlyclean and
2118 realclean, remove entries duplicated in common-mostlyclean, add
2119 stamp-libm-err and stamp-version.
2120 (generated-dirs): Add libc directory.
2121 ($(inst_infodir)/libc.info): Install files from build dir.
2123 * manual/install.texi (Configuring and compiling): Adjust since
2124 the info files are not part of the tar ball anymore.
2126 2012-05-14 Andreas Jaeger <aj@suse.de>
2128 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2131 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2134 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2135 to 2.2.0 where earlier.
2136 * sysdeps/unix/sysv/linux/configure: Regenerated.
2137 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2138 Remove conditional code.
2139 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2140 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2141 Remove conditional code.
2142 [!__NR_lchown]: Likewise.
2143 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2144 [__NR_lchown]: Likewise.
2145 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2146 comment referencing __ASSUME_LCHOWN_SYSCALL.
2147 * sysdeps/unix/sysv/linux/i386/sigaction.c
2148 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2149 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2150 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2151 Remove conditional code.
2152 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2153 (__protocol_available): Remove #if 0 code.
2154 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2156 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2157 * sysdeps/unix/sysv/linux/kernel-features.h
2158 (__ASSUME_GETCWD_SYSCALL): Don't define.
2159 (__ASSUME_REALTIME_SIGNALS): Likewise.
2160 (__ASSUME_PREAD_SYSCALL): Likewise.
2161 (__ASSUME_PWRITE_SYSCALL): Likewise.
2162 (__ASSUME_POLL_SYSCALL): Likewise.
2163 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2164 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2166 (__ASSUME_SIOCGIFNAME): Don't define.
2167 (__ASSUME_MSG_NOSIGNAL): Likewise.
2168 (__ASSUME_SENDFILE): Define unconditionally.
2169 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2170 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2172 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2173 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2174 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2175 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2176 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2177 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2178 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2180 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2183 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2184 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2186 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2189 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2190 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2192 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2195 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2196 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2198 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2201 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2202 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2203 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2204 Remove conditional code.
2205 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2206 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2207 Remove conditional code.
2208 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2209 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2210 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2211 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2212 Remove conditional code.
2213 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2214 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2215 Remove conditional code.
2216 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2217 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2218 Remove conditional code.
2219 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2220 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2221 Remove conditional code.
2222 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2223 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2224 Remove conditional code.
2225 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2226 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2227 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2228 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2229 * sysdeps/unix/sysv/linux/sigaction.c
2230 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2231 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2232 * sysdeps/unix/sysv/linux/sigpending.c
2233 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2234 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2235 * sysdeps/unix/sysv/linux/sigprocmask.c
2236 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2237 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2238 * sysdeps/unix/sysv/linux/sigsuspend.c
2239 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2240 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2241 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2242 (__libc_missing_rt_sigs): Remove.
2243 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2244 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2245 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2246 Remove conditional code.
2247 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2248 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2250 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2251 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2252 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2253 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2255 2012-05-14 Andreas Jaeger <aj@suse.de>
2257 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2258 it's not used in glibc.
2259 (__coshm1): Likewise.
2260 (__acosh1p): Likewise.
2263 * manual/string.texi (Copying and Concatenation): Add missing
2264 variable in concat example.
2265 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2267 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2270 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2271 __builtin_clzl with __builtin_clzll.
2273 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2276 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2279 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2281 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2282 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2283 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2284 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2286 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2288 * NEWS: Update ia64 info.
2290 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2292 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2295 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2297 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2298 * sysdeps/unix/syscalls.list (dup3): Likewise.
2299 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2300 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2302 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2304 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2305 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2307 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2309 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2311 (TLS_IE): Use mov/add instead of movq/addq to load thread
2313 (TLS_GD_PREFIX): New.
2316 2012-05-11 David S. Miller <davem@davemloft.net>
2318 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2319 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2320 (_FPU_SETCW): Likewise.
2322 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2324 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2327 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2330 * iconvdata/gb18030.c: Update tables.
2331 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2332 characters specially.
2333 (BODY for TO_LOOP): Add encoding of missing ranges.
2335 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2338 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2339 * sysdeps/mach/hurd/dup3.c: Likewise.
2340 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2341 * sysdeps/powerpc/memmove.c:: Likewise.
2343 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2345 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2346 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2348 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2350 * elf/elf.h (R_X86_64_RELATIVE64): New.
2351 (R_X86_64_NUM): Updated.
2352 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2353 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2354 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2355 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2356 tst-quad1pie tst-quad2pie
2357 (modules-names): Add tst-quadmod1 tst-quadmod2.
2358 ($(objpfx)tst-quad1): New dependency.
2359 ($(objpfx)tst-quad2): Likewise.
2360 ($(objpfx)tst-quad1pie): Likewise.
2361 ($(objpfx)tst-quad2pie): Likewise.
2362 * sysdeps/x86_64/tst-quad1.c: New file.
2363 * sysdeps/x86_64/tst-quad1pie.c: New file.
2364 * sysdeps/x86_64/tst-quad2.c: Likewise.
2365 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2366 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2367 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2368 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2369 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2371 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2373 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2374 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2375 * streams/stropts.h (t_scalar_t): Define type.
2377 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2378 (_PATH_PRESERVE): Set to "/var/lib".
2379 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2381 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2384 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2385 if __dir_mkfile succeeded.
2387 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2388 checking for _hurd_dtablesize. Unlock it right after having
2389 finished _hurd_dtable allocation.
2391 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2393 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2394 * sysdeps/mach/hurd/configure: Regenerated.
2395 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2396 special-casing to...
2397 * sysdeps/gnu/configure.in: ... this new file.
2398 * sysdeps/unix/sysv/linux/configure: Regenerated.
2399 * sysdeps/gnu/configure: New generated file.
2401 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2402 for Linux: use nsec instead of usec, as well as:
2403 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2404 members of type struct timespec.
2405 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2407 (struct stat64): Likewise.
2408 (_STATBUF_ST_NSEC): New macro.
2409 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2411 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2412 __strtoul_internal rather than strtoul.
2414 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2416 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2419 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2421 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2422 which preserves existing values.
2423 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2425 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2427 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2428 TIMEOUT values. Return EINVAL for NFDS values either negative or
2429 greater than FD_SETSIZE.
2431 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2433 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2434 allocated, call __vm_protect to finish enabling the existing space, and
2435 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2436 allocate the remainder.
2438 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2440 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2441 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2443 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2445 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2446 sysdeps/mach/hurd/readlink.c.
2448 * posix/tst-sysconf.c (posix_options): Only use
2449 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2450 _POSIX_SYNCHRONIZED_IO when they are defined
2451 * sysdeps/mach/hurd/bits/posix_opt.h:
2452 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2453 (_XOPEN_REALTIME): Undefine macro.
2454 (_XOPEN_REALTIME_THREADS): Undefine macro.
2455 (_XOPEN_SHM): Undefine macro.
2456 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2458 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2460 (_POSIX_ASYNC_IO): Undefine macro.
2461 (_POSIX_PRIORITIZED_IO): Undefine macro.
2462 (_POSIX_SPIN_LOCKS): Define macro to -1.
2464 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2465 SA_NODEFER, SA_RESETHAND.
2466 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2467 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2470 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2472 * elf/Makefile (pldd-modules): Define unconditionally.
2474 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2476 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2480 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2481 Return ENOENT when name is empty.
2482 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2484 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2486 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2488 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2490 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2492 Fix mlock in all cases except non-readable pages.
2493 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2494 instead of VM_PROT_ALL as parameter to __vm_wire function.
2496 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2497 (__mkdir): When path is `/', just fail with EEXIST.
2498 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2500 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2502 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2503 <sys/uio.h> (for writev).
2504 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2505 and <sys/param.h> (for MIN).
2507 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2509 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2510 REQUESTED_TIME. Properly set the remaining time and return EINTR
2513 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2515 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2516 Depend on against $(link-rpcuserlibs).
2518 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2520 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2521 (__libc_stack_end): Do not use attribute_relro.
2522 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2523 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2524 to libthread-provided value.
2525 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2528 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2531 * bits/libc-lock.h (__libc_once_get): New macro.
2532 * sysdeps/mach/bits/libc-lock.h: Likewise.
2533 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2534 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2535 instead of using implementation details.
2537 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2538 * libio/freopen.c: Likewise.
2539 * libio/freopen64.c: Likewise.
2540 * misc/syslog.c: Likewise.
2541 * nscd/connections.c: Likewise.
2542 * nscd/netgroupcache.c: Likewise.
2543 * sysdeps/posix/getcwd.c: Likewise.
2545 2012-05-10 Roland McGrath <roland@hack.frob.com>
2547 * math/w_ilogbf.c: Add #include <limits.h>.
2549 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2551 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2552 path instead of returning without unlocking.
2554 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2555 immediate-write ioctls.
2556 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2558 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2560 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2561 __builtin_frame_address instead of making assumptions about the
2562 location of the return address relative to DATA. Force early load of
2564 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2565 __builtin_frame_address.
2568 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2569 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2570 implement dup3 and do some further code clean-ups.
2571 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2572 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2574 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2576 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2578 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2579 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2580 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2581 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2582 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2585 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2586 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2587 when handler == SIG_ERR, not when handler != SIG_ERR.
2589 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2591 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2592 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2595 accept4 for GNU Hurd.
2596 * include/sys/socket.h (__libc_accept4): New prototype.
2597 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2598 to implement __libc_accept4.
2599 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2601 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2603 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2604 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2605 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2608 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2610 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2612 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2614 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2615 assertion on O_CLOEXEC flag.
2616 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2617 * hurd/intern-fd.c: Likewise.
2618 * hurd/port2fd.c: Likewise.
2620 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2623 * bits/in.h (IPV6_PKTINFO): Define new macro.
2624 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2626 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2631 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2632 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2633 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2634 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2635 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2636 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2637 * math/libm-test.inc (logb_test) : Additional logb tests.
2639 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2640 Andreas Jaeger <aj@suse.de>
2642 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2643 * configure: Regenerated.
2644 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2645 * config.make.in (link-obsolete-rpc): New substituted variable.
2646 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2647 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2648 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2649 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2650 so that libc.a contains the symbols.
2651 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2652 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2653 * sunrpc/auth_none.c: Likewise.
2654 * sunrpc/auth_unix.c: Likewise.
2655 * sunrpc/authdes_prot.c: Likewise.
2656 * sunrpc/authuxprot.c: Likewise.
2657 * sunrpc/clnt_gen.c: Likewise.
2658 * sunrpc/clnt_perr.c: Likewise.
2659 * sunrpc/clnt_raw.c: Likewise.
2660 * sunrpc/clnt_simp.c: Likewise.
2661 * sunrpc/clnt_tcp.c: Likewise.
2662 * sunrpc/clnt_udp.c: Likewise.
2663 * sunrpc/clnt_unix.c: Likewise.
2664 * sunrpc/des_crypt.c: Likewise.
2665 * sunrpc/des_soft.c: Likewise.
2666 * sunrpc/get_myaddr.c: Likewise.
2667 * sunrpc/key_call.c: Likewise.
2668 * sunrpc/key_prot.c: Likewise.
2669 * sunrpc/netname.c: Likewise.
2670 * sunrpc/pm_getmaps.c: Likewise.
2671 * sunrpc/pm_getport.c: Likewise.
2672 * sunrpc/pmap_clnt.c: Likewise.
2673 * sunrpc/pmap_prot.c: Likewise.
2674 * sunrpc/pmap_prot2.c: Likewise.
2675 * sunrpc/pmap_rmt.c: Likewise.
2676 * sunrpc/publickey.c: Likewise.
2677 * sunrpc/rpc_cmsg.c: Likewise.
2678 * sunrpc/rpc_common.c: Likewise.
2679 * sunrpc/rpc_dtable.c: Likewise.
2680 * sunrpc/rpc_prot.c: Likewise.
2681 * sunrpc/rpc_thread.c: Likewise.
2682 * sunrpc/rtime.c: Likewise.
2683 * sunrpc/svc.c: Likewise.
2684 * sunrpc/svc_auth.c: Likewise.
2685 * sunrpc/svc_raw.c: Likewise.
2686 * sunrpc/svc_run.c: Likewise.
2687 * sunrpc/svc_tcp.c: Likewise.
2688 * sunrpc/svc_udp.c: Likewise.
2689 * sunrpc/svc_unix.c: Likewise.
2690 * sunrpc/svcauth_des.c: Likewise.
2691 * sunrpc/xcrypt.c: Likewise.
2692 * sunrpc/xdr.c: Likewise.
2693 * sunrpc/xdr_array.c: Likewise.
2694 * sunrpc/xdr_float.c: Likewise.
2695 * sunrpc/xdr_intXX_t.c: Likewise.
2696 * sunrpc/xdr_mem.c: Likewise.
2697 * sunrpc/xdr_rec.c: Likewise.
2698 * sunrpc/xdr_ref.c: Likewise.
2699 * sunrpc/xdr_sizeof.c: Likewise.
2700 * sunrpc/xdr_stdio.c: Likewise.
2702 2012-05-10 Roland McGrath <roland@hack.frob.com>
2704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2705 change. Update copyright years.
2707 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2709 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2711 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2712 Joseph Myers <joseph@codesourcery.com>
2713 Paul Pluzhnikov <ppluzhnikov@google.com>
2716 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2718 [cross-compiling] (extra-libs): Likewise.
2719 [cross-compiling] (extra-libs-others): Likewise.
2720 [cross-compiling] (librpcsvc-routines): Likewise.
2721 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2722 [cross-compiling] (omit-deps): Likewise.
2723 (sunrpc-CPPFLAGS): New variable.
2724 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2725 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2726 (cross-rpcgen-objs): New variable.
2727 (extra-objs): Append $(cross-rpcgen-objs).
2728 ($(cross-rpcgen-objs)): New rule.
2729 ($(objpfx)cross-rpcgen): Likewise.
2730 (rpcgen-cmd): Define to use $(built-program-file). Expand
2732 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2733 ($(objpfx)x%.stmp): Likewise.
2734 * sunrpc/proto.h [IS_IN_build] (_): Define.
2735 [IS_IN_build] (_libc_intl_domainname): Likewise.
2737 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2739 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2740 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2741 and R_X86_64_TPOFF64.
2743 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2745 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2746 sysdeps/unix/sysv/syscalls.list.
2749 * sysdeps/unix/sysv/syscalls.list: Remove file.
2751 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2754 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2755 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2756 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2757 (__LC_IDENTIFICATION): Make these macros useful in #if
2758 expressions, as required by C99.
2760 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2762 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2763 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2766 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2768 * stdlib/longlong.h: Updated from GCC.
2770 2012-05-09 Andreas Jaeger <aj@suse.de>
2772 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2773 default is first entry.
2774 (run_mode): Set type.
2775 (main): Remove informal message about syslog.
2776 (options): Fix typo.
2779 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2782 (llrintf): Likewise.
2786 (nearbyint): Likewise.
2787 (nearbyintf): Likewise.
2789 2012-05-09 Andreas Jaeger <aj@suse.de>
2790 Pedro Alves <palves@redhat.com>
2792 * nscd/nscd.c (run_mode): Use enum.
2793 (main): Cleanup coding style issue.
2795 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2796 Andreas Jaeger <aj@suse.de>
2798 * nscd/nscd.c (go_background): Replaced with...
2799 (run_mode): ... this.
2800 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2801 (options): Add -F --foreground.
2802 (main): Implement it.
2803 (parse_opt): Parse it.
2805 2012-05-09 Andreas Jaeger <aj@suse.de>
2808 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2809 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2810 -Wconversion warning.
2811 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2814 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2816 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2818 (LC_ALL): Use macro-int-constant.
2819 (LC_COLLATE): Likewise.
2820 (LC_CTYPE): Likewise.
2821 (LC_MESSAGES): Likewise.
2822 (LC_MONETARY): Likewise.
2823 (LC_NUMERIC): Likewise.
2824 (LC_TIME): Likewise.
2825 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2826 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2827 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2828 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2830 [C99-based standards] (float_t): Expect type.
2831 [C99-based standards] (double_t): Expect type.
2832 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2834 [C99-based standards] (HUGE_VALL): Likewise.
2835 [C99-based standards] (INFINITY): Likewise.
2836 [C99-based standards] (NAN): Likewise.
2837 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2838 [C99-based standards] (FP_NAN): Likewise.
2839 [C99-based standards] (FP_NORMAL): Likewise.
2840 [C99-based standards] (FP_SUBNORMAL): Likewise.
2841 [C99-based standards] (FP_ZERO): Likewise.
2842 [C99-based standards] (FP_FAST_FMA): Use
2843 optional-macro-int-constant. Specify type. Require == 1.
2844 [C99-based standards] (FP_FAST_FMAF): Likewise.
2845 [C99-based standards] (FP_FAST_FMAL): Likewise.
2846 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2847 [C99-based standards] (FP_ILOGBNAN): Likewise.
2848 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2850 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2851 [C99-based standards] (math_errhandling): Specify type.
2852 [ISO99 || ISO11] (signgam): Do not allow.
2853 [non-C99-based standards] (copysignf): Do not allow.
2854 [non-C99-based standards] (exp2f): Likewise.
2855 [non-C99-based standards] (log2f): Likewise.
2856 [non-C99-based standards] (modff): Allow.
2857 [non-C99-based standards] (erff): Do not allow.
2858 [non-C99-based standards] (erfcf): Likewise.
2859 [non-C99-based standards] (gammaf): Likewise.
2860 [non-C99-based standards] (hypotf): Likewise.
2861 [non-C99-based standards] (j0f): Likewise.
2862 [non-C99-based standards] (j1f): Likewise.
2863 [non-C99-based standards] (jnf): Likewise.
2864 [non-C99-based standards] (lgammaf): Likewise.
2865 [non-C99-based standards] (tgammaf): Likewise.
2866 [non-C99-based standards] (y0f): Likewise.
2867 [non-C99-based standards] (y1f): Likewise.
2868 [non-C99-based standards] (ynf): Likewise.
2869 [non-C99-based standards] (isnanf): Likewise.
2870 [non-C99-based standards] (acoshf): Likewise.
2871 [non-C99-based standards] (asinhf): Likewise.
2872 [non-C99-based standards] (atanhf): Likewise.
2873 [non-C99-based standards] (cbrtf): Likewise.
2874 [non-C99-based standards] (expm1f): Likewise.
2875 [non-C99-based standards] (ilogbf): Likewise.
2876 [non-C99-based standards] (log1pf): Likewise.
2877 [non-C99-based standards] (logbf): Likewise.
2878 [non-C99-based standards] (nextafterf): Likewise.
2879 [non-C99-based standards] (remainderf): Likewise.
2880 [non-C99-based standards] (rintf): Likewise.
2881 [non-C99-based standards] (scalbf): Likewise.
2882 [non-C99-based standards] (copysignl): Likewise.
2883 [non-C99-based standards] (exp2l): Likewise.
2884 [non-C99-based standards] (log2l): Likewise.
2885 [non-C99-based standards] (modfl): Allow.
2886 [non-C99-based standards] (erfl): Do not allow.
2887 [non-C99-based standards] (erfcl): Likewise.
2888 [non-C99-based standards] (gammal): Likewise.
2889 [non-C99-based standards] (hypotl): Likewise.
2890 [non-C99-based standards] (j0l): Likewise.
2891 [non-C99-based standards] (j1l): Likewise.
2892 [non-C99-based standards] (jnl): Likewise.
2893 [non-C99-based standards] (lgammal): Likewise.
2894 [non-C99-based standards] (tgammal): Likewise.
2895 [non-C99-based standards] (y0l): Likewise.
2896 [non-C99-based standards] (y1l): Likewise.
2897 [non-C99-based standards] (ynl): Likewise.
2898 [non-C99-based standards] (isnanl): Likewise.
2899 [non-C99-based standards] (acoshl): Likewise.
2900 [non-C99-based standards] (asinhl): Likewise.
2901 [non-C99-based standards] (atanhl): Likewise.
2902 [non-C99-based standards] (cbrtl): Likewise.
2903 [non-C99-based standards] (expm1l): Likewise.
2904 [non-C99-based standards] (ilogbl): Likewise.
2905 [non-C99-based standards] (log1pl): Likewise.
2906 [non-C99-based standards] (logbl): Likewise.
2907 [non-C99-based standards] (nextafterl): Likewise.
2908 [non-C99-based standards] (remainderl): Likewise.
2909 [non-C99-based standards] (rintl): Likewise.
2910 [non-C99-based standards] (scalbl): Likewise.
2911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2912 [non-C99-based standards] (FP_*): Do not allow.
2913 [C99-based standards] (FP_*): Change to
2914 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2915 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2917 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2918 (SIG_ERR): Likewise.
2919 [X/Open-based standards] (SIG_HOLD): Likewise.
2920 (SIG_IGN): Likewise.
2921 (SIGABRT): Use macro-int-constant. Specify type. Require
2926 (SIGSEGV): Likewise.
2928 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2929 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2930 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2931 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2932 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2933 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2934 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2935 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2936 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2937 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2938 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2939 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2940 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2941 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2942 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2943 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2944 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2945 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2946 [X/Open-based standards] (SIGTRAP): Likewise.
2947 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2948 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2949 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2950 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2951 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2954 2012-05-08 Ian Wienand <ianw@vmware.com>
2957 * time/tzset.c (__tzset_parse_tz): Update default rules for
2958 daylight time changes in the Energy Policy Act of 2005.
2960 2012-05-09 Andreas Jaeger <aj@suse.de>
2963 * elf/ldconfig.c (parse_conf): Change string to make clear that
2964 ldconfig only issued a warning if ld.so.conf does not exist.
2966 2012-05-08 David S. Miller <davem@davemloft.net>
2968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2969 movxtod instead of popping the value on the stack.
2971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2973 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2975 * config.h.in: Add HAVE_ARM_PCS_VFP.
2977 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2980 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2981 checking but the checks are disabled for any reason.
2983 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2985 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2986 and ELF64_R_TYPE with ELFW(R_TYPE).
2988 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2990 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2993 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2994 (settimeofday): Likewise.
2996 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2998 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2999 a struct th_u2 inside the union, and move tu_block/tu_code into
3000 a new th_u3 union of tu_block/tu_code inside of that. Move
3001 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
3002 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
3003 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
3004 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
3005 (th_stuff): Change to th_u1.tu_stuff.
3007 (th_msg): Change to th_u1.th_u2.tu_data.
3009 2012-05-07 David S. Miller <davem@davemloft.net>
3011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3014 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
3015 (SETUP_PIC_REG): Use it.
3016 (SETUP_PIC_REG_LEAF): Use it.
3018 2012-05-07 Joseph Myers <joseph@codesourcery.com>
3022 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3024 (EXPL_FINITE): Likewise.
3026 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3027 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3029 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3031 (EXPL_FINITE): Likewise.
3033 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3034 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3036 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3037 test of -max_value argument for long double.
3038 * sysdeps/i386/fpu/libm-test-ulps: Update.
3039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3041 2012-05-06 David S. Miller <davem@davemloft.net>
3043 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3044 quad soft-float symbols whose references which are compiler
3046 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3048 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3052 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3054 (EXPL_FINITE): Likewise.
3058 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3059 Adjust comments for base varying.
3060 (__expl_finite): Change alias to EXPL_FINITE.
3061 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3063 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3064 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3065 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3066 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3067 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3069 (EXPL_FINITE): Likewise.
3073 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3074 Adjust comments for base varying.
3075 (__expl_finite): Change alias to EXPL_FINITE.
3076 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3078 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3081 * math/libm-test.inc (check_float_internal): Correct ulp
3082 calculation for subnormal expected results.
3084 2012-05-06 Andreas Jaeger <aj@suse.de>
3086 * Makeconfig (+math-flags): New, set to -frounding-math.
3087 (+cflags): Add +math-flags so that all of glibc gets compiled with
3090 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3092 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3094 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3100 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3101 (__ieee754_expl): Allow for and saturate large arguments.
3102 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3103 (u_threshold): Likewise.
3104 (__exp): Call __ieee754_exp before checking for overflow and
3106 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3107 (u_threshold): Likewise.
3108 (__expf): Call __ieee754_expf before checking for overflow and
3110 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3111 (u_threshold): Likewise.
3112 (__expl): Call __ieee754_expl before checking for overflow and
3114 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3115 (__ieee754_expl): Allow for and saturate large arguments.
3116 * math/libm-test.inc (exp_test): Add another test. Do not allow
3117 missing overflow exception on overflow.
3118 (expm1_test): Do not allow missing overflow exception on overflow.
3120 * sysdeps/i386/fpu/e_expl.c: Move to ...
3121 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3122 rather than using inline asm.
3123 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3124 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3125 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3127 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3134 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3136 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3137 sysdeps/unix/common/syscalls.list.
3140 (ftruncate): Likewise.
3141 (getrusage): Likewise.
3142 (gettimeofday): Likewise.
3143 (setpgid): Likewise.
3144 (setregid): Likewise.
3145 (setreuid): Likewise.
3146 (sigaction): Likewise.
3147 (truncate): Likewise.
3148 (vhangup): Likewise.
3149 * sysdeps/unix/common/syscalls.list: Remove file.
3150 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3151 * sysdeps/unix/sysv/linux/Implies: Likewise.
3153 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3155 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3157 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3161 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3164 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3167 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3170 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3173 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3176 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3179 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3183 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3187 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3190 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3194 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3198 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3200 * sysdeps/unix/common/bits/dirent.h: Remove file.
3201 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3203 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3204 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3205 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3206 * sysdeps/unix/bsd/isatty.c: Likewise.
3207 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3208 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3209 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3211 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3214 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3215 long double comparison inaccuracies.
3216 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3219 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3221 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3222 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3224 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3227 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3228 nonzero digits before rounding a hex value.
3229 * stdlib/tst-strtod.c (tests): Add another test.
3231 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3233 * sysdeps/s390/fpu/libm-test-ulps: Update.
3235 2012-05-03 Andreas Jaeger <aj@suse.de>
3237 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3238 does not get optimized out.
3239 (malloc_opt_barrier): New.
3241 2012-05-03 Andreas Jaeger <aj@suse.de>
3242 Roland McGrath <roland@hack.frob.com>
3244 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3245 intermediate file deletion.
3246 (generated): Add .symlist files.
3248 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3251 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3252 Redirect under this condition.
3253 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3254 [__USE_GNU] (__dprintf_chk): Not under this condition.
3255 [__USE_GNU] (__vdprintf_chk): Likewise.
3256 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3257 under this condition.
3258 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3259 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3260 [__USE_XOPEN2K8] (vdprintf): Likewise.
3261 [__USE_GNU] (__dprintf_chk): Not under this condition.
3262 [__USE_GNU] (__vdprintf_chk): Likewise.
3263 [__USE_GNU] (dprintf): Likewise.
3264 [__USE_GNU] (vdprintf): Likewise.
3266 2012-05-03 Roland McGrath <roland@hack.frob.com>
3268 * elf/Makefile (common-generated): Set this instead of generated for
3269 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3270 $(all-built-dso)-derived lists.
3272 2012-05-03 Andreas Jaeger <aj@suse.de>
3274 * sysdeps/i386/fpu/libm-test-ulps: Update.
3278 * scripts/gen-FAQ.pl: Likewise.
3279 * manual/install.texi (Installation): Point to online location of
3281 * Makefile (files-for-dist): Remove FAQ.
3284 2012-05-02 Allan McRae <allan@archlinux.org>
3286 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3287 (LDFLAGS-reldepmod5.so): Likewise.
3288 (LDFLAGS-reldep6mod1.so): Likewise.
3289 (LDFLAGS-reldep6mod4.so): Likewise.
3290 (LDFLAGS-reldep8mod3.so): Likewise.
3291 (LDFLAGS-unload4mod1.so): Likewise.
3292 (LDFLAGS-unload4mod2.so): Likewise.
3293 (LDFLAGS-tst-initorder): Likewise.
3294 (LDFLAGS-tst-initordera2.so): Likewise.
3295 (LDFLAGS-tst-initordera3.so): Likewise.
3296 (LDFLAGS-tst-initordera4.so): Likewise.
3297 (LDFLAGS-tst-initorderb2.so): Likewise.
3298 (LDFLAGS-noload): Likewise.
3299 (LDFLAGS-next): Likewise.
3300 (LDFLAGS-order2mod1.so): Likewise.
3301 (LDFLAGS-order2mod2.so): Likewise.
3302 (LDFLAGS-tst-initorder2): Likewise.
3303 (LDFLAGS-tst-initorder2a.so): Likewise.
3304 (LDFLAGS-tst-initorder2b.so): Likewise.
3305 (LDFLAGS-tst-initorder2c.so): Likewise.
3306 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3308 2012-05-02 David S. Miller <davem@davemloft.net>
3310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3312 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3315 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3317 2012-05-02 Andreas Jaeger <aj@suse.de>
3319 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3320 since we manipulate rounding mode.
3321 (CPPFLAGS-test-idouble.c): Likewise.
3322 (CPPFLAGS-test-ifloat.c): Likewise.
3323 (CFLAGS-test-ldouble.c): Likewise.
3324 (CFLAGS-test-double.c): Likewise.
3325 (CFLAGS-test-float.c): Likewise.
3326 (CFLAGS-test-misc.c): Likewise.
3327 (CFLAGS-test-test-fenv.c): Likewise.
3329 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3333 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3334 comparisons to determine direction to adjust input.
3336 2012-05-01 Roland McGrath <roland@hack.frob.com>
3338 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3339 output to the target.
3341 * scripts/localplt.awk: New file.
3342 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3343 (check-localplt-CFLAGS): Variable removed.
3344 ($(all-built-dso:=.jmprel)): New static pattern rule.
3345 (generated): Add those targets.
3346 (localplt-built-dso): New variable.
3347 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3349 * elf/check-localplt.c: File removed.
3351 * scripts/check-execstack.awk: New file.
3352 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3353 (check-execstack-CFLAGS): Variable removed.
3354 ($(objpfx)check-execstack.h): Target removed.
3355 ($(objpfx)execstack-default): New target.
3356 (generated): Add that instead of check-execstack.h.
3357 ($(all-built-dso:=.phdr)): New static pattern rule.
3358 (generated): Add those targets.
3359 * elf/check-execstack.c: File removed.
3361 * scripts/check-textrel.awk: New file.
3362 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3363 (check-textrel-CFLAGS): Variable removed.
3364 (all-built-dso): Use := to define.o
3365 ($(all-built-dso:=.dyn)): New static pattern rule.
3366 (generated): Add those targets.
3367 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3368 * config.make.in (READELF): New substituted variable.
3369 * elf/check-textrel.c: File removed.
3371 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3373 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3375 * conform/data/ctype.h-data [C99-based standards] (isblank):
3377 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3378 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3379 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3380 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3381 Specify type. Require positive value.
3384 [ISO || POSIX] (EILSEQ): Do not expect.
3385 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3386 Specify type. Require positive value.
3387 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3388 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3389 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3390 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3391 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3392 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3393 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3394 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3395 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3396 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3397 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3398 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3399 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3400 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3401 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3402 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3403 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3404 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3405 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3406 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3407 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3408 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3409 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3410 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3411 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3412 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3413 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3414 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3415 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3416 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3417 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3418 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3419 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3420 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3421 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3422 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3423 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3424 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3425 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3426 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3427 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3428 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3429 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3430 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3431 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3432 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3433 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3434 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3435 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3436 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3437 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3438 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3439 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3440 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3441 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3442 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3443 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3444 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3445 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3446 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3447 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3448 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3449 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3450 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3451 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3452 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3453 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3454 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3455 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3456 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3457 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3458 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3459 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3460 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3461 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3462 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3463 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3465 (FLT_ROUNDS): Expect as macro, not constant.
3466 (FLT_MANT_DIG): Use macro-int-constant.
3467 (DBL_MANT_DIG): Likewise.
3468 (LDBL_MANT_DIG): Likewise.
3469 (FLT_DIG): Likewise.
3470 (DBL_DIG): Likewise.
3471 (LDBL_DIG): Likewise.
3472 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3473 (DBL_MIN_EXP): Likewise.
3474 (LDBL_MIN_EXP): Likewise.
3475 (FLT_MAX_EXP): Use macro-int-constant.
3476 (DBL_MAX_EXP): Likewise.
3477 (LDBL_MAX_EXP): Likewise.
3478 (FLT_MAX_10_EXP): Likewise.
3479 (DBL_MAX_10_EXP): Likewise.
3480 (LDBL_MAX_10_EXP): Likewise.
3481 (FLT_MAX): Use macro-constant.
3482 (DBL_MAX): Likewise.
3483 (LDBL_MAX): Likewise.
3484 (FLT_EPSILON): Use macro-constant. Give upper bound.
3485 (DBL_EPSILON): Likewise.
3486 (LDBL_EPSILON): Likewise.
3487 (FLT_MIN): Likewise.
3488 (DBL_MIN): Likewise.
3489 (LDBL_MIN): Likewise.
3490 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3491 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3492 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3493 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3494 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3495 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3496 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3497 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3498 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3499 [ISO11] (FLT_TRUE_MIN): Likewise.
3500 [ISO11] (LDBL_TRUE_MIN): Likewise.
3501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3502 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3503 (SCHAR_MIN): Use macro-int-constant. Specify type.
3504 (SCHAR_MAX): Likewise.
3505 (UCHAR_MAX): Likewise.
3506 (CHAR_MIN): Likewise.
3507 (CHAR_MAX): Likewise.
3508 (MB_LEN_MAX): Use macro-int-constant.
3509 (SHRT_MIN): Use macro-int-constant. Specify type.
3510 (SHRT_MAX): Likewise.
3511 (USHRT_MAX): Likewise.
3512 (INT_MAX): Likewise.
3513 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3515 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3517 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3519 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3520 bound negative. Suffix upper bound with "L".
3521 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3523 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3525 [C99-based standards] (LLONG_MAX): Likewise.
3526 [C99-based standards] (ULLONG_MAX): Likewise.
3527 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3529 [ISO11] (max_align_t): Require type.
3530 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3532 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3533 from $CFLAGS, without defining away __attribute__ calls.
3534 (checknamespace): Use $CFLAGS_namespace.
3536 * conform/conformtest.pl (@keywords): Only include C99 keywords
3537 for standards based on C99 or C11.
3539 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3541 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3544 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3545 usability of symbols in #if.
3547 * conform/conformtest.pl: If macro or constant types start
3548 "promoted:", expect the symbol to be of the following type
3549 promoted by the integer promotions.
3551 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3552 in one place. Also handle "macro-constant".
3554 * conform/conformtest.pl: Only accept expected macro values with
3555 "==". Parse all "macro" lines in one place.
3556 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3558 * conform/conformtest.pl: Handle braced types on "constant" lines
3559 instead of handling "typed-constant".
3560 * conform/data/signal.h-data: Use "constant" instead of
3563 * conform/conformtest.pl: Handle "optional-" at start of lines in
3564 one place rather than duplicating several cases. Handle each
3565 format of "macro" line with initial "optional-".
3567 * conform/conformtest.pl: Only accept expected constant or
3568 optional-constant values with "==". Parse all "constant" lines in
3569 one place. Parse all "optional-constant" lines in one place.
3570 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3571 * conform/data/fmtmsg.h-data: Likewise.
3572 * conform/data/netinet/in.h-data: Likewise.
3573 * conform/data/tar.h-data: Likewise.
3574 * conform/data/limits.h-data: Use "==" form on "constant" and
3575 "optional-constant" lines.
3577 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3578 Use -std=c99 for XOPEN2K.
3579 (@knownproblems): Remove.
3580 (newtoken): Don't check %isknown.
3582 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3583 Do not expect macro.
3584 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3586 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3587 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3588 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3591 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3592 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3596 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3597 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3614 [XPG3] (acosh): Likewise.
3615 [XPG3] (asinh): Likewise.
3616 [XPG3] (atanh): Likewise.
3617 [XPG3] (cbrt): Likewise.
3618 [XPG3] (expm1): Likewise.
3619 [XPG3] (ilogb): Likewise.
3620 [XPG3] (log1p): Likewise.
3621 [XPG3] (logb): Likewise.
3622 [XPG3] (nextafter): Likewise.
3623 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3624 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3625 [XPG3] (remainder): Likewise.
3626 [XPG3] (rint): Likewise.
3627 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3628 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3629 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3630 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3631 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3632 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3633 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3634 [UNIX98 || XOPEN2K] (scalb): Expect.
3635 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3636 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3637 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3638 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3639 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3640 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3641 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3642 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3643 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3644 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3645 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3646 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3647 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3648 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3649 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3650 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3654 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3655 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3656 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3662 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3663 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3697 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3702 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3703 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3704 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3705 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3706 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3707 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3708 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3709 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3710 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3713 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3714 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3715 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3716 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3717 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3718 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3719 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3720 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3721 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3722 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3723 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3724 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3725 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3726 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3727 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3728 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3729 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3730 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3731 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3732 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3733 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3734 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3735 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3736 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3737 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3738 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3739 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3740 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3741 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3742 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3743 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3744 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3745 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3746 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3747 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3748 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3749 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3750 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3751 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3752 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3753 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3754 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3755 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3756 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3757 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3758 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3759 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3760 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3761 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3762 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3763 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3764 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3765 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3766 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3767 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3768 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3769 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3770 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3771 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3773 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3774 _XOPEN_SOURCE_EXTENDED for XPG4.
3776 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3778 * Makeconfig (localtime): Remove variable.
3779 (inst_localtime-file): Likewise.
3781 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3802 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3806 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3807 comparisons to determine direction to adjust input.
3808 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3809 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3810 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3812 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3814 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3816 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3817 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3819 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3821 * math/libm-test.inc (nexttoward_test): Add more tests.
3823 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3826 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3827 in version GLIBC_2.1, not GLIBC_2.0.
3828 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3831 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3834 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3836 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3837 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3838 * math/libm-test.inc (acos_test): Add more tests.
3839 (asin_test): Likewise.
3840 * sysdeps/i386/fpu/libm-test-ulps: Update.
3841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3844 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3846 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3847 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3848 * math/libm-test.inc (acos_test_tonearest): New function.
3849 (acos_test_towardzero): Likewise.
3850 (acos_test_downward): Likewise.
3851 (acos_test_upward): Likewise.
3852 (asin_test_tonearest): Likewise.
3853 (asin_test_towardzero): Likewise.
3854 (asin_test_downward): Likewise.
3855 (asin_test_upward): Likewise.
3856 (main): Call the new functions.
3857 * sysdeps/i386/fpu/libm-test-ulps: Update.
3858 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3862 * math/e_exp10.c: Include <float.h>.
3863 (__ieee754_exp10): Handle underflow here rather than multiplying
3864 large negative argument by M_LN10.
3865 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3867 * math/e_exp10l.c: Include <float.h>.
3868 (__ieee754_exp10l): Handle underflow here rather than multiplying
3869 large negative argument by M_LN10l.
3870 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3871 spurious overflow exception on underflow.
3873 2012-04-29 Marek Polacek <polacek@redhat.com>
3875 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3876 (__fortify_function): New macro.
3877 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3878 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3879 __extern_always_inline.
3880 * libio/bits/stdio2.h: Likewise.
3881 * libio/bits/stdio.h: Likewise.
3882 * string/string.h: Likewise.
3883 * string/bits/string3.h: Likewise.
3884 * include/stdio.h: Likewise.
3885 * stdlib/bits/stdlib.h: Likewise.
3886 * stdlib/stdlib.h: Likewise.
3887 * rt/bits/mqueue2.h: Likewise.
3888 * rt/mqueue.h: Likewise.
3889 * posix/bits/unistd.h: Likewise.
3890 * posix/unistd.h: Likewise.
3891 * io/bits/poll2.h: Likewise.
3892 * io/bits/fcntl2.h: Likewise.
3893 * io/fcntl.h: Likewise.
3894 * io/sys/poll.h: Likewise.
3895 * misc/bits/syslog.h: Likewise.
3896 * misc/bits/syslog-ldbl.h: Likewise.
3897 * misc/sys/syslog.h: Likewise.
3898 * socket/bits/socket2.h: Likewise.
3899 * socket/sys/socket.h: Likewise.
3900 * debug/tst-chk1.c: Likewise.
3901 * wcsmbs/bits/wchar2.h: Likewise.
3902 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3903 * wcsmbs/wchar.h: Likewise.
3905 2012-04-29 Andreas Jaeger <aj@suse.de>
3907 * Makerules (tests): Remove enable-check-abi protection.
3908 (check-abi-warn): Remove.
3909 (check-abi-%): Remove check-abi-warn usage.
3911 * configure.in: Remove check-abi configure option.
3912 * configure: Regenerated.
3913 * config.make.in (enable-check-abi): Remove.
3915 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3918 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3919 double functions to double *_finite functions.
3922 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3923 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3925 * stdio-common/Makefile (tests): Add tst-sprintf3.
3926 * stdio-common/tst-sprintf3.c: New file.
3928 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3929 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3931 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3933 * conform/conformtest.pl: Remove duplicate typed-constant
3936 2012-04-28 David S. Miller <davem@davemloft.net>
3938 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3939 (check-abi-%): Remove AWK script prerequisite and explicit
3941 (check-abi): Rewrite to just diff the symlist with the abilist.
3942 (config-tls, config-abi-config): Delete, no longer used.
3943 (update-abi-%): Remove AWK script and explicit abilist directory.
3944 (update-abi): Rewrite to simply compare and conditionally copy the
3945 symlist and the sysdep abilist file. Remove update-abi-config
3947 * abilist/ld.abilist: Remove.
3948 * abilist/libBrokenLocale.abilist: Remove.
3949 * abilist/libanl.abilist: Remove.
3950 * abilist/libcrypt.abilist: Remove.
3951 * abilist/libdl.abilist: Remove.
3952 * abilist/librt.abilist: Remove.
3953 * abilist/libthread_db.abilist: Remove.
3954 * abilist/libutil.abilist: Remove.
3955 * scripts/extract-abilist.awk: Remove.
3956 * scripts/merge-abilist.awk: Remove.
3957 * sysdeps/generic/libcidn.abilist: New file.
3958 * sysdeps/generic/libnss_compat.abilist: New file.
3959 * sysdeps/generic/libnss_db.abilist: New file.
3960 * sysdeps/generic/libnss_dns.abilist: New file.
3961 * sysdeps/generic/libnss_files.abilist: New file.
3962 * sysdeps/generic/libnss_hesiod.abilist: New file.
3963 * sysdeps/generic/libnss_nis.abilist: New file.
3964 * sysdeps/generic/libnss_nisplus.abilist: New file.
3965 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3966 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3967 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3969 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3970 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3971 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3972 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3973 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3974 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3975 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3976 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3977 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3979 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3980 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3981 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3982 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3984 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3985 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3986 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3987 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3988 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3989 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3991 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3992 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3993 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3995 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
4000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
4002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
4004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
4006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
4008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
4010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
4012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
4014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
4016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
4018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
4020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
4022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
4024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
4026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
4028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4098 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4099 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4100 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4102 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4103 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4104 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4105 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4106 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4107 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4108 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4109 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4110 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4111 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4163 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4165 * conform/conformtest.pl: Fix typo in handling typed-constant from
4168 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4170 * README: Cut down references to pre-2.6 Linux kernels and
4171 Linuxthreads. Update lists of configurations in libc and ports
4172 and sort alphabetically. Say "or newer" with Linux kernel version
4175 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4177 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4180 * math/libm-test.inc (logb_test_downward): New test to expose
4181 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4184 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4187 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4189 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4190 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4192 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4194 * sysdeps/unix/i386/brk.S: Remove file.
4195 * sysdeps/unix/i386/dl-brk.S: Likewise.
4196 * sysdeps/unix/i386/pipe.S: Likewise.
4197 * sysdeps/unix/i386/sigreturn.S: Likewise.
4198 * sysdeps/unix/i386/syscall.S: Likewise.
4199 * sysdeps/unix/i386/vfork.S: Likewise.
4200 * sysdeps/unix/i386/wait.S: Likewise.
4202 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4203 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4205 * configure.in (arm*-none*): Do not allow without
4206 --enable-hacker-mode.
4207 (netbsd*): Remove case setting base_os.
4208 (386bsd*): Likewise.
4209 (freebsd*): Likewise.
4213 (ultrix*): Likewise.
4214 (newsos*): Likewise.
4224 (solaris[2-9]*): Likewise.
4226 * configure: Regenerated.
4228 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4231 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4232 overflow or cancellation in calculating denominator.
4233 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4234 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4235 down expression to avoid unexpected rounding in newer GCCs.
4236 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4238 2012-04-26 David S. Miller <davem@davemloft.net>
4240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4241 long-double compat symbols.
4242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4256 2012-04-25 David S. Miller <davem@davemloft.net>
4258 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4259 HWCAP_* values only after the memory barriers have been defined.
4260 (atomic_full_barrier): Define.
4261 (atomic_read_barrier): Define.
4262 (atomic_write_barrier): Define.
4264 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4266 * shlib-versions: Add libgcc_s version information.
4267 * sysdeps/generic/libgcc_s.h: Remove.
4268 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4270 * sysdeps/gnu/unwind-resume.c: Likewise.
4271 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4273 2012-04-25 David S. Miller <davem@davemloft.net>
4275 * sysdeps/unix/sparc/brk.S: Delete.
4276 * sysdeps/unix/sparc/dl-brk.S: Delete.
4277 * sysdeps/unix/sparc/pipe.S: Delete.
4278 * sysdeps/unix/sparc/sysdep.S: Delete.
4279 * sysdeps/unix/sparc/sysdep.h: Delete.
4280 * sysdeps/unix/sparc/vfork.S: Delete.
4281 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4282 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4283 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4284 ret_ERRVAL, r0, r1, MOVE): Define.
4285 (JUMPTARGET): Remove.
4286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4287 sysdeps/unix/sparc/sysdep.h
4288 (ENTRY, END): Remove.
4289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4291 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4293 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4294 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4297 * timezone/README: Update upstream location and email address for
4299 * timezone/zdump.c: Update from tzcode 2012b.
4300 * timezone/zic.c: Likewise.
4302 * configure.in (libc_cv_as_needed): Remove test.
4303 * configure: Regenerated.
4304 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4305 conditional definition.
4306 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4307 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4308 * config.make.in (have-as-needed): Remove variable.
4310 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4311 Paul Pluzhnikov <ppluzhnikov@google.com>
4313 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4316 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4318 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4319 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4320 * sysdeps/sh/strlen.S: Likewise.
4322 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4324 * sysdeps/unix/fork.S: Remove file.
4325 * sysdeps/unix/i386/fork.S: Likewise.
4326 * sysdeps/unix/sparc/fork.S: Likewise.
4328 * sysdeps/unix/system.c: Remove file.
4329 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4331 * sysdeps/unix/getegid.S: Remove file.
4332 * sysdeps/unix/geteuid.S: Likewise.
4334 2012-04-24 Roland McGrath <roland@hack.frob.com>
4336 * scripts/check-localplt.awk: New file.
4337 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4339 * scripts/data/localplt-generic.data: Add a comment.
4341 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4342 NODE when __dir_mkfile failed.
4343 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4344 Reported by Ludovic Courtès <ludo@gnu.org>.
4346 2012-04-24 Andreas Jaeger <aj@suse.de>
4348 * Makerules (common-clean): Also remove gen-as-const-headers
4351 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4353 * Makerules (native-compile): Do not change working directory for
4354 build. Use $(OUTPUT_OPTION) in command.
4355 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4357 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4360 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4361 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4362 * math/libm-test.inc (floor_test): Add more tests.
4363 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4365 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4367 * sysdeps/unix/getdents.c: Remove file.
4368 * sysdeps/unix/sysv/getdents.c: Likewise.
4369 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4371 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4372 sysdeps/unix/mman/syscalls.list.
4374 (mprotect): Likewise.
4377 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4378 * sysdeps/unix/mman/syscalls.list: Remove.
4379 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4381 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4382 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4383 * configure: Regenerated.
4384 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4386 * config.make.in (libgcc_s_suffix): Remove variable.
4388 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4390 * sysdeps/unix/sysv/gethostname.c: Move to ...
4391 * sysdeps/posix/gethostname.c: ... here.
4393 * sysdeps/unix/execve.S: Remove file.
4395 * sysdeps/unix/_exit.S: Remove file.
4397 2012-04-23 Andreas Jaeger <aj@suse.de>
4400 * manual/Makefile: Remove make dist support, there's no
4401 need for a stand-alone documentation tar ball.
4402 (TEXI2DVI): Define always, it's not in Makeconfig.
4406 (glibc-doc-$(edition).tar): Removed
4410 (ETAGS): Remove, it's in Makeconfig.
4411 (move-if-change): Remove, it's in Makeconfig.
4413 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4416 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4417 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4418 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4419 (strtod_l, strtof_l, strtold_l): Remove __wur.
4420 It is not necessarily an error to ignore strtol's return value.
4421 One can reliably look at the stored endptr to decide whether
4422 the number had valid syntax.
4424 2012-04-21 Andreas Jaeger <aj@suse.de>
4427 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4429 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4431 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4432 * sysdeps/unix/sysv/Versions: Remove file.
4434 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4439 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4442 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4443 version from __vm86.
4445 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4447 * sysdeps/unix/common/lxstat.c: Remove file.
4448 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4450 * sysdeps/unix/sysv/Makefile: Remove file.
4452 * sysdeps/unix/sysv/direct.h: Remove file.
4454 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4455 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4456 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4457 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4458 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4459 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4460 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4462 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4464 * sysdeps/unix/xmknod.c: Remove file.
4465 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4467 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4469 * sysdeps/unix/sysv/i386/time.S: Remove file.
4471 * sysdeps/unix/fxstat.c: Remove file.
4472 * sysdeps/unix/xstat.c: Likewise.
4473 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4475 * sysdeps/unix/sysv/sigaction.c: Remove file.
4477 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4478 (sysdep_headers): Remove variable.
4479 [termio.h not in sysdep_headers] (generated): Likewise.
4480 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4481 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4482 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4483 * sysdeps/unix/sysv/tcflow.c: Likewise.
4484 * sysdeps/unix/sysv/tcflush.c: Likewise.
4485 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4486 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4487 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4488 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4489 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4491 * sysdeps/unix/siglist.c: Remove file.
4493 * sysdeps/unix/getppid.S: Remove file.
4495 * sysdeps/unix/mkdir.c: Remove file.
4496 * sysdeps/unix/rmdir.c: Likewise.
4498 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4500 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4502 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4503 errlist-compat value.
4505 2012-04-18 David S. Miller <davem@davemloft.net>
4507 * sysdeps/generic/memcopy.h (reg_char): Delete.
4508 * debug/strcat_chk.c: Use char, not reg_char.
4509 * debug/strcpy_chk.c: Likewise.
4510 * debug/strncat_chk.c: Likewise.
4511 * debug/strncpy_chk.c: Likewise.
4512 * string/memchr.c: Likewise.
4513 * string/memrchr.c: Likewise.
4514 * string/rawmemchr.c: Likewise.
4515 * string/strcat.c: Likewise.
4516 * string/strchr.c: Likewise.
4517 * string/strchrnul.c: Likewise.
4518 * string/strcmp.c: Likewise.
4519 * string/strcpy.c: Likewise.
4520 * string/strncat.c: Likewise.
4521 * string/strncmp.c: Likewise.
4522 * string/strncpy.c: Likewise.
4524 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4526 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4527 __builtin_memcopy is called when src and dest ranges are known to not
4530 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4532 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4533 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4534 fwd_align_merge macro call.
4535 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4536 bwd_align_merge macro call.
4537 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4539 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4541 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4542 bwd_align_merge macros.
4543 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4544 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4545 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4547 2012-04-18 David S. Miller <davem@davemloft.net>
4549 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4551 2012-04-18 Andreas Jaeger <aj@suse.de>
4554 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4555 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4556 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4558 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4559 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4560 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4562 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4563 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4564 Adjust for changed ldbl-128 files.
4566 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4567 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4568 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4570 2012-04-17 David S. Miller <davem@davemloft.net>
4572 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4574 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4576 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4577 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4578 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4579 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4580 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4581 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4583 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4586 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4587 * math/libm-test.inc: Add ilogb errno and exception tests.
4588 * math/w_ilogb.c: New file: ilogb wrapper.
4589 * math/w_ilogbf.c: New file: ilogbf wrapper.
4590 * math/w_ilogbl.c: New file: ilogbl wrapper.
4591 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4592 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4593 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4594 exception being thrown with 0.0 as argument.
4595 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4596 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4597 exception being thrown with 0.0 as argument.
4598 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4599 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4600 exception being thrown with 0.0 as argument.
4601 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4602 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4603 exception being thrown with 0.0 as argument.
4604 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4605 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4606 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4607 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4608 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4609 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4610 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4611 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4612 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4614 2012-04-17 Petr Baudis <pasky@ucw.cz>
4616 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4619 2012-04-16 Marek Polacek <polacek@redhat.com>
4621 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4623 2012-04-16 Marek Polacek <polacek@redhat.com>
4625 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4626 operands of fdivp instruction.
4628 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4630 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4631 * elf/tst-auditmod3b.c: Likewise.
4632 * elf/tst-auditmod4b.c: Likewise.
4633 * elf/tst-auditmod5b.c: Likewise.
4634 * elf/tst-auditmod6b.c: Likewise.
4635 * elf/tst-auditmod6c.c: Likewise.
4636 * elf/tst-auditmod7b.c: Likewise.
4637 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4638 * sysdeps/x86_64/preconfigure.in: Likewise.
4639 * sysdeps/x86_64/preconfigure: Regenerated.
4641 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4643 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4646 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4648 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4649 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4651 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4654 * locale/iso-639.def: Fix gl language name. Spotted by
4657 2012-04-12 Roland McGrath <roland@hack.frob.com>
4660 * libio/libio.h (__io_write_fn): Update comment.
4662 2012-04-12 Petr Baudis <pasky@ucw.cz>
4665 * stdio.texi (Hook Functions): The user provided writer function
4666 is not allowed to return -1.
4668 2012-04-11 David S. Miller <davem@davemloft.net>
4670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4672 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4674 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4675 Add a leading slash to rtkaio.
4677 2012-04-11 Jim Meyering <meyering@redhat.com>
4680 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4681 It is not necessarily an error to ignore fwrite's return
4682 value. One can reliably use ferror to test for errors after
4685 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4687 * bits/types.h (__snseconds_t): New type.
4688 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4690 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4691 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4692 (__SNSECONDS_T_TYPE): Likewise.
4693 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4694 (__SNSECONDS_T_TYPE): Likewise.
4695 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4696 (__SNSECONDS_T_TYPE): Likewise.
4698 2012-04-10 Andreas Jaeger <aj@suse.de>
4701 * manual/time.texi (Processor Time): Return type of times is
4702 elapsed real time since an arbitrary point in the past.
4703 (CPU Time): Move CLK_TCK from here...
4704 (Processor Time): ...to here. Correct description.
4705 * manual/conf.texi (Constants for Sysconf): Correct description of
4708 2012-04-10 David S. Miller <davem@davemloft.net>
4711 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4712 where the is a gap between DT_REL(A) and DT_JMPREL.
4714 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4716 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4717 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4718 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4720 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4722 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4723 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4724 (dl_main): Handle --inhibit-cache.
4725 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4727 * elf/dl-load.c (_dl_map_object): Use it.
4728 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4730 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4733 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4734 (__ieee754_powl): Saturate large exponents rather than testing for
4735 overflow of y*log2(x).
4736 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4737 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4741 * math/s_ctan.c: Include <float.h>.
4742 (__ctan): Avoid internal overflow or cancellation in calculating
4744 * math/s_ctanf.c: Likewise.
4745 * math/s_ctanl.c: Likewise.
4746 * math/s_ctanh.c: Likewise.
4747 * math/s_ctanhf.c: Likewise.
4748 * math/s_ctanhl.c: Likewise.
4749 * math/libm-test.inc (ctan_test): Add more tests.
4750 (ctanh_test): Likewise.
4751 * sysdeps/i386/fpu/libm-test-ulps: Update.
4752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4754 2012-04-09 Andreas Jaeger <aj@suse.de>
4757 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4758 is an optional BSD extension.
4761 * manual/stdio.texi (Opening Streams): Document additional fopen
4764 2012-04-09 Roland McGrath <roland@hack.frob.com>
4766 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4767 %eax without telling the compiler.
4769 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4772 * manual/install.texi: Use sourceware.org.
4774 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4777 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4778 (__ieee754_pow): Generate overflow and underflow using huge*huge
4779 and tiny*tiny rather than just returning constant infinity or zero
4780 for large exponents.
4781 * math/libm-test.inc (pow_test): Require overflow exceptions for
4782 applicable cases of large exponents.
4785 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4786 (__ieee754_pow): Use iterative multiplication algorithm only for
4787 integer exponents with absolute value below 1024. Check for odd
4788 integer exponents when using algorithm for real exponents.
4789 * math/libm-test.inc (pow_test): Add more tests.
4790 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4792 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4795 * math/libm-test.inc (exp_test): Do not allow overflow exception
4798 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4801 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4802 instead of __kernel_standard_f.
4804 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4806 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4807 * sysdeps/x86_64/memset_chk.S: Likewise.
4809 2012-04-08 Andreas Jaeger <aj@suse.de>
4812 * manual/startup.texi (Environment Access): Describe return value
4813 for putenv and setenv.
4816 * manual/filesys.texi (Directory Entries): Add description for
4820 * manual/filesys.texi (Directory Entries): Clarify that it's file
4821 system not operating system in the description of DT_UNKNOWN.
4824 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4826 2012-04-08 Stephen Compall <s11@member.fsf.org>
4829 * manual/llio.texi (Opening and Closing Files): Add cross
4830 reference to explain mode argument.
4832 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4834 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4835 * sysdeps/x86_64/memset_chk.S: Likewise.
4837 2012-04-07 David S. Miller <davem@davemloft.net>
4839 * elf/elf.h (R_SPARC_WDISP10): Define.
4840 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4842 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4843 R_SPARC_SIZE64 and R_SPARC_H34.
4845 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4847 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4848 conditions and remove no longer applicable assertion.
4850 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4852 * bits/byteswap.h: Include <features.h>.
4853 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4854 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4856 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4858 * bits/byteswap.h (__bswap_16): Removed.
4859 Include <bits/byteswap-16.h> to get __bswap_16.
4860 * sysdeps/i386/bits/byteswap.h: Likewise.
4861 * sysdeps/s390/bits/byteswap.h: Likewise.
4862 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4863 * bits/byteswap-16.h: New file.
4864 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4865 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4866 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4867 * string/Makefile (headers): Add bits/byteswap-16.h.
4869 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4872 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4874 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4875 * nss/tst-nss-static.c: New.
4877 2012-04-06 Robert Millan <rmh@gnu.org>
4880 * manual/llio.texi (File Position Primitive): lseek
4881 refers to WHENCE when it really means OFFSET.
4883 2012-04-06 Andreas Jaeger <aj@suse.de>
4885 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4886 strncmp declarations.
4888 * abilist/libc.abilist: Add __poll and __ppoll.
4890 2012-04-05 David S. Miller <davem@davemloft.net>
4892 * scripts/check-local-headers.sh: Accept a host triplet in the
4893 path matched by the exclude regexp.
4895 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4897 * sysdeps/powerpc/powerpc32/dl-machine.h
4898 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4899 * sysdeps/s390/s390-32/dl-machine.h
4900 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4901 * sysdeps/sparc/sparc32/dl-machine.h
4902 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4903 * sysdeps/sparc/sparc64/dl-machine.h
4904 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4906 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4908 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4909 undefined symbol errors.
4911 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4914 2012-04-05 Michael Matz <matz@suse.de>
4917 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4919 2012-04-05 Andreas Jaeger <aj@suse.de>
4922 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4925 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4927 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4928 which ROUND is no valid rounding mode.
4930 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4932 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4934 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4936 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4938 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4939 an exception using FPU order intentionally.
4941 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4943 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4944 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4945 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4946 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4948 2012-04-05 Simon Josefsson <simon@josefsson.org>
4951 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4952 EINVAL when BUFLEN is too smal.
4954 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4957 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4958 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4960 2012-04-03 Andreas Jaeger <aj@suse.de>
4963 * manual/setjmp.texi (System V contexts): Fix sentence.
4966 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4967 New macro for this case.
4968 [!__GNUC__] (__bswap_64): New inline function for this case.
4969 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4970 * bits/byteswap.h: Likewise.
4971 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4972 ull, guard with __GLIBC_HAVE_LONG_LONG.
4974 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4975 __GLIBC_HAVE_LONG_LONG.
4977 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4978 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4980 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4983 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4984 inptr and inend, rather than using last_ch.
4986 2012-04-02 David S. Miller <davem@davemloft.net>
4988 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4989 * stdio-common/printf-parse.h (read_int): Change return type to
4990 'int', return -1 on INT_MAX overflow.
4991 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4992 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4993 overflows INT_MAX. Check for overflow of in-format-string precision
4994 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4995 SIZE_MAX not INT_MAX for integer overflow test.
4996 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4997 skip the construct in the format string but do not record anything.
4998 * stdio-common/bug22.c: Adjust to test both width/prevision
4999 INT_MAX overflow as well as total length INT_MAX overflow. Check
5000 explicitly for proper errno values.
5002 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
5004 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
5006 * string/test-strcmp.c [! WIDE]: Likewise.
5007 * time/tst-mktime2.c: Likewise for INT_MAX.
5008 * string/test-string.h: #include <sys/param.h> for MIN.
5010 * csu/init-first.c (__libc_init_first): Call __ctype_init.
5011 * sysdeps/i386/init-first.c (init): Likewise.
5012 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
5013 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
5014 * sysdeps/sh/init-first.c (init): Likewise.
5016 2012-04-01 Ulrich Drepper <drepper@gmail.com>
5018 * po/ru.po: Update from translation team.
5019 * po/vi.po: Likewise.
5021 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5023 * resolv/nss_dns/dns-host.c: Merge copyright years.
5025 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5027 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5028 Optimize memcpy with prefetch if
5029 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5030 src, dst pointers have unequal 16 byte alignments.
5032 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5035 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5036 from a CNAME entry and return the minimum ttl for the query.
5037 (gaih_getanswer_slice): Likewise.
5039 2012-03-30 Jeff Law <law@redhat.com>
5041 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5043 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5044 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5046 * resolv/nss_dns/dns-host.c: Update copyright year.
5048 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5050 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5051 requests to save a system call. Fix check that all bytes are sent.
5053 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5054 comments for sendmmsg.
5056 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5059 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5060 with only 1 character between 0x0041 and 0x01b0.
5061 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5062 * wcsmbs/tst-mbsnrtowcs.c: New file.
5064 2012-03-29 David S. Miller <davem@davemloft.net>
5066 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5067 small copies by hand.
5069 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5072 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5073 _nss_compat_initgroups_dyn): Fall back to malloc/free
5074 for large group memberships.
5076 2012-03-28 David S. Miller <davem@davemloft.net>
5078 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5079 that branches into memcpy.
5080 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5082 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5083 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5086 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5088 * sysdeps/sparc/mempcpy.S: New file.
5090 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5091 the IFUNC routine in the libc case.
5092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5094 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5095 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5096 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5097 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5098 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5099 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5100 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5101 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5103 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5104 loop to 256 bytes instead of 64 bytes and fix test signedness.
5106 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5107 * sysdeps/sparc/sparc32/Makefile: rather than here...
5108 * sysdeps/sparc/sparc64/Makefile: and here.
5110 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5112 * malloc/mallocbug.c: Avoid warnings about unused variables.
5114 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5117 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5118 in the right place. Discard and retry query if response is
5119 larger than input buffer size.
5121 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5126 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5127 x for large integer exponent.
5128 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5129 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5130 sign of result as needed afterwards.
5131 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5132 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5133 result for underflowing pow the same as for overflow.
5134 (__kernel_standard_l): Handle powl overflow and underflow here
5135 rather than calling __kernel_standard.
5136 * math/libm-test.inc (pow_test): Add more tests.
5151 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5152 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5153 (__kernel_standard_l): New function.
5154 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5156 * math/w_acosl.c (__acosl): Likewise.
5157 * math/w_asinl.c (__asinl): Likewise.
5158 * math/w_atan2l.c (__atan2l): Likewise.
5159 * math/w_atanhl.c (__atanhl): Likewise.
5160 * math/w_coshl.c (__coshl): Likewise.
5161 * math/w_exp10l.c (__exp10l): Likewise.
5162 * math/w_exp2l.c (__exp2l): Likewise.
5163 * math/w_fmodl.c (__fmodl): Likewise.
5164 * math/w_hypotl.c (__hypotl): Likewise.
5165 * math/w_j0l.c (__j0l, __y0l): Likewise.
5166 * math/w_j1l.c (__j1l, __y1l): Likewise.
5167 * math/w_jnl.c (__jnl, __ynl): Likewise.
5168 * math/w_lgammal.c (__lgammal): Likewise.
5169 * math/w_log10l.c (__log10l): Likewise.
5170 * math/w_log2l.c (__log2l): Likewise.
5171 * math/w_logl.c (__logl): Likewise.
5172 * math/w_powl.c (__powl): Likewise.
5173 * math/w_remainderl.c (__remainderl): Likewise.
5174 * math/w_scalbl.c (sysv_scalbl): Likewise.
5175 * math/w_sinhl.c (__sinhl): Likewise.
5176 * math/w_sqrtl.c (__sqrtl): Likewise.
5177 * math/w_tgammal.c (__tgammal): Likewise.
5178 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5179 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5180 * math/libm-test.inc (acos_test): Add more tests.
5181 (acosh_test): Likewise.
5182 (asin_test): Likewise.
5183 (atanh_test): Likewise.
5184 (exp_test): Likewise.
5185 (exp10_test): Likewise.
5186 (exp2_test): Likewise.
5187 (expm1_test): Likewise.
5188 (lgamma_test): Likewise.
5189 (log_test): Likewise.
5190 (log10_test): Likewise.
5191 (log1p_test): Likewise.
5192 (log2_test): Likewise.
5193 (pow_test): Do not allow some spurious overflow exceptions.
5194 (sqrt_test): Add more tests.
5195 (tgamma_test): Likewise.
5196 (y0_test): Likewise.
5197 (y1_test): Likewise.
5198 (yn_test): Likewise.
5200 2012-03-27 Anton Blanchard <anton@samba.org>
5202 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5204 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5205 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5206 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5208 2012-03-27 David S. Miller <davem@davemloft.net>
5210 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5212 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5215 2012-03-27 Andreas Jaeger <aj@suse.de>
5217 * sysdeps/x86_64/elf/configure.in: Moved to ...
5218 * sysdeps/x86_64/configure.in: ... here.
5219 * sysdeps/x86_64/elf/start.S: Moved to ...
5220 * sysdeps/x86_64/start.S: ... here.
5221 * sysdeps/x86_64/elf/configure: Delete.
5223 * sysdeps/x86_64/configure.in: Merge contents from
5224 sysdeps/i386/configure.in (without i686 check).
5226 * sysdeps/i386/elf/Versions: Merge into ...
5227 * sysdeps/i386/Versions: ... this.
5228 * sysdeps/i386/elf/Versions: Delete file.
5229 * sysdeps/i386/elf/start.S: Moved to ...
5230 * sysdeps/i386/start.S: ...here.
5231 * sysdeps/i386/elf/configure.in: Merge into...
5232 * sysdeps/i386/configure.in: ...here.
5233 * sysdeps/i386/elf/configure.in: Delete file.
5234 * sysdeps/i386/elf/configure: Delete file.
5236 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5237 * debug/backtracesyms.c: ... here.
5238 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5239 * debug/backtracesymsfd.c: ... here.
5240 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5241 * sysdeps/generic/ifunc-sel.h: ... here.
5243 * sysdeps/unix/i386/start.c: Delete file.
5244 * sysdeps/unix/sparc/start.c: Delete file.
5245 * sysdeps/unix/start.c: Delete file.
5247 * sysdeps/sh/elf/configure.in: Moved to ...
5248 * sysdeps/sh/configure.in: ... here.
5249 * sysdeps/sh/elf/start.S: Moved to ...
5250 * sysdeps/sh/start.S: ... here.
5251 * sysdeps/sh/elf/configure: Delete file.
5253 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5254 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5255 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5256 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5257 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5258 * sysdeps/powerpc/powerpc64/start.S: here.
5259 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5260 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5261 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5262 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5263 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5265 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5266 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5267 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5268 * sysdeps/powerpc/powerpc32/start.S: ... here.
5269 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5270 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5271 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5273 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5274 * sysdeps/powerpc/ifunc-sel.h: ... here.
5275 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5276 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5278 * sysdeps/sparc/elf/configure.in: Moved to ...
5279 * sysdeps/sparc/configure.in: ... here.
5280 * sysdeps/sparc/elf/configure: Delete file.
5281 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5282 * sysdeps/sparc/sparc32/start.S: ... here.
5283 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5284 * sysdeps/sparc/sparc64/start.S: ... here.
5285 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5286 * sysdeps/sparc/sparc32/Makefile: ... this.
5287 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5288 * sysdeps/sparc/sparc64/Makefile: ... this.
5290 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5291 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5292 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5293 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5294 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5295 * sysdeps/s390/s390-32/setjmp.S: ... here.
5296 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5297 * sysdeps/s390/s390-32/configure.in: ... here.
5298 * sysdeps/s390/s390-32/elf/configure: Delete file.
5299 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5300 * sysdeps/s390/s390-32/start.S: ... here.
5302 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5303 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5304 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5305 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5306 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5307 * sysdeps/s390/s390-64/setjmp.S: ... here.
5308 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5309 * sysdeps/s390/s390-64/configure.in: ... here
5310 * sysdeps/s390/s390-64/elf/configure: Delete file.
5311 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5312 * sysdeps/s390/s390-64/start.S: ... here.
5313 * sysdeps/s390/s390-64/elf/configure: Delete.
5315 * configure.in: Remove support for elf directories in sysdeps.
5317 * configure: Regenerated.
5318 * sysdeps/i386/configure: Regenerated.
5319 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5320 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5321 * sysdeps/s390/s390-32/configure: Regenerated.
5322 * sysdeps/s390/s390-64/configure: Regenerated.
5323 * sysdeps/sh/configure: Regenerated.
5324 * sysdeps/sparc/configure: Regenerated.
5325 * sysdeps/x86_64/configure: Regenerated.
5327 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5331 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5332 denormal result into account.
5334 2012-03-25 Roland McGrath <roland@hack.frob.com>
5336 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5337 Reported by Allan McRae <allan@archlinux.org>.
5339 2012-03-23 Jeff Law <law@redhat.com>
5341 * nss/getnssent.c (__nss_getent): Fix typo.
5343 2012-03-23 David S. Miller <davem@davemloft.net>
5345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5347 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5349 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5350 to pad to uint64_t for each field.
5351 (dl_tls_index): Replace unsigned long with uint64_t.
5353 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5354 Paul Pluzhnikov <ppluzhnikov@google.com>
5357 * grp/Makefile (otherlibs): Don't set it.
5358 * inet/Makefile (otherlibs): Likewise.
5359 * login/Makefile (otherlibs): Likewise.
5360 * nscd/Makefile (otherlibs): Likewise.
5361 * posix/Makefile (otherlibs): Likewise.
5362 * pwd/Makefile (otherlibs): Likewise.
5363 * rt/Makefile (otherlibs): Likewise.
5364 * sunrpc/Makefile (otherlibs): Likewise.
5365 * nss/Makefile (otherlibs): Likewise.
5366 Add libnss_files to routines and static-only-routines.
5367 ($(objpfx)getent): Remove rule.
5368 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5369 static-only-routines.
5371 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5374 * math/s_cexp.c: Include <float.h>.
5375 (__cexp): Handle exp result overflowing not necessarily
5376 overflowing both real and imaginary parts of result.
5377 * math/s_cexpf.c: Likewise.
5378 * math/s_cexpl.c: Likewise.
5379 * math/libm-test.inc (cexp_test): Add more tests.
5380 * sysdeps/i386/fpu/libm-test-ulps: Update.
5381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5383 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5385 * include/link.h (ELFW): New macro.
5386 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5387 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5389 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5391 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5394 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5396 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5398 (struct La_x32_retval): Likewise.
5400 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5402 * sysdeps/x86_64/preconfigure.in: New file.
5403 * sysdeps/x86_64/preconfigure: New generated file.
5405 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5408 * math/e_exp2l.c: Include <float.h>.
5409 (__ieee754_exp2l): Handle overflow and underflow cases
5410 separately. Only pass fractional part of argument to
5412 * math/libm-test.inc (exp2_test): Add more tests.
5414 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5415 negating x to take absolute value.
5416 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5418 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5419 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5421 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5422 computing low part if x was negated.
5423 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5425 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5427 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5429 (pltexit): Cast int_retval to ptrdiff_t.
5430 * elf/tst-auditmod3b.c: Likewise.
5431 * elf/tst-auditmod4b.c: Likewise.
5432 * elf/tst-auditmod5b.c: Likewise.
5433 * elf/tst-auditmod6b.c: Likewise.
5434 * elf/tst-auditmod6c.c: Likewise.
5435 * elf/tst-auditmod7b.c: Likewise.
5437 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5438 and x32_gnu_pltexit.
5440 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5442 (La_x32_regs): New macro.
5443 (La_x32_retval): Likewise.
5444 (la_x32_gnu_pltenter): New function prototype.
5445 (la_x32_gnu_pltexit): Likewise.
5447 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5454 * configure.in (libc_cv_cc_nofma): Check for option to disable
5455 generation of FMA instructions.
5456 * configure: Regenerate.
5457 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5458 * sysdeps/ieee754/dbl-64/Makefile: New file.
5459 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5460 Remove brandred-fma4.
5461 (CFLAGS-brandred-fma4.c): Remove.
5462 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5463 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5465 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5468 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5470 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5471 LLONG_MAX != LONG_MAX.
5472 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5473 (_fitoa_word): Likewise.
5474 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5475 LLONG_MAX != LONG_MAX.
5476 * stdio-common/_itowa.h: Include <_itoa.h>.
5477 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5478 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5479 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5480 only if not defined.
5481 (_ITOA_WORD_TYPE): Likewise.
5482 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5483 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5485 2012-03-21 David S. Miller <davem@davemloft.net>
5487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5489 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5491 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5492 of x86_64 when setting libc_cv_slibdir, libdir and
5494 * sysdeps/unix/sysv/linux/configure: Regenerated.
5496 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5498 * manual/lang.texi (Old Varargs): Remove section.
5499 (How Variadic): Update menu.
5500 (va_start): Do not mention varargs.h.
5502 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5503 Joseph Myers <joseph@codesourcery.com>
5505 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5507 * configure: Regenerated.
5509 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5511 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5512 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5515 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5518 * Makefile (files-for-dist): Remove NOTES.
5519 (NOTES): Remove rule.
5520 * README: Don't refer to NOTES.
5521 * manual/creature.texi: Don't include macros.texi.
5522 * manual/intro.texi (creature.texi): Remove comment referring to
5525 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5526 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5527 * configure: Regenerated.
5528 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5530 (libc_cv_as_i686): Likewise.
5531 (libc_cv_cc_avx): Likewise.
5532 (libc_cv_cc_sse2avx): Likewise.
5533 (libc_cv_cc_fma4): Likewise.
5534 (libc_cv_cc_novzeroupper): Likewise.
5535 * sysdeps/i386/configure: Regenerated.
5538 * sysdeps/i386/fpu/s_cexp.S: Remove.
5539 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5540 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5541 * math/libm-test.inc (cexp_test): Add more tests.
5542 * sysdeps/i386/fpu/libm-test-ulps: Update.
5543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5545 2012-03-21 Allan McRae <allan@archlinux.org>
5547 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5549 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5552 * math/w_exp2.c: Do not include <float.h>.
5553 (o_threshold, u_threshold): Remove.
5554 (__exp2): Calculate result before checking finiteness and calling
5556 * math/w_exp2f.c: Likewise.
5557 * math/w_exp2l.c: Likewise.
5558 * math/libm-test.inc (exp2_test): Require overflow exception for
5562 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5563 range of signed 64-bit integers before using fistpll. Remove
5564 checks for whether integers fit in mantissa bits.
5565 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5566 the range of signed 32-bit integers before using fistpl. Remove
5567 checks for whether integers fit in mantissa bits.
5568 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5569 (__ieee754_powl): Test for y outside the range of signed 64-bit
5570 integers before using fistpll. Reduce 64-bit values to 63-bit
5572 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5573 divide-by-zero is raised for zero to large negative powers.
5574 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5575 (__ieee754_powl): Test for y outside the range of signed 64-bit
5576 integers before using fistpll. Reduce 64-bit values to 63-bit
5578 * math/libm-test.inc (pow_test): Add more tests.
5580 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5582 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5583 <stdio-common/_itoa.h>.
5584 * debug/segfault.c: Likewise.
5585 * elf/dl-cache.c: Likewise.
5586 * elf/dl-minimal.c: Likewise.
5587 * elf/dl-misc.c: Likewise.
5588 * elf/dl-sysdep.c: Likewise.
5589 * elf/dl-version.c: Likewise.
5590 * elf/rtld.c: Likewise.
5591 * hurd/hurdsock.c: Likewise.
5592 * hurd/lookup-retry.c: Likewise.
5593 * malloc/malloc.c: Likewise.
5594 * malloc/mtrace.c: Likewise.
5595 * nscd/nscd_getgr_r.c: Likewise.
5596 * nscd/nscd_getpw_r.c: Likewise.
5597 * nscd/nscd_getserv_r.c: Likewise.
5598 * posix/getopt_init.c: Likewise.
5599 * posix/wordexp.c: Likewise.
5600 * stdio-common/_itoa.c: Likewise.
5601 * stdio-common/printf_fphex.c: Likewise.
5602 * stdio-common/vfprintf.c: Likewise.
5603 * string/_strerror.c: Likewise.
5604 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5605 * sysdeps/i386/i686/hp-timing.h: Likewise.
5606 * sysdeps/mach/_strerror.c: Likewise.
5607 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5608 * sysdeps/mach/hurd/sethostid.c: Likewise.
5609 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5610 * sysdeps/mach/xpg-strerror.c: Likewise.
5611 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5612 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5613 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5614 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5615 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5616 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5617 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5618 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5619 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5620 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5621 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5622 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5623 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5624 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5625 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5626 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5627 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5628 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5629 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5630 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5631 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5633 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5635 * stdio-common/_itoa.h: Moved to ...
5636 * sysdeps/generic/_itoa.h: Here.
5638 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5640 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5641 instead of "_itoa.h" and "_itowa.h".
5642 * stdio-common/vfprintf.: Likewise.
5644 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5646 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5648 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5649 (__signbit): Likwise.
5653 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5655 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5658 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5660 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5661 OVERFLOW_EXCEPTION_OK.
5662 * math/libm-test.inc ("Philosophy"): Update comment about
5664 (OVERFLOW_EXCEPTION): Define.
5665 (OVERFLOW_EXCEPTION_OK): Likewise.
5666 (INVALID_EXCEPTION_OK): Renumber.
5667 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5668 (IGNORE_ZERO_INF_SIGN): Likewise.
5669 (test_exceptions): Handle FE_OVERFLOW.
5670 (exp10_test): Expect overflow exceptions.
5671 (exp2_test): Likewise.
5672 (expm1_test): Likewise.
5673 (nextafter_test): Likewise.
5674 (pow_test): Likewise.
5675 (scalbn_test): Likewise.
5676 (scalbln_test): Likewise.
5678 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5680 * sysdeps/x86_64/bits/atomic.h
5681 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5683 (atomic_exchange_acq): Likewise.
5684 (__arch_exchange_and_add_body): Likewise.
5685 (__arch_add_body): Likewise.
5686 (atomic_add_negative): Likewise.
5687 (atomic_add_zero): Likewise.
5689 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5691 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5692 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5694 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5696 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5697 Check __x86_64__ instead of __WORDSIZE.
5699 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5701 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5703 2012-03-19 David S. Miller <davem@davemloft.net>
5705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5707 * sysdeps/sparc/fpu/fenv_private.h: New file.
5708 * sysdeps/sparc/fpu/math_private.h: Use it.
5709 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5711 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5712 (libc_feholdexcept_setroundl): Remove.
5713 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5715 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5716 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5718 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5720 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5721 int64_t instead of long int.
5722 (INSERT_WORDS64): Likwise.
5724 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5726 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5727 _Unwind_GetCFA return to _Unwind_Ptr first.
5729 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5732 * math/s_clog.c: Include <float.h>.
5733 (__clog): Scale large or subnormal inputs.
5734 * math/s_clogf.c: Likewise.
5735 * math/s_clogl.c: Likewise.
5736 * math/s_clog10.c: Include <float.h>.
5737 (M_LOG10_2): Define.
5738 (__clog10): Scale large or subnormal inputs.
5739 * math/s_clog10f.c: Likewise.
5740 * math/s_clog10l.c: Likewise.
5741 * math/libm-test.inc (clog_test): Add more tests.
5742 (clog10_test): Likewise.
5743 * sysdeps/i386/fpu/libm-test-ulps: Update.
5744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5747 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5749 * math/libm-test.inc (atan2_test): Add another test.
5751 * Makerules (common-objdir-compile): Remove.
5752 * sysdeps/unix/Makefile (config-generated): Do not add
5753 $(unix-generated) to variable.
5754 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5755 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5757 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5759 [generic bits/local_lim.h] (before-compile): Do not append to
5761 [generic bits/local_lim.h] (common-generated): Likewise.
5762 [generic sys/param.h] (before-compile): Do not append to variable.
5763 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5764 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5765 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5766 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5768 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5769 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5770 [generic sys/param.h] ($(addprefix
5771 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5772 [generic sys/param.h] (common-generated): Do not append to
5774 [generic sys/param.h] (sysdep_headers): Likewise.
5775 [generic bits/errno.h] (before-compile): Do not append to
5777 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5779 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5780 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5781 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5782 [generic bits/errno.h] (common-generated): Do not append to
5784 [generic bits/ioctls.h] (before-compile): Do not append to
5786 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5788 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5789 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5790 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5792 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5793 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5794 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5795 [generic bits/ioctls.h] (common-generated): Do not append to
5797 [generic sys/syscall.h] (syscall.h): Remove variable.
5798 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5800 [generic sys/syscall.h] (before-compile): Do not append to
5802 [generic sys/syscall.h] (common-generated): Likewise.
5803 * sysdeps/unix/errnos-tmpl.c: Remove file.
5804 * sysdeps/unix/errnos.awk: Likewise.
5805 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5806 * sysdeps/unix/ioctls.awk: Likewise.
5807 * sysdeps/unix/mk-local_lim.c: Likewise.
5808 * sysdeps/unix/snarf-ioctls: Likewise.
5810 2012-03-19 Richard Henderson <rth@twiddle.net>
5812 * sysdeps/i386/fpu/fenv_private.h: New file.
5813 * sysdeps/i386/fpu/math_private.h: Use it.
5814 (math_opt_barrier, math_force_eval): Remove.
5815 (libc_feholdexcept_setround_53bit): Remove.
5816 (libc_feupdateenv_53bit): Remove.
5817 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5818 (math_opt_barrier, math_force_eval): Remove.
5819 (libc_feholdexcept): Remove.
5820 (libc_feholdexcept_setround): Remove.
5821 (libc_fetestexcept, libc_fesetenv): Remove.
5822 (libc_feupdateenv_test): Remove.
5823 (libc_feupdateenv, libc_feholdsetround): Remove.
5824 (libc_feresetround): Remove.
5826 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5827 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5829 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5830 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5831 (libc_feupdateenv_testl): New.
5832 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5833 (libc_feupdateenv_testf): New.
5834 (libc_feupdateenv): Use libc_feupdateenv_test.
5835 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5836 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5838 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5839 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5840 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5841 (libc_feresetround_noex): New.
5842 (libc_feresetround_noexf): New.
5843 (libc_feresetround_noexl): New.
5844 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5845 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5846 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5847 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5849 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5850 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5852 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5853 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5854 SET_RESTORE_ROUND_NOEX.
5855 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5856 SET_RESTORE_ROUND_NOEXF.
5857 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5858 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5859 (libc_feholdsetroundf): New.
5860 (libc_feresetround, libc_feresetroundf): New.
5862 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5863 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5864 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5866 * sysdeps/generic/math_private.h: Include <fenv.h>.
5867 (default_libc_feholdexcept): New.
5868 (default_libc_feholdexcept_setround): New.
5869 (default_libc_fesetenv, default_libc_feupdateenv): New.
5870 (libc_feholdexcept): Only define if undefined.
5871 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5872 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5873 (libc_feholdexcept_setroundl): Likewise.
5874 (libc_feholdexcept_setround_53bit): Likewise.
5875 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5876 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5877 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5878 (libc_feupdateenv_53bit): Likewise.
5879 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5880 (libc_feholdexcept): Convert from macro to inline function.
5881 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5882 (libc_fesetenv, libc_feupdateenv): Likewise.
5884 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5885 not previously defined.
5886 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5887 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5888 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5889 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5890 * sysdeps/ieee754/flt-32/math_private.h: New file.
5891 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5892 math_private.h below SET_FLOAT_WORD.
5893 (__isnan, __isinf_ns, __finite): Remove.
5894 (__isnanf, __isinf_nsf, __finitef): Remove.
5896 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5900 2012-03-17 David S. Miller <davem@davemloft.net>
5903 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5906 2012-03-16 David S. Miller <davem@davemloft.net>
5908 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5912 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5914 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5915 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5916 sysdep_routines when subdir is sysvipc.
5917 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5920 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5922 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5924 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5927 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5929 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5930 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5931 (__lround): Renamed to ...
5932 (__llround): This. Replace long int with long long int.
5933 Define lround functions as aliases of llround functions.
5934 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5936 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5938 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5939 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5940 adresses to uintptr_t. Replace "long int" and "unsigned long
5941 int" with "greg_t" on va_arg.
5943 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5945 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5946 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5948 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5949 Move e_machine check before EI_CLASS check. Handle x32
5950 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5951 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5952 SKIP_EM_IA_64 and include
5953 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5955 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5956 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5957 (add_system_dir): New macro.
5959 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5960 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5962 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5973 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5975 * math/w_j0f.c (j0f): Likewise.
5977 * math/w_j0l.c (__j0l): Likewise.
5979 * math/w_j1.c (j1): Likewise.
5981 * math/w_j1f.c (j1f): Likewise.
5983 * math/w_j1l.c (__j1l): Likewise.
5985 * math/w_jn.c (jn): Likewise.
5987 * math/w_jnf.c (jnf): Likewise.
5989 * math/w_jnl.c (__jnl): Likewise.
5991 * math/libm-test.inc (j0_test): Add more tests.
5992 (j1_test): Likewise.
5993 (jn_test): Likewise. Add trailing semicolon to existing test.
5994 (y0_test): Likewise.
5995 (y1_test): Likewise.
5996 * sysdeps/i386/fpu/libm-test-ulps: Update.
5997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6001 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
6002 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
6003 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
6004 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
6005 (__tanl): Set errno for infinite argument.
6006 * sysdeps/i386/fpu/mptan.c: Remove.
6007 * sysdeps/i386/fpu/s_tan.S: Likewise.
6008 * sysdeps/i386/fpu/s_tanl.S: Likewise.
6009 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
6010 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
6011 * math/libm-test.inc (tan_test): Add more tests and enable more
6012 tests for double and long double.
6013 * sysdeps/i386/fpu/libm-test-ulps: Update.
6014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6016 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
6018 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
6019 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
6021 2012-03-16 Roland McGrath <roland@hack.frob.com>
6023 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
6024 * configure.in: Use it for both main tree and add-ons.
6025 * configure: Regenerated.
6027 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
6029 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6031 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6033 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6037 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6038 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6039 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6040 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6041 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6043 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6044 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6046 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6047 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6048 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6049 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6050 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6051 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6052 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6053 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6054 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6055 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6056 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6057 * math/libm-test.inc (cos_test): Add more tests and enable more
6058 tests for long double.
6059 (sin_test): Likewise.
6060 (sincos_test): Likewise.
6061 * sysdeps/i386/fpu/libm-test-ulps: Update.
6062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6064 2012-03-16 David S. Miller <davem@davemloft.net>
6066 * sysdeps/sparc/fpu/math_private.h: New file.
6068 2012-03-15 David S. Miller <davem@davemloft.net>
6070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6077 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6080 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6084 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6085 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6087 * sysdeps/sparc/sparc-ifunc.h: New file.
6088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6113 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6115 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6119 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6126 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6127 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6129 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6130 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6131 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6133 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6135 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6139 2012-03-15 Andreas Jaeger <aj@suse.de>
6142 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6143 ieee754/flt-32 implementation for sin, cos and sincos.
6144 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6145 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6146 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6147 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6148 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6149 ieee754/flt-32 implementation for tan.
6151 * math/libm-test.inc (cos_test): Enable some large input tests for
6153 (sin_test): Likewise.
6154 (sincos_test): Likewise.
6155 (tan_test): Add tests for large input.
6157 * sysdeps/i386/fpu/libm-test-ulps: Update.
6159 2012-03-15 Andreas Jaeger <aj@suse.de>
6162 * math/libm-test.inc (cos_test): Add more test cases.
6163 (sin_test): Likewise.
6164 (sincos_test): Likewise.
6166 2012-03-15 Andreas Jaeger <aj@suse.de>
6169 * math/libm-test.inc (cos_test): Add a test case for large input
6171 (sin_test): Likewise.
6172 (sincos_test): Likewise.
6174 2012-03-15 Andreas Jaeger <aj@suse.de>,
6175 Joseph Myers <joseph@codesourcery.com>
6178 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6179 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6180 * sysdeps/i386/fpu/branred.c: Likewise.
6181 * sysdeps/i386/fpu/dosincos.c: Likewise.
6182 * sysdeps/i386/fpu/mpa.c: Likewise.
6183 * sysdeps/i386/fpu/s_cos.S: Likewise.
6184 * sysdeps/i386/fpu/s_sin.S: Likewise.
6185 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6186 * sysdeps/i386/fpu/sincos32.c: Likewise.
6188 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6190 (libc_feupdateenv_53bit): Define.
6191 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6193 (libc_feupdateenv_53bit): Define.
6195 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6196 53 bit (without extend i386 double precision).
6198 * math/libm-test.inc (sincos_test): Add tests for large input.
6202 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6204 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6208 2012-03-15 David S. Miller <davem@davemloft.net>
6210 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6211 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6212 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6213 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6238 fmin/fmax sysdep routines.
6239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6241 2012-03-14 David S. Miller <davem@davemloft.net>
6243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6247 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6248 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6250 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6264 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6270 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6315 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6320 * sysdeps/sparc/configure.in: New file.
6321 * sysdeps/sparc/configure: Generate.
6322 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6323 * configure: Regenerate.
6324 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6325 * config.make.in (have-as-vis3): New.
6326 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6327 available use -Av9d instead of -Av9a.
6328 * sysdeps/sparc/sparc64/Makefile: Likewise.
6329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6339 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6340 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6341 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6342 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6344 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6345 fzeros/fnegs to load 0x80000000 into a float register instead of
6347 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6349 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6351 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6353 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6354 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6355 ($(inst_includedir)/bits/syscall.h): Remove rule.
6356 ($(objpfx)bits/syscall.d): Include instead of
6357 $(objpfx)syscall-list.d.
6358 (generated): Change syscall-list.h and syscall-list.d to
6359 bits/syscall.h and bits/syscall.d.
6361 2012-03-14 Roland McGrath <roland@hack.frob.com>
6364 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6366 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6369 * math/s_csqrt.c: Include <float.h>.
6370 (__csqrt): Scale large or subnormal inputs.
6371 * math/s_csqrtf.c: Likewise.
6372 * math/s_csqrtl.c: Likewise.
6373 * math/libm-test.inc (csqrt_test): Add more tests.
6374 * sysdeps/i386/fpu/libm-test-ulps: Update.
6375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6378 * math/libm-test.inc (hypot_test): Add more tests.
6380 2012-03-13 David S. Miller <davem@davemloft.net>
6383 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6384 double-precision for the calculation instead of scaling.
6386 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6388 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6389 manipulate bits before adding and subtracting TWO52[sx].
6390 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6391 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6393 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6395 2012-03-13 David S. Miller <davem@davemloft.net>
6397 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6398 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6400 rtld-global-offsets.h
6401 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6403 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6406 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6408 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6409 'err' in the ifdef scope in which it is actually used.
6411 * nss/nss_db/db-init.c: Include string.h
6413 2012-03-12 David S. Miller <davem@davemloft.net>
6415 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6416 masking out of the most significant byte of random value used.
6417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6418 Fix coding style in previous change.
6420 * sysdeps/unix/sysv/linux/kernel-features.h
6421 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6422 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6424 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6427 2012-03-11 David S. Miller <davem@davemloft.net>
6429 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6430 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6431 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6432 for 'resultvar' otherwise things get truncated on 64-bit.
6434 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6435 Fix masking out of the most significant byte of random value used.
6437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6439 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6443 2012-03-09 David S. Miller <davem@davemloft.net>
6445 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6446 variables with appropriate CPP guards.
6447 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6448 frame pointer, not the stack pointer. Correct layout comments. Fix test
6449 on resulting framesize and the management of the outregs buffer for pltexit.
6450 Preserve floating point return values across _dl_call_pltexit call.
6451 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6452 framesize and the management of the outregs buffer for pltexit.
6453 Preserve floating point return values across _dl_call_pltexit
6455 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6456 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6457 (print_exit): Fix format string for return register value.
6459 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6461 * sunrpc/Makefile (others): Add rpcgen.
6462 ($(objpfx)rpcgen): Remove special build rule and dependency on
6464 * sunrpc/rpcgen.c: New file.
6466 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6469 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6470 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6471 * sysdeps/i386/crti.S: Likewise.
6472 * sysdeps/i386/crtn.S: Likewise.
6473 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6474 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6475 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6476 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6477 * sysdeps/sh/crti.S: Likewise.
6478 * sysdeps/sh/crtn.S: Likewise.
6479 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6482 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6484 * locale/programs/locfile-kw.gperf: Likewise.
6485 * locale/programs/charmap-kw.h: Regenerated.
6486 * locale/programs/locfile-kw.h: Likewise.
6489 * intl/plural.y: Replace FSF snail mail address with URL.
6490 * intl/plural.c: Regenerated.
6492 2012-03-09 Richard Henderson <rth@twiddle.net>
6494 * include/math_private.h: Remove file.
6495 * math/math_private.h: Move file ...
6496 * sysdeps/generic/math_private.h: ... here.
6498 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6499 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6500 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6502 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6503 and <math_private.h>.
6504 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6505 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6506 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6507 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6508 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6516 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6517 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6518 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6519 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6522 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6526 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6528 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6529 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6530 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6533 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6534 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6535 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6536 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6544 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6545 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6546 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6547 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6548 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6549 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6550 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6551 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6552 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6553 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6554 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6555 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6556 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6557 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6560 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6561 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6562 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6563 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6564 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6565 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6566 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6567 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6569 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6570 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6571 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6572 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6573 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6574 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6575 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6576 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6577 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6578 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6579 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6583 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6584 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6585 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6586 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6587 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6588 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6589 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6590 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6591 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6592 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6593 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6594 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6595 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6596 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6597 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6598 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6599 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6600 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6601 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6602 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6603 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6604 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6605 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6606 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6607 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6608 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6609 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6610 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6611 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6612 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6613 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6614 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6615 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6616 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6617 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6618 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6619 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6620 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6621 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6622 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6623 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6624 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6625 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6626 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6627 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6628 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6629 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6630 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6631 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6632 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6633 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6634 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6635 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6636 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6637 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6638 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6639 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6640 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6641 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6642 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6643 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6645 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6646 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6647 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6648 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6649 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6650 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6651 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6652 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6653 * sysdeps/ieee754/k_standard.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6757 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6758 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6767 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6768 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6769 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6773 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6774 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6776 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6781 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6786 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6802 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6803 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6804 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6814 * sysdeps/ieee754/s_lib_version.c: Likewise.
6815 * sysdeps/ieee754/s_matherr.c: Likewise.
6816 * sysdeps/ieee754/s_signgam.c: Likewise.
6817 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6818 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6819 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6820 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6821 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6822 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6823 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6824 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6825 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6826 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6827 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6828 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6829 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6830 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6831 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6832 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6833 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6834 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6835 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6839 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6841 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6842 * sunrpc/rpc_main.c: Likewise.
6843 * sunrpc/rpc_svcout.c: Likewise.
6845 2012-03-09 David S. Miller <davem@davemloft.net>
6847 * include/math_private.h: New file.
6849 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6851 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6852 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6853 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6854 from <bits/socket_type.h>.
6855 (enum __socket_type): Don't define here.
6856 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6861 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6864 * Makerules ($(inst_includedir)/%.h): New rule.
6865 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6866 (install-others): Remove variable setting.
6867 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6869 2012-03-08 Richard Henderson <rth@twiddle.net>
6871 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6872 from macro to inline function; merge with the
6873 !__LIBC_INTERNAL_MATH_INLINES version.
6874 (__ieee754_sqrtf): Likewise.
6876 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6878 (__rintf, __floor, __floorf): Likewise.
6880 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6881 macro to inline function.
6882 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6884 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6885 not <math/math_private.h>.
6887 2012-03-08 David S. Miller <davem@davemloft.net>
6889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6891 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6893 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6895 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6897 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6898 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6900 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6902 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6903 be defined individually, they must be defined as a block. Define
6904 S for printing a string instead of hidint the different by using a
6905 macro for adding the 'l'.
6906 * stdio-common/tst-fphex-wide.c: Adjust.
6908 2012-03-07 Marek Polacek <polacek@redhat.com>
6910 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6912 2012-03-08 Marek Polacek <polacek@redhat.com>
6915 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6916 * stdio-common/tst-fphex.c: Define a few macros to make the
6917 test reusable. Use them.
6918 * stdio-common/tst-fphex-wide.c: New file.
6920 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6923 * manual/macros.texi (gnusystems): New macro.
6924 (nongnusystems): Likewise.
6925 (gnulinuxhurdsystems): Likewise.
6926 (gnuhurdsystems): Likewise..
6927 (gnulinuxsystems): Likewise.
6928 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6929 variants of the GNU system, not "GNU system".
6930 * manual/conf.texi: Likewise.
6931 * manual/errno.texi: Likewise. Update example of errno macro
6933 * manual/filesys.texi: Likewise.
6934 (getumask): Document as specific to GNU/Hurd.
6935 * manual/install.texi: Likewise. Reword some references to
6937 * manual/intro.texi: Likewise.
6938 * manual/io.texi: Likewise.
6939 (File Name Portability): Detail which constraints are inapplicable
6940 to all GNU systems and which are only inapplicable to GNU/Hurd.
6941 * manual/job.texi: Likewise.
6942 * manual/llio.texi: Likewise.
6943 (O_NOCTTY): Document as present on GNU/Linux.
6944 * manual/maint.texi: Likewise.
6945 * manual/memory.texi: Likewise.
6946 * manual/pattern.texi: Likewise.
6947 * manual/pipe.texi: Likewise.
6948 * manual/process.texi: Likewise.
6949 * manual/resource.texi: Likewise.
6950 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6952 * manual/setjmp.texi: Likewise.
6953 * manual/signal.texi: Likewise.
6954 * manual/startup.texi: Likewise.
6955 * manual/stdio.texi: Likewise.
6956 * manual/terminal.texi: Likewise.
6957 (ONLCR): Document as POSIX.
6958 (OXTABS): Document availability on GNU/Linux as XTABS.
6959 (ONOEOT): Document availability separately from other bits.
6960 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6961 * manual/time.texi: Likewise.
6962 * manual/users.texi: Likewise.
6963 * INSTALL: Regenerated.
6964 * sysdeps/gnu/errlist.c: Regenerated.
6966 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6967 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6968 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6970 * configure: Regenerated.
6972 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6974 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6975 default includes instead of AC_HEADER_CHECK.
6976 * sysdeps/i386/configure: Regenerated.
6979 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6980 * math/s_cacoshf.c (__cacoshf): Likewise.
6981 * math/s_cacoshl.c (__cacoshl): Likewise.
6982 * math/s_casinh.c (__casinh): Set signs of result from argument.
6983 * math/s_casinhf.c (__casinhf): Likewise.
6984 * math/s_casinhl.c (__casinhl): Likewise.
6985 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6986 (casinh_test): Add more tests.
6987 * sysdeps/i386/fpu/libm-test-ulps: Update.
6988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6990 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6992 * po/zh_TW.po: Update from translation team.
6994 * login/Makefile (distribute): Remove variable.
6995 * catgets/Makefile: Likewise.
6996 * mach/Makefile: Likewise.
6997 * malloc/Makefile: Likewise.
6998 * misc/Makefile: Likewise.
6999 * iconv/Makefile: Likewise.
7000 * nscd/Makefile: Likewise.
7001 * hurd/Makefile: Likewise.
7002 * manual/Makefile: Likewise.
7003 * locale/Makefile: Likewise.
7004 * intl/Makefile: Likewise.
7005 * conform/Makefile: Likewise.
7006 * nss/Makefile: Likewise.
7007 * time/Makefile: Likewise.
7008 * soft-fp/Makefile: Likewise.
7009 * dirent/Makefile: Likewise.
7010 * gmon/Makefile: Likewise.
7011 * po/Makefile: Likewise.
7012 * rt/Makefile: Likewise.
7013 * socket/Makefile: Likewise.
7014 * math/Makefile: Likewise.
7015 * signal/Makefile: Likewise.
7016 * debug/Makefile: Likewise.
7017 * elf/Makefile: Likewise.
7018 * timezone/Makefile: Likewise.
7019 * stdlib/Makefile: Likewise.
7020 * iconvdata/Makefile: Likewise.
7021 * sunrpc/Makefile: Likewise.
7022 * io/Makefile: Likewise.
7023 * argp/Makefile: Likewise.
7024 * inet/Makefile: Likewise.
7025 * hesiod/Makefile: Likewise.
7026 * grp/Makefile: Likewise.
7027 * csu/Makefile: Likewise.
7028 * wctype/Makefile: Likewise.
7029 * crypt/Makefile: Likewise.
7030 * libio/Makefile: Likewise.
7031 * string/Makefile: Likewise.
7032 * nis/Makefile: Likewise.
7033 * resolv/Makefile: Likewise.
7034 * stdio-common/Makefile: Likewise.
7035 * wcsmbs/Makefile: Likewise.
7036 * dlfcn/Makefile: Likewise.
7037 * posix/Makefile: Likewise.
7040 * timezone/Makefile: Don't install timezone files, just the programs
7043 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7045 * nss/databases.def: Add missing gshadow entry.
7047 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7049 2012-03-06 Marek Polacek <polacek@redhat.com>
7052 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7053 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7054 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7055 * stdio-common/tst-long-dbl-fphex.c: New file.
7057 2012-03-06 David S. Miller <davem@davemloft.net>
7059 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7060 (set_obp_int): New function.
7061 (get_obp_int): New function.
7062 (__get_clockfreq_via_dev_openprom): Likewise.
7063 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7064 Avoid unused variable warnings on 'val' and use builtin_expect.
7065 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7067 (INLINE_CLONE_SYSCALL): Likewise.
7069 2012-03-05 David S. Miller <davem@davemloft.net>
7071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7073 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7077 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7079 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7081 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7083 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7084 Replace gettimeofday with __vdso_gettimeofday.
7086 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7087 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7088 __vdso_clock_gettime and __vdso_getcpu.
7090 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7091 time with __vdso_time.
7093 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7095 * manual/lang.texi (size_t): Note types to which size_t may be
7096 equivalent with the GNU C Library, but do not describe when
7097 differences between them are significant.
7099 2012-03-05 Andreas Jaeger <aj@suse.de>
7101 * sysdeps/i386/fpu/libm-test-ulps: Update.
7103 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7106 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7107 (__ieee754_pow): Save and restore rounding mode and use
7108 round-to-nearest for main computations.
7109 * math/libm-test.inc (pow_test_tonearest): New function.
7110 (pow_test_towardzero): Likewise.
7111 (pow_test_downward): Likewise.
7112 (pow_test_upward): Likewise.
7113 (main): Call the new functions.
7114 * sysdeps/i386/fpu/libm-test-ulps: Update.
7115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7118 * math/libm-test.inc (cosh_test_tonearest): New function.
7119 (cosh_test_towardzero): Likewise.
7120 (cosh_test_downward): Likewise.
7121 (cosh_test_upward): Likewise.
7122 (sinh_test_tonearest): Likewise.
7123 (sinh_test_towardzero): Likewise.
7124 (sinh_test_downward): Likewise.
7125 (sinh_test_upward): Likewise.
7126 (main): Call the new functions.
7127 * sysdeps/i386/fpu/libm-test-ulps: Update.
7128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7130 2012-03-05 Tom de Vries <tom@codesourcery.com>
7132 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7133 default stack guard is set in last bytes.
7134 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7136 2012-03-05 Kees Cook <keescook@chromium.org>
7138 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7141 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7142 possibly allocate from heap instead of stack.
7143 * stdio-common/bug-vfprintf-nargs.c: New file.
7144 * stdio-common/Makefile (tests): Add nargs overflow test.
7146 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7148 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7150 2012-03-03 Marek Polacek <polacek@redhat.com>
7152 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7153 * math/math_private.h: Likewise.
7154 * stdlib/tst-strtod.c: Likewise.
7155 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7156 * sysdeps/x86_64/bits/atomic.h: Likewise.
7158 2012-03-02 David S. Miller <davem@davemloft.net>
7160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7164 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7165 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7166 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7167 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7169 2012-03-02 Roland McGrath <roland@hack.frob.com>
7172 * manual/examples/README: New file, says the example source files
7173 can be used under GPL>=2.
7174 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7175 line containing just "*/".
7176 * manual/examples/add.c: Add copyright header (GPL>=2).
7177 * manual/examples/argp-ex1.c: Likewise.
7178 * manual/examples/argp-ex2.c: Likewise.
7179 * manual/examples/argp-ex3.c: Likewise.
7180 * manual/examples/argp-ex4.c: Likewise.
7181 * manual/examples/atexit.c: Likewise.
7182 * manual/examples/db.c: Likewise.
7183 * manual/examples/dir.c: Likewise.
7184 * manual/examples/dir2.c: Likewise.
7185 * manual/examples/execinfo.c: Likewise.
7186 * manual/examples/filecli.c: Likewise.
7187 * manual/examples/filesrv.c: Likewise.
7188 * manual/examples/fmtmsgexpl.c: Likewise.
7189 * manual/examples/genpass.c: Likewise.
7190 * manual/examples/inetcli.c: Likewise.
7191 * manual/examples/inetsrv.c: Likewise.
7192 * manual/examples/isockad.c: Likewise.
7193 * manual/examples/longopt.c: Likewise.
7194 * manual/examples/memopen.c: Likewise.
7195 * manual/examples/memstrm.c: Likewise.
7196 * manual/examples/mkfsock.c: Likewise.
7197 * manual/examples/mkisock.c: Likewise.
7198 * manual/examples/mygetpass.c: Likewise.
7199 * manual/examples/pipe.c: Likewise.
7200 * manual/examples/popen.c: Likewise.
7201 * manual/examples/rprintf.c: Likewise.
7202 * manual/examples/search.c: Likewise.
7203 * manual/examples/select.c: Likewise.
7204 * manual/examples/setjmp.c: Likewise.
7205 * manual/examples/sigh1.c: Likewise.
7206 * manual/examples/sigusr.c: Likewise.
7207 * manual/examples/stpcpy.c: Likewise.
7208 * manual/examples/strdupa.c: Likewise.
7209 * manual/examples/strftim.c: Likewise.
7210 * manual/examples/strncat.c: Likewise.
7211 * manual/examples/subopt.c: Likewise.
7212 * manual/examples/swapcontext.c: Likewise.
7213 * manual/examples/termios.c: Likewise.
7214 * manual/examples/testopt.c: Likewise.
7215 * manual/examples/testpass.c: Likewise.
7216 * manual/examples/timeval_subtract.c: Likewise.
7219 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7221 * manual/timeval_subtract.c.texi: ... here, new file.
7223 2012-03-02 David S. Miller <davem@davemloft.net>
7225 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7227 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7230 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7231 (__sin): Save and restore rounding mode and use round-to-nearest
7232 for all computations.
7233 (__cos): Save and restore rounding mode and use round-to-nearest
7234 for all computations.
7235 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7237 (tan): Save and restore rounding mode and use round-to-nearest for
7239 * math/libm-test.inc (cos_test_tonearest): New function.
7240 (cos_test_towardzero): Likewise.
7241 (cos_test_downward): Likewise.
7242 (cos_test_upward): Likewise.
7243 (sin_test_tonearest): Likewise.
7244 (sin_test_towardzero): Likewise.
7245 (sin_test_downward): Likewise.
7246 (sin_test_upward): Likewise.
7247 (tan_test_tonearest): Likewise.
7248 (tan_test_towardzero): Likewise.
7249 (tan_test_downward): Likewise.
7250 (tan_test_upward): Likewise.
7251 (main): Call the new functions.
7252 * sysdeps/i386/fpu/libm-test-ulps: Update.
7253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7256 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7257 small n, then large n, before computing and testing k+n.
7258 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7259 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7263 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7264 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7265 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7266 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7268 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7269 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7270 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7271 * math/libm-test.inc (scalbn_test): Add more tests.
7272 (scalbln_test): Likewise.
7274 * manual/filesys.texi (mode_t): Describe constraints on size and
7275 signedness, not exact equivalence to a particular type.
7277 (ino64_t): Likewise.
7279 (nlink_t): Likewise.
7280 (blkcnt_t): Likewise.
7281 (blkcnt64_t): Likewise.
7282 * manual/llio.texi (off_t): Likewise.
7285 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7286 (__ieee754_exp): Save and restore rounding mode and use
7287 round-to-nearest for all computations.
7288 * math/libm-test.inc (exp_test_tonearest): New function.
7289 (exp_test_towardzero): Likewise.
7290 (exp_test_downward): Likewise.
7291 (exp_test_upward): Likewise.
7292 (main): Call the new functions.
7293 * sysdeps/i386/fpu/libm-test-ulps: Update.
7294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7296 2012-03-01 Chris Demetriou <cgd@google.com>
7298 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7299 have predictable order.
7301 2012-03-01 David S. Miller <davem@davemloft.net>
7303 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7305 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7306 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7307 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7308 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7310 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7311 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7312 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7314 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7315 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7316 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7317 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7318 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7323 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7324 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7326 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7327 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7328 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7329 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7330 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7331 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7332 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7333 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7334 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7335 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7336 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7337 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7338 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7339 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7340 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7341 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7342 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7343 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7344 * sysdeps/sparc/elf/configure: Regenerated.
7346 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7348 * configure.in (AS, LD): Require binutils 2.20 or later.
7349 * configure: Regenerated.
7350 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7351 as required minimum version.
7352 * INSTALL: Regenerated.
7356 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7357 before squaring exponent.
7358 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7359 bottom long double and 27 bits of top long double before squaring
7361 * math/libm-test.inc (erfc_test): Add more tests.
7362 * sysdeps/i386/fpu/libm-test-ulps: Update.
7363 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7366 2012-03-01 Kai Tietz <ktietz@redhat.com>
7368 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7369 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7370 containing bit-fields.
7371 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7372 * soft-fp/single.h (_FP_UNION_S): Likewise.
7373 * soft-fp/double.h (_FP_UNION_D): Likewise.
7375 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7378 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7379 not include ../strcmp.S.
7380 [USE_AS_STRNCASECMP_L]: Likewise.
7381 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7382 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7383 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7384 (__strncasecmp_l_ia32): Define as alias to
7385 __strncasecmp_l_nonascii.
7388 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7389 * sysdeps/i386/fpu/libm-test-ulps: Update.
7390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7392 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7395 2012-02-29 Jeff Law <law@redhat.com>
7397 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7400 2012-02-29 Marek Polacek <polacek@redhat.com>
7403 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7404 * elf/Makefile: Add rules to run tst-unused-dep.out.
7406 2012-02-28 David S. Miller <davem@davemloft.net>
7408 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7409 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7410 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7411 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7412 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7413 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7415 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7417 * math/libm-test.inc (llround_test): Move one test from
7418 lround_test. Use TEST_f_L in moved test.
7419 (lround_test): Move misplaced test to llround_test. Add testcase
7422 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7424 * sysdeps/x86_64/fpu/e_expf.S: New file.
7425 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7427 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7430 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7431 of remain_len that may cause incomplete multi-byte character and
7433 * posix/bug-regex33.c: New file.
7434 * posix/Makefile (tests): Add bug-regex33.
7436 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7438 * manual/macros.texi: New file.
7439 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7440 * manual/libc.texinfo: Include macros.texi.
7441 * manual/creatute.texi: Likewise.
7442 * manual/install.texi: Likewise.
7443 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7444 @glibcadj{} in references to the GNU C Library.
7445 * manual/charset.texi: Likewise.
7446 * manual/conf.texi: Likewise.
7447 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7448 when not using those macros.
7449 * manual/creature.texi: Likewise.
7450 * manual/crypt.texi: Likewise.
7451 * manual/errno.texi: Likewise.
7452 * manual/filesys.texi: Likewise.
7453 * manual/header.texi: Likewise.
7454 * manual/install.texi: Likewise.
7455 * manual/intro.texi: Likewise.
7456 * manual/io.texi: Likewise.
7457 * manual/job.texi: Likewise.
7458 * manual/lang.texi: Likewise.
7459 * manual/libc.texiinfo: Likewise.
7460 * manual/llio.texi: Likewise.
7461 * manual/locale.texi: Likewise.
7462 * manual/maint.texi: Likewise.
7463 * manual/math.texi: Likewise.
7464 * manual/memory.texi: Likewise.
7465 * manual/message.texi: Likewise.
7466 * manual/nss.texi: Likewise.
7467 * manual/pattern.texi: Likewise.
7468 * manual/process.texi: Likewise.
7469 * manual/resource.texi: Likewise.
7470 * manual/search.texi: Likewise.
7471 * manual/setjmp.texi: Likewise.
7472 * manual/signal.texi: Likewise.
7473 * manual/socket.texi: Likewise.
7474 * manual/startup.texi: Likewise.
7475 * manual/stdio.texi: Likewise.
7476 * manual/string.texi: Likewise.
7477 * manual/sysinfo.texi: Likewise.
7478 * manual/syslog.texi: Likewise.
7479 * manual/terminal.texi: Likewise.
7480 * manual/time.texi: Likewise.
7481 * manual/users.texi: Likewise.
7482 * INSTALL: Regenerated.
7483 * NOTES: Regenerated.
7484 * sysdeps/gnu/errlist.c: Regenerated.
7486 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7488 * include/dirent.h: Include <dirstream.h> before
7491 2012-02-28 David S. Miller <davem@davemloft.net>
7493 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7494 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7495 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7496 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7498 2012-02-27 David S. Miller <davem@davemloft.net>
7500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7502 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7503 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7506 frame pointer instead of stack pointer relative arg slot.
7507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7508 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7509 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7511 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7514 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7516 2012-02-27 David S. Miller <davem@davemloft.net>
7518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7522 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7523 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7524 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7525 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7527 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7529 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7530 later. Allow versions 5-9.
7531 * configure: Regenerated.
7532 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7533 required minimum version and 4.6 as recommended version. Do not
7534 mention bugs in GCC 2.7 and 2.8.
7535 * INSTALL: Regenerated.
7537 2012-02-27 David S. Miller <davem@davemloft.net>
7539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7543 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7544 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7545 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7546 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7548 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7549 manipulate bits before adding and subtracting TWO112[sx].
7550 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7552 2012-02-27 Roland McGrath <roland@hack.frob.com>
7555 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7556 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7557 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7558 being in POSIX, because they are in 1003.1-2008.
7560 * rt/tst-aio.c: Include <fcntl.h>.
7561 * rt/tst-aio7.c: Likewise.
7562 * rt/tst-aio64.c: Likewise.
7564 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7566 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7568 * manual/install.texi (--with-headers): Describe headers as
7569 interface headers, not private headers.
7570 (Specific advice for GNU/Linux systems): Describe use of headers
7571 from "make headers_install", not private headers from older
7573 * INSTALL: Regenerated.
7574 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7576 * sysdeps/unix/sysv/linux/configure: Regenerated.
7578 * manual/llio.texi (fclean): Remove documentation.
7580 * manual/Makefile (libc-texi-generated): New variable. Include
7582 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7583 $(libc-texi-generated), not duplicated list of files.
7584 (version.texi, stamp-version): New rules.
7585 (realclean): Remove $(libc-texi-generated), not individual files
7586 from that list. Do not remove dir-add.texinfo.
7587 * manual/libc.texinfo: Comment out uses of edition numbers and
7588 references to printed manual. Remove last-updated dates.
7589 (EDITION): Comment out.
7591 (VERSION, UPDATED): Remove.
7592 (version.texi): Include.
7594 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7596 * sysdeps/posix/spawni.c: Include <signal.h>.
7597 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7598 * sysdeps/pthread/aio_fsync.c: Likewise.
7600 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7602 * conform/Makefile (tests): Run only when not cross-compiling and
7603 when fast-check is not defined.
7605 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7606 * conform/data/limits.h-data: Fixes for POSIX2008.
7607 * conform/run-conformtest.sh: Run all tests.
7608 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7610 * include/bits/dlfcn.h: Likewise.
7611 * include/langinfo.h: Likewise.
7612 * include/monetary.h: Likewise.
7613 * include/sys/poll.h: Likewise.
7615 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7617 * posix/spawn.h: Define __need_sigset_t.
7618 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7619 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7620 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7621 to get sigevent_t only.
7622 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7625 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7626 process_vm_writev only for __USE_GNU.
7627 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7629 * conform/Makefile: For now ignore errors from run-conformtest.
7630 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7631 POSIX to avoid namespace pollution. Don't prepend headers.
7632 * conform/data/aio.h-data: Fixes for POSIX testing.
7633 * conform/data/fcntl.h-data: Likewise.
7634 * conform/data/glob.h-data: Likewise.
7635 * conform/data/grp.h-data: Likewise.
7636 * conform/data/pthread.h-data: Likewise.
7637 * conform/data/pwd.h-data: Likewise.
7638 * conform/data/signal.h-data: Likewise.
7639 * conform/data/spawn.h-data: Likewise.
7640 * conform/data/stdio.h-data: Likewise.
7641 * conform/data/stdlib.h-data: Likewise.
7642 * conform/data/stropts.h-data: Likewise.
7643 * conform/data/sys/mman.h-data: Likewise.
7644 * conform/data/sys/stat.h-data: Likewise.
7645 * conform/data/sys/types.h-data: Likewise.
7646 * conform/data/sys/wait.h-data: Likewise.
7647 * conform/data/time.h-data: Likewise.
7648 * conform/data/unistd.h-data: Likewise.
7649 * conform/data/utime.h-data: Likewise.
7651 * io/sys/stat.h: fchmod was always in POSIX.
7652 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7653 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7654 * rt/aio.h: Define __need_timespec before including <time.h>.
7655 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7656 struct. Add forward declaration of pthread_attr_t and use it in
7658 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7659 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7660 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7661 always remove CLK_TCK definition.
7663 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7665 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7667 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7669 * conform/run-conformtest.sh: New file.
7670 * conform/Makefile: Run run-conformtest for tests.
7671 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7674 * conform/data/uchar.h-data: New file.
7675 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7676 * conform/data/arpa/inet.h-data: Likewise.
7677 * conform/data/assert.h-data: Likewise.
7678 * conform/data/complex.h-data: Likewise.
7679 * conform/data/cpio.h-data: Likewise.
7680 * conform/data/ctype.h-data: Likewise.
7681 * conform/data/dirent.h-data: Likewise.
7682 * conform/data/dlfcn.h-data: Likewise.
7683 * conform/data/errno.h-data: Likewise.
7684 * conform/data/fcntl.h-data: Likewise.
7685 * conform/data/float.h-data: Likewise.
7686 * conform/data/fmtmsg.h-data: Likewise.
7687 * conform/data/fnmatch.h-data: Likewise.
7688 * conform/data/ftw.h-data: Likewise.
7689 * conform/data/glob.h-data: Likewise.
7690 * conform/data/grp.h-data: Likewise.
7691 * conform/data/iconv.h-data: Likewise.
7692 * conform/data/inttypes.h-data: Likewise.
7693 * conform/data/langinfo.h-data: Likewise.
7694 * conform/data/libgen.h-data: Likewise.
7695 * conform/data/limits.h-data: Likewise.
7696 * conform/data/locale.h-data: Likewise.
7697 * conform/data/math.h-data: Likewise.
7698 * conform/data/monetary.h-data: Likewise.
7699 * conform/data/mqueue.h-data: Likewise.
7700 * conform/data/ndbm.h-data: Likewise.
7701 * conform/data/net/if.h-data: Likewise.
7702 * conform/data/netdb.h-data: Likewise.
7703 * conform/data/netinet/in.h-data: Likewise.
7704 * conform/data/nl_types.h-data: Likewise.
7705 * conform/data/poll.h-data: Likewise.
7706 * conform/data/pthread.h-data: Likewise.
7707 * conform/data/pwd.h-data: Likewise.
7708 * conform/data/regex.h-data: Likewise.
7709 * conform/data/sched.h-data: Likewise.
7710 * conform/data/search.h-data: Likewise.
7711 * conform/data/semaphore.h-data: Likewise.
7712 * conform/data/setjmp.h-data: Likewise.
7713 * conform/data/signal.h-data: Likewise.
7714 * conform/data/spawn.h-data: Likewise.
7715 * conform/data/stdarg.h-data: Likewise.
7716 * conform/data/stdio.h-data: Likewise.
7717 * conform/data/stdlib.h-data: Likewise.
7718 * conform/data/string.h-data: Likewise.
7719 * conform/data/strings.h-data: Likewise.
7720 * conform/data/stropts.h-data: Likewise.
7721 * conform/data/sys/ipc.h-data: Likewise.
7722 * conform/data/sys/mman.h-data: Likewise.
7723 * conform/data/sys/msg.h-data: Likewise.
7724 * conform/data/sys/resource.h-data: Likewise.
7725 * conform/data/sys/select.h-data: Likewise.
7726 * conform/data/sys/sem.h-data: Likewise.
7727 * conform/data/sys/shm.h-data: Likewise.
7728 * conform/data/sys/socket.h-data: Likewise.
7729 * conform/data/sys/stat.h-data: Likewise.
7730 * conform/data/sys/statvfs.h-data: Likewise.
7731 * conform/data/sys/time.h-data: Likewise.
7732 * conform/data/sys/timeb.h-data: Likewise.
7733 * conform/data/sys/times.h-data: Likewise.
7734 * conform/data/sys/types.h-data: Likewise.
7735 * conform/data/sys/uio.h-data: Likewise.
7736 * conform/data/sys/un.h-data: Likewise.
7737 * conform/data/sys/utsname.h-data: Likewise.
7738 * conform/data/sys/wait.h-data: Likewise.
7739 * conform/data/syslog.h-data: Likewise.
7740 * conform/data/tar.h-data: Likewise.
7741 * conform/data/termios.h-data: Likewise.
7742 * conform/data/utime.h-data: Likewise.
7743 * conform/data/utmpx.h-data: Likewise.
7744 * conform/data/varargs.h-data: Likewise.
7745 * conform/data/wchar.h-data: Likewise.
7746 * conform/data/wctype.h-data: Likewise.
7747 * conform/data/wordexp.h-data: Likewise.
7749 * include/stropts.h: New file.
7750 * include/uchar.h: New file.
7751 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7752 * include/assert.h: Likewise.
7753 * include/ctype.h: Likewise.
7754 * include/dirent.h: Likewise.
7755 * include/dlfcn.h: Likewise.
7756 * include/fcntl.h: Likewise.
7757 * include/fnmatch.h: Likewise.
7758 * include/glob.h: Likewise.
7759 * include/grp.h: Likewise.
7760 * include/libio.h: Likewise.
7761 * include/locale.h: Likewise.
7762 * include/math.h: Likewise.
7763 * include/net/if.h: Likewise.
7764 * include/netdb.h: Likewise.
7765 * include/netinet/in.h: Likewise.
7766 * include/pthread.h: Likewise.
7767 * include/pwd.h: Likewise.
7768 * include/regex.h: Likewise.
7769 * include/sched.h: Likewise.
7770 * include/search.h: Likewise.
7771 * include/setjmp.h: Likewise.
7772 * include/signal.h: Likewise.
7773 * include/stdio.h: Likewise.
7774 * include/stdlib.h: Likewise.
7775 * include/string.h: Likewise.
7776 * include/sys/cdefs.h: Likewise.
7777 * include/sys/mman.h: Likewise.
7778 * include/sys/msg.h: Likewise.
7779 * include/sys/resource.h: Likewise.
7780 * include/sys/select.h: Likewise.
7781 * include/sys/socket.h: Likewise.
7782 * include/sys/stat.h: Likewise.
7783 * include/sys/statvfs.h: Likewise.
7784 * include/sys/time.h: Likewise.
7785 * include/sys/times.h: Likewise.
7786 * include/sys/uio.h: Likewise.
7787 * include/sys/utsname.h: Likewise.
7788 * include/sys/wait.h: Likewise.
7789 * include/termios.h: Likewise.
7790 * include/time.h: Likewise.
7791 * include/ulimit.h: Likewise.
7792 * include/unistd.h: Likewise.
7793 * include/utime.h: Likewise.
7794 * include/wchar.h: Likewise.
7795 * include/wctype.h: Likewise.
7796 * include/wordexp.h: Likewise.
7798 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7800 * time/time.h: TIME_UTC must be a macro.
7801 Make timespec_get available for ISO C11 only as well.
7803 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7805 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7806 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7808 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7810 * configure.in: Use -o not -a in test for unsupported multi-arch.
7812 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7814 * manual/texinfo.tex: Update to version 2012-01-19.16.
7816 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7818 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7820 2012-02-24 Roland McGrath <roland@hack.frob.com>
7823 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7824 * manual/fdl-1.3.texi: New file.
7825 * manual/fdl-1.1.texi: File removed.
7828 * manual/libc.texinfo (FDL_VERSION): New @set.
7829 Use it for mention of FDL in cover text.
7830 (Documentation License): Use it in @include file name.
7832 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7833 Roland McGrath <roland@hack.frob.com>
7836 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7837 not LONG_LONG_MAX and LONG_LONG_MIN.
7838 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7839 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7841 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7843 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7847 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7848 manipulate bits before adding and subtracting TWO23[sx].
7849 * math/libm-test.inc (nearbyint_test): Add more tests.
7851 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7854 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7855 bits before adding and subtracting TWO23[sx].
7856 * math/libm-test.inc (rint_test): Add more tests.
7857 (rint_test_tonearest): Likewise.
7858 (rint_test_towardzero): Likewise.
7859 (rint_test_downward): Likewise.
7860 (rint_test_upward: Likewise.
7862 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7865 * include/stdc-predef.h: New file. Extracted from features.h.
7866 * include/features.h: Include stdc-predef.h.
7867 * Makefile (headers): Add stdc-predef.h.
7868 * CONFORMANCE (Compiler limitations): Update.
7870 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7872 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7874 2012-02-21 David S. Miller <davem@davemloft.net>
7876 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7877 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7879 2012-02-20 David S. Miller <davem@davemloft.net>
7881 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7882 using a normal save/restore sequence, rather than allocating a
7883 dummy stack frame just to store a frame pointer and restore.
7884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7886 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7888 * manual/install.texi: Fix stray word in line-wrapped comment.
7890 2012-02-20 David S. Miller <davem@davemloft.net>
7892 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7893 both binutils and gcc support GOTDATA.
7895 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7896 "rd %pc" in the PIC register setup sequences.
7898 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7899 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7900 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7901 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7902 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7904 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7905 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7906 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7907 (SYSCALL_ERROR_HANDLER): Likewise.
7908 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7909 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7911 (SYSCALL_ERROR_HANDLER): Likewise.
7913 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7914 (HAVE_GCC_GOTDATA): New.
7915 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7916 relocation support in both binutils and gcc.
7917 * sysdeps/sparc/elf/configure: Regenerate.
7919 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7920 * sysdeps/sparc/sparc32/elf/configure: Delete.
7921 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7922 * sysdeps/sparc/sparc64/elf/configure: Delete.
7923 * sysdeps/sparc/elf/configure.in: New file.
7924 * sysdeps/sparc/elf/configure: Generate.
7926 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7927 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7928 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7929 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7930 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7932 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7934 * manual/install.texi: Do not mention specific glibc version
7936 * manual/libc.texinfo (VERSION, UPDATED): Update.
7937 (@copying): Use @copyright{} and range of years.
7939 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7942 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7943 [crti.S not in sysdirs] (generated): Do not append.
7944 [crti.S not in sysdirs] (omit-deps): Likewise.
7945 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7946 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7947 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7948 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7949 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7951 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7952 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7953 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7954 * csu/defs.awk: Remove file.
7955 * sysdeps/generic/initfini.c: Likewise.
7956 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7958 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7961 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7963 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7964 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7965 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7966 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7967 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7968 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7970 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7971 (__EPOLL_PACKED): Define to empty if not defined by
7973 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7977 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7979 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7980 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7981 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7982 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7984 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7988 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7990 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7992 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7993 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7994 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7997 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7999 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8000 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
8002 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
8004 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
8005 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
8007 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
8009 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
8012 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
8014 * math/w_acos.c: Use non-signaling floating-point comparisons.
8015 * math/w_acosf.c: Likewise.
8016 * math/w_acosh.c: Likewise.
8017 * math/w_acoshf.c: Likewise.
8018 * math/w_acoshl.c: Likewise.
8019 * math/w_acosl.c: Likewise.
8020 * math/w_asin.c: Likewise.
8021 * math/w_asinf.c: Likewise.
8022 * math/w_asinl.c: Likewise.
8023 * math/w_atanh.c: Likewise.
8024 * math/w_atanhf.c: Likewise.
8025 * math/w_atanhl.c: Likewise.
8026 * math/w_exp2.c: Likewise.
8027 * math/w_exp2f.c: Likewise.
8028 * math/w_exp2l.c: Likewise.
8029 * math/w_j0.c: Likewise.
8030 * math/w_j0f.c: Likewise.
8031 * math/w_j0l.c: Likewise.
8032 * math/w_j1.c: Likewise.
8033 * math/w_j1f.c: Likewise.
8034 * math/w_j1l.c: Likewise.
8035 * math/w_jn.c: Likewise.
8036 * math/w_jnf.c: Likewise.
8037 * math/w_log.c: Likewise.
8038 * math/w_log10.c: Likewise.
8039 * math/w_log10f.c: Likewise.
8040 * math/w_log10l.c: Likewise.
8041 * math/w_log2.c: Likewise.
8042 * math/w_log2f.c: Likewise.
8043 * math/w_log2l.c: Likewise.
8044 * math/w_logf.c: Likewise.
8045 * math/w_logl.c: Likewise.
8046 * math/w_sqrt.c: Likewise.
8047 * math/w_sqrtf.c: Likewise.
8048 * math/w_sqrtl.c: Likewise.
8049 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8050 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8051 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8052 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8053 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8055 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8058 * manual/string.texi (strnlen): Use correct parameter name in
8059 equivalent expression.
8061 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8064 * manual/users.texi (seteuid): Consistently use neweuid for
8067 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8070 * manual/nss.texi (Services in the NSS configuration): Correct
8071 list of services in example configuration file.
8073 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8076 * manual/arith.texi: Remove statements about negative zero
8077 behaving identically to zero.
8079 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8082 * manual/install.texi: Do not document upgrading from libc5.
8084 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8087 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8089 2012-02-18 David S. Miller <davem@davemloft.net>
8091 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8092 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8093 %o7 across the call.
8094 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8099 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8100 * sysdeps/sparc/crtn.S: Likewise.
8102 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8104 * aout/Makefile: Remove.
8106 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8109 * manual/examples/argp-ex1.c (main): Format definition in GNU
8111 * manual/examples/argp-ex2.c (main): Likewise.
8112 * manual/examples/argp-ex3.c (main): Likewise.
8113 * manual/examples/argp-ex4.c (main): Likewise.
8114 * manual/examples/longopt.c (main): Use new-style prototype
8116 * manual/examples/strncat.c (main): Specify return type and use
8117 (void) for arguments.
8118 * manual/examples/subopt.c (main): Use char **argv argument.
8120 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8123 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8126 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8129 * manual/string.texi (strchr): Change when strchrnul is
8132 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8135 * manual/locale.texi (setlocale): Document LOCPATH.
8137 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8140 * manual/process.texi (execle): Move @dots{} before last argument.
8142 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8145 * manual/charset.texi (Generic Charset Conversion): Fix typo
8146 (LC_TYPE -> LC_CTYPE).
8148 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8151 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8152 (scalbnf): Likewise.
8153 (scalbnl): Likewise.
8154 (scalbln): Likewise.
8155 (scalblnf): Likewise.
8156 (scalblnl): Likewise.
8157 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8161 * manual/filesys.texi (telldir): Use braces around return type.
8162 * manual/llio.texi (mmap): Add space after comma.
8164 * manual/math.texi (jn): Use @var{} on parameter names.
8170 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8172 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8174 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8175 (sched_get_priority_max): Likewise.
8176 * manual/signal.texi (sigvec): Add space after comma.
8177 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8179 (if_indextoname): Likewise.
8180 (if_freenameindex): Likewise.
8181 (sendto): Use ',' instead of '.' in prototype.
8182 * manual/startup.texi (syscall): Use @dots{} instead of literal
8184 * manual/stdio.texi (__fpending): Separate initial words of
8185 paragraph from @deftypefun line.
8186 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8188 (vsyslog): Use @var{} on parameter names.
8189 * manual/terminal.texi (stty): Use @var{} on parameter names.
8190 * manual/users.texi (getutmp): Use @var{} on parameter names.
8191 (getutmpx): Likewise.
8193 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8196 * manual/stdio.texi (fopen): Fix typos in description of
8199 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8202 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8203 get clock_id definition.
8205 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8208 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8209 (madvise): Cast every argument to void on its own.
8211 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8214 * manual/startup.texi (Exit Status): Fix typo.
8216 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8219 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8220 * manual/examples/argp-ex2.c: Likewise.
8221 * manual/examples/argp-ex3.c: Likewise.
8223 2012-02-16 Richard Henderson <rth@redhat.com>
8225 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8226 * sysdeps/s390/s390-32/initfini.c: Remove.
8227 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8228 * sysdeps/s390/s390-64/initfini.c: Remove.
8230 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8232 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8233 compiler output for sysdeps/generic/initfini.c.
8234 * sysdeps/sh/elf/initfini.c: Remove file.
8236 2012-02-16 David S. Miller <davem@davemloft.net>
8239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8241 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8242 * sysdeps/sparc/crti.S: New file.
8243 * sysdeps/sparc/crtn.S: New file.
8244 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8245 * sysdeps/sparc/sparc64/Makefile: Likewise.
8247 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8250 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8252 2012-02-15 Roland McGrath <roland@hack.frob.com>
8255 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8257 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8258 (write, read, close): Likewise.
8259 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8261 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8263 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8264 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8265 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8266 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8268 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8272 2012-02-14 Marek Polacek <polacek@redhat.com>
8274 * sysdeps/x86_64/crti.S: New file.
8275 * sysdeps/x86_64/crtn.S: New file.
8276 * sysdeps/x86_64/elf/initfini.c: Remove file.
8278 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8280 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8281 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8282 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8283 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8285 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8286 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8289 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8291 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8292 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8293 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8294 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8296 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8300 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8302 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8303 __feraiseexcept instead of feraiseexcept.
8305 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8306 nanosleep invocations.
8307 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8308 strings, and add error checking for a nanosleep invocations.
8310 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8312 Replace FSF snail mail address with URLs, as per GNU coding standards.
8313 Most of the snail mail addresses were wrong anyway, and omitting
8314 them makes the source code easier to maintain. Almost all of the
8315 changes are to license notices and to locale LC_IDENTIFICATION
8316 addresses, except for this one:
8317 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8318 not its snail mail address.
8320 2012-02-09 Richard Henderson <rth@twiddle.net>
8322 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8323 of kernel-features.h.
8325 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8327 2012-02-08 Marek Polacek <polacek@redhat.com>
8329 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8330 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8331 * sysdeps/gnu/_G_config.h: Likewise.
8332 * sysdeps/generic/_G_config.h: Likewise.
8334 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8336 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8340 * sysdeps/powerpc/powerpc32/crti.S: New file.
8341 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8342 * sysdeps/powerpc/powerpc64/crti.S: New file.
8343 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8345 * Makeconfig (have-initfini): Don't set.
8346 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8347 * configure.in (nopic_initfini): Don't substitute.
8348 * config.h.in (HAVE_INITFINI): Don't #undef.
8349 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8350 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8352 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8354 Support crti.S and crtn.S provided directly by architectures.
8355 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8356 [crti.S in sysdirs] (omit-deps): Likewise.
8357 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8358 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8359 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8360 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8361 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8362 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8363 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8364 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8365 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8366 compiler output for sysdeps/generic/initfini.c.
8367 * sysdeps/i386/elf/Makefile: Remove file.
8368 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8370 2012-02-07 Marek Polacek <polacek@redhat.com>
8372 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8373 * sysdeps/gnu/_G_config.h: Likewise.
8374 * sysdeps/mach/hurd/_G_config.h: Likewise.
8376 2012-02-07 Marek Polacek <polacek@redhat.com>
8378 * math/Makefile (tests): Add tst-CMPLX2.
8379 * math/tst-CMPLX2.c: New file.
8381 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8383 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8385 * math/libm-test.inc (jn_test): Add missing L suffix.
8387 2012-02-06 Marek Polacek <polacek@redhat.com>
8389 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8390 * sysdeps/i386/fpu/e_powf.S: Likewise.
8391 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8392 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8393 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8394 * sysdeps/i386/fpu/e_pow.S: Likewise.
8395 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8396 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8397 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8398 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8399 * sysdeps/i386/fpu/e_log2.S: Likewise.
8400 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8401 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8402 * sysdeps/i386/fpu/e_powl.S: Likewise.
8403 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8404 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8405 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8406 * sysdeps/i386/fpu/e_logl.S: Likewise.
8407 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8408 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8409 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8410 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8411 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8412 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8413 * sysdeps/i386/fpu/e_log.S: Likewise.
8414 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8415 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8416 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8417 * sysdeps/i386/fpu/e_logf.S: Likewise.
8418 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8419 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8420 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8421 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8422 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8423 * sysdeps/i386/fpu/e_log10.S: Likewise.
8424 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8425 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8426 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8427 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8428 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8429 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8430 * sysdeps/i386/asm-syntax.h: Likewise.
8431 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8432 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8433 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8434 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8435 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8436 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8437 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8438 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8439 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8440 * sysdeps/powerpc/sysdep.h: Likewise.
8441 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8442 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8444 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8447 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8449 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8451 * sysdeps/i386/sysdep.h: Include <features.h>.
8452 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8455 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8457 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8459 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8462 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8464 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8465 (SETUP_PIC_REG): Use GET_PC_THUNK.
8466 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8469 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8471 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8472 for non-PIC compilation.
8473 (SETUP_PIC_REG): Add .p2align directive.
8474 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8475 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8476 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8477 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8478 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8479 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8480 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8481 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8482 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8483 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8484 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8485 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8486 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8487 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8488 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8489 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8490 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8491 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8492 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8493 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8494 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8495 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8496 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8497 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8498 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8499 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8500 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8501 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8502 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8503 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8504 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8505 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8506 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8507 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8508 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8509 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8510 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8511 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8512 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8513 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8514 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8516 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8518 * math/tst-CMPLX.c: Include <stdio.h>.
8520 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8522 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8524 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8525 * sysdeps/sparc/bits/mathdef.h: Likewise.
8527 2012-01-31 Marek Polacek <polacek@redhat.com>
8529 * libio/libio.h: Don't define _PARAMS.
8530 * locale/programs/config.h: Don't define PARAMS.
8531 * stdlib/strtol_l.c: Likewise.
8532 (__strtol_l): Remove PARAMS from the prototype.
8534 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8536 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8537 names. Just use the correct names. Remove unnecessary wrapper
8539 * malloc/arena.c: Likewise.
8540 * malloc/hooks.c: Likewise.
8542 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8543 ARENA_TEST says not to. Simplify test for creation of a new arena.
8544 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8546 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8548 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8550 (update_get_addr): New function.
8551 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8552 GET_ADDR_MODULE parameter.
8554 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8556 * crypt/cert.c: Remove __STDC__ conditionals.
8557 * crypt/crypt-entry.c: Likewise.
8558 * crypt/crypt_util.c: Likewise.
8559 * libio/filedoalloc.c: Likewise.
8560 * libio/fileops.c: Likewise.
8561 * libio/genops.c: Likewise.
8562 * libio/iofclose.c: Likewise.
8563 * libio/iofdopen.c: Likewise.
8564 * libio/iofopen.c: Likewise.
8565 * libio/iofopen64.c: Likewise.
8566 * libio/iogetdelim.c: Likewise.
8567 * libio/iopopen.c: Likewise.
8568 * libio/obprintf.c: Likewise.
8569 * libio/oldfileops.c: Likewise.
8570 * libio/oldiofclose.c: Likewise.
8571 * libio/oldiofdopen.c: Likewise.
8572 * libio/oldiofopen.c: Likewise.
8573 * libio/oldiopopen.c: Likewise.
8574 * libio/wfiledoalloc.c: Likewise.
8575 * libio/wgenops.c: Likewise.
8576 * locale/programs/xmalloc.c: Likewise.
8577 * misc/syslog.c: Likewise.
8578 * stdio-common/xbug.c: Likewise.
8579 * string/memchr.c: Likewise.
8580 * string/memcmp.c: Likewise.
8581 * string/memrchr.c: Likewise.
8582 * string/rawmemchr.c: Likewise.
8583 * sysdeps/posix/getcwd.c: Likewise.
8584 * time/strftime_l.c: Likewise.
8586 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8588 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8589 * config.make.in (config-cflags-sse2avx): Define.
8590 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8593 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8595 * scripts/config.guess: Update from upstream config git repository.
8596 * scripts/config.sub: Likewise.
8598 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8600 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8602 (R_TILEPRO_*, R_TILEGX_*): New macros.
8604 * scripts/firstversions.awk: Fix bug in version range handling.
8606 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8608 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8610 * include/sys/epoll.h: New file.
8611 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8614 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8616 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8617 Avoid unnecessary __WORDSIZE == 64 test.
8618 (fmaxf): Use VEX format if possible.
8623 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8624 * math/math_private.h: Remove libc_fegetround* and
8626 * sysdeps/i386/configure.in: Check for -msse2avx.
8627 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8628 also if SSE2AVX is defined.
8629 Remove libc_fegetround* and libc_fesetround*.
8630 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8631 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8632 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8634 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8635 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8636 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8637 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8638 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8640 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8642 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8644 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8646 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8648 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8651 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8653 * Makeconfig (libm): Define.
8654 * elf/Makefile: Add rules to build and run tst-relsort1.
8655 * elf/tst-relsort1.c: New file.
8656 * elf/tst-relsort1mod1.c: New file.
8657 * elf/tst-relsort1mod2.c: New file.
8659 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8661 * math/s_ldexp.c: Remove __STDC__ conditionals.
8662 * math/s_ldexpf.c: Likewise.
8663 * math/s_ldexpl.c: Likewise.
8664 * math/s_nextafter.c: Likewise.
8665 * math/s_nexttowardf.c: Likewise.
8666 * math/s_significand.c: Likewise.
8667 * math/s_significandf.c: Likewise.
8668 * math/s_significandl.c: Likewise.
8669 * math/w_jnl.c: Likewise.
8670 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8671 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8672 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8673 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8674 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8689 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8690 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8691 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8692 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8693 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8694 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8695 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8696 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8697 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8698 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8699 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8700 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8701 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8702 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8703 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8704 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8705 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8706 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8707 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8708 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8709 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8710 * sysdeps/ieee754/k_standard.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8743 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8760 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8764 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8768 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8769 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8770 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8771 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8772 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8773 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8774 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8776 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8777 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8779 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8780 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8781 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8783 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8784 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8785 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8786 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8788 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8789 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8790 * sysdeps/ieee754/s_matherr.c: Likewise.
8791 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8792 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8793 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8794 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8796 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8798 * crypt/md5.h: Remove __STDC__ conditionals.
8799 * libio/libioP.h: Likewise.
8800 * locale/programs/config.h: Likewise.
8801 * sysdeps/generic/sysdep.h: Likewise.
8802 * sysdeps/i386/asm-syntax.h: Likewise.
8803 * sysdeps/s390/asm-syntax.h: Likewise.
8804 * sysdeps/unix/sysdep.h: Likewise.
8805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8808 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8810 * libio/libio.h: Remove __STDC__ conditionals.
8811 * malloc/obstack.h: Likewise.
8812 * math/complex.h: Likewise.
8813 * math/math.h: Likewise.
8814 * sysdeps/generic/_G_config.h: Likewise.
8815 * sysdeps/gnu/_G_config.h: Likewise.
8816 * sysdeps/mach/hurd/_G_config.h: Likewise.
8817 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8818 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8819 * sysdeps/sparc/bits/mathdef.h: Likewise.
8821 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8824 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8825 Clean up HAS_* macros.
8826 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8827 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8829 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8831 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8832 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8833 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8834 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8835 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8837 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8839 * elf/tst-unique3.cc (gets): Remove declaration.
8840 * elf/tst-unique3lib.cc (gets): Likewise.
8841 * elf/tst-unique3lib2.cc (gets): Likewise.
8842 * elf/tst-unique4.cc (gets): Likewise.
8844 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8846 * include/stdio.h: Add C++ protection. Add gets declarations and
8848 * debug/tst-chk1.c: Don't declare gets here.
8849 * stdio-common/tst-gets.c: Likewise.
8851 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8853 * posix/glob: Remove directory.
8855 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8857 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8859 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8861 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8862 of the non-standard EPFNOSUPPORT.
8864 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8866 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8867 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8868 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8870 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8872 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8874 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8876 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8878 * nscd/grpcache.c (cache_addgr): Likewise.
8879 * nscd/hstcache.c (cache_addhst): Likewise.
8880 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8881 * nscd/pwdcache.c (cache_addpw): Likewise.
8882 * nscd/servicescache.c (cache_addserv): Likewise.
8884 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8886 * malloc/malloc.c: Various cleanups.
8887 * malloc/hooks.c: Likewise.
8889 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8890 * stdlib/bug-fmtmsg1.c: New file.
8892 * stdlib/fmtmsg.c (init): Add missing unlock.
8893 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8895 2012-01-12 Marek Polacek <polacek@redhat.com>
8897 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8900 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8902 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8903 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8904 macro to ensure uniqueness of label name.
8905 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8906 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8908 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8910 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8912 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8913 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8914 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8917 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8919 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8921 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8922 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8923 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8925 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8927 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8928 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8929 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8930 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8932 * math/bits/math-finite.h: Add ldexp support.
8934 2012-01-10 Marek Polacek <polacek@redhat.com>
8936 * locale/programs/localedef.h (show_archive_content): Add noreturn
8939 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8941 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8943 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8945 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8947 * io/Makefile (headers): Add bits/poll2.h.
8949 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8952 typo #include statement.
8954 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8956 * include/sys/cdefs.h: Define __attribute_alloc_size.
8957 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8958 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8959 * elf/pldd.c: Likewise.
8960 * iconv/iconv_charmap.c: Likewise.
8961 * iconv/iconvconfig.c: Likewise.
8962 * iconv/strtab.c: Likewise.
8963 * locale/programs/locale.c: Likewise.
8964 * locale/programs/localedef.h: Likewise.
8965 * locale/programs/simple-hash.c: Likewise.
8966 * nscd/nscd.h: Likewise.
8967 * nss/makedb.c: Likewise.
8968 * sysdeps/generic/ldconfig.h: Likewise.
8969 * locale/programs/localedef.c: Remove xmalloc prototype.
8970 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8972 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8974 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8977 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8979 * math/Makefile (tests): Add tst-CMPLX.
8980 * math/tst-CMPLX.c: New file.
8982 * math/complex.h (CMPLXL): Fix typo.
8984 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8985 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8987 * debug/tst-chk1.c: Add poll and ppoll tests.
8988 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8989 * include/sys/poll.h: Add hidden proto for ppoll.
8990 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8991 * sysdeps/mach/hurd/ppoll.c: Likewise.
8992 * io/ppoll.c: Likewise.
8993 * debug/poll_chk.c: New file.
8994 * debug/ppoll_chk.c: New file.
8995 * include/bits/poll2.h: New file.
8996 * io/bits/poll2.h: New file.
8999 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
9001 * configure.in: static is always set to yes. Remove.
9002 * config.make.in: Don't set build-static.
9003 * Makeconfig: Remove use of build-static.
9004 * dlfcn/Makefile: Likewise.
9005 * elf/Makefile: Likewise.
9006 * math/Makefile: Likewise.
9007 * misc/Makefile: Likewise.
9008 * nptl/Makefile: Likewise.
9009 * sysdeps/mach/hurd/Makefile: Likewise.
9011 * configure.in: PWD_P is not used anymore.
9012 * config.make.in: Remove PWD_P entry.
9014 * configure.in: Remove last remnants of RANLIB.
9015 No need to check for signed size_t anymore.
9016 Don't set libc_commonpagesize and libc_relro_required here for Alpha
9018 Remove __builtin_expect test because we require at least gcc 3.4.
9019 * aclocal.m4: Likewise.
9021 * wcsmbs/mbrtoc16.c: Implement using towc function.
9022 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
9023 * wcsmbs/wcsmbsload.c: Likewise.
9024 * iconv/gconv_simple.c: Likewise.
9025 * iconv/gconv_int.h: Likewise.
9026 * iconv/gconv_builtin.h: Likewise.
9027 * iconv/iconv_prog.c: Remove CHAR16 handling.
9029 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9031 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9033 * configure.in: Remove --with-elf and --enable-bounded options.
9034 Dont set base_machine for ia64. More non-ELF conditions removed.
9035 Remove testing and setting of leading underscore information.
9036 * config.make.in (build-bounded): Set to no.
9037 * config.h.in: Remove NO_UNDERSCORES entry.
9038 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9040 * csu/start.c: Remove !NO_UNDERSCORE code.
9041 * locale/localeinfo.h: Likewise.
9042 * sysdeps/generic/machine-gmon.h: Likewise.
9043 * sysdeps/generic/sysdep.h: Likewise.
9044 * sysdeps/i386/sysdep.h: Likewise.
9045 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9046 * sysdeps/mach/sysdep.h: Likewise.
9047 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9048 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9049 * sysdeps/sh/sysdep.h: Likewise.
9050 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9051 * sysdeps/unix/i386/sysdep.S: Likewise.
9052 * sysdeps/unix/sparc/start.c: Likewise.
9053 * sysdeps/unix/sparc/sysdep.S: Likewise.
9054 * sysdeps/unix/sparc/sysdep.h: Likewise.
9055 * sysdeps/unix/start.c: Likewise.
9056 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9057 * sysdeps/x86_64/sysdep.h: Likewise.
9059 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9062 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9064 * argp/argp-fmtstream.h: Use const instead __const.
9065 * argp/argp.h: Likewise.
9066 * assert/assert.h: Likewise.
9067 * bits/fenv.h: Likewise.
9068 * bits/sched.h: Likewise.
9069 * bits/sigset.h: Likewise.
9070 * bits/sigthread.h: Likewise.
9071 * catgets/nl_types.h: Likewise.
9072 * conform/data/pthread.h-data: Likewise.
9073 * crypt/crypt-private.h: Likewise.
9074 * crypt/crypt.h: Likewise.
9075 * crypt/crypt_util.c: Likewise.
9076 * ctype/ctype.h: Likewise.
9077 * debug/execinfo.h: Likewise.
9078 * debug/mbsnrtowcs_chk.c: Likewise.
9079 * debug/mbsrtowcs_chk.c: Likewise.
9080 * debug/wcsnrtombs_chk.c: Likewise.
9081 * debug/wcsrtombs_chk.c: Likewise.
9082 * debug/wcstombs_chk.c: Likewise.
9083 * dirent/dirent.h: Likewise.
9084 * dlfcn/dlfcn.h: Likewise.
9085 * elf/neededtest4.c: Likewise.
9086 * grp/grp.h: Likewise.
9087 * gshadow/gshadow.h: Likewise.
9088 * iconv/gconv.h: Likewise.
9089 * iconv/gconv_int.h: Likewise.
9090 * iconv/gconv_simple.c: Likewise.
9091 * iconv/iconv.h: Likewise.
9092 * iconv/loop.c: Likewise.
9093 * iconv/skeleton.c: Likewise.
9094 * include/aio.h: Likewise.
9095 * include/aliases.h: Likewise.
9096 * include/argz.h: Likewise.
9097 * include/arpa/inet.h: Likewise.
9098 * include/assert.h: Likewise.
9099 * include/dirent.h: Likewise.
9100 * include/dlfcn.h: Likewise.
9101 * include/execinfo.h: Likewise.
9102 * include/fcntl.h: Likewise.
9103 * include/fenv.h: Likewise.
9104 * include/glob.h: Likewise.
9105 * include/grp.h: Likewise.
9106 * include/libintl.h: Likewise.
9107 * include/mntent.h: Likewise.
9108 * include/netdb.h: Likewise.
9109 * include/pwd.h: Likewise.
9110 * include/rpc/netdb.h: Likewise.
9111 * include/sched.h: Likewise.
9112 * include/search.h: Likewise.
9113 * include/shadow.h: Likewise.
9114 * include/signal.h: Likewise.
9115 * include/stdio.h: Likewise.
9116 * include/stdlib.h: Likewise.
9117 * include/string.h: Likewise.
9118 * include/sys/socket.h: Likewise.
9119 * include/sys/stat.h: Likewise.
9120 * include/sys/statfs.h: Likewise.
9121 * include/sys/statvfs.h: Likewise.
9122 * include/sys/syslog.h: Likewise.
9123 * include/sys/time.h: Likewise.
9124 * include/sys/uio.h: Likewise.
9125 * include/time.h: Likewise.
9126 * include/unistd.h: Likewise.
9127 * include/utmp.h: Likewise.
9128 * include/wchar.h: Likewise.
9129 * include/wctype.h: Likewise.
9130 * inet/aliases.h: Likewise.
9131 * inet/arpa/inet.h: Likewise.
9132 * inet/netinet/ether.h: Likewise.
9133 * inet/netinet/in.h: Likewise.
9134 * intl/libintl.h: Likewise.
9135 * io/bits/fcntl2.h: Likewise.
9136 * io/fcntl.h: Likewise.
9137 * io/ftw.h: Likewise.
9138 * io/sys/poll.h: Likewise.
9139 * io/sys/stat.h: Likewise.
9140 * io/sys/statfs.h: Likewise.
9141 * io/sys/statvfs.h: Likewise.
9142 * io/utime.h: Likewise.
9143 * libio/bits/stdio.h: Likewise.
9144 * libio/bits/stdio2.h: Likewise.
9145 * libio/libio.h: Likewise.
9146 * libio/libioP.h: Likewise.
9147 * libio/stdio.h: Likewise.
9148 * locale/lc-ctype.c: Likewise.
9149 * locale/locale.h: Likewise.
9150 * login/utmp.h: Likewise.
9151 * malloc/arena.c: Likewise.
9152 * malloc/malloc.c: Likewise.
9153 * malloc/malloc.h: Likewise.
9154 * malloc/mcheck.c: Likewise.
9155 * malloc/mtrace.c: Likewise.
9156 * math/bits/mathcalls.h: Likewise.
9157 * math/fenv.h: Likewise.
9158 * math/math_private.h: Likewise.
9159 * misc/bits/error.h: Likewise.
9160 * misc/bits/syslog.h: Likewise.
9161 * misc/err.h: Likewise.
9162 * misc/error.h: Likewise.
9163 * misc/fstab.h: Likewise.
9164 * misc/mntent.h: Likewise.
9165 * misc/regexp.h: Likewise.
9166 * misc/search.h: Likewise.
9167 * misc/sgtty.h: Likewise.
9168 * misc/sys/mman.h: Likewise.
9169 * misc/sys/syslog.h: Likewise.
9170 * misc/sys/uio.h: Likewise.
9171 * misc/sys/xattr.h: Likewise.
9172 * misc/ttyent.h: Likewise.
9173 * nis/rpcsvc/ypclnt.h: Likewise.
9174 * nss/nss.h: Likewise.
9175 * posix/bits/unistd.h: Likewise.
9176 * posix/fnmatch.h: Likewise.
9177 * posix/glob.h: Likewise.
9178 * posix/sched.h: Likewise.
9179 * posix/spawn.h: Likewise.
9180 * posix/sys/wait.h: Likewise.
9181 * posix/unistd.h: Likewise.
9182 * posix/wordexp.h: Likewise.
9183 * pwd/pwd.h: Likewise.
9184 * resolv/netdb.h: Likewise.
9185 * resource/sys/resource.h: Likewise.
9186 * rt/aio.h: Likewise.
9187 * rt/bits/mqueue2.h: Likewise.
9188 * rt/mqueue.h: Likewise.
9189 * shadow/shadow.h: Likewise.
9190 * signal/signal.h: Likewise.
9191 * socket/send.c: Likewise.
9192 * socket/sendto.c: Likewise.
9193 * socket/sys/socket.h: Likewise.
9194 * stdio-common/printf.h: Likewise.
9195 * stdlib/bits/stdlib.h: Likewise.
9196 * stdlib/fmtmsg.h: Likewise.
9197 * stdlib/monetary.h: Likewise.
9198 * stdlib/stdlib.h: Likewise.
9199 * stdlib/ucontext.h: Likewise.
9200 * streams/stropts.h: Likewise.
9201 * string/argz.h: Likewise.
9202 * string/bits/string2.h: Likewise.
9203 * string/string.h: Likewise.
9204 * string/strings.h: Likewise.
9205 * sunrpc/rpc/auth.h: Likewise.
9206 * sunrpc/rpc/auth_des.h: Likewise.
9207 * sunrpc/rpc/clnt.h: Likewise.
9208 * sunrpc/rpc/netdb.h: Likewise.
9209 * sunrpc/rpc/pmap_clnt.h: Likewise.
9210 * sunrpc/rpc/xdr.h: Likewise.
9211 * sysdeps/generic/inttypes.h: Likewise.
9212 * sysdeps/generic/net/if.h: Likewise.
9213 * sysdeps/generic/sys/swap.h: Likewise.
9214 * sysdeps/gnu/net/if.h: Likewise.
9215 * sysdeps/gnu/utmpx.h: Likewise.
9216 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9217 * sysdeps/i386/i486/bits/string.h: Likewise.
9218 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9219 * sysdeps/s390/bits/string.h: Likewise.
9220 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9221 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9222 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9223 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9224 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9225 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9226 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9227 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9228 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9229 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9230 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9231 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9232 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9233 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9234 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9235 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9236 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9237 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9238 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9239 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9240 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9241 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9242 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9243 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9244 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9245 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9246 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9248 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9249 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9250 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9251 * sysvipc/sys/ipc.h: Likewise.
9252 * sysvipc/sys/msg.h: Likewise.
9253 * sysvipc/sys/sem.h: Likewise.
9254 * sysvipc/sys/shm.h: Likewise.
9255 * termios/termios.h: Likewise.
9256 * time/sys/time.h: Likewise.
9257 * time/time.h: Likewise.
9258 * wcsmbs/bits/wchar2.h: Likewise.
9259 * wcsmbs/uchar.h: Likewise.
9260 * wcsmbs/wchar.h: Likewise.
9261 * wctype/wctype.h: Likewise.
9264 * Makeconfig: Remove all but ELF support including AIX support.
9265 * Makerules: Likewise.
9266 * config.h.in: Likewise.
9267 * config.make.in: Likewise.
9268 * configure: Likewise.
9269 * configure.in: Likewise.
9270 * csu/Makefile: Likewise.
9271 * csu/version.c: Likewise.
9272 * debug/Makefile: Likewise.
9273 * dlfcn/Makefile: Likewise.
9274 * elf/Makefile: Likewise.
9275 * extra-lib.mk: Likewise.
9276 * iconv/Makefile: Likewise.
9277 * include/libc-symbols.h: Likewise.
9278 * include/shlib-compat.h: Likewise.
9279 * resolv/Makefile: Likewise.
9280 * resolv/res_libc.c: Likewise.
9281 * rt/Makefile: Likewise.
9282 * sysdeps/i386/asm-syntax.h: Likewise.
9283 * sysdeps/i386/sysdep.h: Likewise.
9284 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9285 * sysdeps/mach/sysdep.h: Likewise.
9286 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9287 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9288 * sysdeps/s390/asm-syntax.h: Likewise.
9289 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9290 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9291 * sysdeps/sh/sysdep.h: Likewise.
9292 * sysdeps/unix/sparc/sysdep.h: Likewise.
9293 * sysdeps/wordsize-32/divdi3.c: Likewise.
9294 * sysdeps/x86_64/sysdep.h: Likewise.
9296 * argp/Versions: Remove _argp_unlock_xxx.
9299 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9300 * abilist/libBrokenLocale.abilist: Likewise.
9301 * abilist/libanl.abilist: Likewise.
9302 * abilist/libc.abilist: Likewise.
9303 * abilist/libcrypt.abilist: Likewise.
9304 * abilist/libdl.abilist: Likewise.
9305 * abilist/libm.abilist: Likewise.
9306 * abilist/libnsl.abilist: Likewise.
9307 * abilist/libpthread.abilist: Likewise.
9308 * abilist/libresolv.abilist: Likewise.
9309 * abilist/librt.abilist: Likewise.
9310 * abilist/libthread_db.abilist: Likewise.
9311 * abilist/libutil.abilist: Likewise.
9312 * abilist/libnss_db.abilist: New file.
9314 * scripts/abilist.awk: Add support for indirect functions.
9316 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9318 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9320 * shlib-versions: Remove entries for ports architectures.
9322 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9324 * elf/stackguard-macros.h: Remove support for IA-64.
9325 * elf/tst-auditmod1.c: Likewise.
9326 * sysdeps/generic/ldsodefs.h: Likewise.
9328 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9329 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9333 * configure.in: Remove --enable-omitfp support.
9335 * config.make.in: Likewise.
9336 * Makeconfig: Likewise.
9337 * manual/install.texi: Likewise.
9339 In case anyone cares, the IA-64 architecture could move to ports.
9340 * sysdeps/ia64/*: Removed.
9341 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9342 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9345 * configure.in: Remove entries for unsupported architectures.
9348 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9349 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9351 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9352 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9353 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9354 fall back to using wcrtomb.
9355 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9356 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9358 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9359 * wcsmbs/tst-c16c32-1.c: New file.
9361 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9364 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9366 * elf/tst-unique3.cc: Add explicit declaration of gets.
9367 * elf/tst-unique3lib.cc: Likewise.
9368 * elf/tst-unique3lib2.cc: Likewise.
9369 * elf/tst-unique4.cc: Likewise.
9371 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9373 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9376 * assert/assert.h (static_assert): Don't define for C++.
9377 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9378 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9380 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9382 * iconv/loop.c (single loop): Fix assertion in storing of
9385 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9387 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9389 * posix/getconf.c: Update copyright year.
9390 * nss/getent.c: Likewise.
9391 * nss/makedb.c: Likewise.
9392 * iconv/iconvconfig.c: Likewise.
9393 * iconv/iconv_prog.c: Likewise.
9394 * elf/ldconfig.c: Likewise.
9395 * elf/pldd.c: Likewise.
9396 * elf/sotruss.ksh: Likewise.
9397 * catgets/gencat.c: Likewise.
9398 * csu/version.c: Likewise.
9399 * elf/ldd.bash.in: Likewise.
9400 * elf/sprof.c (print_version): Likewise.
9401 * locale/programs/locale.c: Likewise.
9402 * locale/programs/localedef.c: Likewise.
9403 * login/programs/pt_chown.c: Likewise.
9404 * nscd/nscd.c (print_version): Likewise.
9405 * debug/xtrace.sh: Likewise.
9406 * malloc/memusage.sh: Likewise.
9407 * malloc/mtrace.pl: Likewise.
9408 * debug/catchsegv.sh: Likewise.
9410 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9412 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9415 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9418 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9419 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9421 * iconv/gconv_int.h: Likewise.
9422 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9423 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9424 from libc for GLIBC_2.16.
9425 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9426 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9427 * wcsmbs/uchar.h: Really define mbstate_t.
9428 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9429 * wcsmbs/c16rtomb.c: New file.
9430 * wcsmbs/mbrtoc16.c: New file.
9431 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9433 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9434 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9436 * wcsmbs/wchar.h: Add missing __restrict.
9438 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9441 * time/Makefile (routines): Add timespec_get.
9442 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9443 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9444 timespec for ISO C11.
9445 * time/timespec_get.c: New file.
9446 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9447 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9450 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9451 * stdlib/stdlib.h: Declare aligned_alloc.
9452 * Versions.def: Add GLIBC_2.16 for libc.
9453 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9456 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9459 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9463 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9466 * assert/assert.h (static_assert): Define.
9468 * version.h: Update for 2.16 development version.
9471 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9474 * version.h (RELEASE): Bump for 2.15 release.
9475 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9477 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9478 Patch by Marek Polacek <mpolacek@redhat.com>.
9480 * bits/byteswap.h: Protect long long constants with __extension__.
9481 * sysdeps/i386/bits/byteswap.h: Likewise.
9482 * sysdeps/ia64/bits/byteswap.h: Likewise.
9483 * sysdeps/s390/bits/byteswap.h: Likewise.
9484 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9486 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9489 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9491 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9493 2011-12-23 Marek Polacek <polacek@redhat.com>
9495 * elf/dl-addr.c (determine_info): Add inline keyword.
9496 * elf/tst-auditmod4b.c (check_avx): Likewise.
9497 * elf/tst-auditmod6b.c (check_avx): Likewise.
9498 * elf/tst-auditmod6c.c (check_avx): Likewise.
9499 * elf/tst-auditmod7b.c (check_avx): Likewise.
9501 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9503 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9506 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9509 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9510 processing for last bytes.
9512 2011-08-06 Bruno Haible <bruno@clisp.org>
9515 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9516 U+0385, not to U+1FEE.
9519 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9520 entry for U+00A5 U+0301.
9522 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9525 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9526 buffer for the output is too small.
9528 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9532 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9533 SSE flags if possible.
9535 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9538 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9539 processing for last bytes.
9541 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9543 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9544 (syscall-list-default-options, syscall-list-default-condition)
9545 (syscall-list-includes): Define.
9546 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9547 list of ABIs and options and #if conditions for each ABI. Do not
9548 handle common syscalls between ABIs specially.
9549 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9551 (syscall-list-variants, syscall-list-32bit-options)
9552 (syscall-list-32bit-condition, syscall-list-64bit-options)
9553 (syscall-list-64bit-condition): Define.
9554 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9555 (syscall-list-variants, syscall-list-32bit-options)
9556 (syscall-list-32bit-condition, syscall-list-64bit-options)
9557 (syscall-list-64bit-condition): Define.
9558 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9560 (syscall-list-variants, syscall-list-32bit-options)
9561 (syscall-list-32bit-condition, syscall-list-64bit-options)
9562 (syscall-list-64bit-condition): Define.
9563 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9565 (syscall-list-variants, syscall-list-32bit-options)
9566 (syscall-list-32bit-condition, syscall-list-64bit-options)
9567 (syscall-list-64bit-condition): Define.
9569 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9571 * locale/iso-639.def: Add brx entry.
9574 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9575 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9577 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9578 __feraiseexcept_renamed.
9580 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9583 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9584 EPOLLET with unsigned values.
9585 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9586 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9588 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9589 to large cancellation.
9590 * math/s_cacoshf.c: Likewise.
9591 * math/s_cacoshl.c: Likewise.
9593 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9597 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9598 * math/s_cacoshf.c: Likewise.
9599 * math/s_cacoshl.c: Likewise.
9601 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9604 * iconv/gconv.h: Define __GCONV_SWAP.
9605 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9606 * iconvdata/utf-16.c: Likewise.
9607 * iconvdata/utf-32.c: Likewise.
9609 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9612 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9613 numerator after shifting it by one limb.
9615 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9617 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9618 under [__USE_EXTERN_INLINES].
9620 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9623 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9625 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9627 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9628 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9630 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9631 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9632 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9633 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9634 for strncasecmp/strncasecmp_l compilation.
9635 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9636 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9638 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9641 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9644 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9647 * time/tzfile.c (__tzfile_read): Check values from file header.
9649 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9651 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9652 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9653 * powerpc/powerpc32/dl-start.S: Likewise.
9654 * powerpc/powerpc32/elf/start.S: Likewise.
9655 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9656 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9657 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9658 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9659 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9660 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9661 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9662 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9663 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9664 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9665 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9666 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9667 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9668 * powerpc/powerpc32/memset.S: Likewise.
9669 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9670 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9671 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9672 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9673 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9674 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9675 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9676 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9677 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9678 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9679 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9680 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9681 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9683 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9685 * math/libm-test.inc: Added more nearbyint tests.
9686 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9687 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9688 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9691 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9693 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9696 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9698 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9699 Add wcscpy-ssse3 wcscpy-c.
9700 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9701 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9702 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9703 * sysdeps/x86_64/wcschr.S: New file.
9704 * sysdeps/x86_64/wcsrchr.S: New file.
9705 * string/test-strcmp.c: Remove checking of wcscmp function for
9707 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9708 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9709 wcsrchr-sse2 wcsrchr-c.
9710 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9711 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9712 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9713 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9714 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9715 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9716 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9717 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9718 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9719 * wcsmbc/wcschr.c (WCSCHR): New macro.
9721 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9723 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9724 * wcsmbs/test-wcsrchr.c: New file.
9725 * string/test-strrchr.c: Add wcsrchr support.
9727 * wcsmbs/test-wcscpy.c: New file.
9728 * string/test-strcpy.c: Add wcscpy support.
9731 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9733 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9736 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9739 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9741 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9743 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9744 Minor optimizations.
9746 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9747 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9748 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9750 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9752 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9753 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9754 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9755 for gcc to avoid warnings.
9756 * inet/Makefile (tests): Add tst-checks.
9757 * inet/tst-checks.c: New file.
9759 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9762 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9765 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9766 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9768 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9770 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9772 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9775 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9777 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9779 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9780 conditional on GCC version.
9781 (__arch_compare_and_exchange_val_8_acq)
9782 (__arch_compare_and_exchange_val_16_acq)
9783 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9784 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9785 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9787 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9789 * sysdeps/sh/backtrace.c: New file.
9791 2011-12-02 Andreas Schwab <schwab@redhat.com>
9793 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9796 2011-12-01 Andreas Schwab <schwab@redhat.com>
9798 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9799 falling back to utime.
9801 2011-11-30 Andreas Schwab <schwab@redhat.com>
9803 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9804 expectations for float.
9806 2011-11-29 Andreas Schwab <schwab@redhat.com>
9808 * locale/weight.h (findidx): Add parameter len.
9809 * locale/weightwc.h (findidx): Likewise.
9810 * posix/fnmatch_loop.c (FCT): Adjust caller.
9811 * posix/regcomp.c (build_equiv_class): Likewise.
9812 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9813 * posix/regexec.c (check_node_accept_bytes): Likewise.
9814 * string/strcoll_l.c (STRCOLL): Likewise.
9815 * string/strxfrm_l.c (STRXFRM): Likewise.
9817 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9819 * Makefile.in: Remove CVSOPT handling.
9820 * configure.in: Remove use of AC_REVISION.
9821 * iconvdata/Makefile (distribute): No need to filter out CVS.
9822 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9825 2011-11-16 Andreas Schwab <schwab@redhat.com>
9827 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9828 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9829 [USE_AS_STRNCASECMP_L]: Likewise.
9830 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9831 NO_TLS_DIRECT_SEG_REFS.
9832 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9833 Fix argument offsets for non-PIC.
9834 [USE_AS_STRNCASECMP_L]: Likewise.
9835 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9836 NO_TLS_DIRECT_SEG_REFS.
9838 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9840 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9842 * locale/loadlocale.c (_nl_load_locale): Likewise.
9844 2011-11-15 Andreas Schwab <schwab@redhat.com>
9846 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9847 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9848 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9849 (SYSCALL_GETTIME): Set errno on error.
9851 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9852 count references to noai6ai_cached.
9854 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9856 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9858 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9859 FD_CLOEXEC for /proc/self/maps.
9861 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9862 FD_CLOEXEC for /proc/meminfo.
9864 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9867 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9868 FD_CLOEXEC for given file.
9870 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9872 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9873 FD_CLOEXEC for /etc/hosts.
9874 (_gethtent): Likewise.
9876 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9878 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9879 cancellation and set FD_CLOEXEC for /etc/netgroup.
9881 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9882 reading /etc/publickey.
9884 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9885 allow cancellation when reading /etc/group.
9887 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9889 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9891 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9892 when using data file.
9894 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9896 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9897 (write_nis_obj): Use "c" and "e" in fopen.
9899 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9901 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9903 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9905 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9907 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9910 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9912 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9914 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9916 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9917 file parsing and set FD_CLOEXEC.
9919 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9921 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9923 2011-11-14 Andreas Schwab <schwab@redhat.com>
9925 * malloc/arena.c (arena_get2): Don't call reused_arena when
9926 _int_new_arena failed.
9928 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9930 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9931 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9932 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9933 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9934 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9935 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9936 to compile strcasecmp and strncasecmp.
9937 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9938 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9940 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9942 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9944 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9945 locale-defines.sym to gen-as-const-headers.
9946 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9947 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9948 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9949 to compile strcasecmp and strncasecmp.
9950 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9951 strcasecmp_l and strncasecmp_l.
9952 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9953 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9954 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9955 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9956 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9957 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9958 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9959 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9960 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9961 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9962 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9964 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9966 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9967 result of SYSDEP_GETTIME_CPU to retval.
9968 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9969 parameter list to macro. Remove trailing semicolon. Adjust users.
9971 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9974 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9976 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9978 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9979 from unused variable.
9981 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9983 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9986 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9989 * sunrpc/rpc_prot.c (rejected): Fix case value.
9991 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9992 unsigned long long int to avoid warnings in shift.
9994 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9996 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9999 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
10000 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
10001 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
10003 * nis/nis_table.c (nis_list): Use variable of correct type for
10004 result of __follow_path call.
10006 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10008 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
10009 of math functions ceil, trunc, floor, round, and sqrt, when
10010 avaliable on the platform.
10011 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
10013 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10014 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10015 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10017 2011-10-30 Marek Polacek <mpolacek@redhat.com>
10019 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
10020 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10022 2011-11-11 Roland McGrath <roland@hack.frob.com>
10024 * include/unistd.h: Fix __readlink return type.
10025 Reported by Chris Metcalf <cmetcalf@tilera.com>.
10027 2011-11-11 Ulrich Drepper <drepper@gmail.com>
10029 * stdlib/ucontext.h: Undo last change for makecontext.
10031 2011-11-11 Andreas Schwab <schwab@redhat.com>
10033 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10035 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10036 * setjmp/setjmp.h: Mark functions as non-leaf.
10037 * setjmp/bits/setjmp2.h: Likewise.
10038 * stdlib/ucontext.h: Likewise.
10040 2011-11-10 Andreas Schwab <schwab@redhat.com>
10042 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10043 (reused_arena): Don't check arena limit.
10044 (arena_get2): Atomically check arena limit.
10046 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10048 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10049 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10051 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10054 2011-11-07 Andreas Schwab <schwab@redhat.com>
10056 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10057 handler when locking.
10059 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10060 Fix size of allocated buffer.
10062 2011-11-04 Andreas Schwab <schwab@redhat.com>
10065 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10066 declarations for long double functions.
10067 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10069 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10071 2011-11-03 Andreas Schwab <schwab@redhat.com>
10073 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10076 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10079 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10081 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10083 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10085 * include/alloca.h (stackinfo_alloca_round): Define.
10086 (extend_alloca): Use it.
10087 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10088 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10091 * scripts/check-local-headers.sh: Ignore libaudit.h.
10093 * nscd/Makefile (extra-objs): Make recursively expanded.
10095 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10097 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10098 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10100 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10101 * posix/tst-rfc3484-2.c: Likewise.
10102 * posix/tst-rfc3484-3.c: Likewise.
10104 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10106 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10108 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10109 process_vm_writev from libc using GLIBC_2.15 version.
10111 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10113 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10115 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10118 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10121 * nss/getent.c (initgroups_keys): Show error message in case no group
10124 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10125 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10126 __bump_nl_timestamp.
10127 * nscd/connections (nscd_init): When host database is served open
10128 netlink socket and request notification about configuration changes.
10129 (main_loop_poll): Track netlink file descriptor and bump timestamp
10130 in case data becomes available.
10131 (main_loop_epoll): Likewise.
10132 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10133 (database_pers_head): Add extra_data fileds.
10134 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10135 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10136 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10138 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10139 in6ai data, call __free_in6ai.
10140 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10141 Add -DHAVE_NETLINK.
10142 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10143 interface information. Reuse previous data if netlink timestamp
10145 (__bump_nl_timestamp): New function.
10146 (__free_in6ai): New function.
10148 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10150 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10151 close_not_cancel_no_status here.
10152 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10154 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10157 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10160 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10161 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10162 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10164 2011-07-03 Andreas Jaeger <aj@suse.de>
10167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10168 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10169 * math/libm-test.inc (sin_test): Add test case.
10171 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10174 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10175 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10177 * elf/chroot_canon.c (chroot_canon): Cleanups.
10179 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10182 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10183 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10185 * string/test-strchr.c: Make usable for strchrnul testing.
10186 * string/test-strchrnul.c: New file.
10187 * string/Makefile (strop-tests): Add strchrnul.
10189 * po/it.po: Update from translation team.
10190 * po/es.po: Likewise.
10192 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10194 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10195 the three constants needed as parameters. Drop the others.
10196 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10197 __m128i_strloadu_tolower.
10198 Create and initialize variable zero and use it in all the places
10199 where _mm_setzero_si128 was used.
10201 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10202 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10203 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10204 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10206 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10207 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10208 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10209 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10210 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10211 __mpranred, __mptan.
10212 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10213 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10214 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10215 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10216 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10217 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10218 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10219 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10220 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10222 2011-10-28 Andreas Schwab <schwab@redhat.com>
10224 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10225 redefine if SHARED.
10226 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10229 wide char related routines to wcsmbs subdir.
10231 2011-10-27 Andreas Schwab <schwab@redhat.com>
10234 * misc/sys/cdefs.h (__THROWNL): Define.
10235 * posix/unistd.h: Use __THREADNL instead of __THREAD
10236 for memory synchronization functions.
10238 2011-10-26 Roland McGrath <roland@hack.frob.com>
10241 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10243 * manual/stdio.texi (Obstack Streams): Node removed.
10245 2011-10-26 Andreas Schwab <schwab@redhat.com>
10247 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10248 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10249 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10251 * math/math_private.h (math_force_eval): Allow non-addressable
10253 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10255 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10257 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10258 file is not needed.
10260 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10261 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10262 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10263 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10264 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10265 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10266 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10267 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10269 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10270 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10271 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10272 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10273 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10274 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10275 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10276 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10277 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10278 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10279 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10280 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10281 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10282 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10283 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10284 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10285 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10286 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10287 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10289 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10290 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10292 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10293 place. Use VEX encoding when compiling for AVX.
10295 2011-10-25 Andreas Schwab <schwab@redhat.com>
10297 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10298 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10300 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10302 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10304 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10305 useless if() expression.
10306 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10307 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10308 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10309 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10310 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10311 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10312 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10313 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10314 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10315 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10316 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10317 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10318 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10319 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10320 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10321 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10322 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10324 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10326 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10328 2011-10-25 Andreas Schwab <schwab@redhat.com>
10330 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10332 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10334 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10336 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10337 .text section. Avoid duplicate constants.
10338 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
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/halfulp.c: Likewise.
10346 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10347 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10348 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10349 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10350 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10351 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10352 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10353 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10355 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10360 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10361 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10362 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10363 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10364 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10365 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10366 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10367 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10368 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10369 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10370 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10371 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10372 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10373 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10374 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10375 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10376 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10377 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10378 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10379 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10380 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10381 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10382 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10384 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10386 * sysdeps/x86_64/dla.h: Move to ...
10387 * sysdeps/x86_64/fpu/dla.h: ...here.
10388 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10389 situations. Use __builtin_fma only for gcc 4.6 and up.
10391 * config.make.in: Add have-mfma4 entry.
10392 * configure.in: Substitute libc_cv_cc_fma4.
10393 * math/Makefile (dbl-only-routines): Add sincostab.
10394 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10395 Use __sincostab not sincos.
10396 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10398 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10399 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10400 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10403 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10404 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10405 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10406 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10408 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10409 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10411 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10412 define aliases when function name is a macro.
10413 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10414 sysdeps/ieee754/dbl-64/sincos.tbl.
10415 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10416 fma4-enabled routines.
10417 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10418 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10419 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10420 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10421 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10422 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10423 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10424 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10425 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10426 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10427 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10428 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10429 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10430 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10431 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10432 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10433 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10434 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10435 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10436 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10437 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10438 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10439 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10440 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10441 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10442 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10444 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10445 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10446 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10448 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10450 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10451 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10452 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10453 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10455 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10459 2011-10-24 Andreas Schwab <schwab@redhat.com>
10461 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10463 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10465 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10467 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10469 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10471 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10472 Remove unused variable magic_bits.
10473 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10475 * string/strnlen.c: Define and use STRNLEN macro.
10476 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10477 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10479 * wcsmbs/wcslen.c: Define and use WCSLEN.
10480 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10481 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10482 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10483 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10484 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10485 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10486 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10488 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10491 strnlen-sse2-no-bsf.
10492 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10493 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10494 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10495 Add strnlen support.
10496 (USE_AS_STRNLEN): New macro.
10497 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10498 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10499 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10500 * sysdeps/x86_64/wcslen.S: New file.
10502 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10504 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10505 XMM-moves are used for copying on small sizes.
10507 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10509 * wcsmbs/Makefile (strop-tests): Add wcschr.
10510 * wcsmbs/test-wcschr.c: New file.
10511 * string/test-strchr.c: Update.
10512 Add wcschr support.
10515 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10517 * wcsmbs/Makefile (strop-tests): Add wcslen.
10518 * wcsmbs/test-wcslen.c: New file.
10519 * string/test-strlen.c: Update.
10520 Add wcslen support.
10523 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10525 * po/it.po: Update from translation team.
10527 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10529 * sysdeps/x86_64/wcscmp.S: Update.
10530 Fix wrong comparison semantics.
10531 wcscmp shall use signed comparison not unsigned.
10532 Don't use substraction to avoid overflow bug.
10533 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10534 * wcsmbc/wcscmp.c: Likewise.
10535 * string/test-strcmp.c: Likewise.
10536 Add new tests to check cases with negative values.
10538 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10540 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10541 * sysdeps/x86_64/dla.h: ...here. New file.
10542 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10545 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10547 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10548 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10549 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10552 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10555 __ynl_finite aliases.
10557 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10559 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10561 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10563 [DLA_FMA] (EMULV): Use DLA_FMA.
10564 [DLA_FMA] (MUL12): Use EMULV.
10565 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10566 that are not needed.
10567 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10568 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10570 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10573 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10575 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10577 * math/s_nan.c: Undef __nan.
10578 * math/s_nanf.c: Undef __nanf.
10579 * math/s_nanl.c: Undef __nanl.
10580 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10583 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10585 * math/s_catan.c: Add branch predictions.
10586 * math/s_catanf.c: Likewise.
10587 * math/s_catanh.c: Likewise.
10588 * math/s_catanhf.c: Likewise.
10589 * math/s_catanhl.c: Likewise.
10590 * math/s_catanl.c: Likewise.
10591 * math/s_cexp.c: Likewise.
10592 * math/s_cexpf.c: Likewise.
10593 * math/s_cexpl.c: Likewise.
10594 * math/s_clog.c: Likewise.
10595 * math/s_clog10.c: Likewise.
10596 * math/s_clog10f.c: Likewise.
10597 * math/s_clog10l.c: Likewise.
10598 * math/s_clogf.c: Likewise.
10599 * math/s_clogl.c: Likewise.
10600 * math/s_csqrt.c: Likewise.
10601 * math/s_csqrtf.c: Likewise.
10602 * math/s_csqrtl.c: Likewise.
10603 * math/s_ctanf.c: Likewise.
10604 * math/s_ctanh.c: Likewise.
10605 * math/s_ctanhf.c: Likewise.
10606 * math/s_ctanhl.c: Likewise.
10607 * math/s_ctanl.c: Likewise.
10609 * math/math_private.h: Define __nan, __nanf, __nanl.
10610 * math/s_cacosh.c: Include <math_private.h>.
10611 * math/s_cacoshl.c: Likewise.
10612 * math/s_casinh.c: Likewise.
10613 * math/s_casinhf.c: Likewise.
10614 * math/s_casinhl.c: Likewise.
10615 * math/s_ccos.c: Rely entire on ccosh.
10616 * math/s_ccosf.c: Rely entire on ccoshf.
10617 * math/s_ccosl.c: Rely entirely on ccoshl.
10618 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10619 Remove tests for FE_INVALID.
10620 * math/s_ccoshf.c: Likewise.
10621 * math/s_ccoshl.c: Likewise.
10622 * math/s_csin.c: Likewise.
10623 * math/s_csinf.c: Likewise.
10624 * math/s_csinh.c Likewise.
10625 * math/s_csinhf.c: Likewise.
10626 * math/s_csinhl.c: Likewise.
10627 * math/s_csinl.c: Likewise.
10628 * math/s_ctan.c: Likewise.
10629 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10630 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10631 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10633 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10636 compilation problems.
10638 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10641 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10643 * sysdeps/i386/configure.in: Test for -mfma4 option.
10644 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10645 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10646 COMMON_CPUID_INDEX_80000001.
10647 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10648 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10649 use it if FMA3 is not supported.
10650 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10652 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10653 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10655 2011-10-20 Andreas Schwab <schwab@redhat.com>
10658 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10659 it would create a cycle with a link time dependency.
10661 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10663 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10665 * string/Makefile (strop-tests): Add rawmemchr.
10666 * string/test-rawmemchr.c: New file.
10668 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10669 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10670 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10671 when compiling str{,n}casecmp and when AVX is available. Hook up
10672 new optimized code in initializers.
10674 2011-10-19 Andreas Schwab <schwab@redhat.com>
10676 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10677 __feraiseexcept instead of feraiseexcept.
10679 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10681 * math/math_private.h: Define defaults for libc_fetestexcept and
10683 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10684 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10685 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10686 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10687 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10688 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10689 libc_fetestexcept and libc_feupdateenv.
10691 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10692 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10693 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10694 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10695 libc_feholdexcept_setround.
10697 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10698 Add s_nearbyint-c and s_nearbyintf-c.
10699 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10700 nearbyintf inlines.
10701 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10702 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10703 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10704 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10706 * math/math_private.h: Define defaults for libc_fegetround,
10707 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10708 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10709 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10710 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10711 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10712 standard functions.
10713 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10714 Remove comments and hacks for old compiler versions.
10715 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10716 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10717 libc_feholdexceptl.
10719 2011-10-18 Andreas Schwab <schwab@redhat.com>
10721 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10722 (__feraiseexcept_renamed): Add __NTH.
10723 (feraiseexcept): Add __NTH. Rename local variables to fix
10724 namespace violations.
10726 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10728 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10730 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10732 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10733 recently added interfaces.
10734 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10736 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10737 about macro parameter expansion.
10739 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10740 __NO_MATH_INLINES is defined. Cleanups.
10742 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10743 and __floorf is target has SSE4.1.
10744 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10745 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10746 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10747 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10749 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10751 (floorf): Likewise.
10753 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10755 2011-10-17 Andreas Schwab <schwab@redhat.com>
10757 * misc/sys/cdefs.h: Fix last change.
10759 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10762 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10764 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10766 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10767 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10768 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10769 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10770 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10771 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10772 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10773 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10774 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10775 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10776 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10777 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10778 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10779 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10780 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10781 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10782 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10783 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10784 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10785 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10786 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10787 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10789 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10790 ceil, ceilf, floor, floorf.
10792 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10793 Perform IRELATIVE relocations last.
10795 * elf/do-rel.h: Add another parameter nrelative, replacing the
10796 local variable with the same name. Change name of the function
10797 to end in Rel or Rela (uppercase).
10798 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10799 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10800 elf_dynamic_do_##reloc function.
10802 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10804 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10805 is sufficient, at least on modern CPUs.
10807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10809 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10810 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10812 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10814 * math/bits/math-finite.h: Add entries for exp.
10815 * math/e_expl.c: Add __*_finite alias.
10816 * sysdeps/i386/fpu/e_exp.S: Likewise.
10817 * sysdeps/i386/fpu/e_expf.S: Likewise.
10818 * sysdeps/i386/fpu/e_expl.c: Likewise.
10819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10820 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10821 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10823 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10824 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10825 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10827 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10828 is sufficient, at least on modern CPUs.
10830 * ctype/ctype-info.c (__ctype_init): Define.
10831 * include/ctype.h (__ctype_init): Declare.
10832 (__ctype_b_loc): The variable is always initialized.
10833 (__ctype_toupper_loc): Likewise.
10834 (__ctype_tolower_loc): Likewise.
10835 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10836 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10838 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10840 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10842 * configure.in: Also look in $cxxmachine/include for C++ system
10845 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10847 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10848 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10849 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10850 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10851 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10852 (USE_AS_WMEMCMP): New macro.
10854 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10855 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10856 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10857 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10858 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10859 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10860 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10861 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10862 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10863 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10864 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10865 (USE_AS_WMEMCMP): New macro.
10866 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10867 * sysdeps/string/test-memcmp.c: Update.
10868 Fix simple_wmemcmp.
10870 * wcsmbs/wmemcmp.c: Update.
10871 (WMEMCMP): New macro.
10874 2011-10-12 Andreas Jaeger <aj@suse.de>
10877 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10879 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10881 * libio/iofwide.c (do_length): Avoid warning.
10883 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10885 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10887 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10889 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10890 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10891 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10892 * sysdeps/i386/i686/fpu/e_log.S: New file.
10893 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10894 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10896 * ctype/ctype.h: Add support for inlined isXXX functions when
10897 compiling C++ code.
10899 2011-10-14 Andreas Schwab <schwab@redhat.com>
10901 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10903 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10905 2011-10-13 Roland McGrath <roland@hack.frob.com>
10908 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10910 2011-10-13 Andreas Schwab <schwab@redhat.com>
10912 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10913 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10916 * sysdeps/x86_64/memrchr.S: Check for zero size.
10918 * string/stratcliff.c: Add memrchr tests.
10920 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10923 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10924 rawmemchr-sse2 rawmemchr-sse2-bsf.
10925 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10926 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10927 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10928 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10929 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10930 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10931 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10932 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10933 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10934 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10935 * string/memrchr.c (MEMRCHR): New macro.
10937 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10939 Add integration with gcc's -ffinite-math-only and optimize wrapper
10941 * Versions.def: Define GLIBC_2.15 version for libm.
10942 * math/Makefile (headers): Add bits/math-finite.h.
10943 * math/bits/math-finite.h: New file.
10944 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10945 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10946 * math/e_acoshl.c: Add __*_finite alias.
10947 * math/e_acosl.c: Likewise.
10948 * math/e_asinl.c: Likewise.
10949 * math/e_atan2l.c: Likewise.
10950 * math/e_atanhl.c: Likewise.
10951 * math/e_coshl.c: Likewise.
10952 * math/e_exp10.c: Likewise.
10953 * math/e_exp10f.c: Likewise.
10954 * math/e_exp10l.c: Likewise.
10955 * math/e_exp2l.c: Likewise.
10956 * math/e_fmodl.c: Likewise.
10957 * math/e_gammal_r.c: Likewise.
10958 * math/e_hypotl.c: Likewise.
10959 * math/e_j0l.c: Likewise.
10960 * math/e_j1l.c: Likewise.
10961 * math/e_jnl.c: Likewise.
10962 * math/e_lgammal_r.c: Likewise.
10963 * math/e_log10l.c: Likewise.
10964 * math/e_log2l.c: Likewise.
10965 * math/e_logl.c: Likewise.
10966 * math/e_powl.c: Likewise.
10967 * math/e_sinhl.c: Likewise.
10968 * math/e_sqrtl.c: Likewise.
10969 * math/e_scalb.c: Completely rewritten and optimized.
10970 * math/e_scalbf.c: Likewise.
10971 * math/e_scalbl.c: Likewise.
10972 * math/w_acos.c: Likewise.
10973 * math/w_acosf.c: Likewise.
10974 * math/w_acosl.c: Likewise.
10975 * math/w_acosh.c: Likewise.
10976 * math/w_acoshf.c: Likewise.
10977 * math/w_acoshl.c: Likewise.
10978 * math/w_asin.c: Likewise.
10979 * math/w_asinf.c: Likewise.
10980 * math/w_asinl.c: Likewise.
10981 * math/w_atan2.c: Likewise.
10982 * math/w_atan2f.c: Likewise.
10983 * math/w_atan2l.c: Likewise.
10984 * math/w_atanh.c: Likewise.
10985 * math/w_atanhf.c: Likewise.
10986 * math/w_atanhl.c: Likewise.
10987 * math/w_exp10.c: Likewise.
10988 * math/w_exp10f.c: Likewise.
10989 * math/w_exp10l.c: Likewise.
10990 * math/w_fmod.c: Likewise.
10991 * math/w_fmodf.c: Likewise.
10992 * math/w_fmodl.c: Likewise.
10993 * math/w_j0.c: Likewise.
10994 * math/w_j0f.c: Likewise.
10995 * math/w_j0l.c: Likewise.
10996 * math/w_j1.c: Likewise.
10997 * math/w_j1f.c: Likewise.
10998 * math/w_j1l.c: Likewise.
10999 * math/w_jn.c: Likewise.
11000 * math/w_jnf.c: Likewise.
11001 * math/w_log.c: Likewise.
11002 * math/w_logf.c: Likewise.
11003 * math/w_logl.c: Likewise.
11004 * math/w_log10.c: Likewise.
11005 * math/w_log10f.c: Likewise.
11006 * math/w_log10l.c: Likewise.
11007 * math/w_log2.c: Likewise.
11008 * math/w_log2f.c: Likewise.
11009 * math/w_log2l.c: Likewise.
11010 * math/w_pow.c: Likewise.
11011 * math/w_powf.c: Likewise.
11012 * math/w_powl.c: Likewise.
11013 * math/w_remainder.c: Likewise.
11014 * math/w_remainderf.c: Likewise.
11015 * math/w_remainderl.c: Likewise.
11016 * math/w_scalb.c: Likewise.
11017 * math/w_scalbf.c: Likewise.
11018 * math/w_scalbl.c: Likewise.
11019 * math/w_sqrt.c: Likewise.
11020 * math/w_sqrtf.c: Likewise.
11021 * math/w_sqrtl.c: Likewise.
11022 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
11023 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
11025 * math/math_private.h: Declare __kernel_standard_f.
11026 * math/w_cosh.c: Remove cruft and optimize a bit.
11027 * math/w_coshf.c: Likewise.
11028 * math/w_coshl.c: Likewise.
11029 * math/w_exp2.c: Likewise.
11030 * math/w_exp2f.c: Likewise.
11031 * math/w_exp2l.c: Likewise.
11032 * math/w_hypot.c: Likewise.
11033 * math/w_hypotf.c: Likewise.
11034 * math/w_hypotl.c: Likewise.
11035 * math/w_lgamma.c: Likewise.
11036 * math/w_lgamma_r.c: Likewise.
11037 * math/w_lgammaf.c: Likewise.
11038 * math/w_lgammaf_r.c: Likewise.
11039 * math/w_lgammal.c: Likewise.
11040 * math/w_lgammal_r.c: Likewise.
11041 * math/w_sinh.c: Likewise.
11042 * math/w_sinhf.c: Likewise.
11043 * math/w_sinhl.c: Likewise.
11044 * math/w_tgamma.c: Likewise.
11045 * math/w_tgammaf.c: Likewise.
11046 * math/w_tgammal.c: Likewise.
11047 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11048 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11049 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11050 Minor optimizations. Pretty printing. Remove cruft.
11051 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11052 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11053 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11054 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11055 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11056 * sysdeps/i386/fpu/e_asin.S: Likewise.
11057 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11058 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11059 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11060 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11061 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11062 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11063 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11064 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11065 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11066 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11067 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11068 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11069 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11070 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11071 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11072 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11073 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11074 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11075 * sysdeps/i386/fpu/e_log.S: Likewise.
11076 * sysdeps/i386/fpu/e_log10.S: Likewise.
11077 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11078 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11079 * sysdeps/i386/fpu/e_log2.S: Likewise.
11080 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11081 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11082 * sysdeps/i386/fpu/e_logf.S: Likewise.
11083 * sysdeps/i386/fpu/e_logl.S: Likewise.
11084 * sysdeps/i386/fpu/e_pow.S: Likewise.
11085 * sysdeps/i386/fpu/e_powf.S: Likewise.
11086 * sysdeps/i386/fpu/e_powl.S: Likewise.
11087 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11088 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11089 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11090 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11091 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11092 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11093 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11094 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11095 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11096 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11097 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11099 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11100 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11101 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11102 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11103 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11104 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11105 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11106 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11107 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11108 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11109 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11110 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11112 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11113 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11114 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11115 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11116 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11117 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11118 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11119 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11120 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11121 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11122 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11123 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11124 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11125 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11126 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11127 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11128 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11129 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11130 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11131 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11132 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11133 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11134 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11135 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11136 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11137 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11146 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11147 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11148 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11149 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11150 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11151 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11152 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11153 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11155 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11158 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11159 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11160 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11161 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11162 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11163 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11164 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11165 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11166 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11167 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11168 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11169 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11170 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11172 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11173 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11174 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11175 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11176 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11177 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11178 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11179 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11180 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11181 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11182 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11183 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11184 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11185 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11186 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11187 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11188 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11189 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11190 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11191 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11192 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11193 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11194 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11195 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11196 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11197 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11198 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11199 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11200 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11201 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11202 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11203 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11204 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11205 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11206 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11207 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11208 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11209 (__isnanf): Likewise.
11210 (__isinf_ns): Likewise.
11211 (__isinf_nsf): Likewise.
11212 (__finite): Likewise.
11213 (__finitef): Likewise.
11214 (__ieee754_sqrt): Define as macro.
11215 (__ieee754_sqrtf): Define as macro.
11216 (__ieee754_sqrtl): Define as macro.
11217 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11219 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11220 __FINITE_MATH_ONLY__ consistent.
11221 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11223 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11225 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11228 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11230 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11232 * po/ja.po: Update from translation team.
11234 2011-10-08 Roland McGrath <roland@hack.frob.com>
11236 * locale/programs/locarchive.c (prepare_address_space): New function.
11237 (create_archive, enlarge_archive, open_archive): Use it.
11239 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11240 inside [SHARED], where it is used.
11242 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11244 * nss/getent.c (netgroup_keys): Remove unused variable.
11245 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11247 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11249 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11250 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11251 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11252 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11253 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11254 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11255 * math/Makefile (libm-calls): Add s_isinf_ns.
11256 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11257 * math/multc3.c: Likewise.
11258 * math/s_casin.c: Likewise.
11259 * math/s_casinf.c: Likewise.
11260 * math/s_casinl.c: Likewise.
11261 * math/s_ccos.c: Likewise.
11262 * math/s_ccosf.c: Likewise.
11263 * math/s_ccosl.c: Likewise.
11264 * math/s_ctan.c: Likewise.
11265 * math/s_ctanf.c: Likewise.
11266 * math/s_ctanh.c: Likewise.
11267 * math/s_ctanhf.c: Likewise.
11268 * math/s_ctanhl.c: Likewise.
11269 * math/s_ctanl.c: Likewise.
11270 * math/w_fmod.c: Likewise.
11271 * math/w_fmodf.c: Likewise.
11272 * math/w_fmodl.c: Likewise.
11273 * math/w_remainder.c: Likewise.
11274 * math/w_remainderf.c: Likewise.
11275 * math/w_remainderl.c: Likewise.
11276 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11277 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11278 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11280 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11281 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11282 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11283 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11285 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11287 * stdio-common/printf_fphex.c: Likewise.
11288 * stdio-common/printf_size.c: Likewise.
11290 * math/e_exp10.c: Include math_private.h using <...> not "...".
11291 * math/e_exp10f.c: Likewise.
11292 * math/e_exp10l.c: Likewise.
11293 * math/e_exp2l.c: Likewise.
11294 * math/e_j0l.c: Likewise.
11295 * math/e_j1l.c: Likewise.
11296 * math/e_jnl.c: Likewise.
11297 * math/e_lgammal_r.c: Likewise.
11298 * math/e_rem_pio2l.c: Likewise.
11299 * math/e_scalb.c: Likewise.
11300 * math/e_scalbf.c: Likewise.
11301 * math/e_scalbl.c: Likewise.
11302 * math/k_cosl.c: Likewise.
11303 * math/k_sinl.c: Likewise.
11304 * math/k_tanl.c: Likewise.
11305 * math/s_cacoshf.c: Likewise.
11306 * math/s_catan.c: Likewise.
11307 * math/s_catanf.c: Likewise.
11308 * math/s_catanh.c: Likewise.
11309 * math/s_catanhf.c: Likewise.
11310 * math/s_catanhl.c: Likewise.
11311 * math/s_catanl.c: Likewise.
11312 * math/s_ccosh.c: Likewise.
11313 * math/s_ccoshf.c: Likewise.
11314 * math/s_ccoshl.c: Likewise.
11315 * math/s_cexp.c: Likewise.
11316 * math/s_cexpf.c: Likewise.
11317 * math/s_cexpl.c: Likewise.
11318 * math/s_clog.c: Likewise.
11319 * math/s_clog10.c: Likewise.
11320 * math/s_clog10f.c: Likewise.
11321 * math/s_clog10l.c: Likewise.
11322 * math/s_clogf.c: Likewise.
11323 * math/s_clogl.c: Likewise.
11324 * math/s_csin.c: Likewise.
11325 * math/s_csinf.c: Likewise.
11326 * math/s_csinh.c: Likewise.
11327 * math/s_csinhf.c: Likewise.
11328 * math/s_csinhl.c: Likewise.
11329 * math/s_csinl.c: Likewise.
11330 * math/s_csqrt.c: Likewise.
11331 * math/s_csqrtf.c: Likewise.
11332 * math/s_csqrtl.c: Likewise.
11333 * math/s_ctan.c: Likewise.
11334 * math/s_ctanf.c: Likewise.
11335 * math/s_ctanh.c: Likewise.
11336 * math/s_ctanhf.c: Likewise.
11337 * math/s_ctanhl.c: Likewise.
11338 * math/s_ctanl.c: Likewise.
11339 * math/s_ldexp.c: Likewise.
11340 * math/s_ldexpf.c: Likewise.
11341 * math/s_ldexpl.c: Likewise.
11342 * math/s_significand.c: Likewise.
11343 * math/s_significandf.c: Likewise.
11344 * math/s_significandl.c: Likewise.
11345 * math/w_acos.c: Likewise.
11346 * math/w_acosf.c: Likewise.
11347 * math/w_acosh.c: Likewise.
11348 * math/w_acoshf.c: Likewise.
11349 * math/w_acoshl.c: Likewise.
11350 * math/w_acosl.c: Likewise.
11351 * math/w_asin.c: Likewise.
11352 * math/w_asinf.c: Likewise.
11353 * math/w_asinl.c: Likewise.
11354 * math/w_atan2.c: Likewise.
11355 * math/w_atan2f.c: Likewise.
11356 * math/w_atan2l.c: Likewise.
11357 * math/w_atanh.c: Likewise.
11358 * math/w_atanhf.c: Likewise.
11359 * math/w_atanhl.c: Likewise.
11360 * math/w_cosh.c: Likewise.
11361 * math/w_coshf.c: Likewise.
11362 * math/w_coshl.c: Likewise.
11363 * math/w_dremf.c: Likewise.
11364 * math/w_exp10.c: Likewise.
11365 * math/w_exp10f.c: Likewise.
11366 * math/w_exp10l.c: Likewise.
11367 * math/w_exp2.c: Likewise.
11368 * math/w_exp2f.c: Likewise.
11369 * math/w_fmod.c: Likewise.
11370 * math/w_fmodf.c: Likewise.
11371 * math/w_fmodl.c: Likewise.
11372 * math/w_hypot.c: Likewise.
11373 * math/w_hypotf.c: Likewise.
11374 * math/w_hypotl.c: Likewise.
11375 * math/w_j0.c: Likewise.
11376 * math/w_j0f.c: Likewise.
11377 * math/w_j0l.c: Likewise.
11378 * math/w_j1.c: Likewise.
11379 * math/w_j1f.c: Likewise.
11380 * math/w_j1l.c: Likewise.
11381 * math/w_jn.c: Likewise.
11382 * math/w_jnf.c: Likewise.
11383 * math/w_jnl.c: Likewise.
11384 * math/w_lgamma.c: Likewise.
11385 * math/w_lgamma_r.c: Likewise.
11386 * math/w_lgammaf.c: Likewise.
11387 * math/w_lgammaf_r.c: Likewise.
11388 * math/w_lgammal.c: Likewise.
11389 * math/w_lgammal_r.c: Likewise.
11390 * math/w_log.c: Likewise.
11391 * math/w_log10.c: Likewise.
11392 * math/w_log10f.c: Likewise.
11393 * math/w_log10l.c: Likewise.
11394 * math/w_log2.c: Likewise.
11395 * math/w_log2f.c: Likewise.
11396 * math/w_log2l.c: Likewise.
11397 * math/w_logf.c: Likewise.
11398 * math/w_logl.c: Likewise.
11399 * math/w_pow.c: Likewise.
11400 * math/w_powf.c: Likewise.
11401 * math/w_powl.c: Likewise.
11402 * math/w_remainder.c: Likewise.
11403 * math/w_remainderf.c: Likewise.
11404 * math/w_remainderl.c: Likewise.
11405 * math/w_scalb.c: Likewise.
11406 * math/w_scalbf.c: Likewise.
11407 * math/w_scalbl.c: Likewise.
11408 * math/w_sinh.c: Likewise.
11409 * math/w_sinhf.c: Likewise.
11410 * math/w_sinhl.c: Likewise.
11411 * math/w_sqrt.c: Likewise.
11412 * math/w_sqrtf.c: Likewise.
11413 * math/w_sqrtl.c: Likewise.
11414 * math/w_tgamma.c: Likewise.
11415 * math/w_tgammaf.c: Likewise.
11416 * math/w_tgammal.c: Likewise.
11418 * po/ja.po: Update from translation team.
11420 2011-09-29 Andreas Jaeger <aj@suse.de>
11423 * sunrpc/netname.c (netname2host): Fix logic.
11427 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11429 * math/w_remainder.c (__remainder): Likewise.
11430 * math/w_remainderf.c (__remainderf): Likewise.
11431 * math/libm-test.inc (remainder_test): Add test cases.
11433 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11435 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11438 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11440 * string/test-memcmp.c: Avoid unncessary #defines.
11441 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11443 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11445 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11446 Use new sse2 version for core i3 - i7 as it's faster
11447 than sse42 version.
11448 (bit_Prefer_PMINUB_for_stringop): New.
11449 * sysdeps/x86_64/rawmemchr.S: Update.
11450 Replace with faster SSE2 version.
11451 * sysdeps/x86_64/memrchr.S: New file.
11452 * sysdeps/x86_64/memchr.S: Update.
11453 Replace with faster SSE2 version.
11455 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11457 * elf/dl-load.c (lose): Add cast to avoid warning.
11459 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11461 * po/ca.po: Update from translation team.
11463 * inet/getnetgrent_r.c: Hook up nscd.
11464 * nscd/Makefile (routines): Add nscd_netgroup.
11465 (nscd-modules): Add netgroupcache.
11466 (CFLAGS-netgroupcache.c): Define.
11467 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11468 (cache_search): Add const to second parameter.
11469 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11471 (dbs): Add netgrdb entry.
11472 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11473 (verify_persistent_db): Handle netgrdb.
11474 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11475 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11477 (netgroup_response_header): Define.
11478 (innetgroup_response_header): Define.
11479 (datahead): Add netgroup_response_header and innetgroup_response_header
11481 * nscd/nscd.conf: Add entries for netgroup cache.
11482 * nscd/nscd.h (dbtype): Add netgrdb.
11483 (_PATH_NSCD_NETGROUP_DB): Define.
11484 (netgroup_iov_disabled): Declare.
11485 (xmalloc, xcalloc, xrealloc): Move declarations here.
11486 (cache_search): Adjust prototype.
11487 Add netgroup-related prototypes.
11488 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11489 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11490 (__nscd_innetgr): Declare.
11491 * nscd/selinux.c (perms): Use access_vector_t as element type and
11492 add netgroup-related initializers.
11493 * nscd/netgroupcache.c: New file.
11494 * nscd/nscd_netgroup.c: New file.
11495 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11496 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11497 For four parameters use innetgr.
11498 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11499 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11500 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11501 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11503 * nscd/connections.c (register_traced_file): Don't register file
11504 for disabled databases.
11506 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11508 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11510 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11511 from tree and freeing node.
11513 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11515 * nss/nsswitch.c (__nss_database_lookup): Handle
11516 nss_parse_service_list out of memory case.
11518 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11520 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11521 out of memory case.
11523 2011-10-04 Andreas Schwab <schwab@redhat.com>
11525 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11526 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11528 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11529 elf_machine_rela, elf_machine_lazy_rel.
11530 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11531 (ELF_DYNAMIC_DO_REL): Likewise.
11532 (ELF_DYNAMIC_DO_RELA): Likewise.
11533 (ELF_DYNAMIC_RELOCATE): Likewise.
11534 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11535 to ELF_DYNAMIC_DO_REL.
11536 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11537 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11538 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11540 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11541 skip_ifunc, don't call ifunc function if non-zero.
11542 (elf_machine_rela): Likewise.
11543 (elf_machine_lazy_rel): Likewise.
11544 (elf_machine_lazy_rela): Likewise.
11545 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11546 (elf_machine_lazy_rel): Likewise.
11547 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11549 (elf_machine_lazy_rel): Likewise.
11550 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11552 (elf_machine_lazy_rel): Likewise.
11553 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11554 (elf_machine_lazy_rel): Likewise.
11555 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11556 (elf_machine_lazy_rel): Likewise.
11557 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11558 (elf_machine_lazy_rel): Likewise.
11559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11560 (elf_machine_lazy_rel): Likewise.
11561 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11562 (elf_machine_lazy_rel): Likewise.
11563 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11564 (elf_machine_lazy_rel): Likewise.
11566 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11568 * nss/nss_files/files-init.c (_nss_files_init): Use static
11569 initialization for all the *_traced_file variables.
11571 2011-09-28 Andreas Schwab <schwab@redhat.com>
11573 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11575 2011-09-27 Roland McGrath <roland@hack.frob.com>
11578 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11580 2011-09-27 Andreas Schwab <schwab@redhat.com>
11582 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11583 Reread the line before reparsing it.
11585 2011-09-26 Andreas Schwab <schwab@redhat.com>
11587 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11589 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11590 Maxim Kuvyrkov <maxim@codesourcery.com>
11591 Joseph Myers <joseph@codesourcery.com>
11593 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11594 if needed for __stack_chk_guard.
11596 2011-09-19 Roland McGrath <roland@hack.frob.com>
11598 * sysdeps/posix/spawni.c (script_execute): Always define it.
11599 It will be optimized away if unused.
11600 (maybe_script_execute): New function.
11601 (__spawni): Call it.
11603 * Makerules: Don't include tls.make.
11604 (config-tls): Always set to thread.
11605 * tls.make.c: File removed.
11607 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11609 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11610 * config.make.in (CPPFLAGS-config): New substituted variable.
11612 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11614 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11617 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11618 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11620 2011-09-15 Roland McGrath <roland@hack.frob.com>
11622 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11623 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11624 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11625 (CALL_FAIL): Likewise.
11626 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11627 (CALL_FAIL): Macro removed.
11628 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11630 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11632 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11633 for __FINITE_MATH_ONLY__ == 1.
11635 2011-09-15 Andreas Schwab <schwab@redhat.com>
11637 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11638 __ieee754_sqrt instead of sqrt.
11639 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11640 __ieee754_sqrtf instead of sqrtf.
11641 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11642 __floorf instead of floorf.
11643 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11644 __floorf, __truncf instead of floorf, truncf.
11646 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11648 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11650 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11651 __extern_always_inline.
11652 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11655 2011-09-14 Andreas Schwab <schwab@redhat.com>
11657 * elf/rtld.c (dl_main): Also relocate in dependency order when
11658 doing symbol dependency testing.
11660 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11662 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11663 Always define `refsym'.
11665 2011-09-13 Andreas Schwab <schwab@redhat.com>
11667 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11668 (__FD_ELT): Renamed from __FDELT.
11669 * misc/bits/select2.h (__FD_ELT): Likewise.
11670 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11671 __FD_MASK instead of __FDELT, __FDMASK.
11672 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11674 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11677 * elf/Makefile (gen-ldd): Fix pattern.
11679 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11680 (init_tls): Likewise.
11682 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11686 2011-09-12 Andreas Schwab <schwab@redhat.com>
11688 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11689 `struct cmsghdr *' instead of `void *'.
11690 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11693 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11695 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11697 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11698 ldd_rewrite_script.
11700 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11702 * configure.in: Remove --with-tls option.
11703 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11704 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11705 out in case it is missing.
11706 * sysdeps/ia64/elf/configure.in: Likewise.
11707 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11708 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11709 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11710 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11711 * sysdeps/sh/elf/configure.in: Likewise.
11712 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11713 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11714 * sysdeps/x86_64/elf/configure.in: Likewise.
11715 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11716 * sysdeps/mach/hurd/tls.h: Likewise.
11719 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11722 * configure.in: Fix use of AC_INIT.
11724 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11726 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11728 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11730 * malloc/hooks.c: Likewise.
11733 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11734 variables statically.
11735 (narenas): Initialize.
11736 (list_lock): Initialize.
11737 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11738 initializtion of main_arena and list_lock. Small cleanups.
11739 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11740 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11741 Add initializers to main_arena and mp_.
11742 (malloc_state): Remove pagesize member. Change all users to use
11745 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11746 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11747 is always initialized.
11749 * malloc/malloc.c: Removed unused configurations and dead code.
11750 * malloc/arena.c: Likewise.
11751 * malloc/hooks.c: Likewise.
11752 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11754 * include/tls.h: Removed. USE___THREAD must always be defined.
11755 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11756 * elf/dl-libc.c: Likewise.
11757 * elf/dl-tsd.c: Likewise.
11758 * include/errno.h: Likewise.
11759 * include/netdb.h: Likewise.
11760 * include/resolv.h: Likewise.
11761 * inet/herrno-loc.c: Likewise.
11762 * inet/herrno.c: Likewise.
11763 * malloc/arena.c: Likewise.
11764 * malloc/hooks.c: Likewise.
11765 * malloc/malloc.c: Likewise.
11766 * resolv/res-state.c: Likewise.
11767 * resolv/res_libc.c: Likewise.
11768 * sysdeps/i386/dl-machine.h: Likewise.
11769 * sysdeps/ia64/dl-machine.h: Likewise.
11770 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11771 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11772 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11773 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11774 * sysdeps/sh/dl-machine.h: Likewise.
11775 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11776 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11777 * sysdeps/unix/i386/sysdep.S: Likewise.
11778 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11779 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11780 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11781 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11782 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11784 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11785 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11786 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11787 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11788 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11789 * sysdeps/x86_64/dl-machine.h: Likewise.
11790 * tls.make.c: Likewise.
11792 * configure.in: Remove --with-__thread option. Make tests for
11793 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11794 tls_model attribute fail if no support is available. Remove
11796 * Makeconfig: Adjust for dropped configure option. All features are
11798 * Makerules: Likewise.
11799 * Versions.def: Likewise.
11800 * argp/argp-fmtstream.c: Likewise.
11801 * argp/argp-fmtstream.h: Likewise.
11802 * argp/argp-help.c: Likewise.
11803 * assert/assert.c: Likewise.
11804 * config.h.in: Likewise.
11805 * config.make.in: Likewise.
11806 * configure: Likewise.
11807 * configure.in: Likewise.
11808 * csu/Versions: Likewise.
11809 * csu/init.c: Likewise.
11810 * elf/tst-audit2.c: Likewise.
11811 * elf/tst-tls10.c: Likewise.
11812 * elf/tst-tls10.h: Likewise.
11813 * elf/tst-tls11.c: Likewise.
11814 * elf/tst-tls12.c: Likewise.
11815 * elf/tst-tls14.c: Likewise.
11816 * elf/tst-tlsmod11.c: Likewise.
11817 * elf/tst-tlsmod12.c: Likewise.
11818 * elf/tst-tlsmod13.c: Likewise.
11819 * elf/tst-tlsmod13a.c: Likewise.
11820 * elf/tst-tlsmod14a.c: Likewise.
11821 * elf/tst-tlsmod15b.c: Likewise.
11822 * elf/tst-tlsmod16a.c: Likewise.
11823 * elf/tst-tlsmod16b.c: Likewise.
11824 * elf/tst-tlsmod7.c: Likewise.
11825 * elf/tst-tlsmod8.c: Likewise.
11826 * elf/tst-tlsmod9.c: Likewise.
11827 * gmon/gmon.c: Likewise.
11828 * grp/fgetgrent_r.c: Likewise.
11829 * grp/putgrent.c: Likewise.
11830 * hurd/fopenport.c: Likewise.
11831 * include/libc-symbols.h: Likewise.
11832 * include/tls.h: Likewise.
11833 * intl/gettextP.h: Likewise.
11834 * intl/loadinfo.h: Likewise.
11835 * locale/global-locale.c: Likewise.
11836 * locale/localeinfo.h: Likewise.
11837 * mach/devstream.c: Likewise.
11838 * malloc/arena.c: Likewise.
11839 * malloc/set-freeres.c: Likewise.
11840 * misc/err.c: Likewise.
11841 * misc/getttyent.c: Likewise.
11842 * misc/mntent_r.c: Likewise.
11843 * posix/getopt.c: Likewise.
11844 * posix/wordexp.c: Likewise.
11845 * pwd/fgetpwent_r.c: Likewise.
11846 * resolv/Versions: Likewise.
11847 * resolv/res_hconf.c: Likewise.
11848 * shadow/fgetspent_r.c: Likewise.
11849 * shadow/putspent.c: Likewise.
11850 * stdio-common/printf_fphex.c: Likewise.
11851 * stdio-common/tmpfile.c: Likewise.
11852 * stdlib/abort.c: Likewise.
11853 * stdlib/fmtmsg.c: Likewise.
11854 * sunrpc/auth_unix.c: Likewise.
11855 * sunrpc/clnt_perr.c: Likewise.
11856 * sunrpc/clnt_tcp.c: Likewise.
11857 * sunrpc/clnt_udp.c: Likewise.
11858 * sunrpc/clnt_unix.c: Likewise.
11859 * sunrpc/openchild.c: Likewise.
11860 * sunrpc/svc_simple.c: Likewise.
11861 * sunrpc/svc_tcp.c: Likewise.
11862 * sunrpc/svc_udp.c: Likewise.
11863 * sunrpc/svc_unix.c: Likewise.
11864 * sunrpc/xdr.c: Likewise.
11865 * sunrpc/xdr_array.c: Likewise.
11866 * sunrpc/xdr_rec.c: Likewise.
11867 * sunrpc/xdr_ref.c: Likewise.
11868 * sunrpc/xdr_stdio.c: Likewise.
11870 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11872 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11874 2011-07-03 Andreas Jaeger <aj@suse.de>
11876 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11877 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11878 regenerate with gen-libm-tests.pl.
11880 2010-05-12 Petr Baudis <pasky@suse.cz>
11883 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11884 around j0() zero points by switching to j1().
11885 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11886 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11887 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11888 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11890 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11892 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11894 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11897 Patch in part by Pavel Roskin <proski@gnu.org>.
11900 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11902 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11903 Free memory block if necessary.
11906 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11907 be NULL. Don't lock in this case.
11909 2011-09-09 Roland McGrath <roland@hack.frob.com>
11911 * elf/elf.h (ELFOSABI_GNU): New macro.
11912 (ELFOSABI_LINUX): Define to that.
11914 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11916 * string/strncat.c (strncat): Undef the symbol in case it has been
11917 defined in bits/string.h.
11919 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11921 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11923 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11926 2011-08-17 Andreas Jaeger <aj@suse.de>
11928 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11930 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11931 Ian Lance Taylor <iant@google.com>
11933 * math/libm-test.inc (lround_test): New testcase.
11934 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11936 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11938 * Makefile: Remove support for automatic cvs check-ins.
11939 * Makerules: Likewise.
11940 * config.make.in: Likewise.
11941 * configure.in: Likewise.
11942 * intl/Makefile: Likewise.
11943 * locale/Makefile: Likewise.
11944 * po/Makefile: Likewise.
11945 * posix/Makefile: Likewise.
11946 * sysdeps/gnu/Makefile: Likewise.
11947 * sysdeps/mach/hurd/Makefile: Likewise.
11948 * sysdeps/sparc/sparc32/Makefile: Likewise.
11951 * posix/Makefile (bug-regex32-ENV): Define.
11952 Patch by John Stanley <jpsinthemix@verizon.net>.
11954 * misc/Makefile (headers): Add bits/select2.h.
11955 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11956 * misc/bits/select2.h: New file.
11957 * include/bits/select2.h: New file.
11958 * debug/Makefile (routines): Add fdelt_chk.
11959 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11960 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11962 * debug/fdelt_chk.c: New file.
11964 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11965 * wcsmbs/test-wmemcmp.c: Likewise.
11966 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11967 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11969 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11971 * string/Makefile (strop-tests): Add memcmp.
11972 * string/test-wmemcmp.c: New file.
11973 * string/test-memcmp.c: Add wmemcmp support.
11975 2011-09-08 Roland McGrath <roland@hack.frob.com>
11978 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11981 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11982 garbage value in a __mach_port_mod_refs call in the cases of the
11983 task-self and thread-self ports.
11985 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11987 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11989 2011-09-08 Andreas Schwab <schwab@redhat.com>
11991 * elf/dl-load.c (lose): Check for non-null L.
11993 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11995 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11997 * elf/dl-libc.c (dlerror_run): Pass back error code from
12001 * elf/dl-load.c (lose): Free l_origin if it is valid.
12003 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
12005 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12006 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12007 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12008 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12009 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12010 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
12012 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12014 * sysdeps/powerpc/fpu/e_hypot.c: New file.
12015 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
12016 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
12017 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
12018 * sysdeps/powerpc/fpu/k_cosf.c: New file.
12019 * sysdeps/powerpc/fpu/k_sinf.c: New file.
12020 * sysdeps/powerpc/fpu/s_cosf.c: New file.
12021 * sysdeps/powerpc/fpu/s_sinf.c: New file.
12022 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
12023 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
12025 2011-08-15 Alan Modra <amodra@gmail.com>
12028 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12029 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12030 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12031 ppc_mcount to static-only-routines.
12032 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12034 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12035 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12037 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12039 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12040 for finite and infinity parameters.
12042 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12044 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12045 and add nop instructions for throughput optimization.
12046 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12048 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12050 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12051 aligned copy for power7 with vector-scalar instructions.
12052 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12054 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12056 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12059 2011-09-07 Andreas Schwab <schwab@redhat.com>
12062 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12065 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12067 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12068 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12069 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12070 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12073 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12075 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12076 Forgot to demangle the pointer.
12078 * sysdeps/i386/sysdep.h: Define atom_text_section.
12079 * sysdeps/x86_64/sysdep.h: Likewise.
12080 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12081 section with atom_text_section.
12082 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12083 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12084 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12085 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12086 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12088 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12089 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12090 already be defined. Change to take two parameters and don't assign
12091 result to variable. Adjust all users.
12092 Define INTERNAL_GETTIME if not already defined.
12093 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12096 HAVE_CLOCK_GETTIME_VSYSCALL.
12097 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12099 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12100 gettimeofday vsyscall, just use time.
12102 2011-09-06 Andreas Schwab <schwab@redhat.com>
12104 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12107 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12109 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12113 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12114 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12115 syscall if possible.
12117 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12119 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12120 e_ident. Don't pass to find_mapsXX.
12121 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12123 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12126 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12127 * sysdeps/x86_64/multiarch/strchr.S: Update.
12128 Check bit_slow_BSF bit.
12129 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12130 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12131 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12133 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12136 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12138 (tryshell): Define.
12139 (__spawni): Change last parameter to be flag. Test
12140 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12141 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12142 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12143 * posix/spawni.c: Likewise.
12144 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12145 * posix/spawnp.c: Likewise. Change normal version to use
12146 SPAWN_XFLAGS_USE_PATH.
12147 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12148 SPAWN_XFLAGS_TRY_SHELL.
12151 * posix/glob.h: Remove gcc 1.x support.
12154 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12156 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12159 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12161 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12162 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12163 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12164 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12165 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12166 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12168 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12170 * sysdeps/x86_64/wcscmp.S: New file.
12172 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12173 wcscmp-c wcscmp-sse2
12174 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12175 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12176 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12177 * wcsmbs/wcscmp.c: Allow renaming.
12179 2011-09-05 David S. Miller <davem@davemloft.net>
12181 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12182 stack slot, rather than the struct return pointer slot.
12183 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12184 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12186 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12188 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12190 * po/ja.po: Update from translation team.
12193 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12194 kernel in 64-bit binaries.
12196 2011-09-01 David S. Miller <davem@davemloft.net>
12198 * elf/elf.h (HWCAP_SPARC_*): Move to..
12199 * sysdeps/sparc/sysdep.h: this new file and add new values.
12200 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12201 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12202 _DL_HWCAP_COUNT to 24.
12203 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12205 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12206 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12207 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12209 instead of magic constants.
12210 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12212 2011-08-31 David S. Miller <davem@davemloft.net>
12214 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12215 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12216 Reimplement to do errno handling inline.
12217 (SYSCALL_ERROR_HANDLER): New macro.
12218 (__SYSCALL_STRING): Do not do errno handling in asm.
12219 (__CLONE_SYSCALL_STRING): Delete.
12220 (__INTERNAL_SYSCALL_STRING): Delete.
12221 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12222 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12223 (PSEUDO): Reimplement to do errno handling inline.
12224 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12225 (SYSCALL_ERROR_HANDLER): New macro.
12226 (__SYSCALL_STRING): Do not do errno handling in asm.
12227 (__CLONE_SYSCALL_STRING): Delete.
12228 (__INTERNAL_SYSCALL_STRING): Delete.
12229 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12230 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12232 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12233 (inline_syscall*): Add 'err' argument.
12234 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12235 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12236 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12237 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12239 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12240 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12242 2011-08-30 Andreas Schwab <schwab@redhat.com>
12244 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12246 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12248 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12251 2011-08-24 David S. Miller <davem@davemloft.net>
12253 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12255 2011-08-24 Andreas Schwab <schwab@redhat.com>
12257 * elf/Makefile: Add rules to build and run unload8 test.
12258 * elf/unload8.c: New file.
12259 * elf/unload8mod1.c: New file.
12260 * elf/unload8mod1x.c: New file.
12261 * elf/unload8mod2.c: New file.
12262 * elf/unload8mod3.c: New file.
12264 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12267 2011-08-23 David S. Miller <davem@davemloft.net>
12269 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12270 subtract stack bias.
12271 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12272 %sp not %fp in calculations.
12273 (_JMPBUF_UNWINDS_ADJ): Likewise.
12275 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12276 (aio_suspend): Call it to force an exception region around the
12277 AIO_MISC_WAIT() invocation.
12279 2011-08-23 Andreas Schwab <schwab@redhat.com>
12281 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12284 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12286 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12288 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12289 and <dl-machine.h>.
12290 (Elf64_FuncDesc): Remove.
12292 2011-08-22 David S. Miller <davem@davemloft.net>
12294 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12295 sigaltstack check, add missing cfi directives.
12296 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12297 missing cfi directives, and sigaltstack handling.
12299 2011-08-16 Andreas Schwab <schwab@redhat.com>
12302 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12303 object is seen twice.
12304 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12306 * elf/Makefile (distribute): Add tst-initorder2.c.
12307 (tests): Add tst-initorder2.
12308 (modules-names): Add tst-initorder2a tst-initorder2b
12309 tst-initorder2c tst-initorder2d. Add rules to build them.
12310 ($(objpfx)tst-initorder2.out): New rule.
12311 * elf/tst-initorder2.c: New file.
12312 * elf/tst-initorder2.exp: New file.
12314 2011-08-22 Andreas Schwab <schwab@redhat.com>
12316 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12318 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12319 dependencies back to end of function.
12321 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12322 $(elfobjdir)/ld.so.
12324 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12326 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12327 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12328 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12329 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12330 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12331 of __vdso_gettimeofday.
12332 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12333 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12335 (_libc_vdso_platform_setup): Remove initialization of
12336 __vdso_gettimeofday and __vdso_time.
12338 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12340 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12341 and fgetc_unlocked.
12342 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12345 * elf/dl-open.c (add_to_global): Report additions to the global scope
12346 for LD_DEBUG=scopes.
12347 (dl_open_worker): Also print scope of newly loaded dependencies.
12348 (_dl_show_scope): Indicate if there is no scope.
12351 * stdio-common/Makefile (tests): Add bug24.
12352 * stdio-common/bug24.c: New file.
12354 2011-08-19 Andreas Jaeger <aj@suse.de>
12357 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12358 non-existant file when using close-on-exec mode.
12360 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12362 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12363 the very first instruction.
12365 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12366 the CFI state in the end.
12367 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12368 inclusion of dl-trampoline.h.
12369 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12371 2011-08-19 Andreas Schwab <schwab@redhat.com>
12373 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12374 expectations for long double.
12376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12377 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12379 2011-08-14 David S. Miller <davem@davemloft.net>
12381 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12382 artificual limit depends upon the system page size.
12384 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12386 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12387 * resolv/Makefile: Define CFLAGS-libresolv.
12389 2011-08-17 Andreas Schwab <schwab@redhat.com>
12391 * nss/makedb.c (compute_tables): Make variables used in nested
12394 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12396 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12397 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12398 if buffer was too small.
12400 * elf/pldd.c (main): Attach to all threads in the process.
12401 Rewrite /proc handling to use *at functions.
12403 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12405 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12406 specifies first scope to show.
12407 (dl_open_worker): Update callers. Move printing scope of new
12408 object to before the relocation.
12409 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12410 * sysdeps/generic/ldsodefs.h: Update declaration.
12412 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12413 string for the scope number.
12415 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12417 * nscd/servicescache.c (cache_addserv): Make sure written is always
12420 2011-08-14 Roland McGrath <roland@hack.frob.com>
12422 * sysdeps/i386/i486/bits/atomic.h
12423 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12424 statement expression, so as to suppress "set but not used" warning.
12425 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12427 * string/strncat.c (STRNCAT): Use prototype definition.
12429 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12430 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12432 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12433 (localedef-modules): Add localedef.
12434 (locale-modules): Add locale.
12436 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12437 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12438 to avoid a warning.
12440 2011-08-14 David S. Miller <davem@davemloft.net>
12442 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12443 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12445 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12447 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12448 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12449 * elf/rtld.c (dl_main): Set l_name of vDSO.
12450 Call _dl_show_scope when DL_DEBUG_SCOPES.
12451 (process_dl_debug): Recognize scopes flag and also set it for all.
12452 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12453 Declare _dl_show_scope.
12455 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12456 (do_dlopen): Pass caller_dlopen to dl_open.
12457 (__libc_dlopen_mode): Initialize caller_dlopen.
12459 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12460 of libc. Make tolower call locale-independent. Optimize a bit by
12461 using isdigit instead of isalnum.
12462 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12464 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12466 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12467 was a dependency or dynamically loaded.
12469 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12471 * intl/l10nflist.c: Allow architecture-specific pop function.
12472 * sysdeps/x86_64/l10nflist.c: New file.
12474 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12477 2011-08-10 Andreas Schwab <schwab@redhat.com>
12479 * include/dirent.h: Add libc_hidden_proto for scandirat and
12480 scandirat64. Don't declare __scandirat64.
12481 * dirent/scandirat.c: Add libc_hidden_def.
12482 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12483 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12485 2011-08-10 David S. Miller <davem@davemloft.net>
12487 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12489 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12490 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12491 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12493 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12495 * Versions.def [libc]: Add GLIBC_2.15.
12496 * dirent/Makefile (routines): Add scandirat and scandirat64.
12497 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12499 * dirent/dirent.h: Declare scandirat and scandirat64.
12500 * dirent/scandirat.c: New file.
12501 * dirent/scandirat64.c: New file.
12502 * sysdeps/wordsize-64/scandirat.c: New file.
12503 * sysdeps/wordsize-64/scandirat64.c: New file.
12504 * dirent/opendir.c: Define opendirat.
12505 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12507 * dirent/scandir64.c: Adjust for scandir.c change.
12508 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12509 __scandirat64, and __scandir_cancel_handler.
12510 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12511 additional parameter and use openat instead of open (outside of ld.so).
12512 Add new __opendir as wrapper around __opendirat.
12513 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12514 here without requiring old scandirat implementation.
12516 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12518 * dirent/scandir.c (cancel_handler): Renamed to
12519 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12520 defined. Adjust users.
12521 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12522 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12524 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12526 * string/test-string.h (IMPL): Use __STRING to expand name and then
12529 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12532 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12534 * string/Makefile: Update.
12535 (strop-tests): Append strncat.
12536 * string/test-wcscmp.c: New file.
12537 New comprehensive test for wcscmp.
12538 * string/test-strcmp.c: Update.
12539 (WIDE): New define.
12541 2011-07-22 Andreas Schwab <schwab@redhat.com>
12543 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12546 2011-07-26 Andreas Schwab <schwab@redhat.com>
12548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12549 encoding to ACE if AI_IDN.
12551 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12553 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12554 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12556 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12558 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12559 Fix overflow bug in strncat.
12560 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12562 * string/test-strncat.c: Update.
12563 Add new tests for checking overflow bugs.
12565 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12568 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12569 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12570 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12571 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12572 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12573 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12574 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12575 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12577 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12578 (USE_AS_STRCAT): Define.
12579 Add strcat and strncat support.
12580 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12582 2011-07-25 Andreas Schwab <schwab@redhat.com>
12584 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12585 __n bigger than INT_MAX+1.
12586 (__strncmp_g): Likewise.
12588 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12590 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12591 * libio/stido.h: Likewise.
12593 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12598 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12599 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12600 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12601 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12602 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12605 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12610 (_dl_x86_64_save_sse): Likewise.
12612 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12616 (_dl_x86_64_save_sse): Likewise.
12618 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12620 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12622 2011-07-21 Andreas Schwab <schwab@redhat.com>
12624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12626 (_dl_x86_64_save_sse): Use correct AVX check.
12628 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12630 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12631 bug in strncpy/strncat.
12632 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12634 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12636 * string/tester.c (test_strcat): Add tests for different alignments
12637 of source and destination.
12638 (test_strncat): Likewise.
12640 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12643 * posix/glob.c (glob): Check passed in values before using them in
12644 expressions to avoid some overflows.
12645 (glob_in_dir): Likewise.
12648 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12649 check for AVX enablement so that we don't crash with old kernels and
12651 * elf/tst-audit4.c: Add same checks here.
12652 * elf/tst-audit6.c: Likewise.
12654 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12656 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12658 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12660 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12662 * po/cs.po: Update from translation team.
12663 * po/bg.po: Likewise.
12665 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12667 * misc/sys/cdefs.h: Add support for const attribute.
12668 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12669 to gnu_dev_{major,minor,makedev} functions.
12671 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12673 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12675 2011-07-20 Andreas Schwab <schwab@redhat.com>
12677 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12680 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12682 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12683 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12684 register in order to avoid conflicts with the soft frame pointer
12685 being held in r11 when necessary.
12686 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12687 (INTERNAL_VSYSCALL_NCS): Likewise.
12689 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12691 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12692 * elf/dl-fini.c (_dl_fini): Adjust caller.
12693 * elf/dl-close.c (_dl_close_worker): Likewise.
12694 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12696 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12698 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12699 "aux_cache->nlibs < 0".
12701 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12702 in the reload-count case.
12704 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12707 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12708 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12709 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12710 * sysdeps/x86_64/multiarch/strcat.S: New file.
12711 * sysdeps/x86_64/multiarch/strncat.S: New file.
12712 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12713 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12714 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12715 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12716 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12717 (USE_AS_STRCAT): Define.
12718 Add strcat and strncat support.
12719 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12720 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12721 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12722 * string/strncat.c: Update.
12723 (USE_AS_STRNCAT): Define.
12724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12725 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12727 * sysdeps/x86_64/multiarch/init-arch.h
12728 (bit_Prefer_PMINUB_for_stringop): New.
12729 (index_Prefer_PMINUB_for_stringop): Likewise.
12730 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12731 bit_Prefer_PMINUB_for_stringop.
12733 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12735 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12737 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12738 of casting of buffer.
12739 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12740 buffer32 and buffer64.
12741 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12742 writes instead of casting of buffer.
12743 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12745 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12748 2011-07-19 Andreas Schwab <schwab@redhat.com>
12750 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12752 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12754 * nscd/nscd.c (termination_handler): Don't do anything for a database
12755 if it has not yet been initialized.
12757 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12759 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12761 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12763 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12765 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12767 * po/nl.po: Update from translation team.
12768 * po/sv.po: Likewise.
12770 2011-07-16 Roland McGrath <roland@hack.frob.com>
12772 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12773 now disallowed by GCC.
12775 * configure.in (use-default-link): Default to yes if a test -shared
12776 link meets our qualifications.
12777 * configure: Regenerated.
12779 * config.make.in (output-format): New variable.
12780 * configure.in: Check for ld --print-output-format support.
12781 * configure: Regenerated.
12782 * Makerules ($(common-objpfx)format.lds)
12783 [$(output-format) != unknown]: Just use $(output-format),
12784 instead of the linker-script munging.
12786 2011-07-14 Roland McGrath <roland@hack.frob.com>
12788 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12789 of $(common-objpfx)shlib.lds.
12790 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12792 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12793 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12795 * configure.in (-z relro check): Adjust test code to add a large
12796 writable data section after it.
12797 * configure: Regenerated.
12799 2011-07-11 Roland McGrath <roland@hack.frob.com>
12801 * configure.in (-z relro check): Fix test code to make the variable
12803 * configure: Regenerated.
12805 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12807 * nscd/nscd.h (struct traced_file): Define.
12808 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12809 elements. Add traced_files.
12810 (inotify_fd): Declare.
12811 (register_traced_file): Declare.
12812 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12813 (inotify_fd): Export.
12814 (resolv_conf_descr): Remove.
12815 (nscd_init): Move inotify descriptor creation to main.
12816 Don't register files for notification here.
12817 (register_traced_file): New function.
12818 (invalidate_cache): Don't use reset_res to determine whether to call
12819 res_init, go through the list of registered files.
12820 (main_loop_poll): The inotify descriptors are now stored in the
12821 structures for the traced files.
12822 (main_loop_epoll): Likewise
12823 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12824 to __nss_disable_nscd.
12825 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12826 for a database anymore. Check the records for all the registered
12828 * nss/Makefile (libnss_files-routines): Add files-init.
12829 (libnss_db-routines): Add db-init.
12830 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12831 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12832 * nss/nss_db/db-init.c: New file.
12833 * nss/nss_files/files-init.c: New file.
12834 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12835 __nss_lookup_function.
12836 (__nss_lookup_function): Call nss_load_library.
12837 (nss_load_all_libraries): New function.
12838 (__nss_disable_nscd): Take parameter with callback function for files
12839 to register. Set is_nscd. Load all the DSOs for the NSS modules
12840 used for the cached services.
12841 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12842 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12843 options for features to all the files in nscd.
12845 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12847 2011-07-10 Roland McGrath <roland@hack.frob.com>
12849 * csu/elf-init.c (__libc_csu_init): Comment typo.
12851 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12853 * po/pl.po: Update from translation team.
12854 * po/ja.po: Likewise.
12855 * po/ru.po: Likewise.
12856 * po/ko.po: Likewise.
12857 * po/fr.po: Likewise.
12859 2011-07-09 Roland McGrath <roland@hack.frob.com>
12861 * configure.in (.ctors/.dtors header and trailer check):
12862 Use an empirical test on a built program.
12863 * configure: Regenerated.
12865 * configure.in (-z relro check): Use an empirical test on a built DSO.
12866 Detect, but do not require, on ia64.
12867 * configure: Regenerated.
12869 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12870 Update tests that use readelf to use $READELF instead.
12871 * configure: Regenerated.
12873 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12875 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12876 if the result is not used.
12878 2011-07-05 Andreas Jaeger <aj@suse.de>
12881 * stdlib/tst-strtod.c: Add testcase.
12883 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12885 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12886 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12887 The latter has a higher limit. Take additional parameter to pass to
12889 (__pathconf): Pass file to __statfs_link_max.
12890 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12892 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12896 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12897 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12899 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12900 (__statfs_filesize_max): Likewise.
12901 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12903 2011-07-05 Andreas Jaeger <aj@suse.de>
12905 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12907 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12909 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12911 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12914 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12916 * Makefile (strop-tests): Add strncat.
12917 * string/test-strncat.c: New file.
12919 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12921 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12923 2011-06-21 Andreas Jaeger <aj@suse.de>
12925 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12926 Copy rule from iconvdata/Makefile.
12928 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12931 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12932 but no long options are defined, just return 'W'.
12934 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12937 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12939 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12941 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12943 (innetgr): Likewise.
12945 2011-07-05 Roland McGrath <roland@hack.frob.com>
12947 * config.make.in (install_root): Default to $(DESTDIR).
12949 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12951 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12953 2011-07-02 Roland McGrath <roland@hack.frob.com>
12955 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12957 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12958 containing directory rather than embedding absolute directory names.
12960 * scripts/check-local-headers.sh: Rewritten using awk.
12961 Match by word, not by line. Print error messages for matches.
12962 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12964 * Makerules [shlib-lds-flags empty]:
12965 ($(common-objpfx)libc_pic.opts): New target.
12966 ($(common-objpfx)libc_pic.os.clean): New target.
12967 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12969 * config.make.in (OBJCOPY): New variable.
12970 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12971 * configure: Regenerated.
12973 * config.make.in (use-default-link): New variable.
12974 * configure.in (use_default_link): Grok --with-default-link to set it.
12975 * configure: Regenerated.
12976 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12977 (shlib-lds, shlib-lds-flags): Define to empty.
12979 * Makerules (shlib-lds): New variable.
12980 (shlib-lds-flags): New variable.
12981 (build-shlib, build-moduile, build-module-asneeded): Use it.
12982 ($(common-objpfx)libc.so): Use $(shlib-lds).
12983 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12984 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12986 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12987 DT_FLAGS/DT_FLAGS_1 with zero flags.
12989 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12990 linker script munging.
12992 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12994 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12996 * crypt/sha512.c (sha512_process_block): Perform total addition using
12997 128-bit if possible.
12998 (__sha512_finish_ctx): Likewise.
12999 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
13001 * crypt/sha256.c (SWAP64): Define.
13002 (sha256_process_block): Perform total addition using 64-bit if
13004 (__sha256_finish_ctx): Likewise.
13006 2011-07-01 Ulrich Drepper <drepper@gmail.com>
13008 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
13009 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13010 * nscd/hstcache.c (cache_addhst): Likewise.
13011 * nscd/grpcache.c (cache_addgr): Likewise.
13012 * nscd/aicache.c (addhstaiX): Likewise
13013 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
13015 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
13017 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
13018 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13019 * nscd/hstcache.c (cache_addhst): Likewise.
13020 * nscd/grpcache.c (cache_addgr): Likewise.
13021 * nscd/aicache.c (addhstaiX): Likewise
13023 2011-07-01 Andreas Schwab <schwab@redhat.com>
13025 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
13026 domain only when needed.
13028 2011-06-30 Andreas Schwab <schwab@redhat.com>
13030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13031 is always restored.
13033 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13035 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13036 are re-adding the entry.
13037 * nscd/servicescache.c (cache_addserv): Likewise.
13039 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13041 * sysdeps/generic/dl-irel.h: fix protection against multiple
13043 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13045 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13048 * malloc/memusage.sh: Fix quoting in message.
13049 * debug/xtrace.sh: Likewise.
13051 * configure.in: Remove support for --experimental-malloc option, make
13053 * config.make.in: Likewise.
13054 * malloc/Makefile: Likewise.
13056 2011-06-27 Andreas Schwab <schwab@redhat.com>
13058 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13059 two-byte characters.
13061 2011-06-27 Roland McGrath <roland@hack.frob.com>
13063 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13064 AC_CACHE_CHECK invocation.
13065 * configure: Regenerated.
13067 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13069 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13072 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13073 bit from old_res_options.
13075 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13077 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13078 value type for setfct.
13080 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13083 __gettimeofday instead of gettimeofday.
13085 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13087 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13089 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13093 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13096 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13099 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13100 strcpy-sse2-unaligned strncpy-sse2-unaligned
13101 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13102 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13103 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13104 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13105 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13106 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13107 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13108 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13109 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13110 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13111 (STRCPY): Support SSE2 and SSSE3 versions.
13113 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13116 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13117 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13118 kernels which artificially limit size of requests.
13120 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13123 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13124 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13125 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13126 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13127 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13128 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13129 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13130 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13131 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13132 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13133 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13134 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13135 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13136 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13138 Enable unaligned load optimization for Intel Core i3, i5 and i7
13140 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13142 (index_Fast_Unaligned_Load): Define.
13143 (HAS_FAST_UNALIGNED_LOAD): Define.
13145 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13147 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13149 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13153 until it is clear that the information is realy needed.
13154 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13156 2011-06-22 Andreas Schwab <schwab@redhat.com>
13158 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13160 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13163 /sys/devices/system/cpu/online if it is usable.
13165 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13166 reading the information from the /proc filesystem to once a second.
13168 2011-06-21 Andreas Jaeger <aj@suse.de>
13170 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13171 NULL after inclusion of kernel headers.
13173 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13175 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13176 calls to internal_setent.
13179 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13180 addresses using gethostbyname4_r ignore IPv4 addresses.
13182 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13183 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13185 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13187 2011-06-20 David S. Miller <davem@davemloft.net>
13189 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13191 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13193 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13194 (elf_irel): Use it.
13195 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13196 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13197 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13198 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13199 * sysdeps/x86_64/dl-irel.h: Likewise.
13201 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13202 * elf/dl-sym.c: Likewise.
13204 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13206 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13207 need to dereference resplen2.
13209 2011-06-14 Andreas Schwab <schwab@redhat.com>
13211 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13213 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13215 * Makeconfig: Define vardbdir and inst_vardbdir.
13216 * nss/Makefile: Add rules to install db-Makefile.
13218 * nss/nss_db/db-XXX.c: Cleanup.
13220 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13221 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13223 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13224 * nss/makedb.c: Implement -g option to specify that value strings
13225 are generated and should not be added to table iterated over for
13227 * nss/nss_db/db-initgroups.c: New file.
13229 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13232 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13233 (internal_getgrouplist): Adjust to name change.
13234 Update use_initgroups_entry if this is not the first call.
13235 * nss/databases.def: Add initgroups entry.
13237 * nss/makedb.c (compute_tables): Check result of multiple hash table
13238 sizes to minimize maximum chain length.
13240 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13242 * Versions.def: Add entry for libnss_db.
13243 * shlib-versions: Likewise.
13244 * nss/Makefile: Add rules to build libnss_db.
13245 * nss/Versions: Add libnss_db information. Organize libnss_files
13247 * nss/db-Makefile: Add gshadow support. Change rules for the new
13248 makedb progra. Some minor improvements to generate smaller files.
13249 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13251 * nss/makedb.c: ...here.
13252 Improve database format to be smaller and require less memory at
13254 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13256 * nss/nss_db/db-netgrp.c: Likewise.
13257 * nss/nss_db/db-open.c: Likewise.
13258 * nss/nss_files/flies-XXX.x: Adjust comments.
13259 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13260 * nss/nss_files/files-grp.c: Likewise.
13261 * nss/nss_files/files-hosts.c: Likewise.
13262 * nss/nss_files/files-network.c: Likewise.
13263 * nss/nss_files/files-proto.c: Likewise.
13264 * nss/nss_files/files-pwd.c: Likewise.
13265 * nss/nss_files/files-rpc.c: Likewise.
13266 * nss/nss_files/files-service.c: Likewise.
13267 * nss/nss_files/files-sgrp.c: Likewise.
13268 * nss/nss_files/files-spwd.c: Likewise.
13269 * nss/nss_db/db-alias.c: Removed.
13270 * nss/nss_db/dummy-db.h: Removed.
13272 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13274 * nss/makedb.c: Rewritten to not use database library.
13275 * nss/Makefile: Update to build new makedb program.
13277 2011-06-14 Andreas Jaeger <aj@suse.de>
13279 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13280 memset declaration.
13282 2011-06-10 Andreas Schwab <schwab@redhat.com>
13284 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13287 2011-06-10 Roland McGrath <roland@hack.frob.com>
13289 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13290 * elf/Makefile ($(objpfx)ld.so): Likewise.
13292 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13293 Don't list ld.so twice in dependencies.
13295 * posix/bug-regex31.c: Include <stdlib.h>.
13297 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13299 * nis/nss_compat/compat-spwd.c
13300 (getspent_next_nss_netgr): Remove unused variable.
13301 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13303 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13304 nonmembers" output to use the right array.
13306 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13308 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13310 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13311 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13312 * catgets/gencat.c (read_input_file): Likewise.
13313 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13315 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13316 variable definition inside #if's controlling its use.
13318 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13320 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13322 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13324 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13327 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13329 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13330 * configure: Regenerated.
13332 * Makerules: Revert last change.
13333 * elf/Makefile: Likewise.
13335 2011-06-09 Roland McGrath <roland@hack.frob.com>
13337 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13338 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13339 (reloc-link): Likewise.
13341 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13343 * elf/Makefile: Add rules to build pldd.
13344 * elf/pldd.c: New file.
13345 * elf/pldd-xx.c: New file.
13347 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13349 * version.h: Update for 2.15 development version.
13351 2011-06-07 David S. Miller <davem@davemloft.net>
13353 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13355 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13356 elf_machine_lazy_rel): Likewise.
13357 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13358 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13359 elf_machine_lazy_rel): Likewise.
13360 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13361 dl_hwcap via passed in argument.
13362 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13365 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13367 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13369 2011-06-06 Roland McGrath <roland@hack.frob.com>
13372 * manual/fdl-1.1.texi: New file, verbatim from:
13373 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13374 * manual/lgpl-2.1.texi: New file, verbatim from:
13375 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13376 * manual/Makefile (licenses): New variable, list those new file names.
13378 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13380 * manual/fdl.texi: File removed.
13381 * manual/lesser.texi: File removed.
13382 * manual/libc.texinfo (Copying, Documentation License):
13383 Use new @include file names, put @appendix directive before @include.
13385 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13388 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13389 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13390 (mq_open): Add __NTH.
13392 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13395 Assume Intel Core i3/i5/i7 processor if AVX is available.
13397 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13402 2011-05-31 Andreas Schwab <schwab@redhat.com>
13404 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13405 memory. Use alloca_account. Fix memory leak when retrying.
13407 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13409 * version.h (RELEASE): Bump for 2.14 release.
13410 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13412 * config.make.in (RANLIB): Remove entry.
13414 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13416 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13417 (libc.pot): Work around missing support for .ksh extension in xgettext.
13420 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13421 if both request failed.
13422 (send_dg): In case of server errors clear resplen or *resplen2.
13425 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13426 when there are multiple maps.
13427 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13428 (_dl_fini): Remove test here.
13430 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13432 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13435 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13436 bit from old_res_options.
13437 (gaih_inet): Likewise.
13440 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13443 * resolv/res_init.c (res_setoptions): Make the code more compact.
13446 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13450 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13452 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13455 * malloc/malloc.h: Declare malloc hook variables as volatile.
13457 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13461 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13462 raise in the comment.
13463 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13464 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13465 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13467 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13470 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13471 grow the buffers more if it already has to be sufficient.
13472 (build_wcs_upper_buffer): Likewise.
13473 * posix/regexec.c (check_matching): Likewise.
13474 (clean_state_log_if_needed): Likewise.
13475 (extend_buffers): Don't enlarge buffers beyond size of the input
13477 Patches mostly by Emil Wojak <emil@wojak.eu>.
13478 * posix/bug-regex32.c: New file.
13479 * posix/Makefile (tests): Add bug-regex32.
13481 * locale/findlocale.c (_nl_find_locale): Return right away if
13482 _nl_explode_name failed.
13483 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13485 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13487 * debug/xtrace.sh: Unify messages.
13488 * malloc/memusage.sh: Likewise.
13491 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13492 time symbol from vDSO. Substitute with vsyscall if not available.
13493 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13496 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13497 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13498 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13499 Add sendmmsg and internal_sendmmsg.
13500 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13501 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13502 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13504 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13505 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13506 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13508 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13511 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13512 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13514 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13518 * iconvdata/Makefile (tests): Add bug-iconv9.
13519 * iconvdata/bug-iconv9.c: New file.
13521 2011-05-27 Andreas Schwab <schwab@redhat.com>
13524 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13526 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13528 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13529 (struct user_regs_struct): Change intcs field back to cs.
13531 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13533 * po/ja.po: Update from translation team.
13535 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13538 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13539 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13541 2011-05-20 Andreas Schwab <schwab@redhat.com>
13543 * stdlib/longlong.h: Update from GCC.
13545 2011-05-23 Andreas Schwab <schwab@redhat.com>
13547 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13549 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13550 Add parameter name.
13551 (__sysconf): Pass it down.
13553 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13556 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13558 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13559 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13560 add in in __libc_use_alloca calls. Adjust callers.
13561 (glob): Use malloc in some situations.
13563 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13564 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13567 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13569 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13570 and CLOCK_BOOTTIME_ALARM.
13573 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13576 * string/_strerror.c (__strerror_r): Print negative errors as signed
13580 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13581 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13582 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13584 * configure.in: Fix typo in redirection and correct removal of test
13585 files in two cases.
13588 * locale/setlocale.c (new_composite_name): Fix test to check for
13589 identical name of all categories.
13592 * libio/filedoalloc.c (local_isatty): New function.
13593 (_IO_file_doallocate): Use local_isatty.
13594 * stdio-common/perror.c (perror): In case a new stream is used
13595 forward the stream error.
13596 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13599 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13604 * include/alloca.h (extend_alloca_account): Define.
13607 * posix/regex.h: Fix comments with documentation of user-accessible
13608 fields after compilation and describe correct free'ing of pattern
13609 after re_compile_pattern.
13610 Patch by Reuben Thomas <rrt@sc3d.org>.
13612 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13614 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13615 and -mno-altivec to prevent the compiler from using Altivec and/or
13616 VSX instructions when the corresponding registers are not available.
13618 2011-05-19 Andreas Schwab <schwab@redhat.com>
13620 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13622 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13624 * libio/freopen.c (freopen): Use __dup2, not dup2.
13625 * libio/freopen64.c (freopen64): Likewise.
13627 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13630 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13631 * math/Makefile (tests): Add test-powl.
13632 (CFLAGS-test-powl.c): Define.
13633 * math/test-powl.c: New file.
13635 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13637 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13639 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13642 * iconvdata/gb18030.c: Update to GB18020-2005.
13644 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13646 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13647 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13648 Patch by Aharon Robbins <arnold@skeeve.com>.
13651 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13655 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13656 through underflows.
13659 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13660 point to strings before performing equality test for error_one_per_line
13664 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13667 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13668 (struct user_fpregs_struct): Avoid __uint*_t types.
13671 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13672 symbol info. Use it instead of calling _dl_addr locally.
13673 (lock_and_info): New function.
13674 (tr_freehook): Call lock_and_info and pass symbol info as additional
13675 parameter to tr_where.
13676 (tr_mallochook): Likewise.
13677 (tr_reallochook): Likewise.
13678 (tr_memalignhook): Likewise.
13680 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13681 used and couldn't be at all thread-safe.
13683 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13685 * libio/freopen.c (freopen): Don't close old file descriptor
13686 before the new one is opened. Instead dup the new file descriptor
13687 to the old one after the new stream is created.
13688 * libio/freopen64.c (freopen64): Likewise.
13689 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13690 * libio/fileops.c (_IO_new_file_close_it): Handle new
13691 _IO_FLAGS2_NOCLOSE flag.
13692 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13693 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13694 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13695 _IO_FLAGS2_NOCLOSE flag.
13696 * include/unistd.h: Add hidden_proto for dup3.
13697 Define __have_dup3.
13698 * io/dup3.c: Define hidden symbol.
13699 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13702 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13703 when an incomplete long option is used.
13704 * posix/tst-getopt_long1.c: New file.
13705 * posix/Makefile (tests): Add tst-getopt_long1.
13708 * scripts/config.guess: Update from autoconf-2.68.
13709 * scripts/config.sub: Likewise.
13712 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13714 (has_cpuclock): ...this. New function.
13715 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13716 macro here based on has_cpuclock code.
13719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13720 First byte (not low byte) is now always NUL.
13721 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13723 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13724 Use non-cancelable interfaces.
13727 * locale/iso-639.def: Add entry for Sorani.
13730 * include/stdlib.h: Move include protection to the right place.
13731 Define abort_msg_s. Declare __abort_msg with it.
13732 * stdlib/abort.c (__abort_msg): Adjust type.
13733 * assert/assert.c (__assert_fail_base): New function. Majority
13734 of code from __assert_fail. Allocate memory for __abort_msg with
13736 (__assert_fail): Now call __assert_fail_base.
13737 * assert/assert-perr.c: Remove bulk of implementation. Use
13738 __assert_fail_base.
13739 * include/assert.hL Declare __assert_fail_base.
13740 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13742 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13744 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13748 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13749 until all modules are registered in the DTV.
13750 * elf/Makefile: Add rules to build and run tst-tls19.
13751 * elf/tst-tls19.c: New file.
13752 * elf/tst-tls19mod1.c: New file.
13753 * elf/tst-tls19mod2.c: New file.
13754 * elf/tst-tls19mod3.c: New file.
13755 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13758 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13762 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13763 two-byte sequence errors.
13764 * iconvdata/Makefile (tests): Add bug-iconv8.
13765 * iconvdata/bug-iconv8.c: New file.
13768 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13771 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13774 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13775 (dummy_getcfa): New function.
13776 (init): Get _Unwind_GetCFA address, use dummy if not found.
13777 (backtrace_helper): In recursion check, also check whether CFA changes.
13778 (__backtrace): Completely initialize arg.
13780 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13781 storing incomplete byte sequence in state object. Avoid testing for
13782 guaranteed too small input if we know there is enough data available.
13784 2011-05-11 Andreas Schwab <schwab@redhat.com>
13786 * Makeconfig (+link-pie): Indent.
13787 * Rules (binaries-pie): Define if $(have-fpie) and
13789 (binaries-shared): Also filter out $(binaries-pie).
13790 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13791 * nscd/Makefile (others-pie): Add nscd.
13792 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13793 ($(objpfx)nscd): Remove command override.
13794 * login/Makefile (others-pie): Add pt_chown.
13795 ($(objpfx)pt_chown): Remove command override.
13796 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13797 remove command overrides.
13799 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13801 * libio/tst_putwc.c: Fix error messages.
13804 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13805 currently writing and seek to current position when not.
13806 * libio/Makefile (tests): Add bug-fclose1.
13807 * libio/bug-fclose1.c: New file.
13809 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13812 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13813 don't set DF_1_NODELETE here.
13814 (do_lookup_x): When entering new entry test for copy relocation
13815 and if necessary set DF_1_NODELETE flag.
13816 * elf/tst-unique4.cc: New file.
13817 * elf/tst-unique4.h: New file.
13818 * elf/tst-unique4lib.cc: New file.
13819 * elf/Makefile: Add rules to build and run tst-unique4.
13820 Patch by Piotr Bury <pbury@goahead.com>.
13822 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13825 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13828 * misc/mntent_r.c (addmntent): Flush the stream after the output
13831 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13832 (is_trusted_path_normalize): Skip initial colon. Append slash
13833 to empty buffer. Duplicate is_trusted_path code but allow
13834 constructed patch to be prefix.
13835 (is_dst): Allow $ORIGIN followed by /.
13836 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13837 Correct testing of result of is_trusted_path_normalize
13838 (decompose_rpath): Fix warning.
13840 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13843 * grp/initgroups.c (internal_getgrouplist): When we found the service
13844 list through the initgroups entry in nsswitch.conf do not always
13845 continue on a successful lookup. Don't always use the
13846 __nss_group_database value if it is set.
13847 * nss/nsswitch.conf (initgroups): Change action for successful db
13848 lookup to continue for compatibility.
13850 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13853 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13855 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13857 * iconvdata/tst-tables.sh: Likewise.
13858 * iconvdata/cp770.c: New file.
13859 * iconvdata/cp771.c: New file.
13860 * iconvdata/cp772.c: New file.
13861 * iconvdata/cp773.c: New file.
13862 * iconvdata/cp774.c: New file.
13863 * iconvdata/testdata/CP770: New file.
13864 * iconvdata/testdata/CP770..UTF8: New file.
13865 * iconvdata/testdata/CP771: New file.
13866 * iconvdata/testdata/CP771..UTF8: New file.
13867 * iconvdata/testdata/CP772: New file.
13868 * iconvdata/testdata/CP772..UTF8: New file.
13869 * iconvdata/testdata/CP773: New file.
13870 * iconvdata/testdata/CP773..UTF8: New file.
13871 * iconvdata/testdata/CP774: New file.
13872 * iconvdata/testdata/CP774..UTF8: New file.
13874 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13876 * iconvdata/gen-8bit-gap.sh: Likewise.
13877 * iconvdata/gen-8bit.sh: Likewise.
13879 * locale/iso-639.def: Add ary entry.
13882 * locale/C-translit.h.in: Add U20A1 transliteration.
13885 * locale/iso-639.def: Add wae entry.
13886 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13889 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13893 * locale/C-translit.h.in: Add entry for U20B9.
13894 Patch by pravin.d.s@gmail.com.
13896 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13899 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13900 ENAMETOOLONG use generic getcwd.
13901 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13902 in rtld. Use *stat64.
13903 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13904 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13905 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13906 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13907 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13908 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13909 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13910 __fstatat64 macros.
13911 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13912 * dirent/rewinddir.c: Add libc_hidden_def.
13913 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13914 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13916 * include/dirent.h (__alloc_dir): Add flags parameter.
13917 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13918 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13920 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13921 from fdopendir if O_CLOEXEC is already set.
13923 2011-03-15 Alan Modra <amodra@gmail.com>
13925 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13926 l_tls_firstbyte_offset non-zero. Save padding offset in
13927 l_tls_firstbyte_offset for later use.
13928 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13929 freeing static tls block.
13931 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13933 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13934 where #ifdef was intended. The intent is to prevent ARG_MAX from
13935 being defined by the kernel headers.
13937 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13940 * resolv/resolv.h: Define RES_NOTLDQUERY.
13941 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13942 no-tld-query and set RES_NOTLDQUERY.
13943 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13944 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13945 modern BIND to search name as TLD unless forbidden.
13947 2011-05-07 Petr Baudis <pasky@suse.cz>
13948 Ulrich Drepper <drepper@gmail.com>
13951 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13952 (is_trusted_path): ...to here.
13953 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13954 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13955 using is_trusted_path_normalize() in setuid scripts.
13957 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13959 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13960 __BEGIN/__END_DECLS.
13962 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13964 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13965 NSS_STATUS_NOTFOUND if no record was found.
13967 2011-05-05 Andreas Schwab <schwab@redhat.com>
13969 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13970 (headers-not-in-tirpc): Remove rpc/netdb.h
13971 * resolv/netdb.h: Revert last change.
13973 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13975 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13976 circular dependency between libgcc.a and libc.a.
13978 2011-05-05 Andreas Schwab <schwab@redhat.com>
13980 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13981 * nis/Makefile: Don't install rpcsvc/*.
13982 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13983 instead of <rpc/types.h>.
13984 (MAXHOSTNAMELEN): Define.
13986 2011-05-03 Andreas Schwab <schwab@redhat.com>
13988 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13990 2011-04-28 Maciej Babinski <mbabinski@google.com>
13993 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13994 gethostbyname4_r when IPv6 results are possible.
13996 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13999 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
14000 _PC_PIPE_BUF handling.
14002 2011-04-30 Bruno Haible <bruno@clisp.org>
14005 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
14006 * resolv/netdb.h (getnameinfo): Change type of flags parameter
14008 * inet/getnameinfo.c (getnameinfo): Likewise.
14010 2011-04-29 Ulrich Drepper <drepper@gmail.com>
14012 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
14013 to groups setting in database lookup.
14014 * nss/nsswitch.conf: Add initgroups entry.
14016 2011-04-22 Ulrich Drepper <drepper@gmail.com>
14019 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
14021 Patch by Eric Blake <eblake@redhat.com>.
14023 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
14025 * sunrpc/Makefile (need-export-routines): Add svc_run.
14026 (routines): Remove svc_run.
14027 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
14028 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14029 * sunrpc/svc_run.c (svc_run): Likewise.
14030 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14032 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14034 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14035 problem in reallocation in last patch.
14037 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14039 * sunrpc/Makefile: Move inclusion of Rules.
14041 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14043 * nss/nss_files/files-initgroups.c: New file.
14044 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14045 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14046 _nss_files_initgroups_dyn.
14048 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14050 * elf/elf.h (R_ARM_IRELATIVE): Define.
14052 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14054 * po/ru.po: Update from translation team.
14056 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14058 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14061 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14064 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14065 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14066 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14067 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14068 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14070 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14072 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14074 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14075 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14076 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14078 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14081 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14083 * stdlib/bug-getcontext.c: New file.
14084 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14086 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14088 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14089 instructions into .machine "z9-109".
14090 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14091 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14093 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14095 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14096 between environment variables and auxiliary vector.
14098 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14100 * Makefile: Add rules to build linkobj/libc.so.
14101 * include/libc-symbols.h: Define libc_hidden_nolink.
14102 * include/rpc/auth.h: Mark functions which are to be hidden.
14103 * include/rpc/auth_des.h: Likewise.
14104 * include/rpc/auth_unix.h: Likewise.
14105 * include/rpc/clnt.h: Likewise.
14106 * include/rpc/des_crypt.h: Likewise.
14107 * include/rpc/key_prot.h: Likewise.
14108 * include/rpc/pmap_clnt.h: Likewise.
14109 * include/rpc/pmap_prot.h: Likewise.
14110 * include/rpc/pmap_rmt.h: Likewise.
14111 * include/rpc/rpc_msg.h: Likewise.
14112 * include/rpc/svc.h: Likewise.
14113 * include/rpc/svc_auth.h: Likewise.
14114 * include/rpc/xdr.h: Likewise.
14115 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14116 * nss/Makefile: Likewise.
14117 * sunrpc/Makefile: Don't install headers. Build library with normal
14118 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14119 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14120 for the compat linking library. Remove use of INTDEF/INTUSE.
14121 * sunrpc/auth_none.c: Likewise.
14122 * sunrpc/auth_unix.c: Likewise.
14123 * sunrpc/authdes_prot.c: Likewise.
14124 * sunrpc/authuxprot.c: Likewise.
14125 * sunrpc/clnt_gen.c: Likewise.
14126 * sunrpc/clnt_perr.c: Likewise.
14127 * sunrpc/clnt_raw.c: Likewise.
14128 * sunrpc/clnt_simp.c: Likewise.
14129 * sunrpc/clnt_tcp.c: Likewise.
14130 * sunrpc/clnt_udp.c: Likewise.
14131 * sunrpc/clnt_unix.c: Likewise.
14132 * sunrpc/des_crypt.c: Likewise.
14133 * sunrpc/des_soft.c: Likewise.
14134 * sunrpc/get_myaddr.c: Likewise.
14135 * sunrpc/key_call.c: Likewise.
14136 * sunrpc/key_prot.c: Likewise.
14137 * sunrpc/netname.c: Likewise.
14138 * sunrpc/pm_getmaps.c: Likewise.
14139 * sunrpc/pm_getport.c: Likewise.
14140 * sunrpc/pmap_clnt.c: Likewise.
14141 * sunrpc/pmap_prot.c: Likewise.
14142 * sunrpc/pmap_prot2.c: Likewise.
14143 * sunrpc/pmap_rmt.c: Likewise.
14144 * sunrpc/publickey.c: Likewise.
14145 * sunrpc/rpc_cmsg.c: Likewise.
14146 * sunrpc/rpc_common.c: Likewise.
14147 * sunrpc/rpc_dtable.c: Likewise.
14148 * sunrpc/rpc_prot.c: Likewise.
14149 * sunrpc/rpc_thread.c: Likewise.
14150 * sunrpc/rtime.c: Likewise.
14151 * sunrpc/svc.c: Likewise.
14152 * sunrpc/svc_auth.c: Likewise.
14153 * sunrpc/svc_authux.c: Likewise.
14154 * sunrpc/svc_raw.c: Likewise.
14155 * sunrpc/svc_run.c: Likewise.
14156 * sunrpc/svc_simple.c: Likewise.
14157 * sunrpc/svc_tcp.c: Likewise.
14158 * sunrpc/svc_udp.c: Likewise.
14159 * sunrpc/svc_unix.c: Likewise.
14160 * sunrpc/svcauth_des.c: Likewise.
14161 * sunrpc/xcrypt.c: Likewise.
14162 * sunrpc/xdr.c: Likewise.
14163 * sunrpc/xdr_array.c: Likewise.
14164 * sunrpc/xdr_float.c: Likewise.
14165 * sunrpc/xdr_intXX_t.c: Likewise.
14166 * sunrpc/xdr_mem.c: Likewise.
14167 * sunrpc/xdr_rec.c: Likewise.
14168 * sunrpc/xdr_ref.c: Likewise.
14169 * sunrpc/xdr_sizeof.c: Likewise.
14170 * sunrpc/xdr_stdio.c: Likewise.
14172 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14175 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14176 * sysdeps/ia64/dl-tls.h: Likewise.
14177 * sysdeps/powerpc/dl-tls.h: Likewise.
14178 * sysdeps/s390/dl-tls.h: Likewise.
14179 * sysdeps/sh/dl-tls.h: Likewise.
14180 * sysdeps/sparc/dl-tls.h: Likewise.
14181 * sysdeps/x86_64/dl-tls.h: Likewise.
14182 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14184 2011-03-14 Andreas Schwab <schwab@redhat.com>
14186 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14187 rpath element also skip the following colon.
14188 (expand_dynamic_string_token): Add is_path parameter and pass
14189 down to DL_DST_REQUIRED and _dl_dst_substitute.
14190 (decompose_rpath): Call expand_dynamic_string_token with
14191 non-zero is_path. Ignore empty rpaths.
14192 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14195 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14200 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14203 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14204 Patch by Filipe David Manana <fdmanana@apache.org>.
14206 2011-04-07 Andreas Schwab <schwab@redhat.com>
14208 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14209 Maintain aligned stack.
14210 (CHECK_RSP): Remove unused macro.
14212 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14214 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14215 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14217 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14219 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14221 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14223 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14226 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14227 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14228 * sysdeps/x86_64/memmove.c: New file.
14229 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14230 (memcpy): Renamed to ...
14231 (__new_memcpy): This.
14232 (memcpy): Provide GLIBC_2_14 memcpy.
14233 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14234 (memcpy): Provide GLIBC_2_2_5 memcpy.
14236 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14239 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14241 2011-03-30 Andreas Schwab <schwab@redhat.com>
14243 * misc/syncfs.c: New file.
14244 * misc/Makefile (routines): Add syncfs.
14245 * posix/unistd.h: Declare syncfs.
14246 * sysdeps/unix/syscalls.list: Add syncfs.
14248 2011-04-01 Andreas Schwab <schwab@redhat.com>
14250 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
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/syscalls.list: Likewise.
14258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14260 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14262 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14263 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14264 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14266 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14268 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14270 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14271 sync_file_range.c with -fexceptions.
14272 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14273 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14274 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14275 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14276 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14277 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14279 sync_file_range as cancellation point
14280 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14281 now a wrapper around __call_sync_file_range with cancellation handling.
14282 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14283 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14284 function name to __call_sync_file_range.
14285 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14286 Add call_sync_file_range.
14288 2011-04-01 Andreas Schwab <schwab@redhat.com>
14290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14293 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14295 * iconv/iconv.h: Fix typo in comment.
14296 * io/fcntl.h: Likewise.
14297 * libio/stdio.h: Likewise.
14298 * posix/spawn.h: Likewise.
14299 * posix/unistd.h: Likewise.
14300 * stdlib/stdlib.h: Likewise.
14301 * time/time.h: Likewise.
14302 * wcsmbs/wchar.h: Likewise.
14304 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14305 open_by_handle): Add.
14306 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14307 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14308 Augment a few comments.
14309 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14310 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14311 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14312 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14313 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14314 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14317 * io/fcntl.h (AT_EMPTY_PATH): Define.
14319 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14321 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14322 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14323 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14325 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14326 * Versions.def: Add GLIBC_2.14.
14327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14330 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14332 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14334 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14336 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14339 * string/test-strncmp.c (do_page_test): New function.
14340 (check2): Likewise.
14341 (test_main): Call check2.
14342 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14344 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14347 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14348 Handle cache information in CPU leaf 4.
14349 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14351 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14354 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14355 character representation.
14356 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14358 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14360 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14361 END(__isnan) to END(__isnanf) to match function entry point/label
14362 EALIGN(__isnanf,...).
14364 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14366 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14368 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14371 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14372 copy from the symbol referenced in the relocation to initialize the
14374 Patch by Piotr Bury <pbury@goahead.com>.
14375 * elf/Makefile: Add rules to build and tst-unique3.
14376 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14377 * elf/tst-unique3.cc: New file.
14378 * elf/tst-unique3.h: New file.
14379 * elf/tst-unique3lib.cc: New file.
14380 * elf/tst-unique3lib2.cc: New file.
14382 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14384 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14386 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14387 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14390 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14392 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14393 to-be-loaded object along a path to loader is ld.so.
14395 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14396 Ulrich Drepper <drepper@gmail.com>
14398 * sysdeps/x86_64/memset.S: After aligning destination, code
14399 branches to different locations depending on the value of
14400 misalignment, when multiarch is enabled. Fix this.
14402 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14404 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14405 Set _x86_64_preferred_memory_instruction for AMD processsors.
14406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14407 Set bit_Prefer_SSE_for_memop for AMD processors.
14409 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14411 * libio/fmemopen.c (fmemopen): Optimize a bit.
14413 2011-03-03 Andreas Schwab <schwab@redhat.com>
14415 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14417 2011-03-03 Roland McGrath <roland@redhat.com>
14419 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14421 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14423 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14424 __bzero_ultra1 instead of __memset_ultra1.
14426 2011-02-23 Andreas Schwab <schwab@redhat.com>
14427 Ulrich Drepper <drepper@gmail.com>
14430 * include/link.h (struct link_map): Add l_orig_initfini.
14431 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14432 returning unsuccessfully.
14433 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14434 close of a file loaded at startup, restore the original l_initfini
14436 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14437 list, store the pointer.
14438 * elf/Makefile ($(objpfx)noload-mem): New rule.
14439 (noload-ENV): Define.
14440 (tests): Add $(objpfx)noload-mem.
14441 * elf/noload.c: Include <memcheck.h>.
14442 (main): Call mtrace. Close all opened handles.
14444 2011-02-17 Andreas Schwab <schwab@redhat.com>
14447 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14448 dependencies are missing.
14450 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14452 Fix __if_freereq crash: Unlike the generic version which uses free,
14454 * sysdeps/mach/hurd/ifreq.h: New file.
14456 2011-01-27 Petr Baudis <pasky@suse.cz>
14457 Ulrich Drepper <drepper@gmail.com>
14460 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14461 to extend_alloca().
14462 * stdio-common/bug23.c: New file.
14463 * stdio-common/Makefile (tests): Add bug23.
14465 2010-09-28 Andreas Schwab <schwab@redhat.com>
14466 Ulrich Drepper <drepper@gmail.com>
14469 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14470 before performing relro protection. At old place add assertion
14471 to make sure nothing changed.
14473 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14474 Glauber de Oliveira Costa <glommer@gmail.com>
14476 * elf/elf.h: Add new ARM TLS relocs.
14478 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14481 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14483 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14485 * sysdeps/wordsize-64/tst-writev.c: New file.
14487 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14489 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14490 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14491 insns in _dl_start to prevent a TOC reference before relocs are
14494 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14497 * Makeconfig: Remove RANLIB definition.
14498 * Makerules: Don't use RANLIB.
14499 * aclocal.m4: Remove ranlib test.
14500 * configure.in: No need to check for ranlib.
14501 * elf/rtld-Rules: Don't use RANLIB.
14503 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14505 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14507 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14508 inclusion protection macro.
14510 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14511 SIGRTMIN and SIGRTMAX and print information in that case only when
14512 SIGRTMIN is defined.
14514 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14516 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14517 arginfo fn returning -1.
14519 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14520 and thousands string is zero terminated.
14522 2011-02-03 Andreas Schwab <schwab@redhat.com>
14524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14525 sysdeps/unix/sysv/linux/bits/socket.h.
14527 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14529 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14530 (__CPU_COUNT): Remove old macros.
14531 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14532 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14533 (__CPU_ALLOC, __CPU_FREE): Add macros.
14534 (__sched_cpualloc, __sched_cpufree): Add declarations.
14536 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14538 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14539 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14540 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14541 (readdhstai): Return value of addhstaiX call.
14542 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14543 (addgrbyX): Return value returned by cache_addgr.
14544 (readdgrbyname): Return value returned by addgrbyX.
14545 (readdgrbygid): Likewise.
14546 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14547 (addpwbyX): Return value returned by cache_addpw.
14548 (readdpwbyname): Return value returned by addhstbyX.
14549 (readdpwbyuid): Likewise.
14550 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14551 (addservbyX): Return value returned by cache_addserv.
14552 (readdservbyname): Return value returned by addservbyX:
14553 (readdservbyport): Likewise.
14554 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14555 (addhstbyX): Return value returned by cache_addhst.
14556 (readdhstbyname): Return value returned by addhstbyX.
14557 (readdhstbyaddr): Likewise.
14558 (readdhstbynamev6): Likewise.
14559 (readdhstbyaddrv6): Likewise.
14560 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14561 (readdinitgroups): Return value returned by addinitgroupsX.
14562 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14563 (prune_cache): Keep track of timeout value of re-added entries.
14564 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14565 * nscd/nscd.h: Adjust prototypes of readd* functions.
14567 2011-02-04 Roland McGrath <roland@redhat.com>
14569 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14570 (nis_stats): Likewise.
14571 * nis/nis_modify.c (nis_modify): Likewise.
14572 * nis/nis_remove.c (nis_remove): Likewise.
14573 * nis/nis_add.c (nis_add): Likewise.
14575 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14577 * posix/fnmatch_loop.c: Add some consts.
14579 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14581 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14584 * config.make.in (config-cflags-novzeroupper): Define.
14585 * configure.in: Substitute libc_cv_cc_novzeroupper.
14586 * elf/Makefile (AVX-CFLAGS): Define.
14587 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14588 (CFLAGS-tst-auditmod4a.c): Likewise.
14589 (CFLAGS-tst-auditmod4b.c): Likewise.
14590 (CFLAGS-tst-auditmod6b.c): Likewise.
14591 (CFLAGS-tst-auditmod6c.c): Likewise.
14592 (CFLAGS-tst-auditmod7b.c): Likewise.
14593 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14595 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14597 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14598 function to the callback.
14599 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14601 2011-02-02 Andreas Schwab <schwab@redhat.com>
14603 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14606 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14609 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14611 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14613 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14616 * elf/Makefile: Add rules to build and run new test.
14617 * elf/tst-initorder.c: New file.
14618 * elf/tst-initorder.exp: New file.
14619 * elf/tst-initordera1.c: New file.
14620 * elf/tst-initordera2.c: New file.
14621 * elf/tst-initordera3.c: New file.
14622 * elf/tst-initordera4.c: New file.
14623 * elf/tst-initorderb1.c: New file.
14624 * elf/tst-initorderb2.c: New file.
14625 * elf/tst-order-a1.c: New file.
14626 * elf/tst-order-a2.c: New file.
14627 * elf/tst-order-a3.c: New file.
14628 * elf/tst-order-a4.c: New file.
14629 * elf/tst-order-b1.c: New file.
14630 * elf/tst-order-b2.c: New file.
14631 * elf/tst-order-main.c: New file.
14632 New test case by George Gensure <werkt0@gmail.com>.
14634 2010-10-01 Andreas Schwab <schwab@redhat.com>
14636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14637 decoding ACE if AI_CANONIDN.
14639 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14641 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14643 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14645 * version.h (RELEASE): Bump for 2.13 release.
14646 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14648 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14650 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14652 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14653 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14654 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14655 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14656 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14657 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14659 * posix/getconf.c: Update copyright year.
14660 * catgets/gencat.c: Likewise.
14661 * csu/version.c: Likewise.
14662 * debug/catchsegv.sh: Likewise.
14663 * debug/xtrace.sh: Likewise.
14664 * elf/ldconfig.c: Likewise.
14665 * elf/ldd.bash.in: Likewise.
14666 * elf/sprof.c (print_version): Likewise.
14667 * iconv/iconv_prog.c: Likewise.
14668 * iconv/iconvconfig.c: Likewise.
14669 * locale/programs/locale.c: Likewise.
14670 * locale/programs/localedef.c: Likewise.
14671 * malloc/memusage.sh: Likewise.
14672 * malloc/mtrace.pl: Likewise.
14673 * nscd/nscd.c (print_version): Likewise.
14674 * nss/getent.c: Likewise.
14676 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14677 PF_CAIF, and PF_ALG.
14678 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14680 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14682 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14683 (modules-names): Use them.
14684 (ifunc-test-modules, ifunc-pie-tests): Define.
14685 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14686 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14687 (test-extras): Likewise.
14688 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14689 $(compile-command.c).
14690 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14691 (all-built-dso): Define.
14692 (check-textrel.out, check-execstack.out): Depend on it.
14694 * configure.in: Don't override --enable-multi-arch.
14696 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14699 * nscd/hstcache.c (tryagain): Define.
14700 (cache_addhst): Return tryagain not notfound for temporary errors.
14701 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14704 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14707 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14708 to make the syscall.
14709 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14712 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14713 and fall back to matching as normal character if the string ends before
14714 the matching ']' is found. This is what POSIX requires.
14715 * posix/testfnm.c: Adjust test result.
14716 * posix/globtest.sh: Adjust test result. Add new test.
14717 * posix/tst-fnmatch.input: Likewise.
14718 * posix/tst-fnmatch2.c: Add new test.
14720 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14722 * elf/Makefile (check-execstack): Revert last change. Depend on
14724 (check-execstack.h): New target.
14725 (generated): Add check-execstack.h.
14726 * elf/check-execstack.c: Include "check-execstack.h".
14727 (main): Revert last change.
14728 (handle_file): Return zero if GNU_STACK is absent and
14729 DEFAULT_STACK_PERMS doesn't include PF_X.
14731 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14733 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14734 in child fails because the descriptor is already closed.
14735 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14736 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14737 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14740 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14744 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14745 temporary buffer used to handle multi lookups locally.
14746 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14748 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14750 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14753 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14755 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14756 alignment for SSE2.
14758 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14761 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14762 characters. When rounding increased number of integer digits recompute
14764 * stdio-common/tst-grouping.c: New file.
14765 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14767 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14769 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14770 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14772 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14774 * bits/select.h: Likewise.
14776 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14778 * po/ja.po: Update from translation team.
14780 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14783 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14784 implementation just like for lxstat, fxstatat, et al.
14786 2010-12-27 Jim Meyering <meyering@redhat.com>
14789 * posix/regexec.c (build_trtable): Return failure indication upon
14790 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14792 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14795 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14796 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14797 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14798 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14801 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14804 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14805 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14807 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14809 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14810 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14811 script has SORT_BY_INIT_PRIORITY.
14812 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14813 NO_CTORS_DTORS_SECTIONS is defined.
14814 * elf/soinit.c: Likewise.
14815 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14816 NO_CTORS_DTORS_SECTIONS is defined.
14817 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14818 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14819 * sysdeps/sh/init-first.c: Likewise.
14820 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14822 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14824 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14825 always use the slow path.
14827 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14829 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14830 similar rule which adds the sysdep directories to the header search in
14831 order to pick up the correct platform stackinfo.h.
14832 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14833 perform test if it is, otherwise return successfully without testing.
14834 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14835 DEFAULT_STACK_PERMS define in stackinfo.h.
14836 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14837 defined in stackinfo.h.
14838 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14839 DEFAULT_STACK_PERMS defined in stackinfo.h.
14840 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14841 * sysdeps/ia64/stackinfo.h: Likewise.
14842 * sysdeps/s390/stackinfo.h: Likewise.
14843 * sysdeps/sh/stackinfo.h: Likewise.
14844 * sysdeps/sparc/stackinfo.h: Likewise.
14845 * sysdeps/x86_64/stackinfo.h: Likewise.
14846 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14847 PF_X for powerpc64. Retain PF_X for powerpc32.
14849 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14851 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14853 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14854 GETDENTS_64BIT_ALIGNED.
14856 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14858 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14860 2010-12-10 Andreas Schwab <schwab@redhat.com>
14862 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14865 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14866 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14868 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14869 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14871 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14874 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14877 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14879 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14881 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14883 * po/it.po: Update from translation team.
14885 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14890 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14892 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14894 2010-11-24 Andreas Schwab <schwab@redhat.com>
14896 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14898 (gaih_getanswer_slice): Likewise.
14900 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14904 2010-05-31 Petr Baudis <pasky@suse.cz>
14907 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14908 silently even in the chroot mode.
14910 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14912 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14913 last patch a bit. Pretty printing
14915 2010-05-31 Petr Baudis <pasky@suse.cz>
14918 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14919 initialization of skip_initgroups_dyn.
14921 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14923 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14924 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14926 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14928 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14930 2010-11-11 Andreas Schwab <schwab@redhat.com>
14932 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14933 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14934 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14935 ($(objpfx)tst-fnmatch-mem): New rule.
14936 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14937 * posix/tst-fnmatch.c (main): Call mtrace.
14939 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14942 Support Intel processor model 6 and model 0x2c.
14944 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14946 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14949 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14952 * string/test-strncasecmp.c (check_result): New function.
14953 (do_one_test): Use it.
14954 (check1): New function.
14955 (test_main): Use it.
14956 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14957 Support strcasecmp and strncasecmp.
14959 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14962 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14963 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14965 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14967 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14971 * sysdeps/x86_64/multiarch/bzero.S: New file.
14972 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14973 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14974 * sysdeps/x86_64/multiarch/memset.S: New file.
14975 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14976 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14977 Set bit_Prefer_SSE_for_memop for Intel processors.
14978 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14980 (index_Prefer_SSE_for_memop): Define.
14981 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14983 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14985 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14986 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14988 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14991 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14992 (__x86_64_raw_data_cache_size_half): Likewise.
14993 (__x86_64_raw_shared_cache_size): Likewise.
14994 (__x86_64_raw_shared_cache_size_half): Likewise.
14996 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14997 (__x86_64_raw_data_cache_size_half): Likewise.
14998 (__x86_64_raw_shared_cache_size): Likewise.
14999 (__x86_64_raw_shared_cache_size_half): Likewise.
15000 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
15001 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
15002 and __x86_64_raw_shared_cache_size_half. Round
15003 __x86_64_data_cache_size_half, __x86_64_data_cache_size
15004 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
15005 to multiple of 256 bytes.
15007 2010-11-03 Ulrich Drepper <drepper@gmail.com>
15010 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
15011 of inacessible symlinks. Verify result of symlink before returning it.
15012 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15013 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
15015 2010-10-28 Erich Ritz <erichritz@gmail.com>
15017 * math/math.h (isinf): Fix typo in comment.
15019 2010-11-01 Ulrich Drepper <drepper@gmail.com>
15021 * po/da.po: Update from translation team.
15023 2010-10-26 Ulrich Drepper <drepper@gmail.com>
15025 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
15026 is added to the list.
15028 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15029 Ulrich Drepper <drepper@gmail.com>
15031 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15032 the global list here. Move code to...
15033 (_dl_add_to_namespace_list): ...here. New function.
15034 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15035 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15036 * elf/dl-load.c (lose): Don't remove the element from the list.
15037 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15038 (_dl_map_object): Likewise.
15040 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15043 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15044 into all bytes of SSE register.
15045 Patch by Richard Li <richardpku@gmail.com>.
15047 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15050 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15053 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15055 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15056 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15057 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15058 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15063 2010-10-22 Andreas Schwab <schwab@redhat.com>
15065 * include/dlfcn.h (__RTLD_SECURE): Define.
15066 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15067 mode & __RTLD_SECURE instead.
15068 (open_path): Rename preloaded parameter to secure.
15069 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15070 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15071 * elf/dl-deps.c (openaux): Likewise.
15072 * elf/rtld.c (struct map_args): Remove is_preloaded.
15073 (map_doit): Don't use it.
15074 (dl_main): Likewise.
15075 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15076 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15078 2010-09-09 Andreas Schwab <schwab@redhat.com>
15080 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15081 (sysd-rules-targets): Remove duplicates.
15082 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15083 rtld-%.$o dependency.
15085 2010-10-18 Andreas Schwab <schwab@redhat.com>
15087 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15088 _dl_map_object do it.
15090 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15092 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15093 fast fma builtins, define the macros in the C99 standard.
15094 (FP_FAST_FMAF): Likewise.
15095 (FP_FAST_FMAL): Likewise.
15096 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15098 * bits/mathdef.h: Update copyright year.
15099 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15101 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15103 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15104 builtins, define the macros in the C99 standard.
15105 (FP_FAST_FMAF): Likewise.
15106 (FP_FAST_FMAL): Likewise.
15107 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15109 (FP_FAST_FMAF): Likewise.
15111 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15114 * math/libm-test.inc (fma_test): Some new testcases.
15115 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15116 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15117 y and infinite z. Do multiplication by C already in long double.
15118 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15120 y and infinite z. Do bitwise or of inexact bit into u.d.
15121 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15122 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15123 * sysdeps/i386/fpu/s_fma.S: Removed.
15124 * sysdeps/i386/fpu/s_fmal.S: Removed.
15126 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15129 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15130 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15131 computation is not scheduled after fetestexcept. Fix value
15132 of minimum denormal long double.
15134 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15137 * math/libm-test.inc (fma_test): Add some more tests.
15138 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15141 2010-10-15 Andreas Schwab <schwab@redhat.com>
15143 * scripts/data/localplt-s390-linux-gnu.data: New file.
15144 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15146 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15149 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15150 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15152 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15154 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15156 if one of x and y is very large and the other is subnormal.
15157 * sysdeps/s390/fpu/s_fmaf.c: New file.
15158 * sysdeps/s390/fpu/s_fma.c: New file.
15159 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15160 * sysdeps/powerpc/fpu/s_fma.S: New file.
15161 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15162 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15163 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15165 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15168 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15170 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15171 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15172 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15173 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15174 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15175 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15176 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15178 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15181 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15182 * posix/bug-regex31.input: Add test case.
15184 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15186 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15187 * posix/bug-regex31.input: New file.
15190 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15191 (parse_sub_exp): Fix last change, use postorder.
15193 * posix/bug-regex31.c: New file.
15194 * posix/Makefile: Add rules to build and run bug-regex31.
15196 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15199 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15202 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15203 to have entries in sys_siglist.
15206 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15209 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15212 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15213 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15214 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15215 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15216 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15217 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15218 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15219 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15220 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15221 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15222 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15223 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15224 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15225 * math/ftestexcept.c (fetestexcept): Likewise.
15226 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15227 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15228 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15229 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15230 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15231 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15232 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15234 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15237 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15240 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15242 * string/bug-strstr1.c: New file.
15243 * string/Makefile: Add rules to build and run bug-strstr1.
15245 2010-10-05 Eric Blake <eblake@redhat.com>
15248 * string/str-two-way.h (two_way_long_needle): Always clear memory
15249 when skipping input due to the shift table.
15251 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15254 * malloc/mcheck.c: Handle large requests.
15257 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15258 for strncmp and strncasecmp.
15259 * string/stratcliff.c: Add tests for strcmp and strncmp.
15260 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15262 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15264 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15267 2010-09-30 Andreas Jaeger <aj@suse.de>
15269 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15270 (CGROUP_SUPER_MAGIC): Define.
15271 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15272 Handle btrfs and cgroup file systems.
15273 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15276 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15278 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15279 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15281 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15284 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15285 trying to locate the ELF header.
15287 2010-09-27 Andreas Schwab <schwab@redhat.com>
15290 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15291 Mask out sign-bit copies when constructing f_fsid.
15293 2010-09-24 Petr Baudis <pasky@suse.cz>
15295 * debug/stack_chk_fail_local.c: Add missing licence exception.
15296 * debug/warning-nop.c: Likewise.
15298 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15300 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15301 implementing getdents64 using getdents syscall, set d_type if
15302 __ASSUME_GETDENTS32_D_TYPE.
15304 2010-09-16 Andreas Schwab <schwab@redhat.com>
15306 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15307 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15309 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15312 * posix/unistd.h: Undo change of feature selection for ftruncate from
15315 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15317 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15320 2010-09-20 Andreas Schwab <schwab@redhat.com>
15322 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15324 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15326 2010-09-14 Andreas Schwab <schwab@redhat.com>
15328 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15329 variables after CHECK_SP call.
15330 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15332 2010-09-13 Andreas Schwab <schwab@redhat.com>
15333 Ulrich Drepper <drepper@redhat.com>
15335 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15336 re-relocationg ld.so.
15337 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15338 _dl_init_paths call.
15339 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15342 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15344 * resolv/res_init.c (__res_vinit): Count the default server we added.
15346 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15347 Ulrich Drepper <drepper@redhat.com>
15350 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15351 (____longjmp_chk): Use %ebx for saving value across system call.
15354 2010-09-06 Andreas Schwab <schwab@redhat.com>
15356 * manual/Makefile: Don't mix pattern rules with normal rules.
15358 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15360 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15362 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15363 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15364 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15365 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15366 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15369 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15372 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15373 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15375 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15377 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15378 * sysdeps/x86_64/addmul_1.S: Likewise.
15379 * sysdeps/x86_64/lshift.S: Likewise.
15380 * sysdeps/x86_64/mul_1.S: Likewise.
15381 * sysdeps/x86_64/rshift.S: Likewise.
15382 * sysdeps/x86_64/sub_n.S: Likewise.
15383 * sysdeps/x86_64/submul_1.S: Likewise.
15385 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15387 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15388 Define __sched_param instead of SCHED_* and sched_param when
15389 <bits/sched.h> is included with __need_schedparam defined.
15390 * bits/sched.h [__need_schedparam]
15391 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15392 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15393 (__defined_schedparam): Define to 1.
15394 (__sched_param): New structure, identical to sched_param.
15395 (__need_schedparam): Undefine.
15397 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15399 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15400 (epoll_create1): Declare.
15402 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15404 2010-08-31 Andreas Schwab <schwab@redhat.com>
15407 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15408 shifting retval into place.
15410 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15412 * nis/rpcsvc/nis.h: Update copyright notice.
15413 * nis/rpcsvc/nis.x: Likewise.
15414 * nis/rpcsvc/nis_callback.h: Likewise.
15415 * nis/rpcsvc/nis_callback.x: Likewise.
15416 * nis/rpcsvc/nis_object.x: Likewise.
15417 * nis/rpcsvc/nis_tags.h: Likewise.
15418 * nis/rpcsvc/yp.h: Likewise.
15419 * nis/rpcsvc/yp.x: Likewise.
15420 * nis/rpcsvc/ypupd.h: Likewise.
15421 * nis/yp_xdr.c: Likewise.
15422 * nis/ypupdate_xdr.c: Likewise.
15424 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15425 mainly the body of pmap_getport. Add parameters to specify timeouts.
15426 (pmap_getport): Use __libc_rpc_getport.
15427 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15428 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15429 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15431 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15436 2010-08-27 Roland McGrath <roland@redhat.com>
15438 * sysdeps/i386/i686/multiarch/Makefile
15439 (CFLAGS-varshift.c): New variable.
15441 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15443 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15444 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15446 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15448 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15450 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15452 * sysdeps/x86_64/strlen.S: Unroll the loop.
15453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15454 strlen-sse2 strlen-sse2-bsf.
15455 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15456 __strlen_no_bsf if bit_Slow_BSF is set.
15457 (__strlen_sse42): Removed.
15458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15459 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15461 2010-08-25 Roland McGrath <roland@redhat.com>
15463 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15464 * sysdeps/x86_64/multiarch/varshift.c: New file.
15465 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15466 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15467 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15468 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15470 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15473 strlen-sse2 strlen-sse2-bsf.
15474 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15475 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15476 (__strlen_sse2): Removed.
15477 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15478 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15480 bit_Slow_BSF for Atom.
15481 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15482 (index_Slow_BSF): Define.
15483 (HAS_SLOW_BSF): Define.
15485 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15488 * resolv/res_init.c (__res_vinit): When no server address at all
15489 is given default to loopback.
15491 2010-08-24 Roland McGrath <roland@redhat.com>
15493 * configure.in: Remove config-name.h generation.
15494 * configure: Regenerated.
15495 * config-name.in: File removed.
15496 * scripts/config-uname.sh: New file.
15497 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15498 ($(objdir)config-name.h): New target.
15500 * sunrpc/rpc_parse.h: Avoid nested comment.
15502 2010-08-24 Richard Henderson <rth@redhat.com>
15503 Ulrich Drepper <drepper@redhat.com>
15504 H.J. Lu <hongjiu.lu@intel.com>
15506 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15508 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15509 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15510 _mm_alignr_epi8 with _mm_loadu_si128.
15511 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15512 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15513 (__m128i_shift_right): Removed.
15514 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15515 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15516 * sysdeps/x86_64/multiarch/varshift.h: New file.
15517 * sysdeps/x86_64/multiarch/varshift.S: New file.
15519 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15521 * configure.in: Move assembler checks to before sysdep dir checking.
15523 2010-08-20 Petr Baudis <pasky@suse.cz>
15525 * LICENSES: Sync the sunrpc license.
15527 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15529 * sunrpc/auth_des.c: Update copyright notice once again.
15530 * sunrpc/auth_none.c: Likewise.
15531 * sunrpc/auth_unix.c: Likewise.
15532 * sunrpc/authdes_prot.c: Likewise.
15533 * sunrpc/authuxprot.c: Likewise.
15534 * sunrpc/bindrsvprt.c: Likewise.
15535 * sunrpc/clnt_gen.c: Likewise.
15536 * sunrpc/clnt_perr.c: Likewise.
15537 * sunrpc/clnt_raw.c: Likewise.
15538 * sunrpc/clnt_simp.c: Likewise.
15539 * sunrpc/clnt_tcp.c: Likewise.
15540 * sunrpc/clnt_udp.c: Likewise.
15541 * sunrpc/clnt_unix.c: Likewise.
15542 * sunrpc/des_crypt.c: Likewise.
15543 * sunrpc/des_soft.c: Likewise.
15544 * sunrpc/get_myaddr.c: Likewise.
15545 * sunrpc/getrpcport.c: Likewise.
15546 * sunrpc/key_call.c: Likewise.
15547 * sunrpc/key_prot.c: Likewise.
15548 * sunrpc/openchild.c: Likewise.
15549 * sunrpc/pm_getmaps.c: Likewise.
15550 * sunrpc/pm_getport.c: Likewise.
15551 * sunrpc/pmap_clnt.c: Likewise.
15552 * sunrpc/pmap_prot.c: Likewise.
15553 * sunrpc/pmap_prot2.c: Likewise.
15554 * sunrpc/pmap_rmt.c: Likewise.
15555 * sunrpc/rpc/auth.h: Likewise.
15556 * sunrpc/rpc/auth_unix.h: Likewise.
15557 * sunrpc/rpc/clnt.h: Likewise.
15558 * sunrpc/rpc/des_crypt.h: Likewise.
15559 * sunrpc/rpc/key_prot.h: Likewise.
15560 * sunrpc/rpc/netdb.h: Likewise.
15561 * sunrpc/rpc/pmap_clnt.h: Likewise.
15562 * sunrpc/rpc/pmap_prot.h: Likewise.
15563 * sunrpc/rpc/pmap_rmt.h: Likewise.
15564 * sunrpc/rpc/rpc.h: Likewise.
15565 * sunrpc/rpc/rpc_des.h: Likewise.
15566 * sunrpc/rpc/rpc_msg.h: Likewise.
15567 * sunrpc/rpc/svc.h: Likewise.
15568 * sunrpc/rpc/svc_auth.h: Likewise.
15569 * sunrpc/rpc/types.h: Likewise.
15570 * sunrpc/rpc/xdr.h: Likewise.
15571 * sunrpc/rpc_clntout.c: Likewise.
15572 * sunrpc/rpc_cmsg.c: Likewise.
15573 * sunrpc/rpc_common.c: Likewise.
15574 * sunrpc/rpc_cout.c: Likewise.
15575 * sunrpc/rpc_dtable.c: Likewise.
15576 * sunrpc/rpc_hout.c: Likewise.
15577 * sunrpc/rpc_main.c: Likewise.
15578 * sunrpc/rpc_parse.c: Likewise.
15579 * sunrpc/rpc_parse.h: Likewise.
15580 * sunrpc/rpc_prot.c: Likewise.
15581 * sunrpc/rpc_sample.c: Likewise.
15582 * sunrpc/rpc_scan.c: Likewise.
15583 * sunrpc/rpc_scan.h: Likewise.
15584 * sunrpc/rpc_svcout.c: Likewise.
15585 * sunrpc/rpc_tblout.c: Likewise.
15586 * sunrpc/rpc_util.c: Likewise.
15587 * sunrpc/rpc_util.h: Likewise.
15588 * sunrpc/rpcinfo.c: Likewise.
15589 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15590 * sunrpc/rpcsvc/key_prot.x: Likewise.
15591 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15592 * sunrpc/rpcsvc/mount.x: Likewise.
15593 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15594 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15595 * sunrpc/rpcsvc/rex.x: Likewise.
15596 * sunrpc/rpcsvc/rstat.x: Likewise.
15597 * sunrpc/rpcsvc/rusers.x: Likewise.
15598 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15599 * sunrpc/rpcsvc/spray.x: Likewise.
15600 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15601 * sunrpc/rtime.c: Likewise.
15602 * sunrpc/svc.c: Likewise.
15603 * sunrpc/svc_auth.c: Likewise.
15604 * sunrpc/svc_authux.c: Likewise.
15605 * sunrpc/svc_raw.c: Likewise.
15606 * sunrpc/svc_run.c: Likewise.
15607 * sunrpc/svc_simple.c: Likewise.
15608 * sunrpc/svc_tcp.c: Likewise.
15609 * sunrpc/svc_udp.c: Likewise.
15610 * sunrpc/svc_unix.c: Likewise.
15611 * sunrpc/svcauth_des.c: Likewise.
15612 * sunrpc/xcrypt.c: Likewise.
15613 * sunrpc/xdr.c: Likewise.
15614 * sunrpc/xdr_array.c: Likewise.
15615 * sunrpc/xdr_float.c: Likewise.
15616 * sunrpc/xdr_mem.c: Likewise.
15617 * sunrpc/xdr_rec.c: Likewise.
15618 * sunrpc/xdr_ref.c: Likewise.
15619 * sunrpc/xdr_sizeof.c: Likewise.
15620 * sunrpc/xdr_stdio.c: Likewise.
15622 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15625 2010-08-19 Andreas Schwab <schwab@redhat.com>
15627 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15629 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15631 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15632 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15633 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15634 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15635 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15636 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15637 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15638 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15639 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15640 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15641 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15642 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15643 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15644 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15646 2010-07-26 Anton Blanchard <anton@samba.org>
15648 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15649 * malloc/arena.c (heap_trim): Likewise.
15651 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15653 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15655 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15656 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15658 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15660 * sysdeps/i386/elf/Makefile: New file.
15662 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15664 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15665 from fanotify_init.
15666 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15667 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15669 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15671 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15673 * sysdeps/multiarch/strcmp.S: Likewise.
15675 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15677 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15678 strncase_l-nonascii.
15679 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15680 Add strncase_l-ssse3.
15681 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15682 * sysdeps/x86_64/strcmp.S: Likewise.
15683 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15684 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15685 * sysdeps/x86_64/strncase.S: New file.
15686 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15687 * sysdeps/x86_64/strncase_l.S: New file.
15688 * string/Makefile (strop-tests): Add strncasecmp.
15689 * string/test-strncasecmp.c: New file.
15691 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15694 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15695 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15697 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15699 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15701 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15703 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15704 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15705 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15707 2010-05-01 Alan Modra <amodra@gmail.com>
15709 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15710 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15711 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15712 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15713 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15714 tidying. Don't tail-call __sigjmp_save for static lib.
15715 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15717 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15718 (CALL_MCOUNT): Add eh info, and nop after bl.
15719 (TAIL_CALL_SYSCALL_ERROR): New macro.
15720 (PSEUDO_RET): Use it.
15721 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15722 Correct save location of integer regs and cr.
15723 (_dl_profile_resolve): Correct cr save location. Delete nops
15724 after bl when SHARED. Reduce cfi size a little by better
15725 placement of cfi directives.
15726 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15727 make a stack frame. Instead use parm save area as a temp.
15728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15729 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15731 Don't make a stack frame for parent, use parm save area.
15732 Increase child stack frame to 112 bytes. Don't save unused reg,
15733 and adjust reg usage. Set up cfi on error recovery and
15734 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15736 (__makecontext): Add dummy nop after jump to exit.
15737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15738 Use correct parm save area and cr save, reduce stack frame.
15739 Correct cfi for possible PSEUDO_RET frame setup.
15740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15741 Branch to local label emitted by PSEUDO_RET rather than
15744 2010-08-12 Andreas Schwab <schwab@redhat.com>
15747 * locale/programs/locale.c (print_assignment): New function.
15748 (show_locale_vars): Use it.
15750 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15752 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15754 (struct statfs64): Likewise.
15755 (_STATFS_F_FLAGS): Define.
15756 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15757 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15758 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15759 (ST_VALID): Define locally.
15760 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15761 __statvfs_getflags, use the provided value.
15762 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15763 __ASSUME_STATFS_F_FLAGS.
15765 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15767 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15768 Add sys/fanotify.h.
15769 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15770 fanotify_mask for GLIBC_2.13.
15771 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15772 fanotify_init and fanotify_mark.
15773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15774 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15776 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15778 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15779 prlimit64 for GLIBC_2.13.
15780 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15782 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15785 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15786 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15787 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15788 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15790 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15793 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15794 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15796 * nss/Makefile: Add rules to build and run tst-nss-test1.
15797 * shlib-versions: Add entry for libnss_test1.
15798 * nss/nss_test1.c: New file.
15799 * nss/tst-nss-test1.c: New file.
15801 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15802 (__nss_configure_lookup): Set appropriate entry in
15803 __nss_configure_lookup to true.
15804 * nss/nsswitch.h: Define enum with indeces of databases in
15805 databases and __nss_database_custom arrays. Declare
15806 __nss_database_custom.
15807 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15808 to avoid using nscd when custom rules are installed.
15809 * nss/getXXbyYY_r.c: Likewise.
15810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15812 * nss/nss_files/files-parse.c: Whitespace fixes.
15814 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15817 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15818 * posix/fnmatch_loop.c: Likewise.
15820 2010-07-17 Andi Kleen <ak@linux.intel.com>
15822 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15823 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15824 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15825 * Versions.def [GLIBC_2.13]: Add.
15827 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15829 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15830 Also fail if tpwd after pwuid call is NULL.
15832 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15834 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15835 when converting to ms.
15837 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15839 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15840 EOPNOTSUPP errors with ENOTTY.
15841 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15842 EOPNOTSUPP errors with ENOTTY.
15844 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15846 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15847 Add strcasecmp_l-ssse3.
15848 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15850 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15851 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15852 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15854 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15856 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15858 * string/Makefile (strop-tests): Add strcasecmp.
15859 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15860 strcasecmp_l-nonascii.
15861 (gen-as-const-headers): Add locale-defines.sym.
15862 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15863 * sysdeps/x86_64/strcasecmp.S: New file.
15864 * sysdeps/x86_64/strcasecmp_l.S: New file.
15865 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15866 * sysdeps/x86_64/locale-defines.sym: New file.
15867 * string/test-strcasecmp.c: New file.
15869 * string/test-strcasestr.c: Test both ends of the range of characters.
15870 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15872 2010-07-29 Roland McGrath <roland@redhat.com>
15875 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15877 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15879 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15882 2010-07-27 Andreas Schwab <schwab@redhat.com>
15884 * manual/memory.texi (Malloc Tunable Parameters): Document
15887 2010-07-26 Roland McGrath <roland@redhat.com>
15890 * configure.in (-fgnu89-inline check): Set and substitute
15891 gnu89_inline, not libc_cv_gnu89_inline.
15892 * configure: Regenerated.
15893 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15895 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15897 * string/test-strnlen.c: New file.
15898 * string/Makefile (strop-tests): Add strnlen.
15899 * string/tester.c (test_strnlen): Add a few more test cases.
15900 * string/tst-strlen.c: Better error reporting.
15902 * sysdeps/x86_64/strnlen.S: New file.
15904 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15906 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15907 lower-latency instructions.
15909 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15911 * string/test-strcasestr.c: New file.
15912 * string/test-strstr.c: New file.
15913 * string/Makefile (strop-tests): Add strstr and strcasestr.
15914 * string/str-two-way.h: Don't undefine MAX.
15915 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15917 2010-07-21 Andreas Schwab <schwab@redhat.com>
15919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15920 strcasestr-nonascii.
15921 (CFLAGS-strcasestr-nonascii.c): Define.
15922 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15923 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15924 Remove unused attribute.
15926 2010-07-20 Roland McGrath <roland@redhat.com>
15928 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15929 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15930 ld.so.cache was broken. With it, there is no way to disable dsocaps
15931 like LD_HWCAP_MASK can disable hwcaps.
15933 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15935 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15937 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15939 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15940 call in strcasestr.
15941 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15942 __strcasestr_sse42_nonascii.
15943 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15944 strcasestr-nonascii.c.
15945 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15947 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15949 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15950 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15951 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15952 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15954 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15956 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15959 2010-07-06 Andreas Schwab <schwab@redhat.com>
15962 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15965 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15967 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15968 _PC_PIPE_BUF using F_GETPIPE_SZ.
15970 2010-07-05 Roland McGrath <roland@redhat.com>
15972 * manual/arith.texi (Rounding Functions): Fix rint description
15973 implicit in round description.
15975 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15977 * elf/Makefile: Fix linking for a few tests to make recent linker
15980 2010-06-30 Andreas Schwab <schwab@redhat.com>
15982 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15983 $(common-objpfx)libc_nonshared.a.
15985 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15987 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15988 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15989 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15990 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15991 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15992 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15993 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15994 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
16001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
16003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
16004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
16005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
16006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
16007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
16009 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
16010 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
16011 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
16012 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
16013 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
16014 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
16015 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
16016 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
16017 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
16018 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
16019 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
16020 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
16021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
16022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
16023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
16024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
16025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
16026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
16027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16036 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16038 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16039 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16040 * string/memmove.c (memmove): Renamed to ...
16041 (MEMMOVE): ...this. Default to memmove.
16042 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16043 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16046 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16047 mempcpy-ssse3-back memmove-ssse3-back.
16048 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16049 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16050 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16051 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16052 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16053 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16054 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16055 * sysdeps/x86_64/multiarch/memmove.c: New file.
16056 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16057 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16058 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16059 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16060 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16061 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16063 (index_Fast_Copy_Backward): Define.
16064 (HAS_ARCH_FEATURE): Define.
16065 (HAS_FAST_REP_STRING): Define.
16066 (HAS_FAST_COPY_BACKWARD): Define.
16068 2010-06-21 Andreas Schwab <schwab@redhat.com>
16070 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16071 Restore proper fallback handling.
16073 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16076 * posix/group_member.c (__group_member): Correct checking loop.
16078 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16079 OOM in getpwuid_r correctly. Return error number when the caller
16080 should return, otherwise -1.
16081 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16082 call returning > 0 value.
16083 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16085 2010-06-07 Andreas Schwab <schwab@redhat.com>
16087 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16088 libc_nonshared.a from targets in modules-names.
16090 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16092 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16095 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16097 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16098 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16100 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16102 2010-06-02 Andreas Schwab <schwab@redhat.com>
16104 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16106 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16108 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16111 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16112 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16113 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16114 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16115 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16117 2010-06-14 Roland McGrath <roland@redhat.com>
16119 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16121 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16123 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16124 __REDIRECT followed by __THROW.
16125 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16126 * posix/getopt.h (getopt): Likewise.
16128 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16130 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16131 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16132 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16134 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16135 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16137 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16139 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16141 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16145 Properly check family and model.
16147 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16149 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16151 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16153 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16155 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16157 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16160 2010-05-19 Andreas Schwab <schwab@redhat.com>
16162 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16165 2010-05-21 Andreas Schwab <schwab@redhat.com>
16167 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16168 and internal_recvmmsg.
16169 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16170 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16171 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16172 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16174 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16175 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16176 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16178 2010-05-20 Andreas Schwab <schwab@redhat.com>
16180 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16182 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16184 POWER7 optimizations.
16185 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16186 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16188 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16190 * version.h: Update for 2.13 development version.
16192 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16194 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16195 exceptions. Return 0.
16197 2010-05-07 Roland McGrath <roland@redhat.com>
16199 * elf/ldconfig.c (main): Add a const.
16201 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16203 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16204 (args_options): Add no-idn option.
16205 (ahosts_keys_int): Add idn_flags to ai_flags.
16206 (parse_option): Handle 'i' option to clear idn_flags.
16208 * malloc/malloc.c (_int_free): Possible race in the most recently
16209 added check. Only act on the data if no current modification
16212 See ChangeLog.17 for earlier changes.