1 2014-06-20 Joseph Myers <joseph@codesourcery.com>
3 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
4 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7 * nscd/nscd.c: Likewise.
8 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15 (init_mq_netlink): Remove conditional have_sock_cloexec
16 definitions. Remove code conditional on have_sock_cloexec < 0.
17 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
19 * sysdeps/unix/sysv/linux/opensock.c: Do not include
21 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
22 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
24 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
26 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27 Add tests for memset_chk and memset.
29 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
35 * elf/tst-dl-iter-static.c: New file.
36 * elf/Makefile (tests-static): Add tst-dl-iter-static.
38 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
41 2014-06-20 Joseph Myers <joseph@codesourcery.com>
43 * sysdeps/unix/sysv/linux/kernel-features.h
44 (__ASSUME_F_GETOWN_EX): Remove macro.
45 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
47 (miss_F_GETOWN_EX): Remove variable or macro.
48 (do_fcntl): Do not check miss_F_GETOWN_EX.
49 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
51 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
53 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
54 [!__ASSUME_AT_RANDOM]: Remove conditional code.
55 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
57 * sysdeps/unix/sysv/linux/kernel-features.h
58 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
59 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
60 [ADJ_OFFSET_SS_READ]: Make code unconditional.
61 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
63 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
66 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
67 Fix calculation of the symbol's value.
68 * sysdeps/arm/tst-armtlsdescloc.c: New file.
69 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
70 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
71 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
72 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
73 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
74 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
75 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
76 (modules-names): Add `tst-armtlsdescmod',
77 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
78 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
79 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
80 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
81 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
82 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
83 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
84 ($(objpfx)tst-armtlsdescloc): New dependency.
85 ($(objpfx)tst-armtlsdescextnow): Likewise.
86 ($(objpfx)tst-armtlsdescextlazy): Likewise.
87 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
89 * sysdeps/arm/configure: Regenerate.
91 2014-06-20 Joseph Myers <joseph@codesourcery.com>
93 * include/fcntl.h (__atfct_seterrno): Remove prototype.
94 (__atfct_seterrno_2): Likewise.
95 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
97 (__ASSUME_ATFCTS): Do not undefine and redefine.
98 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
99 (__have_atfcts): Remove conditional definition.
100 (__fxstatat([__NR_fstatat64]: Make code unconditional.
101 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
102 unreachable if [__ASSUME_ATFCTS].
103 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
104 not undefine and redefine.
105 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
107 (faccessat) [__NR_faccessat]: Make code unconditional.
108 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
109 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
111 (fchmodat) [__NR_fchmodat]: Make code unconditional.
112 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
113 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
115 (fchownat) [__NR_fchownat]: Make code unconditional.
116 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
117 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
119 (futimesat) [__NR_futimesat]: Make code unconditional.
120 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
121 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
123 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
124 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
125 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
127 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
128 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
129 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
130 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
132 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
133 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
134 * sysdeps/unix/sysv/linux/linkat.c: Do not include
136 (linkat) [__NR_linkat]: Make code unconditional.
137 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
138 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
139 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
141 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
142 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
143 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
145 (mkdirat) [__NR_mkdirat]: Make code unconditional.
146 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
147 * sysdeps/unix/sysv/linux/openat.c: Do not include
149 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
150 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
151 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
152 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
153 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
154 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
156 (readlinkat) [__NR_readlinkat]: Make code unconditional.
157 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
158 result of INLINE_SYSCALL directly, not via int variable.
159 * sysdeps/unix/sysv/linux/renameat.c: Do not include
161 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
162 (renameat) [__NR_renameat]: Make code unconditional.
163 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
164 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
165 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
166 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
167 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
168 (__ASSUME_ATFCTS): Do not undefine and redefine.
169 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
171 (symlinkat) [__NR_symlinkat]: Make code unconditional.
172 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
173 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
175 (unlinkat) [__NR_unlinkat]: Make code unconditional.
176 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
177 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
178 (__ASSUME_ATFCTS): Do not undefine and redefine.
179 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
181 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
182 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
183 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
185 (__xmknodat) [__NR_mknodat]: Make code unconditional.
186 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
188 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
190 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
192 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
195 * posix/regcomp.c (parse_reg_exp): Deallocate partially
196 constructed tree before returning error.
197 * posix/bug-regexp36.c: Expand test case.
199 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
202 * math/libm-test.inc (scalbln_test_date):
203 Add errno expectations.
204 * math/w_scalblnf.c: New File.
205 Add wrapper which checks for setting errno to ERANGE.
206 Add weak_alias for corresponding scalbln function.
207 * math/w_scalbln.c: Likewise.
208 * math/w_scalblnl.c: Likewise.
209 * math/Makefile (libm-calls): Add w_scalbln.
210 * sysdeps/ieee754/flt-32/s_scalblnf.c:
211 Remove weak_alias for corresponding scalbln function.
212 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
213 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
214 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
215 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
216 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
217 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
218 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
219 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
220 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
221 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
222 Remove long_double_symbol for scalblnl function in libm, libc.
223 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
224 Add wrapper which checks for setting errno to ERANGE.
225 Add long_double_symbol for scalblnl function in libm, libc.
226 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
227 Remove long_double_symbol for scalblnl in libm.
228 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
229 Add wrapper which checks for setting errno to ERANGE.
230 Add long_double_symbol for scalblnl function in libm.
231 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
232 Do not use wrapper because of own implementation.
234 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
236 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
237 3 bytes for __pad1 for x32.
238 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
240 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
241 H.J. Lu <hongjiu.lu@intel.com>
243 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
244 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
245 * sysdeps/x86_64/multiarch/memset.S: Likewise.
246 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
247 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
249 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
252 * posix/regcomp.c (parse_expression): Deallocate partially
253 constructed tree before returning error.
254 * posix/Makefile.c (tests): Add bug-regex36.
255 (generated): Add bug-regex36.mtrace.
256 (tests-special): Add $(objpfx)bug-regex36-mem.out
257 (bug-regex36-ENV): New variable.
258 ($(objpfx)bug-regex36-mem.out): New rule.
259 * posix/bug-regex36.c: New file.
261 2014-06-19 Will Newton <will.newton@linaro.org>
263 * malloc/malloc.c (systrim): If extra is zero then return
266 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
268 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
270 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
272 * sysdeps/aarch64/strchr.S: New file.
274 2014-06-18 Joseph Myers <joseph@codesourcery.com>
277 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
278 from arguments -2 or below.
279 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
280 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
282 2014-06-18 Andreas Schwab <schwab@suse.de>
285 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
286 of a bracket expr not to run off the end of the string.
287 * posix/Makefile (tests): Add tst-fnmatch3.
288 * posix/tst-fnmatch3.c: New file.
290 2014-06-18 Joseph Myers <joseph@codesourcery.com>
292 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
293 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
294 [$(cross-compiling) = no]: Likewise.
295 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
296 [$(cross-compiling) = no]: Likewise.
298 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
301 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
302 double, adjusted for any remainder from the high double.
303 * math/libm-test.inc (nearbyint): Add tests.
306 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
308 * nptl/sysdeps/powerpc/Makefile: Moved ...
309 * sysdeps/powerpc/nptl/Makefile: ... here.
310 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
311 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
312 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
313 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
314 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
315 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
316 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
317 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
318 * nptl/sysdeps/powerpc/tls.h: Moved ...
319 * sysdeps/powerpc/nptl/tls.h: ... here.
321 2014-06-16 Joseph Myers <joseph@codesourcery.com>
324 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
325 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
326 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
327 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
328 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
329 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
330 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
331 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
332 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
334 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
336 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
338 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
340 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
343 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
346 2014-06-16 Florian Weimer <fweimer@redhat.com>
349 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
350 non-executed part of the test.
352 2014-06-16 Andreas Schwab <schwab@suse.de>
354 * string/bits/string2.h (strdup, strndup): Update feature guard.
356 2014-06-14 David S. Miller <davem@davemloft.net>
358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
360 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
362 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
363 that was previously under [RESET_PID].
364 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
366 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
367 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
368 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
369 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
370 (__libc_vfork): New strong alias.
371 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
373 2014-06-14 Andi Kleen <ak@linux.intel.com>
375 * sysdeps/generic/elide.h: New file.
377 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
379 * Makefile (installed-headers): Adjust path of pthread.h header.
381 2014-06-13 Roland McGrath <roland@hack.frob.com>
383 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
384 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
385 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
386 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
388 * nptl/sysdeps/s390/Makefile: Moved ...
389 * sysdeps/s390/nptl/Makefile: ... here.
390 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
391 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
392 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
393 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
394 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
395 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
396 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
397 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
398 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
399 * sysdeps/s390/nptl/pthreaddef.h: ... here.
400 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
401 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
402 * nptl/sysdeps/s390/tls.h: Moved ...
403 * sysdeps/s390/nptl/tls.h: ... here.
405 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
406 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
408 2014-06-13 David S. Miller <davem@davemloft.net>
410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
413 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
417 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
418 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
419 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
420 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
421 Remove RESET_PID cpp guards.
422 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
423 Remove RESET_PID cpp guards.
424 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
426 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
428 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
431 2014-06-13 Andi Kleen <ak@linux.intel.com>
433 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
434 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
435 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
436 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
437 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
438 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
439 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
440 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
441 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
442 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
443 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
444 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
445 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
446 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
447 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
448 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
449 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
450 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
451 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
452 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
454 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
455 (pthread_rwlock_rdlock): Add elision.
456 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
457 (pthread_rwlock_wrlock): Add elision.
458 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
459 (pthread_rwlock_trywrlock): Add elision.
460 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
461 (pthread_rwlock_tryrdlock): Add elision.
462 * nptl/pthread_rwlock_unlock.c: Include elide.h.
463 (pthread_rwlock_tryrdlock): Add elision unlock.
464 * nptl/sysdeps/pthread/pthread.h:
465 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
466 (PTHREAD_RWLOCK_INITIALIZER,
467 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
468 Handle new elision field.
469 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
470 * sysdeps/arm/nptl/bits/pthreadtypes.h
471 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
472 * sysdeps/sh/nptl/bits/pthreadtypes.h
473 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
474 * sysdeps/tile/nptl/bits/pthreadtypes.h
475 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
476 * sysdeps/a/nptl/bits/pthreadtypes.h
477 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
478 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
479 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
480 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
481 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
482 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
483 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
484 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
485 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
486 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
487 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
488 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
489 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
490 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
491 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
492 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
493 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
494 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
495 (elision_init): Set try_xbegin to zero when no RTM.
496 * sysdeps/x86/nptl/bits/pthreadtypes.h
497 (pthread_rwlock_t): Change __pad1 to __rwelision.
498 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
500 2014-06-13 Andi Kleen <ak@linux.intel.com>
502 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
503 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
504 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
505 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
507 2014-06-13 Meador Inge <meadori@codesourcery.com>
510 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
511 that the cached result has been set before returning it.
513 2014-06-12 Roland McGrath <roland@hack.frob.com>
515 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
516 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
517 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
518 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
519 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
520 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
522 * nptl/sysdeps/sparc/Makefile: Moved ...
523 * sysdeps/sparc/nptl/Makefile: ... here.
524 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
525 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
526 * nptl/sysdeps/sparc/tls.h: Moved ...
527 * sysdeps/sparc/nptl/tls.h: ... here.
528 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
529 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
530 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
531 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
532 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
533 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
534 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
535 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
536 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
537 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
538 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
539 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
540 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
541 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
542 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
543 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
544 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
545 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
547 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
548 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
550 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
551 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
553 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
554 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
557 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
559 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
560 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
562 * sysdeps/pthread/posix-timer.h: Include <list.h>.
563 (struct list_links): Type removed.
564 (struct thread_node, struct timer_node): Replace struct list_links
565 with struct list_head.
566 (list_unlink_ip): Likewise.
567 * sysdeps/pthread/timer_routines.c
568 (timer_free_list, thread_free_list, thread_active_list): Likewise.
569 (list_append, list_insbefore): Likewise.
570 (list_init): Function removed.
571 (thread_init, init_module): Use INIT_LIST_HEAD instead.
572 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
573 * sysdeps/pthread/Makefile: ... here, new file.
575 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
576 * sysdeps/nptl/Implies: ... here.
577 * sysdeps/unix/sysv/linux/Implies: Add nptl.
578 * nptl/sysdeps/pthread/list.h: Moved ...
579 * include/list.h: ... here.
580 * nptl/sysdeps/pthread/createthread.c: Moved ...
581 * nptl/createthread.c: ... here.
582 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
583 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
584 * nptl/pt-longjmp.c: ... here.
585 * nptl/sysdeps/pthread/Makefile: Moved ...
586 * sysdeps/nptl/Makefile: ... here.
587 * nptl/sysdeps/pthread/Subdirs: Moved ...
588 * sysdeps/nptl/Subdirs: ... here.
589 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
590 * sysdeps/nptl/aio_misc.h: ... here.
591 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
592 * sysdeps/nptl/bits/libc-lock.h: ... here.
593 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
594 * sysdeps/nptl/bits/libc-lockP.h: ... here.
595 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
596 * sysdeps/nptl/bits/stdio-lock.h: ... here.
597 * nptl/sysdeps/pthread/configure: Moved ...
598 * sysdeps/nptl/configure: ... here.
599 * nptl/sysdeps/pthread/configure.ac: Moved ...
600 * sysdeps/nptl/configure.ac: ... here.
601 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
602 * sysdeps/nptl/gai_misc.h: ... here.
603 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
604 * sysdeps/nptl/librt-cancellation.c: ... here.
605 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
606 * sysdeps/nptl/malloc-machine.h: ... here.
607 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
608 * sysdeps/nptl/pthread-functions.h: ... here.
609 * nptl/sysdeps/pthread/pthread.h: Moved ...
610 * sysdeps/nptl/pthread.h: ... here.
611 * nptl/sysdeps/pthread/setxid.h: Moved ...
612 * sysdeps/nptl/setxid.h: ... here.
613 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
614 * sysdeps/nptl/sigfillset.c: ... here.
615 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
616 * sysdeps/nptl/tcb-offsets.h: ... here.
617 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
618 * sysdeps/nptl/tst-mqueue8x.c: ... here.
619 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
620 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
621 * nptl/sysdeps/pthread/allocalim.h: Moved ...
622 * sysdeps/pthread/allocalim.h: ... here.
623 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
624 * sysdeps/pthread/bits/sigthread.h: ... here.
625 * nptl/sysdeps/pthread/flockfile.c: Moved ...
626 * sysdeps/pthread/flockfile.c: ... here.
627 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
628 * sysdeps/pthread/ftrylockfile.c: ... here.
629 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
630 * sysdeps/pthread/funlockfile.c: ... here.
631 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
632 * sysdeps/pthread/posix-timer.h: ... here.
633 * nptl/sysdeps/pthread/timer_create.c: Moved ...
634 * sysdeps/pthread/timer_create.c: ... here.
635 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
636 * sysdeps/pthread/timer_delete.c: ... here.
637 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
638 * sysdeps/pthread/timer_getoverr.c: ... here.
639 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
640 * sysdeps/pthread/timer_gettime.c: ... here.
641 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
642 * sysdeps/pthread/timer_routines.c: ... here.
643 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
644 * sysdeps/pthread/timer_settime.c: ... here.
645 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
646 * sysdeps/pthread/tst-timer.c: ... here.
647 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
648 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
650 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
651 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
653 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
654 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
655 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
656 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
657 Update #include target.
658 * nptl/sysdeps/i386/i686/Makefile: Moved ...
659 * sysdeps/i386/i686/nptl/Makefile: ... here.
660 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
661 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
662 Update #include target.
663 * nptl/sysdeps/i386/i686/tls.h: Moved ...
664 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
665 * nptl/sysdeps/i386/Makefile: Moved ...
666 * sysdeps/i386/nptl/Makefile: ... here.
667 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
668 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
669 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
670 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
671 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
672 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
673 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
674 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
675 * sysdeps/i386/nptl/pthreaddef.h: ... here.
676 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
677 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
678 * nptl/sysdeps/i386/tls.h: Moved ...
679 * sysdeps/i386/nptl/tls.h: ... here.
681 * sysdeps/sh/Makefile [$(subdir) = csu]
682 (gen-as-const-headers): Add tcb-offsets.sym.
683 * nptl/sysdeps/sh/Makefile: File removed.
684 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
685 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
686 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
687 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
688 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
689 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
690 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
691 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
692 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
693 * sysdeps/sh/nptl/pthreaddef.h: ... here.
694 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
695 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
696 * nptl/sysdeps/sh/tls.h: Moved ...
697 * sysdeps/sh/nptl/tls.h: ... here.
698 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
699 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
700 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
701 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
702 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
703 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
704 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
705 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
706 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
707 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
708 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
709 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
710 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
711 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
712 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
713 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
714 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
715 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
716 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
717 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
718 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
719 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
720 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
721 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
722 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
724 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
725 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
727 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
728 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
729 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
730 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
731 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
732 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
733 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
734 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
735 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
736 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
737 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
738 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
739 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
740 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
741 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
742 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
743 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
744 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
745 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
747 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
749 * posix/spawn_faction_addopen.c: Include string.h.
751 2014-06-11 Roland McGrath <roland@hack.frob.com>
753 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
754 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
755 * nptl/sysdeps/x86_64/Makefile: Moved ...
756 * sysdeps/x86_64/nptl/Makefile: ... here.
757 * nptl/sysdeps/x86_64/configure: Moved ...
758 * sysdeps/x86_64/nptl/configure: ... here.
759 * nptl/sysdeps/x86_64/configure.ac: Moved ...
760 * sysdeps/x86_64/nptl/configure.ac: ... here.
761 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
762 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
763 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
764 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
765 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
766 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
767 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
768 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
769 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
770 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
771 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
772 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
773 * nptl/sysdeps/x86_64/tls.h: Moved ...
774 * sysdeps/x86_64/nptl/tls.h: ... here.
775 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
776 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
777 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
778 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
780 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
782 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
786 2014-06-11 Joseph Myers <joseph@codesourcery.com>
788 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
790 [POSIX] (off_t): Likewise.
791 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
792 [POSIX] (S_ISBLK): Require macro.
793 [POSIX] (S_ISCHR): Likewise.
794 [POSIX] (S_ISDIR): Likewise.
795 [POSIX] (S_ISFIFO): Likewise.
796 [POSIX] (S_ISREG): Likewise.
797 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
799 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
801 [POSIX] (time_t): Likewise.
802 [POSIX] (timer_t): Likewise.
804 2014-06-11 Florian Weimer <fweimer@redhat.com>
807 * posix/spawn_int.h (struct __spawn_action): Make the path string
808 non-const to support deallocation.
809 * posix/spawn_faction_addopen.c
810 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
811 * posix/spawn_faction_destroy.c
812 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
813 path in all spawn_do_open actions.
814 * posix/tst-spawn.c (do_test): Exercise the copy operation in
815 posix_spawn_file_actions_addopen.
817 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
819 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
820 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
821 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
822 conditional code always true.
823 (__libc_vfork): New alias.
825 2014-06-11 Roland McGrath <roland@hack.frob.com>
827 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
828 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
830 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
832 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
833 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
835 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
836 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
838 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
839 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
841 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
843 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
844 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
845 multiarch strcmp for PPC64.
846 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
847 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
849 multiarch optimizations.
850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
851 (__libc_ifunc_impl_list): Likewise.
853 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
855 * benchtests/scripts/validate_benchout.py: New script.
856 * benchtests/Makefile (bench-func): Call it.
857 * benchtests/scripts/benchout.schema.json: New file.
859 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
861 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
862 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
863 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
864 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
865 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
866 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
867 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
868 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
869 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
870 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
871 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
872 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
873 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
874 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
875 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
876 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
980 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
981 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
982 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
983 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
984 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
986 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
988 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
989 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
990 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
991 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
992 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
993 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
994 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
995 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
996 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
997 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
998 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
999 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1000 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1002 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1003 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1005 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1006 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1007 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1008 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1010 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1011 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1012 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1013 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1014 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1015 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1016 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1018 2014-06-10 Wilco <wdijkstr@arm.com>
1020 * math/test-fenv-return.c: New file.
1021 * math/Makefile: Add new test test-fenv-return.
1023 2014-06-10 Joseph Myers <joseph@codesourcery.com>
1026 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1028 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1029 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1030 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1031 0.0L for an argument of 1.0L.
1032 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1034 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1035 value when x - 1 is zero.
1036 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1037 * sysdeps/i386/fpu/libm-test-ulps: Update.
1038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1040 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
1043 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1045 2014-06-09 Roland McGrath <roland@hack.frob.com>
1047 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1048 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1050 2014-06-09 Roland McGrath <roland@hack.frob.com>
1052 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1053 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1055 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1056 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1058 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1059 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1061 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1062 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1064 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1065 if not already defined.
1066 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1067 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1068 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1069 (TLS_INIT_TP): Use it.
1070 (TLS_DEFINE_INIT_TP): New macro.
1071 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1073 2014-06-09 Joseph Myers <joseph@codesourcery.com>
1075 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1077 [POSIX] (IXANY): Likewise.
1078 [POSIX] (OLCUC): Likewise.
1079 [POSIX || POSIX2008] (CBAUD): Do not allow.
1080 [POSIX || POSIX2008] (DEFECHO): Likewise.
1081 [POSIX || POSIX2008] (ECHOCTL): Likewise.
1082 [POSIX || POSIX2008] (ECHOKE): Likewise.
1083 [POSIX || POSIX2008] (ECHOPRT): Likewise.
1084 [POSIX || POSIX2008] (EXTA): Likewise.
1085 [POSIX || POSIX2008] (EXTB): Likewise.
1086 [POSIX || POSIX2008] (FLUSHO): Likewise.
1087 [POSIX || POSIX2008] (LOBLK): Likewise.
1088 [POSIX || POSIX2008] (PENDIN): Likewise.
1089 [POSIX || POSIX2008] (SWTCH): Likewise.
1090 [POSIX || POSIX2008] (VDISCARD): Likewise.
1091 [POSIX || POSIX2008] (VDSUSP): Likewise.
1092 [POSIX || POSIX2008] (VLNEXT): Likewise.
1093 [POSIX || POSIX2008] (VREPRINT): Likewise.
1094 [POSIX || POSIX2008] (VSTATUS): Likewise.
1095 [POSIX || POSIX2008] (VWERASE): Likewise.
1096 (B*): Change to B[0123456789]*.
1097 * conform/data/time.h-data [POSIX || UNIX98]
1098 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1099 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1100 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1101 [POSIX] (tm_*): Do not allow.
1103 2014-06-07 Joseph Myers <joseph@codesourcery.com>
1105 * Makefile (install): Don't set LANGUAGE.
1106 * Makefile.in (install): Likewise.
1107 * assert/Makefile (test-assert-ENV): Remove variable.
1108 (test-assert-perr-ENV): Likewise.
1109 * elf/Makefile (neededtest4-ENV): Likewise.
1110 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1111 [$(cross-compiling) = no]: Don't set LANGUAGE.
1112 * io/ftwtest-sh (LANG): Remove variable.
1113 * libio/Makefile (tst-widetext-ENV): Likewise.
1114 * manual/install.texi (Running make install): Don't refer to
1115 environment settings for make install.
1116 * INSTALL: Regenerated.
1117 * nptl/tst-tls6.sh: Don't set LANG.
1118 * posix/globtest.sh (LANG): Remove variable.
1119 * string/Makefile (tester-ENV): Likewise.
1120 (inl-tester-ENV): Likewise.
1121 (noinl-tester-ENV): Likewise.
1122 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1123 [$(cross-compiling) = no]: Don't set LANGUAGE.
1124 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1125 without explicit environment settings.
1127 2014-06-06 Roland McGrath <roland@hack.frob.com>
1129 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1130 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1131 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1132 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1134 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
1136 * crypt/crypt-private.h [DOS]: Add some includes taken from the
1137 other files in the crypt directory.
1138 * crypt/crypt.c: Remove duplicate includes.
1139 * crypt/crypt-entry.c: Likewise.
1140 * crypt/crypt_util.c: Likewise.
1142 2014-06-06 Joseph Myers <joseph@codesourcery.com>
1144 * Makeconfig (run-program-env): New variable.
1145 (run-program-prefix-before-env): Likewise.
1146 (run-program-prefix-after-env): Likewise.
1147 (run-program-prefix): Define in terms of new variables.
1148 (built-program-cmd-before-env): New variable.
1149 (built-program-cmd-after-env): Likewise.
1150 (built-program-cmd): Define in terms of new variables.
1151 (test-program-prefix-before-env): New variable.
1152 (test-program-prefix-after-env): Likewise.
1153 (test-program-prefix): Define in terms of new variables.
1154 (test-program-cmd-before-env): New variable.
1155 (test-program-cmd-after-env): Likewise.
1156 (test-program-cmd): Define in terms of new variables.
1157 * Rules (make-test-out): Use $(run-program-env).
1158 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1159 (help): Do not mention environment variables. Mention
1160 --timeoutfactor option.
1161 (timeoutfactor): New variable.
1162 (blacklist_exports): Remove function.
1163 (exports): Remove variable.
1164 (command): Do not include ${exports}.
1165 * manual/install.texi (Configuring and compiling): Do not mention
1166 test wrappers preserving environment variables. Mention that last
1167 assignment to a variable must take precedence.
1168 * INSTALL: Regenerated.
1169 * benchtests/Makefile (run-bench): Use $(run-program-env).
1170 * catgets/Makefile ($(objpfx)test1.cat): Use
1171 $(built-program-cmd-before-env), $(run-program-env) and
1172 $(built-program-cmd-after-env).
1173 ($(objpfx)test2.cat): Do not specify environment variables
1175 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1176 $(run-program-env) and $(built-program-cmd-after-env).
1177 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1178 $(run-program-env) and $(test-program-cmd-after-env).
1179 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1181 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1182 run_program_env and test_program_cmd_after_env arguments.
1183 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1184 * elf/tst-pathopt.sh: Use run_program_env argument.
1185 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1186 $(test-wrapper-env) and $(run-program-env).
1187 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1188 run_program_env arguments.
1189 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1190 * intl/Makefile ($(objpfx)tst-gettext.out): Use
1191 $(test-program-prefix-before-env), $(run-program-env) and
1192 $(test-program-prefix-after-env).
1193 ($(objpfx)tst-gettext2.out): Likewise.
1194 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1195 run_program_env and test_program_prefix_after_env arguments.
1196 * intl/tst-gettext2.sh: Likewise.
1197 * intl/tst-gettext4.sh: Do not set environment variables
1199 * intl/tst-gettext6.sh: Likewise.
1200 * intl/tst-translit.sh: Likewise.
1201 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1202 $(test-program-prefix-before-env), $(run-program-env) and
1203 $(test-program-prefix-after-env).
1204 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1205 run_program_env and test_program_prefix_after_env arguments.
1206 * math/Makefile (run-regen-ulps): Use $(run-program-env).
1207 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1208 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
1209 explicitly with each use of ${test_wrapper_env}.
1210 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1211 $(test-program-prefix-before-env), $(run-program-env) and
1212 $(test-program-prefix-after-env).
1213 * posix/tst-getconf.sh: Do not set environment variables
1215 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1216 run_program_env and test_program_prefix_after_env arguments.
1217 * stdio-common/tst-printf.sh: Do not set environment variables
1219 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1220 $(test-program-prefix-before-env), $(run-program-env) and
1221 $(test-program-prefix-after-env).
1222 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1223 run_program_env and test_program_prefix_after_env arguments.
1224 Split $test calls into $test_pre and $test.
1225 * timezone/Makefile (build-testdata): Use
1226 $(built-program-cmd-before-env), $(run-program-env) and
1227 $(built-program-cmd-after-env).
1229 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1231 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1232 strlen for non SHARED builds.
1234 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1236 * nptl/allocatestack.c (check_list): Inlined function...
1237 (__reclaim_stacks): ... here.
1239 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1242 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1245 2014-06-05 Joseph Myers <joseph@codesourcery.com>
1247 * Rules (make-test-out): Include
1248 LOCPATH=$(common-objpfx)localedata in default environment.
1249 * debug/Makefile (tst-chk1-ENV): Remove variable.
1250 (tst-chk2-ENV): Likewise.
1251 (tst-chk3-ENV): Likewise.
1252 (tst-chk4-ENV): Likewise.
1253 (tst-chk5-ENV): Likewise.
1254 (tst-chk6-ENV): Likewise.
1255 (tst-lfschk1-ENV): Likewise.
1256 (tst-lfschk2-ENV): Likewise.
1257 (tst-lfschk3-ENV): Likewise.
1258 (tst-lfschk4-ENV): Likewise.
1259 (tst-lfschk5-ENV): Likewise.
1260 (tst-lfschk6-ENV): Likewise.
1261 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1262 (tst-iconv7-ENV): Likewise.
1263 * intl/Makefile (LOCPATH-ENV): Likewise.
1264 (tst-codeset-ENV): Likewise.
1265 (tst-gettext3-ENV): Likewise.
1266 (tst-gettext5-ENV): Likewise.
1267 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1268 (tst-fopenloc-ENV): Likewise.
1269 (tst-fgetws-ENV): Remove variable.
1270 (tst-ungetwc1-ENV): Likewise.
1271 (tst-ungetwc2-ENV): Likewise.
1272 (bug-ungetwc2-ENV): Likewise.
1273 (tst-swscanf-ENV): Likewise.
1274 (bug-ftell-ENV): Likewise.
1275 (tst-fgetwc-ENV): Likewise.
1276 (tst-fseek-ENV): Likewise.
1277 (tst-ftell-partial-wide-ENV): Likewise.
1278 (tst-ftell-active-handler-ENV): Likewise.
1279 (tst-ftell-append-ENV): Likewise.
1280 * posix/Makefile (tst-fnmatch-ENV): Likewise.
1281 (tst-regexloc-ENV): Likewise.
1282 (bug-regex1-ENV): Likewise.
1283 (tst-regex-ENV): Likewise.
1284 (tst-regex2-ENV): Likewise.
1285 (bug-regex5-ENV): Likewise.
1286 (bug-regex6-ENV): Likewise.
1287 (bug-regex17-ENV): Likewise.
1288 (bug-regex18-ENV): Likewise.
1289 (bug-regex19-ENV): Likewise.
1290 (bug-regex20-ENV): Likewise.
1291 (bug-regex22-ENV): Likewise.
1292 (bug-regex23-ENV): Likewise.
1293 (bug-regex25-ENV): Likewise.
1294 (bug-regex26-ENV): Likewise.
1295 (bug-regex30-ENV): Likewise.
1296 (bug-regex32-ENV): Likewise.
1297 (bug-regex33-ENV): Likewise.
1298 (bug-regex34-ENV): Likewise.
1299 (bug-regex35-ENV): Likewise.
1300 (tst-rxspencer-ENV): Likewise.
1301 (tst-rxspencer-no-utf8-ENV): Likewise.
1302 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1303 (tst-sscanf-ENV): Likewise.
1304 (tst-swprintf-ENV): Likewise.
1305 (tst-swscanf-ENV): Likewise.
1306 (test-vfprintf-ENV): Likewise.
1307 (scanf13-ENV): Likewise.
1308 (bug14-ENV): Likewise.
1309 (tst-grouping-ENV): Likewise.
1310 * stdlib/Makefile (tst-strtod-ENV): Likewise.
1311 (tst-strtod3-ENV): Likewise.
1312 (tst-strtod4-ENV): Likewise.
1313 (tst-strtod5-ENV): Likewise.
1314 (testmb2-ENV): Likewise./
1315 * string/Makefile (tst-strxfrm-ENV): Likewise.
1316 (tst-strxfrm2-ENV): Likewise.
1317 (bug-strcoll1-ENV): Likewise.
1318 (test-strcasecmp-ENV): Likewise.
1319 (test-strncasecmp-ENV): Likewise.
1320 * time/Makefile (tst-strptime-ENV): Likewise.
1321 (tst-ftime_l-ENV): Likewise.
1322 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1323 (tst-mbrtowc-ENV): Likewise.
1324 (tst-wcrtomb-ENV): Likewise.
1325 (tst-mbrtowc2-ENV): Likewise.
1326 (tst-c16c32-1-ENV): Likewise.
1327 (tst-mbsnrtowcs-ENV): Likewise.
1329 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
1331 * manual/resource.texi (How to get information about the memory
1332 subsystem?): Fix typo.
1333 Reported by Peon de la Parra Ivan <peon@keba.com>
1335 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
1338 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1339 (pthread_spin_lock): Branch out of spin loop to proper location.
1340 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1341 (pthread_spin_lock): Likewise.
1343 * nptl/tst-spin4.c: New test.
1344 * nptl/Makefile (tests): Add tst-spin4.
1346 2014-06-03 Andreas Schwab <schwab@suse.de>
1349 * resolv/res_send.c (send_dg): Reload file descriptor after
1352 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
1354 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1356 2014-06-03 Richard Henderson <rth@redhat.com>
1358 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1359 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1360 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1361 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
1362 in the SAVE_PID block.
1363 (__libc_vfork): New alias.
1364 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1366 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1367 child in registers, not on the stack. Remove RESET_PID conditionals.
1368 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1370 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
1372 * sysdeps/aarch64/libm-test-ulps: Regenerate.
1374 2014-06-03 Wilco <wdijkstr@arm.com>
1376 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1377 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1378 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1379 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1380 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1383 2014-06-03 Wilco <wdijkstr@arm.com>
1385 * sysdeps/aarch64/fpu/math_private.h
1386 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1387 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1388 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1389 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1392 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1394 * crypt/crypt-private.h: Include ufc-crypt.h.
1395 (__b64_from_24bit): Declare extern.
1396 * crypt/crypt_util.c(__b64_from_24bit): New function.
1397 (b64t): New static const variable.
1398 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1399 (b64t): Remove variable.
1400 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1401 * crypt/sha256-crypt.c: Include crypt-private.h.
1402 (b64t): Remove variable.
1403 (__sha256_crypt_r): Remove b64_from_24bit and replace
1404 with __b64_from_24bit.
1405 * crypt/sha512-crypt.c: Likewise.
1407 2014-06-02 Roland McGrath <roland@hack.frob.com>
1409 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1410 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1411 Label the code __libc_vfork rather than __vfork.
1412 [!NOT_IN_libc] (vfork): Define as weak alias.
1413 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1414 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1415 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1417 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1419 * malloc/malloc.c (malloc_info): Fix format specifier for
1422 2014-06-02 Wilco <wdijkstr@arm.com>
1424 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1427 2014-06-02 Wilco <wdijkstr@arm.com>
1430 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1431 Rewrite to reduce FPCR/FPSR accesses.
1433 2014-06-01 David S. Miller <davem@davemloft.net>
1435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1437 2014-05-31 David S. Miller <davem@davemloft.net>
1439 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1440 to occur in round to nearest mode when |x| >= 2.0
1442 2014-05-30 Richard Henderson <rth@twiddle.net>
1444 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1445 (PSEUDO_RET_NOERRNO): Remove.
1446 (ret): Don't redefine.
1447 (ret_NOERRNO): Define in terms of ret.
1448 (ret_ERRVAL): Likewise.
1450 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1451 use of PSEUDO_RET; perform the error check directly.
1453 2014-05-30 Marko Myllynen <myllynen@redhat.com>
1455 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1458 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1460 * malloc/malloc (malloc_info): Fix formatting.
1462 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1463 Roland McGrath <roland@hack.frob.com>
1465 * malloc/malloc (malloc_info): Also print mmapped statistics.
1467 2014-05-30 Roland McGrath <roland@hack.frob.com>
1469 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1470 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1472 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
1474 * malloc/malloc.c (malloc_info): Inline mi_arena.
1476 2014-05-29 Richard Henderson <rth@twiddle.net>
1478 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1479 Remove comma before expanding ASM_ARGS_##nr.
1480 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1481 Make _x0 a strict output; make _x8 a strict input; adjust expansion
1483 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1484 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1485 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1486 (ASM_ARGS_1): Add leading comma.
1488 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1489 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1490 to __errno_location.
1491 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1492 Remove the expected plt for __errno_location.
1494 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1495 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1498 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1499 Always allocate 64 bytes of stack frame. Use ldp/stp to create
1500 it and break it down.
1501 (DOCARGS_0, DOCARGS_1): Do nothing.
1502 (DOCARGS_2): Update to store into the new stack frame.
1503 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1504 (UNDOCARGS_1): Update to restore from the new stack frame.
1505 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1506 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1508 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1509 (SINGLE_THREAD_P): New parameter for result regno.
1510 (PSEUDO): Update to match; use cbz instead of beq.
1512 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1513 Use ENTRY to define the _nocancel entry point. Share the syscall
1514 and syscall error check paths with the cancel path.
1517 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1518 whitespace; tabs before and after asm mnemonics.
1520 2014-05-29 Eric Wong <normalperson@yhbt.net>
1523 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1524 Call fstat64 or stat64 internally, depending on arguments passed.
1525 Replace stat buffer argument with file descriptor argument.
1526 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1527 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1528 Pass fd to __internal_statvfs instead of calling fstat64.
1529 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1530 Pass fd to __internal_statvfs64 instead of calling fstat64.
1531 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1532 Pass -1 to __internal_statvfs instead of calling stat64.
1533 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1534 Pass -1 to __internal_statvfs64 instead of calling stat64.
1536 2014-05-28 Roland McGrath <roland@hack.frob.com>
1538 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1539 that was previously under [RESET_PID].
1540 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1542 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1543 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1545 2014-05-27 Roland McGrath <roland@hack.frob.com>
1547 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1549 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1550 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1552 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1554 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1556 2014-05-27 Andreas Schwab <schwab@suse.de>
1558 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1560 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1561 * elf/rtld.c (init_tls, dl_main): Likewise.
1562 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1563 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1564 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1565 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1566 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1567 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1568 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1569 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1570 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1571 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1572 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1573 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1574 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1575 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1576 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1577 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1578 * sysdeps/generic/tls.h: Update description.
1580 2014-05-27 Will Newton <will.newton@linaro.org>
1583 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1584 and restore r2 rather than just restoring.
1586 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1589 * libio/tst-ftell-append.c: New test case.
1590 * libio/Makefile (tests): Add test case.
1591 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1593 * libio/wfileops.c (do_ftell_wide): Likewise.
1595 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1599 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1603 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1604 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1605 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1606 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1607 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1608 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1615 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1616 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1617 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1618 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1619 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1621 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1622 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1624 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1626 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1628 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1629 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1630 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1632 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1633 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1634 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1635 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1640 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1643 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1646 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1650 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1653 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1658 conditional [RESET_PID].
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1660 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1662 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1667 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1668 (__libc_vfork): New strong alias.
1669 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1671 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1676 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1677 (__libc_vfork): New strong alias.
1678 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1680 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1683 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1685 * malloc/malloc.c (mi_arena): New function.
1686 (malloc_info): Remove nested function mi_arena. Call non-nosted
1689 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1691 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1693 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1694 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1695 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1696 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1697 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1698 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1699 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1701 2014-05-26 Andreas Schwab <schwab@suse.de>
1704 * locale/programs/repertoire.c (repertoire_read): Add slash
1705 between I18NPATH element and file name.
1706 * locale/programs/locfile.c (locfile_read): Likewise.
1708 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1710 * nptl/pthread_mutexattr_settype.c
1711 (__pthread_mutexattr_settype):
1712 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1714 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1716 * nptl/tst-mutex5 (do_test):
1717 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1719 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1721 * benchtests/README: Document 'init' directive.
1722 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1724 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1725 (parse_file): Recognize 'init' directive.
1727 2014-05-26 Kyle McMartin <kyle@redhat.com>
1730 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1731 alignment of struct pthread.
1733 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1736 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1737 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1738 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1739 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1741 2014-05-25 Richard Henderson <rth@twiddle.net>
1743 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1744 (SINGLE_THREAD_P_PIC): Remove.
1745 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1746 (SINGLE_THREAD_P_PIC): Remove.
1748 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1749 branch to syscall error ...
1751 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1752 from __local_syscall_error to .Lsyscall_error.
1753 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1754 (SYSCALL_ERROR): Update label name.
1756 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1757 Do not use DOARGS/UNDOARGS.
1758 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1759 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1760 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1761 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1762 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1764 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1767 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1768 define if !NOT_IN_libc.
1769 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1770 define with non-default symbol versions.
1772 2014-05-23 Richard Henderson <rth@twiddle.net>
1774 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1775 (vfork, __vfork): Define via compat_symbol.
1777 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1778 [!HAVE_IFUNC] (vfork_compat): Remove.
1779 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1781 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1784 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1785 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1788 2014-05-23 Richard Henderson <rth@twiddle.net>
1790 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1791 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1792 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1793 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1795 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1796 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1797 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1798 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1799 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1800 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1801 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1802 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1803 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1804 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1805 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1806 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1807 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1808 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1809 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1810 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1811 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1812 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1813 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1814 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1815 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1816 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1817 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1818 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1819 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1820 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1821 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1822 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1823 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1824 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1825 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1826 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1827 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1828 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1829 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1830 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1831 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1832 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1833 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1834 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1835 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1836 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1837 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1838 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1839 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1840 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1841 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1842 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1843 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1844 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1845 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1846 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1847 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1848 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1849 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1850 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1852 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1853 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1854 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1855 before exiting on error.
1856 (__libc_vfork): New strong alias.
1857 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1858 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1860 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1861 that was previously under [RESET_PID].
1862 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1864 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1866 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1869 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1870 value when x - 1 is zero.
1871 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1872 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1873 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1874 0.0L for an argument of 1.0L.
1875 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1877 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1878 value when x - 1 is zero.
1879 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1880 * sysdeps/i386/fpu/libm-test-ulps: Update.
1881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1883 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1885 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1886 alphasort and versionsort.
1888 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1890 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1892 [copysignf]: Likewise.
1894 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1896 * crypt/md5-crypt.c: Fix formatting.
1898 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1900 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1901 (b64_from_24bit): New function.
1903 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1905 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1906 libc_hidden_builtin_def to ifunc.
1907 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1908 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1910 2014-05-21 Roland McGrath <roland@hack.frob.com>
1912 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1913 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1915 2014-05-21 Joseph Myers <joseph@codesourcery.com>
1917 * nscd/Depend (linuxthreads): Remove.
1919 * resolv/Depend (linuxthreads): Remove.
1920 * rt/Depend (linuxthreads): Remove.
1922 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1923 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1924 $(common-objpfx)elf/.
1925 (link-libc-before-gnulib): Likewise.
1926 (elfobjdir): Remove variable.
1927 * Makefile (install): Use $(elf-objpfx) instead of
1928 $(common-objpfx)elf/.
1929 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1931 (link-libc-deps): Likewise.
1932 ($(common-objpfx)libc.so): Likewise.
1933 ($(common-objpfx)linkobj/libc.so): Likewise.
1934 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1935 instead of $(common-objpfx)elf/.
1936 (symbolic-link-list): Likewise.
1937 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1938 [$(cross-compiling) = no]: Likewise.
1939 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1941 (static-gnulib-arch): Likewise.
1942 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1943 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1944 $(common-objpfx)elf/.
1946 2014-05-21 Richard Henderson <rth@redhat.com>
1948 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1949 (SINGLE_THREAD_P): Use the correct width load. Fold
1950 into the ldr offset.
1952 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1953 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1955 2014-05-20 Joseph Myers <joseph@codesourcery.com>
1957 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1958 (libgcc_s_resume): Use __attribute_used__.
1959 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1962 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1964 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1965 optimization when used with float constants.
1967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1969 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1972 * locale/nl_langinfo_l.c: Make direct reference to every
1973 _nl_current_CATEGORY symbol.
1974 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1975 (tests-static): Add tst-langinfo-static.
1976 (tests-special): Add tst-langinfo-static.out.
1977 ($(objpfx)tst-langinfo.out): Redirect output.
1978 ($(objpfx)tst-langinfo-static.out): New.
1979 * localedata/tst-langinfo.sh: Send output to stdout.
1980 * localedata/tst-langinfo-static.c: New file.
1983 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1984 when the shift amount is modulo the limb size.
1986 2014-05-20 Richard Henderson <rth@redhat.com>
1989 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1990 Change type of sa_flags from unsigned int to int.
1993 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1995 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1997 2014-05-20 Will Newton <will.newton@linaro.org>
1999 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2000 Test the return value of the system call in the nocancel case.
2002 2014-05-20 Will Newton <will.newton@linaro.org>
2003 Yvan Roux <yvan.roux@linaro.org>
2005 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2006 #include of asm/ptrace.h.
2007 (PTRACE_GET_THREAD_AREA): Remove #undef.
2008 (PTRACE_GETHBPREGS): Likewise.
2009 (PTRACE_SETHBPREGS): Likewise.
2010 (struct user_regs_struct): New structure.
2011 (struct user_fpsimd_struct): New structure.
2012 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2013 #include of asm/ptrace.h and second #include of sys/user.h.
2014 (PTRACE_GET_THREAD_AREA): Remove #undef.
2015 (PTRACE_GETHBPREGS): Likewise.
2016 (PTRACE_SETHBPREGS): Likewise.
2017 (ELF_NGREG): Use new struct user_regs_struct.
2018 (elf_fpregset_t): Use new struct user_fpsimd_struct.
2020 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2022 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2025 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
2028 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2029 membar to avoid block loads/stores to overlap previous stores.
2031 2014-05-17 Richard Henderson <rth@redhat.com>
2033 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2034 Create the __##syscall_name##_nocancel entry point.
2035 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2036 Remove; let the sysdep-cancel.h code create it.
2038 2014-05-17 David S. Miller <davem@davemloft.net>
2040 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2041 Protect with __USE_GNU.
2042 (TIOCSET_TEMPT): Likewise.
2043 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2044 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2045 these are already provided in bits/ioctl-types.h
2047 2014-05-16 Roland McGrath <roland@hack.frob.com>
2049 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2050 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2052 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2053 Use wait4 regardless of [__NR_waitpid].
2055 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2058 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2059 (_FP_NANSIGN_Q): Set the quiet bit.
2061 2014-05-16 Joseph Myers <joseph@codesourcery.com>
2063 * benchtests/Makefile
2064 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2065 not $(common-objpfx)math/libm.so.
2066 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2067 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2068 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2069 $(common-objpfx)dlfcn/libdl.so.
2070 ($(objpfx)tst-audit8): Depend on $(libm), not
2071 $(common-objpfx)math/libm.so.
2072 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2073 not $(common-objpfx)dlfcn/libdl.so.
2075 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2076 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
2077 [$(build-shared) = yes].
2078 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2079 $(common-objpfx)nptl/libpthread.so.
2080 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2081 $(common-objpfx)math/libm.so$(libm.so-version) or
2082 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2083 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2084 $(common-objpfx)dlfcn/libdl.so.
2085 * setjmp/Makefile (link-libm): Remove variable.
2086 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2087 * stdio-common/Makefile (link-libm): Remove variable.
2088 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2089 * stdlib/Makefile (link-libm): Remove variable.
2090 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2091 ($(objpfx)tst-strtod-round): Likewise.
2092 ($(objpfx)tst-tininess): Likewise.
2093 ($(objpfx)tst-strtod-underflow): Likewise.
2094 ($(objpfx)tst-strtod6): Likewise.
2095 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2096 $(libdl), not $(common-objpfx)nptl/libpthread.so and
2097 $(common-objpfx)dlfcn/libdl.so.
2099 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2101 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2102 BSD terminal modes definitions.
2104 2014-05-16 Roland McGrath <roland@hack.frob.com>
2106 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2107 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2109 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2110 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2111 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2112 Don't do #include_next.
2113 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2114 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2115 Don't do #include_next.
2116 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2117 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2118 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2119 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2121 2014-05-16 Allan McRae <allan@archlinux.org>
2123 * po/sv.po: Update Swedish translation from translation project.
2125 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2128 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
2131 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2132 errno if the TIOCGPTN ioctl fails with an error different than
2134 * login/tst-ptsname.c: New file.
2135 * login/Makefile (tests): Add tst-ptsname.
2138 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2141 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2145 herrno to return EAI_AGAIN.
2147 2014-05-14 Roland McGrath <roland@hack.frob.com>
2149 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2150 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2151 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2152 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2153 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2154 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2155 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2156 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2157 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2158 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2159 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2160 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2161 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2162 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2163 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2164 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2165 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2166 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2167 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2168 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2169 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2170 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2171 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2172 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2173 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2174 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2175 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2176 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2177 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2178 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2180 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2182 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2185 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2187 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2189 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2191 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2193 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2195 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2197 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2199 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2201 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2203 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2205 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2207 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2209 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2211 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2214 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2216 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2218 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2220 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2222 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2224 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2226 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2228 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2230 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2232 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2235 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2237 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2239 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2240 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2241 (libpthread-sysdep_routines): Add elision-related stuff here instead.
2242 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2243 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2244 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2245 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2246 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2247 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2248 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2249 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2250 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2251 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2252 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2253 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2254 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2255 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2256 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2257 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2258 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2259 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2260 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2261 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2262 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2263 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2264 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2265 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2266 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2267 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2268 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2269 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2271 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2272 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2274 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2275 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2276 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2277 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2278 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2279 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2281 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2282 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2284 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2285 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2287 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2288 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2290 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2291 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2292 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2293 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2295 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2296 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2297 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2298 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2299 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2300 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2301 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2302 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2304 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2305 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2307 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2309 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2310 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2311 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2312 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2313 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2315 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2317 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2319 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2320 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2321 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2322 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2323 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2324 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2326 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2327 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2329 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2330 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2332 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2333 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2335 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2336 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2337 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2338 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2340 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2341 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2342 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2343 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2344 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2345 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2346 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2347 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2349 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2350 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2352 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2354 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2355 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2356 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2357 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2358 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2360 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2362 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2364 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2365 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2366 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2367 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2368 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2369 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2370 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2371 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2372 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2373 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2375 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2376 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2378 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2379 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2381 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2382 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2384 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2385 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2386 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2387 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2388 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2389 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2391 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2392 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2393 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2394 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2395 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2396 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2397 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2398 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2400 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2401 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2403 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2405 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2406 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2407 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2408 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2409 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2411 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2413 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2415 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2416 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2417 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2418 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2419 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2420 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2421 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2422 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2423 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2424 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2425 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2427 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2428 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2430 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2431 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2433 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2434 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2435 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2436 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2437 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2438 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2439 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2440 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2441 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2442 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2443 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2444 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2445 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2446 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2447 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2448 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2449 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2450 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2452 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2453 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2454 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2455 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2457 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2458 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2459 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2460 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2461 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2462 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2463 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2464 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2466 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2467 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2469 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2470 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2471 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2472 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2473 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2474 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2475 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2476 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2477 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2478 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2479 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2480 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2481 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2482 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2483 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2484 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2485 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2487 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2488 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2489 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2490 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2491 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2493 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2494 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2495 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2496 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2497 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2498 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2499 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2500 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2501 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2502 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2504 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2507 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2508 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2509 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2510 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2511 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2512 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2513 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2514 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2515 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2516 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2517 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2518 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2519 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2520 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2521 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2523 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2525 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2527 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2529 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2531 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2541 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2543 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2546 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2547 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2548 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2549 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2550 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2551 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2552 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2553 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2554 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2555 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2557 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2558 that was previously under [RESET_PID].
2559 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2560 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2561 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2563 * sysdeps/i386/nptl/Implies: New file.
2564 * sysdeps/x86_64/nptl/Implies: New file.
2565 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2566 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2567 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2568 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2570 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2571 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2572 (__libc_vfork): New strong alias.
2573 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2574 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2576 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2577 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2578 (__libc_vfork): New strong alias.
2579 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2580 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2582 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2583 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2584 (__libc_vfork): New strong alias.
2585 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2586 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2587 * nptl/pt-vfork.c: New file.
2588 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2589 (libpthread: GLIBC_2.20): New version set (empty).
2591 2014-05-14 Will Newton <will.newton@linaro.org>
2593 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2596 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2599 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2600 arguments with exponent 65 or above.
2601 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2602 arguments 0x1p113L or above.
2603 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2604 to arguments 0x1p107L or above.
2605 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2606 positive arguments with exponent 65 or above.
2607 * math/auto-libm-test-in: Add more tests of log1p.
2608 * math/auto-libm-test-out: Regenerated.
2611 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2612 non-finite arguments is +0.
2613 * math/s_cacosf.c (__cacosf): Likewise.
2614 * math/s_cacosl.c (__cacosl): Likewise.
2615 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2616 * sysdeps/i386/fpu/libm-test-ulps: Update.
2617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2620 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2622 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2623 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2624 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2625 for explicit high bit of mantissa when testing for argument equal
2627 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2628 * sysdeps/i386/fpu/libm-test-ulps: Update.
2629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2632 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2633 (__erf): Scale by 16 instead of 8 in potentially underflowing
2634 case. Ensure exception if result actually underflows.
2635 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2636 (__erff): Scale by 16 instead of 8 in potentially underflowing
2637 case. Ensure exception if result actually underflows.
2638 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2639 (efx8): Remove variable.
2640 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2641 case. Ensure exception if result actually underflows.
2642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2643 (efx8): Remove variable.
2644 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2645 case. Ensure exception if result actually underflows.
2646 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2647 (efx8): Remove variable.
2648 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2649 case. Ensure exception if result actually underflows.
2650 * math/auto-libm-test-in: Add more tests of erf.
2651 * math/auto-libm-test-out: Regenerated.
2653 2014-05-14 Andreas Schwab <schwab@suse.de>
2655 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2656 Remove code conditionalized on USE___THREAD.
2658 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2659 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2662 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2664 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2665 Define unconditionally.
2666 (__ASSUME_O_CLOEXEC): Likewise.
2667 (__ASSUME_SOCK_CLOEXEC): Likewise.
2668 (__ASSUME_IN_NONBLOCK): Likewise.
2669 (__ASSUME_PIPE2): Likewise.
2670 (__ASSUME_EVENTFD2): Likewise.
2671 (__ASSUME_SIGNALFD4): Likewise.
2672 (__ASSUME_DUP3): Likewise.
2673 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2674 (__ASSUME_DUP3): Do not define.
2675 (__ASSUME_EVENTFD2): Likewise.
2676 (__ASSUME_IN_NONBLOCK): Likewise.
2677 (__ASSUME_O_CLOEXEC): Likewise.
2678 (__ASSUME_PIPE2): Likewise.
2679 (__ASSUME_SIGNALFD4): Likewise.
2680 (__ASSUME_SOCK_CLOEXEC): Likewise.
2681 (__ASSUME_UTIMES): Undefine.
2682 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2683 (__ASSUME_UTIMES): Do not define.
2684 (__ASSUME_O_CLOEXEC): Likewise.
2685 (__ASSUME_SOCK_CLOEXEC): Likewise.
2686 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2687 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2689 (__ASSUME_PIPE2): Likewise.
2690 (__ASSUME_EVENTFD2): Likewise.
2691 (__ASSUME_SIGNALFD4): Likewise.
2692 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2693 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2695 (__ASSUME_EVENTFD2): Likewise.
2696 (__ASSUME_SIGNALFD4): Likewise.
2697 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2698 (__ASSUME_32BITUIDS): Likewise.
2699 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2700 (__ASSUME_IPC64): Likewise.
2701 (__ASSUME_ST_INO_64_BIT): Likewise.
2702 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2703 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2704 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2705 (__ASSUME_UTIMES): Do not define.
2706 (__ASSUME_PSELECT): Likewise.
2707 (__ASSUME_PPOLL): Likewise.
2708 (__ASSUME_O_CLOEXEC): Likewise.
2709 (__ASSUME_SOCK_CLOEXEC): Likewise.
2710 (__ASSUME_IN_NONBLOCK): Likewise.
2711 (__ASSUME_PIPE2): Likewise.
2712 (__ASSUME_EVENTFD2): Likewise.
2713 (__ASSUME_SIGNALFD4): Likewise.
2714 (__ASSUME_DUP3): Likewise.
2715 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2716 (__ASSUME_UTIMES): Likewise.
2717 (__ASSUME_O_CLOEXEC): Likewise.
2718 (__ASSUME_SOCK_CLOEXEC): Likewise.
2719 (__ASSUME_IN_NONBLOCK): Likewise.
2720 (__ASSUME_PIPE2): Likewise.
2721 (__ASSUME_EVENTFD2): Likewise.
2722 (__ASSUME_SIGNALFD4): Likewise.
2723 (__ASSUME_DUP3): Likewise.
2724 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2725 (__ASSUME_UTIMES): Likewise.
2726 (__ASSUME_O_CLOEXEC): Likewise.
2727 (__ASSUME_SOCK_CLOEXEC): Likewise.
2728 (__ASSUME_IN_NONBLOCK): Likewise.
2729 (__ASSUME_PIPE2): Likewise.
2730 (__ASSUME_EVENTFD2): Likewise.
2731 (__ASSUME_SIGNALFD4): Likewise.
2732 (__ASSUME_DUP3): Likewise.
2733 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2735 (__ASSUME_UTIMES): Likewise.
2736 (__ASSUME_EVENTFD2): Likewise.
2737 (__ASSUME_SIGNALFD4): Likewise.
2738 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2739 (__ASSUME_O_CLOEXEC): Likewise.
2740 (__ASSUME_SOCK_CLOEXEC): Likewise.
2741 (__ASSUME_IN_NONBLOCK): Likewise.
2742 (__ASSUME_PIPE2): Likewise.
2743 (__ASSUME_EVENTFD2): Likewise.
2744 (__ASSUME_SIGNALFD4): Likewise.
2745 (__ASSUME_DUP3): Likewise.
2746 (__ASSUME_UTIMES): Undefine.
2748 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2749 feclearexcept. Remove symbol versioning code.
2750 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2751 symbol versioning code.
2752 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2753 symbol versioning code.
2754 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2755 feupdateenv. Remove symbol versioning code.
2756 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2757 fegetexceptflag. Remove symbol versioning code.
2758 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2759 fesetexceptflag. Remove symbol versioning code.
2760 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2761 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2762 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2763 (__posix_fadvise64_l32): Remove prototype.
2764 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2767 2014-05-13 Roland McGrath <roland@hack.frob.com>
2769 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2770 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2771 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2772 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2774 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2776 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2777 current working directory
2779 2014-05-13 Roland McGrath <roland@hack.frob.com>
2781 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2782 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2783 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2784 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2785 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2786 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2787 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2788 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2789 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2790 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2791 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2792 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2793 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2794 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2795 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2796 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2797 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2798 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2799 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2800 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2801 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2802 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2803 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2804 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2805 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2806 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2807 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2808 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2809 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2810 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2811 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2812 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2813 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2814 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2815 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2816 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2817 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2818 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2819 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2820 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2821 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2822 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2824 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2825 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2827 * sysdeps/unix/sysv/linux/arm/Makefile
2828 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2829 Add rt-aeabi_unwind_cpp_pr1.
2830 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2831 Add nptl-aeabi_unwind_cpp_pr1.
2832 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2833 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2834 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2835 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2836 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2837 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2839 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2840 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2841 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2842 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2844 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2845 Deconditionalize the code that was previously under [RESET_PID].
2846 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2848 * sysdeps/generic/exit-thread.h: New file.
2849 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2850 * include/unistd.h (__exit_thread): Remove declaration.
2851 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2852 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2853 * csu/libc-start.c: Include <exit-thread.h>.
2854 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2855 * nptl/pthread_create.c: Include <exit-thread.h>.
2856 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2857 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2858 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2859 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2860 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2861 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2862 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2863 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2864 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2865 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2866 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2867 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2868 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2869 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2870 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2871 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2872 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2874 2014-05-13 Andreas Schwab <schwab@suse.de>
2876 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2878 2014-05-12 Joseph Myers <joseph@codesourcery.com>
2880 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2881 (__ASSUME_UTIMES): Do not condition on kernel version.
2882 (__ASSUME_PSELECT): Define unconditionally.
2883 (__ASSUME_PPOLL): Likewise.
2884 (__ASSUME_ATFCTS): Likewise.
2885 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2886 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2887 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2888 (__ASSUME_UTIMENSAT): Define unconditionally.
2889 (__ASSUME_PRIVATE_FUTEX): Likewise.
2890 (__ASSUME_FALLOCATE): Likewise.
2891 (__ASSUME_O_CLOEXEC): Likewise.
2892 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2893 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2894 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2895 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2896 (__ASSUME_IN_NONBLOCK): Likewise.
2897 (__ASSUME_PIPE2): Likewise.
2898 (__ASSUME_EVENTFD2): Likewise.
2899 (__ASSUME_SIGNALFD4): Likewise.
2900 (__ASSUME_DUP3): Likewise.
2901 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2902 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2903 (__ASSUME_AT_RANDOM): Likewise.
2904 (__ASSUME_PREADV): Likewise.
2905 (__ASSUME_PWRITEV): Likewise.
2906 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2907 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2908 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2909 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2910 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2911 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2912 (__ASSUME_O_CLOEXEC): Define unconditionally.
2913 (__ASSUME_PSELECT): Do not undefine conditionally.
2914 (__ASSUME_PPOLL): Likewise.
2915 (__ASSUME_ATFCTS): Likewise.
2916 (__ASSUME_SET_ROBUST_LIST): Likewise.
2917 (__ASSUME_UTIMENSAT): Likewise.
2918 (__ASSUME_FDATASYNC): Define unconditionally.
2919 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2920 (__ASSUME_SIGFRAME_V2): Likewise.
2921 )__ASSUME_EVENTFD2): Likewise.
2922 (__ASSUME_SIGNALFD4): Likewise.
2923 (__ASSUME_PSELECT): Do not undefine conditionally.
2924 (__ASSUME_PPOLL): Likewise.
2925 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2926 (__ASSUME_PSELECT): Define unconditionally.
2927 (__ASSUME_PPOLL): Likewise.
2928 (__ASSUME_O_CLOEXEC): Likewise.
2929 (__ASSUME_SOCK_CLOEXEC): Likewise.
2930 (__ASSUME_IN_NONBLOCK): Likewise.
2931 (__ASSUME_PIPE2): Likewise.
2932 (__ASSUME_EVENTFD2): Likewise.
2933 (__ASSUME_SIGNALFD4): Likewise.
2934 (__ASSUME_DUP3): Likewise.
2935 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2936 (__ASSUME_O_CLOEXEC): Likewise.
2937 (__ASSUME_SOCK_CLOEXEC): Likewise.
2938 (__ASSUME_IN_NONBLOCK): Likewise.
2939 (__ASSUME_PIPE2): Likewise.
2940 (__ASSUME_EVENTFD2): Likewise.
2941 (__ASSUME_SIGNALFD4): Likewise.
2942 (__ASSUME_DUP3): Likewise.
2943 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2944 (__ASSUME_EVENTFD2): Likewise.
2945 (__ASSUME_SIGNALFD4): Likewise.
2946 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2948 2014-05-12 Andreas Schwab <schwab@suse.de>
2951 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2952 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2953 than maximum RPC packet size.
2954 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2955 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2956 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2957 (_nss_nis_getservbyport_r): Likewise.
2959 2014-05-12 Will Newton <will.newton@linaro.org>
2961 * malloc/Makefile (tests): Add tst-mallopt.
2962 * malloc/tst-mallopt.c: New file.
2964 2014-05-09 Roland McGrath <roland@hack.frob.com>
2966 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2967 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2969 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2971 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2972 (tst-tlsmod6.so): Likewise.
2974 2014-05-09 Roland McGrath <roland@hack.frob.com>
2976 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2978 2014-05-09 Joseph Myers <joseph@codesourcery.com>
2981 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2982 and <dl-procinfo.h>.
2983 (__fegetenv): Save SSE state in envp->__eip if supported.
2984 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2985 envp->__eip if supported.
2986 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2987 and <dl-procinfo.h>.
2988 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2989 __data_offset and __data_selector in environment to 0. Set SSE
2991 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2993 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2995 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2997 2014-05-09 Will Newton <will.newton@linaro.org>
2999 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3000 and libc_relro_required for ARM.
3001 * sysdeps/arm/preconfigure: Regenerate.
3003 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
3004 Stefan Liebler <stli@linux.vnet.ibm.com>
3006 * config.make.in (enable-lock-elision): New Makefile variable.
3007 * configure.ac: Likewise.
3008 * configure: Regenerate.
3009 * sysdeps/s390/configure.ac:
3010 Add check for gcc transactions support.
3011 * sysdeps/s390/configure: Regenerate.
3012 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3013 Build elision files if enabled.
3014 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3015 Add lock elision support for s390.
3016 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3017 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3018 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3019 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3020 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3021 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3022 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3024 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3026 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3028 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3030 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3031 (__lll_timedlock_elision, __lll_lock_elision)
3032 (__lll_unlock_elision, __lll_trylock_elision)
3033 (lll_timedlock_elision, lll_lock_elision)
3034 (lll_unlock_elision, lll_trylock_elision): Add.
3035 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3036 (pthread_mutex_t): Add lock elision support for s390.
3038 2014-05-14 Wilco <wdijkstr@arm.com>
3040 * sysdeps/arm/fclrexcpt.c: Cleanup.
3041 * sysdeps/arm/fedisblxcpt.c: Cleanup.
3042 * sysdeps/arm/feenablxcpt.c: Cleanup.
3043 * sysdeps/arm/fegetenv.c: Cleanup.
3044 * sysdeps/arm/fegetexcept.c: Cleanup.
3045 * sysdeps/arm/fegetround.c: Cleanup.
3046 * sysdeps/arm/feholdexcpt.c: Cleanup.
3047 * sysdeps/arm/fesetenv.c: Cleanup.
3048 * sysdeps/arm/fesetround.c: Cleanup.
3049 * sysdeps/arm/feupdateenv.c: Cleanup.
3050 * sysdeps/arm/fgetexcptflg.c: Cleanup.
3051 * sysdeps/arm/fraiseexcpt.c: Cleanup.
3052 * sysdeps/arm/fsetexcptflg.c: Cleanup.
3053 * sysdeps/arm/ftestexcept.c: Cleanup.
3054 * sysdeps/arm/get-rounding-mode.h: Cleanup.
3055 * sysdeps/arm/setfpucw.c: Cleanup.
3057 2014-05-09 Will Newton <will.newton@linaro.org>
3059 * sysdeps/arm/armv7/strcmp.S: New file.
3060 * NEWS: Mention addition of ARMv7 optimized strcmp.
3062 2014-05-08 Roland McGrath <roland@hack.frob.com>
3064 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3065 look for %.ac rather than %.in.
3067 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3068 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3069 * sysdeps/mach/hurd/configure: Regenerated.
3070 * sysdeps/unix/sysv/linux/configure: Regenerated.
3072 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3074 2014-05-07 Steve Ellcey <sellcey@mips.com>
3077 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3081 2014-05-07 Andreas Schwab <schwab@suse.de>
3083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3084 when skipping over non-matching result from nscd.
3086 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
3089 * nptl/sockperf.c (client): Check socket return value.
3092 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3093 nscd security class.
3095 2014-05-06 Roland McGrath <roland@hack.frob.com>
3097 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3098 * sysdeps/arm/unwind.h: ... here.
3100 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
3103 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3106 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3108 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3109 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3110 multiarch strncpy for PPC64.
3111 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3112 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3114 multiarch optimizations.
3115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3116 (__libc_ifunc_impl_list): Likewise.
3117 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3118 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3119 multiarch stpncpy for PPC64.
3120 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3121 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3123 2014-05-06 Andreas Schwab <schwab@suse.de>
3126 * gmon/mcount.c (_MCOUNT_DECL): Use
3127 atomic_compare_and_exchange_bool_acq instead of
3128 catomic_compare_and_exchange_bool_acq.
3130 2014-05-05 Roland McGrath <roland@hack.frob.com>
3132 * elf/Makefile (others, install-bin): Remove pldd.
3133 (pldd-modules): Variable removed.
3134 ($(objpfx)pldd): Target removed.
3135 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3136 (others, install-bin): Append pldd here.
3137 ($(objpfx)pldd): New target.
3139 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3140 to 0, so the first #if test emitted later doesn't see it undefined.
3141 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3142 * sysdeps/gnu/errlist.c: Regenerated.
3144 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3146 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3147 [libc_hidden_builtin_def]: Define to empty value.
3148 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3149 [libc_hidden_builtin_def]: Likewise.
3150 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3151 [libc_hidden_builtin_def]: Likewise.
3152 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3153 [libc_hidden_builtin_def]: Likewise.
3154 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3155 __redirect_memcpy and define ifunc as default hidden symbol.
3156 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3157 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3159 2014-05-04 Adam Conrad <adconrad@0c3.net>
3161 * locale/iso-4217.def: Reintroduce XDR currency.
3163 2014-05-04 Allan McRae <allan@archlinux.org>
3165 * po/eo.po: Update Esperanto translation from translation project.
3167 2014-05-02 Carlos O'Donell <carlos@redhat.com>
3169 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3170 and FEATURE_INDEX_MAX to 1.
3171 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3173 2014-05-01 Steve Ellcey <sellcey@mips.com>
3175 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3176 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3177 * iconvdata/big5.c (ONE_DIRECTION): Define.
3178 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3179 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3180 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3181 * iconvdata/cp932.c (ONE_DIRECTION): Define.
3182 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3183 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3184 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3185 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3186 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3187 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3188 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3189 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3190 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3191 * iconvdata/gbk.c (ONE_DIRECTION): Define.
3192 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3193 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3194 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3195 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3196 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3197 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3198 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3199 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3200 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3201 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3202 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3203 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3204 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3205 * iconvdata/iso646.c (ONE_DIRECTION): Define.
3206 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3207 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3208 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3209 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3210 * iconvdata/johab.c (ONE_DIRECTION): Define.
3211 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3212 * iconvdata/sjis.c (ONE_DIRECTION): Define.
3213 * iconvdata/t.61.c (ONE_DIRECTION): Define.
3214 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3215 * iconvdata/tscii.c (ONE_DIRECTION): Define.
3216 * iconvdata/uhc.c (ONE_DIRECTION): Define.
3217 * iconvdata/unicode.c (ONE_DIRECTION): Define.
3218 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3219 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3220 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3222 2014-05-01 Roland McGrath <roland@hack.frob.com>
3224 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3225 (_IO_JUMPS_OFFSET): Define to 0.
3227 * nptl/sysdeps/pthread/bits/libc-lock.h
3228 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3229 (__libc_lock_define_initialized_recursive): Always define using
3230 initializer. Modern compilers treat uninitialized (implicit zero) and
3231 explicit zero initializers the same (i.e. put the datum in bss).
3233 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3235 * nscd/nscd-client.h: Include <string.h>.
3237 2014-05-01 David S. Miller <davem@davemloft.net>
3240 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3241 multiple zero bytes exist at the end of a string.
3242 Reported by Aurelien Jarno <aurelien@aurel32.net>
3244 * string/test-strcmp.c (check): Add explicit test for situations where
3245 there are multiple zero bytes after the first.
3247 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
3250 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3251 when compiling wprintf.
3252 * stdio-common/tstdiomisc.c (t3): New function.
3255 2014-05-01 Steve Ellcey <sellcey@mips.com>
3257 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3258 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3259 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3260 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3262 2014-05-01 Steve Ellcey <sellcey@mips.com>
3264 * stdlib/longlong.h: Updated from GCC.
3266 2014-05-01 Will Newton <will.newton@linaro.org>
3267 Bernard Ogden <bernie.ogden@linaro.org>
3269 * NEWS: Update fixed bug list.
3272 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3274 2014-04-30 David S. Miller <davem@davemloft.net>
3276 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3277 (libc_feholdexcept_setround_sparc_ctx): New function.
3278 (libc_fesetenv_sparc_ctx): Likewise.
3279 (libc_feupdateenv_sparc_ctx): Likewise.
3280 (libc_feholdsetround_sparc_ctx): Likewise.
3281 (libc_feholdexcept_setround_ctx): Define.
3282 (libc_feholdexcept_setroundf_ctx): Likewise.
3283 (libc_feholdexcept_setroundl_ctx): Likewise.
3284 (libc_fesetenv_ctx): Likewise.
3285 (libc_fesetenvf_ctx): Likewise.
3286 (libc_fesetenvl_ctx): Likewise.
3287 (libc_feupdateenv_ctx): Likewise.
3288 (libc_feupdateenvf_ctx): Likewise.
3289 (libc_feupdateenvl_ctx): Likewise.
3290 (libc_feresetround_ctx): Likewise.
3291 (libc_feresetroundf_ctx): Likewise.
3292 (libc_feresetroundl_ctx): Likewise.
3293 (libc_feholdsetround_ctx): Likewise.
3294 (libc_feholdsetroundf_ctx): Likewise.
3295 (libc_feholdsetroundl_ctx): Likewise.
3297 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3298 with __USE_GNU instead of XOPEN cpp guards.
3300 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3303 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3304 with XOPEN cpp guards.
3306 2014-04-30 Julian Brown <julian@codesourcery.com>
3309 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3312 2014-04-30 Joseph Myers <joseph@codesourcery.com>
3315 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3317 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3318 * sysdeps/unix/sysv/linux/configure: Regenerated.
3319 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3320 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3321 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3322 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3323 * README: Update reference to required Linux kernel version.
3324 * manual/install.texi (Linux): Update reference to required Linux
3325 kernel headers version.
3326 * INSTALL: Regenerated.
3328 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3330 [POSIX] (limits.h): Likewise.
3331 [POSIX] (math.h): Likewise.
3332 [POSIX] (sys/wait.h): Likewise.
3333 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3335 [POSIX] (stddef.h): Do not allow header inclusion.
3337 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3339 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3341 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
3343 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3344 Return immediately after lll_futex_wake.
3346 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3349 * nscd/nscd-client.h (datahead_init_common): Initialize entire
3351 (datahead_init_pos): Call datahead_init_common early.
3352 (datahead_init_neg): Likewise.
3354 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3355 datahead_init_neg): New functions.
3356 * nscd/aicache.c (addhstaiX): Use them.
3357 * nscd/grpcache.c (cache_addgr): Likewise.
3358 * nscd/hstcache.c (cache_addhst): Likewise.
3359 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3360 * nscd/netgroupcache.c (do_notfound): Likewise.
3361 (addgetnetgrentX): Likewise.
3362 (addinnetgrX): Likewise.
3363 * nscd/pwdcache.c (cache_addpw): Likewise.
3364 * nscd/servicescache.c (cache_addserv): Likewise.
3366 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3367 Atsushi Onoe <atsushi@onoe.org>
3372 * resolv/res_query.c (__libc_res_nsearch): Return if at least
3373 one response is valid.
3374 * resolv/res_send.c (send_dg): Check for validity of other
3375 response if the current response is a referral.
3377 2014-04-29 Steve Ellcey <sellcey@mips.com>
3379 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3381 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
3384 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3385 Always divide by positive zero when computing -Inf result.
3386 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3387 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3389 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3391 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3392 FPSCR if value do not change.
3393 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3394 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3395 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3396 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3397 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3398 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3401 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
3403 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3404 * sysdeps/unix/sysv/linux/hppa: Move directory from
3405 ports/systeps/unix/sysv/linux/hppa.
3406 * README: Update listing for hppa-*-linux-gnu.
3408 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
3411 * manual/stdio.texi (Hook functions): Fix types of stream hook
3414 * socket/sys/socket.h: Fix typo in comment.
3416 2014-04-28 Wilco <wdijkstr@arm.com>
3418 * sysdeps/arm/fenv_private.h: New file.
3419 * sysdeps/arm/math_private.h: New file.
3420 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3422 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
3424 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3426 (La_x86_64_retval): Likewise.
3428 2014-04-24 Ian Bolton <ian.bolton@arm.com>
3430 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3431 fpsr if value didn't change.
3432 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3433 to fpcr if value didn't change.
3434 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3435 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3436 fpsr or fpcr if value didn't change.
3437 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3438 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3439 fpcr if value didn't change.
3440 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3441 to fpsr if value didn't change.
3443 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3445 * nptl/tst-sem3.c: Use test-skeleton.c
3446 (main): Rename to do_test. Use return instead of
3448 * nptl/tst-sem4.c: Use test-skeleton.c
3449 (main): Rename to do_test.
3451 2014-04-22 David S. Miller <davem@davemloft.net>
3453 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3454 (struct sigaction): New struct member __glibc_reserved0, change
3455 type of sa_flags to int.
3457 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
3459 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3460 (COUNT_LEADING_ZEROS_0): Define for AArch64.
3462 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3464 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3465 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3467 2014-04-22 Will Newton <will.newton@linaro.org>
3468 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
3470 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3471 (__longjmp): Add longjmp and longjmp_target SystemTap
3473 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3474 (__sigsetjmp): Add setjmp SystemTap probe.
3476 2014-04-17 Carlos O'Donell <carlos@redhat.com>
3478 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3481 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3483 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3485 * sysdeps/powerpc/fpu/fenv_private.h
3486 (libc_feholdexcept_setroundl_ctx): Define to
3487 libc_feholdexcept_setround_ppc_ctx.
3488 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3489 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3490 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3491 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3493 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3495 * sysdeps/aarch64/math-tests.h: New file.
3497 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
3499 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3502 Check and set bit_AVX2_Usable.
3503 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3505 (bit_AVX2): Likewise.
3506 (index_AVX2_Usable): Likewise.
3507 (CPUID_AVX2): Likewise.
3508 (HAS_AVX2): Likewise.
3510 2014-04-17 Will Newton <will.newton@linaro.org>
3512 * manual/setjmp.texi (System V contexts): Add note that
3513 calling setcontext on a context created by a call to a
3514 signal handler is undefined. Update text to note that
3515 setcontext from a signal handler is possible but not
3519 * stdlib/tst-setcontext.c: Include signal.h.
3520 (main): Check that the signal stack before and
3521 after swapcontext is the same.
3523 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3524 Re-implement to restore registers in user code and avoid
3525 rt_sigreturn system call.
3527 2014-04-17 Wilco <wdijkstr@arm.com>
3529 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3530 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3531 * math/test-fenv.c: Skip exception trap tests on targets which only
3532 support non-stop mode.
3534 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3535 Wilco Dijkstra <wilco.dijkstra@arm.com>
3537 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3538 (libc_feholdsetround_aarch64_ctx)
3539 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3540 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3541 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3542 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3543 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3544 (libc_feresetround_noexl_ctx): Define.
3546 2014-04-16 Richard Henderson <rth@redhat.com>
3548 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3550 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3553 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3554 const from the non-libc, non-ldso copy.
3556 * sysdeps/alpha/libm-test-ulps: Regenerate.
3558 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3559 Wilco Dijkstra <wilco.dijkstra@arm.com>
3561 * sysdeps/aarch64/fpu/math_private.h: New file.
3563 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3565 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3567 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3569 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3570 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3572 Intel MPX bound registers before _dl_profile_fixup.
3573 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3574 registers after _dl_profile_fixup. Save and restore bound
3575 registers bnd0/bnd1 when calling _dl_call_pltexit.
3576 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3577 (LR_BND_OFFSET): Likewise.
3578 (LRV_BND0_OFFSET): Likewise.
3579 (LRV_BND1_OFFSET): Likewise.
3581 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3583 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3585 * sysdeps/mach/hurd/i386/tls.h: ... here.
3586 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3587 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3590 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3592 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3594 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3596 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3598 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3601 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3602 * sysdeps/s390/configure: Regenerate.
3605 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3606 Set round-to-nearest internally to reduce error accumulation.
3608 2014-04-16 Alan Modra <amodra@gmail.com>
3612 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3613 * math/libm-test.inc (frexp_test_data): Add tests.
3614 * NEWS: Update fixed bug list.
3616 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3618 * benchtests/Makefile: Depend on libraries in build directory.
3619 (bench-math): Separate out math tests.
3620 (bench-pthread): Separate out pthread tests.
3621 (bench): Include math and pthread tests.
3623 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3626 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3627 _dl_debug_initialize.
3629 * configure.ac: Remove SELinux header check.
3630 * configure: Regenerate.
3631 * nscd/selinux.c (perms): Array of const char* to permission names.
3632 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3633 default policy. Call string_to_security_class and string_to_av_perm to
3634 translate strings. Enforce default policy and call avs_has_perm with
3635 results of translated strings.
3637 2014-04-13 David S. Miller <davem@davemloft.net>
3639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3641 2014-04-12 Allan McRae <allan@archlinux.org>
3644 * manual/string.texi (Collation Functions): Fix qsort argument
3646 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3648 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3650 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3651 Make the test a no-op if there are no exceptions defined.
3653 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3655 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3656 enable-hardcoded-path-in-tests
3658 2014-04-11 Will Newton <will.newton@linaro.org>
3660 * benchtests/Makefile (extra-objs): Add json-lib.o.
3661 (bench-func): Tidy up JSON output.
3662 * benchtests/bench-skeleton.c: Include json-lib.h.
3663 (main): Use JSON library functions to do output of
3665 * benchtests/bench-timing-type.c (main): Output the
3666 timing type simply, leaving formatting to the user.
3667 * benchtests/json-lib.c: New file.
3668 * benchtests/json-lib.h: Likewise.
3670 2014-04-11 Torvald Riegel <triegel@redhat.com>
3673 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3674 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3675 memory barriers. Add comments.
3676 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3677 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3678 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3679 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3680 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3681 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3683 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3685 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3686 * sysdeps/s390/s390-64/configure.ac: ... this ...
3687 * sysdeps/s390/configure.ac: ... to here.
3688 * sysdeps/s390/s390-32/configure: Delete file.
3689 * sysdeps/s390/s390-64/configure: Delete file.
3690 * sysdeps/s390/configure: Regenerate.
3692 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3694 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3696 2014-04-11 Will Newton <will.newton@linaro.org>
3698 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3699 to zero if it is not defined elsewhere. (mtrim): Test
3700 the value of MALLOC_DEBUG with #if rather than #ifdef.
3702 2014-04-10 Torvald Riegel <triegel@redhat.com>
3704 * benchtests/pthread_once-inputs: New file.
3705 * benchtests/pthread_once-source.c: New file.
3706 * benchtests/README: Update documentation.
3708 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3709 H.J. Lu <hongjiu.lu@intel.com>
3711 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3712 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3713 * sysdeps/x86_64/configure: Regenerated.
3714 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3716 (REGISTER_SAVE_RAX): Likewise.
3717 (REGISTER_SAVE_RCX): Likewise.
3718 (REGISTER_SAVE_RDX): Likewise.
3719 (REGISTER_SAVE_RSI): Likewise.
3720 (REGISTER_SAVE_RDI): Likewise.
3721 (REGISTER_SAVE_R8): Likewise.
3722 (REGISTER_SAVE_R9): Likewise.
3723 (REGISTER_SAVE_BND0): Likewise.
3724 (REGISTER_SAVE_BND1): Likewise.
3725 (REGISTER_SAVE_BND2): Likewise.
3726 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3727 bound registers when calling _dl_fixup.
3729 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3731 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3732 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3734 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3735 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3736 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3737 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3738 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3739 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3740 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3742 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3745 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3746 pathconf(_PC_NAME_MAX).
3748 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3750 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3752 (__PTHREAD_SPINS): Move definition to ...
3753 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3754 (__PTHREAD_SPINS): ... here.
3755 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3756 (__PTHREAD_SPIN): Likewise.
3757 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3758 (__PTHREAD_SPIN): Likewise.
3759 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3760 (__PTHREAD_SPIN): Likewise.
3761 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3762 (__PTHREAD_SPIN): Likewise.
3763 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3764 (__PTHREAD_SPIN): Likewise.
3765 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3766 (__PTHREAD_SPIN): Likewise.
3767 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3768 (__PTHREAD_SPIN): Likewise.
3769 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3770 (__PTHREAD_SPIN): Likewise.
3771 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3772 (__PTHREAD_SPIN): Likewise.
3773 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3774 (__PTHREAD_SPIN): Likewise.
3775 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3776 (__PTHREAD_SPIN): Likewise.
3777 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3778 (__PTHREAD_SPIN): Likewise.
3780 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3781 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3782 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3783 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3785 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3786 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3787 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3788 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3790 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3791 strlen symbol for non multi-arch builds.
3792 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3793 missing hidden_def and weak_alias.
3795 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3797 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3799 2014-04-07 Will Newton <will.newton@linaro.org>
3801 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3802 and contents. [!_LIBC] Remove #ifndef and contents.
3803 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3804 * string/memccpy.c (__memccpy): Use ANSI prototype.
3805 * string/memfrob.c (memfrob): Likewise.
3806 * string/strcoll.c (STRCOLL): Likewise.
3807 * string/strlen.c (strlen): Likewise.
3808 * string/strtok.c (STRTOK): Likewise.
3809 * string/strcat.c: Remove unused #include of memcopy.h.
3810 (strcat): Use ANSI prototype.
3811 * string/strchr.c: Remove unused #include of memcopy.h.
3812 (strchr): Use ANSI prototype.
3813 * string/strcmp.c: Remove unused #include of memcopy.h.
3814 (strcmp): Use ANSI prototype.
3815 * string/strcpy.c: Remove unused #include of memcopy.h.
3816 (strcpy): Use ANSI prototype.
3818 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3820 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3821 * config.make.in (config-extra-cppflags): Set it from
3822 libc_extra_cppflags.
3823 * configure.ac (libc_extra_cflags): Make it accumulate over
3824 configure fragments.
3825 (libc_extra_cppflags): New flag.
3826 * configure. Regenerate.
3827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3828 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3829 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3833 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3834 result for FE_DOWNWARD rounding mode.
3835 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3839 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3841 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3842 in function argument name.
3844 2014-04-03 David Svoboda <svoboda@cert.org>
3847 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3850 2014-04-03 Roland McGrath <roland@hack.frob.com>
3852 * elf/dl-unmap-segments.h: New file.
3853 * sysdeps/generic/ldsodefs.h
3854 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3855 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3856 * elf/dl-fptr.c: Likewise.
3857 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3858 * sysdeps/aarch64/tlsdesc.c: Likewise.
3859 * sysdeps/arm/tlsdesc.c: Likewise.
3860 * sysdeps/i386/tlsdesc.c: Likewise.
3861 * sysdeps/tile/dl-runtime.c: Likewise.
3862 * sysdeps/x86_64/tlsdesc.c: Likewise.
3863 * elf/dl-load.h: New file.
3864 * elf/dl-load.c: Include it.
3865 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3866 Macros moved to dl-load.h.
3867 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3868 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3869 Use _dl_unmap_segments in place of __munmap.
3870 Break out segment-mapping loop into ...
3871 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3873 2014-04-03 Will Newton <will.newton@linaro.org>
3875 * elf/dl-lookup.c (do_lookup_x): Remove comment
3876 referring to nested function and move variable
3877 declarations down to before first use.
3879 2014-04-02 Joseph Myers <joseph@codesourcery.com>
3883 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3885 * math/s_catanf.c (__catanf): Likewise.
3886 * math/s_catanh.c (__catanh): Likewise.
3887 * math/s_catanhf.c (__catanhf): Likewise.
3888 * math/s_catanhl.c (__catanhl): Likewise.
3889 * math/s_catanl.c (__catanl): Likewise.
3890 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3891 by positive zero when computing -Inf result.
3892 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3893 (catanh_test): Likewise.
3894 * sysdeps/i386/fpu/libm-test-ulps: Update.
3895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3898 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3899 instead of using underflowing value in computing result.
3900 * math/s_clog10.c (__clog10): Likewise.
3901 * math/s_clog10f.c (__clog10f): Likewise.
3902 * math/s_clog10l.c (__clog10l): Likewise.
3903 * math/s_clogf.c (__clogf): Likewise.
3904 * math/s_clogl.c (__clogl): Likewise.
3905 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3906 (clog10_test): Likewise.
3907 * sysdeps/i386/fpu/libm-test-ulps: Update.
3908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3910 2014-04-02 Alan Modra <amodra@gmail.com>
3913 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3914 output when value is near a power of two. Use int64_t for lx and
3915 remove casts. Use decimal rather than hex exponent constants.
3916 Don't use long double multiplication when double will suffice.
3917 * math/libm-test.inc (nextafter_test_data): Add tests.
3918 * NEWS: Add 16739 and 16786 to bug list.
3920 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3922 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3924 2014-04-01 Will Newton <will.newton@linaro.org>
3926 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3927 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3929 2014-04-01 Florian Weimer <fweimer@redhat.com>
3932 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3933 * nptl/tst-setuid2.c: New file.
3934 * nptl/Makefile (xtests): Add tst-setuid2.
3936 2014-04-01 Alan Modra <amodra@gmail.com>
3939 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3941 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3945 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3946 set errno as appropriate.
3947 * math/w_scalbf.c (__scalbf): Likewise.
3948 * math/w_scalbl.c (__scalbl): Likewise.
3949 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3950 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3951 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3955 * math/w_atan2.c: Include <errno.h>.
3956 (__atan2): Set errno for result underflowing to zero.
3957 * math/w_atan2f.c: Include <errno.h>.
3958 (__atan2f): Set errno for result underflowing to zero.
3959 * math/w_atan2l.c: Include <errno.h>.
3960 (__atan2l): Set errno for result underflowing to zero.
3961 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3963 * math/auto-libm-test-out: Regenerated.
3965 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3967 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3968 Encode instruction correctly in little endian.
3969 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3971 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3973 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3975 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3978 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3981 * sysdeps/unix/sysv/linux/kernel-features.h
3982 [__sparc__ && !__arch64__ && !__sparc_v9__]
3983 (__ASSUME_SET_ROBUST_LIST): Do not define.
3984 [__sparc__ && !__arch64__ && !__sparc_v9__]
3985 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3986 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3988 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3989 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3990 (__ASSUME_REQUEUE_PI): Likewise.
3991 (__ASSUME_SET_ROBUST_LIST): Likewise.
3992 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3993 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3995 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3996 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3998 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4000 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4002 * sysdeps/unix/sysv/linux/mips/kernel-features.h
4003 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4005 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4006 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4010 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4011 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4012 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4014 2014-03-31 Will Newton <will.newton@linaro.org>
4016 * benchtests/Makefile (bench): Add ffs and ffsll to list
4018 * benchtests/ffs-inputs: New file.
4019 * benchtests/ffsll-inputs: Likewise.
4021 2014-03-29 Joseph Myers <joseph@codesourcery.com>
4024 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4025 too large before casting to int.
4026 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4027 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4028 * math/libm-test.inc (scalb_test_data): Add more tests.
4030 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4032 * benchtests/Makefile (DETAILED_OPT): New make option.
4033 (bench-func): Run benchmark program with -d if DETAILED_OPT is
4035 * benchtests/bench-skeleton.c: Include stdbool.h.
4036 (main): Store and print timings per input.
4037 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4038 member to each argument value.
4039 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4040 (_print_arg_data): Initialize per-input timing to 0.
4042 * benchtests/Makefile (timing-type): New binary.
4043 (bench-clean): Also remove bench-timing-type.
4044 (bench): New target for timing-type.
4045 (bench-func): Print output in JSON format.
4046 * benchtests/bench-skeleton.c (main): Print output in JSON
4048 * benchtests/bench-timing-type.c: New file.
4049 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4050 (TIMING_PRINT_STATS): Remove.
4051 * benchtests/scripts/bench.py (_print_arg_data): Store variant
4054 * benchtests/bench-modf.c: Remove.
4055 * benchtests/modf-inputs: New inputs file.
4057 2014-03-28 Joseph Myers <joseph@codesourcery.com>
4060 * math/s_clog10.c (M_PI_LOG10E): New macro.
4061 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4062 imaginary parts are 0.
4063 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4064 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4065 imaginary parts are 0.
4066 * math/s_clog10l.c (M_PI_LOG10El): New macro.
4067 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4068 imaginary parts are 0.
4069 * math/libm-test.inc (clog10_test_data): Update expected results
4070 for when real and imaginary parts are 0.
4072 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
4074 * elf/dl-load.c: Finish conversion of __builtin_expect into
4077 2014-03-27 Joseph Myers <joseph@codesourcery.com>
4080 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4081 1+x for argument with exponent below -67.
4082 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4084 * math/auto-libm-test-in: Add more tests of exp.
4085 * math/auto-libm-test-out: Regenerated.
4087 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4090 * inet/getnetgrent_r.c (get_nonempty_val): New function.
4091 (nscd_getnetgrent): Use it.
4094 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4097 2014-03-27 Andi Kleen <ak@linux.intel.com>
4099 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4100 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4101 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4102 (lll_robust_unlock): Remove out of line section. Use cfi
4104 (LLL_STUB_UNWIND_INFO*): Remove.
4105 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4106 (lll_robust_lock, lll_cond_lock, lll_timedlock)
4107 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4108 (lll_robust_unlock): Remove out of line section. Use cfi
4110 (LLL_STUB_UNWIND_INFO*): Remove.
4112 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4115 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4118 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
4120 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4122 2014-03-26 Joseph Myers <joseph@codesourcery.com>
4125 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4127 * math/test-fenv-preserve.c: New file.
4128 * math/Makefile (tests): Add test-fenv-preserve.
4130 2014-03-26 Will Newton <will.newton@linaro.org>
4132 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4134 2014-03-25 Roland McGrath <roland@hack.frob.com>
4136 * scripts/versionlist.awk: Partition the version sets and emit all
4137 GLIBC_* (sorted) before all others (sorted).
4139 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4141 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4142 GLIBC_2.2.5 version.
4144 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4146 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4149 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4154 2014-03-25 Andreas Schwab <schwab@suse.de>
4156 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4157 label to be used after in6ailist is initialized.
4159 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4161 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4162 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4164 2014-03-25 Joseph Myers <joseph@codesourcery.com>
4168 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4170 (fp_formats): Update initializers.
4171 (init_fp_formats): Initialize new field.
4172 (output_for_one_input_case): Allow underflow for results up to
4174 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4175 * math/auto-libm-test-in: Don't mark some underflows from asin and
4177 * math/auto-libm-test-out: Regenerated.
4178 * sysdeps/i386/fpu/libm-test-ulps: Update.
4179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4181 2014-03-25 Andreas Schwab <schwab@suse.de>
4183 * libio/Makefile (tst-ftell-partial-wide-ENV)
4184 (tst-ftell-active-handler-ENV): Define.
4186 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
4188 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4190 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4192 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4194 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4196 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4197 * sysdeps/x86_64/fpu/multiarch/e_exp.c
4198 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4200 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
4203 * elf/dl-load.c (open_verify): Add mode parameter.
4204 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4205 (open_path): Change from boolean 'secure' to complete flag 'mode'
4206 (_dl_map_object): Adjust.
4207 * elf/Makefile (tests): Add tst-dlopen-aout.
4208 * elf/tst-dlopen-aout.c: New test.
4210 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
4213 * sysdeps/unix/sysv/linux/s390/bits/stat.h
4214 (struct stat): Rename member pad0 to __glibc_reserved0.
4217 * sysdeps/s390/s390-32/bits/wordsize.h
4218 (__WORDSIZE32_SIZE_ULONG): New define.
4219 * sysdeps/s390/s390-64/bits/wordsize.h
4220 (__WORDSIZE32_SIZE_ULONG): Likewise.
4221 * sysdeps/generic/stdint.h (SIZE_MAX):
4222 Define as UL if __WORDSIZE32_SIZE_ULONG.
4225 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4226 (__glibc_reserved0): New variable.
4227 (sa_flags): Change type to int.
4229 * posix/Makefile (before-compile): Use += before-compile instead
4232 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4233 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4235 2014-03-20 Andreas Schwab <schwab@suse.de>
4238 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4239 non-matching result from nscd.
4241 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4243 * scripts/bench.py: Moved to ...
4244 * benchtests/scripts/bench.py: ... here.
4245 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4247 2014-03-24 Andreas Schwab <schwab@suse.de>
4250 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4251 alloca_account and account alloca use for struct in6ailist.
4253 2014-03-24 Joseph Myers <joseph@codesourcery.com>
4256 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4257 rounding mode to recompute results that overflow to infinity or
4259 * math/auto-libm-test-in: Don't mark tests as expected to fail for
4261 * math/auto-libm-test-out: Regenerated.
4262 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4263 (ccosh_test): Likewise.
4264 (csin_test_data): Use plus_oflow.
4265 (csin_test): Use ALL_RM_TEST.
4266 (csinh_test_data): Use plus_oflow.
4267 (csinh_test): Use ALL_RM_TEST.
4268 * sysdeps/i386/fpu/libm-test-ulps: Update.
4269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4271 2014-03-21 Joseph Myers <joseph@codesourcery.com>
4273 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4274 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4275 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4278 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4280 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4281 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4282 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4283 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4285 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4286 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4288 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4289 * sysdeps/i386/fpu/libm-test-ulps: Update.
4290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4292 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4294 * scripts/bench.pl: Remove file.
4295 * scripts/bench.py: New benchmark script.
4296 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4297 * benchtests/README: Mention python dependency.
4298 * scripts/pylintrc: New file.
4299 * scripts/pylint: New file.
4301 * bits/mathdef.h: Use #ifdef instead of #if.
4302 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4303 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4304 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4305 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4306 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4307 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4309 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4310 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4312 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4313 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4314 and strpbrk-ppc64 objects.
4315 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4316 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4317 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4318 multiarch strpbrk for POWER7.
4319 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4320 multiarch strpbrk for PPC64.
4321 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4323 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4326 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4328 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4329 (atan_test): Likewise.
4330 (atanh_test_data): Use NO_TEST_INLINE for two tests.
4331 (atanh_test): Use ALL_RM_TEST.
4332 (atan2_test_data): Likewise.
4333 (cabs_test): Likewise.
4334 (cacosh_test): Likewise.
4335 (carg_test): Likewise.
4336 (casin_test): Likewise.
4337 (casinh_test): Likewise.
4338 (cbrt_test): Likewise.
4339 (csqrt_test): Likewise.
4340 (erf_test): Likewise.
4341 (erfc_test): Likewise.
4342 (pow10_test): Likewise.
4343 (exp2_test): Likewise.
4344 (hypot_test): Likewise.
4345 (j0_test): Likewise.
4346 (j1_test): Likewise.
4347 (lgamma_test): Likewise.
4348 (gamma_test): Likewise.
4349 (sincos_test): Likewise.
4350 (tanh_test): Likewise.
4351 (y0_test): Likewise.
4352 (y1_test): Likewise.
4353 * sysdeps/i386/fpu/libm-test-ulps: Update.
4354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4356 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4358 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4359 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4360 and strcspn-ppc64 objects.
4361 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4362 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4363 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4364 multiarch strcspn for POWER7.
4365 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4366 multiarch strcspn for PPC64.
4367 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4369 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4372 2014-03-20 Joseph Myers <joseph@codesourcery.com>
4374 * math/gen-libm-test.pl (generate_testfile): Expect only function
4375 name as argument to AUTO_TESTS_* and pass results for all rounding
4376 modes to parse_args.
4377 (parse_auto_input): Separate inputs of automatic tests from
4378 outputs before storing in %auto_tests.
4379 * math/libm-test.inc (acos_test_data): Update call to
4381 (acos_test): Use ALL_RM_TEST.
4382 (acos_tonearest_test_data): Remove.
4383 (acos_test_tonearest): Likewise.
4384 (acos_towardzero_test_data): Likewise.
4385 (acos_test_towardzero): Likewise.
4386 (acos_downward_test_data): Likewise.
4387 (acos_test_downward): Likewise.
4388 (acos_upward_test_data): Likewise.
4389 (acos_test_upward): Likewise.
4390 (acosh_test_data): Update call to AUTO_TESTS_f_f.
4391 (asin_test_data): Likewise.
4392 (asin_test): Use ALL_RM_TEST.
4393 (asin_tonearest_test_data): Remove.
4394 (asin_test_tonearest): Likewise.
4395 (asin_towardzero_test_data): Likewise.
4396 (asin_test_towardzero): Likewise.
4397 (asin_downward_test_data): Likewise.
4398 (asin_test_downward): Likewise.
4399 (asin_upward_test_data): Likewise.
4400 (asin_test_upward): Likewise.
4401 (asinh_test_data): Update call to AUTO_TESTS_f_f.
4402 (atan_test_data): Likewise.
4403 (atanh_test_data): Likewise.
4404 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4405 (cabs_test_data): Update call to AUTO_TESTS_c_f.
4406 (carg_test_data): Likewise.
4407 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4408 (ccos_test_data): Update call to AUTO_TESTS_c_c.
4409 (ccosh_test_data): Likewise.
4410 (cexp_test_data): Likewise.
4411 (clog_test_data): Likewise.
4412 (clog10_test_data): Likewise.
4413 (cos_test_data): Update call to AUTO_TESTS_f_f.
4414 (cos_test): Use ALL_RM_TEST.
4415 (cos_tonearest_test_data): Remove.
4416 (cos_test_tonearest): Likewise.
4417 (cos_towardzero_test_data): Likewise.
4418 (cos_test_towardzero): Likewise.
4419 (cos_downward_test_data): Likewise.
4420 (cos_test_downward): Likewise.
4421 (cos_upward_test_data): Likewise.
4422 (cos_test_upward): Likewise.
4423 (cosh_test_data): Update call to AUTO_TESTS_f_f.
4424 (cosh_test): Use ALL_RM_TEST.
4425 (cosh_tonearest_test_data): Remove.
4426 (cosh_test_tonearest): Likewise.
4427 (cosh_towardzero_test_data): Likewise.
4428 (cosh_test_towardzero): Likewise.
4429 (cosh_downward_test_data): Likewise.
4430 (cosh_test_downward): Likewise.
4431 (cosh_upward_test_data): Likewise.
4432 (cosh_test_upward): Likewise.
4433 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4434 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4435 (ctan_test_data): Likewise.
4436 (ctan_test): Use ALL_RM_TEST.
4437 (ctan_tonearest_test_data): Remove.
4438 (ctan_test_tonearest): Likewise.
4439 (ctan_towardzero_test_data): Likewise.
4440 (ctan_test_towardzero): Likewise.
4441 (ctan_downward_test_data): Likewise.
4442 (ctan_test_downward): Likewise.
4443 (ctan_upward_test_data): Likewise.
4444 (ctan_test_upward): Likewise.
4445 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4446 (ctanh_test): Use ALL_RM_TEST.
4447 (ctanh_tonearest_test_data): Remove.
4448 (ctanh_test_tonearest): Likewise.
4449 (ctanh_towardzero_test_data): Likewise.
4450 (ctanh_test_towardzero): Likewise.
4451 (ctanh_downward_test_data): Likewise.
4452 (ctanh_test_downward): Likewise.
4453 (ctanh_upward_test_data): Likewise.
4454 (ctanh_test_upward): Likewise.
4455 (erf_test_data): Update call to AUTO_TESTS_f_f.
4456 (erfc_test_data): Likewise.
4457 (exp_test_data): Likewise.
4458 (exp_test): Use ALL_RM_TEST.
4459 (exp_tonearest_test_data): Remove.
4460 (exp_test_tonearest): Likewise.
4461 (exp_towardzero_test_data): Likewise.
4462 (exp_test_towardzero): Likewise.
4463 (exp_downward_test_data): Likewise.
4464 (exp_test_downward): Likewise.
4465 (exp_upward_test_data): Likewise.
4466 (exp_test_upward): Likewise.
4467 (exp10_test_data): Update call to AUTO_TESTS_f_f.
4468 (exp10_test): Use ALL_RM_TEST.
4469 (exp10_tonearest_test_data): Remove.
4470 (exp10_test_tonearest): Likewise.
4471 (exp10_towardzero_test_data): Likewise.
4472 (exp10_test_towardzero): Likewise.
4473 (exp10_downward_test_data): Likewise.
4474 (exp10_test_downward): Likewise.
4475 (exp10_upward_test_data): Likewise.
4476 (exp10_test_upward): Likewise.
4477 (exp2_test_data): Update call to AUTO_TESTS_f_f.
4478 (expm1_test_data): Likewise.
4479 (expm1_test): Use ALL_RM_TEST.
4480 (expm1_tonearest_test_data): Remove.
4481 (expm1_test_tonearest): Likewise.
4482 (expm1_towardzero_test_data): Likewise.
4483 (expm1_test_towardzero): Likewise.
4484 (expm1_downward_test_data): Likewise.
4485 (expm1_test_downward): Likewise.
4486 (expm1_upward_test_data): Likewise.
4487 (expm1_test_upward): Likewise.
4488 (fma_test_data): Update call to AUTO_TESTS_fff_f.
4489 (fma_test): Use ALL_RM_TEST.
4490 (fma_towardzero_test_data): Remove.
4491 (fma_test_towardzero): Likewise.
4492 (fma_downward_test_data): Likewise.
4493 (fma_test_downward): Likewise.
4494 (fma_upward_test_data): Likewise.
4495 (fma_test_upward): Likewise.
4496 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4497 (j0_test_data): Update call to AUTO_TESTS_f_f.
4498 (j1_test_data): Likewise.
4499 (jn_test_data): Update call to AUTO_TESTS_if_f.
4500 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4501 (log_test_data): Update call to AUTO_TESTS_f_f.
4502 (log10_test_data): Likewise.
4503 (log1p_test_data): Likewise.
4504 (log2_test_data): Likewise.
4505 (pow_test_data): Update call to AUTO_TESTS_ff_f.
4506 (pow_tonearest_test_data): Likewise.
4507 (sin_test_data): Update call to AUTO_TESTS_f_f.
4508 (sin_test): Use ALL_RM_TEST.
4509 (sin_tonearest_test_data): Remove.
4510 (sin_test_tonearest): Likewise.
4511 (sin_towardzero_test_data): Likewise.
4512 (sin_test_towardzero): Likewise.
4513 (sin_downward_test_data): Likewise.
4514 (sin_test_downward): Likewise.
4515 (sin_upward_test_data): Likewise.
4516 (sin_test_upward): Likewise.
4517 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4518 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4519 (sinh_test): Use ALL_RM_TEST.
4520 (sinh_tonearest_test_data): Remove.
4521 (sinh_test_tonearest): Likewise.
4522 (sinh_towardzero_test_data): Likewise.
4523 (sinh_test_towardzero): Likewise.
4524 (sinh_downward_test_data): Likewise.
4525 (sinh_test_downward): Likewise.
4526 (sinh_upward_test_data): Likewise.
4527 (sinh_test_upward): Likewise.
4528 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4529 (sqrt_test): Use ALL_RM_TEST.
4530 (sqrt_tonearest_test_data): Remove.
4531 (sqrt_test_tonearest): Likewise.
4532 (sqrt_towardzero_test_data): Likewise.
4533 (sqrt_test_towardzero): Likewise.
4534 (sqrt_downward_test_data): Likewise.
4535 (sqrt_test_downward): Likewise.
4536 (sqrt_upward_test_data): Likewise.
4537 (sqrt_test_upward): Likewise.
4538 (tan_test_data): Update call to AUTO_TESTS_f_f.
4539 (tan_test): Use ALL_RM_TEST.
4540 (tan_tonearest_test_data): Remove.
4541 (tan_test_tonearest): Likewise.
4542 (tan_towardzero_test_data): Likewise.
4543 (tan_test_towardzero): Likewise.
4544 (tan_downward_test_data): Likewise.
4545 (tan_test_downward): Likewise.
4546 (tan_upward_test_data): Likewise.
4547 (tan_test_upward): Likewise.
4548 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4549 (tgamma_test_data): Likewise.
4550 (y0_test_data): Likewise.
4551 (y1_test_data): Likewise.
4552 (yn_test_data): Update call to AUTO_TESTS_if_f.
4553 (main): Do not call removed functions.
4555 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4557 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4558 (ldexp_test_data): Remove.
4559 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4561 (scalb_test): Use ALL_RM_TEST.
4563 2014-03-19 Andreas Schwab <schwab@suse.de>
4565 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4567 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4570 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4571 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4572 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4573 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4574 (__ASSUME_PREADV): Undefine.
4575 (__ASSUME_PWRITEV): Likewise.
4577 2014-03-18 Roland McGrath <roland@hack.frob.com>
4579 * bits/mman-linux.h: Add comment about non-Linux use.
4580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4581 bits/mman-linux.h resting place.
4583 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4584 * bits/mman-linux.h: ... here.
4586 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4588 * conform/conformtest.pl: Add standard definition when calling C
4589 preprocessor on data files.
4590 (checknamespace): Remove unused variable.
4592 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4594 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4595 minus_oflow, plus_uflow and minus_uflow in expected results.
4596 * math/libm-test.inc (scalbn_test_data): Add more tests of
4597 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4599 (scalbn_test): Use ALL_RM_TEST.
4600 (scalbln_test_data): Add more tests of negative arguments. Use
4601 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4602 (scalbln_test): Use ALL_RM_TEST.
4604 2014-03-18 Roland McGrath <roland@hack.frob.com>
4606 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4608 2014-03-18 Will Newton <will.newton@linaro.org>
4610 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4613 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4615 * Makerules [!subdir] (check-abi): Exit with error status if a
4618 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4620 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4621 for rint. Include results for all rounding modes.
4622 (nearbyint_test): Use ALL_RM_TEST.
4623 (rint_test_data): Include all tests used for nearbyint.
4625 2014-03-17 Will Newton <will.newton@linaro.org>
4627 * nptl/sysdeps/pthread/pthread.h: Revert previous
4630 * sysdeps/generic/ldsodefs.h: Revert previous
4633 * libio/genops.c: Revert previous change.
4634 * libio/libioP.h: Likewise.
4635 * stdio-common/vfprintf.c: Likewise.
4637 * sysdeps/generic/math_private.h: Revert previous
4640 * sysdeps/generic/math_private.h: Check whether
4641 HAVE_RM_CTX is defined with #ifdef rather
4644 * argp/argp-fmtstream.h: Check whether
4645 __STRICT_ANSI__ is defined with #ifdef rather
4647 * argp/argp.h: Likewise.
4649 * libio/genops.c: Check whether
4650 _IO_JUMPS_OFFSET is defined with #ifdef rather
4652 * libio/libioP.h: Likewise.
4653 * stdio-common/vfprintf.c: Likewise.
4655 * sysdeps/generic/ldsodefs.h: Check whether
4656 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4659 * nptl/sysdeps/pthread/pthread.h: Check
4660 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4663 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4665 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4667 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4671 * libio/fileops.c (_IO_file_open): Seek to end of file but
4672 don't cache the offset.
4673 (get_file_offset): Remove function.
4674 (do_ftell): Use cached offset when available.
4675 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4676 don't cache the offset.
4677 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4679 (do_one_test): Call it.
4680 (do_ftell_test): Fix up expected old offset for a+ mode.
4681 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4684 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4685 up test status with function return status.
4686 (do_write_test): Likewise.
4687 (do_append_test): Likewise.
4689 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4690 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4693 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4695 * math/gen-libm-test.pl (parse_args): Handle results specified for
4696 each rounding mode separately.
4697 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4698 tests and results from lrint_tonearest_test_data,
4699 lrint_towardzero_test_data, lrint_downward_test_data and
4700 lrint_upward_test_data.
4701 (lrint_test): Use ALL_RM_TEST.
4702 (lrint_tonearest_test_data): Remove.
4703 (lrint_test_tonearest): Likewise.
4704 (lrint_towardzero_test_data): Likewise.
4705 (lrint_test_towardzero): Likewise.
4706 (lrint_downward_test_data): Likewise.
4707 (lrint_test_downward): Likewise.
4708 (lrint_upward_test_data): Likewise.
4709 (lrint_test_upward): Likewise.
4710 (llrint_test_data): Merge in per-rounding-mode tests and results
4711 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4712 llrint_downward_test_data and llrint_upward_test_data.
4713 (llrint_test): Use ALL_RM_TEST.
4714 (llrint_tonearest_test_data): Remove.
4715 (llrint_test_tonearest): Likewise.
4716 (llrint_towardzero_test_data): Likewise.
4717 (llrint_test_towardzero): Likewise.
4718 (llrint_downward_test_data): Likewise.
4719 (llrint_test_downward): Likewise.
4720 (llrint_upward_test_data): Likewise.
4721 (llrint_test_upward): Likewise.
4722 (rint_test_data): Merge in per-rounding-mode tests and results
4723 from rint_tonearest_test_data, rint_towardzero_test_data,
4724 rint_downward_test_data and rint_upward_test_data. Add
4725 per-rounding-mode results for tests not in those arrays.
4726 (rint_test): Use ALL_RM_TEST.
4727 (rint_tonearest_test_data): Remove.
4728 (rint_test_tonearest): Likewise.
4729 (rint_towardzero_test_data): Likewise.
4730 (rint_test_towardzero): Likewise.
4731 (rint_downward_test_data): Likewise.
4732 (rint_test_downward): Likewise.
4733 (rint_upward_test_data): Likewise.
4734 (rint_test_upward): Likewise.
4735 (main): Don't call removed functions.
4737 2014-03-14 Roland McGrath <roland@hack.frob.com>
4739 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4740 "Compiled on ..." crapola. It is anti-useful.
4742 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4744 * scripts/evaluate-test.sh: Handle fourth argument to determine
4745 whether test run should stop on failure.
4746 * Makeconfig (stop-on-test-failure): New variable.
4747 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4748 $(stop-on-test-failure).
4749 * Makefile (tests): Give a summary of results from testing and
4750 exit with failure status if they include an ERROR or FAIL.
4752 * manual/install.texi (Configuring and compiling): Mention
4753 stop-on-test-failure=y.
4754 * INSTALL: Regenerated.
4756 2014-03-14 Roland McGrath <roland@hack.frob.com>
4758 * scripts/versionlist.awk: New file.
4759 * Makerules [$(build-shared) = yes]
4760 (postclean-generated): Add Versions.def, not Versions.def.v and
4762 ($(common-objpfx)Versions.def.v.i): Target removed.
4763 ($(common-objpfx)Versions.def): New target.
4764 ($(common-objpfx)Versions.all): Depend on that rather that
4765 $(common-objpfx)Versions.def.v.
4766 * Versions.def: File removed.
4768 * Makeconfig (+gccwarn): Add -Wundef.
4769 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4770 a dl-sysdep.h breaking its contract.
4771 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4772 * include/stackinfo.h: New file.
4773 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4774 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4775 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4776 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4777 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4778 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4779 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4780 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4781 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4782 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4783 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4784 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4785 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4786 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4787 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4789 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4792 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4794 * math/libm-test.inc (round_test_data): Add more tests.
4797 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4799 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4802 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4804 * math/libm-test.inc (ceil_test_data): Add more tests.
4806 * math/libm-test.inc (trunc_test_data): Add more tests related to
4809 2014-03-14 Roland McGrath <roland@hack.frob.com>
4811 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4812 with #if rather than #ifdef.
4813 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4815 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4817 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4818 first. Disable AVX-512 GCC support if assembler doesn't support
4820 * sysdeps/x86_64/configure: Regenerated.
4822 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4824 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4825 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4826 (__old_pthread_attr_setstack): Likewise.
4827 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4828 [!_STACK_GROWS_DOWN]: Likewise.
4830 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4832 * config.make.in (have-bash2): Delete.
4833 * configure.ac (libc_cv_have_bash2): Delete.
4834 * configure: Regenerate.
4835 * elf/Makefile (common-ldd-rewrite): Rename to ...
4836 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4837 (sh-ldd-rewrite): Delete.
4838 (bash-ldd-rewrite): Delete.
4839 (have-bash2): Delete checks.
4840 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4843 * config.make.in (have-ksh): Delete.
4845 * configure.ac (libc_cv_have_ksh): Delete.
4846 * configure: Regenerate.
4848 * elf/Makefile: Delete $(have-ksh) check.
4849 ($(objpfx)sotruss): Change KSH to BASH.
4850 * elf/sotruss.ksh: Rename to ...
4851 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4852 function style to match POSIX. Drop ksh vim mode setting.
4854 * manual/time.texi (Specifying the Time Zone with TZ): Change
4855 Tuesday to Thursday.
4857 * debug/tst-longjmp_chk2.c: Update header comment.
4858 (stackoverflow_handler): Add comment. Call assert on pass value.
4860 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4862 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4863 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4864 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4865 (La_x86_64_vector): Add zmm.
4866 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4867 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4868 ($(objpfx)tst-audit10): New target.
4869 ($(objpfx)tst-audit10.out): Likewise.
4870 (tst-audit10-ENV): New.
4871 (AVX512-CFLAGS): Likewise.
4872 (CFLAGS-tst-audit10.c): Likewise.
4873 (CFLAGS-tst-auditmod10a.c): Likewise.
4874 (CFLAGS-tst-auditmod10b.c): Likewise.
4875 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4876 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4877 * sysdeps/x86_64/configure: Regenerated.
4878 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4879 AVX-512 zmm register support.
4880 (_dl_x86_64_save_sse): Likewise.
4881 (_dl_x86_64_restore_sse): Likewise.
4882 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4883 size vector registers.
4884 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4885 (ZMM_SIZE): Likewise.
4886 * sysdeps/x86_64/tst-audit10.c: New file.
4887 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4888 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4890 2014-03-13 Roland McGrath <roland@hack.frob.com>
4892 * configure.ac (HAVE_EHDR_START): New check.
4893 * configure: Regenerated.
4894 * config.h.in (HAVE_EHDR_START): New #undef.
4895 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4896 assuming the lowest-addressed segment maps the start of the file.
4898 2014-03-13 Joseph Myers <joseph@codesourcery.com>
4900 * INSTALL: Regenerated.
4902 2014-03-13 Will Newton <will.newton@linaro.org>
4904 * manual/setjmp.texi (System V contexts): Improve
4905 clarity and grammar of documentation.
4907 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4910 * elf/Makefile (tests): Add tst-pie2.
4911 (tests-pie): Add tst-pie2.
4912 * elf/tst-pie2.c: New file.
4913 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4915 * elf/rtld.c (map_doit): Load executable as lt_executable.
4916 (dl_main): Likewise.
4918 2014-03-12 Joseph Myers <joseph@codesourcery.com>
4921 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4922 (__ASSUME_PSELECT): Undefine.
4924 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4927 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4928 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4930 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4931 selector for static builds.
4933 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4936 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4939 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4941 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4942 IFUNC selector for static builds.
4944 2014-03-11 Joseph Myers <joseph@codesourcery.com>
4946 * sysdeps/mips/math_private.h [__mips_hard_float]
4947 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4948 libc_feresetround_mips_ctx.
4949 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4950 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4951 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4954 * math/s_nextafter.c (__nextafter): Do not return value from
4955 overflowing computation.
4956 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4957 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4958 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4960 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4962 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4963 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4965 2014-03-11 Roland McGrath <roland@hack.frob.com>
4967 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4968 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4969 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4970 the new mov targetting sp.
4972 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4975 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4976 Define it for static builds as well.
4977 (NO_BZERO_IMPL): Likewise.
4979 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4981 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4982 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4983 multiarch strspn for PPC64.
4984 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4985 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4987 (__libc_ifunc_impl_list): Likewise.
4988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4989 multiarch optimizations
4990 * string/strspn.c (strspn): Using macro to redefine symbol name.
4992 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4993 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4995 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4996 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4997 multiarch strncat for PPC64.
4998 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4999 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5001 (__libc_ifunc_impl_list): Likewise.
5002 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5003 multiarch optimizations
5005 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5008 * nscd/nscd.service: Make service type forking.
5010 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5012 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5013 sign in non default rounding modes.
5014 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5016 2014-03-08 Joseph Myers <joseph@codesourcery.com>
5018 * math/libm-test.inc (ALL_RM_TEST): New macro.
5019 (ceil_test): Use ALL_RM_TEST.
5020 (cimag_test): Likewise.
5021 (conj_test): Likewise.
5022 (copysign_test): Likewise.
5023 (cproj_test): Likewise.
5024 (creal_test): Likewise.
5025 (fabs_test): Likewise.
5026 (floor_test): Likewise.
5027 (fmax_test): Likewise.
5028 (fmin_test): Likewise.
5029 (fmod_test): Likewise.
5030 (fpclassify_test): Likewise.
5031 (frexp_test): Likewise.
5032 (ilogb_test): Likewise.
5033 (isfinite_test): Likewise.
5034 (finite_test): Likewise.
5035 (isgreater_test): Likewise.
5036 (isgreaterequal_test): Likewise.
5037 (isinf_test): Likewise.
5038 (isless_test): Likewise.
5039 (islessequal_test): Likewise.
5040 (islessgreater_test): Likewise.
5041 (isnan_test): Likewise.
5042 (isnormal_test): Likewise.
5043 (issignaling_test): Likewise.
5044 (isunordered_test): Likewise.
5045 (logb_test): Likewise.
5046 (logb_downward_test_data): Remove.
5047 (logb_test_downward): Likewise.
5048 (lround_test): Use ALL_RM_TEST.
5049 (llround_test): Likewise.
5050 (modf_test): Likewise.
5051 (nexttoward_test): Likewise.
5052 (remainder_test): Likewise.
5053 (drem_test): Likewise.
5054 (remainder_tonearest_test_data): Likewise.
5055 (remainder_test_tonearest): Likewise.
5056 (drem_test_tonearest): Likewise.
5057 (remainder_towardzero_test_data): Likewise.
5058 (remainder_test_towardzero): Likewise.
5059 (drem_test_towardzero): Likewise.
5060 (remainder_downward_test_data): Likewise.
5061 (remainder_test_downward): Likewise.
5062 (drem_test_downward): Likewise.
5063 (remainder_upward_test_data): Likewise.
5064 (remainder_test_upward): Likewise.
5065 (drem_test_upward): Likewise.
5066 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
5067 (round_test): Use ALL_RM_TEST.
5068 (signbit_test): Likewise.
5069 (trunc_test): Likewise.
5070 (significand_test): Likewise.
5071 (main): Don't call removed functions.
5073 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5076 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5078 (ILL_ILLOPN): Likewise.
5079 (ILL_ILLADR): Likewise.
5080 (ILL_ILLTRP): Likewise.
5081 (ILL_PRVOPC): Likewise.
5082 (ILL_PRVREG): Likewise.
5083 (ILL_COPROC): Likewise.
5084 (ILL_BADSTK): Likewise.
5085 (FPE_INTDIV): Likewise.
5086 (FPE_INTOVF): Likewise.
5087 (FPE_FLTDIV): Likewise.
5088 (FPE_FLTOVF): Likewise.
5089 (FPE_FLTUND): Likewise.
5090 (FPE_FLTRES): Likewise.
5091 (FPE_FLTINV): Likewise.
5092 (FPE_FLTSUB): Likewise.
5093 (SEGV_MAPERR): Likewise.
5094 (SEGV_ACCERR): Likewise.
5095 (BUS_ADRALN): Likewise.
5096 (BUS_ADRERR): Likewise.
5097 (BUS_OBJERR): Likewise.
5098 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5099 (TRAP_TRACE): Likewise.
5100 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5102 (CLD_KILLED): Likewise.
5103 (CLD_DUMPED): Likewise.
5104 (CLD_TRAPPED): Likewise.
5105 (CLD_STOPPED): Likewise.
5106 (CLD_CONTINUED): Likewise.
5107 (POLL_IN): Likewise.
5108 (POLL_OUT): Likewise.
5109 (POLL_MSG): Likewise.
5110 (POLL_ERR): Likewise.
5111 (POLL_PRI): Likewise.
5112 (POLL_HUP): Likewise.
5113 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5115 (ILL_ILLOPN): Likewise.
5116 (ILL_ILLADR): Likewise.
5117 (ILL_ILLTRP): Likewise.
5118 (ILL_PRVOPC): Likewise.
5119 (ILL_PRVREG): Likewise.
5120 (ILL_COPROC): Likewise.
5121 (ILL_BADSTK): Likewise.
5122 (FPE_INTDIV): Likewise.
5123 (FPE_INTOVF): Likewise.
5124 (FPE_FLTDIV): Likewise.
5125 (FPE_FLTOVF): Likewise.
5126 (FPE_FLTUND): Likewise.
5127 (FPE_FLTRES): Likewise.
5128 (FPE_FLTINV): Likewise.
5129 (FPE_FLTSUB): Likewise.
5130 (SEGV_MAPERR): Likewise.
5131 (SEGV_ACCERR): Likewise.
5132 (BUS_ADRALN): Likewise.
5133 (BUS_ADRERR): Likewise.
5134 (BUS_OBJERR): Likewise.
5135 (BUS_MCEERR_AR): Likewise.
5136 (BUS_MCEERR_AO): Likewise.
5137 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5138 (TRAP_TRACE): Likewise.
5139 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5141 (CLD_KILLED): Likewise.
5142 (CLD_DUMPED): Likewise.
5143 (CLD_TRAPPED): Likewise.
5144 (CLD_STOPPED): Likewise.
5145 (CLD_CONTINUED): Likewise.
5146 (POLL_IN): Likewise.
5147 (POLL_OUT): Likewise.
5148 (POLL_MSG): Likewise.
5149 (POLL_ERR): Likewise.
5150 (POLL_PRI): Likewise.
5151 (POLL_HUP): Likewise.
5152 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5153 (ILL_ILLOPN): Likewise.
5154 (ILL_ILLADR): Likewise.
5155 (ILL_ILLTRP): Likewise.
5156 (ILL_PRVOPC): Likewise.
5157 (ILL_PRVREG): Likewise.
5158 (ILL_COPROC): Likewise.
5159 (ILL_BADSTK): Likewise.
5160 (FPE_INTDIV): Likewise.
5161 (FPE_INTOVF): Likewise.
5162 (FPE_FLTDIV): Likewise.
5163 (FPE_FLTOVF): Likewise.
5164 (FPE_FLTUND): Likewise.
5165 (FPE_FLTRES): Likewise.
5166 (FPE_FLTINV): Likewise.
5167 (FPE_FLTSUB): Likewise.
5168 (SEGV_MAPERR): Likewise.
5169 (SEGV_ACCERR): Likewise.
5170 (BUS_ADRALN): Likewise.
5171 (BUS_ADRERR): Likewise.
5172 (BUS_OBJERR): Likewise.
5173 (BUS_MCEERR_AR): Likewise.
5174 (BUS_MCEERR_AO): Likewise.
5175 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5176 (TRAP_TRACE): Likewise.
5177 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5179 (CLD_KILLED): Likewise.
5180 (CLD_DUMPED): Likewise.
5181 (CLD_TRAPPED): Likewise.
5182 (CLD_STOPPED): Likewise.
5183 (CLD_CONTINUED): Likewise.
5184 (POLL_IN): Likewise.
5185 (POLL_OUT): Likewise.
5186 (POLL_MSG): Likewise.
5187 (POLL_ERR): Likewise.
5188 (POLL_PRI): Likewise.
5189 (POLL_HUP): Likewise.
5190 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5192 (ILL_ILLOPN): Likewise.
5193 (ILL_ILLADR): Likewise.
5194 (ILL_ILLTRP): Likewise.
5195 (ILL_PRVOPC): Likewise.
5196 (ILL_PRVREG): Likewise.
5197 (ILL_COPROC): Likewise.
5198 (ILL_BADSTK): Likewise.
5199 (ILL_BADIADDR): Likewise.
5200 (ILL_BREAK): Likewise.
5201 (FPE_INTDIV): Likewise.
5202 (FPE_INTOVF): Likewise.
5203 (FPE_FLTDIV): Likewise.
5204 (FPE_FLTOVF): Likewise.
5205 (FPE_FLTUND): Likewise.
5206 (FPE_FLTRES): Likewise.
5207 (FPE_FLTINV): Likewise.
5208 (FPE_FLTSUB): Likewise.
5209 (FPE_DECOVF): Likewise.
5210 (FPE_DECDIV): Likewise.
5211 (FPE_DECERR): Likewise.
5212 (FPE_INVASC): Likewise.
5213 (FPE_INVDEC): Likewise.
5214 (SEGV_MAPERR): Likewise.
5215 (SEGV_ACCERR): Likewise.
5216 (SEGV_PSTKOVF): Likewise.
5217 (BUS_ADRALN): Likewise.
5218 (BUS_ADRERR): Likewise.
5219 (BUS_OBJERR): Likewise.
5220 (BUS_MCEERR_AR): Likewise.
5221 (BUS_MCEERR_AO): Likewise.
5222 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5223 (TRAP_TRACE): Likewise.
5224 (TRAP_BRANCH): Likewise.
5225 (TRAP_HWBKPT): Likewise.
5226 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5228 (CLD_KILLED): Likewise.
5229 (CLD_DUMPED): Likewise.
5230 (CLD_TRAPPED): Likewise.
5231 (CLD_STOPPED): Likewise.
5232 (CLD_CONTINUED): Likewise.
5233 (POLL_IN): Likewise.
5234 (POLL_OUT): Likewise.
5235 (POLL_MSG): Likewise.
5236 (POLL_ERR): Likewise.
5237 (POLL_PRI): Likewise.
5238 (POLL_HUP): Likewise.
5239 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5240 (ILL_ILLOPN): Likewise.
5241 (ILL_ILLADR): Likewise.
5242 (ILL_ILLTRP): Likewise.
5243 (ILL_PRVOPC): Likewise.
5244 (ILL_PRVREG): Likewise.
5245 (ILL_COPROC): Likewise.
5246 (ILL_BADSTK): Likewise.
5247 (FPE_INTDIV): Likewise.
5248 (FPE_INTOVF): Likewise.
5249 (FPE_FLTDIV): Likewise.
5250 (FPE_FLTOVF): Likewise.
5251 (FPE_FLTUND): Likewise.
5252 (FPE_FLTRES): Likewise.
5253 (FPE_FLTINV): Likewise.
5254 (FPE_FLTSUB): Likewise.
5255 (SEGV_MAPERR): Likewise.
5256 (SEGV_ACCERR): Likewise.
5257 (BUS_ADRALN): Likewise.
5258 (BUS_ADRERR): Likewise.
5259 (BUS_OBJERR): Likewise.
5260 (BUS_MCEERR_AR): Likewise.
5261 (BUS_MCEERR_AO): Likewise.
5262 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5263 (TRAP_TRACE): Likewise.
5264 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5266 (CLD_KILLED): Likewise.
5267 (CLD_DUMPED): Likewise.
5268 (CLD_TRAPPED): Likewise.
5269 (CLD_STOPPED): Likewise.
5270 (CLD_CONTINUED): Likewise.
5271 (POLL_IN): Likewise.
5272 (POLL_OUT): Likewise.
5273 (POLL_MSG): Likewise.
5274 (POLL_ERR): Likewise.
5275 (POLL_PRI): Likewise.
5276 (POLL_HUP): Likewise.
5277 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5278 (ILL_ILLOPN): Likewise.
5279 (ILL_ILLADR): Likewise.
5280 (ILL_ILLTRP): Likewise.
5281 (ILL_PRVOPC): Likewise.
5282 (ILL_PRVREG): Likewise.
5283 (ILL_COPROC): Likewise.
5284 (ILL_BADSTK): Likewise.
5285 (FPE_INTDIV): Likewise.
5286 (FPE_INTOVF): Likewise.
5287 (FPE_FLTDIV): Likewise.
5288 (FPE_FLTOVF): Likewise.
5289 (FPE_FLTUND): Likewise.
5290 (FPE_FLTRES): Likewise.
5291 (FPE_FLTINV): Likewise.
5292 (FPE_FLTSUB): Likewise.
5293 (SEGV_MAPERR): Likewise.
5294 (SEGV_ACCERR): Likewise.
5295 (BUS_ADRALN): Likewise.
5296 (BUS_ADRERR): Likewise.
5297 (BUS_OBJERR): Likewise.
5298 (BUS_MCEERR_AR): Likewise.
5299 (BUS_MCEERR_AO): Likewise.
5300 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5301 (TRAP_TRACE): Likewise.
5302 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5304 (CLD_KILLED): Likewise.
5305 (CLD_DUMPED): Likewise.
5306 (CLD_TRAPPED): Likewise.
5307 (CLD_STOPPED): Likewise.
5308 (CLD_CONTINUED): Likewise.
5309 (POLL_IN): Likewise.
5310 (POLL_OUT): Likewise.
5311 (POLL_MSG): Likewise.
5312 (POLL_ERR): Likewise.
5313 (POLL_PRI): Likewise.
5314 (POLL_HUP): Likewise.
5315 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5316 (ILL_ILLOPN): Likewise.
5317 (ILL_ILLADR): Likewise.
5318 (ILL_ILLTRP): Likewise.
5319 (ILL_PRVOPC): Likewise.
5320 (ILL_PRVREG): Likewise.
5321 (ILL_COPROC): Likewise.
5322 (ILL_BADSTK): Likewise.
5323 (FPE_INTDIV): Likewise.
5324 (FPE_INTOVF): Likewise.
5325 (FPE_FLTDIV): Likewise.
5326 (FPE_FLTOVF): Likewise.
5327 (FPE_FLTUND): Likewise.
5328 (FPE_FLTRES): Likewise.
5329 (FPE_FLTINV): Likewise.
5330 (FPE_FLTSUB): Likewise.
5331 (SEGV_MAPERR): Likewise.
5332 (SEGV_ACCERR): Likewise.
5333 (BUS_ADRALN): Likewise.
5334 (BUS_ADRERR): Likewise.
5335 (BUS_OBJERR): Likewise.
5336 (BUS_MCEERR_AR): Likewise.
5337 (BUS_MCEERR_AO): Likewise.
5338 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5339 (TRAP_TRACE): Likewise.
5340 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5342 (CLD_KILLED): Likewise.
5343 (CLD_DUMPED): Likewise.
5344 (CLD_TRAPPED): Likewise.
5345 (CLD_STOPPED): Likewise.
5346 (CLD_CONTINUED): Likewise.
5347 (POLL_IN): Likewise.
5348 (POLL_OUT): Likewise.
5349 (POLL_MSG): Likewise.
5350 (POLL_ERR): Likewise.
5351 (POLL_PRI): Likewise.
5352 (POLL_HUP): Likewise.
5353 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5354 (ILL_ILLOPN): Likewise.
5355 (ILL_ILLADR): Likewise.
5356 (ILL_ILLTRP): Likewise.
5357 (ILL_PRVOPC): Likewise.
5358 (ILL_PRVREG): Likewise.
5359 (ILL_COPROC): Likewise.
5360 (ILL_BADSTK): Likewise.
5361 (ILL_DBLFLT): Likewise.
5362 (ILL_HARDWALL): Likewise.
5363 (FPE_INTDIV): Likewise.
5364 (FPE_INTOVF): Likewise.
5365 (FPE_FLTDIV): Likewise.
5366 (FPE_FLTOVF): Likewise.
5367 (FPE_FLTUND): Likewise.
5368 (FPE_FLTRES): Likewise.
5369 (FPE_FLTINV): Likewise.
5370 (FPE_FLTSUB): Likewise.
5371 (SEGV_MAPERR): Likewise.
5372 (SEGV_ACCERR): Likewise.
5373 (BUS_ADRALN): Likewise.
5374 (BUS_ADRERR): Likewise.
5375 (BUS_OBJERR): Likewise.
5376 (BUS_MCEERR_AR): Likewise.
5377 (BUS_MCEERR_AO): Likewise.
5378 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5379 (TRAP_TRACE): Likewise.
5380 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5382 (CLD_KILLED): Likewise.
5383 (CLD_DUMPED): Likewise.
5384 (CLD_TRAPPED): Likewise.
5385 (CLD_STOPPED): Likewise.
5386 (CLD_CONTINUED): Likewise.
5387 (POLL_IN): Likewise.
5388 (POLL_OUT): Likewise.
5389 (POLL_MSG): Likewise.
5390 (POLL_ERR): Likewise.
5391 (POLL_PRI): Likewise.
5392 (POLL_HUP): Likewise.
5393 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5394 (ILL_ILLOPN): Likewise.
5395 (ILL_ILLADR): Likewise.
5396 (ILL_ILLTRP): Likewise.
5397 (ILL_PRVOPC): Likewise.
5398 (ILL_PRVREG): Likewise.
5399 (ILL_COPROC): Likewise.
5400 (ILL_BADSTK): Likewise.
5401 (FPE_INTDIV): Likewise.
5402 (FPE_INTOVF): Likewise.
5403 (FPE_FLTDIV): Likewise.
5404 (FPE_FLTOVF): Likewise.
5405 (FPE_FLTUND): Likewise.
5406 (FPE_FLTRES): Likewise.
5407 (FPE_FLTINV): Likewise.
5408 (FPE_FLTSUB): Likewise.
5409 (SEGV_MAPERR): Likewise.
5410 (SEGV_ACCERR): Likewise.
5411 (BUS_ADRALN): Likewise.
5412 (BUS_ADRERR): Likewise.
5413 (BUS_OBJERR): Likewise.
5414 (BUS_MCEERR_AR): Likewise.
5415 (BUS_MCEERR_AO): Likewise.
5416 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5417 (TRAP_TRACE): Likewise.
5418 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5420 (CLD_KILLED): Likewise.
5421 (CLD_DUMPED): Likewise.
5422 (CLD_TRAPPED): Likewise.
5423 (CLD_STOPPED): Likewise.
5424 (CLD_CONTINUED): Likewise.
5425 (POLL_IN): Likewise.
5426 (POLL_OUT): Likewise.
5427 (POLL_MSG): Likewise.
5428 (POLL_ERR): Likewise.
5429 (POLL_PRI): Likewise.
5430 (POLL_HUP): Likewise.
5431 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5432 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5435 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5436 before #include of <time.h>.
5437 [!__USE_XOPEN2K] (__need_timespec): Likewise.
5438 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5439 (test-xfail-UNIX98/sched.h/conform): Likewise.
5441 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
5443 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5444 error absence of trapping exception support.
5445 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5447 2014-03-07 Joseph Myers <joseph@codesourcery.com>
5449 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5450 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5451 * timezone/Makefile (testdata): Move definition above include of
5453 (test-zones): New variable.
5454 (tests-special): Add zone files.
5455 (build-testdata): Use $(evaluate-test).
5457 * elf/Makefile (tests-special): Rename tests to end with .out.
5458 ($(objpfx)noload-mem): Likewise.
5459 ($(objpfx)tst-leaks1-mem): Likewise.
5460 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5461 * iconv/Makefile (xtests-special): Change test-iconvconfig to
5462 $(objpfx)test-iconvconfig.out.
5463 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
5464 set -e inside subshell and redirect output to file.
5465 * iconvdata/Makefile (generated): Rename tests to end with .out.
5467 (tests-special): Rename tests to end with .out.
5468 ($(objpfx)mtrace-tst-loading): Likewise.
5469 * intl/Makefile (generated): Likewise.
5470 (tests-special): Likewise.
5471 ($(objpfx)mtrace-tst-gettext): Likewise.
5472 * misc/Makefile (generated): Likewise.
5473 (tests-special): Likewise.
5474 ($(objpfx)tst-error1-mem): Likewise.
5475 * nptl/Makefile (tests-special): Likewise.
5476 ($(objpfx)tst-stack3-mem): Likewise.
5477 (generated): Likewise.
5478 * posix/Makefile (generated): Likewise.
5479 (tests-special): Likewise.
5480 (xtests-special): Likewise.
5481 ($(objpfx)tst-fnmatch-mem): Likewise.
5482 ($(objpfx)bug-regex2-mem): Likewise.
5483 ($(objpfx)bug-regex14-mem): Likewise.
5484 ($(objpfx)bug-regex21-mem): Likewise.
5485 ($(objpfx)bug-regex31-mem): Likewise.
5486 ($(objpfx)tst-vfork3-mem): Likewise.
5487 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5488 ($(objpfx)tst-pcre-mem): Likewise.
5489 ($(objpfx)tst-boost-mem): Likewise.
5490 ($(objpfx)bug-ga2-mem): Likewise.
5491 ($(objpfx)bug-glob2-mem): Likewise.
5492 * resolv/Makefile (generate): Likewise.
5493 (tests-special): Likewise.
5494 (xtests-special): Likewise.
5495 (generated): Likewise.
5496 ($(objpfx)mtrace-tst-leaks): Likewise.
5497 ($(objpfx)mtrace-tst-leaks2): Likewise.
5499 * scripts/merge-test-results.sh: New file.
5500 * Makefile (tests-special-notdir): New variable.
5501 (tests): Run merge-test-results.sh.
5503 * Rules (tests-special-notdir): New variable.
5504 (xtests-special-notdir): Likewise.
5505 (tests): Run merge-test-results.sh
5508 * Makeconfig (test-xfail-name): New variable.
5509 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5510 compute variable name for expected failures.
5511 * conform/Makefile (conformtest-headers-data): New variable.
5512 (conformtest-standards): Likewise.
5513 (conformtest-headers-ISO): Likewise.
5514 (conformtest-headers-ISO99): Likewise.
5515 (conformtest-headers-ISO11): Likewise.
5516 (conformtest-headers-POSIX): Likewise.
5517 (conformtest-headers-XPG3): Likewise.
5518 (conformtest-headers-XPG4): Likewise.
5519 (conformtest-headers-UNIX98): Likewise.
5520 (conformtest-headers-XOPEN2K): Likewise.
5521 (conformtest-headers-POSIX2008): Likewise.
5522 (conformtest-headers-XOPEN2K8): Likewise.
5523 (conformtest-header-list-base): Likewise.
5524 (conformtest-header-list-tests): Likewise.
5525 (conformtest-header-base): Likewise.
5526 (conformtest-header-tests): Likewise.
5527 (tests-special): Add $(conformtest-header-list-tests). If
5528 [$(fast-check) && !$(cross-compiling)], add
5529 $(conformtest-header-tests) instead of
5530 $(objpfx)run-conformtest.out.
5531 (generated): Add $(conformtest-header-list-base). If
5532 [$(fast-check) && !$(cross-compiling)], add
5533 $(conformtest-header-base). Remove previous setting.
5534 ($(conformtest-header-list-tests)): New target.
5535 (test-xfail-run-conformtest): Remove variable.
5536 ($(objpfx)run-conformtest.out): Remove target.
5537 (test-xfail-ISO11/complex.h/conform): New variable.
5538 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5539 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5540 (test-xfail-XPG3/varargs.h/conform): Likewise.
5541 (test-xfail-XPG4/varargs.h/conform): Likewise.
5542 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5543 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5544 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5545 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5546 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5547 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5548 (test-xfail-XPG3/ftw.h/conform): Likewise.
5549 (test-xfail-XPG3/grp.h/conform): Likewise.
5550 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5551 (test-xfail-XPG3/limits.h/conform): Likewise.
5552 (test-xfail-XPG3/pwd.h/conform): Likewise.
5553 (test-xfail-XPG3/search.h/conform): Likewise.
5554 (test-xfail-XPG3/signal.h/conform): Likewise.
5555 (test-xfail-XPG3/stdio.h/conform): Likewise.
5556 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5557 (test-xfail-XPG3/string.h/conform): Likewise.
5558 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5559 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5560 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5561 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5562 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5563 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5564 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5565 (test-xfail-XPG3/termios.h/conform): Likewise.
5566 (test-xfail-XPG3/time.h/conform): Likewise.
5567 (test-xfail-XPG3/unistd.h/conform): Likewise.
5568 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5569 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5570 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5571 (test-xfail-XPG4/netdb.h/conform): Likewise.
5572 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5573 (test-xfail-XPG4/signal.h/conform): Likewise.
5574 (test-xfail-XPG4/stdio.h/conform): Likewise.
5575 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5576 (test-xfail-XPG4/stropts.h/conform): Likewise.
5577 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5578 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5579 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5580 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5581 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5582 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5583 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5584 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5585 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5586 (test-xfail-XPG4/termios.h/conform): Likewise.
5587 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5588 (test-xfail-XPG4/unistd.h/conform): Likewise.
5589 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5590 (test-xfail-POSIX/sched.h/conform): Likewise.
5591 (test-xfail-POSIX/signal.h/conform): Likewise.
5592 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5593 (test-xfail-POSIX/tar.h/conform): Likewise.
5594 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5595 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5596 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5597 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5598 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5599 (test-xfail-UNIX98/sched.h/conform): Likewise.
5600 (test-xfail-UNIX98/signal.h/conform): Likewise.
5601 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5602 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5603 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5604 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5605 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5606 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5607 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5608 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5609 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5610 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5611 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5612 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5613 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5614 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5615 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5616 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5617 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5618 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5619 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5620 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5621 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5622 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5623 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5624 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5625 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5626 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5627 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5628 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5629 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5630 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5631 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5632 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5633 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5634 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5635 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5636 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5637 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5638 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5639 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5640 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5641 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5642 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5643 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5644 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5645 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5646 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5647 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5648 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5649 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5650 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5651 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5652 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5653 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5654 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5655 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5656 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5657 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5658 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5659 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5660 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5661 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5662 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5663 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5664 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5665 (conformtest-cc-flags): Likewise.
5666 ($(conformtest-header-tests): New target.
5667 * conform/check-header-lists.sh: New file.
5668 * conform/run-conformtest.sh: Remove.
5670 * conform/conformtest.pl: Allow ' and \ in values given for
5672 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5674 [POSIX] (sys/types.h): Likewise.
5675 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5677 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5679 * conform/data/signal.h-data (SIGIO): Remove expectation.
5680 [XPG3] (SIGBUS): Do not expect.
5681 [POSIX || XPG3] (SIGPOLL): Likewise.
5682 [POSIX || XPG3] (SIGPROF): Likewise.
5683 [POSIX || XPG3] (SIGSYS): Likewise.
5684 [XPG3] (SIGTRAP): Likewise.
5685 [POSIX || XPG3] (SIGURG): Likewise.
5686 [POSIX || XPG3] (SIGVTALRM): Likewise.
5687 [POSIX || XPG3] (SIGXCPU): Likewise.
5688 [POSIX || XPG3] (SIGXFSZ): Likewise.
5689 [POSIX] (SA_SIGINFO): Expect.
5690 [XPG3] (siginfo_t): Do not expect type or contents.
5691 [POSIX] (si_pid): Do not expect element.
5692 [POSIX] (si_uid): Likewise.
5693 [POSIX] (si_addr): Likewise.
5694 [POSIX] (si_status): Likewise.
5695 [POSIX] (si_band): Likewise.
5696 [XPG4] (si_value): Likewise.
5697 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5698 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5699 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5700 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5701 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5702 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5703 [POSIX || XPG3] (ILL_COPROC): Likewise.
5704 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5705 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5706 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5707 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5708 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5709 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5710 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5711 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5712 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5713 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5714 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5715 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5716 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5717 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5718 [POSIX || XPG3] (CLD_EXITED): Likewise.
5719 [POSIX || XPG3] (CLD_KILLED): Likewise.
5720 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5721 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5722 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5723 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5724 [POSIX || XPG3] (POLL_IN): Likewise.
5725 [POSIX || XPG3] (POLL_OUT): Likewise.
5726 [POSIX || XPG3] (POLL_MSG): Likewise.
5727 [POSIX || XPG3] (POLL_ERR): Likewise.
5728 [POSIX || XPG3] (POLL_PRI): Likewise.
5729 [POSIX || XPG3] (POLL_HUP): Likewise.
5730 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5731 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5732 (SIG*): Do not allow.
5733 [XPG3] (si_*): Likewise.
5734 [XPG3] (SI_*): Likewise.
5735 [XPG3 || XPG4] (sigev_*): Likewise.
5736 [XPG3 || XPG4] (SIGEV_*): Likewise.
5737 [XPG3 || XPG4] (sival_*): Likewise.
5738 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5739 [POSIX || XPG3] (BUS_*): Likewise.
5740 [POSIX || XPG3] (CLD_*): Likewise.
5741 [POSIX || XPG3] (FPE_*): Likewise.
5742 [POSIX || XPG3] (ILL_*): Likewise.
5743 [POSIX || XPG3] (POLL_*): Likewise.
5744 [POSIX || XPG3] (SEGV_*): Likewise.
5745 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5746 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5747 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5748 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5749 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5750 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5751 Specify type and value.
5752 (TVERSLEN): Likewise.
5753 (REGTYPE): Likewise.
5754 (AREGTYPE): Likewise.
5755 (LNKTYPE): Likewise.
5756 (SYMTYPE): Likewise.
5757 (CHRTYPE): Likewise.
5758 (BLKTYPE): Likewise.
5759 (DIRTYPE): Likewise.
5760 (FIFOTYPE): Likewise.
5761 (CONTTYPE): Likewise.
5766 (TUWRITE): Likewise.
5769 (TGWRITE): Likewise.
5772 (TOWRITE): Likewise.
5774 [POSIX] (TSVTX): Expect constant.
5776 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5778 * Makefile (tests): Change dependencies to ....
5779 (tests-special): ... additions to this variable.
5780 (tests): Depend on $(tests-special).
5781 * Makerules (check-abi-list): New variable.
5782 (check-abi): Depend on $(check-abi-list).
5783 [$(subdir) = elf] (tests-special): Add
5784 $(objpfx)check-abi-libc.out.
5785 [$(build-shared) = yes && subdir] (tests-special): Add
5787 [$(build-shared) = yes && subdir] (tests): Do not depend on
5789 * Rules (tests): Depend on $(tests-special).
5790 (xtests): Depend on $(xtests-special).
5791 * catgets/Makefile (tests): Change dependencies to ....
5792 (tests-special): ... additions to this variable.
5793 * conform/Makefile (tests): Change dependencies to ....
5794 (tests-special): ... additions to this variable.
5795 * elf/Makefile (tests): Change dependencies to ....
5796 (tests-special): ... additions to this variable.
5797 * grp/Makefile (tests): Change dependencies to ....
5798 (tests-special): ... additions to this variable.
5799 * iconv/Makefile (xtests): Change dependencies to ....
5800 (xtests-special): ... additions to this variable.
5801 * iconvdata/Makefile (tests): Change dependencies to ....
5802 (tests-special): ... additions to this variable.
5803 * intl/Makefile (tests): Change dependencies to ....
5804 (tests-special): ... additions to this variable. Also add
5805 $(objpfx)tst-gettext.out.
5806 * io/Makefile (tests): Change dependencies to ....
5807 (tests-special): ... additions to this variable.
5808 * libio/Makefile (tests): Change dependencies to ....
5809 (tests-special): ... additions to this variable.
5810 * malloc/Makefile (tests): Change dependencies to ....
5811 (tests-special): ... additions to this variable.
5812 * misc/Makefile (tests): Change dependencies to ....
5813 (tests-special): ... additions to this variable.
5814 * nptl/Makefile (tests): Change dependencies to ....
5815 (tests-special): ... additions to this variable.
5816 * nptl_db/Makefile (tests): Change dependencies to ....
5817 (tests-special): ... additions to this variable.
5818 * posix/Makefile (tests): Change dependencies to ....
5819 (tests-special): ... additions to this variable.
5820 (xtests): Change dependencies to ....
5821 (xtests-special): ... additions to this variable.
5822 * resolv/Makefile (tests): Change dependencies to ....
5823 (tests-special): ... additions to this variable.
5824 (xtests): Change dependencies to ....
5825 (xtests-special): ... additions to this variable.
5826 * stdio-common/Makefile (tests): Change dependencies to ....
5827 (tests-special): ... additions to this variable.
5828 (do-tst-unbputc): Remove target.
5829 (do-tst-printf): Likewise.
5830 * stdlib/Makefile (tests): Change dependencies to ....
5831 (tests-special): ... additions to this variable.
5832 * string/Makefile (tests): Change dependencies to ....
5833 (tests-special): ... additions to this variable.
5834 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5835 (tests-special): ... additions to this variable.
5837 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5839 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5841 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5842 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5844 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5845 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5846 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5847 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5848 * conform/data/libgen.h-data [XPG3]: Likewise.
5849 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5850 * conform/data/ndbm.h-data [XPG3]: Likewise.
5851 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5852 * conform/data/netdb.h-data [XPG3]: Likewise.
5853 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5854 * conform/data/poll.h-data [XPG3]: Likewise.
5855 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5856 * conform/data/strings.h-data [XPG3]: Likewise.
5857 * conform/data/stropts.h-data [XPG3]: Likewise.
5858 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5859 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5860 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5862 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5863 * conform/data/sys/time.h-data [XPG3]: Likewise.
5864 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5865 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5866 * conform/data/sys/un.h-data [XPG3]: Likewise.
5867 * conform/data/syslog.h-data [XPG3]: Likewise.
5868 * conform/data/ucontext.h-data [XPG3]: Likewise.
5869 * conform/data/utmpx.h-data [XPG3]: Likewise.
5870 * conform/data/varargs.h-data [UNIX98]: Enable file.
5872 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5874 * math/libm-test.inc (struct test_f_f_data): Move expected results
5875 into structure for each rounding mode.
5876 (struct test_ff_f_data): Likewise.
5877 (struct test_ff_f_data_nexttoward): Likewise.
5878 (struct test_fi_f_data): Likewise.
5879 (struct test_fl_f_data): Likewise.
5880 (struct test_if_f_data): Likewise.
5881 (struct test_fff_f_data): Likewise.
5882 (struct test_c_f_data): Likewise.
5883 (struct test_f_f1_data): Likewise.
5884 (struct test_fF_f1_data): Likewise.
5885 (struct test_ffI_f1_data): Likewise.
5886 (struct test_c_c_data): Likewise.
5887 (struct test_cc_c_data): Likewise.
5888 (struct test_f_i_data): Likewise.
5889 (struct test_ff_i_data): Likewise.
5890 (struct test_f_l_data): Likewise.
5891 (struct test_f_L_data): Likewise.
5892 (struct test_fFF_11_data): Likewise.
5894 (RM_FE_DOWNWARD): Likewise.
5895 (RM_FE_TONEAREST): Likewise.
5896 (RM_FE_TOWARDZERO): Likewise.
5897 (RM_FE_UPWARD): Likewise.
5898 (RUN_TEST_LOOP_f_f): Update references to expected results.
5899 (RUN_TEST_LOOP_2_f): Likewise.
5900 (RUN_TEST_LOOP_fff_f): Likewise.
5901 (RUN_TEST_LOOP_c_f): Likewise.
5902 (RUN_TEST_LOOP_f_f1): Likewise.
5903 (RUN_TEST_LOOP_fF_f1): Likewise.
5904 (RUN_TEST_LOOP_fI_f1): Likewise.
5905 (RUN_TEST_LOOP_ffI_f1): Likewise.
5906 (RUN_TEST_LOOP_c_c): Likewise.
5907 (RUN_TEST_LOOP_cc_c): Likewise.
5908 (RUN_TEST_LOOP_f_i): Likewise.
5909 (RUN_TEST_LOOP_f_i_tg): Likewise.
5910 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5911 (RUN_TEST_LOOP_f_b): Likewise.
5912 (RUN_TEST_LOOP_f_b_tg): Likewise.
5913 (RUN_TEST_LOOP_f_l): Likewise.
5914 (RUN_TEST_LOOP_f_L): Likewise.
5915 (RUN_TEST_LOOP_fFF_11): Likewise.
5916 * math/gen-libm-test.pl (parse_args): Output four copies of
5917 expected results for each test.
5919 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5920 (__ASSUME_UTIMES): Remove.
5921 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5922 (__ASSUME_UTIMES): Likewise.
5924 * math/gen-auto-libm-tests.c: Update comment on output format.
5925 (output_for_one_input_case): Generate before-rounding and
5926 after-rounding information as conditions on output flags not
5927 floating-point format.
5928 * math/auto-libm-test-out: Regenerated.
5929 * math/gen-libm-test.pl (cond_value): New function.
5930 (or_cond_value): Use cond_value.
5931 (generate_testfile): Handle conditional exceptions.
5933 2014-03-05 Joseph Myers <joseph@codesourcery.com>
5935 * math/libm-test.inc (max_valid_error): New variable.
5936 (init_max_error): Take new argument specifying whether function
5937 results are exactly determined. Set max_valid_error and bound
5938 other variables for errors based on this argument.
5939 (set_max_error): Do not record results above max_valid_error.
5940 (check_float_internal): Only accept errors of up to 0.5ulps if
5941 also at most max_valid_error.
5942 (START): Take new argument EXACT and pass it to init_max_error.
5943 (acos_test): Update call to START.
5944 (acos_test_tonearest): Likewise.
5945 (acos_test_towardzero): Likewise.
5946 (acos_test_downward): Likewise.
5947 (acos_test_upward): Likewise.
5948 (acosh_test): Likewise.
5949 (asin_test): Likewise.
5950 (asin_test_tonearest): Likewise.
5951 (asin_test_towardzero): Likewise.
5952 (asin_test_downward): Likewise.
5953 (asin_test_upward): Likewise.
5954 (asinh_test): Likewise.
5955 (atan_test): Likewise.
5956 (atanh_test): Likewise.
5957 (atan2_test): Likewise.
5958 (cabs_test): Likewise.
5959 (cacos_test): Likewise.
5960 (cacosh_test): Likewise.
5961 (carg_test): Likewise.
5962 (casin_test): Likewise.
5963 (casinh_test): Likewise.
5964 (catan_test): Likewise.
5965 (catanh_test): Likewise.
5966 (cbrt_test): Likewise.
5967 (ccos_test): Likewise.
5968 (ccosh_test): Likewise.
5969 (ceil_test): Likewise.
5970 (cexp_test): Likewise.
5971 (cimag_test): Likewise.
5972 (clog_test): Likewise.
5973 (clog10_test): Likewise.
5974 (conj_test): Likewise.
5975 (copysign_test): Likewise.
5976 (cos_test): Likewise.
5977 (cos_test_tonearest): Likewise.
5978 (cos_test_towardzero): Likewise.
5979 (cos_test_downward): Likewise.
5980 (cos_test_upward): Likewise.
5981 (cosh_test): Likewise.
5982 (cosh_test_tonearest): Likewise.
5983 (cosh_test_towardzero): Likewise.
5984 (cosh_test_downward): Likewise.
5985 (cosh_test_upward): Likewise.
5986 (cpow_test): Likewise.
5987 (cproj_test): Likewise.
5988 (creal_test): Likewise.
5989 (csin_test): Likewise.
5990 (csinh_test): Likewise.
5991 (csqrt_test): Likewise.
5992 (ctan_test): Likewise.
5993 (ctan_test_tonearest): Likewise.
5994 (ctan_test_towardzero): Likewise.
5995 (ctan_test_downward): Likewise.
5996 (ctan_test_upward): Likewise.
5997 (ctanh_test): Likewise.
5998 (ctanh_test_tonearest): Likewise.
5999 (ctanh_test_towardzero): Likewise.
6000 (ctanh_test_downward): Likewise.
6001 (ctanh_test_upward): Likewise.
6002 (erf_test): Likewise.
6003 (erfc_test): Likewise.
6004 (exp_test): Likewise.
6005 (exp_test_tonearest): Likewise.
6006 (exp_test_towardzero): Likewise.
6007 (exp_test_downward): Likewise.
6008 (exp_test_upward): Likewise.
6009 (exp10_test): Likewise.
6010 (exp10_test_tonearest): Likewise.
6011 (exp10_test_towardzero): Likewise.
6012 (exp10_test_downward): Likewise.
6013 (exp10_test_upward): Likewise.
6014 (pow10_test): Likewise.
6015 (exp2_test): Likewise.
6016 (expm1_test): Likewise.
6017 (expm1_test_tonearest): Likewise.
6018 (expm1_test_towardzero): Likewise.
6019 (expm1_test_downward): Likewise.
6020 (expm1_test_upward): Likewise.
6021 (fabs_test): Likewise.
6022 (fdim_test): Likewise.
6023 (floor_test): Likewise.
6024 (fma_test): Likewise.
6025 (fma_test_towardzero): Likewise.
6026 (fma_test_downward): Likewise.
6027 (fma_test_upward): Likewise.
6028 (fmax_test): Likewise.
6029 (fmin_test): Likewise.
6030 (fmod_test): Likewise.
6031 (fpclassify_test): Likewise.
6032 (frexp_test): Likewise.
6033 (hypot_test): Likewise.
6034 (ilogb_test): Likewise.
6035 (isfinite_test): Likewise.
6036 (finite_test): Likewise.
6037 (isgreater_test): Likewise.
6038 (isgreaterequal_test): Likewise.
6039 (isinf_test): Likewise.
6040 (isless_test): Likewise.
6041 (islessequal_test): Likewise.
6042 (islessgreater_test): Likewise.
6043 (isnan_test): Likewise.
6044 (isnormal_test): Likewise.
6045 (issignaling_test): Likewise.
6046 (isunordered_test): Likewise.
6047 (j0_test): Likewise.
6048 (j1_test): Likewise.
6049 (jn_test): Likewise.
6050 (ldexp_test): Likewise.
6051 (lgamma_test): Likewise.
6052 (gamma_test): Likewise.
6053 (lrint_test): Likewise.
6054 (lrint_test_tonearest): Likewise.
6055 (lrint_test_towardzero): Likewise.
6056 (lrint_test_downward): Likewise.
6057 (lrint_test_upward): Likewise.
6058 (llrint_test): Likewise.
6059 (llrint_test_tonearest): Likewise.
6060 (llrint_test_towardzero): Likewise.
6061 (llrint_test_downward): Likewise.
6062 (llrint_test_upward): Likewise.
6063 (log_test): Likewise.
6064 (log10_test): Likewise.
6065 (log1p_test): Likewise.
6066 (log2_test): Likewise.
6067 (logb_test): Likewise.
6068 (logb_test_downward): Likewise.
6069 (lround_test): Likewise.
6070 (llround_test): Likewise.
6071 (modf_test): Likewise.
6072 (nearbyint_test): Likewise.
6073 (nextafter_test): Likewise.
6074 (nexttoward_test): Likewise.
6075 (pow_test): Likewise.
6076 (pow_test_tonearest): Likewise.
6077 (pow_test_towardzero): Likewise.
6078 (pow_test_downward): Likewise.
6079 (pow_test_upward): Likewise.
6080 (remainder_test): Likewise.
6081 (drem_test): Likewise.
6082 (remainder_test_tonearest): Likewise.
6083 (drem_test_tonearest): Likewise.
6084 (remainder_test_towardzero): Likewise.
6085 (drem_test_towardzero): Likewise.
6086 (remainder_test_downward): Likewise.
6087 (drem_test_downward): Likewise.
6088 (remainder_test_upward): Likewise.
6089 (drem_test_upward): Likewise.
6090 (remquo_test): Likewise.
6091 (rint_test): Likewise.
6092 (rint_test_tonearest): Likewise.
6093 (rint_test_towardzero): Likewise.
6094 (rint_test_downward): Likewise.
6095 (rint_test_upward): Likewise.
6096 (round_test): Likewise.
6097 (scalb_test): Likewise.
6098 (scalbn_test): Likewise.
6099 (scalbln_test): Likewise.
6100 (signbit_test): Likewise.
6101 (sin_test): Likewise.
6102 (sin_test_tonearest): Likewise.
6103 (sin_test_towardzero): Likewise.
6104 (sin_test_downward): Likewise.
6105 (sin_test_upward): Likewise.
6106 (sincos_test): Likewise.
6107 (sinh_test): Likewise.
6108 (sinh_test_tonearest): Likewise.
6109 (sinh_test_towardzero): Likewise.
6110 (sinh_test_downward): Likewise.
6111 (sinh_test_upward): Likewise.
6112 (sqrt_test): Likewise.
6113 (sqrt_test_tonearest): Likewise.
6114 (sqrt_test_towardzero): Likewise.
6115 (sqrt_test_downward): Likewise.
6116 (sqrt_test_upward): Likewise.
6117 (tan_test): Likewise.
6118 (tan_test_tonearest): Likewise.
6119 (tan_test_towardzero): Likewise.
6120 (tan_test_downward): Likewise.
6121 (tan_test_upward): Likewise.
6122 (tanh_test): Likewise.
6123 (tgamma_test): Likewise.
6124 (trunc_test): Likewise.
6125 (y0_test): Likewise.
6126 (y1_test): Likewise.
6127 (yn_test): Likewise.
6128 (significand_test): Likewise.
6130 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6131 individual tests in comment.
6132 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6133 (prev_max_error): New variable.
6134 (prev_real_max_error): Likewise.
6135 (prev_imag_max_error): Likewise.
6136 (compare_ulp_data): Don't refer to test names in comment.
6137 (find_test_ulps): Remove function.
6138 (find_function_ulps): Likewise.
6139 (find_complex_function_ulps): Likewise.
6140 (init_max_error): Take function name as argument. Look up ulps
6142 (print_ulps): Remove function.
6143 (print_max_error): Use prev_max_error instead of calling
6145 (print_complex_max_error): Use prev_real_max_error and
6146 prev_imag_max_error instead of calling find_complex_function_ulps.
6147 (check_float_internal): Take max_ulp parameter instead of calling
6148 find_test_ulps. Don't call print_ulps.
6149 (check_float): Update call to check_float_internal.
6150 (check_complex): Update calls to check_float_internal.
6151 (START): Pass argument to init_max_error.
6152 * math/gen-libm-test.pl (%results): Don't include "kind"
6154 (parse_ulps): Don't handle ulps of individual tests.
6155 (print_ulps_file): Likewise.
6156 (output_ulps): Likewise.
6157 * math/README.libm-test: Update.
6158 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6160 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6161 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6162 * sysdeps/arm/libm-test-ulps: Likewise.
6163 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6164 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6165 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6166 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6167 * sysdeps/microblaze/libm-test-ulps: Likewise.
6168 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6169 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6170 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6171 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6172 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6173 * sysdeps/sh/libm-test-ulps: Likewise.
6174 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6175 * sysdeps/tile/libm-test-ulps: Likewise.
6176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6178 2014-03-04 Joseph Myers <joseph@codesourcery.com>
6180 * math/libm-test.inc (print_complex_max_error): Check separately
6181 whether real and imaginary errors are within allowed range and
6182 pass 0 to print_complex_function_ulps instead of value within
6185 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6187 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6189 (get_handles_fopen): Likewise.
6190 (do_write_test): Likewise.
6192 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6194 * libio/fileops.c (do_ftell): Use cached offset when
6196 * libio/iofwide.c (do_ftell_wide): Likewise.
6197 * libio/iofdopen.c (_IO_new_fdopen): Don't use
6199 * libio/wfileops.c (_IO_fwide): Don't cache offset.
6202 * libio/libioP.h (get_file_offset): New function.
6203 * libio/fileops.c (get_file_offset): Likewise.
6204 (do_ftell): Likewise.
6205 (_IO_new_file_seekoff): Split out ftell logic.
6206 * libio/wfileops.c (do_ftell_wide): Likewise.
6207 (_IO_wfile_seekoff): Split out ftell logic.
6208 * libio/tst-ftell-active-handler.c: New test case.
6209 * libio/Makefile (tests): Add it.
6211 2014-03-03 Roland McGrath <roland@hack.frob.com>
6213 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6214 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6216 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6219 * nscd/connections.c (nscd_init): Call do_exit.
6220 (start_threads): Call do_exit and notify_parent.
6221 (begin_drop_privileges): Call do_exit.
6222 (finish_drop_privileges): Likewise.
6223 * nscd/selinux.c (preserve_capabilities): Likewise.
6224 (install_real_capabilities): Likewise.
6225 (nscd_selinux_enabled): Likewise.
6226 (avc_create_thread): Likewise.
6227 (avc_alloc_lock): Likewise.
6228 (nscd_avc_init): Likewise.
6229 * nscd/nscd.c (parent_fd): New static variable.
6230 (main): Create a pipe between parent and child processes.
6231 Skip closing parent_fd.
6232 (monitor_child): New function.
6233 (do_exit): Likewise.
6234 (notify_parent): Likewise.
6235 * nscd/nscd.h (notify_parent): Likewise.
6236 (do_exit): Likewise.
6238 2014-03-03 Carlos O'Donell <carlos@redhat.com>
6240 * malloc/malloc.c (__libc_calloc): Revert last change.
6242 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6246 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6248 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6252 (__libc_ifunc_impl_list): Likewise.
6253 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6254 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6255 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6256 * string/strrchr.c: Define STRRCHR.
6258 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
6260 * benchtest/bench-strtok.c (simple_strtok): Delete.
6261 (strtok_string): Use as benchmark.
6262 * string/strtok (STRTOK): New macro.
6264 2014-02-28 Carlos O'Donell <carlos@redhat.com>
6266 * manual/threads.texi: Add header and standard comments to all
6269 * elf/dl-lookup.c (check_match): New function.
6270 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6271 (do_lookup_x): Remove nested function check_match. Use non-nested
6272 function check_match.
6274 2014-02-28 Roland McGrath <roland@hack.frob.com>
6276 * csu/Makefile (generated, before-compile): Use += rather than =.
6277 * catgets/Makefile (generated, generated-dirs): Likewise.
6278 * debug/Makefile (generated): Likewise.
6279 * dlfcn/Makefile (generated): Likewise.
6280 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6281 * iconvdata/Makefile (before-compile, generated): Likewise.
6282 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6283 * libio/Makefile (generated): Likewise.
6284 * malloc/Makefile (generated): Likewise.
6285 * manual/Makefile (generated, generated-dirs): Likewise.
6286 * misc/Makefile (generated): Likewise.
6287 * posix/Makefile (generated): Likewise.
6288 * resolv/Makefile (generated): Likewise.
6289 * sunrpc/Makefile (generated, generated-dirs): Likewise.
6290 * timezone/Makefile (generated, generated-dirs): Likewise.
6292 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6294 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6297 power8 implementation.
6298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6299 file: POWER8 llround ifunc implementation.
6300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6301 (__lllround): Add POWER8 implementation.
6302 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6303 POWER8 llround implementation.
6305 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6306 power8 implementation.
6307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6308 file: POWER8 llrint ifunc implementation.
6309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6310 Add POWER8 implementation.
6311 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6312 POWER8 llrint implementation.
6314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6315 power8 implementation.
6316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6317 file: POWER8 finite ifunc implementation.
6318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6319 Add POWER8 implementation.
6320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6322 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6323 POWER8 finite implementation.
6324 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6326 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6327 power8 implementation.
6328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6329 file: POWER8 isinf ifunc implementation.
6330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6331 POWER8 implementation.
6332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6334 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6335 isinf implementation.
6336 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6338 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6339 (INIT_ARCH): Add hwcap2 initialization.
6340 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6341 power8 implementation.
6342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6343 file: POWER8 isnan ifunc implementation.
6344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6345 POWER8 implementation.
6346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6348 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6349 isnan implementation.
6350 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6352 2014-02-27 Joey Ye <joey.ye@arm.com>
6354 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6355 (_FP_NANFRAC_Q): Set to zero.
6357 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6360 * math/auto-libm-test-in: New test inputs.
6361 * math/auto-libm-test-out: Regenerate.
6362 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6365 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6367 2014-02-27 Joseph Myers <joseph@codesourcery.com>
6369 * scripts/evaluate-test.sh: Take new argument indicating whether
6370 failure is expected.
6371 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6372 indicating whether failure is expected.
6373 * conform/Makefile (test-xfail-run-conformtest): New variable.
6374 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6376 * posix/Makefile (test-xfail-annexc): New variable.
6377 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6379 2014-02-26 Joseph Myers <joseph@codesourcery.com>
6381 * argp/Makefile: Include Makeconfig immediately after defining
6383 * assert/Makefile: Likewise.
6384 * benchtests/Makefile: Likewise.
6385 * catgets/Makefile: Likewise.
6386 * conform/Makefile: Likewise.
6387 * crypt/Makefile: Likewise.
6388 * csu/Makefile: Likewise.
6389 (all): Remove target.
6390 * ctype/Makefile: Include Makeconfig immediately after defining
6392 * debug/Makefile: Likewise.
6393 * dirent/Makefile: Likewise.
6394 * dlfcn/Makefile: Likewise.
6395 * gmon/Makefile: Likewise.
6396 * gnulib/Makefile: Likewise.
6397 * grp/Makefile: Likewise.
6398 * gshadow/Makefile: Likewise.
6399 * hesiod/Makefile: Likewise.
6400 * hurd/Makefile: Likewise.
6401 (all): Remove target.
6402 * iconvdata/Makefile: Include Makeconfig immediately after
6404 * inet/Makefile: Likewise.
6405 * intl/Makefile: Likewise.
6406 * io/Makefile: Likewise.
6407 * libio/Makefile: Likewise.
6408 (all): Remove target.
6409 * locale/Makefile: Include Makeconfig immediately after defining
6411 * login/Makefile: Likewise.
6412 * mach/Makefile: Likewise.
6413 (all): Remove target.
6414 * malloc/Makefile: Include Makeconfig immediately after defining
6416 (all): Remove target.
6417 * manual/Makefile: Include Makeconfig immediately after defining
6419 * math/Makefile: Likewise.
6420 * misc/Makefile: Likewise.
6421 * nis/Makefile: Likewise.
6422 * nss/Makefile: Likewise.
6423 * po/Makefile: Likewise.
6424 (all): Remove target.
6425 * posix/Makefile: Include Makeconfig immediately after defining
6427 * pwd/Makefile: Likewise.
6428 * resolv/Makefile: Likewise.
6429 * resource/Makefile: Likewise.
6430 * rt/Makefile: Likewise.
6431 * setjmp/Makefile: Likewise.
6432 * shadow/Makefile: Likewise.
6433 * signal/Makefile: Likewise.
6434 * socket/Makefile: Likewise.
6435 * soft-fp/Makefile: Likewise.
6436 * stdio-common/Makefile: Likewise.
6437 * stdlib/Makefile: Likewise.
6438 * streams/Makefile: Likewise.
6439 * string/Makefile: Likewise.
6440 * sunrpc/Makefile: Likewise.
6441 (all): Remove target.
6442 * sysvipc/Makefile: Include Makeconfig immediately after defining
6444 * termios/Makefile: Likewise.
6445 * time/Makefile: Likewise.
6446 * timezone/Makefile: Likewise.
6447 (all): Remove target.
6448 * wcsmbs/Makefile: Include Makeconfig immediately after defining
6450 * wctype/Makefile: Likewise.
6452 2014-02-26 Steve Ellcey <sellcey@mips.com>
6454 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6455 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6456 (libc_feholdexcept_setround_mips): Ditto.
6457 (libc_feholdsetround): New.
6458 (libc_feholdsetroundf): New.
6459 (libc_feholdsetroundl): New.
6460 (libc_feupdateenv_test_mips): New.
6461 (libc_feupdateenv_test): New.
6462 (libc_feupdateenv_testf): New.
6463 (libc_feupdateenv_testl): New.
6464 (libc_feresetround): New.
6465 (libc_feresetroundf): New.
6466 (libc_feresetroundl): New.
6467 (libc_fetestexcept_mips): New.
6468 (libc_fetestexcept): New.
6469 (libc_fetestexceptf): New.
6470 (libc_fetestexceptl): New.
6472 (libc_feholdexcept_setround_mips_ctx): New.
6473 (libc_feholdexcept_setround_ctx): New.
6474 (libc_feholdexcept_setroundf_ctx): New.
6475 (libc_feholdexcept_setroundl_ctx): New.
6476 (libc_fesetenv_mips_ctx): New.
6477 (libc_fesetenv_ctx): New.
6478 (libc_fesetenv_ctxf): New.
6479 (libc_fesetenv_ctxl): New.
6480 (libc_feupdateenv_mips_ctx): New.
6481 (libc_feupdateenv_ctx): New.
6482 (libc_feupdateenvf_ctx): New.
6483 (libc_feupdateenvl_ctx): New.
6484 (libc_feholdsetround_mips_ctx): New.
6485 (libc_feholdsetround_ctx): New.
6486 (libc_feholdsetroundf_ctx): New.
6487 (libc_feholdsetroundl_ctx): New.
6488 (libc_feresetround_mips_ctx): New.
6489 (libc_feresetround_ctx): New.
6490 (libc_feresetroundf_ctx): New.
6491 (libc_feresetroundl_ctx): New.
6493 2014-02-26 Carlos O'Donell <carlos@redhat.com>
6495 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6497 * manual/ipc.texi: New file.
6498 * manual/Makefile (chapters): Add ipc.
6499 * manual/job.texi: Add "Inter-Process Communication" to next.
6500 * manual/process.texi: Add "Inter-Process Communication" to prev.
6502 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6506 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
6508 * malloc/malloc.c (__libc_calloc): Simplify implementation.
6510 * manual/arith.texi: Fix spaces after sentences.
6511 * manual/charset.texi: Likewise.
6512 * manual/errno.texi: Likewise.
6513 * manual/install.texi: Likewise.
6514 * manual/llio.texi: Likewise.
6515 * manual/locale.texi: Likewise.
6516 * manual/maint.texi: Likewise.
6517 * manual/math.texi: Likewise.
6518 * manual/memory.texi: Likewise.
6519 * manual/message.texi: Likewise.
6520 * manual/probes.texi: Likewise.
6521 * manual/resource.texi: Likewise.
6522 * manual/signal.texi: Likewise.
6523 * manual/socket.texi: Likewise.
6524 * manual/stdio.texi: Likewise.
6525 * manual/string.texi: Likewise.
6526 * manual/time.texi: Likewise.
6527 * manual/users.texi: Likewise.
6529 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6532 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6533 _DEFAULT_SOURCE is defined.
6535 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6536 Carlos O'Donell <carlos@redhat.com>
6539 * elf/dl-tls.c (_dl_count_modids): New function.
6540 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6541 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6542 audit library and increment generation counter.
6543 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6544 * elf/tst-audit9.c: New file.
6545 * elf/tst-auditmod9a.c: New file.
6546 * elf/tst-auditmod9b.c: New file.
6547 * elf/Makefile: Add rules to build and run tst-audit9.
6549 2014-02-25 Florian Weimer <fweimer@redhat.com>
6552 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6554 2014-02-25 Will Newton <will.newton@linaro.org>
6556 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6557 (__longjmp): Restore sp and lr before restoring callee
6558 saved registers. Add longjmp and longjmp_target
6559 SystemTap probe point.
6560 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6561 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6562 Define to zero to match jmpbuf layout.
6563 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6564 (__sigsetjmp): Save sp and lr before saving callee
6565 saved registers. Add setjmp SystemTap probe point.
6567 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6569 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6571 2014-02-24 Andreas Schwab <schwab@suse.de>
6574 * elf/pldd.c (wait_for_ptrace_stop): New function.
6575 (main): Call it after attaching.
6577 2014-02-22 Roland McGrath <roland@hack.frob.com>
6579 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6580 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6581 Versions files is now verboten.
6582 * hurd/Versions (libc: GLIBC_2.0):
6583 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6584 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6585 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6586 * mach/Versions: Likewise.
6588 * csu/Versions: Remove unused %include.
6589 * resolv/Versions: Likewise.
6591 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6593 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6594 ($(objpfx)check-local-headers.out): Likewise.
6595 ($(objpfx)begin-end-check.out): Likewise.
6596 * Makerules (check-abi-%.out): Likewise.
6597 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6598 ($(objpfx)test2.cat): Likewise.
6599 ($(objpfx)de/libc.cat): Likewise.
6600 ($(objpfx)test-gencat.out): Likewise.
6601 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6602 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6603 ($(objpfx)noload-mem): Likewise.
6604 ($(objpfx)tst-pathopt.out): Likewise.
6605 ($(objpfx)tst-rtld-load-self.out): Likewise.
6606 ($(objpfx)tst-array1-cmp.out): Likewise.
6607 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6608 ($(objpfx)tst-array2-cmp.out): Likewise.
6609 ($(objpfx)tst-array3-cmp.out): Likewise.
6610 ($(objpfx)tst-array4-cmp.out): Likewise.
6611 ($(objpfx)tst-array5-cmp.out): Likewise.
6612 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6613 ($(objpfx)check-textrel.out): Likewise.
6614 ($(objpfx)check-execstack.out): Likewise.
6615 ($(objpfx)check-localplt.out): Likewise.
6616 ($(objpfx)order2-cmp.out): Likewise.
6617 ($(objpfx)tst-leaks1-mem): Likewise.
6618 ($(objpfx)tst-leaks1-static-mem): Likewise.
6619 ($(objpfx)tst-initorder-cmp.out): Likewise.
6620 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6621 ($(objpfx)tst-unused-dep.out): Likewise.
6622 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6623 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6624 * iconv/Makefile (test-iconvconfig): Likewise.
6625 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6626 ($(objpfx)iconv-test.out): Likewise.
6627 ($(objpfx)tst-tables.out): Likewise.
6628 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6629 ($(objpfx)tst-gettext.out): Likewise.
6630 ($(objpfx)tst-translit.out): Likewise.
6631 ($(objpfx)tst-gettext2.out): Likewise.
6632 ($(objpfx)tst-gettext4.out): Likewise.
6633 ($(objpfx)tst-gettext6.out): Likewise.
6634 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6635 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6636 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6637 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6638 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6639 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6640 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6641 ($(objpfx)wordexp-tst.out): Likewise.
6642 ($(objpfx)annexc.out): Likewise.
6643 ($(objpfx)tst-fnmatch-mem): Likewise.
6644 ($(objpfx)bug-regex2-mem): Likewise.
6645 ($(objpfx)bug-regex14-mem): Likewise.
6646 ($(objpfx)bug-regex21-mem): Likewise.
6647 ($(objpfx)bug-regex31-mem): Likewise.
6648 ($(objpfx)tst-vfork3-mem): Likewise.
6649 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6650 ($(objpfx)tst-pcre-mem): Likewise.
6651 ($(objpfx)tst-boost-mem): Likewise.
6652 ($(objpfx)tst-getconf.out): Likewise.
6653 ($(objpfx)bug-ga2-mem): Likewise.
6654 ($(objpfx)bug-glob2-mem): Likewise.
6655 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6656 ($(objpfx)mtrace-tst-leaks2): Likewise.
6657 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6658 ($(objpfx)tst-printf.out): Likewise.
6659 ($(objpfx)tst-setvbuf1.out): Likewise.
6660 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6661 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6662 ($(objpfx)tst-fmtmsg.out): Likewise.
6663 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6664 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6666 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6667 * bits/sigaction.h [__USE_MISC]: Likewise.
6668 * bits/waitstatus.h: Update #endif comments.
6669 * ctype/ctype.h: Likewise.
6670 * dirent/dirent.h: Likewise.
6671 [__USE_MISC]: Remove redundant conditionals.
6672 * grp/grp.h: Update #endif comments.
6673 [__USE_GNU]: Remove redundant conditionals.
6674 [__USE_MISC]: Likewise.
6675 * inet/netinet/in.h [__USE_GNU]: Likewise.
6676 * io/sys/stat.h [__USE_MISC]: Likewise.
6677 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6678 * libio/bits/stdio.h: Update #endif comments.
6679 [__USE_MISC]: Remove redundant conditionals.
6680 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6681 * libio/stdio.h: Update #endif comments.
6682 [__USE_MISC]: Remove redundant conditionals.
6683 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6684 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6685 * math/math.h: Update #else and #endif comments.
6686 [__USE_MISC]: Remove redundant conditionals.
6687 * misc/sys/uio.h: Update #endif comments.
6688 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6689 * posix/glob.h [__USE_MISC]: Likewise.
6690 * posix/sys/types.h: Update #endif comments.
6691 [__USE_MISC]: Remove redundant conditionals.
6692 * posix/sys/wait.h: Update #endif comments.
6693 [__USE_MISC]: Remove redundant conditionals.
6694 * posix/unistd.h: Update #endif comments.
6695 [__USE_MISC]: Remove redundant conditionals.
6696 * pwd/pwd.h [__USE_GNU]: Likewise.
6697 [__USE_MISC]: Likewise.
6698 * resolv/netdb.h [__USE_GNU]: Likewise.
6699 * signal/signal.h: Update #endif comments.
6700 [__USE_MISC]: Remove redundant conditionals.
6701 * stdlib/stdlib.h: Update #else and #endif comments.
6702 [__USE_MISC]: Remove redundant conditionals.
6703 [__USE_GNU]: Likewise.
6704 * string/bits/string2.h [__USE_MISC]: Likewise.
6705 * string/string.h: Update #endif comments.
6706 [__USE_MISC]: Remove redundant conditionals.
6707 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6709 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6710 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6711 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6713 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6715 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6717 [__USE_MISC]: Remove redundant conditionals.
6718 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6719 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6720 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6721 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6722 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6724 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6725 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6727 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6728 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6730 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6732 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6733 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6735 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6737 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6738 * sysdeps/x86/bits/string.h: Update #endif comments.
6739 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6741 * time/sys/time.h: Update #endif comments.
6742 * time/time.h: Likewise.
6743 [__USE_MISC]: Remove redundant conditionals.
6745 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6748 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6750 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6752 * Versions.def (librt): Add GLIBC_2.17.
6754 2014-02-21 Adam Conrad <adconrad@0c3.net>
6756 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6757 synonym for _SYS_AUXV_H to allow direct inclusion.
6758 * sysdeps/sparc/bits/hwcap.h: Likewise.
6759 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6760 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6761 * sysdeps/sparc/sysdep.h: Likewise.
6763 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6765 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6767 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6769 * benchtests/bench-strrchr.c: Print length instead of position.
6771 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6774 * sysdeps/unix/sysv/linux/kernel-features.h
6775 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6776 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6777 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6778 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6780 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6781 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6782 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6783 (__ASSUME_SENDMMSG): Define instead of using previous
6784 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6785 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6786 (__ASSUME_SENDMMSG_SYSCALL): Define.
6787 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6788 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6790 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6791 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6793 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6794 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6796 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6797 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6798 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6799 [__ASSUME_SENDMMSG]: Change conditionals to
6800 [__ASSUME_SENDMMSG_SOCKETCALL].
6801 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6802 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6804 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6805 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6807 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6808 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6809 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6810 [!__ASSUME_SENDMMSG]: Change conditional to
6811 [!__ASSUME_SENDMMSG_SOCKETCALL].
6812 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6813 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6817 * sysdeps/unix/sysv/linux/kernel-features.h
6818 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6819 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6820 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6821 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6822 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6823 [__i386__ || __sparc__]
6824 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6825 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6826 (__ASSUME_RECVMMSG): Define instead of using previous
6827 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6828 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6829 (__ASSUME_RECVMMSG_SYSCALL): Define.
6830 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6831 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6833 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6834 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6836 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6837 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6839 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6840 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6841 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6842 [__ASSUME_RECVMMSG]: Change condition to
6843 [__ASSUME_RECVMMSG_SOCKETCALL].
6844 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6845 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6847 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6848 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6849 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6851 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6852 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6853 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6854 [!__ASSUME_RECVMMSG]: Change condition to
6855 [!__ASSUME_RECVMMSG_SOCKETCALL].
6856 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6857 (__ASSUME_RECVMMSG_SYSCALL): Define.
6860 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6861 __powerpc__ || __s390__ || __sh__ || __sparc__]
6862 (__ASSUME_SOCKETCALL): Define.
6863 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6864 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6865 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6866 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6867 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6868 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6869 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6870 (__ASSUME_ACCEPT4): Define instead of using previous
6871 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6872 __powerpc__ || __sparc__ || __s390__)] condition.
6873 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6874 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6875 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6876 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6877 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6878 [!__ASSUME_ACCEPT4]: Change condition to
6879 [!__ASSUME_ACCEPT4_SOCKETCALL].
6880 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6881 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6882 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6883 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6884 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6885 __ASSUME_ACCEPT4_SYSCALL.
6886 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6887 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6888 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6889 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6890 __ASSUME_ACCEPT4_SYSCALL.
6891 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6892 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6893 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6894 [__ASSUME_ACCEPT4]: Change condition to
6895 [__ASSUME_ACCEPT4_SOCKETCALL].
6896 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6897 (__ASSUME_SOCKETCALL): Define.
6898 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6899 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6900 (__ASSUME_SOCKETCALL): Define.
6901 (__ASSUME_ACCEPT4): Remove.
6902 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6904 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6905 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6907 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6908 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6910 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6912 (HWCAP_ARM_LPAE): Likewise.
6913 (HWCAP_ARM_EVTSTRM): Likewise.
6914 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6915 Add vpfd32, lpae and evtstrm.
6916 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6919 2014-02-19 Joseph Myers <joseph@codesourcery.com>
6921 * math/auto-libm-test-in: Add tests of clog10.
6922 * math/auto-libm-test-out: Regenerated.
6923 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6924 * sysdeps/i386/fpu/libm-test-ulps: Update.
6925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6927 2014-02-18 Andreas Schwab <schwab@suse.de>
6930 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6931 Store non-zero if the second buffer was newly allocated.
6932 (send_dg): Likewise.
6933 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6934 to send_vc and send_dg.
6935 (res_nsend): Pass NULL for ansp2_malloced.
6936 * resolv/res_query.c (__libc_res_nquery): Add parameter
6937 answerp2_malloced and pass it down to __libc_res_nsend.
6938 (res_nquery): Pass additional NULL to __libc_res_nquery.
6939 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6940 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6941 second answer buffer if answerp2_malloced was set.
6942 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6943 (__libc_res_nquerydomain): Add parameter
6944 answerp2_malloced and pass it down to __libc_res_nquery.
6945 (res_nquerydomain): Pass additional NULL to
6946 __libc_res_nquerydomain.
6947 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6948 additional NULL to __libc_res_nsend and __libc_res_nquery.
6949 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6950 additional NULL to __libc_res_nsearch.
6951 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6952 parameter of __libc_res_nsearch to check for separately allocated
6954 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6956 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6957 additional NULL to __libc_res_nquery.
6958 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6960 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6961 * include/resolv.h: Update prototypes of __libc_res_nquery,
6962 __libc_res_nsearch, __libc_res_nsend.
6964 2014-02-18 Joseph Myers <joseph@codesourcery.com>
6966 * math/auto-libm-test-in: Add tests of fma.
6967 * math/auto-libm-test-out: Regenerated.
6968 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6969 (fma_towardzero_test_data): Likewise.
6970 (fma_downward_test_data): Likewise.
6971 (fma_upward_test_data): Likewise.
6972 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6974 (rounding_modes): Add values for new field.
6975 (func_calc_method): Add value mpfr_fff_f.
6976 (func_calc_desc): Add mpfr_fff_f union field.
6977 (test_function): Add field exact_args.
6978 (FUNC): Add macro argument EXACT_ARGS.
6979 (FUNC_mpfr_f_f): Update call to FUNC.
6980 (FUNC_mpfr_f_f): Likewise.
6981 (FUNC_mpfr_ff_f): Likewise.
6982 (FUNC_mpfr_if_f): Likewise.
6983 (FUNC_mpc_c_f): Likewise.
6984 (FUNC_mpc_c_c): Likewise.
6985 (test_functions): Add fma. Update calls to FUNC.
6986 (handle_input_arg): Add argument exact_args.
6987 (add_test): Update call to handle_input_arg.
6988 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6989 (output_for_one_input_case): Update call to calc_generic_results.
6990 Recalculate exact zero results in each rounding mode.
6992 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6993 non-negative before setting low bit.
6994 * math/auto-libm-test-in: Mark one asin test possibly having
6996 * math/auto-libm-test-out: Regenerated.
6997 * sysdeps/i386/fpu/libm-test-ulps: Update.
6998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7000 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
7002 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7003 * sysdeps/unix/sysv/linux/microblaze: Move directory from
7004 ports/sysdeps/unix/sysv/linux/microblaze.
7005 * README: Add missing listing for microblaze*-*-linux-gnu.
7007 2014-02-16 Mike Frysinger <vapier@gentoo.org>
7009 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7010 * sysdeps/unix/sysv/linux/ia64: Move directory from
7011 ports/sysdeps/unix/sysv/linux/ia64.
7012 * README: Update listing for ia64-*-linux-gnu.
7014 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
7015 Joseph Myers <joseph@codesourcery.com>
7017 * Makeconfig (test-name): New variable.
7018 (evaluate-test): Likewise.
7019 * Makerules (do-test-clean): Remove .test-result files.
7020 (common-mostlyclean): Likewise.
7021 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7022 * scripts/evaluate-test.sh: New file.
7024 2014-02-14 Joseph Myers <joseph@codesourcery.com>
7026 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7027 separate $(objpfx)tst-fopenloc-cmp.out and
7028 $(objpfx)tst-fopenloc-mem.out targets.
7029 (tests): Update dependencies.
7030 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7031 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7032 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7033 (tst-rxspencer-no-utf8-ARGS): New variable.
7034 (tst-rxspencer-no-utf8-ENV): Likewise.
7035 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7036 instead of $(objpfx)tst-rxspencer-mem.
7037 ($(objpfx)tst-rxspencer-mem): Change target to
7038 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
7039 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7040 * posix/tst-rxspencer-no-utf8.c: New file.
7042 * elf/Makefile ($(objpfx)order.out): Remove rule.
7043 [$(run-built-tests) = yes] (tests): Depend on
7044 $(objpfx)order-cmp.out.
7045 ($(objpfx)order-cmp.out): New rule.
7046 [$(run-built-tests) = yes] (tests): Depend on
7047 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7048 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7049 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7050 $(objpfx)tst-array5-static-cmp.out.
7051 ($(objpfx)tst-array1.out): Remove rule.
7052 ($(objpfx)tst-array1-cmp.out): New rule.
7053 ($(objpfx)tst-array1-static.out): Remove rule.
7054 ($(objpfx)tst-array1-static-cmp.out): New rule.
7055 ($(objpfx)tst-array2.out): Remove rule.
7056 ($(objpfx)tst-array2-cmp.out): New rule.
7057 ($(objpfx)tst-array3.out): Remove rule.
7058 ($(objpfx)tst-array3-cmp.out): New rule.
7059 ($(objpfx)tst-array4.out): Remove rule.
7060 ($(objpfx)tst-array4-cmp.out): New rule.
7061 ($(objpfx)tst-array5.out): Remove rule.
7062 ($(objpfx)tst-array5-cmp.out): New rule.
7063 ($(objpfx)tst-array5-static.out): Remove rule.
7064 ($(objpfx)tst-array5-static-cmp.out): New rule.
7065 [$(run-built-tests) = yes] (tests): Depend on
7066 $(objpfx)order2-cmp.out.
7067 ($(objpfx)order2.out): Remove rule.
7068 ($(objpfx)order2-cmp.out): New rule.
7069 ($(objpfx)tst-initorder.out): Remove rule.
7070 [$(run-built-tests) = yes] (tests): Depend on
7071 $(objpfx)tst-initorder-cmp.out.
7072 ($(objpfx)tst-initorder-cmp.out): New rule.
7073 ($(objpfx)tst-initorder2.out): Remove rule.
7074 [$(run-built-tests) = yes] (tests): Depend on
7075 $(objpfx)tst-initorder2-cmp.out.
7076 ($(objpfx)tst-initorder2-cmp.out): New rule.
7077 [$(run-built-tests) = yes] (tests): Depend on
7078 $(objpfx)tst-unused-dep-cmp.out.
7079 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7080 ($(objpfx)tst-unused-dep-cmp.out): New rule.
7081 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7082 on $(objpfx)tst-setvbuf1-cmp.out.
7083 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7084 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7085 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7086 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7087 ($(objpfx)tst-svc.out): Remove rule.
7088 ($(objpfx)tst-svc-cmp.out): New rule.
7090 2014-02-13 Joseph Myers <joseph@codesourcery.com>
7092 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7093 * ctype/ctype.h [__USE_MISC]: Likewise.
7094 * dirent/dirent.h [__USE_MISC]: Likewise.
7095 * grp/grp.h [__USE_MISC]: Likewise.
7096 * io/fcntl.h [__USE_MISC]: Likewise.
7097 * io/sys/stat.h [__USE_MISC]: Likewise.
7098 * libio/stdio.h [__USE_MISC]: Likewise.
7099 * posix/unistd.h [__USE_MISC]: Likewise.
7100 * pwd/pwd.h [__USE_MISC]: Likewise.
7101 * stdlib.h [__USE_MISC]: Likewise.
7102 * string/bits/string2.h [__USE_MISC]: Likewise.
7103 * string/string.h [__USE_MISC]: Likewise.
7104 * time/time.h [__USE_MISC]: Likewise.
7106 2014-02-13 Andreas Schwab <schwab@suse.de>
7109 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7110 second answer buffer if it was separately allocated.
7112 2014-02-12 Joseph Myers <joseph@codesourcery.com>
7114 * sysdeps/mips/math-tests.h: Include <features.h>.
7115 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7116 (ROUNDING_TESTS_long_double): Do not define.
7117 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7118 (EXCEPTION_TESTS_long_double): Likewise.
7119 * sysdeps/mips/mips64/libm-test-ulps: Update.
7121 * include/features.h (__USE_BSD): Remove macro definitions.
7122 (__USE_SVID): Likewise.
7123 (_BSD_SOURCE): Likewise.
7124 (_SVID_SOURCE): Likewise.
7125 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7126 from definition of _DEFAULT_SOURCE.
7127 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7129 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7130 * bits/mman.h [__USE_BSD]: Likewise.
7131 * bits/termios.h [__USE_BSD]: Likewise.
7132 * bits/waitstatus.h [__USE_BSD]: Likewise.
7133 * ctype/ctype.h [__USE_SVID]: Likewise.
7134 * dirent/dirent.h [__USE_BSD]: Likewise.
7135 * grp/grp.h [__USE_SVID]: Likewise.
7136 [__USE_BSD]: Likewise.
7137 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7138 * io/fcntl.h [__USE_BSD]: Likewise.
7139 * io/ftw.h [__USE_BSD]: Likewise.
7140 * io/sys/stat.h [__USE_BSD]: Likewise.
7141 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7142 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7143 * libio/stdio.h [__USE_SVID]: Likewise.
7144 [__USE_BSD]: Likewise.
7145 * math/math.h [__USE_SVID]: Likewise.
7146 [__USE_BSD]: Likewise.
7147 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7148 * misc/bits/syslog.h [__USE_BSD]: Likewise.
7149 * misc/search.h [__USE_SVID]: Likewise.
7150 * misc/sys/mman.h [__USE_BSD]: Likewise.
7151 * misc/sys/syslog.h [__USE_BSD]: Likewise.
7152 * misc/sys/uio.h [__USE_BSD]: Likewise.
7153 * posix/bits/unistd.h [__USE_BSD]: Likewise.
7154 * posix/glob.h [__USE_BSD]: Likewise.
7155 * posix/regex.h [__USE_BSD]: Likewise.
7156 * posix/sys/types.h [__USE_BSD]: Likewise.
7157 [__USE_SVID]: Likewise.
7158 * posix/sys/utsname.h [__USE_SVID]: Likewise.
7159 * posix/sys/wait.h [__USE_BSD]: Likewise.
7160 [__USE_SVID]: Likewise.
7161 * posix/unistd.h [__USE_BSD]: Likewise.
7162 [__USE_SVID]: Likewise.
7163 * pwd/pwd.h [__USE_SVID]: Likewise.
7164 * resolv/netdb.h [__USE_BSD]: Likewise.
7165 * setjmp/setjmp.h [__USE_BSD]: Likewise.
7166 * signal/signal.h [__USE_BSD]: Likewise.
7167 [__USE_SVID]: Likewise.
7168 * socket/sys/socket.h [__USE_BSD]: Likewise.
7169 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7170 * stdlib/stdlib.h [__USE_BSD]: Likewise.
7171 [__USE_SVID]: Likewise.
7172 * string/bits/string2.h [__USE_BSD]: Likewise.
7173 [__USE_SVID]: Likewise.
7174 * string/bits/string3.h [__USE_BSD]: Likewise.
7175 * string/endian.h [__USE_BSD]: Likewise.
7176 * string/string.h [__USE_SVID]: Likewise.
7177 [__USE_BSD]: Likewise.
7178 * string/strings.h [__USE_BSD]: Likewise.
7179 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7180 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7181 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7182 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7183 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7184 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7186 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7188 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7189 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7191 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7192 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7194 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7196 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7197 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7198 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7200 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7202 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7203 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7204 * termios/termios.h [__USE_BSD]: Likewise.
7205 * time/sys/time.h [__USE_BSD]: Likewise.
7206 * time/time.h [__USE_BSD]: Likewise.
7207 [__USE_SVID]: Likewise.
7209 * Makefile (subdir_targets): Remove subdir_lint.out.
7211 * stdio-common/Makefile (do-tst-unbputc): Remove target.
7212 (do-tst-printf): Likewise.
7213 (tests): Depend directly on $(objpfx)tst-unbputc.out and
7214 $(objpfx)tst-printf.out.
7216 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7218 * Makerules (check-abi-%): Change target to
7219 $(objpfx)check-abi-%.out.
7220 (check-abi target): Update dependencies.
7221 (check-abi-pattern variable): Redirect output of diff to $@.
7222 (check-abi variable): Likewise.
7223 * elf/Makefile (check-abi): Update dependencies.
7225 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7227 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7228 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7230 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7231 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7232 value has largest subnormal exponent.
7233 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7234 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7235 * sysdeps/aarch64/soft-fp/sfp-machine.h
7236 (_FP_TININESS_AFTER_ROUNDING): New macro.
7237 * sysdeps/alpha/soft-fp/sfp-machine.h
7238 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7239 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7241 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7242 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7243 * sysdeps/mips/soft-fp/sfp-machine.h
7244 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7245 * sysdeps/powerpc/soft-fp/sfp-machine.h
7246 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7247 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7249 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7250 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7251 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7252 (_FP_TININESS_AFTER_ROUNDING): Likewise.
7253 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7256 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
7259 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7262 2014-02-12 Richard Henderson <rth@redhat.com>
7264 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7265 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7266 * sysdeps/unix/sysv/linux/alpha: Move directory from
7267 ports/sysdeps/unix/sysv/linux/alpha.
7268 * README: Update listing for alpha-*-linux-gnu.
7270 2014-02-11 Joseph Myers <joseph@codesourcery.com>
7272 * include/features.h: Update comment documenting feature test
7274 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
7276 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7277 (_SVID_SOURCE): Likewise.
7278 (_DEFAULT_SOURCE): Update description of default features.
7279 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7281 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7282 (S_ISVTX): Likewise.
7283 * manual/math.texi (Mathematical Constants): Likewise.
7284 * manual/signal.texi (Interrupted Primitives): Likewise.
7285 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7286 * math/test-matherr.c (_SVID_SOURCE): Do not define.
7287 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7288 Don't refer to _SVID_SOURCE in warning text.
7290 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7292 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7294 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7295 * sysdeps/mips/dl-lookup.c: Remove.
7296 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7298 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
7301 * math/auto-libm-test-in: Add testcase for expl.
7302 * math/auto-libm-test-out: Regenerate.
7303 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7304 calculation of unsafe.
7305 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7307 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
7309 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7310 * sysdeps/unix/sysv/linux/aarch64: Move directory from
7311 ports/sysdeps/unix/sysv/linux/aarch64.
7312 * README: Update listing for aarch64*-*-linux-gnu.
7314 2014-02-11 Will Newton <will.newton@linaro.org>
7316 * manual/probes.texi (Mathematical Function Probes): Use
7317 "triggered" instead of "hit".
7319 * manual/probes.texi (Internal Probes): Add documentation
7320 of setjmp, longjmp and longjmp_target probes.
7322 * include/stap-probe.h: Add comment about probe argument
7325 * malloc/mtrace.c (attribute_hidden): Remove unused macro
7326 definition. (tr_where, tr_freehook, tr_mallochook,
7327 tr_reallochook, tr_memalignhook): Use ANSI protoype.
7329 2014-02-11 David S. Miller <davem@davemloft.net>
7331 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7332 processing int_tests.
7334 2014-02-10 Joseph Myers <joseph@codesourcery.com>
7336 * sysdeps/mips: Move directory from ports/sysdeps/mips.
7337 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7338 * sysdeps/unix/sysv/linux/mips: Move directory from
7339 ports/sysdeps/unix/sysv/linux/mips.
7340 * README: Update listing for mips-*-linux-gnu and
7343 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
7345 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7346 * sysdeps/unix/sysv/linux/m68k: Move directory from
7347 ports/sysdeps/unix/sysv/linux/m68k.
7348 * README: Update listing for m68k-*-linux-gnu.
7350 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
7352 * sysdeps/tile: Move directory from ports/sysdeps/tile.
7353 * sysdeps/unix/sysv/linux/generic: Move directory from
7354 ports/sysdeps/unix/sysv/linux/generic.
7355 * sysdeps/unix/sysv/linux/tile: Move directory from
7356 ports/sysdeps/unix/sysv/linux/tile.
7357 * README: Update listing for tile*-*-linux-gnu.
7359 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
7361 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7363 * benchtests/bench-memmem.c (simple_memmem): Likewise.
7364 * catgets/open_catalog.c (__open_catalog): Likewise.
7365 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7366 * debug/confstr_chk.c: Likewise.
7367 * debug/fread_chk.c (__fread_chk): Likewise.
7368 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7369 * debug/getgroups_chk.c: Likewise.
7370 * debug/mbsnrtowcs_chk.c: Likewise.
7371 * debug/mbsrtowcs_chk.c: Likewise.
7372 * debug/mbstowcs_chk.c: Likewise.
7373 * debug/memcpy_chk.c: Likewise.
7374 * debug/memmove_chk.c: Likewise.
7375 * debug/mempcpy_chk.c: Likewise.
7376 * debug/memset_chk.c: Likewise.
7377 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7378 * debug/strcat_chk.c (__strcat_chk): Likewise.
7379 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7380 * debug/strncat_chk.c (__strncat_chk): Likewise.
7381 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7382 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7383 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7384 * debug/wcpncpy_chk.c: Likewise.
7385 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7386 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7387 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7388 * debug/wcsncpy_chk.c: Likewise.
7389 * debug/wcsnrtombs_chk.c: Likewise.
7390 * debug/wcsrtombs_chk.c: Likewise.
7391 * debug/wcstombs_chk.c: Likewise.
7392 * debug/wmemcpy_chk.c: Likewise.
7393 * debug/wmemmove_chk.c: Likewise.
7394 * debug/wmempcpy_chk.c: Likewise.
7395 * debug/wmemset_chk.c: Likewise.
7396 * dirent/scandirat.c (SCANDIRAT): Likewise.
7397 * dlfcn/dladdr1.c (dladdr1): Likewise.
7398 * dlfcn/dladdr.c (dladdr): Likewise.
7399 * dlfcn/dlclose.c (dlclose_doit): Likewise.
7400 * dlfcn/dlerror.c (__dlerror): Likewise.
7401 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7402 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7403 * dlfcn/dlopen.c (dlopen_doit): Likewise.
7404 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7405 * dlfcn/dlsym.c (dlsym_doit): Likewise.
7406 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7407 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7408 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7410 * elf/dl-conflict.c: Likewise.
7411 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7412 * elf/dl-dst.h: Likewise.
7413 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7414 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7415 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7416 * elf/dl-init.c (call_init, _dl_init): Likewise.
7417 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7418 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7419 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7421 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7423 * elf/dl-minimal.c (__libc_memalign): Likewise.
7424 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7425 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7426 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7427 * elf/dl-sym.c (do_sym): Likewise.
7428 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7429 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7430 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7431 * elf/dl-writev.h (_dl_writev): Likewise.
7432 * elf/ldconfig.c (search_dir): Likewise.
7433 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7434 (dl_main): Likewise.
7435 * elf/setup-vdso.h (setup_vdso): Likewise.
7436 * grp/compat-initgroups.c (compat_call): Likewise.
7437 * grp/fgetgrent.c (fgetgrent): Likewise.
7438 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7439 * grp/putgrent.c (putgrent): Likewise.
7440 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7442 * hurd/hurdinit.c: Likewise.
7443 * iconvdata/8bit-gap.c (struct): Likewise.
7444 * iconvdata/ansi_x3.110.c : Likewise.
7445 * iconvdata/big5.c : Likewise.
7446 * iconvdata/big5hkscs.c : Likewise.
7447 * iconvdata/cp1255.c: Likewise.
7448 * iconvdata/cp1258.c : Likewise.
7449 * iconvdata/cp932.c : Likewise.
7450 * iconvdata/euc-cn.c: Likewise.
7451 * iconvdata/euc-jisx0213.c : Likewise.
7452 * iconvdata/euc-jp.c: Likewise.
7453 * iconvdata/euc-jp-ms.c : Likewise.
7454 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7455 * iconvdata/gb18030.c : Likewise.
7456 * iconvdata/gbbig5.c (const): Likewise.
7457 * iconvdata/gbgbk.c: Likewise.
7458 * iconvdata/gbk.c : Likewise.
7459 * iconvdata/ibm1364.c : Likewise.
7460 * iconvdata/ibm930.c : Likewise.
7461 * iconvdata/ibm932.c: Likewise.
7462 * iconvdata/ibm933.c : Likewise.
7463 * iconvdata/ibm935.c : Likewise.
7464 * iconvdata/ibm937.c : Likewise.
7465 * iconvdata/ibm939.c : Likewise.
7466 * iconvdata/ibm943.c: Likewise.
7467 * iconvdata/iso_11548-1.c: Likewise.
7468 * iconvdata/iso-2022-cn.c : Likewise.
7469 * iconvdata/iso-2022-cn-ext.c : Likewise.
7470 * iconvdata/iso-2022-jp-3.c: Likewise.
7471 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7472 * iconvdata/iso-2022-kr.c : Likewise.
7473 * iconvdata/iso646.c (gconv_end): Likewise.
7474 * iconvdata/iso_6937-2.c : Likewise.
7475 * iconvdata/iso_6937.c : Likewise.
7476 * iconvdata/iso8859-1.c: Likewise.
7477 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7478 * iconvdata/shift_jisx0213.c : Likewise.
7479 * iconvdata/sjis.c : Likewise.
7480 * iconvdata/t.61.c : Likewise.
7481 * iconvdata/tcvn5712-1.c : Likewise.
7482 * iconvdata/tscii.c: Likewise.
7483 * iconvdata/uhc.c : Likewise.
7484 * iconvdata/unicode.c (gconv_end): Likewise.
7485 * iconvdata/utf-16.c (gconv_end): Likewise.
7486 * iconvdata/utf-32.c (gconv_end): Likewise.
7487 * iconvdata/utf-7.c (base64): Likewise.
7488 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7489 * iconv/gconv_close.c (__gconv_close): Likewise.
7490 * iconv/gconv_open.c (__gconv_open): Likewise.
7491 * iconv/gconv_simple.c (internal_ucs4_loop_single)
7492 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7493 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7494 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7495 (ucs4le_internal_loop_single): Likewise.
7496 * iconv/iconv.c (iconv): Likewise.
7497 * iconv/iconv_close.c: Likewise.
7498 * iconv/loop.c (SINGLE): Likewise.
7499 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7500 * include/atomic.h: Likewise.
7501 * inet/inet6_option.c (option_alloc): Likewise.
7502 * intl/bindtextdom.c (set_binding_values): Likewise.
7503 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7504 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7505 * intl/localealias.c (read_alias_file): Likewise.
7506 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7507 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7508 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7509 * libio/fmemopen.c (fmemopen): Likewise.
7510 * libio/iofgets.c (_IO_fgets): Likewise.
7511 * libio/iofgets_u.c (fgets_unlocked): Likewise.
7512 * libio/iofgetws.c (fgetws): Likewise.
7513 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7514 * libio/iogetdelim.c (_IO_getdelim): Likewise.
7515 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7516 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7517 * locale/findlocale.c (_nl_find_locale): Likewise.
7518 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7519 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7521 * locale/setlocale.c (setlocale): Likewise.
7522 * login/programs/pt_chown.c (main): Likewise.
7523 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7524 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7525 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7526 (mmap, mmap64, mremap, munmap): Likewise.
7527 * math/e_exp2l.c: Likewise.
7528 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7529 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7530 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7531 * math/s_catan.c (__catan): Likewise.
7532 * math/s_catanf.c (__catanf): Likewise.
7533 * math/s_catanh.c (__catanh): Likewise.
7534 * math/s_catanhf.c (__catanhf): Likewise.
7535 * math/s_catanhl.c (__catanhl): Likewise.
7536 * math/s_catanl.c (__catanl): Likewise.
7537 * math/s_ccosh.c (__ccosh): Likewise.
7538 * math/s_ccoshf.c (__ccoshf): Likewise.
7539 * math/s_ccoshl.c (__ccoshl): Likewise.
7540 * math/s_cexp.c (__cexp): Likewise.
7541 * math/s_cexpf.c (__cexpf): Likewise.
7542 * math/s_cexpl.c (__cexpl): Likewise.
7543 * math/s_clog10.c (__clog10): Likewise.
7544 * math/s_clog10f.c (__clog10f): Likewise.
7545 * math/s_clog10l.c (__clog10l): Likewise.
7546 * math/s_clog.c (__clog): Likewise.
7547 * math/s_clogf.c (__clogf): Likewise.
7548 * math/s_clogl.c (__clogl): Likewise.
7549 * math/s_csin.c (__csin): Likewise.
7550 * math/s_csinf.c (__csinf): Likewise.
7551 * math/s_csinh.c (__csinh): Likewise.
7552 * math/s_csinhf.c (__csinhf): Likewise.
7553 * math/s_csinhl.c (__csinhl): Likewise.
7554 * math/s_csinl.c (__csinl): Likewise.
7555 * math/s_csqrt.c (__csqrt): Likewise.
7556 * math/s_csqrtf.c (__csqrtf): Likewise.
7557 * math/s_csqrtl.c (__csqrtl): Likewise.
7558 * math/s_ctan.c (__ctan): Likewise.
7559 * math/s_ctanf.c (__ctanf): Likewise.
7560 * math/s_ctanh.c (__ctanh): Likewise.
7561 * math/s_ctanhf.c (__ctanhf): Likewise.
7562 * math/s_ctanhl.c (__ctanhl): Likewise.
7563 * math/s_ctanl.c (__ctanl): Likewise.
7564 * math/w_pow.c: Likewise.
7565 * math/w_powf.c: Likewise.
7566 * math/w_powl.c: Likewise.
7567 * math/w_scalb.c (sysv_scalb): Likewise.
7568 * math/w_scalbf.c (sysv_scalbf): Likewise.
7569 * math/w_scalbl.c (sysv_scalbl): Likewise.
7570 * misc/error.c (error_tail): Likewise.
7571 * misc/pselect.c (__pselect): Likewise.
7572 * nis/nis_callback.c (__nis_create_callback): Likewise.
7573 * nis/nis_call.c (__nisfind_server): Likewise.
7574 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7575 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7576 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7577 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7578 * nis/nis_lookup.c (nis_lookup): Likewise.
7579 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7580 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7581 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7582 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7583 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7584 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7585 * nis/nss_compat/compat-initgroups.c (add_group)
7586 (internal_getgrent_r): Likewise.
7587 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7588 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7589 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7590 (internal_getspnam_r): Likewise.
7591 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7592 (_nss_nis_getaliasbyname_r): Likewise.
7593 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7594 (_nss_nis_getntohost_r): Likewise.
7595 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7596 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7597 (_nss_nis_getgrgid_r): Likewise.
7598 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7599 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7600 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7601 (_nss_nis_gethostbyname4_r): Likewise.
7602 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7603 (initgroups_netid): Likewise.
7604 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7605 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7606 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7607 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7608 (_nss_nis_getprotobynumber_r): Likewise.
7609 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7610 (_nss_nis_getsecretkey): Likewise.
7611 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7612 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7613 (_nss_nis_getpwuid_r): Likewise.
7614 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7615 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7616 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7617 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7618 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7619 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7620 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7622 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7623 (_nss_nisplus_getntohost_r): Likewise.
7624 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7625 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7626 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7627 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7629 * nis/nss_nisplus/nisplus-initgroups.c
7630 (_nss_nisplus_initgroups_dyn): Likewise.
7631 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7632 (_nss_nisplus_getnetbyaddr_r): Likewise.
7633 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7634 (_nss_nisplus_getprotobynumber_r): Likewise.
7635 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7636 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7637 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7639 * nis/nss_nisplus/nisplus-service.c
7640 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7641 (_nss_nisplus_getservbyport_r): Likewise.
7642 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7643 (_nss_nisplus_getspnam_r): Likewise.
7644 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7646 * nscd/aicache.c (addhstaiX): Likewise.
7647 * nscd/cache.c (cache_search, prune_cache): Likewise.
7648 * nscd/connections.c (register_traced_file, send_ro_fd)
7649 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7650 (main_loop_epoll): Likewise.
7651 * nscd/grpcache.c (addgrbyX): Likewise.
7652 * nscd/hstcache.c (addhstbyX): Likewise.
7653 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7654 * nscd/mem.c (gc, mempool_alloc): Likewise.
7655 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7656 (addinnetgrX): Likewise.
7657 * nscd/nscd-client.h (__nscd_acquire_maplock)
7658 (__nscd_drop_map_ref): Likewise.
7659 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7660 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7661 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7663 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7664 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7665 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7666 (__nscd_get_map_ref): Likewise.
7667 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7668 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7670 * nscd/pwdcache.c (addpwbyX): Likewise.
7671 * nscd/selinux.c (preserve_capabilities): Likewise.
7672 * nscd/servicescache.c (addservbyX): Likewise.
7673 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7674 * posix/fnmatch.c (fnmatch): Likewise.
7675 * posix/getopt.c (_getopt_internal_r): Likewise.
7676 * posix/glob.c (glob, glob_in_dir): Likewise.
7677 * posix/wordexp.c (exec_comm_child): Likewise.
7678 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7679 (getanswer_r, gaih_getanswer_slice): Likewise.
7680 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7681 * resolv/res_init.c: Likewise.
7682 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7683 * resolv/res_query.c (__libc_res_nquery): Likewise.
7684 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7686 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7687 * stdio-common/perror.c (perror): Likewise.
7688 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7689 * stdio-common/tmpnam.c (tmpnam): Likewise.
7690 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7691 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7692 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7694 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7695 * stdlib/putenv.c (putenv): Likewise.
7696 * stdlib/setenv.c (__add_to_environ): Likewise.
7697 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7698 * stdlib/strtol_l.c (INTERNAL): Likewise.
7699 * string/memmem.c (memmem): Likewise.
7700 * string/strerror.c (strerror): Likewise.
7701 * string/strnlen.c (__strnlen): Likewise.
7702 * string/test-memmem.c (simple_memmem): Likewise.
7703 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7704 * sunrpc/pm_getport.c (__get_socket): Likewise.
7705 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7706 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7707 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7708 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7710 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7711 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7712 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7713 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7714 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7715 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7717 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7719 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7720 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7721 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7722 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7723 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7725 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7726 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7727 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7728 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7729 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7730 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7734 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7736 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7737 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7738 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7739 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7740 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7741 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7742 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7743 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7744 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7745 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7746 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7747 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7748 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7749 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7751 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7753 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7755 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7757 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7759 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7760 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7761 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7763 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7764 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7765 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7766 * sysdeps/posix/sleep.c: Likewise.
7767 * sysdeps/posix/tempname.c: Likewise.
7768 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7769 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7771 * sysdeps/powerpc/powerpc32/dl-machine.h
7772 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7773 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7774 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7775 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7776 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7778 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7779 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7780 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7781 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7782 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7783 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7784 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7785 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7786 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7787 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7788 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7789 (elf_machine_lazy_rel): Likewise.
7790 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7791 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7792 (elf_machine_lazy_rel): Likewise.
7793 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7794 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7795 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7796 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7797 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7798 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7799 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7802 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7803 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7804 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7805 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7806 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7807 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7808 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7809 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7810 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7811 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7812 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7814 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7815 (__posix_fallocate64_l64): Likewise.
7816 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7817 (posix_fallocate): Likewise.
7818 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7820 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7821 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7822 (getifaddrs_internal): Likewise.
7823 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7824 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7825 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7826 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7827 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7828 (__posix_fallocate64_l64): Likewise.
7829 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7831 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7832 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7833 (__get_clockfreq): Likewise.
7834 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7835 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7836 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7837 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7838 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7839 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7840 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7841 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7843 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7844 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7845 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7846 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7847 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7848 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7849 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7851 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7852 (posix_fallocate): Likewise.
7853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7854 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7855 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7856 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7857 (elf_machine_rela, elf_machine_rela_relative)
7858 (elf_machine_lazy_rel): Likewise.
7859 * time/asctime.c (asctime_internal): Likewise.
7860 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7861 * time/tzset.c (__tzset_parse_tz): Likewise.
7862 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7863 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7864 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7865 * wcsmbs/wcsmbsload.h: Likewise.
7868 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7870 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7871 (arena_get2): Remove THREAD_STATS conditionals.
7872 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7873 (__malloc_stats, int): Likewise.
7875 2014-02-08 Mike Frysinger <vapier@gentoo.org>
7877 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7878 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7880 * manual/setjmp.texi: Fix typos/grammar errors.
7882 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7883 Only return early when n is <= 0. Delete unused return statement.
7885 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7886 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7887 * debug/tst-longjmp_chk3.c: New file.
7889 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7890 (test_main): Replace code with set_fortify_handler call.
7891 * debug/test-strcpy_chk.c: Likewise.
7892 * debug/tst-chk1.c: Likewise.
7893 * debug/tst-longjmp_chk.c: Likewise.
7894 * test-skeleton.c: Include fcntl.h & paths.h
7895 (set_fortify_handler): Define.
7897 * debug/tst-longjmp_chk.c: Add header comment and include
7899 (do_test): Mark static.
7900 (TEST_FUNCTION): Define.
7902 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7903 (IP_PMTUDISC_INTERFACE): Likewise.
7904 (IP_MULTICAST_IF): Likewise.
7905 (IP_MULTICAST_TTL): Likewise.
7906 (IP_MULTICAST_LOOP): Likewise.
7907 (IP_ADD_MEMBERSHIP): Likewise.
7908 (IP_DROP_MEMBERSHIP): Likewise.
7909 (IP_UNBLOCK_SOURCE): Likewise.
7910 (IP_BLOCK_SOURCE): Likewise.
7911 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7912 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7913 (IP_MSFILTER): Likewise.
7914 (MCAST_JOIN_GROUP): Likewise.
7915 (MCAST_BLOCK_SOURCE): Likewise.
7916 (MCAST_UNBLOCK_SOURCE): Likewise.
7917 (MCAST_LEAVE_GROUP): Likewise.
7918 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7919 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7920 (MCAST_MSFILTER): Likewise.
7921 (IP_MULTICAST_ALL): Likewise.
7922 (IP_UNICAST_IF): Likewise.
7924 * timezone/Makefile: Delete $(have-ksh) check.
7925 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7926 * timezone/tzselect.ksh: Add +x mode bits.
7928 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7929 (ANON_INODE_FS_MAGIC): Likewise.
7930 (BDEVFS_MAGIC): Likewise.
7931 (BINFMTFS_MAGIC): Likewise.
7932 (BTRFS_TEST_MAGIC): Likewise.
7933 (CRAMFS_MAGIC_WEND): Likewise.
7934 (DEBUGFS_MAGIC): Likewise.
7935 (ECRYPTFS_SUPER_MAGIC): Likewise.
7936 (EXT3_SUPER_MAGIC): Likewise.
7937 (EXT4_SUPER_MAGIC): Likewise.
7938 (FUTEXFS_SUPER_MAGIC): Likewise.
7939 (HOSTFS_SUPER_MAGIC): Likewise.
7940 (HUGETLBFS_MAGIC): Likewise.
7941 (MINIX3_SUPER_MAGIC): Likewise.
7942 (MTD_INODE_FS_MAGIC): Likewise.
7943 (NILFS_SUPER_MAGIC): Likewise.
7944 (OPENPROM_SUPER_MAGIC): Likewise.
7945 (PIPEFS_MAGIC): Likewise.
7946 (PSTOREFS_MAGIC): Likewise.
7947 (QNX6_SUPER_MAGIC): Likewise.
7948 (RAMFS_MAGIC): Likewise.
7949 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7950 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7951 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7952 (SECURITYFS_MAGIC): Likewise.
7953 (SELINUX_MAGIC): Likewise.
7954 (SMACK_MAGIC): Likewise.
7955 (SOCKFS_MAGIC): Likewise.
7956 (SQUASHFS_MAGIC): Likewise.
7957 (STACK_END_MAGIC): Likewise.
7958 (TMPFS_MAGIC): Likewise.
7959 (USBDEVICE_SUPER_MAGIC): Likewise.
7960 (V9FS_MAGIC): Likewise.
7961 (XENFS_SUPER_MAGIC): Likewise.
7962 (CRAMFS_MAGIC): Fix typo in comment.
7963 (EXT2_SUPER_MAGIC): Update comment.
7964 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7966 2014-02-08 Joseph Myers <joseph@codesourcery.com>
7968 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7969 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7970 * sysdeps/unix/sysv/linux/arm: Move directory from
7971 ports/sysdeps/unix/sysv/linux/arm.
7972 * README: Update listing for arm-*-linux-gnueabi.
7974 * README: Remove mention of am33.
7976 2014-02-07 Roland McGrath <roland@hack.frob.com>
7978 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7979 than the comma operator, to avoid "rhs of comma has no effect"
7981 (__sigfillset, __sigandset, __sigorset): Likewise.
7982 * include/signal.h (__sigemptyset): Likewise.
7983 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7985 2014-02-07 Allan McRae <allan@archlinux.org>
7987 * version.h (RELEASE): Set to "development".
7988 (VERSION): Set to "2.19.90"
7989 * NEWS: Add 2.20 section.
7991 2014-02-06 Carlos O'Donell <carlos@redhat.com>
7994 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7996 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7998 * manual/contrib.texi: Update entry for Carlos O'Donell,
7999 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8001 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
8003 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8005 * sysdeps/unix/sysv/linux/kernel-features.h
8006 [__LINUX_KERNEL_VERSION >= 0x020621]
8007 (__ASSUME_PROC_PID_TASK_COMM): Define.
8009 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8012 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8013 conversion when destination buffer does not have enough space.
8014 * libio/tst-ftell-partial-wide.c: New test case.
8015 * libio/Makefile (tests): Add tst-ftell-partial-wide.
8017 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8018 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
8019 Leonard and Allan McRae.
8021 2014-02-04 David S. Miller <davem@davemloft.net>
8023 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8026 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8055 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8057 * nptl/shlib-versions: Change powerpc*le start to 2.17.
8058 * shlib-versions: Likewise.
8060 2014-02-04 Roland McGrath <roland@hack.frob.com>
8061 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8063 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8064 (abilist-pattern): New variable, set to %-le.abilist.
8066 * Makerules (abilist-pattern): New variable.
8067 (vpath): Use $(abilist-pattern) in place of %.abilist.
8068 (check-abi-% pattern rule): Likewise.
8069 (check-abi, update-abi): Likewise.
8071 2014-02-04 Eric Wong <normalperson@yhbt.net>
8073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8075 2014-02-03 Carlos O'Donell <carlos@redhat.com>
8077 * manual/startup.texi: Add next, previous, and top entries for
8078 the `Program Arguments' and `Environment Variables' nodes.
8080 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
8082 * manual/macros.texi: Add comments before MTASC-safety macros.
8084 * manual/users.texi: Document MTASC-safety properties.
8086 * manual/threads.texi (pthread_key_create, pthread_key_delete)
8087 (pthread_getspecific, pthread_setspecific): Format with
8088 @deftypefun, and add @safety note.
8089 * manual/signal.texi: Move comments that analyze the above
8090 functions to their home place.
8092 2014-02-03 Allan McRae <allan@archlinux.org>
8094 * po/sl.po: Update Slovenian translation from translation project.
8096 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
8098 * manual/time.texi (timegm): Add missing blank after @c.
8099 Reported by Joseph Myers <joseph@codesourcery.com>.
8101 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
8103 * manual/check-safety.sh: New.
8104 * manual/Makefile ($(objpfx)stamp-summary): Run it.
8106 * manual/terminal.texi: Document MTASC-safety properties.
8108 * manual/filesys.texi: Document MTASC-safety properties.
8110 * manual/errno.texi: Document MTASC-safety properties.
8112 * manual/intro.texi: Document safety identifiers and
8115 * manual/string.texi (wcstok): Fix prototype.
8116 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8118 * manual/time.texi: Document MTASC-safety properties.
8120 * manual/string.texi: Document MTASC-safety properties.
8122 * manual/threads.texi: Document MTASC-safety properties.
8124 * manual/stdio.texi: Document MTASC-safety properties.
8126 * manual/syslog.texi: Document MTASC-safety properties.
8128 * manual/sysinfo.texi: Document MTASC-safety properties.
8130 * manual/startup.texi: Document MTASC-safety properties.
8132 * manual/socket.texi: Document MTASC-safety properties.
8134 * manual/signal.texi: Document MTASC-safety properties.
8136 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
8138 * manual/setjmp.texi: Document MTASC-safety properties.
8140 * manual/search.texi: Document MTASC-safety properties.
8142 * manual/resource.texi: Document MTASC-safety properties.
8144 * manual/process.texi: Document MTASC-safety properties.
8146 * manual/platform.texi: Document MTASC-safety properties.
8148 * manual/pipe.texi: Document MTASC-safety properties.
8150 * manual/pattern.texi: Document MTASC-safety properties.
8152 * manual/message.texi: Document MTASC-safety properties.
8155 * manual/memory.texi: Document MTASC-safety properties.
8157 * manual/math.texi: Document MTASC-safety properties.
8159 * manual/locale.texi: Document MTASC-safety properties.
8161 * manual/llio.texi: Document MTASC-safety properties.
8163 * manual/libdl.texi: New.
8165 * manual/lang.texi: Document MTASC-safety properties.
8167 * manual/job.texi: Document MTASC-safety properties.
8169 * manual/getopt.texi: Document MTASC-safety properties.
8171 * manual/ctype.texi: Document MTASC-safety properties.
8173 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
8176 * csu/libc-tls.c (static_map): Remove variable.
8177 (__libc_setup_tls): Use main executable's link map for TLS data.
8178 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8179 casing for LM_ID_BASE and GL(dl_nns).
8180 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8181 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
8182 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8183 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8184 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8186 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8189 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
8191 * manual/debug.texi: Document MTASC-safety properties.
8193 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
8196 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8197 of __x86_64__ when disabling x87 inline functions.
8199 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
8201 * manual/charset.texi: Document MTASC-safety properties.
8203 * manual/crypt.texi: Document MTASC-safety properties.
8205 * manual/conf.texi: Document MTASC-safety properties.
8207 * manual/arith.texi: Document MTASC-safety properties.
8209 * manual/argp.texi: Document MTASC-safety properties.
8211 * manual/macros.texi: Introduce macros to document multi
8212 thread, asynchronous signal and asynchronous cancellation
8214 * manual/intro.texi: Introduce the properties themselves.
8216 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8218 * sysdeps/sh/sh4/Makefile: New file.
8220 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
8222 * math/gen-libm-test.pl ($srcdir): New variable.
8223 ($auto_input): Use it.
8225 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8228 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8229 access beyond array bounds when parsing netgroups file.
8231 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8232 the old buffer before realloc.
8234 2014-01-27 Allan McRae <allan@archlinux.org>
8236 * po/fr.po: Update French translation from translation project.
8238 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8240 * sysdeps/sh/libm-test-ulps: Regenerate.
8242 2014-01-24 David S. Miller <davem@davemloft.net>
8244 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8246 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8248 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8249 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8251 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8254 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8255 string pointers after reallocation.
8257 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8259 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8260 __SH4A__ instead of __SH_FPU_ANY__.
8262 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8264 * sysdeps/sh/fpu_control.h: New file.
8265 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8266 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8267 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8268 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8269 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8270 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8271 * sysdeps/sh/sys/ucontext.h: Remove.
8272 * sysdeps/sh/sys: Remove directory.
8274 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8276 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8277 s390/sys/ucontext.h.
8278 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8279 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8281 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
8284 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8286 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8289 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8290 Adjust the vDSO correctly for internal calls.
8291 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8293 2014-01-20 Allan McRae <allan@archlinux.org>
8295 * po/ca.po: Update Catalan translation from translation project.
8297 2014-01-16 Mike Frysinger <vapier@gentoo.org>
8299 * sysdeps/s390/sotruss-lib.c: New file.
8301 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8304 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8305 (__GI___gettimeofday): Alias for a different internal symbol to avoid
8306 local calls issues by not having a PLT stub required for IFUNC calls.
8307 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8309 2014-01-16 Joseph Myers <joseph@codesourcery.com>
8311 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8312 * math/test-fpucw-static.c: Likewise.
8314 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8317 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8319 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8321 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8322 implementation for powerpc.
8324 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
8327 * sysdeps/posix/system.c (__libc_system): Do not enable
8328 asynchronous cancellation.
8330 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8333 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8334 handling only for numbers special also in the IEEE case.
8336 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8338 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8340 2014-01-11 Allan McRae <allan@archlinux.org>
8342 * po/bg.po: Update Bulgarian translation from translation project.
8344 * po/de.po: Update German translation from translation project.
8346 2014-01-10 Roland McGrath <roland@hack.frob.com>
8348 * sysdeps/generic/gcc-compat.h: New file.
8350 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8352 * benchtests/asin-inputs: Correct slow inputs.
8353 * benchtests/acos-inputs: Likewise.
8355 2014-01-10 Allan McRae <allan@archlinux.org>
8357 * po:sv.po: Update Swedish translation from translation project.
8359 * po/vi.po: Update Vietnamese translation from translation project.
8361 * po/eo.po: Update Esperanto translation from translation project.
8363 * po/cs.po: Update Czech translation from translation project.
8365 * po/nl.po: Update Dutch translation from translation project.
8367 * po/pl.po: Update Polish translation from translation project.
8369 * po/ru.po: Update Russian translation from translation project.
8371 * po/uk.po: Update Ukrainian translation from translation project.
8373 2014-01-08 Brooks Moses <bmoses@google.com>
8375 * elf/dl-load.c: Fix comment typo.
8377 2014-01-08 Carlos O'Donell <carlos@redhat.com>
8379 * po/header.pot: Rename to...
8380 * po/pot.header: ... this.
8381 * po/Makefile: Use pot.header.
8383 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
8384 Maxim Kuvyrkov <maxim@kugelworks.com>
8387 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8388 SRC and DEST against LEN.
8390 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8393 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8395 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8397 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8401 2014-01-08 Joseph Myers <joseph@codesourcery.com>
8404 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8405 for large positive arguments.
8407 2014-01-07 Joseph Myers <joseph@codesourcery.com>
8409 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8411 * math/auto-libm-test-in: Mark various tests with
8412 xfail-rounding:ldbl-128ibm.
8413 * math/auto-libm-test-out: Regenerated.
8416 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8417 Increase overflow threshold.
8419 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
8422 * stdio-common/vfprintf.c: Check for integer overflow.
8424 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8426 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8427 the first argument and return value of __tls_get_addr_internal.
8429 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8431 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8432 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8434 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8436 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8437 * sysdeps/s390/rtld-global-offsets.sym: New file.
8438 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8440 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8441 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8442 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8444 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8445 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8451 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8452 halfs of GPRs for high_gprs contexts.
8453 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8454 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
8456 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8458 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8460 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8461 for high GPRs (uc_high_gprs) and for future extensions
8463 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8464 for future extensions (__reserved).
8465 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8467 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8468 SC_HIGHGPRS offset definition.
8469 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8470 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8472 * Versions.def: Add GLIBC_2.19 for libpthread.
8473 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8474 siglongjmp for libpthread with GLIBC_2.19 symver.
8475 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8476 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8477 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8478 * sysdeps/s390/__longjmp.c: New file.
8479 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8480 * sysdeps/s390/longjmp.c: New file.
8481 * sysdeps/s390/setjmp.S: New file.
8482 * sysdeps/s390/sigjmp.S: New file.
8483 * sysdeps/s390/v1-longjmp.c: New file.
8484 * sysdeps/s390/v1-setjmp.h: New file.
8485 * sysdeps/s390/v1-sigjmp.c: New file.
8486 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8487 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8489 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8490 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8491 versioned symbols for ____longjmp_chk.
8492 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8494 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8502 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8503 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8504 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8505 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8506 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8507 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8508 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8509 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8510 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8511 * sysdeps/s390/rtld-__longjmp.c: New file.
8512 * sysdeps/s390/rtld-setjmp.S: New file.
8514 2014-01-06 Joseph Myers <joseph@codesourcery.com>
8517 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8518 Return -__logl (x) for small positive arguments without evaluating
8521 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8523 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8525 (__ptrace_peeksiginfo_args): ... this.
8526 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8530 2014-01-06 Allan McRae <allan@archlinux.org>
8532 * inet/netinet/in.h: Fix typo in comment.
8534 2014-01-05 Andreas Jaeger <aj@suse.de>
8536 * sysdeps/i386/fpu/libm-test-ulps: Update.
8538 2014-01-05 Allan McRae <allan@archlinux.org>
8540 * po/libc.pot: Regenerated.
8542 * malloc/memusagestat.c: Fix gettext call formatting.
8544 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8546 * nscd/nscd.c: Improve usage() output.
8548 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8550 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8551 * sysdeps/unix/sysv/linux/configure: Regenerated.
8552 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8553 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8555 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8558 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8559 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8561 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8563 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8564 extra tokens at end of #undef directive.
8565 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8566 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8567 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8569 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8571 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8573 * math/auto-libm-test-in: Mark various tests with
8574 xfail-rounding:ldbl-128ibm.
8575 * math/auto-libm-test-out: Regenerated.
8577 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8580 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8581 numbers with subnormal high part when calculating exponent.
8584 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8588 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8590 (__ieee754_acoshl): Use __log1pl not __log1p.
8592 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8594 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8595 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8596 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8597 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8598 (reused_arena, arena_get2): Convert to GNU style.
8599 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8600 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8601 (memalign_check, __malloc_set_state): Likewise.
8602 * malloc/mallocbug.c (main): Likewise.
8603 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8604 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8605 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8606 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8607 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8608 (__posix_memalign, malloc_info): Likewise.
8609 * malloc/malloc.h: Likewise.
8610 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8611 (mallochook, memalignhook, reallochook, mabort): Likewise.
8612 * malloc/mcheck.h: Likewise.
8613 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8614 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8615 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8616 * malloc/morecore.c (__default_morecore): Likewise.
8617 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8618 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8619 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8620 (print_and_abort): Likewise.
8621 * malloc/obstack.h: Likewise.
8622 * malloc/set-freeres.c (__libc_freeres): Likewise.
8623 * malloc/tst-mallocstate.c (main): Likewise.
8624 * malloc/tst-mtrace.c (main): Likewise.
8625 * malloc/tst-realloc.c (do_test): Likewise.
8627 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8630 * nscd/netgroupcache.c (do_notfound): New function.
8631 (addgetnetgrentX): Use it.
8634 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8635 NSS_STATUS_NOTFOUND.
8637 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8639 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8642 2014-01-01 Allan McRae <allan@archlinux.org>
8644 * scripts/update-copyrights: Update configure input file suffix.
8646 * NEWS: Update copyright year.
8647 * catgets/gencat.c: Likewise.
8648 * csu/version.c: Likewise.
8649 * debug/catchsegv.sh: Likewise.
8650 * debug/pcprofiledump.c: Likewise.
8651 * debug/xtrace.sh: Likewise.
8652 * elf/ldconfig.c: Likewise.
8653 * elf/ldd.bash.in: Likewise.
8654 * elf/pldd.c: Likewise.
8655 * elf/sotruss.ksh: Likewise.
8656 * elf/sprof.c: Likewise.
8657 * iconv/iconv_prog.c: Likewise.
8658 * iconv/iconvconfig.c: Likewise.
8659 * locale/programs/locale.c: Likewise.
8660 * locale/programs/localedef.c: Likewise.
8661 * login/programs/pt_chown.c: Likewise.
8662 * malloc/memusage.sh: Likewise.
8663 * malloc/memusagestat.c: Likewise.
8664 * malloc/mtrace.pl: Likewise.
8665 * manual/libc.texinfo: Likewise.
8666 * nscd/nscd.c: Likewise.
8667 * nss/getent.c: Likewise.
8668 * nss/makedb.c: Likewise.
8669 * posix/getconf.c: Likewise.
8670 * scripts/test-installation.pl: Likewise.
8672 * All files with FSF copyright notices: Update copyright dates
8673 using scripts/update-copyrights.
8674 * intl/plural.c: Regenerated.
8675 * locale/programs/charmap-kw.h: Likewise.
8676 * locale/programs/locfile-kw.h: Likewise.
8678 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8680 * sysdeps/unix/sysv/linux/configure: Regenerated.
8681 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8682 the linux/fanotify.h header.
8683 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8684 HAVE_LINUX_FANOTIFY_H is defined.
8686 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8688 * benchtests/cos-inputs: New inputs.
8689 * benchtests/sin-inputs: Likewise.
8691 * benchtests/atan-inputs: New inputs. Fix name of multiple
8692 precision fallback inputs.
8694 * benchtests/atanh-inputs: New inputs.
8695 * benchtests/tanh-inputs: Likewise.
8697 * benchtests/acosh-inputs: New inputs.
8698 * benchtests/asinh-inputs: Likewise.
8700 * benchtests/cosh-inputs: New inputs.
8701 * benchtests/sinh-inputs: Likewise.
8703 * benchtests/acos-inputs: Add more inputs.
8704 * benchtests/asin-inputs: Likewise.
8706 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8709 * manual/arith.texi: Fix spelling.
8710 * manual/charset.texi: Likewise.
8711 * manual/errno.texi: Likewise.
8712 * manual/filesys.texi: Likewise.
8713 * manual/lang.texi: Likewise.
8714 * manual/llio.texi: Likewise.
8715 * manual/locale.texi: Likewise.
8716 * manual/message.texi: Likewise.
8717 * manual/resource.texi: Likewise.
8718 * manual/search.texi: Likewise.
8719 * manual/setjmp.texi: Likewise.
8720 * manual/stdio.texi: Likewise.
8721 * manual/string.texi: Likewise.
8722 * manual/sysinfo.texi: Likewise.
8723 * manual/time.texi: Likewise.
8725 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8727 * po/sl.po: New file.
8729 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8731 * .gitignore: Add core/.gdbinit/.gdb_history.
8733 2013-12-27 Allan McRae <allan@archlinux.org>
8736 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8737 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8739 2013-12-24 Brooks Moses <bmoses@google.com>
8741 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8742 all compilers that claim C++98 compliance, not just GCC.
8743 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8746 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8748 * NEWS: Restore accidentally deleted bug-fix entries.
8750 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8751 Ondřej Bílka <neleai@seznam.cz>
8754 * malloc/malloc.c (_int_free): Perform sanity check only if we
8757 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8760 * manual/stdio.texi (String Input Conversions): Clarify that character
8761 classes are not supported.
8763 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8767 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8770 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8771 Calculate results for small negative arguments directly rather
8772 than using reflection formula with special underflow handling.
8774 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8775 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8776 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8777 (fchflags): Likewise.
8779 (setlogin): Likewise.
8780 (sigaltstack): Likewise.
8783 (sigsetmask): Likewise.
8785 (waitpid): Likewise.
8786 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8787 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8789 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8790 * sysdeps/unix/bsd/Makefile: ... here.
8791 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8792 * sysdeps/unix/bsd/Versions: ... here.
8793 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8794 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8795 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8796 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8797 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8798 * sysdeps/unix/bsd/sigblock.c: ... here.
8799 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8800 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8801 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8802 * sysdeps/unix/bsd/sigvec.c: ... here.
8803 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8804 * sysdeps/unix/bsd/tcdrain.c: ... here.
8805 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8806 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8807 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8808 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8809 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8810 * sysdeps/unix/bsd/wait.c: ... here.
8811 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8812 * sysdeps/unix/bsd/wait3.c: ... here.
8813 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8814 * sysdeps/unix/bsd/waitpid.c: ... here.
8816 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8819 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8820 round-to-nearest for [!USE_AS_EXPM1L].
8821 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8822 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8823 more tests of exp and exp10. Expect some exp10 tests to miss
8824 exceptions or fail in directed rounding modes.
8825 * math/auto-libm-test-out: Regenerated.
8826 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8827 (exp10_test_tonearest): New function.
8828 (exp10_towardzero_test_data): New array.
8829 (exp10_test_towardzero): New function.
8830 (exp10_downward_test_data): New array.
8831 (exp10_test_downward): New function.
8832 (exp10_upward_test_data): New array.
8833 (exp10_test_upward): New function.
8834 (main): Call the new functions.
8835 * sysdeps/i386/fpu/libm-test-ulps: Update.
8836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8838 2013-12-20 Joseph Myers <joseph@codesourcery.com>
8840 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8841 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8842 * math/auto-libm-test-out: Regenerated.
8843 * math/libm-test.inc (acosh_test_data): Add more tests.
8844 (atanh_test_data): Likewise.
8845 (ceil_test_data): Likewise.
8846 (copysign_test_data): Likewise.
8847 * sysdeps/i386/fpu/libm-test-ulps: Update.
8848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8850 * timezone/checktab.awk: Update from tzcode 2013i.
8851 * timezone/private.h: Likewise.
8852 * timezone/scheck.c: Likewise.
8853 * timezone/tzfile.h: Likewise.
8854 * timezone/tzselect.ksh: Likewise.
8855 * timezone/zdump.c: Likewise.
8856 * timezone/zic.c: Likewise.
8858 * math/auto-libm-test-in: Add tests of cpow.
8859 * math/auto-libm-test-out: Regenerated.
8860 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8861 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8863 (func_calc_desc): Add mpc_cc_c union field.
8864 (test_functions): Add cpow.
8865 (special_fill_2pi): New function.
8866 (special_real_inputs): Add 2pi.
8867 (calc_generic_results): Handle mpc_cc_c.
8868 * sysdeps/i386/fpu/libm-test-ulps: Update.
8869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8871 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8872 csqrt, ctan and ctanh.
8873 * math/auto-libm-test-out: Regenerated.
8874 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8875 (TEST_COND_x86): Likewise.
8876 (ccos_test_data): Use AUTO_TESTS_c_c.
8877 (ccosh_test_data): Likewise.
8878 (cexp_test_data): Likewise.
8879 (clog_test_data): Likewise.
8880 (csqrt_test_data): Likewise.
8881 (ctan_test_data): Likewise.
8882 (ctan_tonearest_test_data): Likewise.
8883 (ctan_towardzero_test_data): Likewise.
8884 (ctan_downward_test_data): Likewise.
8885 (ctan_upward_test_data): Likewise.
8886 (ctanh_test_data): Likewise.
8887 (ctanh_tonearest_test_data): Likewise.
8888 (ctanh_towardzero_test_data): Likewise.
8889 (ctanh_downward_test_data): Likewise.
8890 (ctanh_upward_test_data): Likewise.
8891 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8893 (func_calc_desc): Add mpc_c_c union field.
8894 (FUNC_mpc_c_c): New macro.
8895 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8896 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8898 (special_fill_min_subnorm_p120): New function.
8899 (special_real_inputs): Add min_subnorm_p120.
8900 (calc_generic_results): Handle mpc_c_c.
8901 * sysdeps/i386/fpu/libm-test-ulps: Update.
8902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8904 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8906 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8907 (do_sin_slow): New functions.
8908 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8909 (cslow2, csloww1, csloww2): Use the new functions.
8911 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8912 Use M to change sign of result instead of X. Assume X is
8914 (csloww1): Likewise.
8918 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8923 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8925 (sloww1): Don't adjust sign of DX.
8926 (csloww1): Likewise.
8927 (sloww2): Use X directly and don't adjust sign of DX.
8928 (csloww2): Likewise.
8930 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8932 * math/auto-libm-test-in: Add tests of cabs and carg.
8933 * math/auto-libm-test-out: Regenerated.
8934 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8935 (carg_test_data): Likewise.
8936 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8938 (func_calc_desc): Add mpc_c_f union field.
8939 (test_functions): Add cabs and carg.
8940 (calc_generic_results): Handle mpc_c_f.
8942 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8943 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8944 as a macro and a compat symbol.
8945 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8946 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8947 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8948 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8949 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8950 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8952 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8954 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8956 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8958 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8960 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8962 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8963 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8966 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8970 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8972 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8973 trailing whitespace removed.
8974 * scripts/config.guess: Update to version 2013-11-29.
8975 * scripts/config.sub: Update to version 2013-10-01.
8977 * math/auto-libm-test-in: Add tests of sincos.
8978 * math/auto-libm-test-out: Regenerated.
8979 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8980 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8982 (func_calc_desc): Add mpfr_f_11 union field.
8983 (test_functions): Add sincos.
8984 (calc_generic_results): Handle mpfr_f_11.
8985 * sysdeps/i386/fpu/libm-test-ulps: Update.
8986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8988 2013-12-19 Andreas Schwab <schwab@suse.de>
8990 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8992 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8993 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8994 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8996 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8998 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8999 * sysdeps/i386/fpu/libm-test-ulps: Update.
9000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9003 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9004 round-to-nearest mode when using frndint.
9005 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9006 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9007 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9009 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
9011 * math/auto-libm-test-out: Regenerated.
9012 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9013 (TEST_COND_x86): Likewise.
9014 (expm1_tonearest_test_data): New array.
9015 (expm1_test_tonearest): New function.
9016 (expm1_towardzero_test_data): New array.
9017 (expm1_test_towardzero): New function.
9018 (expm1_downward_test_data): New array.
9019 (expm1_test_downward): New function.
9020 (expm1_upward_test_data): New array.
9021 (expm1_test_upward): New function.
9022 (main): Run the new test functions.
9023 * sysdeps/i386/fpu/libm-test-ulps: Update.
9024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9026 * include/features.h: Update comment documenting feature test
9027 macros. Mention _DEFAULT_SOURCE in comment.
9028 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9029 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9030 _BSD_SOURCE and _SVID_SOURCE.
9031 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9032 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9033 !_SVID_SOURCE]: Likewise.
9034 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9035 (__USE_POSIX_IMPLICITLY): Define.
9036 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9037 (_POSIX_SOURCE): Undefine and redefine.
9038 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9039 (_POSIX_C_SOURCE): Likewise.
9040 * manual/creature.texi (_DEFAULT_SOURCE): Document.
9041 (Feature Test Macros): Update documentation of default features.
9043 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9045 * benchtests/Makefile: Add bench-strtok.
9046 * benchtests/bench-strtok.c: New file: strtok benchtest.
9048 2013-12-19 Allan McRae <allan@archlinux.org>
9050 * manual/install.texi: Suppress menu for plain text output.
9051 * INSTALL: Regenerated.
9053 2013-12-18 Brooks Moses <bmoses@google.com>
9056 * misc/getauxval.c: Include errno.h.
9057 (__getauxval): Set errno to ENOENT if the requested type is not
9059 * misc/sys/auxv.h (getauxval): Document that it may set errno;
9060 don't declare with __attribute_const__.
9061 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9062 * manual/startup.texi: Document that getauxval sets errno.
9064 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9066 * math/auto-libm-test-in: Add tests of jn and yn.
9067 * math/auto-libm-test-out: Regenerated.
9068 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9069 (yn_test_data): Likewise.
9070 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9072 (func_calc_desc): Add mpfr_if_f union field.
9073 (FUNC_mpfr_if_f): New macro.
9074 (test_functions): Add jn and yn.
9075 (calc_generic_results): Assert type of second input for
9076 mpfr_ff_f. Handle mpfr_if_f.
9077 (output_for_one_input_case): Disable all checking for arguments
9078 fitting floating-point types in case of an integer argument.
9079 * sysdeps/i386/fpu/libm-test-ulps: Update.
9080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9083 Don't expect fegetround reference in libm.so.
9085 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9087 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9088 $(config-cflags-nofma).
9090 2013-12-18 Joseph Myers <joseph@codesourcery.com>
9092 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9093 * math/auto-libm-test-out: Regenerated.
9096 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9097 to determine exponent and adjust argument to have exponent of -1.
9098 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9100 * math/auto-libm-test-out: Regenerated.
9101 * sysdeps/i386/fpu/libm-test-ulps: Update.
9102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9104 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
9106 * manual/probes.texi: Remove cases when per-thread arenas are
9109 2013-12-18 Andreas Schwab <schwab@suse.de>
9111 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9112 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9113 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9114 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9115 * sysdeps/i386/i686/multiarch/Makefile: Update.
9116 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9118 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9120 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9121 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9123 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
9126 Support TZ transition times < 00:00:00.
9127 This is needed for version-3 tz-format files; it supports time
9128 stamps past 2037 for America/Godthab (the only entry in the tz
9129 database for which this change is relevant).
9130 * manual/time.texi (TZ Variable): Document transition times
9131 from -167:59:59 through -00:00:01.
9132 * time/tzset.c (tz_rule): Time of day is now signed.
9133 (__tzset_parse_tz): Parse negative time of day.
9135 Document TZ transition times >= 25:00:00.
9136 * manual/time.texi (TZ Variable): Document transition times from
9137 25:00:00 through 167:59:59. These are already supported, and this
9138 support will help with version-3 tz-format files.
9140 * manual/time.texi (TZ Variable): Modernize North America example
9141 to reflect current (i.e., 2007-and-later) daylight saving rules.
9143 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9145 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9147 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9148 * sysdeps/unix/bsd/bits/stat.h: Likewise.
9149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9150 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9151 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9152 * sysdeps/unix/bsd/bsdstat.h: Likewise.
9153 * sysdeps/unix/bsd/clock.c: Likewise.
9154 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9155 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9156 * sysdeps/unix/bsd/init-posix.c: Likewise.
9157 * sysdeps/unix/bsd/poll.c: Likewise.
9158 * sysdeps/unix/bsd/ptsname.c: Likewise.
9159 * sysdeps/unix/bsd/seekdir.c: Likewise.
9160 * sysdeps/unix/bsd/setegid.c: Likewise.
9161 * sysdeps/unix/bsd/seteuid.c: Likewise.
9162 * sysdeps/unix/bsd/setgid.c: Likewise.
9163 * sysdeps/unix/bsd/setrgid.c: Likewise.
9164 * sysdeps/unix/bsd/setruid.c: Likewise.
9165 * sysdeps/unix/bsd/setsid.c: Likewise.
9166 * sysdeps/unix/bsd/setuid.c: Likewise.
9167 * sysdeps/unix/bsd/sigaction.c: Likewise.
9168 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9169 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9170 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9171 * sysdeps/unix/bsd/telldir.c: Likewise.
9172 * sysdeps/unix/bsd/times.c: Likewise.
9173 * sysdeps/unix/bsd/usleep.c: Likewise.
9175 * misc/Makefile (install-lib): Remove libbsd-compat.a.
9176 ($(objpfx)libbsd-compat.a): Remove rule.
9178 * include/features.h (__FAVOR_BSD): Do not define.
9179 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9180 features conflicting with POSIX.
9181 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9182 (_BSD_SOURCE): Remove description of not being a subset of other
9183 feature test macros.
9184 * manual/job.texi (getpgrp): Do not document BSD version.
9185 (getpgid): Do not document by reference to BSD getpgrp.
9186 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9187 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9188 * signal/signal.h [__FAVOR_BSD]: Likewise.
9189 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9190 instead of making contents conditional on [__FAVOR_BSD].
9191 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9193 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9197 2013-12-17 Joseph Myers <joseph@codesourcery.com>
9200 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9201 values below 2**-450, not 2**-500.
9202 * math/auto-libm-test-in: Don't allow spurious underflow from
9204 * math/auto-libm-test-out: Regenerated.
9208 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9209 values of ha and hb and sort them after adjusting subnormal
9211 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9213 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9214 values of ea and eb and sort them after adjusting subnormal
9216 * math/auto-libm-test-in: Do not expect some hypot tests of
9217 subnormals to fail. Add more hypot tests.
9218 * math/auto-libm-test-out: Regenerated.
9220 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9223 * sysdeps/sh/s_fma.c: New file.
9224 * sysdeps/sh/s_fmaf.c: New file.
9225 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
9227 * sysdeps/sh/Implies: Add sh/soft-fp.
9229 2013-12-16 Roland McGrath <roland@hack.frob.com>
9231 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
9232 level of indirection to members `objname', `errstring', `malloced'.
9233 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9234 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
9235 it as the __longjmp argument (just pass 1 instead).
9236 (_dl_catch_error): Initialize C with argument pointers and address of
9237 volatile local ERRCODE rather than copying values out of C at return.
9239 2013-12-16 Joseph Myers <joseph@codesourcery.com>
9241 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9242 * math/auto-libm-test-out: Regenerated.
9243 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9244 (hypot_test_data): Likewise.
9245 (pow_test_data): Likewise.
9246 (pow_tonearest_test_data): Likewise.
9247 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9249 (func_calc_desc): Add mpfr_ff_f union field.
9250 (FUNC_mpfr_ff_f): New macro.
9251 (test_functions): Add atan2, hypot and pow.
9252 (special_fill_min): New function.
9253 (special_fill_minus_min): Likewise.
9254 (special_fill_min_subnorm): Likewise.
9255 (special_fill_minus_min_subnorm): Likewise.
9256 (special_real_inputs): Add min, -min, min_subnorm and
9258 (calc_generic_results): Handle mpfr_ff_f.
9259 * sysdeps/i386/fpu/libm-test-ulps: Update.
9260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9262 2013-12-16 Will Newton <will.newton@linaro.org>
9264 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9265 (Aligned Memory Blocks): Add documentation for aligned_alloc
9266 and suggest it as an alternative to posix_memalign.
9267 (Hooks for Malloc): Document __memalign_hook is also called
9268 for aligned_alloc. (Summary of Malloc): Add summary for
9269 aligned alloc. Document __memalign_hook is also called
9272 2013-12-16 Will Newton <will.newton@linaro.org>
9274 * manual/memory.texi (Malloc Examples): Clarify default
9275 alignment documentation. Suggest posix_memalign rather
9276 than memalign or valloc.
9277 (Aligned Memory Blocks): Remove suggestion to use memalign
9278 or valloc. Remove obsolete comment about BSD.
9279 Document memalign errno values and mark the function obsolete.
9280 Document posix_memalign returned error codes. Mark valloc
9281 as obsolete. (Hooks for Malloc): __memalign_hook is also
9282 called for posix_memalign and valloc.
9283 (Summary of Malloc): Add posix_memalign to function summary.
9284 __memalign_hook is also called for posix_memalign and valloc.
9286 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9288 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9292 (sloww): Use mynumber union. Expand ternary operator into
9294 (cslow): use mynumber union.
9296 2013-12-16 Allan McRae <allan@archlinux.org>
9298 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9299 * configure: Regenerated.
9301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9304 * configure.ac: Added --enable-maintainer-mode. Check for
9305 autoconf when enabled.
9306 * configure: Regenerated.
9308 * nscd/nscd.service: New file.
9309 * nscd/nscd.tmpfiles: New file.
9311 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
9314 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9315 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9316 * sysdeps/x86_64/multiarch/strstr.c: ... here.
9317 (strstr): Add __strstr_sse2_unaligned ifunc.
9318 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9319 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9320 (strcasestr): Remove __strcasestr_sse42 ifunc.
9321 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9323 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9325 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9327 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9328 * sysdeps/sh/bits/fenv.h: ... here.
9329 * sysdeps/sh/sh4/fpu/bits: Remove directory.
9331 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9333 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9336 hypotf multiarch implementations.
9337 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9338 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9339 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9340 multiarch hypot for PPC64.
9341 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9342 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9343 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9344 multiarch hypotf for PPC64.
9346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9347 modff multiarch implementations.
9348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9351 multiarch modf for PPC64.
9352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9355 multiarch modff for PPC64.
9357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9358 and logl multiarch implementations.
9359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9362 multiarch logb for PPC64.
9363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9366 multiarch logb for PPC64.
9367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9370 multiarch logb for PPC64.
9372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9373 isinff multiarch implementation.
9374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9378 multiarch isinf for PPC64.
9379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9382 multiarch isinff for PPC64.
9384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9385 finitef multiarch implementation.
9386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9390 multiarch finite for PPC64.
9391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9394 multiarch finitef for PPC64.
9396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9397 lrint multiarch implementation.
9398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9402 multiarch llrint for PPC64.
9403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9404 multiarch lrint for PPC64.
9406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9407 copysignf multiarch implementation.
9408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9413 multiarch copysign for PPC64.
9414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9415 multiarch copysignf for PPC64.
9417 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9418 multiarch implementation.
9419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9427 multiarch llround for PPC64.
9428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9429 multiarch trunc for PPC64.
9430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9431 multiarch truncf for PPC64.
9433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9434 multiarch implementation.
9435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9443 multiarch llround for PPC64.
9444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9445 multiarch round for PPC64.
9446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9447 multiarch roundf for PPC64.
9449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9450 multiarch implementation.
9451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9459 multiarch llround for PPC64.
9460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9461 multiarch floor for PPC64.
9462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9463 multiarch floorf for PPC64.
9465 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9466 multiarch implementation.
9467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9475 multiarch llround for PPC64.
9476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9477 multiarch ceil for PPC64.
9478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9479 multiarch ceilf for PPC64.
9481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9482 multiarch implementation.
9483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9490 multiarch llround for PPC64.
9491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9492 multiarch lround for PPC64.
9494 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9495 multiarch implementation.
9496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9502 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9503 multiarch isnan for PPC64.
9504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9505 multiarch isnanf for PPC64.
9507 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9508 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9509 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9510 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9511 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9514 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9515 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9516 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9517 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9520 multiarch implementations.
9521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9522 (__libc_ifunc_impl_list): Likewise.
9523 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9524 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9525 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9526 multiarch stpcpy for PPC64.
9528 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9529 multiarch implementations.
9530 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9531 (__libc_ifunc_impl_list): Likewise.
9532 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9533 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9534 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9535 multiarch strcpy for PPC64.
9537 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9538 redefine function name.
9539 (_wordcopy_fwd_dest_aligned): Likewise.
9540 (_wordcopy_bwd_aligned): Likewise.
9541 (_wordcopy_bwd_dest_aligned): Likewise.
9542 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9543 multiarch implementations.
9544 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9545 (__libc_ifunc_impl_list): Likewise.
9546 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9547 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9548 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9549 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9550 multiarch wcscpy for PPC64.
9552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9553 multiarch implementations.
9554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9555 (__libc_ifunc_impl_list): Likewise.
9556 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9557 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9558 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9559 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9560 multiarch wcscpy for PPC64.
9562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9563 multiarch implementations.
9564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9565 (__libc_ifunc_impl_list): Likewise.
9566 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9567 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9568 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9569 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9570 multiarch wcsrchr for PPC64.
9572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9573 multiarch implementations.
9574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9575 (__libc_ifunc_impl_list): Likewise.
9576 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9577 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9578 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9579 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9580 multiarch wcschr for PPC64.
9582 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9583 multiarch implementations.
9584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9585 (__libc_ifunc_impl_list): Likewise.
9586 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9587 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9588 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9589 multiarch strchrnul for PPC64.
9591 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9594 (__libc_ifunc_impl_list): Likewise.
9595 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9596 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9597 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9598 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9604 (__libc_ifunc_impl_list): Likewise.
9605 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9606 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9607 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9608 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9612 multiarch implementations.
9613 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9614 (__libc_ifunc_impl_list): Likewise.
9615 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9616 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9617 strncasecmp for PPC64.
9618 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9619 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9620 multiarch strncasecmp_l for PPC64.
9622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9623 multiarch implementations.
9624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9625 (__libc_ifunc_impl_list): Likewise.
9626 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9627 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9628 multiarch strcasecmp for PPC64.
9629 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9631 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9632 multiarch strcasecmp_l for PPC64.
9634 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9636 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9637 (__libc_ifunc_impl_list): Likewise.
9638 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9639 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9640 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9646 (__libc_ifunc_impl_list): Likewise.
9647 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9648 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9649 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9655 (__libc_ifunc_impl_list): Likewise.
9656 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9657 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9658 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9659 rawmemrchr for PPC64.
9661 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9663 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9664 (__libc_ifunc_impl_list): Likewise.
9665 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9666 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9667 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9673 (__libc_ifunc_impl_list): Likewise.
9674 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9675 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9676 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9682 (__libc_ifunc_impl_list): Likewise.
9683 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9684 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9685 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9688 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9689 avoid cretion of __bzero symbol.
9690 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9692 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9694 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9697 multiarch implementations.
9698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9699 (__libc_ifunc_impl_list): Likewise.
9700 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9701 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9702 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9703 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9705 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9706 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9707 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9708 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9709 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9711 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9713 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9717 (__libc_ifunc_impl_list): Likewise.
9718 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9719 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9720 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9721 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9724 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9725 multiarch for POWER/PPC64.
9726 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9727 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9728 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9729 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9730 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9731 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9732 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9733 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9734 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9737 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9738 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9739 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9740 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9741 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9742 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9743 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9744 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9745 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9746 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9747 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9748 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9749 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9750 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9751 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9760 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9762 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9764 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9766 * benchtests/Makefile (bench): Add exp2 and log2.
9767 (LDLIBS-bench-exp2): Add -lm.
9768 (LDLIBS-bench-log2): Likewise.
9769 * benchtests/exp2-inputs: New inputs file.
9770 * benchtests/log2-inputs: New inputs file.
9771 * benchtests/log-inputs: Add new inputs.
9772 * benchtests/tan-inputs: Likewise.
9774 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9776 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9778 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9779 (csloww2): ... from here.
9781 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9782 instead of structures.
9783 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9784 (POLYNOMIAL): Likewise.
9785 (TAYLOR_SLOW): Likewise.
9793 (bsloww1): Likewise.
9794 (bsloww2): Likewise.
9797 (csloww1): Likewise.
9798 (csloww2): Likewise.
9800 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9802 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9803 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9804 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9805 * malloc/hooks.c (realloc_check): Likewise.
9807 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9808 * malloc/arena.c: Remove PER_THREAD conditional.
9809 [!PER_THREAD]: Remove code.
9810 (ptmalloc_unlock_all2): Likewise.
9811 (ptmalloc_init): Likewise.
9812 (_int_new_arena): Likewise.
9813 (arena_get2): Likewise.
9814 * malloc/hooks.c (__malloc_get_state): Likewise.
9815 (__malloc_set_state): Likewise.
9816 * malloc/malloc.c: Likewise.
9817 (struct malloc_state): Likewise.
9818 (struct malloc_par): Likewise.
9819 (__libc_realloc): Likewise.
9820 (__libc_mallopt): Likewise.
9822 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9824 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9826 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9828 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9829 macro to a function. Check for zero perturb_byte.
9830 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9832 * malloc/malloc.c: (force_reg): Remove.
9833 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9834 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9835 force_reg by atomic_forced_read.
9836 * malloc/arena.c (ptmalloc_init): Likewise.
9837 * malloc/hooks.c (top_check): Likewise.
9839 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9843 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9845 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9847 2013-12-08 Joseph Myers <joseph@codesourcery.com>
9849 * math/auto-libm-test-in: Add tests of lgamma.
9850 * math/auto-libm-test-out: Regenerated.
9851 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9852 (M_LOG_2_SQRT_PIl): Likewise.
9853 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9854 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9856 (func_calc_desc): Add mpfr_f_f1 union field.
9865 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9866 (test_functions): Add lgamma.
9867 (calc_generic_results): Handle mpfr_f_f1.
9868 * sysdeps/i386/fpu/libm-test-ulps: Update.
9869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9871 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9873 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9874 __mpn_add_n for PowerPC64/POWER7.
9875 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9876 __mpn_sub_n for PowerPC64/POWER7.
9878 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9879 __mpn_addmul_1 for PowerPC64.
9880 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9881 __mpn_submul_1 for PowerPC64.
9882 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9884 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9887 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9890 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9892 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9894 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9896 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9897 add multiarch folders.
9898 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9899 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9900 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9901 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9902 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9903 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9904 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9905 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9906 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9907 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9908 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9917 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9923 multiarch __ieee754_hypot for PowerPC32.
9924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9929 multiarch __ieee754_hypotf for PowerPC32.
9931 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9932 long_double_symbol only if __logbl is defined.
9933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9934 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9935 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9936 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9937 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9938 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9939 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9940 path for implementation.
9941 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9942 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9944 logb, and logbl multiarch implementations for PowerPC32.
9945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9950 multiarch logb for PowerPC32.
9951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9956 multiarch logbf for PowerPC32.
9957 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9961 multiarch logbl implementation for PowerPC32.
9963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9964 and modff multiarch implementations.
9965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9970 multiarch modf for PowerPC32.
9971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9976 multiarch modff for PowerPC32.
9978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9979 and lrintf multiarch implementations.
9980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9985 multiarch lrint for PowerPC32.
9986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9987 file: multiarch lrintf for PowerPC32.
9989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9990 and lroundf multiarch implementations.
9991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9998 multiarch lround for PowerPC32.
9999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10000 file: multiarch lroundf for PowerPC32.
10002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10003 copysign and copysignf multiarch implementations.
10004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10009 file: multiarch copysign for PowerPC32.
10010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10011 file: multiarch copysignf for PowerPC32.
10013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10014 and truncf multiarch implementations.
10015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10020 multiarch trunc for PowerPC32.
10021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10026 multiarch truncf for PowerPC32.
10028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10029 and roundf multiarch implementations.
10030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10035 multiarch round for PowerPC32.
10036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10041 multiarch roundf for PowerPC32.
10043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10044 and floorf multiarch implementations.
10045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10049 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10050 multiarch floor for PowerPC32.
10051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10056 multiarch floorf for PowerPC32.
10058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10059 and ceilf multiarch implementations.
10060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10065 multiarch ceil for PowerPC32.
10066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10071 multiarch ceilf for PowerPC32.
10073 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10075 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10076 FINITEF is defined.
10077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10078 and finitef multiarch implementations.
10079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10084 multiarch finite for PowerPC32.
10085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10088 file: multiarch finitef for PowerPC32.
10090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10091 and isinff multiarch implementations.
10092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10097 multiarch isinf for PowerPC32.
10098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10101 multiarch isinff for PowerPC32.
10103 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10104 alias when __isnan is defined.
10105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10106 and isnanf multiarch implementations.
10107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10116 multiarch isnan for PowerPC32.
10117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10122 multiarch isnanf for PowerPC32.
10124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10125 and sqrtf multiarch implementations.
10126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10131 multiarch sqrt for PowerPC32.
10132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10137 multiarch sqrtf for PowerPC32.
10139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10140 and llroundf multiarch implementations.
10141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10148 file: multiarch llround for PowerPC32.
10149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10150 file: multiarch llroundf for PowerPC32.
10152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10153 multiarch PowerPC32 fpu implementations.
10154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10159 multiarch llrint for PowerPC32.
10160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10169 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10171 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10173 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10175 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10176 multiarch wordcopy for PPC32.
10177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10180 (__libc_ifunc_impl_list): Likewise.
10181 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10182 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10183 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10184 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10185 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10186 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10188 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10189 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10191 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10193 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10195 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10196 multiarch wcscpy for PPC32.
10197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10200 (__libc_ifunc_impl_list): Likewise.
10201 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10202 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10203 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10204 sysdeps/powerpc/power6/wcscpy.c.
10206 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10209 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10211 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10214 multiarch wcsrchr for PPC32.
10215 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10217 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10218 (__libc_ifunc_impl_list): Likewise.
10219 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10220 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10221 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10222 sysdeps/powerpc/power6/wcsrchr.c.
10224 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10226 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10228 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10229 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10230 multiarch wcschr for PPc32.
10231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10234 (__libc_ifunc_impl_list): Likewise.
10235 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10236 * sysdeps/powerpc/power6/wcschr.c: ... to here.
10237 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10238 sysdeps/powerpc/power6/wcschr.c.
10240 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10241 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10243 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10244 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10245 file: multiarch strchr for PPC32.
10246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10249 (__libc_ifunc_impl_list): Likewise.
10251 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10253 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10255 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10257 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10258 multiarch strchrnul for PPC32.
10259 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10261 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10262 (__libc_ifunc_impl_list): Likewise.
10264 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10266 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10267 multiarch strncasecmp for PPC32.
10268 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10270 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10271 multiarch strncasecmp_l for PPC32.
10272 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10273 strncasecmp multiarch objects.
10274 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10275 (__libc_ifunc_impl_list): Likewise.
10277 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10279 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10280 multiarch strncasecmp for PPC32.
10281 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10283 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10284 multiarch strcasecmp_l for PPC32.
10285 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10287 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10288 (__libc_ifunc_impl_list): Likewise.
10290 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10292 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10294 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10295 multiarch strncmp for PPC32.
10296 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10298 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10299 (__libc_ifunc_impl_list): Likewise.
10301 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10302 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10304 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10305 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10306 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10308 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10309 (__libc_ifunc_impl_list): Likewise.
10311 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10313 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10315 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10316 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10318 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10319 (__libc_ifunc_impl_list): Likewise.
10321 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10323 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10325 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10326 multiarch rawmemchr for PPC32.
10327 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10329 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10330 (__libc_ifunc_impl_list): Likewise.
10332 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10334 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10336 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10337 file: memrchr multiarch for PPC32.
10338 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10340 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10341 (__libc_ifunc_impl_list): Likewise.
10343 * string/memchr.c (__memchr): Using macro to redefine symbol name.
10344 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10346 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10347 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10348 multiarch memchr for PPC32.
10349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10352 (__libc_ifunc_impl_list): Likewise.
10354 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10355 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10357 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10359 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10360 file: multiarch mempcpy for PPC32.
10361 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10363 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10364 (__libc_ifunc_impl_list): Likewise.
10366 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10367 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10368 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10369 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10370 multiarch bzero for PPC32.
10371 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10373 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10375 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10376 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10377 file: multiarch memset for PPC32.
10378 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10379 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10380 memset multiarch objects.
10381 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10382 (__libc_ifunc_impl_list): Likewise.
10384 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10386 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10387 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10389 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10390 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10392 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10393 (__libc_ifunc_impl_list): Likewise.
10395 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10396 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10397 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10399 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10401 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10403 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10404 multiarch memcpy for PPC32.
10405 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10407 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10408 (__libc_ifunc_impl_list): Likewise.
10410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10411 support multiarch for POWER/PPC32.
10412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10414 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10416 Implies file to make multiarch folder appers before the fpu and
10417 default folder for power4 configuration.
10419 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10421 * scripts/bench.pl: Append volatile keyword to type.
10423 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10425 * sysdeps/sh/sotruss-lib.c: New file.
10426 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10428 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10432 2013-12-05 Joseph Myers <joseph@codesourcery.com>
10435 * math/w_tgamma.c: Include <errno.h>.
10436 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
10437 * math/w_tgammaf.c: Include <errno.h>.
10438 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
10439 * math/w_tgammal.c: Include <errno.h>.
10440 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
10441 * math/auto-libm-test-in: Do not allow missing errno on tgamma
10442 underflow. Add more tgamma tests.
10443 * math/auto-libm-test-out: Regenerated.
10444 * sysdeps/i386/fpu/libm-test-ulps: Update.
10445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10447 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10448 sin, sinh, tan, tanh, tgamma, y0 and y1.
10449 * math/auto-libm-test-out: Regenerated.
10450 * math/libm-test.inc (TEST_COND_x86_64): New macro.
10451 (TEST_COND_x86): Likewise.
10452 (M_E2l): Remove macro.
10454 (M_2_SQRT_PIl): Likewise.
10455 (M_SQRT_PIl): Likewise.
10456 (M_1_DIV_El): Likewise.
10457 (log_test_data): Use AUTO_TESTS_f_f.
10458 (log10_test_data): Likewise.
10459 (log1p_test_data): Likewise.
10460 (log2_test_data): Likewise.
10461 (sin_test_data): Likewise.
10462 (sin_tonearest_test_data): Likewise.
10463 (sin_towardzero_test_data): Likewise.
10464 (sin_downward_test_data): Likewise.
10465 (sin_upward_test_data): Likewise.
10466 (sinh_test_data): Likewise.
10467 (sinh_tonearest_test_data): Likewise.
10468 (sinh_towardzero_test_data): Likewise.
10469 (sinh_downward_test_data): Likewise.
10470 (sinh_upward_test_data): Likewise.
10471 (tan_test_data): Likewise.
10472 (tan_tonearest_test_data): Likewise.
10473 (tan_towardzero_test_data): Likewise.
10474 (tan_downward_test_data): Likewise.
10475 (tan_upward_test_data): Likewise.
10476 (tanh_test_data): Likewise.
10477 (tgamma_test_data): Likewise.
10478 (y0_test_data): Likewise.
10479 (y1_test_data): Likewise.
10480 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10481 (special_real_inputs): Add pi/4.
10482 * sysdeps/i386/fpu/libm-test-ulps: Update.
10483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10485 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10487 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10488 "longjmp_target" static probes.
10489 (__longjmp): Rename to __longjmp_symbol.
10490 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10491 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10492 on which longjmp to generate.
10493 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10494 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10496 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10497 (__sigjmp_save): Rename to __sigjmp_save_symbol.
10498 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10499 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10500 and __sigjmp_save_symbol based on which sigsetjmp to generated.
10501 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10503 __longjmp_symbol based on which __longjmp to generate.
10504 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10506 (setjmp): Rename to setjmp_symbol.
10507 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10508 (_setjmp): Rename to _setjmp_symbol.
10509 (__sigsetjmp): Rename to __sigsetjmp_symbol.
10510 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10511 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10512 which setjmp to generate.
10513 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10514 "longjmp_target" static probes.
10516 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10518 * benchtests/README: Add note about output arguments.
10519 * benchtests/bench-sincos.c: Remove file.
10520 * benchtests/sincos-inputs: New file.
10521 * scripts/bench.pl: Identify output arguments and define
10522 static variables for them.
10524 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10527 * Makefile (INSTALL): Add install-plain.texi as the primary
10529 * manual/install-plain.texi: New file.
10530 * manual/install.texi: Include node directive only for
10531 non-plaintext output.
10533 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10535 * stdlib/longlong.h: Update from GCC.
10539 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10540 * math/w_j0f.c (y0f): Likewise.
10541 * math/w_j0l.c (__y0l): Likewise.
10542 * math/w_j1.c (y1): Likewise.
10543 * math/w_j1f.c (y1f): Likewise.
10544 * math/w_j1l.c (__y1l): Likewise
10545 * math/w_jn.c (yn): Likewise.
10546 * math/w_jnf.c (ynf): Likewise.
10547 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10548 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10549 value for Bessel function domain errors outside _SVID_ mode.
10550 Adjust sign of return value for yn (negative integer, 0).
10551 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10552 by zero in return for negative x and set sign appropriately for
10554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10555 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10556 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10557 expectations in error cases.
10558 (y1_test_data): Likewise.
10559 (yn_test_data): Likewise.
10560 * sysdeps/i386/fpu/libm-test-ulps: Update.
10561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10563 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10565 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10566 "64" to "64-v1". Add "64-v2".
10567 (abi-64-options): Rename to ...
10568 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10569 (abi-64-condition): Rename to ...
10570 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10571 (abi-64-ld-soname): Rename to ...
10572 (abi-64-v1-ld-soname): ... this.
10573 (abi-64-v2-options): Define.
10574 (abi-64-v2-condition): Likewise.
10575 (abi-64-v2-ld-soname): Likewise.
10576 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10577 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10582 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10583 Alan Modra <amodra@gmail.com>
10585 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10586 New versions for use with the ELFv2 ABI.
10587 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10588 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10590 (struct La_ppc64v2_retval): Likewise.
10591 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10592 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10593 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10594 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10595 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10596 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10597 Do not save or restore CR.
10598 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10599 (_dl_profile_resolve): Do no save or restore CR. Support extended
10600 return values for ELFv2 ABI. Fix location of FPR return registers.
10601 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10602 updated values for _CALL_ELF == 2.
10603 (La_regs, La_retval, int_retval): Likewise.
10605 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10607 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10608 (FRAME_MIN_SIZE_PARM): Likewise.
10609 (FRAME_BACKCHAIN): Likewise.
10610 (FRAME_CR_SAVE): Likewise.
10611 (FRAME_LR_SAVE): Likewise.
10612 (FRAME_TOC_SAVE): Likewise.
10613 (FRAME_PARM_SAVE): Likewise.
10614 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10615 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10616 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10617 (call_mcount_parm_offset): New macro.
10618 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10619 (PROF): Use symbolic stack frame offsets.
10620 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10621 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10622 Redefine in terms of FRAME_MIN_SIZE.
10623 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10624 (_dl_profile_resolve): Likewise. Update comment.
10625 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10626 symbols stack frame offsets.
10627 (__sigsetjmp): Likewise.
10628 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10629 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10630 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10631 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10634 (FRAME_BACKCHAIN): Remove.
10635 (FRAME_CR_SAVE): Likewise.
10636 (FRAME_LR_SAVE): Likewise.
10637 (FRAME_COMPILER_DW): Likewise.
10638 (FRAME_LINKER_DW): Likewise.
10639 (FRAME_TOC_SAVE): Likewise.
10640 (FRAME_PARM_SAVE): Likewise.
10641 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10642 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10643 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10645 (CHECK_SP): Use symbolic stack frame offsets.
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10647 zone" instead of caller's parameter save area for temp storage.
10648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10649 Likewise. Also, use symbolic stack frame offsets.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10651 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10652 our own stack frame instead of the caller's.
10653 (__socket): Use symbolic stack frame offsets.
10655 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10656 Alan Modra <amodra@gmail.com>
10658 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10660 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10661 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10662 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10664 (elf_machine_fixup_plt): Call it.
10665 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10667 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10668 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10669 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10670 r2 before calling target.
10672 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10673 Alan Modra <amodra@gmail.com>
10675 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10676 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10677 versions of macros to support ELFv2 ABI.
10678 (LOCALENTRY): New macro.
10679 (ENTRY, EALIGN): Use it.
10680 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10681 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10682 fall through into ENTRY entry point.
10683 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10684 Only define if _CALL_ELF != 2.
10686 (elf_machine_matches_host): Verify ABI version matches.
10687 (RTLD_START): Use LOCALENTRY.
10688 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10689 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10690 (PLT_ENTRY_WORDS): New macro.
10691 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10692 (elf_machine_runtime_setup): Support ELFv2 ABI.
10693 (elf_machine_fixup_plt): Likewise.
10694 (elf_machine_plt_conflict): Likewise.
10695 (resolve_ifunc): Likewise.
10696 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10697 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10700 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10702 (makecontext): Support ELFv2 ABI.
10703 * elf/elf.h (EF_PPC64_ABI): Define.
10705 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10707 * sysdeps/powerpc/powerpc64/sysdep.h
10708 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10709 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10710 (ENTRY) [ASSEMBLER]: ... but instead here ...
10711 (EALIGN) [ASSEMBLER]: ... and here.
10712 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10713 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10714 (ENTRY_2) [!ASSEMBLER]: Use it.
10715 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10716 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10717 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10718 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10719 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10721 Use PPC64_LOAD_FUNCPTR.
10723 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10725 2013-12-04 Alan Modra <amodra@gmail.com>
10727 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10728 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10729 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10730 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10732 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10733 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10734 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10735 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10736 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10737 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10739 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10742 (__makecontext): Fix incorrect CFI when backtracing out of
10743 context created via makecontext.
10744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10745 (__setcontext): Fix incorrect CFI during switch to new context.
10746 (__novec_setcontext): Likewise.
10748 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10751 * time/strptime_l.c (__strptime_internal): Allow modifiers
10753 * time/tst-strptime.c (day_tests): Add testcase.
10755 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10757 * scripts/bench.pl: Skip over blank lines.
10759 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10762 * manual/time.texi (Calendar Time): Clarify what timezone functions
10765 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10769 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10771 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10773 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10774 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10775 * debug/memset_chk.c (__memset_chk): Likewise.
10776 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10777 * debug/strncpy_chk.c: Likewise.
10779 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10783 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10784 (__ieee754_exp): For possibly underflowing results, check size of
10785 result and force underflow exception if required.
10786 * math/auto-libm-test-in: Add more tests of exp.
10787 * math/auto-libm-test-out: Regenerated.
10788 * sysdeps/i386/fpu/libm-test-ulps: Update.
10789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10792 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10793 * math/w_exp2f.c (__exp2f): Likewise.
10794 * math/w_exp2l.c (__exp2l): Likewise.
10795 * math/auto-libm-test-in: Do not allow missing errno on exp2
10797 * math/auto-libm-test-out: Regenerated.
10799 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10802 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10803 handle filename validation.
10804 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10807 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10810 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10811 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10812 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10814 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10815 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10816 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10817 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10818 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10819 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10820 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10821 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10822 Add more erfc tests.
10823 * math/auto-libm-test-out: Regenerated.
10824 * sysdeps/i386/fpu/libm-test-ulps: Update.
10825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10827 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10828 exp2, expm1, j0 and j1.
10829 * math/auto-libm-test-out: Regenerated.
10830 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10831 (erfc_test_data): Likewise.
10832 (exp_test_data): Likewise.
10833 (exp_tonearest_test_data): Likewise.
10834 (exp_towardzero_test_data): Likewise.
10835 (exp_downward_test_data): Likewise.
10836 (exp_upward_test_data): Likewise.
10837 (exp10_test_data): Likewise.
10838 (exp2_test_data): Likewise.
10839 (expm1_test_data): Likewise.
10840 (j0_test_data): Likewise.
10841 (j1_test_data): Likewise.
10842 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10843 (input_flag_type): Add flag_xfail_rounding.
10844 (input_flags): Add xfail-rounding.
10845 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10846 (output_for_one_input_case): Handle flag_xfail_rounding.
10847 * sysdeps/i386/fpu/libm-test-ulps: Update.
10848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10850 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10853 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10856 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10859 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10860 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10861 (STAP_PROBE0): New macro.
10862 (STAP_PROBE1): Likewise.
10863 (STAP_PROBE2): Likewise.
10864 (STAP_PROBE3): Likewise.
10865 (STAP_PROBE4): Likewise.
10867 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
10869 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10871 2013-12-02 Steve Ellcey <sellcey@mips.com>
10873 * benchtests/Makefile (bench): Add sqrt.
10874 (LDLIBS-bench-sqrt): New.
10875 * benchtests/sqrt-input: New.
10877 2013-12-02 Pavel Simerda <psimerda@redhat.com>
10879 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10880 (GAIH_EAI): Likewise.
10881 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10882 (gaih_inet): Likewise.
10883 (getaddrinfo): Don't use GAIH_EAI.
10885 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10886 (struct gaih): Remove definition.
10888 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10890 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10891 Use HERRNOP directly.
10893 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10897 2013-11-30 Joseph Myers <joseph@codesourcery.com>
10899 * math/gen-auto-libm-tests.c (test_functions): Add more
10900 single-argument functions.
10901 (special_fill_pi_2): New function.
10902 (special_fill_minus_pi_2): Likewise.
10903 (special_fill_pi_6): Likewise.
10904 (special_fill_minus_pi_6): Likewise.
10905 (special_fill_pi_3): Likewise.
10906 (special_fill_2pi_3): Likewise.
10907 (special_fill_e): Likewise.
10908 (special_fill_1_e): Likewise.
10909 (special_fill_e_minus_1): Likewise.
10910 (special_real_inputs): Add more special inputs.
10911 (output_for_one_input_case): Do not require ERANGE on underflow to
10912 zero if round-to-nearest result does not underflow to zero, unless
10913 exact results required.
10914 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10915 atan, atanh, cbrt, cos and cosh.
10916 * math/auto-libm-test-out: Regenerated.
10917 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10918 (acos_tonearest_test_data): Likewise.
10919 (acos_towardzero_test_data): Likewise.
10920 (acos_downward_test_data): Likewise.
10921 (acos_upward_test_data): Likewise.
10922 (acosh_test_data): Likewise.
10923 (asin_test_data): Likewise.
10924 (asin_tonearest_test_data): Likewise.
10925 (asin_towardzero_test_data): Likewise.
10926 (asin_upward_test_data): Likewise.
10927 (asinh_test_data): Likewise.
10928 (atan_test_data): Likewise.
10929 (atanh_test_data): Likewise.
10930 (cbrt_test_data): Likewise.
10931 (cos_test_data): Likewise.
10932 (cos_tonearest_test_data): Likewise.
10933 (cos_towardzero_test_data): Likewise.
10934 (cos_downward_test_data): Likewise.
10935 (cos_upward_test_data): Likewise.
10936 (cosh_test_data): Likewise.
10937 (cosh_tonearest_test_data): Likewise.
10938 (cosh_towardzero_test_data): Likewise.
10939 (cosh_downward_test_data): Likewise.
10940 (cosh_upward_test_data): Likewise.
10941 * sysdeps/i386/fpu/libm-test-ulps: Update.
10942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10944 2013-11-29 Joseph Myers <joseph@codesourcery.com>
10947 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10948 * math/w_exp10f.c (__exp10f): Likewise.
10949 * math/w_exp10l.c (__exp10l): Likewise.
10950 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10951 errno settings in existing tests.
10954 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10955 precision control set to double precision.
10956 * sysdeps/i386/fpu/w_sqrt.c: New file.
10957 * math/auto-libm-test-in: Add more tests.
10958 * math/auto-libm-test-out: Update.
10960 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10961 (sqrt_test_tonearest): New function.
10962 (sqrt_towardzero_test_data): New variable.
10963 (sqrt_test_towardzero): New function.
10964 (sqrt_downward_test_data): New variable.
10965 (sqrt_test_downward): New function.
10966 (sqrt_upward_test_data): New variable.
10967 (sqrt_test_upward): New function.
10968 (main): Call the new functions.
10970 * math/gen-auto-libm-tests.c: New file.
10971 * math/auto-libm-test-in: Likewise.
10972 * math/auto-libm-test-out: New generated file.
10973 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10975 (%beautify): Add generated representations of zero.
10976 (top level): Set $auto_input and call parse_auto_input.
10977 (beautify): Remove trailing "f" from hex float constants.
10978 (parse_args): Handle XFAIL_TEST.
10979 (convert_condition): New function.
10980 (or_value): Likewise.
10981 (or_cond_value): Likewise.
10982 (generate_testfile): Handle AUTO_TESTS_* lines.
10983 (parse_auto_input): New function.
10984 * math/libm-test.inc (XFAIL_TEST): New macro.
10985 (ERRNO_UNCHANGED): Update value.
10986 (ERRNO_EDOM): Likewise.
10987 (ERRNO_ERANGE): Likewise.
10988 (IGNORE_RESULT): Likewise.
10989 (TEST_COND_flt_32): New macro.
10990 (TEST_COND_dbl_64): Likewise.
10991 (TEST_COND_ldbl_96_intel): Likewise.
10992 (TEST_COND_ldbl_96_m68k): Likewise.
10993 (TEST_COND_ldbl_128): Likewise.
10994 (TEST_COND_ldbl_128ibm): Likewise.
10995 (TEST_COND_long32): Likewise.
10996 (TEST_COND_long64): Likewise.
10997 (TEST_COND_before_rounding): Likewise.
10998 (TEST_COND_after_rounding): Likewise.
10999 (enable_test): Handle XFAIL_TEST flag.
11000 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11001 with finite results.
11002 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11003 auto-libm-test-out.
11005 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11006 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11009 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11010 __tls_get_addr_internal instead of __tls_get_offset in order to
11011 avoid GOT pointer dependency. Make rtld export
11012 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11013 __tls_get_addr since we are a __tls_get_offset platform.
11014 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11015 GOT pointer being set up before.
11016 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11018 2013-11-28 Joseph Myers <joseph@codesourcery.com>
11020 * manual/math.texi (Errors in Math Functions): Document accuracy
11024 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11025 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11026 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11027 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11028 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11029 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11030 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11031 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11032 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11033 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11035 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11036 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11037 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11038 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11039 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11041 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11042 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11043 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11044 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11045 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11047 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11049 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11051 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11052 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11053 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11054 atomic-feupdateenv and flt-rounds.
11055 * sysdeps/powerpc/nofpu/Versions (libc): Add
11056 __atomic_feholdexcept, __atomic_feclearexcept,
11057 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11058 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11059 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11060 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11061 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11066 * manual/arith.texi (FP Exceptions): Document that exceptions may
11067 not be raised when matherr is used.
11068 (Math Error Reporting): Document overflow in directed rounding
11069 modes. Document that errno may not be set when finite values are
11070 returned on overflow. Document intent to set errno on underflow
11071 only for underflow to zero.
11074 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11075 round-to-nearest then adjust result for other rounding modes.
11076 * include/fenv.h (fegetround): Use libm_hidden_proto.
11077 * math/fegetround.c (fegetround): Use libm_hidden_def.
11078 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11079 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11080 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11081 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11083 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11084 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11085 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11086 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11088 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11091 * nss/Versions (libnss_files): Add
11092 _nss_files_gethostbyname3_r.
11093 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11095 (HOST_DB_LOOKUP): Remove macro.
11096 (_nss_files_gethostbyname_r): Implement function without the
11097 HOST_DB_LOOKUP macro.
11098 (_nss_files_gethostbyname2_r): Likewise.
11100 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
11102 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11104 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
11106 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11107 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11110 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11112 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11113 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11114 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11115 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11116 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11117 __fe_nomask_env_priv and attribute_hidden.
11118 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11119 (libc_feupdateenv_test_ppc): Likewise.
11120 (libc_feresetround_ppc): Likewise.
11121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11122 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11123 compat_symbol macro.
11124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11125 (__fe_nomask_env): Likewise.
11126 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11128 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11130 * string/Makefile: Remove ifunc tests.
11131 * string/test-string.h: Define TEST_IFUNC.
11132 * string/test-bcopy-ifunc.c: Remove.
11133 * string/test-bzero-ifunc.c: Likewise.
11134 * string/test-memccpy-ifunc.c: Likewise.
11135 * string/test-memchr-ifunc.c: Likewise.
11136 * string/test-memcmp-ifunc.c: Likewise.
11137 * string/test-memcpy-ifunc.c: Likewise.
11138 * string/test-memmem-ifunc.c: Likewise.
11139 * string/test-memmove-ifunc.c: Likewise.
11140 * string/test-mempcpy-ifunc.c: Likewise.
11141 * string/test-memrchr-ifunc.c: Likewise.
11142 * string/test-memset-ifunc.c: Likewise.
11143 * string/test-rawmemchr-ifunc.c: Likewise.
11144 * string/test-stpcpy-ifunc.c: Likewise.
11145 * string/test-stpncpy-ifunc.c: Likewise.
11146 * string/test-strcasecmp-ifunc.c: Likewise.
11147 * string/test-strcasestr-ifunc.c: Likewise.
11148 * string/test-strcat-ifunc.c: Likewise.
11149 * string/test-strchr-ifunc.c: Likewise.
11150 * string/test-strchrnul-ifunc.c: Likewise.
11151 * string/test-strcmp-ifunc.c: Likewise.
11152 * string/test-strcpy-ifunc.c: Likewise.
11153 * string/test-strcspn-ifunc.c: Likewise.
11154 * string/test-strlen-ifunc.c: Likewise.
11155 * string/test-strncasecmp-ifunc.c: Likewise.
11156 * string/test-strncat-ifunc.c: Likewise.
11157 * string/test-strncmp-ifunc.c: Likewise.
11158 * string/test-strncpy-ifunc.c: Likewise.
11159 * string/test-strnlen-ifunc.c: Likewise.
11160 * string/test-strpbrk-ifunc.c: Likewise.
11161 * string/test-strrchr-ifunc.c: Likewise.
11162 * string/test-strspn-ifunc.c: Likewise.
11163 * string/test-strstr-ifunc.c: Likewise.
11165 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11167 * benchtests/Makefile: Remove ifunc tests.
11168 * benchtests/bench-string.h: Define TEST_IFUNC.
11169 * benchtests/bench-bcopy-ifunc.c: Remove.
11170 * benchtests/bench-bzero-ifunc.c: Likewise.
11171 * benchtests/bench-memccpy-ifunc.c: Likewise.
11172 * benchtests/bench-memchr-ifunc.c: Likewise.
11173 * benchtests/bench-memcmp-ifunc.c: Likewise.
11174 * benchtests/bench-memcpy-ifunc.c: Likewise.
11175 * benchtests/bench-memmem-ifunc.c: Likewise.
11176 * benchtests/bench-memmove-ifunc.c: Likewise.
11177 * benchtests/bench-mempcpy-ifunc.c: Likewise.
11178 * benchtests/bench-memrchr-ifunc.c: Likewise.
11179 * benchtests/bench-memset-ifunc.c: Likewise.
11180 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11181 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11182 * benchtests/bench-stpcpy-ifunc.c: Likewise.
11183 * benchtests/bench-stpncpy-ifunc.c: Likewise.
11184 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11185 * benchtests/bench-strcasestr-ifunc.c: Likewise.
11186 * benchtests/bench-strcat-ifunc.c: Likewise.
11187 * benchtests/bench-strchr-ifunc.c: Likewise.
11188 * benchtests/bench-strchrnul-ifunc.c: Likewise.
11189 * benchtests/bench-strcmp-ifunc.c: Likewise.
11190 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11191 * benchtests/bench-strcpy-ifunc.c: Likewise.
11192 * benchtests/bench-strcspn-ifunc.c: Likewise.
11193 * benchtests/bench-strlen-ifunc.c: Likewise.
11194 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11195 * benchtests/bench-strncat-ifunc.c: Likewise.
11196 * benchtests/bench-strncmp-ifunc.c: Likewise.
11197 * benchtests/bench-strncpy-ifunc.c: Likewise.
11198 * benchtests/bench-strnlen-ifunc.c: Likewise.
11199 * benchtests/bench-strpbrk-ifunc.c: Likewise.
11200 * benchtests/bench-strrchr-ifunc.c: Likewise.
11201 * benchtests/bench-strsep-ifunc.c: Likewise.
11202 * benchtests/bench-strspn-ifunc.c: Likewise.
11203 * benchtests/bench-strstr-ifunc.c: Likewise.
11205 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11207 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11209 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
11211 * resolv/netdb.h: Use __glibc_reserved instead __unused.
11212 * rt/aio.h: Likewise.
11213 * sysdeps/gnu/bits/utmp.h: Likewise.
11214 * sysdeps/gnu/bits/utmpx.h: Likewise.
11215 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11216 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11217 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11218 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11219 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11220 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11221 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11222 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11223 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11224 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11225 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11226 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11227 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11229 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11230 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11231 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11232 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11233 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11234 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11235 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11236 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11237 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11238 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11239 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11241 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11242 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11243 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11244 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11245 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11246 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11247 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11248 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11249 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11250 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11251 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11252 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11253 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11254 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11255 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11256 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11258 2013-11-25 Carlos O'Donell <carlos@redhat.com>
11261 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11262 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11264 2013-11-25 Joseph Myers <joseph@codesourcery.com>
11266 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11267 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11270 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11272 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11273 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11274 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11275 (__fesetround): Remove define.
11276 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11277 rounding and exceptions handling.
11278 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11279 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11280 (__fe_nomask_env): Likewise.
11281 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11282 __fegetround instead of fegetround.
11283 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11284 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11286 2013-11-21 Roland McGrath <roland@hack.frob.com>
11288 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11291 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11293 2013-11-21 Meador Inge <meadori@codesourcery.com>
11296 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11297 (encrypt_r): Likewise.
11298 * malloc/obstack.h (obstack_free): Likewise.
11299 * posix/unistd.h (encrypt): Likewise.
11301 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
11303 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11304 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11305 DL_CALL_DT_FINI() that call the functions directly.
11306 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11307 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11308 * elf/dl-fini.c: Likewise.
11310 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
11312 * malloc/hooks.c (memalign_check): Add alignment rounding.
11313 * malloc/malloc.c (_mid_memalign): New function.
11314 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11315 Implement by calling _mid_memalign.
11316 * manual/probes.texi (Memory Allocation Probes): Remove
11317 memory_valloc_retry and memory_pvalloc_retry.
11319 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11321 * locale/programs/locarchive.c (open_archive): Add const
11322 qualifier to ARCHIVEFNAME and copy default fname to
11326 * libio/tst-widetext.input: Rename Oriya to Odia.
11327 * locale/iso-639.def: Likewise.
11329 * manual/probes.texi (Mathematical Function Probes): Add
11330 documentation for sin, cos, asin and acos probes.
11331 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11332 (__sin32): Add slowasin probe.
11333 (__cos32): Add slowacos probe.
11334 (__mpsin): Add slowsin probe.
11335 (__mpcos): Add slowcos probe.
11337 2013-11-19 Joseph Myers <joseph@codesourcery.com>
11340 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11341 thread-local __sim_exceptions_thread and global
11342 __sim_exceptions_global.
11343 (__sim_disabled_exceptions): Change to thread-local
11344 __sim_disabled_exceptions_thread and global
11345 __sim_disabled_exceptions_global.
11346 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11347 and global __sim_round_mode_global.
11348 (__simulate_exceptions): Use thread-local floating-point state and
11349 set global state from it as needed.
11350 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11351 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11352 __sim_round_mode_thread.
11353 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11354 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11355 and global __sim_exceptions_global.
11356 (__sim_disabled_exceptions): Change to thread-local
11357 __sim_disabled_exceptions_thread and global
11358 __sim_disabled_exceptions_global.
11359 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11360 and global __sim_round_mode_global.
11361 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11362 (SIM_SET_GLOBAL): Likewise.
11363 * sysdeps/powerpc/soft-fp/sfp-machine.h
11364 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11365 __sim_round_mode_thread.
11366 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11367 __sim_disabled_exceptions_thread.
11368 (__sim_exceptions): Change to __sim_exceptions_thread.
11369 (__sim_disabled_exceptions): Change to
11370 __sim_disabled_exceptions_thread.
11371 (__sim_round_mode): Change to __sim_round_mode_thread.
11372 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11373 thread-local floating-point state and set global state from it as
11375 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11376 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11377 (__sim_disabled_exceptions): Remove extern declaration.
11378 (feenableexcept): Use thread-local floating-point state and set
11379 global state from it as needed.
11380 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11381 extern declaration.
11382 (__sim_disabled_exceptions): Likewise.
11383 (__sim_round_mode): Likewise.
11384 (__fegetenv): Use thread-local floating-point state.
11385 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11386 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11387 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11388 floating-point state and set global state from it as needed.
11389 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11390 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11391 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11393 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11394 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11396 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11397 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11398 Use __sim_round_mode_thread.
11399 * math/test-fenv-tls.c: New file.
11400 * math/Makefile (tests): Add test-fenv-tls.
11401 ($(objpfx)test-fenv-tls): Depend on
11402 $(common-objpfx)nptl/libpthread.so.
11404 2013-11-19 Andreas Schwab <schwab@suse.de>
11406 * locale/programs/locale.c (show_info): Decode wordarray elements.
11407 * locale/categories.def (LC_MONETARY): Add element for
11408 _NL_MONETARY_CRNCYSTR.
11409 * locale/C-monetary.c (conversion_rate): New variable.
11410 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11413 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11415 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11416 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11418 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11420 * elf/Makefile (tst-auxv): New test.
11421 * elf/tst-auxv.c: New
11422 * elf/rtld.c (dl_main): Adjust AT_EXECFN
11424 2013-11-18 Joseph Myers <joseph@codesourcery.com>
11426 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11427 (hidden_proto): Caller changed.
11428 (hidden_tls_proto): New macro.
11429 (libc_hidden_tls_proto): Likewise.
11430 (rtld_hidden_tls_proto): Likewise.
11431 (libm_hidden_tls_proto): Likewise.
11432 (libresolv_hidden_tls_proto): Likewise.
11433 (librt_hidden_tls_proto): Likewise.
11434 (libdl_hidden_tls_proto): Likewise.
11435 (libnss_files_hidden_tls_proto): Likewise.
11436 (libnsl_hidden_tls_proto): Likewise.
11437 (libnss_nisplus_hidden_tls_proto): Likewise.
11438 (libutil_hidden_tls_proto): Likewise.
11440 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
11443 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11444 (decompose_rpath): Defer expansion to fillin_rpath.
11445 (_dl_init_paths): Pass linkmap to fillin_rpath.
11447 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11449 * benchtests/Makefile: Add strsep.
11450 * benchtests/bench-strsep.c: New file: strsep benchtest.
11451 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11453 2013-11-18 Andreas Schwab <schwab@suse.de>
11455 * locale/programs/locale.c (show_info) [case byte]: Check for
11456 '\377' instead of '\177'.
11457 * locale/C-monetary.c (not_available): Always use "\377".
11458 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11459 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
11460 detect unavailable sign_posn locale elements.
11461 * locale/localeconv.c (__localeconv): For grouping and
11462 mon_grouping handle "\177" and "\377" like no grouping.
11463 (INT_ELEM): New macro. Use it to set all numeric members.
11464 * locale/programs/ld-monetary.c (monetary_read)
11465 <tok_mon_grouping>: Normalize single -1 to the empty string.
11466 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11469 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11472 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11473 when we match (nil).
11474 * stdio-common/tst-sscanf.c (struct test): Add testcase.
11476 2013-11-16 Joseph Myers <joseph@codesourcery.com>
11478 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11479 (NO_TEST_INLINE): Update value.
11480 (ERRNO_UNCHANGED): Likewise.
11481 (ERRNO_EDOM): Likewise.
11482 (ERRNO_ERANGE): Likewise.
11483 (IGNORE_RESULT): Likewise.
11484 (check_float_internal): Check signs of NaN results if
11485 TEST_NAN_SIGN used.
11486 (check_complex): Pass TEST_NAN_SIGN flag through to second
11487 check_float_internal call.
11488 (copysign_test_data): Add tests with quiet NaNs as second
11489 argument. Use TEST_NAN_SIGN.
11490 (fabs_test_data): Add test of negative quiet NaN argument. Use
11492 (signbit_test_data): Add tests of quiet NaN argument.
11493 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11495 * math/gen-libm-test.pl (show_exceptions): Take extra argument
11497 (parse_args): Handle function results specified as IGNORE.
11498 * math/libm-test.inc (IGNORE_RESULT): New macro.
11499 (check_float_internal): Do not check numerical result if flag
11501 (check_complex): Pass through IGNORE_RESULT to second
11502 check_float_internal call.
11503 (check_int): Do not check numerical result if flag IGNORE_RESULT
11505 (check_long): Likewise.
11506 (check_bool): Likewise.
11507 (check_longlong): Likewise.
11508 (lrint_test_data): Add tests of infinite and NaN arguments.
11509 (lrint_tonearest_test_data): Likewise.
11510 (lrint_towardzero_test_data): Likewise.
11511 (lrint_downward_test_data): Likewise.
11512 (lrint_upward_test_data): Likewise.
11513 (llrint_test_data): Likewise.
11514 (llrint_tonearest_test_data): Likewise.
11515 (llrint_towardzero_test_data): Likewise.
11516 (llrint_downward_test_data): Likewise.
11517 (llrint_upward_test_data): Likewise.
11518 (lround_test_data): Likewise.
11519 (llround_test_data): Likewise.
11521 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11522 (ERRNO_UNCHANGED): Update value.
11523 (ERRNO_EDOM): Likewise.
11524 (ERRNO_ERANGE): Likewise.
11525 (NO_TEST_INLINE_FLOAT): New macro.
11526 (NO_TEST_INLINE_DOUBLE): Likewise.
11527 (enable_test): New function.
11528 (RUN_TEST_f_f): Check enable_test before running test.
11529 (RUN_TEST_2_f): Likewise.
11530 (RUN_TEST_fff_f): Likewise.
11531 (RUN_TEST_c_f): Likewise.
11532 (RUN_TEST_f_f1): Likewise.
11533 (RUN_TEST_fF_f1): Likewise.
11534 (RUN_TEST_fI_f1): Likewise.
11535 (RUN_TEST_ffI_f1): Likewise.
11536 (RUN_TEST_c_c): Likewise.
11537 (RUN_TEST_cc_c): Likewise.
11538 (RUN_TEST_f_i): Likewise.
11539 (RUN_TEST_f_i_tg): Likewise.
11540 (RUN_TEST_ff_i_tg): Likewise.
11541 (RUN_TEST_f_b): Likewise.
11542 (RUN_TEST_f_b_tg): Likewise.
11543 (RUN_TEST_f_l): Likewise.
11544 (RUN_TEST_f_L): Likewise.
11545 (RUN_TEST_fFF_11): Likewise.
11546 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11548 (cosh_test_data): Likewise.
11549 (exp_test_data): Likewise.
11550 (expm1_test_data): Likewise.
11551 (hypot_test_data): Likewise.
11552 (pow_test_data): Likewise.
11553 (sinh_test_data): Likewise.
11554 (tanh_test_data): Likewise.
11555 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11558 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11559 tests with quiet NaN input and output.
11560 (acosh_test_data): Likewise.
11561 (asin_test_data): Likewise.
11562 (asinh_test_data): Likewise.
11563 (atan_test_data): Likewise.
11564 (atanh_test_data): Likewise.
11565 (atan2_test_data): Likewise.
11566 (cbrt_test_data): Likewise.
11567 (cos_test_data): Likewise.
11568 (cosh_test_data): Likewise.
11569 (erf_test_data): Likewise.
11570 (erfc_test_data): Likewise.
11571 (exp_test_data): Likewise.
11572 (exp10_test_data): Likewise.
11573 (exp2_test_data): Likewise.
11574 (expm1_test_data): Likewise.
11575 (hypot_test_data): Likewise.
11576 (j0_test_data): Likewise.
11577 (j1_test_data): Likewise.
11578 (jn_test_data): Likewise.
11579 (lgamma_test_data): Likewise.
11580 (log_test_data): Likewise.
11581 (log10_test_data): Likewise.
11582 (log1p_test_data): Likewise.
11583 (log2_test_data): Likewise.
11584 (pow_test_data): Likewise.
11585 (scalb_test_data): Likewise.
11586 (sin_test_data): Likewise.
11587 (sincos_test_data): Likewise.
11588 (sinh_test_data): Likewise.
11589 (tan_test_data): Likewise.
11590 (tanh_test_data): Likewise.
11591 (tgamma_test_data): Likewise.
11592 (y0_test_data): Likewise.
11593 (y1_test_data): Likewise.
11594 (yn_test_data): Likewise.
11597 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11598 argument being NaN and avoid computations with second argument in
11600 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11601 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11602 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11604 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11606 * locale/iso-639.def: Add Chitwani Tharu (the).
11608 2013-11-14 Andreas Schwab <schwab@suse.de>
11610 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11611 word instead of empty string.
11613 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11616 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11618 (__fe_nomask_env): Likewise.
11620 2013-11-13 Steve Ellcey <sellcey@mips.com>
11622 * benchtests/bench-timing.h: Include time.h.
11624 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11627 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11629 * sysdeps/unix/sysv/linux/configure: Regenerated.
11631 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11634 * stdlib/strtod_l.c (round_and_return): Do not consider
11635 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11636 exponent one less than half the least subnormal exponent.
11637 * stdlib/test-strtod-round-data: Add more tests.
11638 * stdlib/tst-strtod-round.c (tests): Regenerated.
11640 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11643 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11644 (__fe_mask_env): Likewise.
11645 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11646 libm_hidden_proto and add function prototype.
11647 (__fe_mask_env): Add function prototype.
11648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11649 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11651 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11653 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11655 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11657 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11658 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11660 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11662 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11663 of htab_find_slot().
11665 2013-11-11 David S. Miller <davem@davemloft.net>
11668 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11669 symbol in the non-vis3 case in static builds.
11670 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11671 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11672 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11673 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11675 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11678 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11681 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11683 * benchtests/Makefile: Add bench-strtod.
11684 * benchtests/bench-strtod.c: New file: strtod benchtest
11686 2013-11-11 Andreas Schwab <schwab@suse.de>
11689 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11690 terminating NUL in key length.
11692 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11694 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11695 Add artificial ODP entry for vDSO symbol for PPC64.
11696 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11697 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11699 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11702 * nss/getent.c (services_keys): Recognize services starting with digit.
11704 2013-11-06 David S. Miller <davem@davemloft.net>
11707 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11708 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11710 2013-11-06 Will Newton <will.newton@linaro.org>
11712 * manual/memory.texi (Malloc Examples): Remove register
11713 keyword from examples.
11715 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11717 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11719 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11722 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11723 depending on [__GCC_IEC_559 > 0].
11724 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11725 depending on [__GCC_IEC_559_COMPLEX > 0].
11727 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11729 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11732 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11734 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11736 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11739 * malloc/malloc (malloc_info): Do not handle first bin as
11742 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11744 * locale/iso-639.def: Add Central Nahuatl (nhn).
11746 2013-11-01 Bruno Haible <bruno@clisp.org>
11749 * manual/math.texi (BSD Random): Specify range upper bound as
11752 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11754 * locale/iso-639.def: Add Meadow Mari (mhr).
11756 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11758 [BZ #14752], [BZ #15763]
11759 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11761 * rt/tst_shm.c: Add test for escaping directory.
11763 2013-10-31 Andreas Schwab <schwab@suse.de>
11766 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11767 followed by 'x' as part of digit sequence.
11768 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11770 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11773 * configure.ac: allow GNU Make 4.0 and greater.
11774 * configure: Regenerated.
11776 2013-10-30 Will Newton <will.newton@linaro.org>
11779 * malloc/hooks.c (memalign_check): Limit alignment to the
11780 maximum representable power of two.
11781 * malloc/malloc.c (__libc_memalign): Likewise.
11782 * malloc/tst-memalign.c (do_test): Add test for very
11783 large alignment values.
11784 * malloc/tst-posix_memalign.c (do_test): Likewise.
11786 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11789 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11790 (munmap_chunk): Likewise.
11791 (mremap_chunk): Likewise.
11793 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11796 * stdlib/div.c (div): Remove obsolete code.
11797 * stdlib/ldiv.c (ldiv): Likewise.
11798 * stdlib/lldiv.c (lldiv): Likewise.
11800 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11803 * nss/nss_files/files-XXX.c (get_contents_ret): New
11805 (get_contents): New function.
11806 (internal_getent): Use it. Expand size of LINEBUFLEN.
11808 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11810 * configure.in: Moved to ...
11811 * configure.ac: ... here. Change reference to configure.in
11813 * sysdeps/arm/preconfigure.ac: ... here.
11814 configure.in to configure.ac.
11815 * sysdeps/gnu/configure.in: Moved to ...
11816 * sysdeps/gnu/configure.ac: ... here.
11817 * sysdeps/i386/configure.in: Moved to ...
11818 * sysdeps/i386/configure.ac: ... here.
11819 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11820 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11821 * sysdeps/mach/configure.in: Moved to ...
11822 * sysdeps/mach/configure.ac: ... here.
11823 * sysdeps/mach/hurd/configure.in: Moved to ...
11824 * sysdeps/mach/hurd/configure.ac: ... here.
11825 * sysdeps/powerpc/configure.in: Moved to ...
11826 * sysdeps/powerpc/configure.ac: ... here.
11827 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11828 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11829 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11830 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11831 * sysdeps/s390/s390-32/configure.in: Moved to ...
11832 * sysdeps/s390/s390-32/configure.ac: ... here.
11833 * sysdeps/s390/s390-64/configure.in: Moved to ...
11834 * sysdeps/s390/s390-64/configure.ac: ... here.
11835 * sysdeps/sh/configure.in: Moved to ...
11836 * sysdeps/sh/configure.ac: ... here.
11837 * sysdeps/sparc/configure.in: Moved to ...
11838 * sysdeps/sparc/configure.ac: ... here.
11839 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11840 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11841 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11842 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11843 * sysdeps/x86_64/configure.in: Moved to ...
11844 * sysdeps/x86_64/configure.ac: ... here.
11845 * sysdeps/x86_64/preconfigure.in: Moved to ...
11846 * sysdeps/x86_64/preconfigure.ac: ... here.
11847 * aclocal.m4: Change reference to configure.in to configure.ac.
11848 * config.h.in: Likewise.
11849 * manual/install.texi: Likewise.
11850 * manual/maint.texi: Likewise.
11851 * Makefile: Likewise.
11852 * malloc/Makefile: Likewise.
11853 * nscd/Makefile: Likewise.
11854 * Makeconfig: Change reference to configure.in and
11855 preconfigure.in to configure.ac and preconfigure.ac
11857 * INSTALL: Regenerated.
11858 * configure: Likewise.
11859 * sysdeps/gnu/configure: Likewise.
11860 * sysdeps/i386/configure: Likewise.
11861 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11862 * sysdeps/mach/configure: Likewise.
11863 * sysdeps/mach/hurd/configure: Likewise.
11864 * sysdeps/powerpc/configure: Likewise.
11865 * sysdeps/powerpc/powerpc32/configure: Likewise.
11866 * sysdeps/powerpc/powerpc64/configure: Likewise.
11867 * sysdeps/s390/s390-32/configure: Likewise.
11868 * sysdeps/s390/s390-64/configure: Likewise.
11869 * sysdeps/sh/configure: Likewise.
11870 * sysdeps/sparc/configure: Likewise.
11871 * sysdeps/unix/sysv/linux/configure: Likewise.
11872 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11873 * sysdeps/x86_64/configure: Likewise.
11874 * sysdeps/x86_64/preconfigure: Likewise.
11876 2013-10-29 Andreas Schwab <schwab@suse.de>
11878 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11880 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11882 * benchtests/pow-inputs: Add new inputs.
11884 * benchtests/exp-inputs: Add new inputs.
11886 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11887 conditional check for return value.
11888 (__cos32): Likewise.
11890 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11892 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11893 to provide a boost for large inputs with word alignment.
11894 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11895 implementation based on optimized PPC64 strcpy.
11896 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11897 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11898 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11899 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11901 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11904 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11906 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11909 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11910 * time/tst-strptime.c (day_tests): Add testcase.
11912 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11915 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11917 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11920 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11921 MAP_FAILED on error.
11923 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11926 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11927 heap for large requests.
11929 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11932 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11933 result if the result has no associated interface.
11934 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11935 interface for all 127.X.Y.Z addresses.
11937 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
11939 * locale/iso-639.def: Add Ligurian (lij)
11941 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
11944 * sunrpc/rpc_main.c: Document rpcgen -5.
11946 2013-10-19 Michael Stahl <mstahl@redhat.com>
11948 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11950 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11953 * posix/glob.c: Match only directories when trailing slash is present.
11954 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11955 (main): Add testcase.
11957 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11960 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11962 2013-10-18 Carlos O'Donell <carlos@redhat.com>
11964 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11965 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11966 AUTH_DES and cindex for FIPS 140-2.
11967 (DES Encryption): Add cindex FIPS 46-3.
11969 * locale/locarchive.h (struct locarhandle): Add fname.
11970 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11971 if an optional argument was specified to --list-archive,
11973 * locale/programs/locarchive.c (show_archive_content): Take new
11974 argument fname and pass it via ah.fname to open_archive.
11975 * locale/programs/localedef.h: Update decl.
11976 (open_archive): If AH->fname is non-null, open that file
11977 rather than the default file name, and don't ignore ENOENT.
11978 (create_archive): Set AH.fname to NULL.
11979 (delete_locales_from_archive): Likewise.
11980 (add_locales_to_archive): Likewise.
11981 * locale/programs/locfile.c (write_all_categories): Likewise.
11983 2013-10-18 Joseph Myers <joseph@codesourcery.com>
11984 Aldy Hernandez <aldyh@redhat.com>
11986 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11987 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11988 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11989 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11990 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11991 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11992 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11993 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11994 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11995 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11996 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11997 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11998 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11999 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12000 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12002 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12004 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12006 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12008 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12009 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12011 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12012 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12013 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12014 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12016 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12017 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12018 * sysdeps/powerpc/preconfigure: Likewise.
12019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12021 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12022 Replace contents of file by #include of <fenv_libc.h>.
12023 * sysdeps/powerpc/soft-fp/sfp-machine.h
12024 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12026 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12027 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12028 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12029 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12030 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12031 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12032 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12033 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12034 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12035 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12036 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12037 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12039 Allow copysignl PLT reference to be missing.
12041 2013-10-18 Richard Sandiford <richard@codesourcery.com>
12042 Joseph Myers <joseph@codesourcery.com
12045 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12047 (add_to_tablewc): Assert sequence of wide characters is nonempty.
12049 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12051 * elf/tst-tls-dlinfo.c: Don't include tls.h.
12052 * elf/tst-tls1.c: Likewise.
12053 * elf/tst-tls10.h: Likewise.
12054 * elf/tst-tls14.c: Likewise.
12055 * elf/tst-tls2.c: Likewise.
12056 * elf/tst-tls3.c: Likewise.
12057 * elf/tst-tls4.c: Likewise.
12058 * elf/tst-tls5.c: Likewise.
12059 * elf/tst-tls6.c: Likewise.
12060 * elf/tst-tls7.c: Likewise.
12061 * elf/tst-tls8.c: Likewise.
12062 * elf/tst-tls9.c: Likewise.
12063 * elf/tst-tlsmod1.c: Likewise.
12064 * elf/tst-tlsmod13.c: Likewise.
12065 * elf/tst-tlsmod13a.c: Likewise.
12066 * elf/tst-tlsmod14a.c: Likewise.
12067 * elf/tst-tlsmod16a.c: Likewise.
12068 * elf/tst-tlsmod16b.c: Likewise.
12069 * elf/tst-tlsmod2.c: Likewise.
12070 * elf/tst-tlsmod3.c: Likewise.
12071 * elf/tst-tlsmod4.c: Likewise.
12072 * elf/tst-tlsmod5.c: Likewise.
12073 * elf/tst-tlsmod6.c: Likewise.
12075 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
12078 * malloc/malloc.c: remove checks for statistics.
12080 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12083 * inet/inet_net.c (inet_network): Detect additional invalid strings.
12084 * inet/tst-network.c: Add testcase.
12086 2013-10-17 Andreas Schwab <schwab@suse.de>
12089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12090 to determine canonical name.
12092 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
12094 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12095 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12096 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12097 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12099 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12100 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12101 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12102 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12103 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12104 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12105 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12106 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12107 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12108 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12109 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12111 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12112 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12113 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12114 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12115 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12116 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12117 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12118 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12119 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12120 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12121 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12122 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12123 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12126 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12127 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12128 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12129 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12130 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12131 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12132 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12133 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12134 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12135 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12136 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12137 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12138 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12139 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12140 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12141 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12142 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12143 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12144 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12145 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12146 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12147 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12148 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12149 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12150 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12151 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12153 2013-10-17 Joseph Myers <joseph@codesourcery.com>
12156 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12157 make result into a quiet NaN.
12159 2013-10-16 Joseph Myers <joseph@codesourcery.com>
12161 * soft-fp/adddf3.c: Fix horizontal whitespace.
12162 * soft-fp/addsf3.c: Likewise.
12163 * soft-fp/addtf3.c: Likewise.
12164 * soft-fp/divdf3.c: Likewise.
12165 * soft-fp/divsf3.c: Likewise.
12166 * soft-fp/divtf3.c: Likewise.
12167 * soft-fp/double.h: Likewise.
12168 * soft-fp/eqdf2.c: Likewise.
12169 * soft-fp/eqsf2.c: Likewise.
12170 * soft-fp/eqtf2.c: Likewise.
12171 * soft-fp/extenddftf2.c: Likewise.
12172 * soft-fp/extended.h: Likewise.
12173 * soft-fp/extendsfdf2.c: Likewise.
12174 * soft-fp/extendsftf2.c: Likewise.
12175 * soft-fp/extendxftf2.c: Likewise.
12176 * soft-fp/fixdfdi.c: Likewise.
12177 * soft-fp/fixdfsi.c: Likewise.
12178 * soft-fp/fixdfti.c: Likewise.
12179 * soft-fp/fixsfdi.c: Likewise.
12180 * soft-fp/fixsfsi.c: Likewise.
12181 * soft-fp/fixsfti.c: Likewise.
12182 * soft-fp/fixtfdi.c: Likewise.
12183 * soft-fp/fixtfsi.c: Likewise.
12184 * soft-fp/fixtfti.c: Likewise.
12185 * soft-fp/fixunsdfdi.c: Likewise.
12186 * soft-fp/fixunsdfsi.c: Likewise.
12187 * soft-fp/fixunsdfti.c: Likewise.
12188 * soft-fp/fixunssfdi.c: Likewise.
12189 * soft-fp/fixunssfsi.c: Likewise.
12190 * soft-fp/fixunssfti.c: Likewise.
12191 * soft-fp/fixunstfdi.c: Likewise.
12192 * soft-fp/fixunstfsi.c: Likewise.
12193 * soft-fp/fixunstfti.c: Likewise.
12194 * soft-fp/floatdidf.c: Likewise.
12195 * soft-fp/floatdisf.c: Likewise.
12196 * soft-fp/floatditf.c: Likewise.
12197 * soft-fp/floatsidf.c: Likewise.
12198 * soft-fp/floatsisf.c: Likewise.
12199 * soft-fp/floatsitf.c: Likewise.
12200 * soft-fp/floattidf.c: Likewise.
12201 * soft-fp/floattisf.c: Likewise.
12202 * soft-fp/floattitf.c: Likewise.
12203 * soft-fp/floatundidf.c: Likewise.
12204 * soft-fp/floatundisf.c: Likewise.
12205 * soft-fp/floatunditf.c: Likewise.
12206 * soft-fp/floatunsidf.c: Likewise.
12207 * soft-fp/floatunsisf.c: Likewise.
12208 * soft-fp/floatunsitf.c: Likewise.
12209 * soft-fp/floatuntidf.c: Likewise.
12210 * soft-fp/floatuntisf.c: Likewise.
12211 * soft-fp/floatuntitf.c: Likewise.
12212 * soft-fp/fmadf4.c: Likewise.
12213 * soft-fp/fmasf4.c: Likewise.
12214 * soft-fp/fmatf4.c: Likewise.
12215 * soft-fp/gedf2.c: Likewise.
12216 * soft-fp/gesf2.c: Likewise.
12217 * soft-fp/getf2.c: Likewise.
12218 * soft-fp/ledf2.c: Likewise.
12219 * soft-fp/lesf2.c: Likewise.
12220 * soft-fp/letf2.c: Likewise.
12221 * soft-fp/muldf3.c: Likewise.
12222 * soft-fp/mulsf3.c: Likewise.
12223 * soft-fp/multf3.c: Likewise.
12224 * soft-fp/negdf2.c: Likewise.
12225 * soft-fp/negsf2.c: Likewise.
12226 * soft-fp/negtf2.c: Likewise.
12227 * soft-fp/op-1.h: Likewise.
12228 * soft-fp/op-2.h: Likewise.
12229 * soft-fp/op-4.h: Likewise.
12230 * soft-fp/op-8.h: Likewise.
12231 * soft-fp/op-common.h: Likewise.
12232 * soft-fp/quad.h: Likewise.
12233 * soft-fp/single.h: Likewise.
12234 * soft-fp/soft-fp.h: Likewise.
12235 * soft-fp/sqrtdf2.c: Likewise.
12236 * soft-fp/sqrtsf2.c: Likewise.
12237 * soft-fp/sqrttf2.c: Likewise.
12238 * soft-fp/subdf3.c: Likewise.
12239 * soft-fp/subsf3.c: Likewise.
12240 * soft-fp/subtf3.c: Likewise.
12241 * soft-fp/truncdfsf2.c: Likewise.
12242 * soft-fp/trunctfdf2.c: Likewise.
12243 * soft-fp/trunctfsf2.c: Likewise.
12244 * soft-fp/trunctfxf2.c: Likewise.
12245 * soft-fp/unorddf2.c: Likewise.
12246 * soft-fp/unordsf2.c: Likewise.
12247 * soft-fp/unordtf2.c: Likewise.
12249 2013-10-15 Joseph Myers <joseph@codesourcery.com>
12251 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12252 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12254 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
12256 * elf/dl-libc.c: Clear initfini list after freeing.
12258 2013-10-14 Joseph Myers <joseph@codesourcery.com>
12260 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12261 * soft-fp/addsf3.c: Likewise.
12262 * soft-fp/addtf3.c: Likewise.
12263 * soft-fp/divdf3.c: Likewise.
12264 * soft-fp/divsf3.c: Likewise.
12265 * soft-fp/divtf3.c: Likewise.
12266 * soft-fp/double.h: Likewise.
12267 * soft-fp/eqdf2.c: Likewise.
12268 * soft-fp/eqsf2.c: Likewise.
12269 * soft-fp/eqtf2.c: Likewise.
12270 * soft-fp/extenddftf2.c: Likewise.
12271 * soft-fp/extended.h: Likewise.
12272 * soft-fp/extendsfdf2.c: Likewise.
12273 * soft-fp/extendsftf2.c: Likewise.
12274 * soft-fp/extendxftf2.c: Likewise.
12275 * soft-fp/fixdfdi.c: Likewise.
12276 * soft-fp/fixdfsi.c: Likewise.
12277 * soft-fp/fixdfti.c: Likewise.
12278 * soft-fp/fixsfdi.c: Likewise.
12279 * soft-fp/fixsfsi.c: Likewise.
12280 * soft-fp/fixsfti.c: Likewise.
12281 * soft-fp/fixtfdi.c: Likewise.
12282 * soft-fp/fixtfsi.c: Likewise.
12283 * soft-fp/fixtfti.c: Likewise.
12284 * soft-fp/fixunsdfdi.c: Likewise.
12285 * soft-fp/fixunsdfsi.c: Likewise.
12286 * soft-fp/fixunsdfti.c: Likewise.
12287 * soft-fp/fixunssfdi.c: Likewise.
12288 * soft-fp/fixunssfsi.c: Likewise.
12289 * soft-fp/fixunssfti.c: Likewise.
12290 * soft-fp/fixunstfdi.c: Likewise.
12291 * soft-fp/fixunstfsi.c: Likewise.
12292 * soft-fp/fixunstfti.c: Likewise.
12293 * soft-fp/floatdidf.c: Likewise.
12294 * soft-fp/floatdisf.c: Likewise.
12295 * soft-fp/floatditf.c: Likewise.
12296 * soft-fp/floatsidf.c: Likewise.
12297 * soft-fp/floatsisf.c: Likewise.
12298 * soft-fp/floatsitf.c: Likewise.
12299 * soft-fp/floattidf.c: Likewise.
12300 * soft-fp/floattisf.c: Likewise.
12301 * soft-fp/floattitf.c: Likewise.
12302 * soft-fp/floatundidf.c: Likewise.
12303 * soft-fp/floatundisf.c: Likewise.
12304 * soft-fp/floatunsidf.c: Likewise.
12305 * soft-fp/floatunsisf.c: Likewise.
12306 * soft-fp/floatuntidf.c: Likewise.
12307 * soft-fp/floatuntisf.c: Likewise.
12308 * soft-fp/floatuntitf.c: Likewise.
12309 * soft-fp/fmadf4.c: Likewise.
12310 * soft-fp/fmasf4.c: Likewise.
12311 * soft-fp/fmatf4.c: Likewise.
12312 * soft-fp/gedf2.c: Likewise.
12313 * soft-fp/gesf2.c: Likewise.
12314 * soft-fp/getf2.c: Likewise.
12315 * soft-fp/ledf2.c: Likewise.
12316 * soft-fp/lesf2.c: Likewise.
12317 * soft-fp/letf2.c: Likewise.
12318 * soft-fp/muldf3.c: Likewise.
12319 * soft-fp/mulsf3.c: Likewise.
12320 * soft-fp/multf3.c: Likewise.
12321 * soft-fp/negdf2.c: Likewise.
12322 * soft-fp/negsf2.c: Likewise.
12323 * soft-fp/negtf2.c: Likewise.
12324 * soft-fp/op-1.h: Likewise.
12325 * soft-fp/op-2.h: Likewise.
12326 * soft-fp/op-4.h: Likewise.
12327 * soft-fp/op-8.h: Likewise.
12328 * soft-fp/op-common.h: Likewise.
12329 * soft-fp/quad.h: Likewise.
12330 * soft-fp/single.h: Likewise.
12331 * soft-fp/soft-fp.h: Likewise.
12332 * soft-fp/sqrtdf2.c: Likewise.
12333 * soft-fp/sqrtsf2.c: Likewise.
12334 * soft-fp/sqrttf2.c: Likewise.
12335 * soft-fp/subdf3.c: Likewise.
12336 * soft-fp/subsf3.c: Likewise.
12337 * soft-fp/subtf3.c: Likewise.
12338 * soft-fp/truncdfsf2.c: Likewise.
12339 * soft-fp/trunctfdf2.c: Likewise.
12340 * soft-fp/trunctfsf2.c: Likewise.
12341 * soft-fp/trunctfxf2.c: Likewise.
12342 * soft-fp/unorddf2.c: Likewise.
12343 * soft-fp/unordsf2.c: Likewise.
12344 * soft-fp/unordtf2.c: Likewise.
12346 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
12349 * misc/error.c (error_tail): Fix possible buffer overflow.
12351 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
12354 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12357 2013-10-14 P. J. McDermott <pj@pehjota.net>
12360 * elf/ldd.bash.in (try_trace): New function. Delete previous code
12361 testing pipefail option.
12363 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12365 * soft-fp/double.h: Indent preprocessor directives inside #if.
12366 * soft-fp/extended.h: Likewise.
12367 * soft-fp/op-2.h: Likewise.
12368 * soft-fp/op-4.h: Likewise.
12369 * soft-fp/op-common.h: Likewise.
12370 * soft-fp/quad.h: Likewise.
12371 * soft-fp/single.h: Likewise.
12372 * soft-fp/soft-fp.h: Likewise.
12374 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
12376 * iconv/iconv_prog.c: Fix typos.
12377 * stdio-common/psiginfo-data.h: Likewise.
12379 2013-10-12 Reuben Thomas <rrt@sc3d.org>
12382 * locale/setlocale.c: Fix typo.
12384 2013-10-12 Joseph Myers <joseph@codesourcery.com>
12387 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12388 signaling NaN arguments.
12389 * soft-fp/unordsf2.c (__unordsf2): Likewise.
12390 * soft-fp/unordtf2.c (__unordtf2): Likewise.
12393 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12394 unordered operands.
12395 * soft-fp/gesf2.c (__gesf2): Likewise.
12396 * soft-fp/getf2.c (__getf2): Likewise.
12397 * soft-fp/ledf2.c (__ledf2): Likewise.
12398 * soft-fp/lesf2.c (__lesf2): Likewise.
12399 * soft-fp/letf2.c (__letf2): Likewise.
12401 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12402 * soft-fp/eqsf2.c (__eqsf2): Likewise.
12403 * soft-fp/eqtf2.c (__eqtf2): Likewise.
12404 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12405 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12406 * soft-fp/fixdfti.c (__fixdfti): Likewise.
12407 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12408 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12409 * soft-fp/fixsfti.c (__fixsfti): Likewise.
12410 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12411 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12412 * soft-fp/fixtfti.c (__fixtfti): Likewise.
12413 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12414 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12415 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12416 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12417 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12418 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12419 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12420 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12421 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12422 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12423 * soft-fp/floatdisf.c (__floatdisf): Likewise.
12424 * soft-fp/floatsisf.c (__floatsisf): Likewise.
12425 * soft-fp/floattidf.c (__floattidf): Likewise.
12426 * soft-fp/floattisf.c (__floattisf): Likewise.
12427 * soft-fp/floattitf.c (__floattitf): Likewise.
12428 * soft-fp/floatundidf.c (__floatundidf): Likewise.
12429 * soft-fp/floatundisf.c (__floatundisf): Likewise.
12430 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12431 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12432 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12433 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12434 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12435 * soft-fp/gesf2.c (__gesf2): Likewise.
12436 * soft-fp/getf2.c (__getf2): Likewise.
12437 * soft-fp/ledf2.c (__ledf2): Likewise.
12438 * soft-fp/lesf2.c (__lesf2): Likewise.
12439 * soft-fp/letf2.c (__letf2): Likewise.
12441 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12442 Undefine and redefine.
12443 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12444 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12445 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12446 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12447 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12448 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12449 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12450 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12451 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12452 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12453 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12454 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12455 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12456 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12457 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12460 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12461 without decrementing exponent if mantissa >= that for the
12462 denominator, not >.
12463 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12464 denominator, not >. Decrement exponent in < case instead of
12465 incrementing in >= case.
12466 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12467 without decrementing exponent if mantissa >= that for the
12468 denominator, not >.
12470 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12471 computing saturated result for unsigned overflow.
12473 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12474 Jeff Law <law@redhat.com>
12476 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12477 (atan2Mp): Add systemtap probe marker.
12478 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12479 (__ieee754_log): Add systemtap probe marker.
12480 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12481 (atanMp): Add systemtap probe marker.
12482 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12483 (tanMp): Add systemtap probe marker.
12484 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12485 (__slowexp): Add systemtap probe marker.
12486 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12487 (__slowpow): Add systemtap probe marker.
12488 * manual/probes.texi: Document probes.
12490 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
12493 * libio/fileops.c (_IO_new_file_write): Return count of bytes
12495 (_IO_new_file_xsputn): Don't return EOF if nothing has been
12497 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12498 written to buffer but not flushed.
12499 * libio/iofwrite_u.c: Likewise.
12500 * libio/iopadn.c: Return bytes returned even if EOF was
12502 * libio/iowpadn.c: Likewise.
12503 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12504 if _IO_padn does not write the whole buffer.
12505 [!COMPILE_WPRINTF] (PAD): Likewise.
12507 2013-10-10 David S. Miller <davem@davemloft.net>
12509 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12512 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12514 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
12515 instead of FSF address.
12516 * soft-fp/fixdfti.c: Likewise.
12517 * soft-fp/fixsfti.c: Likewise.
12518 * soft-fp/fixtfti.c: Likewise.
12519 * soft-fp/fixunsdfti.c: Likewise.
12520 * soft-fp/fixunssfti.c: Likewise.
12521 * soft-fp/fixunstfti.c: Likewise.
12522 * soft-fp/floattidf.c: Likewise.
12523 * soft-fp/floattisf.c: Likewise.
12524 * soft-fp/floattitf.c: Likewise.
12525 * soft-fp/floatuntidf.c: Likewise.
12526 * soft-fp/floatuntisf.c: Likewise.
12527 * soft-fp/floatuntitf.c: Likewise.
12528 * soft-fp/trunctfxf2.c: Likewise.
12530 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12531 * soft-fp/fixdfti.c: Likewise.
12532 * soft-fp/fixsfti.c: Likewise.
12533 * soft-fp/fixtfti.c: Likewise.
12534 * soft-fp/fixunsdfti.c: Likewise.
12535 * soft-fp/fixunssfti.c: Likewise.
12536 * soft-fp/fixunstfti.c: Likewise.
12537 * soft-fp/floattidf.c: Likewise.
12538 * soft-fp/floattisf.c: Likewise.
12539 * soft-fp/floattitf.c: Likewise.
12540 * soft-fp/floatuntidf.c: Likewise.
12541 * soft-fp/floatuntisf.c: Likewise.
12542 * soft-fp/floatuntitf.c: Likewise.
12543 * soft-fp/trunctfxf2.c: Likewise.
12545 2013-10-10 David S. Miller <davem@davemloft.net>
12547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12549 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12551 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12552 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12553 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12554 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12555 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12556 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12557 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12559 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12560 for NaNs before doing comparisons on argument.
12561 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12564 2013-10-10 Will Newton <will.newton@linaro.org>
12566 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12567 passed to _int_memalign does not overflow.
12569 2013-10-10 Torvald Riegel <triegel@redhat.com>
12571 * scripts/bench.pl: Add include-sources directive.
12572 * benchtests/README: Update documentation.
12574 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12576 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12577 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12578 instead of FP_INIT_ROUNDMODE.
12579 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12580 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12583 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12584 copy class of input value.
12585 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12586 not handle exceptions.
12587 * soft-fp/negsf2.c (__negsf2): Likewise.
12588 * soft-fp/negtf2.c (__negtf2): Likewise.
12589 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12591 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12593 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12594 semicolon. From Linux kernel.
12596 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12598 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12600 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12603 * manual/socket.texi: Added statement about buffer
12604 for gethostbyname2_r.
12606 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12608 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12609 Use .p2align directive instead, throughout.
12610 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12611 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12612 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12613 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12614 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12615 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12616 * sysdeps/x86_64/strchr.S: Likewise.
12617 * sysdeps/x86_64/strrchr.S: Likewise.
12619 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12621 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12623 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12625 * sysdeps/generic/math_private.h (__mpsin1): Remove
12627 (__mpcos1): Likewise.
12628 (__mpsin): New argument __range_reduce.
12629 (__mpcos): Likewise.
12630 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12631 (slow): Use __mpsin and __mpcos.
12635 (sloww1): Likewise.
12636 (sloww2): Likewise.
12637 (bsloww): Likewise.
12638 (bsloww1): Likewise.
12639 (bsloww2): Likewise.
12640 (cslow2): Likewise.
12641 (csloww): Likewise.
12642 (csloww1): Likewise.
12643 (csloww2): Likewise.
12644 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12645 range_reduce. Merge in __mpsin1.
12646 (__mpcos): Likewise.
12647 (__mpsin1): Remove.
12648 (__mpcos1): Likewise.
12650 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12652 * locale/loadlocale.c (_nl_intern_locale_data): Use
12654 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12655 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12656 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12657 obstack data is appropriately aligned.
12658 (obstack_int32_grow_fast): Likewise.
12659 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12660 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12661 (add_locale_uint32_array): Likewise.
12663 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12665 * benchtests/Makefile: Remove ARGLIST and RET variables.
12666 ($(objpfx)bench-%.c): Pass only function name to the script.
12667 * benchtests/README: Update documentation.
12668 * benchtests/acos-inputs: Add new directives.
12669 * benchtests/acosh-inputs: Likewise.
12670 * benchtests/asin-inputs: Likewise.
12671 * benchtests/asinh-inputs: Likewise.
12672 * benchtests/atan-inputs: Likewise.
12673 * benchtests/atanh-inputs: Likewise.
12674 * benchtests/cos-inputs: Likewise.
12675 * benchtests/cosh-inputs: Likewise.
12676 * benchtests/exp-inputs: Likewise.
12677 * benchtests/log-inputs: Likewise.
12678 * benchtests/pow-inputs: Likewise.
12679 * benchtests/rint-inputs: Likewise.
12680 * benchtests/sin-inputs: Likewise.
12681 * benchtests/sinh-inputs: Likewise.
12682 * benchtests/tan-inputs: Likewise.
12683 * benchtests/tanh-inputs: Likewise.
12684 * scripts/bench.pl: Add support for new directives.
12686 2013-10-07 Alan Modra <amodra@gmail.com>
12688 * README: Fix careless merge.
12690 2013-10-05 Alan Modra <amodra@gmail.com>
12692 * NEWS: Mention powerpc64le support and bugs fixed.
12693 * README: Both big-endian and little-endian powerpc64 supported.
12695 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12697 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12698 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12699 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12700 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12702 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12704 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12707 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12709 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12710 Move -mhard-float appending from
12711 ports/sysdeps/powerpc/powerpc32/Makefile.
12712 [$(with-fp) = yes] (ASFLAGS): Likewise.
12713 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12714 * sysdeps/powerpc/nofpu: Move directory from
12715 ports/sysdeps/powerpc/nofpu.
12716 * sysdeps/powerpc/soft-fp: Move directory from
12717 ports/sysdeps/powerpc/soft-fp.
12718 * sysdeps/powerpc/powerpc32/405: Move directory from
12719 ports/sysdeps/powerpc/powerpc32/405.
12720 * sysdeps/powerpc/powerpc32/440: Move directory from
12721 ports/sysdeps/powerpc/powerpc32/440.
12722 * sysdeps/powerpc/powerpc32/464: Move directory from
12723 ports/sysdeps/powerpc/powerpc32/464.
12724 * sysdeps/powerpc/powerpc32/476: Move directory from
12725 ports/sysdeps/powerpc/powerpc32/476.
12726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12727 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12729 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12731 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12733 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12735 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12736 * README: Update for powerpc-*-linux-gnu software floating point
12739 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12740 case to powerpc/powerpc32*.
12741 * sysdeps/unix/sysv/linux/configure: Regenerated.
12743 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12744 (_FPU_MASK_OM): Define as 0x04.
12745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12753 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12756 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12759 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12760 and setcontext_e500.
12762 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12764 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12766 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12768 * manual/threads.texi (Default Thread Attributes): Fix typo.
12770 2013-10-04 Will Newton <will.newton@linaro.org>
12772 * malloc/Makefile: Add tst-memalign.
12773 * malloc/tst-memalign.c: New file.
12775 * malloc/tst-posix_memalign.c: Add comments.
12776 (do_test): Add comments and call free on all potentially
12777 allocated pointers. Add space after cast.
12779 * malloc/tst-pvalloc.c: Add comments.
12780 (do_test): Add comments and call free on all potentially
12781 allocated pointers. Remove duplicate check for NULL pointer.
12782 Add space after cast.
12784 * malloc/tst-valloc.c: Add comments.
12785 (do_test): Add comments and call free on all potentially
12786 allocated pointers. Remove duplicate check for NULL pointer.
12787 Add space after cast.
12789 2013-10-04 Alan Modra <amodra@gmail.com>
12791 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12792 Use stdint types in rather than __attribute__((mode())).
12793 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12795 2013-10-04 Alan Modra <amodra@gmail.com>
12797 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12798 Correct handling of unaligned relocs for little-endian.
12799 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12801 2013-10-04 Alan Modra <amodra@gmail.com>
12803 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12804 * configure: Regenerate.
12805 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12806 * shlib-versions: Likewise.
12808 2013-10-04 Alan Modra <amodra@gmail.com>
12810 * string/tester.c (test_memrchr): Increment reported test cycle.
12812 2013-10-04 Alan Modra <amodra@gmail.com>
12814 * string/test-memcpy.c (do_one_test): When reporting errors, print
12815 string address and don't overrun end of string.
12817 2013-10-04 Alan Modra <amodra@gmail.com>
12819 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12820 insrdi. Make better use of reg selection to speed exit slightly.
12821 Schedule entry path a little better. Remove useless "are we done"
12822 checks on entry to main loop. Handle wrapping around zero address.
12823 Correct main loop count. Handle single left-over word from main
12824 loop inline rather than by using loop_small. Remove extra word
12825 case in loop_small caused by wrong loop count. Add little-endian
12827 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12828 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12830 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12831 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12832 support. Avoid rlwimi.
12833 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12835 2013-10-04 Alan Modra <amodra@gmail.com>
12837 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12838 insrdi. Formatting.
12839 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12840 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12841 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12842 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12843 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12844 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12846 2013-10-04 Alan Modra <amodra@gmail.com>
12848 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12849 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12850 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12851 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12852 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12853 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12854 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12855 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12856 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12857 use of regs. Use power7 mtocrf. Tidy function tails.
12859 2013-10-04 Alan Modra <amodra@gmail.com>
12861 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12862 Formatting. Consistently use rXXX register defines or rN defines.
12863 Use early exit labels that avoid restoring unused non-volatile regs.
12864 Make cr field use more consistent with rWORDn compares. Rename
12865 regs used as shift registers for unaligned loop, using rN defines
12866 for short lifetime/multiple use regs.
12867 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12868 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12869 addi 1,1,64 to pop stack frame. Simplify return value code.
12870 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12872 2013-10-04 Alan Modra <amodra@gmail.com>
12874 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12875 support. Correct typos, formatting. Optimize tail. Use insrdi
12876 rather than rlwimi.
12877 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12878 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12879 little-endian support. Correct typos.
12880 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12881 rather than rlwimi.
12882 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12883 in loop and entry code to keep "and." results.
12884 (strchr): Add little-endian support. Comment. Move cntlzd
12886 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12888 2013-10-04 Alan Modra <amodra@gmail.com>
12890 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12891 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12892 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12893 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12895 2013-10-04 Alan Modra <amodra@gmail.com>
12897 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12898 (rTMP): Define as r11.
12899 (strcmp): Add little-endian support. Optimise tail.
12900 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12901 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12902 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12903 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12905 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12906 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12908 2013-10-04 Alan Modra <amodra@gmail.com>
12910 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12911 little-endian support. Remove unnecessary "are we done" tests.
12912 Handle "s" wrapping around zero and extremely large "size".
12913 Correct main loop count. Handle single left-over word from main
12914 loop inline rather than by using small_loop. Correct comments.
12915 Delete "zero" tail, use "end_max" instead.
12916 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12918 2013-10-04 Alan Modra <amodra@gmail.com>
12920 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12921 support. Don't branch over align.
12922 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12923 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12924 support. Rearrange tmp reg use to suit. Comment.
12925 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12927 2013-10-04 Alan Modra <amodra@gmail.com>
12929 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12931 2013-10-04 Alan Modra <amodra@gmail.com>
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12934 conditional form of branch and link when obtaining pc.
12935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12937 2013-10-04 Alan Modra <amodra@gmail.com>
12939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12944 2013-10-04 Alan Modra <amodra@gmail.com>
12946 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12947 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12948 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12949 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12950 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12951 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12952 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12953 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12954 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12955 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12957 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12958 Alistair Popple <alistair@ozlabs.au.ibm.com>
12959 Alan Modra <amodra@gmail.com>
12962 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12963 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12964 _dl_hwcap access for little-endian.
12965 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12966 destroy vmx regs when saving unaligned.
12967 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12968 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12969 destroy vmx regs when saving unaligned.
12971 2013-10-04 Alan Modra <amodra@gmail.com>
12973 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12974 Don't use a union to pack hi/low value.
12976 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12978 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12980 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12981 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12982 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12983 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12984 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12986 2013-10-04 Alan Modra <amodra@gmail.com>
12988 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12989 constants to usual value for .cst8 section, and remove redundant
12991 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12992 constant for 0x1p52. Load little-endian words of double from
12993 correct stack offsets.
12995 2013-10-04 Alan Modra <amodra@gmail.com>
12997 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12998 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12999 words of double from correct stack offsets.
13000 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13001 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13002 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13003 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13004 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13005 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13006 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13007 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13008 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13009 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13010 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13011 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13012 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13013 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13014 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13015 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13016 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13018 2013-10-04 Alan Modra <amodra@gmail.com>
13020 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13021 64-bit int/double union.
13022 (_FPU_SETCW): Likewise.
13023 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13024 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13026 2013-10-04 Alan Modra <amodra@gmail.com>
13028 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13029 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13031 2013-10-04 Alan Modra <amodra@gmail.com>
13033 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13034 use vector int constants.
13035 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13037 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13039 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13040 array with long long.
13041 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13042 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13043 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13044 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13045 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13046 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13047 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13048 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13049 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13050 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13051 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13052 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13053 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13055 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
13057 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13058 (__signbit): Likewise. Correct for little-endian.
13059 (__signbitl): Call __signbit.
13060 (lrint): Correct for little-endian.
13061 (lrintf): Call lrint.
13063 2013-10-04 Alan Modra <amodra@gmail.com>
13065 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13066 union 32-bit int array member with 64-bit int array.
13067 (t515, tm256): Double rather than long double.
13068 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13070 2013-10-04 Alan Modra <amodra@gmail.com>
13072 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13074 (IEEE854_LONG_DOUBLE_BIAS): Delete.
13075 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13076 version of math_ldbl.h.
13078 2013-10-04 Alan Modra <amodra@gmail.com>
13080 [BZ #15734], [BZ #15735]
13081 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13082 all uses of ieee875 long double macros and unions. Simplify test
13083 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
13084 ldbl_extract_mantissa value for ix,iy exponents. Properly
13085 normalize after ldbl_extract_mantissa, and don't add hidden bit
13086 already handled. Don't treat low word of ieee854 mantissa like
13087 low word of IBM long double and mask off bit when testing for
13089 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13090 all uses of ieee875 long double macros and unions. Simplify tests
13091 for 0.0L and inf. Correct double adjustment of k. Delete dead code
13092 adjusting ha,hb. Simplify code setting kld. Delete two600 and
13093 two1022, instead use their values. Recognise that tests for large
13094 "a" and small "b" are mutually exclusive. Rename vars. Comment.
13095 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13096 Rewrite all uses of ieee875 long double macros and unions. Simplify
13097 test for 0.0L and nan. Correct negation.
13098 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13099 ieee875 long double macros and unions. Correct output for large
13100 magnitude x. Correct absolute value calculation.
13101 (__erfcl): Likewise.
13102 * math/libm-test.inc: Add tests for errors discovered in IBM long
13103 double versions of fmodl, remainderl, erfl and erfcl.
13105 2013-10-04 Alan Modra <amodra@gmail.com>
13107 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13108 all uses of ieee854 long double macros and unions. Simplify tests
13109 for long doubles that are fully specified by the high double.
13110 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13112 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13113 Remove dead code too.
13114 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13115 (__ieee754_ynl): Likewise.
13116 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13117 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13118 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13119 Remove dead code too.
13120 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13121 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13122 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13123 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13125 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13127 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13128 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13129 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13130 Comment on variable precision.
13131 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13132 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13134 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13135 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13136 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13137 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13138 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13140 2013-10-04 Alan Modra <amodra@gmail.com>
13142 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13143 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13144 all uses of ieee854 long double macros and unions.
13145 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13146 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13147 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13148 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13150 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13152 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13153 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13154 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13155 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13156 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13157 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13158 Simplify sign and nan test too.
13159 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13160 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13161 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13162 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13164 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13165 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13167 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13168 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13169 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13170 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13171 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13172 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13174 2013-10-04 Alan Modra <amodra@gmail.com>
13176 * stdio-common/printf_size.c (__printf_size): Don't use
13177 union ieee854_long_double in fpnum union.
13178 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
13179 signbit macro to retrieve sign from long double.
13180 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13181 retrieve sign from long double.
13182 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13183 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13184 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13185 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13186 * math/test-misc.c (main): Don't use union ieee854_long_double.
13188 2013-10-04 Alan Modra <amodra@gmail.com>
13191 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13192 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13193 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13194 calculation. Remove unnecessary test for denormal exponent.
13195 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13196 Correct handling of denormals. Avoid undefined shift behaviour.
13197 Correct normalisation of low mantissa when low double is denormal.
13198 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13199 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
13200 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13201 Correct normalisation of low mantissa. Test for overflow of high
13202 mantissa and normalise.
13203 (ldbl_nearbyint): Use more readable constant for two52.
13204 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13205 (__mpn_construct_long_double): Fix test for overflow of high
13206 mantissa and correct normalisation. Avoid undefined shift.
13208 2013-10-04 Alan Modra <amodra@gmail.com>
13210 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13211 (union ibm_extended_long_double): Define as an array of ieee754_double.
13212 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13213 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13214 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13215 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13216 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13217 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13218 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13219 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13220 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13221 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13222 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13224 2013-10-03 Joseph Myers <joseph@codesourcery.com>
13226 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13227 page size instead of calling getpagesize.
13229 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13230 (LOCFILE_ALIGN_MASK): Likewise.
13231 (LOCFILE_ALIGN_UP): Likewise.
13232 (LOCFILE_ALIGNED_P): Likewise.
13233 * locale/programs/ld-collate.c (collate_output): Use the new
13234 macros instead of __alignof__ (int32_t).
13235 * locale/weight.h (findidx): Likewise.
13237 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
13240 * manual/string.texi: Fix strncat and wcsncat.
13242 2013-10-03 Brooks Moses <bmoses@google.com>
13245 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13246 * Makerules: ...here, and adjust associated comments.
13248 2013-10-02 Will Newton <will.newton@linaro.org>
13250 * malloc/Makefile: Add tst-pvalloc.
13251 * malloc/tst-pvalloc.c: New file.
13253 2013-10-02 Will Newton <will.newton@linaro.org>
13255 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13256 improve test coverage.
13258 2013-10-02 Will Newton <will.newton@linaro.org>
13260 * malloc/Makefile: Add tst-posix_memalign.
13261 * malloc/tst-posix_memalign.c: New file.
13263 2013-10-01 Eric Blake <eblake@redhat.com>
13265 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13266 Use __THROWNL rather than __THROW on static functions.
13268 2013-09-30 Petr Machata <pmachata@redhat.com>
13270 * elf/elf.h (R_AARCH64_ABS16): New macro.
13271 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13272 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13273 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13274 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13275 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13276 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13277 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13278 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13279 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13280 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13281 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13282 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13283 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13284 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13285 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13286 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13287 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13288 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13289 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13290 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13291 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13292 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13293 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13294 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13295 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13296 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13297 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13298 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13299 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13300 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13301 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13302 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13303 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13304 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13305 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13306 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13307 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13308 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13309 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13310 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13311 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13312 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13313 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13314 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13315 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13316 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13317 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13318 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13319 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13320 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13321 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13322 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13323 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13324 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13325 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13326 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13327 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13328 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13329 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13330 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13331 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13332 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13333 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13334 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13335 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13336 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13337 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13338 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13339 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13340 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13341 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13342 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13343 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13344 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13345 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13346 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13347 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13348 (R_AARCH64_TLSDESC_LDR): Likewise.
13349 (R_AARCH64_TLSDESC_ADD): Likewise.
13350 (R_AARCH64_TLSDESC_CALL): Likewise.
13352 2013-09-30 Andreas Schwab <schwab@suse.de>
13355 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13356 the nss database lookup.
13357 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13360 2013-09-28 Mike Frysinger <vapier@gentoo.org>
13362 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13364 2013-09-28 P. J. McDermott <pj@pehjota.net>
13366 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13367 ${Bash-specific parameter/pattern/string} parameter expansion.
13368 * sysdeps/unix/make-syscalls.sh: Likewise.
13370 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13372 * sysdeps/sh/stackguard-macros.h: New file.
13374 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
13376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13378 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13379 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13380 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13381 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13383 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13385 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13386 Fix thread ID register.
13388 2013-09-25 Joseph Myers <joseph@codesourcery.com>
13390 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13391 [POSIX || UNIX98]: Require rather than permitting all symbols from
13393 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13394 element of struct sched_param.
13395 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13396 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13397 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13398 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13401 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
13403 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13404 argument calculation.
13406 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13408 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13410 [POSIX] (pthread_attr_t): Do not require type.
13411 [POSIX] (pthread_cond_t): Likewise.
13412 [POSIX] (pthread_condattr_t): Likewise.
13413 [POSIX] (pthread_key_t): Likewise.
13414 [POSIX] (pthread_mutex_t): Likewise.
13415 [POSIX] (pthread_mutexattr_t): Likewise.
13416 [POSIX] (pthread_once_t): Likewise.
13417 [POSIX] (pthread_t): Likewise.
13418 [POSIX-based standards] (pthread_atfork): Expect function.
13420 2013-09-24 Joseph Myers <joseph@codesourcery.com>
13421 Richard Sandiford <richard@codesourcery.com>
13423 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13424 (swap_endianness_p): New extern variable.
13425 (set_big_endian): New inline function.
13426 (maybe_swap_uint32): Likewise.
13427 (maybe_swap_uint32_array): Likewise.
13428 (maybe_swap_uint32_obstack): Likewise.
13429 * locale/programs/locfile.c: Include <stdbool.h>.
13430 (swap_endianness_p): New variable.
13431 (add_locale_uint32): Call maybe_swap_uint32.
13432 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13433 (write_locale_data): Call maybe_swap_uint32_array.
13434 * locale/programs/ld-collate.c (obstack_int32_grow): Call
13436 (obstack_int32_grow_fast): Likewise.
13437 (output_weightwc): Call maybe_swap_uint32_obstack.
13438 (collate_output): Likewise.
13439 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13440 (OPT_LITTLE_ENDIAN): Likewise.
13441 (options): Add --little-endian and --big-endian options.
13442 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13443 * locale/programs/locarchive.c: Include "locfile.h".
13447 (create_archive): Use the new macros to access fields of
13448 structures directly mapped from or written to locale archives.
13449 (oldlocrecentcmp): Likewise.
13450 (enlarge_archive): Likewise.
13451 (insert_name): Likewise.
13452 (add_alias): Likewise.
13453 (add_locale): Likewise.
13454 (delete_locales_from_archive): Likewise.
13455 (show_archive_content): Likewise.
13456 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
13459 2013-09-24 Roland McGrath <roland@hack.frob.com>
13461 * manual/freemanuals.texi: Updated from (newly) canonical copy at
13462 http://www.gnu.org/doc/freemanuals.texi.
13463 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13465 2013-09-24 Will Newton <will.newton@linaro.org>
13467 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13470 2013-09-23 Joseph Myers <joseph@codesourcery.com>
13472 * locale/hashval.h (compute_hashval): Interpret bytes of key as
13475 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
13477 * manual/threads.texi (POSIX Threads): Fix a typo.
13479 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13482 * string/tst-strcoll-overflow.c: New test case.
13483 * string/Makefile (xtests): Add tst-strcoll-overflow.
13484 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13485 cache if string sizes may cause integer overflow.
13488 * string/strcoll_l.c (coll_seq): New members rule, idx,
13489 save_idx and back_us.
13490 (get_next_seq_nocache): New function.
13491 (do_compare_nocache): New function.
13492 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13495 2013-09-23 Carlos O'Donell <carlos@redhat.com>
13498 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13499 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13500 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13503 * elf/Makefile (tests): Add tst-ptrguard1.
13504 (tests-static): Add tst-ptrguard1-static.
13505 (tst-ptrguard1-ARGS): Define.
13506 (tst-ptrguard1-static-ARGS): Define.
13507 * elf/tst-ptrguard1.c: New file.
13508 * elf/tst-ptrguard1-static.c: New file.
13509 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13510 * sysdeps/i386/stackguard-macros.h: Likewise.
13511 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13512 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13513 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13514 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13515 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13516 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13518 2013-09-23 Hector Marco <hecmargi@upv.es>
13519 Ismael Ripoll <iripoll@disca.upv.es>
13520 Carlos O'Donell <carlos@redhat.com>
13523 * sysdeps/generic/stackguard-macros.h: Define
13524 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13525 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13526 Define __pointer_chk_guard_local.
13527 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13528 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13530 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13533 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13535 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13537 * include/string.h (__ffs): Declare as hidden.
13538 * string/ffs.c (__ffs): Define as hidden.
13539 * sysdeps/i386/ffs.c (__ffs): Likewise.
13540 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13541 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13542 * sysdeps/s390/ffs.c (__ffs): Likewise.
13543 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13545 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13547 * NEWS: Mention malloc probes.
13549 * malloc/arena.c (new_heap): New memory_heap_new probe.
13550 (grow_heap): New memory_heap_more probe.
13551 (shrink_heap): New memory_heap_less probe.
13552 (heap_trim): New memory_heap_free probe.
13553 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13554 (systrim): New memory_sbrk_less probe.
13555 * manual/probes.texi: Document them.
13557 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13558 * manual/probes.texi: Document it.
13560 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13561 (__libc_realloc): Add memory_realloc_retry probe.
13562 (__libc_memalign): Add memory_memalign_retry probe.
13563 (__libc_valloc): Add memory_valloc_retry probe.
13564 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13565 (__libc_calloc): Add memory_calloc_retry probe.
13566 * manual/probes.texi: Document them.
13568 * malloc/arena.c (get_free_list): Add probe
13569 memory_arena_reuse_free_list.
13570 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13571 and memory_arena_reuse.
13572 (arena_get2) [!PER_THREAD]: Likewise.
13573 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13574 memory_arena_reuse_realloc.
13575 * manual/probes.texi: Document them.
13577 * malloc/malloc.c (__libc_free): Add
13578 memory_mallopt_free_dyn_thresholds probe.
13579 (__libc_mallopt): Add multiple memory_mallopt probes.
13580 * manual/probes.texi: Document them.
13582 * malloc/malloc.c: Include stap-probe.h.
13583 (__libc_mallopt): Add memory_mallopt probe.
13584 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13585 * manual/probes.texi: New.
13586 * manual/Makefile (chapters): Add probes.
13587 * manual/threads.texi: Set next node.
13589 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13591 [BZ #15963, #13985]
13592 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13593 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13594 Add `Chinese' to `nan' entry name.
13596 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13598 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13599 (POLYNOMIAL): Likewise.
13600 (TAYLOR_SINCOS): Likewise.
13601 (TAYLOR_SLOW): Likewise.
13602 (__sin): Use TAYLOR_SINCOS.
13604 (slow): Use TAYLOR_SLOW.
13606 (bsloww): Likewise.
13607 (csloww): Likewise.
13609 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13611 * stdlib/strtod_l.c: Fix buffer overrun.
13613 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13615 * benchtests/Makefile (bench): Add sincos.
13616 * benchtests/bench-sincos.c: New file.
13618 * math/libm-test.inc (cos_test_data): New test inputs.
13619 (sin_test_data): Likewise.
13621 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13627 (sloww1): Likewise.
13628 (sloww2): Likewise.
13629 (bsloww1): Likewise.
13630 (bsloww2): Likewise.
13631 (cslow2): Likewise.
13632 (csloww1): Likewise.
13633 (csloww2): Likewise.
13635 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13640 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13644 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13646 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13647 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13648 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13649 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13650 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13651 * elf/cache.c (print_entry): Handle the new cache flags.
13653 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13654 Aldy Hernandez <aldyh@redhat.com>
13656 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13657 Change condition to [_SOFT_FLOAT].
13658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13661 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13665 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13666 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13670 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13673 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13676 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13678 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13679 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13680 (__longjmp): Use LOAD_GP to load saved GPRs.
13681 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13682 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13683 (__sigsetjmp): Use SAVE_GP to save GPRs.
13685 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13686 Do not append -msoft-float.
13687 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13689 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13691 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13693 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13696 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13697 (_FPU_GETCW): Use initial "__" on variable and field names but not
13698 on macro parameter name.
13699 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13700 parentheses around reference to macro parameter.
13702 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13704 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13706 (ctype_startup): Use uint32_t in cast and sizeof for
13709 2013-09-11 Jia Liu <proljc@gmail.com>
13711 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13713 [__FreeBSD__]: Likewise.
13715 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13717 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13718 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13719 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13720 (strchr): Remove __strchr_sse42 ifunc selection.
13721 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13722 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13724 2013-09-11 Will Newton <will.newton@linaro.org>
13726 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13727 parameter to RES. Remove hardcoded 1000 value.
13728 * benchtests/bench-skeleton.c (main): Pass RES parameter
13729 to TIMING_INIT and multiply result by 1000.
13731 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13735 2013-09-11 Andreas Schwab <schwab@suse.de>
13737 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13739 (O_TMPFILE) [__USE_GNU]: Define.
13740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13743 2013-09-11 Will Newton <will.newton@linaro.org>
13746 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13749 2013-09-11 Will Newton <will.newton@linaro.org>
13752 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13755 2013-09-11 Will Newton <will.newton@linaro.org>
13758 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13761 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13763 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13764 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13765 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13766 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13767 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13769 2013-09-10 Allan McRae <allan@archlinux.org>
13772 * manual/arith.texi (Parsing of Floats): Clarify
13776 * manual/install.texi (Running make install): Mention
13778 * INSTALL: Regenerated.
13780 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13782 * csu/init-first.c (_init): Remove the !SHARED condition around
13783 FPU control word initialization.
13784 * elf/dl-support.c (_dl_fpu_control): New variable.
13785 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13786 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13787 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13788 * math/test-fpucw-static.c: New file.
13789 * math/test-fpucw-ieee.c: New file.
13790 * math/test-fpucw-ieee-static.c: New file.
13791 * math/Makefile (tests): Add `test-fpucw-ieee' and
13793 (tests-static): New variable.
13794 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13796 [($(build-shared),yes)]
13797 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13799 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13802 2013-09-09 Allan McRae <allan@archlinux.org>
13805 * manual/string.texi (Collation Functions): Fix typo in
13807 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13810 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13813 * libio/memstream.c (open_memstream): Fix memory leak.
13814 * libio/wmemstream.c (open_wmemstream): Likewise.
13817 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13819 2013-09-09 Will Newton <will.newton@linaro.org>
13821 * malloc/Makefile: Add tst-realloc to tests.
13822 * malloc/tst-realloc.c: New file.
13824 2013-09-09 Allan McRae <allan@archlinux.org>
13827 * COPYING: Update from GNU website to fix FSF address.
13828 * COPYING.LIB: Likewise.
13830 2013-09-06 David S. Miller <davem@davemloft.net>
13832 * po/zh_TW.po: Update Chinese (traditional) translation from
13833 translation project.
13835 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13836 Joseph Myers <joseph@codesourcery.com>
13838 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13840 (obstack_chunk_alloc): New macro.
13841 (obstack_chunk_free): Likewise.
13842 (record_offset): New function.
13843 (init_locale_data): Likewise.
13844 (align_locale_data): Likewise.
13845 (add_locale_empty): Likewise.
13846 (add_locale_raw_data): Likewise.
13847 (add_locale_raw_obstack): Likewise.
13848 (add_locale_string): Likewise.
13849 (add_locale_wstring): Likewise.
13850 (add_locale_uint32): Likewise.
13851 (add_locale_uint32_array): Likewise.
13852 (add_locale_char): Likewise.
13853 (start_locale_structure): Likewise.
13854 (end_locale_structure): Likewise.
13855 (start_locale_prelude): Likewise.
13856 (end_locale_prelude): Likewise.
13857 (write_locale_data): Take locale_file structure rather than an
13859 * locale/programs/locfile.h: Include "obstack.h".
13860 (struct locale_file): Change to store locale file contents instead
13862 (init_locale_data): New prototype.
13863 (align_locale_data): Likewise.
13864 (add_locale_empty): Likewise.
13865 (add_locale_raw_data): Likewise.
13866 (add_locale_raw_obstack): Likewise.
13867 (add_locale_string): Likewise.
13868 (add_locale_wstring): Likewise.
13869 (add_locale_uint32): Likewise.
13870 (add_locale_uint32_array): Likewise.
13871 (add_locale_char): Likewise.
13872 (start_locale_structure): Likewise.
13873 (end_locale_structure): Likewise.
13874 (start_locale_prelude): Likewise.
13875 (end_locale_prelude): Likewise.
13876 (write_locale_data): Update prototype.
13877 * locale/programs/3level.h (struct TABLE): Remove result field.
13878 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13879 Use new locale_file interface.
13880 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13881 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13882 * locale/programs/ld-address.c (address_output): Use new
13883 locale_file interface.
13884 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13886 (collate_finish): Don't call collseq_table_finalize.
13887 (collate_output): Use new locale_file interface.
13888 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13890 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13891 (TABLE): Move defines earlier in file.
13892 (ELEMENT): Likewise.
13893 (DEFAULT): Likewise.
13894 (wctrans_table_add): Move macro and inline function earlier in
13896 (struct wctype_table): Move type earlier in file.
13897 (add_locale_wctype_table): New static prototype.
13898 (struct locale_ctype_t): Use logical types instead of struct iovec
13899 pointers for members.
13900 (ctype_output): Use new locale_file interface.
13901 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13902 new locale_file interface.
13903 (allocate_arrays): Update for use of new locale_file interface.
13904 * locale/programs/ld-identification.c (identification_output): Use
13905 new locale_file interface.
13906 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13907 * locale/programs/ld-messages.c (messages_output): Likewise.
13908 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13909 * locale/programs/ld-name.c (name_output): Likewise.
13910 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13911 * locale/programs/ld-paper.c (paper_output): Likewise.
13912 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13913 * locale/programs/ld-time.c (time_output): Likewise.
13915 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13917 * benchtests/Makefile: Add memrchr benchmark.
13918 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13919 benchmark as memrchr.
13920 * benchtests/bench-memrchr-ifunc.c: New file.
13921 * benchtests/bench-memrchr.c: New file.
13923 2013-09-06 Will Newton <will.newton@linaro.org>
13925 * benchtests/Makefile (string-bench): Add memcpy.
13927 2013-09-05 Carlos O'Donell <carlos@redhat.com>
13928 Cong Wang <amwang@redhat.com>
13931 * sysdeps/unix/sysv/linux/bits/in.h
13932 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13933 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13934 before __USE_KERNEL_IPV6_DEFS uses.
13935 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13937 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13938 sockaddr_in6, or ipv6_mreq.
13940 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13942 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13943 memory access for final bytes in some large inputs.
13944 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13946 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13948 * string/test-memrchr.c: New file.
13949 * string/test-memrchr-ifunc.c: New file.
13950 * string/Makefile: Add new memrchr testcase.
13952 2013-09-05 Mike Frysinger <vapier@gentoo.org>
13954 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13955 fanotify_init returns EPERM.
13957 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13959 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13961 (top level): Treat second token from macro or constant entries for
13962 allowed headers as allowed.
13963 * include/complex.h: Condition internal declarations on
13965 * include/fenv.h: Condition include of <stdbool.h> and internal
13966 declarations on [!_ISOMAC].
13968 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13971 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13973 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13975 * configure.in (--enable-versioning): Remove configure option.
13976 (libc_cv_asm_symver_directive): Remove configure test.
13977 (libc_cv_ld_version_script_option): Likewise.
13978 (VERSIONING): Remove variable and AC_SUBST.
13979 (DO_VERSIONING): Remove AC_DEFINE.
13980 * configure: Regenerated.
13981 * config.h.in (DO_VERSIONING): Remove macro.
13982 * Makerules [$(versioning) = yes]: Change conditionals to
13983 [$(build-shared) = yes].
13984 * config.make.in (versioning): Remove variable.
13985 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13986 [$(build-shared) = yes].
13987 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13988 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13989 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13990 [$(build-shared) = yes].
13991 * extra-lib.mk [$(versioning) = yes]: Likewise.
13992 * hurd/Makefile [$(versioning) = yes]: Likewise.
13993 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13995 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13997 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13998 [SHARED && !NO_HIDDEN].
13999 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14001 [SHARED && DO_VERSIONING]: Likewise..
14002 * libio/Makefile [$(versioning) = yes]: Change conditionals to
14003 [$(build-shared) = yes].
14004 * manual/install.texi (--disable-versioning): Remove
14006 * INSTALL: Regenerated.
14007 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14009 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14010 [$(build-shared) = yes].
14011 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14012 * sysdeps/i386/i686/multiarch/strstr-c.c
14013 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14014 [SHARED && !NO_HIDDEN].
14015 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14016 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14017 * sysdeps/powerpc/powerpc32/dl-machine.c
14018 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14019 * sysdeps/powerpc/powerpc32/sysdep.h
14020 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14021 to [SHARED && PIC && !NO_HIDDEN].
14022 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14023 conditional to [SHARED].
14025 2013-09-04 Will Newton <will.newton@linaro.org>
14027 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14028 * benchtests/bench-string.h: Include bench-timing.h instead
14029 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14030 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14031 call to HP_TIMING_DIFF_INIT.
14032 * benchtests/bench-memccpy.c: Use bench-timing.h macros
14033 instead of hp-timing.h macros.
14034 * benchtests/bench-memchr.c: Likewise.
14035 * benchtests/bench-memcmp.c: Likewise.
14036 * benchtests/bench-memcpy.c: Likewise.
14037 * benchtests/bench-memmem.c: Likewise.
14038 * benchtests/bench-memmove.c: Likewise.
14039 * benchtests/bench-memset.c: Likewise.
14040 * benchtests/bench-rawmemchr.c: Likewise.
14041 * benchtests/bench-strcasecmp.c: Likewise.
14042 * benchtests/bench-strcasestr.c: Likewise.
14043 * benchtests/bench-strcat.c: Likewise.
14044 * benchtests/bench-strchr.c: Likewise.
14045 * benchtests/bench-strcmp.c: Likewise.
14046 * benchtests/bench-strcpy.c: Likewise.
14047 * benchtests/bench-strcpy_chk.c: Likewise.
14048 * benchtests/bench-strlen.c: Likewise.
14049 * benchtests/bench-strncasecmp.c: Likewise.
14050 * benchtests/bench-strncat.c: Likewise.
14051 * benchtests/bench-strncmp.c: Likewise.
14052 * benchtests/bench-strncpy.c: Likewise.
14053 * benchtests/bench-strnlen.c: Likewise.
14054 * benchtests/bench-strpbrk.c: Likewise.
14055 * benchtests/bench-strrchr.c: Likewise.
14056 * benchtests/bench-strspn.c: Likewise.
14057 * benchtests/bench-strstr.c: Likewise.
14059 2013-09-04 Will Newton <will.newton@linaro.org>
14061 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14063 2013-09-03 Joseph Myers <joseph@codesourcery.com>
14066 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14067 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14068 * math/libm-test.inc (lgamma_test_data): Add more tests.
14069 * sysdeps/i386/fpu/libm-test-ulps: Update.
14070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14072 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
14074 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14075 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14078 Add strcmp-sse2-unaligned
14079 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14081 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14083 * Versions.def (libc): Add GLIBC_2.19.
14085 2013-09-02 Mike Frysinger <vapier@gentoo.org>
14087 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14088 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14090 2013-09-02 Joseph Myers <joseph@codesourcery.com>
14093 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14094 intermediate calculations in recurrence.
14095 (__ieee754_ynf): Likewise.
14096 * math/libm-test.inc (jn_test_data): Do not allow spurious
14097 underflow exception. Add more tests.
14098 (yn_test_data): Add more tests.
14099 * sysdeps/i386/fpu/libm-test-ulps: Update.
14100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14102 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
14104 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14106 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14108 * csu/init-first.c: Fix then/than typos.
14109 * locale/programs/ld-collate.c: Likewise.
14110 * locale/programs/linereader.h: Likewise.
14111 * manual/charset.texi: Likewise.
14112 * manual/filesys.texi: Likewise.
14113 * manual/stdio.texi: Likewise.
14114 * manual/string.texi: Likewise.
14115 * stdlib/fmtmsg.c: Likewise.
14116 * sysdeps/i386/stpncpy.S: Likewise.
14117 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14118 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14119 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14120 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14122 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14124 * elf/dl-open.c: Fix typos.
14125 * iconvdata/gbbig5.c: Likewise.
14126 * iconvdata/iso-2022-jp.c: Likewise.
14127 * iconv/gconv_int.h: Likewise.
14128 * iconv/loop.c: Likewise.
14129 * nis/rpcsvc/nis.h: Likewise.
14130 * resolv/ns_name.c: Likewise.
14131 * stdio-common/vfscanf.c: Likewise.
14132 * streams/stropts.h: Likewise.
14133 * sunrpc/rpc_thread.c: Likewise.
14134 * sysdeps/i386/strpbrk.S: Likewise.
14135 * sysdeps/ieee754/k_standard.c: Likewise.
14136 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14138 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14139 * sysdeps/mach/hurd/profil.c: Likewise.
14140 * sysdeps/s390/dl-procinfo.h: Likewise.
14141 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14142 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14143 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14144 * sysdeps/x86_64/dl-trampoline.S: Likewise.
14145 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14147 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
14149 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14150 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14152 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14154 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14155 aix specific files.
14156 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14157 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14158 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14159 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14160 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14161 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14162 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14163 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14165 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14166 Roland McGrath <roland@hack.frob.com>
14168 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14169 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14171 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14173 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14174 __executable_start symbol instead of _start.
14176 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
14178 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14179 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14181 * sysdeps/gnu/ldsodefs.h: ... this new file.
14183 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14184 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14185 instead of ELFOSABI_LINUX.
14187 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14188 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14189 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14190 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14192 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14193 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14194 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14196 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14197 (ibm_extended_long_double): Add ieee_nan member.
14198 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14199 (do_test): New function.
14201 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14203 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14204 functions, renamed from truncdfsf_test, trunctfsf_test,
14206 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14208 (do_test): Run all these.
14210 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
14212 * argp/argp-help.c: Fix typos.
14213 * argp/argp-parse.c: Likewise.
14214 * debug/backtracesyms.c: Likewise.
14215 * elf/elf.h: Likewise.
14216 * malloc/malloc.c: Likewise.
14217 * nis/nis_print.c: Likewise.
14218 * resolv/res_comp.c: Likewise.
14219 * stdlib/stdlib.h: Likewise.
14220 * sunrpc/clnt_tcp.c: Likewise.
14221 * sunrpc/clnt_udp.c: Likewise.
14222 * sunrpc/clnt_unix.c: Likewise.
14223 * sysdeps/unix/bsd/ptsname.c: Likewise.
14224 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14225 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14232 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14234 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14236 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14239 2013-08-27 Mike Frysinger <vapier@gentoo.org>
14242 * dlfcn/Makefile (tests): Add bug-dl-leaf.
14243 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14244 ($(objpfx)bug-dl-leaf): New rule.
14245 ($(objpfx)bug-dl-leaf.so): Likewise.
14246 ($(objpfx)bug-dl-leaf.out): Likewise.
14247 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14248 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14249 * dlfcn/bug-dl-leaf.c: New test.
14250 * dlfcn/bug-dl-leaf-lib.c: Likewise.
14251 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14252 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14253 (dlclose): Likewise.
14254 (dlmopen): Likewise.
14256 2013-08-27 Roland McGrath <roland@hack.frob.com>
14258 * include/netdb.h [!_ISOMAC]:
14259 Don't include <tls.h>.
14260 (h_errno, __libc_h_errno): Move declaration and macros out of
14263 * include/resolv.h [_RESOLV_H_]:
14264 Don't include <tls.h>.
14265 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14266 * resolv/res_libc.c: Don't include <tls.h>.
14267 (_res): Use __attribute__ ((nocommon)) in place of
14268 __attribute__ ((section (".bss"))).
14270 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14271 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14273 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14275 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14276 only under [SIOCGIFCONF && SIOCGIFNETMASK].
14278 * resolv/res_mkquery.c: Include <sys/time.h>.
14280 * inet/ifreq.c: Moved to ...
14281 * sysdeps/unix/ifreq.c: ... here.
14282 * inet/ifreq.c: New file, true stub version.
14284 * socket/sa_len.c: New file.
14285 * socket/Makefile (aux): Add it.
14286 * sysdeps/unix/sysv/linux/Makefile
14287 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14288 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14289 and #include <socket/sa_len.c>.
14290 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14291 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14293 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14294 * bits/socket.h: ... here.
14296 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14297 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14298 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14300 2013-08-27 Andreas Schwab <schwab@suse.de>
14303 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14304 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14305 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14306 * string/test-strcasecmp.c (test_main): Run tests in several
14308 * string/test-strncasecmp.c (test_main): Likewise.
14310 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14311 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14312 to __strcasecmp_nonascii and __strncasecmp_nonascii.
14313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14314 (__strncasecmp_ssse3) [PIC]: Likewise.
14316 2013-08-26 Roland McGrath <roland@hack.frob.com>
14318 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14320 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14321 instead of explicitly declaring xdecrypt.
14322 * nis/nss_nis/nis-publickey.c: Likewise.
14324 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14327 * nscd/aicache.c: Include res_hconf.h.
14328 (addhstaiX): Initialize res_hconf.
14330 2013-08-26 Andreas Schwab <schwab@suse.de>
14332 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14333 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14335 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14337 * nscd/aicache.c (addhstaiX): Fix indentation.
14339 2013-08-25 Mike Frysinger <vapier@gentoo.org>
14341 * configure.ac: Quote $build_pt_chown test.
14342 * configure: Regenerated.
14344 2013-08-23 Joseph Myers <joseph@codesourcery.com>
14347 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14348 * math/s_cexpf.c (__cexpf): Likewise.
14349 * math/s_cexpl.c (__cexpl): Likewise.
14350 * math/libm-test.inc (cexp_test_data): Correct expected return
14351 value for NaN + i0. Add another test.
14353 2013-08-22 David S. Miller <davem@davemloft.net>
14355 * po/ca.po: Update Catalan translation from translation project.
14356 * po/uk.po: Add Ukrainian translations from translation project.
14358 2013-08-21 Joseph Myers <joseph@codesourcery.com>
14361 * math/s_fdim.c (__fdim): Check for infinite arguments if result
14362 is infinite, not alongside NaN test.
14363 * math/s_fdimf.c (__fdimf): Likewise.
14364 * math/s_fdiml.c (__fdiml): Likewise.
14365 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
14366 errno is unchanged.
14368 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
14370 * argp/argp-help.c: Fix typos.
14371 * crypt/speeds.c: Likewise.
14372 * csu/check_fds.c: Likewise.
14373 * elf/dl-load.c: Likewise.
14374 * elf/dl-open.c: Likewise.
14375 * elf/reldep3.c: Likewise.
14376 * elf/reldep.c: Likewise.
14377 * elf/sprof.c: Likewise.
14378 * iconv/iconv_charmap.c: Likewise.
14379 * iconv/skeleton.c: Likewise.
14380 * iconv/strtab.c: Likewise.
14381 * io/lockf64.c: Likewise.
14382 * libio/libioP.h: Likewise.
14383 * resolv/gai_notify.c: Likewise.
14384 * resolv/ns_name.c: Likewise.
14385 * resolv/ns_samedomain.c: Likewise.
14386 * resolv/res_send.c: Likewise.
14387 * stdlib/random.c: Likewise.
14388 * sunrpc/rpc/xdr.h: Likewise.
14389 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14390 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14391 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14392 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14393 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14394 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14395 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14396 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14397 * sysdeps/mach/hurd/check_fds.c: Likewise.
14398 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14399 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14400 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14401 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14402 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14403 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14404 * sysdeps/pthread/aio_notify.c: Likewise.
14405 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14406 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14407 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14408 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14409 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14411 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14413 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14414 version if bit_Slow_SSE4_2 is set.
14415 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14416 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14418 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14421 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14422 trampoline stack frame information.
14423 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14424 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14425 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14426 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14427 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14428 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14429 (_libc_vdso_platform_setup): Initialize the signal trampolines.
14430 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14432 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14433 interrupting a syscall and set with option SA_SIGINFO.
14435 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14438 * math/s_cproj.c (__cproj): Only return an infinity if one part of
14439 argument is infinite.
14440 * math/s_cprojf.c (__cprojf): Likewise.
14441 * math/s_cprojl.c (__cprojl): Likewise.
14442 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14443 * math/libm-test.inc (cproj_test_data): Add more tests.
14445 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14447 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14448 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14449 size. Use __ffs to determine corresponding shift.
14451 2013-08-20 Joseph Myers <joseph@codesourcery.com>
14452 Roland McGrath <roland@hack.frob.com>
14454 * Makefile (INSTALL): Remove trailing blank lines from output of
14457 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14459 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14460 Align 32 bit compat elf_greg to 8 bytes.
14462 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
14464 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14466 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14468 * string/strcoll_l.c (coll_seq): New structure.
14469 (get_next_seq_cached): New function.
14470 (get_next_seq): New function.
14471 (do_compare): New function.
14472 (STRCOLL): Use GNU style definition. Simplify implementation
14473 by using get_next_seq, get_next_seq_cached and do_compare.
14475 2013-08-16 Florian Weimer <fweimer@redhat.com>
14479 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14481 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14483 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14484 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14485 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
14487 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14488 GETDENTS_64BIT_ALIGNED.
14489 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14490 * manual/filesys.texi (Reading/Closing Directory): Document
14491 ENAMETOOLONG return value of readdir_r. Recommend readdir more
14493 * manual/conf.texi (Limits for Files): Add portability note to
14494 NAME_MAX, PATH_MAX.
14495 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14497 2013-08-13 Andreas Schwab <schwab@suse.de>
14500 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14502 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14503 LDBL_MAX_EXP >= 16384]: Add tests for it.
14505 2013-08-12 David S. Miller <davem@davemloft.net>
14507 * version.h (RELEASE): Set to "development".
14508 (VERSION): Set to "2.18.90".
14509 * NEWS: Add 2.19 section.
14511 2013-08-03 David S. Miller <davem@davemloft.net>
14513 * po/ko.po: Update Korean translation from translation project.
14515 2013-08-01 David S. Miller <davem@davemloft.net>
14517 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
14518 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14521 2013-07-30 David S. Miller <davem@davemloft.net>
14523 * po/fr.po: Update French translation from translation project.
14525 2013-07-28 David S. Miller <davem@davemloft.net>
14527 * po/cs.po: Update Czech translation from translation project.
14529 * po/sv.po: Update Swedish translation from translation project.
14531 2013-07-27 David S. Miller <davem@davemloft.net>
14533 * po/eo.po: Update Esperanto translation from translation project.
14535 * po/vi.po: Update Vietnamese translation from translation project.
14537 * po/de.po: Update German translation from translation project.
14539 2013-07-26 David S. Miller <davem@davemloft.net>
14541 * po/bg.po: Update Bulgarian translation from translation project.
14543 * po/nl.po: Update Dutch translation from translation project.
14544 * po/pl.po: Update Polish translation from translation project.
14545 * po/ru.po: Update Russian translation from translation project.
14547 2013-07-24 David S. Miller <davem@davemloft.net>
14549 * po/libc.pot: Update.
14551 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14553 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14554 variable page size.
14555 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14556 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14557 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14559 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14561 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14563 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14564 Andreas Schwab <schwab@suse.de>
14565 Roland McGrath <roland@hack.frob.com>
14566 Joseph Myers <joseph@codesourcery.com>
14567 Carlos O'Donell <carlos@redhat.com>
14570 * config.h.in: Define HAVE_PT_CHOWN.
14571 * config.make.in (build-pt-chown): New variable.
14572 * configure.in (--enable-pt_chown): New configure option.
14573 * configure: Regenerate.
14574 * login/Makefile: Include Makeconfig. Build pt_chown only if
14575 build-pt-chown is enabled.
14576 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14577 pt_chown to fix pty ownership.
14578 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14580 * manual/install.texi (Configuring and compiling): Mention
14581 --enable-pt_chown. Add @findex for grantpt.
14582 * INSTALL: Regenerate.
14584 2013-07-20 David S. Miller <davem@davemloft.net>
14586 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14587 difference between 32-bit and 64-bit.
14589 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14592 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14593 Avoid system header dependency with -ffreestanding.
14594 ($(objpfx)bits/syscall%d): Likewise.
14596 2013-07-13 David S. Miller <davem@davemloft.net>
14598 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14599 underflows from atanl/atan2l due to bug 15319.
14600 (casinh_test_data): Likewise.
14602 2013-07-07 David S. Miller <davem@davemloft.net>
14604 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14606 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14608 * sysdeps/i386/fpu/libm-test-ulps: Update.
14609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14611 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14613 * configure.in (--enable-lock-elision): Fix message text.
14614 * INSTALL: Regenerate.
14615 * configure: Regenerate.
14617 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14621 2013-07-03 Andreas Jaeger <aj@suse.de>
14623 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14625 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14626 (ptrace_peeksiginfo_args): Add.
14627 (__ptrace_peeksiginfo_flags): Add.
14628 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14629 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14630 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14632 2013-07-03 Allan McRae <allan@archlinux.org>
14634 * sysdeps/i386/fpu/libm-test-ulps: Update.
14636 2013-07-02 David S. Miller <davem@davemloft.net>
14638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14640 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14642 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14644 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14646 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14649 2013-07-02 Andi Kleen <ak@linux.intel.com>
14651 * config.h.in (ENABLE_LOCK_ELISION): Add.
14652 * configure.in (--enable-lock-elision): Add option.
14653 * manual/install.texi: Document --enable lock elision.
14654 * configure: Regenerate
14655 * INSTALL: Regenerate.
14657 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14659 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14660 SSE4.2 strcasecmp for libc.a.
14661 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14663 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14666 * soft-fp/op-common.h (_FP_FMA): New macro.
14667 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14668 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14669 (_FP_MUL_MEAT_1_imm): ... here.
14670 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14671 (_FP_MUL_MEAT_1_wide): ... here.
14672 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14673 (_FP_MUL_MEAT_1_hard): ... here.
14674 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14675 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14676 (_FP_MUL_MEAT_2_wide): ... here.
14677 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14678 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14679 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14680 (_FP_MUL_MEAT_2_gmp): ... here.
14681 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14682 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14683 (_FP_MUL_MEAT_4_wide): ... here.
14684 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14685 (_FP_MUL_MEAT_4_gmp): ... here.
14686 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14687 (_FP_WFRACBITS_DW_S): Likewise.
14688 (_FP_WFRACXBITS_DW_S): Likewise.
14689 (_FP_HIGHBIT_DW_S): Likewise.
14690 (FP_FMA_S): Likewise.
14691 (_FP_FRAC_HIGH_DW_S): Likewise.
14692 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14693 (_FP_WFRACBITS_DW_D): Likewise.
14694 (_FP_WFRACXBITS_DW_D): Likewise.
14695 (_FP_HIGHBIT_DW_D): Likewise.
14696 (FP_FMA_D): Likewise.
14697 (_FP_FRAC_HIGH_DW_D): Likewise.
14698 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14699 (_FP_WFRACBITS_DW_E): Likewise.
14700 (_FP_WFRACXBITS_DW_E): Likewise.
14701 (_FP_HIGHBIT_DW_E): Likewise.
14702 (FP_FMA_E): Likewise.
14703 (_FP_FRAC_HIGH_DW_E): Likewise.
14704 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14705 (_FP_WFRACBITS_DW_Q): Likewise.
14706 (_FP_WFRACXBITS_DW_Q): Likewise.
14707 (_FP_HIGHBIT_DW_Q): Likewise.
14708 (FP_FMA_Q): Likewise.
14709 (_FP_FRAC_HIGH_DW_Q): Likewise.
14710 * soft-fp/fmasf4.c: New file.
14711 * soft-fp/fmadf4.c: Likewise.
14712 * soft-fp/fmatf4.c: Likewise.
14714 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14717 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14719 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14721 (index_Slow_SSE4_2): Likewise.
14722 (index_Prefer_PMINUB_for_stringop): Likewise.
14723 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14724 bit_Slow_SSE4_2 is set.
14725 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14726 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14728 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14730 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14731 rtld_global._dl_hwcap2.
14732 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14734 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14735 POWER8 feature descriptions defined in _dl_hwcap2.
14736 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14737 string handling for POWER8 feature bits.
14738 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14739 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14740 _dl_powerpc_cap_flags.
14741 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14742 * sysdeps/powerpc/rtld-global-offsets.sym
14743 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14744 _dl_hwcap2 in the rtld_global_ro structure.
14746 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14748 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14749 hardware capabilities in support of AT_HWCAP2.
14750 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14751 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14753 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14754 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14755 explicitly the unknown a_type display mechanism is used.
14756 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14757 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14759 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14760 to macro prototype for AT_HWCAP2 support.
14761 * sysdeps/i386/dl-procinfo.h: Likewise.
14762 * sysdeps/s390/dl-procinfo.h: Likewise.
14763 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14764 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14765 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14766 return -1 for unknown a_type display fallback.
14767 * sysdeps/sparc/dl-procinfo.h: Likewise.
14768 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14769 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14771 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14773 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14774 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14776 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14779 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14780 mprotect making __stack_prot writable.
14782 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14783 Joseph Myers <joseph@codesourcery.com>
14785 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14786 as being properly aligned.
14788 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14790 * dlfcn/modstatic5.c: New file.
14791 * dlfcn/tststatic5.c: New file.
14792 * dlfcn/Makefile (tests): Add tststatic5.
14793 (tests-static): Likewise.
14794 (modules-names): Add modstatic5.
14795 (tststatic5-ENV): New variable.
14796 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14799 * elf/dl-support.c (_dl_main_map): New variable.
14800 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14801 (_dl_nns, _dl_load_adds): Set to 1.
14802 (_dl_initial_searchlist): Refer to _dl_main_map.
14803 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14804 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14805 call to _dl_get_origin.
14806 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14808 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14809 * dlfcn/modstatic3.c: New file.
14810 * dlfcn/tststatic3.c: New file.
14811 * dlfcn/tststatic4.c: New file.
14812 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14813 (tests-static): Likewise.
14814 (modules-names): Add modstatic3.
14815 (tststatic3-ENV, tststatic4-ENV): New variables.
14816 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14817 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14819 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14821 * configure.in (CC): Require GCC version 4.4 or later.
14822 * configure: Regenerated.
14823 * manual/install.texi (Tools for Compilation): Update GCC version
14825 * INSTALL: Regenerated.
14827 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14830 * string/test-memcmp.c (check2): New.
14831 (main): Call check2.
14833 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14835 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14838 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14840 (dl_open_worker) [!SHARED]: ... here.
14842 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14844 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14846 2013-06-25 Richard Henderson <rth@redhat.com>
14848 * locale/programs/locarchive.c: Include <libc-internal.h>
14850 2013-06-25 Joseph Myers <joseph@codesourcery.com>
14852 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14853 trailing whitespace removed.
14855 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14858 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14859 * locale/programs/locarchive.c: Include libc-mmap.h.
14860 (prepare_address_space): Take two new outputs (the mmap base and len).
14861 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14863 (create_archive): Declare new mmap base and len values for
14864 prepare_address_space, and store the result in ah.
14865 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14866 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14867 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14868 Declare new mmap base and len values for
14869 prepare_address_space, and store the result in new_ah.
14870 (open_archive): Declare new mmap base and len values for
14871 prepare_address_space, and store the result in ah.
14872 (close_archive): If ah->mmap_base is not NULL, use that and
14873 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14874 * sysdeps/generic/libc-mmap.h: New file.
14876 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14878 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14879 (ALIGN_UP): Likewise.
14880 (PTR_ALIGN_DOWN): Likewise.
14881 (PTR_ALIGN_UP): Likewise.
14883 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14885 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14886 entry mapped to PPC_PLATFORM_POWER8.
14887 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14889 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14890 (_dl_string_platform): Add case for exporting platform position for
14892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14893 search path to sysdeps/powerpc/powerpc32/power8 directory.
14894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14895 search path to sysdeps/powerpc/powerpc64/power8 directory.
14896 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14897 power7 directories.
14898 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14899 power7 directories.
14901 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14903 * INSTALL: Regenerate.
14905 * nscd/connections.c (nscd_init): Fix comment.
14907 2013-06-22 Joseph Myers <joseph@codesourcery.com>
14909 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14912 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14913 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14915 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14917 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14919 (DL_DST_REQ_STATIC): Remove macro.
14921 2013-06-21 Joseph Myers <joseph@codesourcery.com>
14924 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14925 with a shift of 0 bits.
14927 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14929 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14932 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14935 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14937 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14939 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14940 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14941 accepts -fno-tree-loop-distribute-patterns.
14942 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14943 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14945 * string/memset.c (memset): Likewise.
14946 * string/test-memmove.c (simple_memmove): Disable loop transformation
14948 * string/test-memset.c (simple_memset): Likewise.
14949 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14950 * benchtests/bench-memset.c (simple_memset): Likewise.
14951 * configure: Regenerated.
14953 2013-06-20 Joseph Myers <joseph@codesourcery.com>
14955 * math/test-misc.c (main): Ignore fesetround failure when failures
14956 of subsequent rounding tests would be ignored.
14959 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14960 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14961 * math/fegetenv.c (__fegetenv): Return 0.
14962 * math/fegetexcept.c (fegetexcept): Return 0.
14963 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14965 * math/feholdexcpt.c (feholdexcept): Return 0.
14966 * math/fesetenv.c (__fesetenv): Return 0.
14967 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14968 argument FE_TONEAREST.
14969 * math/feupdateenv.c (__feupdateenv): Return 0.
14970 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14972 2013-06-18 Roland McGrath <roland@hack.frob.com>
14974 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14975 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14976 ($(objpfx)rtld-%.os rules): Use them.
14978 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14980 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14983 2013-06-17 Roland McGrath <roland@hack.frob.com>
14985 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14986 length of target pattern, then descending length of dependency pattern.
14987 * configure.in (AWK): Require gawk 3.1.2 or newer.
14988 * manual/install.texi (Tools for Compilation): Say that we do.
14989 * configure: Regenerated.
14991 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14992 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14993 * scripts/sysd-rules.awk: ... this new script.
14994 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14995 than a glob-style pattern.
14997 2013-06-17 Joseph Myers <joseph@codesourcery.com>
14999 * math/test-misc.c (main): Do not treat incorrectly rounded
15000 conversions as failure unless ROUNDING_TESTS passes.
15002 2013-06-15 Joseph Myers <joseph@codesourcery.com>
15005 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15006 restore exception state around main square root computation, then
15007 check for inexactness explicitly.
15009 * math/libm-test.inc (fma_test_data): Add another test.
15011 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15013 * manual/threads.texi (Non-POSIX Extensions): New document
15014 node. Document pthread_getattr_default_np and
15015 pthread_setattr_default_np.
15017 * Versions.def (libpthread): Add GLIBC_2.18.
15018 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15027 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15031 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15035 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15038 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15041 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15043 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15044 H.J. Lu <hjl.tools@gmail.com>
15047 * sysdeps/x86_64/rtld-memset.c: Remove file.
15048 * sysdeps/x86_64/rtld-memset.S: New file.
15050 2013-06-14 Joseph Myers <joseph@codesourcery.com>
15052 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15053 (test_in_one_mode): Take arguments for whether the rounding mode
15054 is supported for each floating-point type.
15055 (do_test): Pass new arguments to test_in_one_mode using
15058 2013-06-13 Roland McGrath <roland@hack.frob.com>
15060 * posix/tst-waitid.c (do_test): Distinguish different instances of
15061 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
15062 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15063 before entering the kernel for waitpid.
15065 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15067 * NEWS: Fix note on clock function precision. Text by Roland
15070 2013-06-13 Roland McGrath <roland@hack.frob.com>
15072 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15073 it into place only when and if the sanity check passes.
15075 2013-06-13 Joseph Myers <joseph@codesourcery.com>
15077 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15078 output for whether conversion result is exact. Take argument
15079 indicating whether type is IBM long double.
15080 (round_for_all): Change need_exact field to ibm_ld.
15081 * stdlib/tst-strtod-round.c (struct exactness): New type.
15082 (struct test): Change bool ld_ok field to struct exactness exact.
15083 (TEST): Update all definitions for change to field.
15084 (tests): Regenerate array contents.
15085 (test_in_one_mode): Take pointer to new field instead of old ld_ok
15086 field value. Check for IBM long double here.
15087 (do_test): Update calls to test_in_one_mode.
15089 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15092 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15093 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15095 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15098 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15099 generated by the compiler on loop optimizations.
15100 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15101 general definitions.
15103 2013-06-12 Joseph Myers <joseph@codesourcery.com>
15105 * math/bug-nextafter.c: Include <math-tests.h>.
15106 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15108 * math/bug-nexttoward.c: Include <math-tests.h>.
15109 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15111 * math/test-misc.c: Include <math-tests.h>.
15112 (main): Only test for exceptions if EXCEPTION_TESTS is true for
15115 2013-06-12 Andreas Jaeger <aj@suse.de>
15117 * po/ia.po: Update Interlingua translation from translation
15120 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15122 * include/fenv.h: Include stdbool.h.
15123 (struct rm_ctx): New structure.
15124 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15126 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15127 (SET_RESTORE_ROUNDF): Likewise.
15128 (SET_RESTORE_ROUNDL): Likewise.
15129 (SET_RESTORE_ROUND_NOEX): Likewise.
15130 (SET_RESTORE_ROUND_NOEXF): Likewise.
15131 (SET_RESTORE_ROUND_NOEXL): Likewise.
15132 (SET_RESTORE_ROUND_53BIT): Likewise.
15133 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15134 (libc_feresetround_noexf_ctx): Likewise.
15135 (libc_feresetround_noexl_ctx): Likewise.
15136 (libc_feholdsetround_53bit_ctx): Likewise.
15137 (libc_feresetround_53bit_ctx): Likewise.
15138 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15139 (libc_feholdexcept_setround_sse_ctx): New function.
15140 (libc_fesetenv_sse_ctx): Likewise.
15141 (libc_feupdateenv_sse_ctx): Likewise.
15142 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15143 (libc_feholdexcept_setround_387_ctx): Likewise.
15144 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15145 (libc_feholdsetround_387_prec_ctx): Likewise.
15146 (libc_feholdsetround_387_ctx): Likewise.
15147 (libc_feholdsetround_387_53bit_ctx): Likewise.
15148 (libc_feholdsetround_sse_ctx): Likewise.
15149 (libc_feresetround_sse_ctx): Likewise.
15150 (libc_feresetround_387_ctx): Likewise.
15151 (libc_feupdateenv_387_ctx): Likewise.
15152 (libc_feholdexcept_setroundf_ctx): Define macro.
15153 (libc_fesetenvf_ctx): Likewise.
15154 (libc_feupdateenvf_ctx): Likewise.
15155 (libc_feholdsetroundf_ctx): Likewise.
15156 (libc_feresetroundf_ctx): Likewise.
15157 (libc_feholdexcept_setround_ctx): Likewise.
15158 (libc_fesetenv_ctx): Likewise.
15159 (libc_feupdateenv_ctx): Likewise.
15160 (libc_feholdsetround_ctx): Likewise.
15161 (libc_feresetround_ctx): Likewise.
15162 (libc_feholdexcept_setroundl_ctx): Likewise.
15163 (libc_feupdateenvl_ctx): Likewise.
15164 (libc_feholdsetroundl_ctx): Likewise.
15165 (libc_feresetroundl_ctx): Likewise.
15166 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15167 (libc_feresetround_53bit_ctx): Likewise.
15169 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15171 * locale/iso-639.def: Convert to UTF-8.
15173 2013-06-11 Joseph Myers <joseph@codesourcery.com>
15175 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15176 (EXCEPTION_TESTS_double): Likewise.
15177 (EXCEPTION_TESTS_long_double): Likewise.
15178 (EXCEPTION_TESTS): Likewise.
15179 * math/libm-test.inc (test_exceptions): Only test exceptions if
15180 EXCEPTION_TESTS (FLOAT).
15182 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15184 * benchtests/Makefile (string-bench): Add strcpy_chk and
15186 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15187 * benchtests/bench-stpcpy_chk.c: New file.
15188 * benchtests/bench-strcpy_chk-ifunc.c: New file.
15189 * benchtests/bench-strcpy_chk.c: New file.
15190 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15192 (do_test): Likewise.
15194 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15196 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15197 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15198 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15199 with tabs where appropriate.
15200 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15202 [PPC_PLATFORM_PPC440]: Likewise.
15203 [PPC_PLATFORM_PPC464]: Likewise.
15204 [PPC_PLATFORM_PPC476]: Likewise.
15205 (_dl_string_platform): Add support for detecting ppc405, ppc440,
15206 ppc464, and ppc476 platform strings merging from ports/
15209 2013-06-11 Andreas Schwab <schwab@suse.de>
15212 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15213 (from_ucs4_idx): Regenerate.
15214 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15215 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15216 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15217 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15218 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15219 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15220 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15221 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15222 from FROM_LOOP and TO_LOOP specific macros.
15223 (BODY): Handle combining characters.
15224 * iconvdata/BIG5HKSCS.irreversible: Update.
15225 * iconvdata/BIG5HKSCS.precomposed: New file.
15226 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15228 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15230 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15232 * include/sys/time.h: Fix indentation and add copyright header.
15234 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15235 (do_test): Likewise.
15236 * string/test-memchr.c (do_one_test): Likewise.
15237 (do_test): Likewise.
15238 * string/test-memcmp.c (do_one_test): Likewise.
15239 (do_test): Likewise.
15240 * string/test-memcpy.c (do_one_test): Likewise.
15241 (do_test): Likewise.
15242 * string/test-memmem.c (do_one_test): Likewise.
15243 (do_test): Likewise.
15244 (do_random_tests): Likewise.
15245 * string/test-memmove.c (do_one_test): Likewise.
15246 (do_test): Likewise.
15247 * string/test-memset.c (do_one_test): Likewise.
15248 (do_test): Likewise.
15249 * string/test-rawmemchr.c (do_one_test): Likewise.
15250 (do_test): Likewise.
15251 * string/test-strcasecmp.c (do_one_test): Likewise.
15252 (do_test): Likewise.
15253 * string/test-strcasestr.c (do_one_test): Likewise.
15254 (do_test): Likewise.
15255 * string/test-strcat.c (do_one_test): Likewise.
15256 (do_test): Likewise.
15257 * string/test-strchr.c (do_one_test): Likewise.
15258 (do_test): Likewise.
15259 * string/test-strcmp.c (do_one_test): Likewise.
15260 (do_test): Likewise.
15261 * string/test-strcpy.c (do_one_test): Likewise.
15262 (do_test): Likewise.
15263 * string/test-string.h: Likewise.
15264 (test_init): Likewise.
15265 * string/test-strlen.c (do_one_test): Likewise.
15266 (do_test): Likewise.
15267 * string/test-strncasecmp.c (do_one_test): Likewise.
15268 (do_test): Likewise.
15269 * string/test-strncat.c (do_one_test): Likewise.
15270 (do_test): Likewise.
15271 * string/test-strncmp.c (do_one_test): Likewise.
15272 (do_test_limit): Likewise.
15273 (do_test): Likewise.
15274 * string/test-strncpy.c (do_one_test): Likewise.
15275 (do_test): Likewise.
15276 * string/test-strnlen.c (do_one_test): Likewise.
15277 (do_test): Likewise.
15278 * string/test-strpbrk.c (do_one_test): Likewise.
15279 (do_test): Likewise.
15280 * string/test-strrchr.c (do_one_test): Likewise.
15281 (do_test): Likewise.
15282 * string/test-strspn.c (do_one_test): Likewise.
15283 (do_test): Likewise.
15284 * string/test-strstr.c (do_one_test): Likewise.
15285 (do_test): Likewise.
15287 * benchtests/Makefile (string-bench): Add string benchmarks.
15288 * benchtests/bench-bcopy-ifunc.c: New file.
15289 * benchtests/bench-bcopy.c: New file.
15290 * benchtests/bench-bzero-ifunc.c: New file.
15291 * benchtests/bench-bzero.c: New file.
15292 * benchtests/bench-memccpy-ifunc.c: New file.
15293 * benchtests/bench-memccpy.c: New file.
15294 * benchtests/bench-memchr-ifunc.c: New file.
15295 * benchtests/bench-memchr.c: New file.
15296 * benchtests/bench-memcmp-ifunc.c: New file.
15297 * benchtests/bench-memcmp.c: New file.
15298 * benchtests/bench-memmem-ifunc.c: New file.
15299 * benchtests/bench-memmem.c: New file.
15300 * benchtests/bench-memmove-ifunc.c: New file.
15301 * benchtests/bench-memmove.c: New file.
15302 * benchtests/bench-mempcpy-ifunc.c: New file.
15303 * benchtests/bench-mempcpy.c: New file.
15304 * benchtests/bench-memset-ifunc.c: New file.
15305 * benchtests/bench-memset.c: New file.
15306 * benchtests/bench-rawmemchr-ifunc.c: New file.
15307 * benchtests/bench-rawmemchr.c: New file.
15308 * benchtests/bench-stpcpy-ifunc.c: New file.
15309 * benchtests/bench-stpcpy.c: New file.
15310 * benchtests/bench-stpncpy-ifunc.c: New file.
15311 * benchtests/bench-stpncpy.c: New file.
15312 * benchtests/bench-strcasecmp-ifunc.c: New file.
15313 * benchtests/bench-strcasecmp.c: New file.
15314 * benchtests/bench-strcasestr-ifunc.c: New file.
15315 * benchtests/bench-strcasestr.c: New file.
15316 * benchtests/bench-strcat-ifunc.c: New file.
15317 * benchtests/bench-strcat.c: New file.
15318 * benchtests/bench-strchr-ifunc.c: New file.
15319 * benchtests/bench-strchr.c: New file.
15320 * benchtests/bench-strchrnul-ifunc.c: New file.
15321 * benchtests/bench-strchrnul.c: New file.
15322 * benchtests/bench-strcmp-ifunc.c: New file.
15323 * benchtests/bench-strcmp.c: New file.
15324 * benchtests/bench-strcpy-ifunc.c: New file.
15325 * benchtests/bench-strcpy.c: New file.
15326 * benchtests/bench-strcspn-ifunc.c: New file.
15327 * benchtests/bench-strcspn.c: New file.
15328 * benchtests/bench-strlen-ifunc.c: New file.
15329 * benchtests/bench-strlen.c: New file.
15330 * benchtests/bench-strncasecmp-ifunc.c: New file.
15331 * benchtests/bench-strncasecmp.c: New file.
15332 * benchtests/bench-strncat-ifunc.c: New file.
15333 * benchtests/bench-strncat.c: New file.
15334 * benchtests/bench-strncmp-ifunc.c: New file.
15335 * benchtests/bench-strncmp.c: New file.
15336 * benchtests/bench-strncpy-ifunc.c: New file.
15337 * benchtests/bench-strncpy.c: New file.
15338 * benchtests/bench-strnlen-ifunc.c: New file.
15339 * benchtests/bench-strnlen.c: New file.
15340 * benchtests/bench-strpbrk-ifunc.c: New file.
15341 * benchtests/bench-strpbrk.c: New file.
15342 * benchtests/bench-strrchr-ifunc.c: New file.
15343 * benchtests/bench-strrchr.c: New file.
15344 * benchtests/bench-strspn-ifunc.c: New file.
15345 * benchtests/bench-strspn.c: New file.
15346 * benchtests/bench-strstr-ifunc.c: New file.
15347 * benchtests/bench-strstr.c: New file.
15349 * benchtests/Makefile: Disable parallel execution of targets.
15350 (string-bench): Add memcpy.
15351 (benchset): New variable to store a list of benchmark sets.
15352 (bench-func): Renamed from bench.
15353 (bench-set): New target.
15354 (bench): Depend on bench-func and bench-set.
15355 * benchtests/README: Add section on benchmark sets.
15356 * benchtests/bench-memcpy-ifunc.c: New file.
15357 * benchtests/bench-memcpy.c: New file.
15358 * benchtests/bench-string.h: New file.
15360 2013-06-11 Andreas Schwab <schwab@suse.de>
15363 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15364 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15365 values in the triple.
15366 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15367 terminator in the group key.
15369 2013-06-11 Andreas Jaeger <aj@suse.de>
15371 * po/zh_TW.po: Update Chinese (traditional) translation from
15372 translation project.
15374 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15376 * include/time.h (__clock_gettime): Add libc_hidden_proto.
15377 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15378 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
15379 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15380 (clock_getcpuclockid): Likewise.
15381 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15382 Add weak_alias and libc_hidden_def.
15383 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15384 * rt/clock_gettime.c (clock_gettime): Rename to
15385 __clock_gettime. Add weak_alias and libc_hidden_def.
15386 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15387 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15388 __clock_nanosleep. Add weak_alias and libc_hidden_def.
15389 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15390 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15392 * rt/clock_settime.c (clock_settime): Rename to
15393 __clock_settime. Add weak_alias and libc_hidden_def.
15394 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15396 2013-06-10 Joseph Myers <joseph@codesourcery.com>
15398 * mach/err_boot.sub: Remove trailing whitespace.
15399 * mach/err_ipc.sub: Likewise.
15400 * mach/err_mach.sub: Likewise.
15402 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15403 (ROUNDING_TESTS_double): Likewise.
15404 (ROUNDING_TESTS_long_double): Likewise.
15405 (ROUNDING_TESTS): Likewise.
15406 * math/libm-test.inc: Include <math-tests.h>.
15407 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15408 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15409 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15410 (IF_ROUND_INIT_FE_UPWARD): Likewise.
15412 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15414 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15417 2013-06-08 Joseph Myers <joseph@codesourcery.com>
15419 * sysdeps/gnu/errlist.awk: Do not generate space at end of
15420 otherwise empty TRANS lines.
15421 * sysdeps/gnu/errlist.c: Regenerated.
15423 * catgets/gencat.c (error_print): Use (void) in function
15425 * crypt/crypt_util.c (__init_des): Likewise.
15426 * crypt/speeds.c (Stop): Likewise.
15428 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15429 * inet/ruserpass.c (token): Likewise.
15430 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15431 * intl/localealias.c (extend_alias_table): Likewise.
15432 * intl/plural-exp.c (init_germanic_plural): Likewise.
15433 * libio/fcloseall.c (__fcloseall): Likewise.
15434 * libio/genops.c (_IO_flush_all): Likewise.
15435 (_IO_flush_all_linebuffered): Likewise.
15436 (_IO_cleanup): Likewise.
15437 (_IO_iter_begin): Likewise.
15438 (_IO_iter_end): Likewise.
15439 (_IO_list_lock): Likewise.
15440 (_IO_list_unlock): Likewise.
15441 (_IO_list_resetlock): Likewise.
15442 * libio/getchar.c (getchar): Likewise.
15443 * libio/getchar_u.c (getchar_unlocked): Likewise.
15444 * libio/getwchar.c (getwchar): Likewise.
15445 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15446 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15447 * login/getpt.c (__getpt): Likewise.
15448 * login/tst-utmp.c (main): Likewise.
15449 * malloc/hooks.c (__malloc_check_init): Likewise.
15450 * malloc/malloc.c (__malloc_stats): Likewise.
15451 * malloc/mtrace.c (tr_break): Likewise.
15452 (mtrace): Likewise.
15453 (muntrace): Likewise.
15454 * misc/fstab.c (endfsent): Likewise.
15455 * misc/getclktck.c (__getclktck): Likewise.
15456 * misc/getdtsz.c (__getdtablesize): Likewise.
15457 * misc/gethostid.c (gethostid): Likewise.
15458 * misc/getpagesize.c (__getpagesize): Likewise.
15459 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15460 (__get_nprocs): Likewise.
15461 (__get_phys_pages): Likewise.
15462 (__get_avphys_pages): Likewise.
15463 * misc/getttyent.c (getttyent): Likewise.
15464 (setttyent): Likewise.
15465 (endttyent): Likewise.
15466 * misc/getusershell.c (getusershell): Likewise.
15467 (endusershell): Likewise.
15468 (setusershell): Likewise.
15469 (initshells): Likewise.
15470 * misc/hsearch.c (__hdestroy): Likewise.
15471 * misc/sync.c (sync): Likewise.
15472 * misc/syslog.c (closelog_internal): Likewise.
15473 (closelog): Likewise.
15474 * misc/ttyslot.c (ttyslot): Likewise.
15475 * misc/vhangup.c (vhangup): Likewise.
15476 * posix/fork.c (__fork): Likewise.
15477 * posix/getegid.c (__getegid): Likewise.
15478 * posix/geteuid.c (__geteuid): Likewise.
15479 * posix/getgid.c (__getgid): Likewise.
15480 * posix/getpid.c (__getpid): Likewise.
15481 * posix/getppid.c (__getppid): Likewise.
15482 * posix/getuid.c (__getuid): Likewise.
15483 * posix/pause.c (pause): Likewise.
15484 * posix/setpgrp.c (setpgrp): Likewise.
15485 * posix/setsid.c (__setsid): Likewise.
15486 * posix/test-vfork.c (noop): Likewise.
15487 * resolv/gethnamaddr.c (_endhtent): Likewise.
15488 (_gethtent): Likewise.
15489 (ht_endhostent): Likewise.
15490 (gethostent): Likewise.
15491 (dns_service): Likewise.
15492 * stdlib/drand48.c (drand48): Likewise.
15493 * stdlib/lrand48.c (lrand48): Likewise.
15494 * stdlib/mrand48.c (mrand48): Likewise.
15495 * stdlib/rand.c (rand): Likewise.
15496 * stdlib/random.c (__random): Likewise.
15497 * stdlib/setenv.c (clearenv): Likewise.
15498 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15499 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15500 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15501 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15502 (__get_nprocs): Likewise.
15503 (__get_phys_pages): Likewise.
15504 (__get_avphys_pages): Likewise.
15505 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15506 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15507 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15508 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15509 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15510 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15511 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15512 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15513 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15514 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15515 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15516 * sysdeps/mach/hurd/sync.c (sync): Likewise.
15517 * sysdeps/posix/clock.c (clock): Likewise.
15518 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15519 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15520 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15521 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15522 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15523 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15524 (__get_nprocs_conf): Likewise.
15525 (__get_phys_pages): Likewise.
15526 (__get_avphys_pages): Likewise.
15527 * time/clock.c (clock): Likewise.
15528 * time/tzset.c (__tzname_max): Likewise.
15530 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15532 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15533 (__bswap_32): Do not use "register".
15534 * crypt/crypt.c (_ufc_doit_r): Likewise.
15535 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15536 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15537 * gmon/gmon.c (__monstartup): Likewise.
15538 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15539 * hurd/hurdmalloc.c (more_memory): Likewise.
15540 (malloc): Likewise.
15542 (realloc): Likewise.
15543 (malloc_fork_prepare): Likewise.
15544 (malloc_fork_parent): Likewise.
15545 (malloc_fork_child): Likewise.
15546 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15547 (_svcauth_des): Likewise.
15548 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15549 * inet/inet_net.c (inet_network): Likewise.
15550 * inet/inet_netof.c (inet_netof): Likewise.
15551 * inet/rcmd.c (__validuser2_sa): Likewise.
15552 * io/fts.c (fts_open): Likewise.
15553 (fts_load): Likewise.
15554 (fts_close): Likewise.
15555 (fts_read): Likewise.
15556 (fts_children): Likewise.
15557 (fts_build): Likewise.
15558 (fts_stat): Likewise.
15559 (fts_sort): Likewise.
15560 (fts_alloc): Likewise.
15561 (fts_lfree): Likewise.
15562 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15563 (_IO_file_xsgetn): Likewise.
15564 (_IO_file_xsgetn_mmap): Likewise.
15565 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15566 (_IO_cookie_write): Likewise.
15567 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15568 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15569 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15570 * malloc/obstack.c (_obstack_begin): Likewise.
15571 (_obstack_begin_1): Likewise.
15572 (_obstack_newchunk): Likewise.
15573 (_obstack_allocated_p): Likewise.
15574 (obstack_free): Likewise.
15575 (_obstack_memory_used): Likewise.
15576 * misc/getttyent.c (getttynam): Likewise.
15577 (getttyent): Likewise.
15580 * misc/getusershell.c (initshells): Likewise.
15581 * misc/syslog.c (__vsyslog_chk): Likewise.
15582 * misc/ttyslot.c (ttyslot): Likewise.
15583 * nis/nis_hash.c (__nis_hash): Likewise.
15584 * posix/fnmatch_loop.c (FCT): Likewise.
15585 * posix/getconf.c (print_all): Likewise.
15587 * posix/getopt.c (exchange): Likewise.
15588 * posix/glob.c (globfree): Likewise.
15589 (prefix_array): Likewise.
15590 (__glob_pattern_type): Likewise.
15591 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15592 (NS_GET32): Likewise.
15593 (NS_PUT16): Likewise.
15594 (NS_PUT32): Likewise.
15595 * resolv/gethnamaddr.c (getanswer): Likewise.
15596 (gethostbyname2): Likewise.
15597 (gethostbyaddr): Likewise.
15598 (_gethtent): Likewise.
15599 (_gethtbyname2): Likewise.
15600 (_gethtbyaddr): Likewise.
15601 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15602 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15603 * resolv/res_init.c (__res_vinit): Likewise.
15604 (net_mask): Likewise.
15605 * resolv/res_mkquery.c (outchar): Likewise.
15607 * stdio-common/printf_fp.c (outchar): Likewise.
15609 * stdio-common/printf_fphex.c (outchar): Likewise.
15611 * stdio-common/printf_size.c (outchar): Likewise.
15613 * stdio-common/test_rdwr.c (main): Likewise.
15614 * stdio-common/tfformat.c (matches): Likewise.
15615 * stdio-common/vfprintf.c (outchar): Likewise.
15616 (printf_unknown): Likewise.
15617 (buffered_vfprintf): Likewise.
15618 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15619 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15620 (ReadFile): Likewise.
15621 * stdlib/qsort.c (SWAP): Likewise.
15622 (_quicksort): Likewise.
15623 * stdlib/setenv.c (__add_to_environ): Likewise.
15624 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15625 * stdlib/strtol_l.c (__strtol_l): Likewise.
15626 * stdlib/tst-strtod.c (main): Likewise.
15627 * stdlib/tst-strtol.c (main): Likewise.
15628 * stdlib/tst-strtoll.c (main): Likewise.
15629 * string/bits/string2.h (__strcmp_cc): Likewise.
15630 (__strcmp_cg): Likewise.
15631 (__strcspn_c1): Likewise.
15632 (__strcspn_c2): Likewise.
15633 (__strcspn_c3): Likewise.
15634 (__strspn_c1): Likewise.
15635 (__strspn_c2): Likewise.
15636 (__strspn_c3): Likewise.
15637 (__strsep_1c): Likewise.
15638 (__strsep_2c): Likewise.
15639 (__strsep_3c): Likewise.
15640 * string/memccpy.c (__memccpy): Likewise.
15641 * string/stpcpy.c (__stpcpy): Likewise.
15642 * string/strcmp.c (strcmp): Likewise.
15643 * string/strrchr.c (strrchr): Likewise.
15644 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15646 * sysdeps/mach/hurd/getcwd.c
15647 (_hurd_canonicalize_directory_name_internal): Likewise.
15648 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15649 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15650 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15651 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15652 Likewise, in both definitions.
15653 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15655 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15656 64] (__bswap_64): Likewise.
15657 * time/test_time.c (main): Likewise.
15658 * time/tzfile.c (__tzfile_read): Likewise.
15659 (__tzfile_compute): Likewise.
15660 * time/tzset.c (__tzset_parse_tz): Likewise.
15661 (tzset_internal): Likewise.
15662 (compute_change): Likewise.
15663 * wcsmbs/wcscat.c (__wcscat): Likewise.
15664 * wcsmbs/wcschr.c (wcschr): Likewise.
15665 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15666 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15667 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15668 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15669 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15670 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15671 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15672 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15673 * wcsmbs/wmemset.c (wmemset): Likewise.
15675 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15677 * scripts/config.guess: Update to version 2013-05-16.
15678 * scripts/config.sub: Update to version 2013-04-24.
15679 * scripts/install-sh: Update to version 2011-11-20.07.
15680 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15681 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15683 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15685 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15686 * elf/sln.c: Likewise.
15687 * hurd/hurd/ioctl.h: Likewise.
15688 * hurd/hurdmalloc.c: Likewise.
15689 * hurd/xattr.c: Likewise.
15690 * include/shlib-compat.h: Likewise.
15691 * inet/ruserpass.c: Likewise.
15692 * libio/iofgets_u.c: Likewise.
15693 * libio/iofgetws_u.c: Likewise.
15694 * locale/programs/ld-identification.c: Likewise.
15695 * locale/programs/ld-time.c: Likewise.
15696 * mach/msg-destroy.c: Likewise.
15697 * nss/nss_files/files-netgrp.c: Likewise.
15698 * resolv/res_data.c: Likewise.
15699 * soft-fp/op-1.h: Likewise.
15700 * soft-fp/op-2.h: Likewise.
15701 * soft-fp/op-4.h: Likewise.
15702 * soft-fp/op-common.h: Likewise.
15703 * stdio-common/printf_fphex.c: Likewise.
15704 * stdlib/strtod_l.c: Likewise.
15705 * sunrpc/rpc/clnt.h: Likewise.
15706 * sysdeps/generic/framestate.c: Likewise.
15707 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15708 * sysdeps/i386/bsd-setjmp.S: Likewise.
15709 * sysdeps/i386/__longjmp.S: Likewise.
15710 * sysdeps/i386/setjmp.S: Likewise.
15711 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15712 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15713 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15714 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15715 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15717 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15718 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15719 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15720 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15721 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15722 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15723 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15724 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15725 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15726 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15727 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15728 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15729 * sysdeps/ieee754/support.c: Likewise.
15730 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15731 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15732 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15733 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15734 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15735 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15736 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15737 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15738 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15739 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15740 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15741 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15742 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15743 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15744 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15745 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15746 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15749 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15751 * posix/transbug.c: Remove executable mode.
15753 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15755 * crypt/speeds.c: Remove trailing whitespace.
15756 * dlfcn/default.c: Likewise.
15757 * elf/ifuncdep2.c: Likewise.
15758 * elf/ifuncmain1.c: Likewise.
15759 * elf/ifuncmain1vis.c: Likewise.
15760 * elf/testobj.h: Likewise.
15761 * elf/tst-stackguard1.c: Likewise.
15762 * gmon/sys/gmon.h: Likewise.
15763 * hurd/hurdmsg.c: Likewise.
15764 * hurd/new-fd.c: Likewise.
15765 * hurd/ports-get.c: Likewise.
15766 * iconvdata/ibm1008_420.c: Likewise.
15767 * inet/tst-getni1.c: Likewise.
15768 * inet/tst-getni2.c: Likewise.
15769 * libio/ioungetc.c: Likewise.
15770 * libio/wfiledoalloc.c: Likewise.
15771 * manual/libm-err-tab.pl: Likewise.
15772 * math/w_dremf.c: Likewise.
15773 * misc/ftruncate.c: Likewise.
15774 * posix/bug-glob2.c: Likewise.
15775 * posix/tst-pcre.c: Likewise.
15776 * posix/wait4.c: Likewise.
15777 * resolv/README: Likewise.
15778 * resolv/res_debug.h: Likewise.
15779 * resolv/tst-inet_ntop.c: Likewise.
15780 * setjmp/bug269-setjmp.c: Likewise.
15781 * soft-fp/extended.h: Likewise.
15782 * soft-fp/op-1.h: Likewise.
15783 * soft-fp/op-2.h: Likewise.
15784 * soft-fp/op-4.h: Likewise.
15785 * soft-fp/op-8.h: Likewise.
15786 * soft-fp/testit.c: Likewise.
15787 * stdio-common/bug16.c: Likewise.
15788 * stdlib/random.c: Likewise.
15789 * sunrpc/rpcsvc/rquota.x: Likewise.
15790 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15791 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15792 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15793 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15794 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15795 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15796 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15797 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15798 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15799 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15800 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15801 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15802 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15803 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15804 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15805 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15806 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15807 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15808 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15809 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15810 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15811 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15812 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15813 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15814 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15815 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15816 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15817 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15818 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15819 * sysdeps/ieee754/s_lib_version.c: Likewise.
15820 * sysdeps/mach/hurd/check_fds.c: Likewise.
15821 * sysdeps/mach/hurd/getsockname.c: Likewise.
15822 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15823 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15824 * sysdeps/powerpc/bits/link.h: Likewise.
15825 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15826 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15827 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15828 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15829 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15830 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15831 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15832 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15833 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15834 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15835 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15836 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15837 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15838 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15839 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15840 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15841 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15842 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15843 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15844 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15845 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15846 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15847 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15848 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15849 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15850 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15851 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15852 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15853 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15854 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15855 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15856 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15858 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15859 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15860 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15861 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15862 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15863 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15864 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15865 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15866 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15867 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15868 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15869 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15870 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15871 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15872 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15873 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15874 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15875 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15876 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15877 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15878 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15879 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15880 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15881 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15882 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15883 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15884 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15885 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15886 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15887 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15888 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15889 * sysdeps/powerpc/sysdep.h: Likewise.
15890 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15891 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15892 * sysdeps/sh/dl-trampoline.S: Likewise.
15893 * sysdeps/sh/memset.S: Likewise.
15894 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15895 * sysdeps/sh/strlen.S: Likewise.
15896 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15897 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15898 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15899 * sysdeps/sparc/sparc32/rem.S: Likewise.
15900 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15901 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15902 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15903 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15904 * sysdeps/sparc/sparc32/urem.S: Likewise.
15905 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15906 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15907 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15908 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15909 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15910 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15911 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15912 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15913 * sysdeps/unix/bsd/times.c: Likewise.
15914 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15915 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15919 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15920 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15921 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15922 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15923 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15924 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15925 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15926 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15927 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15928 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15929 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15930 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15931 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15932 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15933 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15934 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15935 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15936 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15937 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15938 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15939 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15940 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15941 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15942 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15943 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15944 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15945 * sysdeps/x86_64/strcspn.S: Likewise.
15947 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15949 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15950 generated file. Regenerate properly from gen-translit.pl.
15951 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15952 locale/C-translit.h.
15954 2013-06-05 Andreas Schwab <schwab@suse.de>
15957 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15958 week as 6 instead of -1.
15959 * time/tst-strptime.c (day_tests): Add test case.
15961 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15963 * sysdeps/generic/math_private.h
15964 (libc_feholdexcept_setround_53bit): Replace with
15965 libc_feholdsetround_53bit.
15966 (libc_feupdateenv_53bit): Replace with
15967 libc_feresetround_53bit.
15968 (SET_RESTORE_ROUND_53BIT): Adjust.
15970 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15972 * string/test-strchrnul.c: Add copyright header.
15974 * posix/tst-getaddrinfo4.c: Increase test timeout.
15976 2013-06-03 Carlos O'Donell <carlos@redhat.com>
15979 * math/libm-test.inc (MAX_EXP): Remove
15981 (ulp): Use MIN_EXP - MANT_DIG.
15982 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15984 2013-05-31 Carlos O'Donell <carlos@redhat.com>
15986 * po/be.po: Revert last change.
15987 * po/zh_CN.po: Likewise.
15988 * po/header.pot: Likewise.
15990 2013-05-31 Joseph Myers <joseph@codesourcery.com>
15992 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15993 link-libc-deps to empty as target-specific variable.
15994 * Makerules (link-libc-args): New variable.
15995 (libc-for-link): Likewise.
15996 (link-libc-deps): Likewise.
15997 (lib%.so): Depend on $(link-libc-deps). Link with
15999 (build-module): Link with $(link-libc-args).
16000 (build-module-asneeded): Likewise.
16001 (build-module-helper-objlist): Filter out $(link-libc-deps) from
16003 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16004 target-specific variable.
16005 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16006 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16007 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16009 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16011 ($(objpfx)libpcprofile.so): Likewise.
16012 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16014 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16015 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16016 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16018 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16019 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16020 * login/Makefile ($(objpfx)libutil.so): Likewise.
16021 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16022 * math/Makefile ($(objpfx)libm.so): Likewise.
16023 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16024 $(objpfx)libnsl.so): Define libc-for-link as target-specific
16025 variable instead of depending directly on libc.
16026 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16027 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16029 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16031 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16032 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16033 ($(objpfx)libanl.so): Likewise.
16034 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16036 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16038 * sysdeps/i386/fpu/Makefile: Remove file.
16039 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16040 ($(objpfx)libm.so): Remove dependency on ld.so.
16042 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
16045 * nis/yp_xdr.c (XDRMAXNAME): Define.
16046 (XDRMAXRECORD): Define.
16047 (xdr_domainname): Use XDRMAXNAME.
16048 (xdr_mapname): Likewise.
16049 (xdr_peername): Likewise.
16050 (xdr_keydat): Use XDRMAXRECORD.
16051 (xdr_valdat): Likewise.
16053 2013-05-30 Jeff Law <law@redhat.com>
16056 * manual/errno.texi (ESTALE): Update to account for more than
16057 just NFS file systems.
16058 * sysdeps/gnu/errlist.c: Regenerated.
16060 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16063 * elf/Makefile (tests): Add tst-null-argv.
16064 (modules-names): Add tst-null-argv-lib.
16065 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16066 (tst-null-argv-ENV): Set environment for tst-null-argv.
16067 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16068 (RTLD_PROGNAME): New macro.
16069 * elf/tst-null-argv.c: New test case.
16070 * elf/tst-null-argv-lib.c: Library for test case.
16071 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16072 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16073 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16074 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16075 * elf/dl-init.c (call_init): Likewise.
16076 (_dl_init): Likewise.
16077 * elf/dl-load.c (print_search_path): Likewise.
16078 (_dl_map_object): Likewise.
16079 * elf/dl-lookup.c (do_lookup_x): Likewise.
16080 (add_dependency): Likewise.
16081 (_dl_lookup_symbol_x): Likewise.
16082 (_dl_debug_bindings): Likewise.
16083 * elf/dl-open.c (_dl_show_scope): Likewise.
16084 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16085 * elf/dl-version.c (match_symbol): Likewise.
16086 (_dl_check_map_versions): Likewise.
16087 * elf/rtld.c (dl_main): Likewise.
16088 (print_unresolved): Use RTLD_PROGNAME.
16089 (print_missing_version): Likewise.
16090 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16091 (elf_machine_rela): Likewise.
16092 * sysdeps/powerpc/powerpc32/dl-machine.c
16093 (__process_machine_rela): Likewise.
16094 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16096 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16098 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16100 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16101 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16103 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16107 2013-05-28 Carlos O'Donell <carlos@redhat.com>
16109 * po/be.po: Add descriptive title.
16110 * po/zh_CN.po: Likewise.
16111 * po/header.pot: Likewise.
16113 2013-05-28 Mike Frysinger <vapier@gentoo.org>
16115 * locale/programs/locarchive.c (create_archive): Inlucde fname in
16117 (enlarge_archive): Likewise.
16119 2013-05-28 Ben North <ben@redfrontdoor.org>
16121 * manual/arith.texi (frexp): It is the magnitude of the return
16122 value which lies in [0.5, 1), not the return value itself.
16124 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16128 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
16130 * stdio-common/bug26.c (main): Correct fscanf template.
16132 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16133 declare _dl_skip_args.
16135 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16138 * manual/platform.texi: Add missing @end deftypefun.
16140 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16143 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16144 bit of mantissa of 2^16382.
16145 * math/libm-test.inc (hypot_test_data): Add more tests.
16147 * math/libm-test.inc: Add drem and pow10 to list of tested
16149 (pow10_test): New function.
16150 (drem_test): Likewise.
16151 (drem_test_tonearest): Likewise.
16152 (drem_test_towardzero): Likewise.
16153 (drem_test_downward): Likewise.
16154 (drem_test_upward): Likewise.
16155 (main): Call the new functions.
16157 * math/libm-test.inc (finite_test_data): Remove.
16158 (finite_test): Run tests from isfinite_test_data.
16159 (gamma_test_data): Remove.
16160 (gamma_test): Run tests from lgamma_test_data.
16161 * sysdeps/i386/fpu/libm-test-ulps: Update.
16162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16164 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16166 * manual/platform.texi: Add PowerPC PPR function set documentation.
16167 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16170 2013-05-24 Carlos O'Donell <carlos@redhat.com>
16172 * math/libm-test.inc (MAX_EXP): Define.
16174 (ulp): New function.
16175 (check_float_internal): Use ULPDIFF.
16176 (cpow_test): Disable failing test.
16177 (check_ulp): Test ulp() implemetnation.
16178 (main): Call check_ulp before starting tests.
16180 2013-05-24 Joseph Myers <joseph@codesourcery.com>
16182 * math/gen-libm-test.pl (generate_testfile): Do not handle
16183 START_DATA and END_DATA.
16184 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16186 (acos_tonearest_test_data): Likewise.
16187 (acos_towardzero_test_data): Likewise.
16188 (acos_downward_test_data): Likewise.
16189 (acos_upward_test_data): Likewise.
16190 (acosh_test_data): Likewise.
16191 (asin_test_data): Likewise.
16192 (asin_tonearest_test_data): Likewise.
16193 (asin_towardzero_test_data): Likewise.
16194 (asin_downward_test_data): Likewise.
16195 (asin_upward_test_data): Likewise.
16196 (asinh_test_data): Likewise.
16197 (atan_test_data): Likewise.
16198 (atanh_test_data): Likewise.
16199 (atan2_test_data): Likewise.
16200 (cabs_test_data): Likewise.
16201 (cacos_test_data): Likewise.
16202 (cacosh_test_data): Likewise.
16203 (carg_test_data): Likewise.
16204 (casin_test_data): Likewise.
16205 (casinh_test_data): Likewise.
16206 (catan_test_data): Likewise.
16207 (catanh_test_data): Likewise.
16208 (cbrt_test_data): Likewise.
16209 (ccos_test_data): Likewise.
16210 (ccosh_test_data): Likewise.
16211 (ceil_test_data): Likewise.
16212 (cexp_test_data): Likewise.
16213 (cimag_test_data): Likewise.
16214 (clog_test_data): Likewise.
16215 (clog10_test_data): Likewise.
16216 (conj_test_data): Likewise.
16217 (copysign_test_data): Likewise.
16218 (cos_test_data): Likewise.
16219 (cos_tonearest_test_data): Likewise.
16220 (cos_towardzero_test_data): Likewise.
16221 (cos_downward_test_data): Likewise.
16222 (cos_upward_test_data): Likewise.
16223 (cosh_test_data): Likewise.
16224 (cosh_tonearest_test_data): Likewise.
16225 (cosh_towardzero_test_data): Likewise.
16226 (cosh_downward_test_data): Likewise.
16227 (cosh_upward_test_data): Likewise.
16228 (cpow_test_data): Likewise.
16229 (cproj_test_data): Likewise.
16230 (creal_test_data): Likewise.
16231 (csin_test_data): Likewise.
16232 (csinh_test_data): Likewise.
16233 (csqrt_test_data): Likewise.
16234 (ctan_test_data): Likewise.
16235 (ctan_tonearest_test_data): Likewise.
16236 (ctan_towardzero_test_data): Likewise.
16237 (ctan_downward_test_data): Likewise.
16238 (ctan_upward_test_data): Likewise.
16239 (ctanh_test_data): Likewise.
16240 (ctanh_tonearest_test_data): Likewise.
16241 (ctanh_towardzero_test_data): Likewise.
16242 (ctanh_downward_test_data): Likewise.
16243 (ctanh_upward_test_data): Likewise.
16244 (erf_test_data): Likewise.
16245 (erfc_test_data): Likewise.
16246 (exp_test_data): Likewise.
16247 (exp_tonearest_test_data): Likewise.
16248 (exp_towardzero_test_data): Likewise.
16249 (exp_downward_test_data): Likewise.
16250 (exp_upward_test_data): Likewise.
16251 (exp10_test_data): Likewise.
16252 (exp2_test_data): Likewise.
16253 (expm1_test_data): Likewise.
16254 (fabs_test_data): Likewise.
16255 (fdim_test_data): Likewise.
16256 (finite_test_data): Likewise.
16257 (floor_test_data): Likewise.
16258 (fma_test_data): Likewise.
16259 (fma_towardzero_test_data): Likewise.
16260 (fma_downward_test_data): Likewise.
16261 (fma_upward_test_data): Likewise.
16262 (fmax_test_data): Likewise.
16263 (fmin_test_data): Likewise.
16264 (fmod_test_data): Likewise.
16265 (fpclassify_test_data): Likewise.
16266 (frexp_test_data): Likewise.
16267 (gamma_test_data): Likewise.
16268 (hypot_test_data): Likewise.
16269 (ilogb_test_data): Likewise.
16270 (isfinite_test_data): Likewise.
16271 (isgreater_test_data): Likewise.
16272 (isgreaterequal_test_data): Likewise.
16273 (isinf_test_data): Likewise.
16274 (isless_test_data): Likewise.
16275 (islessequal_test_data): Likewise.
16276 (islessgreater_test_data): Likewise.
16277 (isnan_test_data): Likewise.
16278 (isnormal_test_data): Likewise.
16279 (issignaling_test_data): Likewise.
16280 (isunordered_test_data): Likewise.
16281 (j0_test_data): Likewise.
16282 (j1_test_data): Likewise.
16283 (jn_test_data): Likewise.
16284 (ldexp_test_data): Likewise.
16285 (lgamma_test_data): Likewise.
16286 (lrint_test_data): Likewise.
16287 (lrint_tonearest_test_data): Likewise.
16288 (lrint_towardzero_test_data): Likewise.
16289 (lrint_downward_test_data): Likewise.
16290 (lrint_upward_test_data): Likewise.
16291 (llrint_test_data): Likewise.
16292 (llrint_tonearest_test_data): Likewise.
16293 (llrint_towardzero_test_data): Likewise.
16294 (llrint_downward_test_data): Likewise.
16295 (llrint_upward_test_data): Likewise.
16296 (log_test_data): Likewise.
16297 (log10_test_data): Likewise.
16298 (log1p_test_data): Likewise.
16299 (log2_test_data): Likewise.
16300 (logb_test_data): Likewise.
16301 (logb_downward_test_data): Likewise.
16302 (lround_test_data): Likewise.
16303 (llround_test_data): Likewise.
16304 (modf_test_data): Likewise.
16305 (nearbyint_test_data): Likewise.
16306 (nextafter_test_data): Likewise.
16307 (nexttoward_test_data): Likewise.
16308 (pow_test_data): Likewise.
16309 (pow_tonearest_test_data): Likewise.
16310 (pow_towardzero_test_data): Likewise.
16311 (pow_downward_test_data): Likewise.
16312 (pow_upward_test_data): Likewise.
16313 (remainder_test_data): Likewise.
16314 (remainder_tonearest_test_data): Likewise.
16315 (remainder_towardzero_test_data): Likewise.
16316 (remainder_downward_test_data): Likewise.
16317 (remainder_upward_test_data): Likewise.
16318 (remquo_test_data): Likewise.
16319 (rint_test_data): Likewise.
16320 (rint_tonearest_test_data): Likewise.
16321 (rint_towardzero_test_data): Likewise.
16322 (rint_downward_test_data): Likewise.
16323 (rint_upward_test_data): Likewise.
16324 (round_test_data): Likewise.
16325 (scalb_test_data): Likewise.
16326 (scalbn_test_data): Likewise.
16327 (scalbln_test_data): Likewise.
16328 (signbit_test_data): Likewise.
16329 (sin_test_data): Likewise.
16330 (sin_tonearest_test_data): Likewise.
16331 (sin_towardzero_test_data): Likewise.
16332 (sin_downward_test_data): Likewise.
16333 (sin_upward_test_data): Likewise.
16334 (sincos_test_data): Likewise.
16335 (sinh_test_data): Likewise.
16336 (sinh_tonearest_test_data): Likewise.
16337 (sinh_towardzero_test_data): Likewise.
16338 (sinh_downward_test_data): Likewise.
16339 (sinh_upward_test_data): Likewise.
16340 (sqrt_test_data): Likewise.
16341 (tan_test_data): Likewise.
16342 (tan_tonearest_test_data): Likewise.
16343 (tan_towardzero_test_data): Likewise.
16344 (tan_downward_test_data): Likewise.
16345 (tan_upward_test_data): Likewise.
16346 (tanh_test_data): Likewise.
16347 (tgamma_test_data): Likewise.
16348 (trunc_test_data): Likewise.
16349 (y0_test_data): Likewise.
16350 (y1_test_data): Likewise.
16351 (yn_test_data): Likewise.
16352 (significand_test_data): Likewise.
16354 * math/gen-libm-test.pl (@functions): Remove variable.
16355 (generate_testfile): Don't handle START and END lines.
16356 * math/libm-test.inc (START): New macro.
16358 (END_COMPLEX): Likewise.
16359 (acos_test): Use END macro without arguments.
16360 (acos_test_tonearest): Likewise.
16361 (acos_test_towardzero): Likewise.
16362 (acos_test_downward): Likewise.
16363 (acos_test_upward): Likewise.
16364 (acosh_test): Likewise.
16365 (asin_test): Likewise.
16366 (asin_test_tonearest): Likewise.
16367 (asin_test_towardzero): Likewise.
16368 (asin_test_downward): Likewise.
16369 (asin_test_upward): Likewise.
16370 (asinh_test): Likewise.
16371 (atan_test): Likewise.
16372 (atanh_test): Likewise.
16373 (atan2_test): Likewise.
16374 (cabs_test): Likewise.
16375 (cacos_test): Use END_COMPLEX macro without arguments.
16376 (cacosh_test): Likewise.
16377 (carg_test): Use END macro without arguments.
16378 (casin_test): Use END_COMPLEX macro without arguments.
16379 (casinh_test): Likewise.
16380 (catan_test): Likewise.
16381 (catanh_test): Likewise.
16382 (cbrt_test): Use END macro without arguments.
16383 (ccos_test): Use END_COMPLEX macro without arguments.
16384 (ccosh_test): Likewise.
16385 (ceil_test): Use END macro without arguments.
16386 (cexp_test): Use END_COMPLEX macro without arguments.
16387 (cimag_test): Use END macro without arguments.
16388 (clog_test): Use END_COMPLEX macro without arguments.
16389 (clog10_test): Likewise.
16390 (conj_test): Likewise.
16391 (copysign_test): Use END macro without arguments.
16392 (cos_test): Likewise.
16393 (cos_test_tonearest): Likewise.
16394 (cos_test_towardzero): Likewise.
16395 (cos_test_downward): Likewise.
16396 (cos_test_upward): Likewise.
16397 (cosh_test): Likewise.
16398 (cosh_test_tonearest): Likewise.
16399 (cosh_test_towardzero): Likewise.
16400 (cosh_test_downward): Likewise.
16401 (cosh_test_upward): Likewise.
16402 (cpow_test): Use END_COMPLEX macro without arguments.
16403 (cproj_test): Likewise.
16404 (creal_test): Use END macro without arguments.
16405 (csin_test): Use END_COMPLEX macro without arguments.
16406 (csinh_test): Likewise.
16407 (csqrt_test): Likewise.
16408 (ctan_test): Likewise.
16409 (ctan_test_tonearest): Likewise.
16410 (ctan_test_towardzero): Likewise.
16411 (ctan_test_downward): Likewise.
16412 (ctan_test_upward): Likewise.
16413 (ctanh_test): Likewise.
16414 (ctanh_test_tonearest): Likewise.
16415 (ctanh_test_towardzero): Likewise.
16416 (ctanh_test_downward): Likewise.
16417 (ctanh_test_upward): Likewise.
16418 (erf_test): Use END macro without arguments.
16419 (erfc_test): Likewise.
16420 (exp_test): Likewise.
16421 (exp_test_tonearest): Likewise.
16422 (exp_test_towardzero): Likewise.
16423 (exp_test_downward): Likewise.
16424 (exp_test_upward): Likewise.
16425 (exp10_test): Likewise.
16426 (exp2_test): Likewise.
16427 (expm1_test): Likewise.
16428 (fabs_test): Likewise.
16429 (fdim_test): Likewise.
16430 (finite_test): Likewise.
16431 (floor_test): Likewise.
16432 (fma_test): Likewise.
16433 (fma_test_towardzero): Likewise.
16434 (fma_test_downward): Likewise.
16435 (fma_test_upward): Likewise.
16436 (fmax_test): Likewise.
16437 (fmin_test): Likewise.
16438 (fmod_test): Likewise.
16439 (fpclassify_test): Likewise.
16440 (frexp_test): Likewise.
16441 (gamma_test): Likewise.
16442 (hypot_test): Likewise.
16443 (ilogb_test): Likewise.
16444 (isfinite_test): Likewise.
16445 (isgreater_test): Likewise.
16446 (isgreaterequal_test): Likewise.
16447 (isinf_test): Likewise.
16448 (isless_test): Likewise.
16449 (islessequal_test): Likewise.
16450 (islessgreater_test): Likewise.
16451 (isnan_test): Likewise.
16452 (isnormal_test): Likewise.
16453 (issignaling_test): Likewise.
16454 (isunordered_test): Likewise.
16455 (j0_test): Likewise.
16456 (j1_test): Likewise.
16457 (jn_test): Likewise.
16458 (ldexp_test): Likewise.
16459 (lgamma_test): Likewise.
16460 (lrint_test): Likewise.
16461 (lrint_test_tonearest): Likewise.
16462 (lrint_test_towardzero): Likewise.
16463 (lrint_test_downward): Likewise.
16464 (lrint_test_upward): Likewise.
16465 (llrint_test): Likewise.
16466 (llrint_test_tonearest): Likewise.
16467 (llrint_test_towardzero): Likewise.
16468 (llrint_test_downward): Likewise.
16469 (llrint_test_upward): Likewise.
16470 (log_test): Likewise.
16471 (log10_test): Likewise.
16472 (log1p_test): Likewise.
16473 (log2_test): Likewise.
16474 (logb_test): Likewise.
16475 (logb_test_downward): Likewise.
16476 (lround_test): Likewise.
16477 (llround_test): Likewise.
16478 (modf_test): Likewise.
16479 (nearbyint_test): Likewise.
16480 (nextafter_test): Likewise.
16481 (nexttoward_test): Likewise.
16482 (pow_test): Likewise.
16483 (pow_test_tonearest): Likewise.
16484 (pow_test_towardzero): Likewise.
16485 (pow_test_downward): Likewise.
16486 (pow_test_upward): Likewise.
16487 (remainder_test): Likewise.
16488 (remainder_test_tonearest): Likewise.
16489 (remainder_test_towardzero): Likewise.
16490 (remainder_test_downward): Likewise.
16491 (remainder_test_upward): Likewise.
16492 (remquo_test): Likewise.
16493 (rint_test): Likewise.
16494 (rint_test_tonearest): Likewise.
16495 (rint_test_towardzero): Likewise.
16496 (rint_test_downward): Likewise.
16497 (rint_test_upward): Likewise.
16498 (round_test): Likewise.
16499 (scalb_test): Likewise.
16500 (scalbn_test): Likewise.
16501 (scalbln_test): Likewise.
16502 (signbit_test): Likewise.
16503 (sin_test): Likewise.
16504 (sin_test_tonearest): Likewise.
16505 (sin_test_towardzero): Likewise.
16506 (sin_test_downward): Likewise.
16507 (sin_test_upward): Likewise.
16508 (sincos_test): Likewise.
16509 (sinh_test): Likewise.
16510 (sinh_test_tonearest): Likewise.
16511 (sinh_test_towardzero): Likewise.
16512 (sinh_test_downward): Likewise.
16513 (sinh_test_upward): Likewise.
16514 (sqrt_test): Likewise.
16515 (tan_test): Likewise.
16516 (tan_test_tonearest): Likewise.
16517 (tan_test_towardzero): Likewise.
16518 (tan_test_downward): Likewise.
16519 (tan_test_upward): Likewise.
16520 (tanh_test): Likewise.
16521 (tgamma_test): Likewise.
16522 (trunc_test): Likewise.
16523 (y0_test): Likewise.
16524 (y1_test): Likewise.
16525 (yn_test): Likewise.
16526 (significand_test): Likewise.
16528 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16531 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16533 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16536 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16537 __ppc_mdoio and __ppc_mdoom.
16538 * manual/platform.texi: Document new functions __ppc_yield,
16539 __ppc_mdoio and __ppc_mdoom.
16541 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16543 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16544 (main): Mention "tls" pseudo-hwcap is legacy.
16545 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16547 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16549 * math/gen-libm-test.pl (parse_args): Output only string of
16550 arguments as text for test name, not full call or descriptions of
16551 tests for extra outputs.
16552 (generate_testfile): Do not pass function name to parse_args.
16553 Generate this_func variable from START.
16554 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16556 (struct test_ff_f_data): Likewise.
16557 (test_ff_f_data_nexttoward): Likewise.
16558 (struct test_fi_f_data): Likewise.
16559 (struct test_fl_f_data): Likewise.
16560 (struct test_if_f_data): Likewise.
16561 (struct test_fff_f_data): Likewise.
16562 (struct test_c_f_data): Likewise.
16563 (struct test_f_f1_data): Likewise. Remove field extra_name.
16564 (struct test_fF_f1_data): Likewise.
16565 (struct test_ffI_f1_data): Likewise.
16566 (struct test_c_c_data): Rename test_name field to arg_str.
16567 (struct test_cc_c_data): Likewise.
16568 (struct test_f_i_data): Likewise.
16569 (struct test_ff_i_data): Likewise.
16570 (struct test_f_l_data): Likewise.
16571 (struct test_f_L_data): Likewise.
16572 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16574 (COMMON_TEST_SETUP): New macro.
16575 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16576 (COMMON_TEST_CLEANUP): Likewise.
16577 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16578 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16580 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16581 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16583 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16584 (RUN_TEST_fff_f): Take argument string. Call new setup and
16586 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16587 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16589 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16590 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16592 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16593 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16595 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16596 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16598 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16599 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16601 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16602 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16604 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16605 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16607 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16608 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16610 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16611 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16613 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16614 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16616 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16617 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16619 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16620 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16622 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16623 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16625 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16626 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16628 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16629 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16631 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16633 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16635 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16636 to _sifields.sigfault.
16637 (si_addr_lsb): Define new macro.
16638 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16639 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16640 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16642 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16645 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16647 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16649 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16650 loading the domain.
16652 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16654 * math/gen-libm-test.pl (parse_args): Do not include expected
16655 result in test name.
16656 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16657 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16658 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16659 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16660 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16663 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16665 * benchtests/Makefile: Sort function entries.
16667 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16668 tanh, asinh, acosh, atanh.
16669 * benchtests/acos-inputs: New file.
16670 * benchtests/acosh-inputs: New file.
16671 * benchtests/asin-inputs: New file.
16672 * benchtests/asinh-inputs: New file.
16673 * benchtests/atanh-inputs: New file.
16674 * benchtests/cosh-inputs: New file.
16675 * benchtests/log-inputs: New file.
16676 * benchtests/sinh-inputs: New file.
16677 * benchtests/tanh-inputs: New file.
16679 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16682 * posix/tst-getaddrinfo4.c: New test.
16683 * posix/Makefile (tests): Add it.
16685 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16688 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16689 when no services were used.
16690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16691 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16693 2013-05-21 Andreas Schwab <schwab@suse.de>
16696 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16697 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16699 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16700 redundant variable declarations and reallocation of buffer when
16701 parsing as IPv6 address. Always set NSS status when called from
16702 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16703 buffer too small. Correct computation of needed size.
16704 * nss/Makefile (tests): Add test-digits-dots.
16705 * nss/test-digits-dots.c: New test.
16707 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16709 * benchtests/Makefile: Remove instructions for adding
16711 * benchtests/README: New file to explain how to execute and
16712 enhance the benchmark tests.
16714 2013-05-21 Andreas Schwab <schwab@suse.de>
16717 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16718 * setjmp/tst-sigsetjmp.c: New test.
16720 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16722 * sysdeps/x86_64/memset.S (memset): New implementation.
16723 (__bzero): Likewise.
16724 (__memset_tail): New function.
16726 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16728 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16729 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16730 __memcpy_sse2_unaligned ifunc selection.
16731 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16732 Add memcpy-sse2-unaligned.S.
16733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16734 Add: __memcpy_sse2_unaligned.
16736 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16739 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16740 math_force_eval before restoring floating-point envrionment.
16741 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16742 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16744 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16746 (__nearbyintl): Use math_force_eval before restoring
16747 floating-point environment.
16748 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16750 * math/gen-libm-test.pl (special_functions): Remove.
16751 (parse_args): Don't handle TEST_extra. Handle functions with no
16753 * math/libm-test.inc (struct test_sincos_data): Replace with
16754 struct test_fFF_11_data.
16755 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16756 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16757 (sincos_test_data): Change element type to struct
16758 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16759 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16760 RUN_TEST_LOOP_sincos.
16761 * math/README.libm-test: Don't mention special handling of
16762 individual functions.
16763 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16764 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16765 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16766 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16767 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16770 * math/gen-libm-test.pl (get_variable): Remove function.
16771 (parse_args): Don't show pointer parameters to call in test
16772 names. Use "extra output N" in test names for extra outputs
16773 rather than naming variables.
16775 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16778 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16779 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16780 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16782 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16784 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16787 * math/gen-libm-test.pl (@tests): Remove variable.
16788 ($count): Likewise.
16789 (new_test): Remove function.
16790 (show_exceptions): New function.
16791 (special_functions): Use show_exceptions instead of new_test.
16792 (parse_args): Likewise.
16793 (generate_testfile): Pass only function name in generated call to
16794 print_max_error or print_complex_max_error.
16795 (get_ulps): Do not handle complex tests specially.
16796 (output_test): Rename to ...
16797 (get_all_ulps_for_test): ... this. Return a string rather than
16798 printing to a file. Require ulps to be present.
16799 (output_ulps): Generate arrays rather than #defines.
16800 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16801 (struct ulp_data): New type.
16802 (BUILD_COMPLEX_ULP): Remove macro.
16803 (compare_ulp_data): New function.
16804 (find_ulps): Likewise.
16805 (find_test_ulps): Likewise.
16806 (find_function_ulps): Likewise.
16807 (find_complex_function_ulps): Likewise.
16808 (print_max_error): Determine allowed ulps using
16809 find_function_ulps.
16810 (print_complex_max_error): Determine allowed ulps using
16811 find_complex_function_ulps.
16812 (check_float_internal): Determine max ulps using find_test_ulps.
16813 (check_float): Do not take max_ulp parameter. Update call to
16814 check_float_internal.
16815 (check_complex): Likewise.
16816 (check_int): Do not take max_ulp parameter.
16817 (check_long): Likewise.
16818 (check_bool): Likewise.
16819 (check_longlong): Likewise.
16820 (struct test_f_f_data): Remove max_ulp field.
16821 (struct test_ff_f_data): Likewise.
16822 (struct test_ff_f_data_nexttoward): Likewise.
16823 (struct test_fi_f_data): Likewise.
16824 (struct test_fl_f_data): Likewise.
16825 (struct test_if_f_data): Likewise.
16826 (struct test_fff_f_data): Likewise.
16827 (struct test_c_f_data): Likewise.
16828 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16829 (struct test_fF_f1_data): Likewise.
16830 (struct test_ffI_f1_data): Likewise.
16831 (struct test_c_c_data): Remove max_ulp field.
16832 (struct test_cc_c_data): Likewise.
16833 (struct test_f_i_data): Likewise.
16834 (struct test_ff_i_data): Likewise.
16835 (struct test_f_l_data): Likewise.
16836 (struct test_f_L_data): Likewise.
16837 (struct test_sincos_data): Likewise.
16838 (RUN_TEST_f_f): Do not handle ulps.
16839 (RUN_TEST_LOOP_f_f): Likewise.
16840 (RUN_TEST_2_f): Likewise.
16841 (RUN_TEST_LOOP_2_f): Likewise.
16842 (RUN_TEST_fff_f): Likewise.
16843 (RUN_TEST_LOOP_fff_f): Likewise.
16844 (RUN_TEST_c_f): Likewise.
16845 (RUN_TEST_LOOP_c_f): Likewise.
16846 (RUN_TEST_f_f1): Likewise.
16847 (RUN_TEST_LOOP_f_f1): Likewise.
16848 (RUN_TEST_fF_f1): Likewise.
16849 (RUN_TEST_LOOP_fF_f1): Likewise.
16850 (RUN_TEST_fI_f1): Likewise.
16851 (RUN_TEST_LOOP_fI_f1): Likewise.
16852 (RUN_TEST_ffI_f1): Likewise.
16853 (RUN_TEST_LOOP_ffI_f1): Likewise.
16854 (RUN_TEST_c_c): Likewise.
16855 (RUN_TEST_LOOP_c_c): Likewise.
16856 (RUN_TEST_cc_c): Likewise.
16857 (RUN_TEST_LOOP_cc_c): Likewise.
16858 (RUN_TEST_f_i): Likewise.
16859 (RUN_TEST_LOOP_f_i): Likewise.
16860 (RUN_TEST_f_i_tg): Likewise.
16861 (RUN_TEST_LOOP_f_i_tg): Likewise.
16862 (RUN_TEST_ff_i_tg): Likewise.
16863 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16864 (RUN_TEST_f_b): Likewise.
16865 (RUN_TEST_LOOP_f_b): Likewise.
16866 (RUN_TEST_f_b_tg): Likewise.
16867 (RUN_TEST_LOOP_f_b_tg): Likewise.
16868 (RUN_TEST_f_l): Likewise.
16869 (RUN_TEST_LOOP_f_l): Likewise.
16870 (RUN_TEST_f_L): Likewise.
16871 (RUN_TEST_LOOP_f_L): Likewise.
16872 (RUN_TEST_sincos): Likewise.
16873 (RUN_TEST_LOOP_sincos): Likewise.
16875 2013-05-17 Joseph Myers <joseph@codesourcery.com>
16879 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16880 main case of finite arguments, set rounding mode to FE_TONEAREST
16881 and discard exceptions.
16882 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16884 (remainder_tonearest_test_data): New variable.
16885 (remainder_test_tonearest): New function.
16886 (remainder_towardzero_test_data): New variable.
16887 (remainder_test_towardzero): New function.
16888 (remainder_downward_test_data): New variable.
16889 (remainder_test_downward): New function.
16890 (remainder_upward_test_data): New variable.
16891 (remainder_test_upward): New function.
16892 (main): Call the new test functions.
16894 * math/libm-test.inc (struct test_f_f1_data): Remove field
16896 (struct test_fF_f1_data): Likewise.
16897 (struct test_ffI_f1_data): Likewise.
16898 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16899 based on value of EXTRA_EXPECTED.
16900 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16901 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16902 EXTRA_VAR based on value of EXTRA_EXPECTED.
16903 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16904 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16905 EXTRA_VAR based on value of EXTRA_EXPECTED.
16906 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16907 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16908 EXTRA_VAR based on value of EXTRA_EXPECTED.
16909 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16910 * math/gen-libm-test.pl (parse_args): Don't output initializers
16911 for extra output values.
16913 * math/libm-test.inc (check_int): Expect result to be exactly
16914 equal to expected value and do not handle ulps.
16915 (check_long): Likewise.
16916 (check_longlong): Likewise.
16918 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16920 (cimag_test_data): Likewise.
16921 (conj_test_data): Likewise.
16922 (copysign_test_data): Likewise.
16923 (cproj_test_data): Likewise.
16924 (creal_test_data): Likewise.
16925 (fabs_test_data): Likewise.
16926 (fdim_test_data): Likewise.
16927 (finite_test_data): Likewise.
16928 (floor_test_data): Likewise.
16929 (fmax_test_data): Likewise.
16930 (fmin_test_data): Likewise.
16931 (fmod_test_data): Likewise.
16932 (fpclassify_test_data): Likewise.
16933 (frexp_test_data): Likewise.
16934 (ilogb_test_data): Likewise.
16935 (isfinite_test_data): Likewise.
16936 (isgreater_test_data): Likewise.
16937 (isgreaterequal_test_data): Likewise.
16938 (isinf_test_data): Likewise.
16939 (isless_test_data): Likewise.
16940 (islessequal_test_data): Likewise.
16941 (islessgreater_test_data): Likewise.
16942 (isnan_test_data): Likewise.
16943 (isnormal_test_data): Likewise.
16944 (issignaling_test_data): Likewise.
16945 (isunordered_test_data): Likewise.
16946 (ldexp_test_data): Likewise.
16947 (lrint_test_data): Likewise.
16948 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16949 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16950 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16951 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16952 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16953 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16955 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16956 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16957 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16958 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16960 (lrint_downward_test_data): Test for "inexact" exceptions.
16961 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16962 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16963 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16965 (lrint_upward_test_data): Test for "inexact" exceptions.
16966 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16968 (llrint_test_data): Test for "inexact" exceptions.
16969 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16970 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16971 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16972 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16973 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16974 (llrint_downward_test_data): Test for "inexact" exceptions.
16975 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16976 (llrint_upward_test_data): Test for "inexact" exceptions.
16977 (logb_test_data): Likewise.
16978 (logb_downward_test_data): Likewise.
16979 (nextafter_test_data): Likewise.
16980 (nexttoward_test_data): Likewise.
16981 (remainder_test_data): Likewise.
16982 (remquo_test_data): Likewise.
16983 (scalbn_test_data): Likewise.
16984 (scalbln_test_data): Likewise.
16985 (signbit_test_data): Likewise.
16986 (sqrt_test_data): Likewise.
16987 (significand_test_data): Likewise.
16989 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16992 * benchtests/bench-modf.c (struct args): Mark arg0 as
16994 * scripts/bench.pl: Mark members of struct args as volatile.
16996 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16999 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17000 negative infinity on POWER6 or lower.
17001 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17003 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
17006 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17007 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17008 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17009 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17010 (_FP_SETQNAN): New macro.
17011 (_FP_SETQNAN_SEMIRAW): Likewise.
17012 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17013 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17014 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17015 (FP_EXTEND): Use _FP_FRAC_SNANP.
17016 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17017 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17019 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17021 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17024 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17026 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17027 with DIVIDE_BY_ZERO_EXCEPTION.
17028 (gamma_test_data): Likewise.
17029 (lgamma_test_data): Likewise.
17030 (log_test_data): Likewise.
17031 (log10_test_data): Likewise.
17032 (log2_test_data): Likewise.
17033 (tgamma_test_data): Likewise.
17035 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17036 (acos_test_tonearest): Likewise.
17037 (acos_test_towardzero): Likewise.
17038 (acos_test_downward): Likewise.
17039 (acos_test_upward): Likewise.
17040 (acosh_test): Likewise.
17041 (asin_test): Likewise.
17042 (asin_test_tonearest): Likewise.
17043 (asin_test_towardzero): Likewise.
17044 (asin_test_downward): Likewise.
17045 (asin_test_upward): Likewise.
17046 (asinh_test): Likewise.
17047 (atan_test): Likewise.
17048 (atanh_test): Likewise.
17049 (atan2_test): Likewise.
17050 (cabs_test): Likewise.
17051 (cacos_test): Likewise.
17052 (cacosh_test): Likewise.
17053 (casin_test): Likewise.
17054 (casinh_test): Likewise.
17055 (catan_test): Likewise.
17056 (catanh_test): Likewise.
17057 (cbrt_test): Likewise.
17058 (ccos_test): Likewise.
17059 (ccosh_test): Likewise.
17060 (cexp_test): Likewise.
17061 (clog_test): Likewise.
17062 (clog10_test): Likewise.
17063 (cos_test): Likewise.
17064 (cos_test_tonearest): Likewise.
17065 (cos_test_towardzero): Likewise.
17066 (cos_test_downward): Likewise.
17067 (cos_test_upward): Likewise.
17068 (cosh_test): Likewise.
17069 (cosh_test_tonearest): Likewise.
17070 (cosh_test_towardzero): Likewise.
17071 (cosh_test_downward): Likewise.
17072 (cosh_test_upward): Likewise.
17073 (cpow_test): Likewise.
17074 (csin_test): Likewise.
17075 (csinh_test): Likewise.
17076 (csqrt_test): Likewise.
17077 (ctan_test): Likewise.
17078 (ctan_test_tonearest): Likewise.
17079 (ctan_test_towardzero): Likewise.
17080 (ctan_test_downward): Likewise.
17081 (ctan_test_upward): Likewise.
17082 (ctanh_test): Likewise.
17083 (ctanh_test_tonearest): Likewise.
17084 (ctanh_test_towardzero): Likewise.
17085 (ctanh_test_downward): Likewise.
17086 (ctanh_test_upward): Likewise.
17087 (erf_test): Likewise.
17088 (erfc_test): Likewise.
17089 (exp_test): Likewise.
17090 (exp_test_tonearest): Likewise.
17091 (exp_test_towardzero): Likewise.
17092 (exp_test_downward): Likewise.
17093 (exp_test_upward): Likewise.
17094 (exp10_test): Likewise.
17095 (exp2_test): Likewise.
17096 (expm1_test): Likewise.
17097 (fmod_test): Likewise.
17098 (gamma_test): Likewise.
17099 (hypot_test): Likewise.
17100 (j0_test): Likewise.
17101 (j1_test): Likewise.
17102 (jn_test): Likewise.
17103 (lgamma_test): Likewise.
17104 (log_test): Likewise.
17105 (log10_test): Likewise.
17106 (log1p_test): Likewise.
17107 (log2_test): Likewise.
17108 (logb_test_downward): Likewise.
17109 (pow_test): Likewise.
17110 (pow_test_tonearest): Likewise.
17111 (pow_test_towardzero): Likewise.
17112 (pow_test_downward): Likewise.
17113 (pow_test_upward): Likewise.
17114 (remainder_test): Likewise.
17115 (remquo_test): Likewise.
17116 (sin_test): Likewise.
17117 (sin_test_tonearest): Likewise.
17118 (sin_test_towardzero): Likewise.
17119 (sin_test_downward): Likewise.
17120 (sin_test_upward): Likewise.
17121 (sincos_test): Likewise.
17122 (sinh_test): Likewise.
17123 (sinh_test_tonearest): Likewise.
17124 (sinh_test_towardzero): Likewise.
17125 (sinh_test_downward): Likewise.
17126 (sinh_test_upward): Likewise.
17127 (sqrt_test): Likewise.
17128 (tan_test): Likewise.
17129 (tan_test_tonearest): Likewise.
17130 (tan_test_towardzero): Likewise.
17131 (tan_test_downward): Likewise.
17132 (tan_test_upward): Likewise.
17133 (tanh_test): Likewise.
17134 (tgamma_test): Likewise.
17135 (y0_test): Likewise.
17136 (y1_test): Likewise.
17137 (yn_test): Likewise.
17139 * math/gen-libm-test.pl (adjust_arg): Remove function.
17140 (special_function): Remove argument $in_func. Only handle
17141 generating output for tables of tests, not inside functions.
17142 (parse_args): Likewise.
17143 (generate_testfile): Remove variable $in_func. Update call to
17145 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17146 (MINUS_ZERO_INIT): Rename macro to minus_zero.
17147 (PLUS_INFTY_INIT): Rename macro to plus_infty.
17148 (MINUS_INFTY_INIT): Rename macro to minus_infty.
17149 (QNAN_VALUE_INIT): Rename macro to qnan_value.
17150 (MAX_VALUE_INIT): Rename macro to max_value.
17151 (MIN_VALUE_INIT): Rename macro to min_value.
17152 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17153 (plus_zero): Remove variable.
17154 (minus_zero): Likewise.
17155 (plus_infty): Likewise.
17156 (minus_infty): Likewise.
17157 (qnan_value): Likewise.
17158 (max_value): Likewise.
17159 (min_value): Likewise.
17160 (min_subnorm_value): Likewise.
17162 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17164 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17165 uint64_t or uint32_t usage.
17166 * crypt/sha256-block.c: Likewise.
17167 * crypt/sha256-crypt.c: Likewise.
17168 * crypt/sha256.c: Likewise.
17169 * crypt/sha512-block.c: Likewise.
17170 * crypt/sha512-crypt.c: Likewise.
17171 * crypt/sha512.c: Likewise.
17172 * debug/backtrace-tst.c: Likewise.
17173 * debug/pcprofiledump.c: Likewise.
17174 * elf/cache.c: Likewise.
17175 * elf/dl-cache.c: Likewise.
17176 * elf/dl-misc.c: Likewise.
17177 * elf/dl-profile.c: Likewise.
17178 * elf/dl-support.c: Likewise.
17179 * elf/ldconfig.c: Likewise.
17180 * elf/sprof.c: Likewise.
17181 * iconv/dummy-repertoire.c: Likewise.
17182 * iconv/iconv_charmap.c: Likewise.
17183 * iconv/skeleton.c: Likewise.
17184 * iconvdata/8bit-generic.c: Likewise.
17185 * iconvdata/cp737.h: Likewise.
17186 * iconvdata/cp775.h: Likewise.
17187 * iconvdata/ibm1008.h: Likewise.
17188 * iconvdata/ibm1025.h: Likewise.
17189 * iconvdata/ibm1046.h: Likewise.
17190 * iconvdata/ibm1097.h: Likewise.
17191 * iconvdata/ibm1112.h: Likewise.
17192 * iconvdata/ibm1122.h: Likewise.
17193 * iconvdata/ibm1123.h: Likewise.
17194 * iconvdata/ibm1124.h: Likewise.
17195 * iconvdata/ibm1129.h: Likewise.
17196 * iconvdata/ibm1130.h: Likewise.
17197 * iconvdata/ibm1132.h: Likewise.
17198 * iconvdata/ibm1133.h: Likewise.
17199 * iconvdata/ibm1137.h: Likewise.
17200 * iconvdata/ibm1140.h: Likewise.
17201 * iconvdata/ibm1141.h: Likewise.
17202 * iconvdata/ibm1142.h: Likewise.
17203 * iconvdata/ibm1143.h: Likewise.
17204 * iconvdata/ibm1144.h: Likewise.
17205 * iconvdata/ibm1145.h: Likewise.
17206 * iconvdata/ibm1146.h: Likewise.
17207 * iconvdata/ibm1147.h: Likewise.
17208 * iconvdata/ibm1148.h: Likewise.
17209 * iconvdata/ibm1149.h: Likewise.
17210 * iconvdata/ibm1153.h: Likewise.
17211 * iconvdata/ibm1154.h: Likewise.
17212 * iconvdata/ibm1155.h: Likewise.
17213 * iconvdata/ibm1156.h: Likewise.
17214 * iconvdata/ibm1157.h: Likewise.
17215 * iconvdata/ibm1158.h: Likewise.
17216 * iconvdata/ibm1160.h: Likewise.
17217 * iconvdata/ibm1161.h: Likewise.
17218 * iconvdata/ibm1162.h: Likewise.
17219 * iconvdata/ibm1163.h: Likewise.
17220 * iconvdata/ibm1164.h: Likewise.
17221 * iconvdata/ibm1166.h: Likewise.
17222 * iconvdata/ibm1167.h: Likewise.
17223 * iconvdata/ibm12712.h: Likewise.
17224 * iconvdata/ibm1390.h: Likewise.
17225 * iconvdata/ibm1399.h: Likewise.
17226 * iconvdata/ibm16804.h: Likewise.
17227 * iconvdata/ibm4517.h: Likewise.
17228 * iconvdata/ibm4899.h: Likewise.
17229 * iconvdata/ibm4909.h: Likewise.
17230 * iconvdata/ibm4971.h: Likewise.
17231 * iconvdata/ibm5347.h: Likewise.
17232 * iconvdata/ibm803.h: Likewise.
17233 * iconvdata/ibm856.h: Likewise.
17234 * iconvdata/ibm901.h: Likewise.
17235 * iconvdata/ibm902.h: Likewise.
17236 * iconvdata/ibm9030.h: Likewise.
17237 * iconvdata/ibm9066.h: Likewise.
17238 * iconvdata/ibm921.h: Likewise.
17239 * iconvdata/ibm922.h: Likewise.
17240 * iconvdata/ibm9448.h: Likewise.
17241 * iconvdata/isiri-3342.h: Likewise.
17242 * iconvdata/jis0201.h: Likewise.
17243 * include/link.h: Likewise.
17244 * include/netdb.h: Likewise.
17245 * inet/check_native.c: Likewise.
17246 * inet/check_pf.c: Likewise.
17247 * inet/getipv4sourcefilter.c: Likewise.
17248 * inet/getnameinfo.c: Likewise.
17249 * inet/getsourcefilter.c: Likewise.
17250 * inet/htonl.c: Likewise.
17251 * inet/setipv4sourcefilter.c: Likewise.
17252 * inet/setsourcefilter.c: Likewise.
17253 * inet/test-inet6_opt.c: Likewise.
17254 * inet/tst-network.c: Likewise.
17255 * locale/C-collate.c: Likewise.
17256 * locale/C-ctype.c: Likewise.
17257 * locale/C-time.c: Likewise.
17258 * locale/C-translit.h: Likewise.
17259 * locale/loadarchive.c: Likewise.
17260 * locale/programs/3level.h: Likewise.
17261 * locale/programs/charmap.c: Likewise.
17262 * locale/programs/charmap.h: Likewise.
17263 * locale/programs/ld-address.c: Likewise.
17264 * locale/programs/ld-collate.c: Likewise.
17265 * locale/programs/ld-ctype.c: Likewise.
17266 * locale/programs/ld-identification.c: Likewise.
17267 * locale/programs/ld-measurement.c: Likewise.
17268 * locale/programs/ld-messages.c: Likewise.
17269 * locale/programs/ld-monetary.c: Likewise.
17270 * locale/programs/ld-name.c: Likewise.
17271 * locale/programs/ld-numeric.c: Likewise.
17272 * locale/programs/ld-paper.c: Likewise.
17273 * locale/programs/ld-telephone.c: Likewise.
17274 * locale/programs/ld-time.c: Likewise.
17275 * locale/programs/linereader.c: Likewise.
17276 * locale/programs/locale.c: Likewise.
17277 * locale/programs/locarchive.c: Likewise.
17278 * locale/programs/locfile.h: Likewise.
17279 * locale/programs/repertoire.c: Likewise.
17280 * locale/programs/simple-hash.c: Likewise.
17281 * locale/programs/simple-hash.h: Likewise.
17282 * malloc/memusage.c: Likewise.
17283 * malloc/memusagestat.c: Likewise.
17284 * nis/nis_defaults.c: Likewise.
17285 * nis/nis_hash.c: Likewise.
17286 * nis/nis_print.c: Likewise.
17287 * nis/nis_xdr.c: Likewise.
17288 * nscd/connections.c: Likewise.
17289 * nscd/hstcache.c: Likewise.
17290 * nscd/nscd_gethst_r.c: Likewise.
17291 * nscd/nscd_getserv_r.c: Likewise.
17292 * nscd/nscd_helper.c: Likewise.
17293 * nscd/servicescache.c: Likewise.
17294 * nss/makedb.c: Likewise.
17295 * nss/nss_db/db-XXX.c: Likewise.
17296 * nss/nss_db/db-initgroups.c: Likewise.
17297 * nss/nss_db/db-netgrp.c: Likewise.
17298 * nss/nss_files/files-network.c: Likewise.
17299 * nss/nss_files/files-parse.c: Likewise.
17300 * posix/bug-regex5.c: Likewise.
17301 * posix/fnmatch_loop.c: Likewise.
17302 * posix/regcomp.c: Likewise.
17303 * posix/regexec.c: Likewise.
17304 * posix/tst-rfc3484-2.c: Likewise.
17305 * posix/tst-rfc3484-3.c: Likewise.
17306 * posix/tst-rfc3484.c: Likewise.
17307 * resolv/nss_dns/dns-canon.c: Likewise.
17308 * resolv/nss_dns/dns-network.c: Likewise.
17309 * resolv/res_init.c: Likewise.
17310 * resolv/res_mkquery.c: Likewise.
17311 * resolv/tst-aton.c: Likewise.
17312 * stdlib/cxa_atexit.c: Likewise.
17313 * stdlib/cxa_finalize.c: Likewise.
17314 * stdlib/gen-fpioconst.c: Likewise.
17315 * stdlib/strtol_l.c: Likewise.
17316 * string/tst-endian.c: Likewise.
17317 * sunrpc/auth_des.c: Likewise.
17318 * sunrpc/clnt_udp.c: Likewise.
17319 * sunrpc/rtime.c: Likewise.
17320 * sunrpc/svcauth_des.c: Likewise.
17321 * sunrpc/xdr.c: Likewise.
17322 * sunrpc/xdr_intXX_t.c: Likewise.
17323 * sunrpc/xdr_rec.c: Likewise.
17324 * sysdeps/generic/ldconfig.h: Likewise.
17325 * sysdeps/generic/ldsodefs.h: Likewise.
17326 * sysdeps/generic/memusage.h: Likewise.
17327 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17328 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17329 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17330 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17331 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17332 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17333 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17334 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17335 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17337 * sysdeps/posix/getaddrinfo.c: Likewise.
17338 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17339 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17340 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17341 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17342 * sysdeps/powerpc/test-gettimebase.c: Likewise.
17343 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17344 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17345 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17346 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17347 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17348 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17349 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17350 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17351 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17352 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17353 * sysdeps/x86_64/dl-tls.h: Likewise.
17354 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17355 * time/alt_digit.c: Likewise.
17356 * time/era.c: Likewise.
17357 * wcsmbs/tst-c16c32-1.c: Likewise.
17359 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17361 * math/libm-test.inc (struct test_sincos_data): New type.
17362 (RUN_TEST_LOOP_sincos): New macro.
17363 (sincos_test_data): New variable.
17364 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17366 2013-05-16 Richard Henderson <rth@redhat.com>
17368 * math/atest-exp2.c (LIMB64): New macro.
17369 (CONSTSZ): New macro.
17370 (mp_exp1, mp_exp_m1, mp_log2): New variables.
17372 (print_mpn_fp): ... to function scope.
17373 (read_mpn_hex): Remove.
17374 (get_log2): Remove.
17375 (exp2_mpn): Use mp_log2.
17376 (main): Use mp_exp1.
17378 2013-05-16 Joseph Myers <joseph@codesourcery.com>
17380 * math/libm-test.inc: Remove comment about not testing "inexact"
17382 (INEXACT_EXCEPTION): New macro.
17383 (NO_INEXACT_EXCEPTION): Likewise.
17384 (INVALID_EXCEPTION_OK): Update value.
17385 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17386 (OVERFLOW_EXCEPTION_OK): Likewise.
17387 (UNDERFLOW_EXCEPTION_OK): Likewise.
17388 (IGNORE_ZERO_INF_SIGN): Likewise.
17389 (ERRNO_UNCHANGED): Likewise.
17390 (ERRNO_EDOM): Likewise.
17391 (ERRNO_ERANGE): Likewise.
17392 (test_exceptions): Handle testing "inexact" exceptions.
17393 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17394 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17395 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17396 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17398 (rint_towardzero_test_data): Likewise.
17399 (rint_downward_test_data): Likewise.
17400 (rint_upward_test_data): Likewise.
17402 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17403 with OVERFLOW_EXCEPTION.
17404 (exp10_test_data): Likewise.
17405 (exp2_test_data): Likewise.
17406 (expm1_test_data): Likewise.
17407 (lgamma_test_data): Likewise.
17408 (pow_test_data): Likewise.
17409 (tgamma_test_data): Likewise.
17410 (yn_test_data): Remove duplicate test of overflow.
17412 * math/libm-test.inc (struct test_cc_c_data): New type.
17413 (RUN_TEST_LOOP_cc_c): New macro.
17414 (cpow_test_data): New variable.
17415 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17417 * math/libm-test.inc (struct test_f_L_data): New type.
17418 (RUN_TEST_LOOP_f_L): New macro.
17419 (llrint_test_data): New variable.
17420 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17421 (llrint_tonearest_test_data): New variable.
17422 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17423 (llrint_towardzero_test_data): New variable.
17424 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17425 (llrint_downward_test_data): New variable.
17426 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17427 (llrint_upward_test_data): New variable.
17428 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17429 (llround_test_data): New variable.
17430 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17432 2013-05-13 Peter Collingbourne <pcc@google.com>
17434 * math/atest-exp2.c (get_log2): Remove const attribute.
17436 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17438 * math/libm-test.inc (struct test_f_l_data): New type.
17439 (RUN_TEST_LOOP_f_l): New macro.
17440 (lrint_test_data): New variable.
17441 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17442 (lrint_tonearest_test_data): New variable.
17443 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17444 (lrint_towardzero_test_data): New variable.
17445 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17446 (lrint_downward_test_data): New variable.
17447 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17448 (lrint_upward_test_data): New variable.
17449 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17450 (lround_test_data): New variable.
17451 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17453 2013-05-15 Peter Collingbourne <pcc@google.com>
17455 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17456 (EXTRACT_WORDS64) Use where appropriate.
17457 (INSERT_WORDS64) Likewise.
17459 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17460 constraints with x constraints.
17461 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17463 * malloc/obstack.c (_obstack_compat): Add initializer.
17465 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
17467 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17468 si_trapno and add si_addr_lsb to _sifields.sigfault.
17469 (si_trapno): Remove macro.
17470 (si_addr_lsb): Define new macro.
17471 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17473 2013-05-15 Joseph Myers <joseph@codesourcery.com>
17475 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17476 instead of TEST_f_l.
17477 (llrint_test_tonearest): Likewise.
17478 (llrint_test_towardzero): Likewise.
17479 (llrint_test_downward): Likewise.
17480 (llrint_test_upward): Likewise.
17481 (llround_test): Likewise.
17483 * math/libm-test.inc (struct test_f_i_data): Add comment.
17484 (RUN_TEST_LOOP_f_b): New macro.
17485 (RUN_TEST_LOOP_f_b_tg): Likewise.
17486 (finite_test_data): New variable.
17487 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17488 (isfinite_test_data): New variable.
17489 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17490 (isinf_test_data): New variable.
17491 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17492 (isnan_test_data): New variable.
17493 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17494 (isnormal_test_data): New variable.
17495 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17496 (issignaling_test_data): New variable.
17497 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17498 (signbit_test_data): New variable.
17499 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17501 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17502 with INVALID_EXCEPTION.
17503 (acosh_test_data): Likewise.
17504 (asin_test_data): Likewise.
17505 (atanh_test_data): Likewise.
17506 (fmod_test_data): Likewise.
17507 (log_test_data): Likewise.
17508 (log10_test_data): Likewise.
17509 (log2_test_data): Likewise.
17510 (pow_test_data): Likewise.
17511 (sqrt_test_data): Likewise.
17512 (y0_test_data): Likewise.
17513 (y1_test_data): Likewise.
17514 (yn_test_data): Likewise.
17516 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17519 * math/libm-test.inc (struct test_ff_i_data): New type.
17520 (RUN_TEST_LOOP_ff_i_tg): New macro.
17521 (isgreater_test_data): New variable.
17522 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17523 (isgreaterequal_test_data): New variable.
17524 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17525 (isless_test_data): New variable.
17526 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17527 (islessequal_test_data): New variable.
17528 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17529 (islessgreater_test_data): New variable.
17530 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17531 (isunordered_test_data): New variable.
17532 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17534 2013-05-14 David S. Miller <davem@davemloft.net>
17536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17538 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17540 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17542 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17544 (struct test_f_i_data): Change type of max_ulp to int.
17546 * math/libm-test.inc (test_ffI_f1_data): New type.
17547 (RUN_TEST_LOOP_ffI_f1): New macro.
17548 (remquo_test_data): New variable.
17549 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17551 * setjmp/tst-setjmp-fp.c: New file.
17552 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17553 (link-libm): New variable.
17554 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17556 * math/libm-test.inc (struct test_f_i_data): New type.
17557 (RUN_TEST_LOOP_f_i): New macro.
17558 (RUN_TEST_LOOP_f_i_tg): Likewise.
17559 (fpclassify_test_data): New variable.
17560 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17561 (ilogb_test_data): New variable.
17562 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17564 * math/libm-test.inc (scalbln_test): Correct function name in END
17567 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17568 (RUN_TEST_LOOP_fI_f1): New macro.
17569 (frexp_test_data): New variable.
17570 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17572 * math/libm-test.inc (struct test_fF_f1_data): New type.
17573 (RUN_TEST_LOOP_fF_f1): New macro.
17574 (modf_test_data): New variable.
17575 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17577 * math/libm-test.inc (struct test_f_f1_data): New type.
17578 (RUN_TEST_LOOP_f_f1): New macro.
17579 (gamma_test_data): New variable.
17580 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17581 (lgamma_test_data): New variable.
17582 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17584 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17586 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17587 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17588 (main): Comment "tls" pseudo-hwcap.
17590 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17592 * math/libm-test.inc (struct test_fl_f_data): New type.
17593 (RUN_TEST_LOOP_fl_f): New variable.
17594 (scalbln_test_data): New variable.
17595 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17597 * math/libm-test.inc (struct test_fi_f_data): New type.
17598 (RUN_TEST_LOOP_fi_f): New macro.
17599 (ldexp_test_data): New variable.
17600 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17601 (scalbn_test_data): New variable.
17602 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17604 * math/libm-test.inc (struct test_c_f_data): New type.
17605 (RUN_TEST_LOOP_c_f): New macro.
17606 (cabs_test_data): New variable.
17607 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17608 (carg_test_data): New variable.
17609 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17610 (cimag_test_data): New variable.
17611 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17612 (creal_test_data): New variable.
17613 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17615 * math/libm-test.inc (struct test_if_f_data): New type.
17616 (RUN_TEST_LOOP_if_f): New macro.
17617 (jn_test_data): New variable.
17618 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17619 (yn_test_data): New variable.
17620 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17622 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17624 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17626 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17627 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17629 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17631 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17632 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17633 (bench-deps): Add bench-timing.h.
17634 * benchtests-bench-skeleton.c: Include bench-timing.h.
17635 (main): Use TIMING_* macros instead of clock_gettime.
17636 * benchtests/bench-timing.h: New file.
17639 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17640 Renamed from _LIB_VERSION.
17641 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17643 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17645 * math/libm-test.inc (struct test_fff_f_data): New type.
17646 (RUN_TEST_LOOP_fff_f): New macro.
17647 (fma_test_data): New variable.
17648 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17649 (fma_towardzero_test_data): New variable.
17650 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17651 (fma_downward_test_data): New variable.
17652 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17653 (fma_upward_test_data): New variable.
17654 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17656 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17657 (struct test_c_c_data): New type.
17658 (RUN_TEST_LOOP_c_c): New macro.
17659 (cacos_test_data): New variable.
17660 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17661 (cacosh_test_data): New variable.
17662 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17663 (casin_test_data): New variable.
17664 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17665 (casinh_test_data): New variable.
17666 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17667 (catan_test_data): New variable.
17668 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17669 (catanh_test_data): New variable.
17670 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17671 (ccos_test_data): New variable.
17672 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17673 (ccosh_test_data): New variable.
17674 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17675 (cexp_test_data): New variable.
17676 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17677 (clog_test_data): New variable.
17678 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17679 (clog10_test_data): New variable.
17680 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17681 (conj_test_data): New variable.
17682 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17683 (cproj_test_data): New variable.
17684 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17685 (csin_test_data): New variable.
17686 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17687 (csinh_test_data): New variable.
17688 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17689 (csqrt_test_data): New variable.
17690 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17691 (ctan_test_data): New variable.
17692 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17693 (ctan_tonearest_test_data): New variable.
17694 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17695 (ctan_towardzero_test_data): New variable.
17696 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17697 (ctan_downward_test_data): New variable.
17698 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17699 (ctan_upward_test_data): New variable.
17700 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17701 (ctanh_test_data): New variable.
17702 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17703 (ctanh_tonearest_test_data): New variable.
17704 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17705 (ctanh_towardzero_test_data): New variable.
17706 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17707 (ctanh_downward_test_data): New variable.
17708 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17709 (ctanh_upward_test_data): New variable.
17710 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17711 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17714 * math/libm-test.inc (struct test_ff_f_data): New type.
17715 (struct test_ff_f_data_nexttoward): Likewise.
17716 (RUN_TEST_LOOP_2_f): New macro.
17717 (RUN_TEST_LOOP_ff_f): Likewise.
17718 (atan2_test_data): New variable.
17719 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17720 (copysign_test_data): New variable.
17721 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17722 (fdim_test_data): New variable.
17723 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17724 (fmax_test_data): New variable.
17725 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17726 (fmin_test_data): New variable.
17727 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17728 (fmod_test_data): New variable.
17729 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17730 (hypot_test_data): New variable.
17731 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17732 (nextafter_test_data): New variable.
17733 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17734 (nexttoward_test_data): New variable.
17735 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17736 (pow_test_data): New variable.
17737 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17738 (pow_tonearest_test_data): New variable.
17739 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17740 (pow_towardzero_test_data): New variable.
17741 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17742 (pow_downward_test_data): New variable.
17743 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17744 (pow_upward_test_data): New variable.
17745 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17746 (remainder_test_data): New variable.
17747 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17748 (scalb_test_data): New variable.
17749 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17750 * sysdeps/i386/fpu/libm-test-ulps: Update.
17752 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17754 * math/libm-test.inc (fma_test): Use max_value instead of local
17756 (nextafter_test): Likewise.
17758 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17759 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17760 (acos_downward_test_data): New variable.
17761 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17762 (acos_upward_test_data): New variable.
17763 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17764 (acosh_test_data): New variable.
17765 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17766 (asin_test_data): New variable.
17767 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17768 (asin_tonearest_test_data): New variable.
17769 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17770 (asin_towardzero_test_data): New variable.
17771 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17772 (asin_downward_test_data): New variable.
17773 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17774 (asin_upward_test_data): New variable.
17775 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17776 (asinh_test_data): New variable.
17777 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17778 (atan_test_data): New variable.
17779 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17780 (atanh_test_data): New variable.
17781 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17782 (cbrt_test_data): New variable.
17783 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17784 (ceil_test_data): New variable.
17785 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17786 (cos_test_data): New variable.
17787 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17788 (cos_tonearest_test_data): New variable.
17789 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17790 (cos_towardzero_test_data): New variable.
17791 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17792 (cos_downward_test_data): New variable.
17793 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17794 (cos_upward_test_data): New variable.
17795 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17796 (cosh_test_data): New variable.
17797 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17798 (cosh_tonearest_test_data): New variable.
17799 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17800 (cosh_towardzero_test_data): New variable.
17801 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17802 (cosh_downward_test_data): New variable.
17803 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17804 (cosh_upward_test_data): New variable.
17805 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17806 (erf_test_data): New variable.
17807 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17808 (erfc_test_data): New variable.
17809 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17810 (exp_test_data): New variable.
17811 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17812 (exp_tonearest_test_data): New variable.
17813 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17814 (exp_towardzero_test_data): New variable.
17815 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17816 (exp_downward_test_data): New variable.
17817 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17818 (exp_upward_test_data): New variable.
17819 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17820 (exp10_test_data): New variable.
17821 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17822 (exp2_test_data): New variable.
17823 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17824 (expm1_test_data): New variable.
17825 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17826 (fabs_test_data): New variable.
17827 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17828 (floor_test_data): New variable.
17829 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17830 (j0_test_data): New variable.
17831 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17832 (j1_test_data): New variable.
17833 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17834 (log_test_data): New variable.
17835 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17836 (log10_test_data): New variable.
17837 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17838 (log1p_test_data): New variable.
17839 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17840 (log2_test_data): New variable.
17841 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17842 (logb_test_data): New variable.
17843 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17844 (logb_downward_test_data): New variable.
17845 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17846 (nearbyint_test_data): New variable.
17847 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17848 (rint_test_data): New variable.
17849 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17850 (rint_tonearest_test_data): New variable.
17851 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17852 (rint_towardzero_test_data): New variable.
17853 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17854 (rint_downward_test_data): New variable.
17855 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17856 (rint_upward_test_data): New variable.
17857 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17858 (round_test_data): New variable.
17859 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17860 (sin_test_data): New variable.
17861 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17862 (sin_tonearest_test_data): New variable.
17863 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17864 (sin_towardzero_test_data): New variable.
17865 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17866 (sin_downward_test_data): New variable.
17867 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17868 (sin_upward_test_data): New variable.
17869 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17870 (sinh_test_data): New variable.
17871 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17872 (sinh_tonearest_test_data): New variable.
17873 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17874 (sinh_towardzero_test_data): New variable.
17875 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17876 (sinh_downward_test_data): New variable.
17877 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17878 (sinh_upward_test_data): New variable.
17879 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17880 (sqrt_test_data): New variable.
17881 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17882 (tan_test_data): New variable.
17883 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17884 (tan_tonearest_test_data): New variable.
17885 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17886 (tan_towardzero_test_data): New variable.
17887 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17888 (tan_downward_test_data): New variable.
17889 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17890 (tan_upward_test_data): New variable.
17891 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17892 (tanh_test_data): New variable.
17893 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17894 (tgamma_test_data): New variable.
17895 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17896 (trunc_test_data): New variable.
17897 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17898 (y0_test_data): New variable.
17899 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17900 (y1_test_data): New variable.
17901 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17902 (significand_test_data): New variable.
17903 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17905 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17908 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17910 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17912 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17914 2013-05-10 Andreas Jaeger <aj@suse.de>
17917 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17918 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17920 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17922 * math/gen-libm-test.pl (adjust_arg): New function.
17923 (special_functions): Handle generating output in both functions
17925 (parse_args): Likewise.
17926 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17927 $in_func argument to parse_args.
17928 * math/libm-test.inc (struct test_f_f_data): New type.
17929 (IF_ROUND_INIT_): New macro.
17930 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17931 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17932 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17933 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17934 (ROUND_RESTORE_): Likewise.
17935 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17936 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17937 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17938 (ROUND_RESTORE_FE_UPWARD): Likewise.
17939 (RUN_TEST_LOOP_f_f): New macro.
17940 (acos_test_data): New variable.
17941 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17942 (acos_tonearest_test_data): New variable.
17943 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17945 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17947 * benchtests/bench-skeleton.c (startup): Fix coding style.
17949 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17952 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17953 negative infinity argument.
17954 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17955 negative infinity argument.
17956 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17957 negative infinity argument.
17958 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17961 2013-05-10 Florian Weimer <fweimer@redhat.com>
17963 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17964 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17965 * iconv/iconv_prog.c (main): Likewise.
17966 * locale/programs/charmap-dir.c (charmap_readdir)
17967 (fopen_uncompressed): Likewise.
17968 * locale/programs/locfile.c (siblings_uncached)
17969 (write_locale_data): Use lstat64 instead of lstat.
17970 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17973 2013-05-10 Andreas Jaeger <aj@suse.de>
17976 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17978 Include <locale.h>.
17980 2013-05-09 Carlos O'Donell <carlos@redhat.com>
17982 * elf/dl-close.c (_dl_close_worker): Add comments.
17984 2013-05-09 Joseph Myers <joseph@codesourcery.com>
17987 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17989 (__ieee754_rem_pio2l): Update comments.
17992 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17994 (__ieee754_rem_pio2l): Update comments.
17996 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17997 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17999 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18002 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18003 (M_PI_34_LOG10El): Likewise.
18004 (M_PI2_LOG10El): Likewise.
18005 (M_PI4_LOG10El): Likewise.
18006 (M_PI_LOG10El): Likewise.
18008 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18012 2013-05-08 Joseph Myers <joseph@codesourcery.com>
18014 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18015 (MINUS_ZERO_INIT): Likewise.
18016 (PLUS_INFTY_INIT): Likewise.
18017 (MINUS_INFTY_INIT): Likewise.
18018 (QNAN_VALUE_INIT): Likewise.
18019 (MAX_VALUE_INIT): Likewise.
18020 (MIN_VALUE_INIT): Likewise.
18021 (MIN_SUBNORM_VALUE_INIT): Likewise.
18022 (plus_zero): Initialize with PLUS_ZERO_INIT.
18023 (minus_zero): Initialize with MINUS_ZERO_INIT.
18024 (plus_infty): Initialize with PLUS_INFTY_INIT.
18025 (minus_infty): Initialize with MINUS_INFTY_INIT.
18026 (qnan_value): Initialize with QNAN_VALUE_INIT.
18027 (max_value): Initialize with MAX_VALUE_INIT.
18028 (min_value): Initialize with MIN_VALUE_INIT.
18029 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18031 * math/libm-test.inc (RUN_TEST_if_f): New macro.
18032 (jn_test): Use TEST_if_f instead of TEST_ff_f.
18033 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18034 (yn_test): Use TEST_if_f instead of TEST_ff_f.
18036 * math/libm-test.inc (RUN_TEST_f_f): New macro.
18037 (RUN_TEST_2_f): Likewise.
18038 (RUN_TEST_ff_f): Likewise.
18039 (RUN_TEST_fi_f): Likewise.
18040 (RUN_TEST_fl_f): Likewise.
18041 (RUN_TEST_fff_f): Likewise.
18042 (RUN_TEST_c_f): Likewise.
18043 (RUN_TEST_f_f1): Likewise.
18044 (RUN_TEST_fF_f1): Likewise.
18045 (RUN_TEST_fI_f1): Likewise.
18046 (RUN_TEST_ffI_f1): Likewise.
18047 (RUN_TEST_c_c): Likewise.
18048 (RUN_TEST_cc_c): Likewise.
18049 (RUN_TEST_f_i): Likewise.
18050 (RUN_TEST_f_i_tg): Likewise.
18051 (RUN_TEST_ff_i_tg): Likewise.
18052 (RUN_TEST_f_b): Likewise.
18053 (RUN_TEST_f_b_tg): Likewise.
18054 (RUN_TEST_f_l): Likewise.
18055 (RUN_TEST_f_L): Likewise.
18056 (RUN_TEST_sincos): Likewise.
18057 * math/gen-libm-test.pl (new_test): Take new argument to indicate
18058 whether to show exceptions. Do not include ");\n" in return
18060 (special_functions): Output call to RUN_TEST_sincos instead of
18061 check_float calls. Update calls to new_test.
18062 (parse_args): Output call to single RUN_TEST_* macro instead of
18063 check_* calls and other assignments. Update calls to new_test.
18069 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18070 input to result for tgamma overflow.
18071 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18072 (gamma_coeff): New variable.
18073 (NCOEFF): New macro.
18074 (gamma_positive): New function.
18075 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18076 underflow here. Use gamma_positive instead of exp (lgamma) for
18078 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18079 (gamma_coeff): New variable.
18080 (NCOEFF): New macro.
18081 (gammaf_positive): New function.
18082 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18083 underflow here. Use gamma_positive instead of exp (lgamma) for
18085 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18086 (gamma_coeff): New variable.
18087 (NCOEFF): New macro.
18088 (gammal_positive): New function.
18089 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18090 underflow here. Use gamma_positive instead of exp (lgamma) for
18092 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18093 (gamma_coeff): New variable.
18094 (NCOEFF): New macro.
18095 (gammal_positive): New function.
18096 (__ieee754_gammal_r): Handle positive infinity, overflow and
18097 underflow here. Handle NaN the same as positive infinity. Remove
18098 check x < 0xffffffff for negative integers. Use gamma_positive
18099 instead of exp (lgamma) for other arguments.
18100 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18101 (gamma_coeff): New variable.
18102 (NCOEFF): New macro.
18103 (gammal_positive): New function.
18104 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18105 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18106 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18107 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18109 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18110 * sysdeps/generic/math_private.h (__gamma_productf): New
18112 (__gamma_product): Likewise.
18113 (__gamma_productl): Likewise.
18114 * math/Makefile (libm-calls): Add gamma_product.
18115 * math/libm-test.inc (tgamma_test): Add more tests.
18116 * sysdeps/i386/fpu/libm-test-ulps: Update.
18117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18119 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
18121 * benchtests/bench-skeleton.c (main): Preheat CPU.
18123 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
18125 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18127 2013-05-07 Roland McGrath <roland@hack.frob.com>
18129 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18130 and _dl_skip_args_internal.
18132 2013-05-07 Carlos O'Donell <carlos@redhat.com>
18134 * manual/message.texi (Message Translation): Talk about users.
18135 Message to key mapping impacts design.
18137 2013-05-06 Roland McGrath <roland@hack.frob.com>
18139 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18141 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18143 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18144 * sysdeps/wordsize-64/glob64.c: ... here.
18146 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18147 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18150 * debug/getlogin_r_chk.c: Moved to ...
18151 * login/getlogin_r_chk.c: ... here.
18152 * debug/Makefile (routines): Move getlogin_r_chk to ...
18153 * login/Makefile (routines): ... here.
18154 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18155 * login/Versions (libc: GLIBC_2.4): ... here.
18157 * io/poll.c (__poll): Renamed from poll.
18158 Add libc_hidden_def.
18159 (poll): Define as weak alias.
18161 * debug/ptsname_r_chk.c: Moved to ...
18162 * login/ptsname_r_chk.c: ... here.
18163 * debug/Makefile (routines): Move ptsname_r_chk to ...
18164 * login/Makefile (routines): ... here.
18165 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18166 * login/Versions (libc: GLIBC_2.4): ... here.
18168 * posix/getlogin.c: Moved to ...
18169 * login/getlogin.c: ... here.
18170 * posix/getlogin_r.c: Moved to ...
18171 * login/getlogin_r.c: ... here.
18172 * posix/getlogin_r.c: Moved to ...
18173 * login/getlogin_r.c: ... here.
18174 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18175 * login/Makefile (routines): ... here.
18176 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18177 * login/Versions (libc: GLIBC_2.0): ... here.
18179 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18180 (setrlimit): Define as weak alias.
18182 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18183 Call __ names for open, ftruncate, and close.
18184 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18185 (truncate): Define as weak alias.
18187 2013-05-06 Joseph Myers <joseph@codesourcery.com>
18189 * math/gen-libm-test.pl (parse_args): Initialize x before each
18190 test of frexp, modf and remquo.
18192 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18193 test signgam value.
18195 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18199 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18201 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18203 2013-05-06 Roland McGrath <roland@hack.frob.com>
18205 * elf/dl-writev.h: New file.
18206 * elf/dl-misc.c: Include it.
18207 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18208 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18210 2013-05-04 Joseph Myers <joseph@codesourcery.com>
18212 * math/libm-test.inc (noXFails): Remove variable.
18213 (noXPasses): Likewise.
18214 (BUILD_COMPLEX_INT): Remove macro.
18215 (print_screen): Remove xfail argument.
18216 (print_screen_max_error): Likewise.
18217 (update_stats): Likewise.
18218 (print_max_error): Likewise. Update calls to other affected
18220 (print_complex_max_error): Likewise.
18221 (test_single_exception): Update calls to print_screen.
18222 (test_single_errno): Likewise.
18223 (check_float_internal): Remove xfail argument. Update calls to
18224 other affected functions.
18225 (check_float): Likewise.
18226 (check_complex): Likewise.
18227 (check_int): Likewise.
18228 (check_long): Likewise.
18229 (check_bool): Likewise.
18230 (check_longlong): Likewise.
18231 (main): Don't print noXFails and noXPasses.
18232 * math/gen-libm-test.pl (top level): Don't mention expected
18233 failure handling in comment.
18234 (new_test): Don't handle expected failures.
18235 (parse_args): Don't mention expected failure handling in comment.
18236 (generate_testfile): Don't handle expected failures.
18237 (parse_ulps): Likewise.
18238 (print_ulps_file): Likewise.
18239 (get_failure): Remove function.
18240 (output_test): Don't handle expected failures.
18241 * make/README.libm-test: Don't mention expected failure handling.
18243 * math/libm-test.inc (plus_zero): Make const. Add initializer.
18244 (minus_zero): Likewise.
18245 (plus_infty): Likewise.
18246 (minus_infty): Likewise.
18247 (qnan_value): Likewise.
18248 (max_value): Likewise.
18249 (min_value): Likewise.
18250 (min_subnorm_value): Likewise.
18251 (initialize): Do not initialize those variables dynamically.
18253 2013-05-03 Roland McGrath <roland@hack.frob.com>
18255 * io/open.c (__open_2): Moved to ...
18256 * io/open_2.c: ... this new file.
18257 * io/open64.c (__open64_2): Moved to ...
18258 * io/open64_2.c: ... this new file.
18259 * io/openat.c (__openat_2): Moved to ...
18260 * io/openat_2.c: ... this new file.
18261 * io/openat64.c (__openat64_2): Moved to ...
18262 * io/openat64_2.c: ... this new file.
18263 * io/Makefile (routines): Add them.
18264 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18265 * sysdeps/unix/sysv/linux/open_2.c: File removed.
18266 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18267 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18268 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18269 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18270 (__openat64): Add hidden_ver.
18271 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18272 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18274 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18275 Separately conditionalize setting of GLRO(dl_sysinfo) so
18276 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18277 as well, but the actual setting is only under [NEED_DL_SYSINFO].
18279 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18281 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18282 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18284 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18285 * sysdeps/unix/sysv/linux/powerpc/init-first.c
18286 (_libc_vdso_platform_setup): Add __vdso_time initialization.
18287 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18288 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18290 2013-05-03 Joseph Myers <joseph@codesourcery.com>
18292 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18293 test signgam value.
18295 * math/libm-test.inc (hypot_test): Do not use
18296 IGNORE_ZERO_INF_SIGN.
18298 2013-05-03 Andreas Jaeger <aj@suse.de>
18300 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18302 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18303 (PF_MAX): Adjust for VSOCK change.
18305 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18309 2013-05-02 Carlos O'Donell <carlos@redhat.com>
18312 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18313 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18314 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18316 2013-05-02 David S. Miller <davem@davemloft.net>
18318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18320 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
18322 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18324 2013-05-01 Roland McGrath <roland@hack.frob.com>
18326 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18328 2013-05-01 Richard Smith <richard@metafoo.co.uk>
18331 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18332 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18333 Use __attribute__ ((__gnu_inline__)).
18334 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18335 Don't use __attribute__ ((__gnu_inline__)).
18337 2013-05-01 Joseph Myers <joseph@codesourcery.com>
18340 * math/s_catan.c (__catan): Handle small real or imaginary part of
18341 input specially to avoid spurious underflow.
18342 * math/s_catanf.c (__catanf): Likewise.
18343 * math/s_catanh.c (__catanh): Likewise.
18344 * math/s_catanhf.c (__catanhf): Likewise.
18345 * math/s_catanhl.c (__catanhl): Likewise.
18346 * math/s_catanl.c (__catanl): Likewise.
18347 * math/libm-test.inc (catan_test): Add more tests.
18348 (catanh_test): Likewise.
18349 * sysdeps/i386/fpu/libm-test-ulps: Update.
18350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18352 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18356 2013-04-30 Joseph Myers <joseph@codesourcery.com>
18359 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18360 accurately for denominator in atan2.
18361 * math/s_catanf.c (__catanf): Likewise.
18362 * math/s_catanh.c (__catanh): Likewise.
18363 * math/s_catanhf.c (__catanhf): Likewise.
18364 * math/s_catanhl.c (__catanhl): Likewise.
18365 * math/s_catanl.c (__catanl): Likewise.
18366 * math/libm-test.inc (catan_test): Add more tests.
18367 (catanh_test): Likewise.
18368 * sysdeps/i386/fpu/libm-test-ulps: Update.
18369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18371 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
18373 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18375 * benchtests/Makefile (bench): Remove slow benchmarks.
18376 * benchtests/atan-inputs: Add slow benchmark inputs.
18377 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18378 (BENCH_FUNC): Accept variant offset.
18380 * benchtests/bench-skeleton.c (main): Run benchmark for each
18382 * benchtests/cos-inputs: Add slow benchmark inputs.
18383 * benchtests/exp-inputs: Likewise.
18384 * benchtests/pow-inputs: Likewise.
18385 * benchtests/sin-inputs: Likewise.
18386 * benchtests/slowatan-inputs: Remove.
18387 * benchtests/slowatan.c: Remove.
18388 * benchtests/slowcos-inputs: Remove.
18389 * benchtests/slowcos.c: Remove.
18390 * benchtests/slowexp-inputs: Remove.
18391 * benchtests/slowexp.c: Remove.
18392 * benchtests/slowpow-inputs: Remove.
18393 * benchtests/slowpow.c: Remove.
18394 * benchtests/slowsin-inputs: Remove.
18395 * benchtests/slowsin.c: Remove.
18396 * benchtests/slowtan-inputs: Remove.
18397 * benchtests/slowtan.c: Remove.
18398 * benchtests/tan-inputs: Add slow benchmark inputs.
18399 * scripts/bench.pl: Parse comments and directives.
18401 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
18403 ($(objpfx)bench-%.c): Remove *-ITER.
18404 * benchtests/bench-modf.c: Remove definition of ITER.
18405 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18406 (main): Loop for DURATION seconds instead of fixed number of
18408 * scripts/bench.pl: Don't expect iterations in parameters.
18410 2013-04-29 Roland McGrath <roland@hack.frob.com>
18412 * io/fchdir.c (__fchdir): Renamed from fchdir.
18413 (fchdir): Define as weak alias.
18415 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18417 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18418 (ERRNO_EDOM): Likewise.
18419 (ERRNO_ERANGE): Likewise.
18420 (noErrnoTests): New variable.
18421 (init_max_error): Set errno to 0.
18422 (test_single_errno): New function.
18423 (test_errno): Likewise.
18424 (check_float_internal): Call test_errno. Set errno to 0.
18425 (check_complex): Refer to errno tests in comment.
18426 (check_int): Call test_errno. Set errno to 0.
18427 (check_long): Likewise.
18428 (check_bool): Likewise.
18429 (check_longlong): Likewise.
18430 (cos_test): Use ERRNO_* flags for errno tests instead of
18432 (expm1_test): Likewise.
18433 (fmod_test): Likewise.
18434 (ilogb_test): Likewise.
18435 (lgamma_test): Likewise.
18436 (pow_test): Likewise.
18437 (remainder_test): Likewise.
18438 (sin_test): Likewise.
18439 (tan_test): Likewise.
18440 (yn_test): Likewise.
18441 (initialize): Set errno to 0.
18442 (main): Print number of errno tests.
18443 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18445 2013-04-29 Andreas Jaeger <aj@suse.de>
18448 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18452 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18453 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18457 * stdlib/random.c (__initstate): Return NULL if
18461 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18462 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18465 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18469 2013-04-29 Joseph Myers <joseph@codesourcery.com>
18471 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18472 of individual tests.
18473 (casin_test): Likewise.
18474 (casinh_test): Likewise.
18476 2013-04-27 Joseph Myers <joseph@codesourcery.com>
18479 * math/s_catan.c (__catan): Handle arguments with large real or
18480 imaginary part separately without squaring.
18481 * math/s_catanf.c (__catanf): Likewise.
18482 * math/s_catanh.c (__catanh): Likewise.
18483 * math/s_catanhf.c (__catanhf): Likewise.
18484 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18486 (__catanhl): Handle arguments with large real or imaginary part
18487 separately without squaring.
18488 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18490 (__catanl): Handle arguments with large real or imaginary part
18491 separately without squaring.
18492 * math/libm-test.inc (catan_test): Add more tests.
18493 (catanh_test): Likewise.
18494 * sysdeps/i386/fpu/libm-test-ulps: Update.
18495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18497 2013-04-27 Andreas Jaeger <aj@suse.de>
18500 * stdlib/stdlib.h: Update guards for qecvt.
18501 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18504 2013-04-27 Allan McRae <allan@archlinux.org>
18506 * sysdeps/i386/fpu/libm-test-ulps: Update.
18508 2013-04-26 Joseph Myers <joseph@codesourcery.com>
18511 * math/s_catan.c: Include <float.h>.
18512 (__catan): Ensure underflow exception occurs for underflowed
18514 * math/s_catanf.c: Include <float.h>.
18515 (__catanf): Ensure underflow exception occurs for underflowed
18517 * math/s_catanh.c: Include <float.h>.
18518 (__catanh): Ensure underflow exception occurs for underflowed
18520 * math/s_catanhf.c: Include <float.h>.
18521 (__catanhf): Ensure underflow exception occurs for underflowed
18523 * math/s_catanhl.c: Include <float.h>.
18524 (__catanhl): Ensure underflow exception occurs for underflowed
18526 * math/s_catanl.c: Include <float.h>.
18527 (__catanl): Ensure underflow exception occurs for underflowed
18529 * math/libm-test.inc (catan_test): Add more tests.
18530 (catanh_test): Likewise.
18533 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18534 underflowed result.
18535 * math/s_ccoshf.c (__ccoshf): Likewise.
18536 * math/s_ccoshl.c (__ccoshl): Likewise.
18537 * math/s_csin.c (__csin): Likewise.
18538 * math/s_csinf.c (__csinf): Likewise.
18539 * math/s_csinh.c (__csinh): Likewise.
18540 * math/s_csinhf.c (__csinhf): Likewise.
18541 * math/s_csinhl.c (__csinhl): Likewise.
18542 * math/s_csinl.c (__csinl): Likewise.
18543 * math/libm-test.inc (ccos_test): Add more tests.
18544 (ccosh_test): Likewise.
18545 (csin_test): Likewise.
18546 (csinh_test): Likewise.
18548 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18550 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18551 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18552 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18553 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18554 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18555 powerpc/power5+/fpu folders.
18556 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18559 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18563 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18565 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18566 additions to variable.
18567 [$(config-machine) = x86_64] (modules-names): Likewise.
18568 ($(objpfx)tst-audit3): Remove dependency.
18569 ($(objpfx)tst-audit3.out): Likewise.
18570 ($(objpfx)tst-audit4): Likewise.
18571 ($(objpfx)tst-audit4.out): Likewise.
18572 ($(objpfx)tst-audit5): Likewise.
18573 ($(objpfx)tst-audit5.out): Likewise.
18574 ($(objpfx)tst-audit6): Likewise.
18575 ($(objpfx)tst-audit6.out): Likewise.
18576 ($(objpfx)tst-audit7): Likewise.
18577 ($(objpfx)tst-audit7.out): Likewise.
18578 (tst-audit3-ENV): Remove variable.
18579 (tst-audit4-ENV): Likewise.
18580 (tst-audit5-ENV): Likewise.
18581 (tst-audit6-ENV): Likewise.
18582 (tst-audit7-ENV): Likewise.
18583 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18584 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18585 addition to variable.
18586 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18587 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18588 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18589 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18590 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18591 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18592 tst-audit3, tst-audit4 and tst-audit5.
18593 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18594 tst-audit6 and tst-audit7.
18595 [$(subdir) = elf] (modules-names): Add audit modules for those
18597 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18598 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18599 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18600 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18601 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18602 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18603 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18604 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18605 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18606 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18607 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18608 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18609 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18610 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18611 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18612 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18614 [$(subdir) = elf && $(config-cflags-avx) = yes]
18615 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18616 [$(subdir) = elf && $(config-cflags-avx) = yes]
18617 (CFLAGS-tst-auditmod4a.c): Likewise.
18618 [$(subdir) = elf && $(config-cflags-avx) = yes]
18619 (CFLAGS-tst-auditmod4b.c): Likewise.
18620 [$(subdir) = elf && $(config-cflags-avx) = yes]
18621 (CFLAGS-tst-auditmod6b.c): Likewise.
18622 [$(subdir) = elf && $(config-cflags-avx) = yes]
18623 (CFLAGS-tst-auditmod6c.c): Likewise.
18624 [$(subdir) = elf && $(config-cflags-avx) = yes]
18625 (CFLAGS-tst-auditmod7b.c): Likewise.
18626 * elf/tst-audit3.c: Move to ...
18627 * sysdeps/x86_64/tst-audit3.c: ... here.
18628 * elf/tst-audit4.c: Move to ...
18629 * sysdeps/x86_64/tst-audit4.c: ... here.
18630 * elf/tst-audit5.c: Move to ...
18631 * sysdeps/x86_64/tst-audit5.c: ... here.
18632 * elf/tst-audit6.c: Move to ...
18633 * sysdeps/x86_64/tst-audit6.c: ... here.
18634 * elf/tst-audit7.c: Move to ...
18635 * sysdeps/x86_64/tst-audit7.c: ... here.
18636 * elf/tst-auditmod3a.c: Move to ...
18637 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18638 * elf/tst-auditmod3b.c: Move to ...
18639 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18640 * elf/tst-auditmod4a.c: Move to ...
18641 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18642 * elf/tst-auditmod4b.c: Move to ...
18643 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18644 * elf/tst-auditmod5a.c: Move to ...
18645 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18646 * elf/tst-auditmod5b.c: Move to ...
18647 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18648 * elf/tst-auditmod6a.c: Move to ...
18649 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18650 * elf/tst-auditmod6b.c: Move to ...
18651 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18652 * elf/tst-auditmod6c.c: Move to ...
18653 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18654 * elf/tst-auditmod7a.c: Move to ...
18655 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18656 * elf/tst-auditmod7b.c: Move to ...
18657 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18659 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18662 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18663 define unconditionally.
18664 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18665 define unconditionally.
18666 (INT8_C, INT16_C, etc.): Likewise.
18668 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18670 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18671 __ehdr_start with hidden visibility.
18673 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18675 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18677 * math/libm-test.inc (cos_test): Use accurate hex constants.
18678 (sincost_test): Likewise.
18680 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18682 * math/libm-test.inc (catan_test): Add more tests.
18683 (catanh_test): Likewise.
18685 * math/s_catanf.c (__catanf): Use suffixed floating-point
18687 * math/s_catanhf.c (__catanhf): Likewise.
18688 * math/s_catanhl.c (__catanhl): Likewise.
18689 * math/s_catanl.c (__catanl): Likewise.
18692 * math/s_catan.c (__catan): Calculate imaginary part of result
18693 with log1p not log unless computing log of number close to 0.
18694 * math/s_catanf.c (__catanf): Likewise.
18695 * math/s_catanl.c (__catanl): Likewise.
18696 * math/s_catanh.c (__catanh): Calculate real part of result with
18697 log1p not log unless computing log of number close to 0.
18698 * math/s_catanhf.c (__catanhf): Likewise.
18699 * math/s_catanhl.c (__catanhl): Likewise.
18700 * math/libm-test.inc (catan_test): Add more tests.
18701 (catanh_test): Likewise.
18702 * sysdeps/i386/fpu/libm-test-ulps: Update.
18703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18705 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18707 * benchtests/Makefile: Mention files in which fast and slow
18708 paths of math functions are implemented.
18710 2013-04-23 Roland McGrath <roland@hack.frob.com>
18712 * sysdeps/posix/timespec_get.c: New file.
18714 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18716 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18718 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18720 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18721 powerpc/power5/fpu folders.
18722 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18723 * benchtests/Makefile: Add modf testcase.
18724 * benchtests/bench-modf.c: New file: Benchmark test for mo
18726 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18729 * time/Makefile (tests): Add tst-strptime-whitespace.
18730 * time/strptime_l.c (get_number): Use ISSPACE.
18731 (__strptime_internal): Likewise.
18732 * time/tst-strptime-whitespace.c: New test case.
18734 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18736 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18738 (_nss_files_init): Set it here.
18740 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18742 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18743 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18746 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18748 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18750 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18752 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18755 2013-04-21 David S. Miller <davem@davemloft.net>
18757 * po/ru.po: Update Russion translation from translation project.
18759 2013-04-17 Adam Conrad <adconrad@0c3.net>
18761 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18764 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18766 * configure.in: Remove i386 configure warning. Remove i386 case.
18767 * configure: Regenerate.
18768 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18769 Add example to error message.
18770 * sysdeps/i386/configure: Regenerate.
18772 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18774 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18776 * benchtests/cos-inputs: New file.
18777 * benchtests/slowcos-inputs: New file.
18778 * benchtests/slowcos.c: New file.
18779 * benchtests/slowtan-inputs: New file.
18780 * benchtests/slowtan.c: New file.
18781 * benchtests/tan-inputs: New file.
18783 2013-04-16 Roland McGrath <roland@hack.frob.com>
18785 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18788 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18790 * benchtests/Makefile: Include cppflags-iterator.mk to add
18791 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18793 * Makefile.in (bench-clean): New target.
18794 * benchtests/Makefile (bench-clean): Likewise.
18796 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18798 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18800 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18802 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18804 2013-04-15 Andreas Schwab <schwab@suse.de>
18806 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18807 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18808 * nscd/pwdcache.c (cache_addpw): Likewise.
18809 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18812 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18814 * benchtests/Makefile (bench): Write all output to
18815 bench-out.tmp together.
18817 2013-04-15 Andreas Schwab <schwab@suse.de>
18819 * nscd/nscd.c (main): Don't fork again after closing files.
18821 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18823 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18825 * benchtests/Rules (bench-deps): Collect dependencies into a
18826 single variable. Add Makefile to dependencies.
18827 ($(objpfx)bench-%.c): Depend on bench-deps.
18829 2013-04-12 Roland McGrath <roland@hack.frob.com>
18830 Xavier Roche <roche+kml2@exalead.com>
18833 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18834 just that it's a file descriptor.
18835 * manual/llio.texi (Synchronizing AIO Operations): Update description
18836 for EBADF error from aio_fsync.
18838 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18840 * Rules (bench): Move target definition...
18841 * benchtests/Makefile: ... here.
18843 2013-04-11 Carlos O'Donell <carlos@redhat.com>
18845 * math/libm-test.inc (cos_test): Fix PI/2 test.
18846 (sincos_test): Likewise.
18847 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18848 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18850 2013-04-11 Andreas Schwab <schwab@suse.de>
18853 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18854 accept exponent character only when digits were seen.
18855 * stdio-common/Makefile (tests): Add bug26.
18856 * stdio-common/bug26.c: New file.
18859 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18862 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18864 * Makeconfig (rtld-prefix): Define built linker prefix.
18865 * Rules (run-bench): Use it.
18866 * math/Makefile (run-regen-ulps): Likewise.
18868 * Rules (bench): Remove eval.
18870 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18871 Roland McGrath <roland@hack.frob.com>
18872 Ondrej Bilka <neleai@seznam.cz>
18875 * time/getdate.c: Include ctype.h and alloca.h.
18876 (__getdate_r): Trim leading and trailing spaces of input.
18877 * time/tst-getdate.c (tests): Add tests with leading and
18880 2013-04-08 Roland McGrath <roland@hack.frob.com>
18883 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18884 when computing value.
18886 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18888 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18889 Use testrun.sh to run libm tests.
18892 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18894 2013-04-06 Marko Myllynen <myllynen@redhat.com>
18897 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18899 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18901 * Makefile.in (regen-ulps): New target.
18902 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18903 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18904 [ifneq (no,$(PERL)] (regen-ulps): New target.
18905 [ifeq (no,$(PERL)] (regen-ulps): New target.
18906 * math/libm-test.inc (ulps_file_name): Define.
18907 (output_dir): New variable.
18908 (options): Add "output-dir" option.
18909 (parse_opt): Handle 'o' case.
18910 (main): If output_dir is non-NULL use it as a prefix
18912 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18914 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18916 [BZ #10060, #10062]
18917 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18918 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18919 fail configure if __sync_val_compare_and_swap is not inlined.
18920 * sysdeps/i386/configure: Regenerate.
18921 * configure.in: Build for i686 when configured for i386.
18922 * configure: Regenerate.
18923 * README: Remove i386 reference.
18925 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18927 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18928 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18930 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18932 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18933 (lmsnanval): New variables.
18934 (F): Add conversion tests.
18935 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18936 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18938 * stdio-common/tstdiomisc.c (F): Properly collect individual
18941 [BZ #14686, #15336]
18942 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18943 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18944 Instead, use input NaN values or generate a qNaN by arithmetic
18945 operation. Also fix bugs to comply with the standard.
18946 * math/libm-test.inc (remainder_test): Add more tests.
18948 [BZ #15335, #15342]
18949 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18950 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18951 input NaN values or generate a qNaN by arithmetic operation.
18953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18956 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18959 2013-04-03 Joseph Myers <joseph@codesourcery.com>
18962 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18963 underflowed result.
18964 * math/s_cexpf.c (__cexpf): Likewise.
18965 * math/s_cexpl.c (__cexpl): Likewise.
18966 * math/libm-test.inc (cexp_test): Add more tests.
18968 2013-04-03 Andreas Schwab <schwab@suse.de>
18971 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18972 order arrays from heap if bigger than alloca cutoff.
18974 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18976 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18977 (SNAN_TESTS_double): Refer to GCC PR56831.
18978 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18981 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18983 * Rules (bench): Move bench.out after the run is complete.
18985 * Rules (bench): Echo currently running benchmark.
18987 * benchtests/Makefile (bench): Add atan and slowatan.
18988 * benchtests/atan-inputs: New file.
18989 * benchtests/slowatan-inputs: New file.
18990 * benchtests/slowatan.c: New file.
18992 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18993 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18997 * sysdeps/unix/sysv/linux/kernel-features.h
18998 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18999 __ASSUME_XFS_RESTRICTED_CHOWN.
19000 * sysdeps/unix/sysv/linux/pathconf.c
19001 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19002 Save and restore errno.
19004 2013-04-02 Joseph Myers <joseph@codesourcery.com>
19007 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19008 arguments using __kernel_casinh.
19009 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19010 arguments using __kernel_casinhf.
19011 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19012 arguments using __kernel_casinhl.
19013 * math/libm-test.inc (cacosh_test): Add more tests.
19014 * sysdeps/i386/fpu/libm-test-ulps: Update.
19015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19017 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19019 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19020 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19022 * bench/Makefile (bench): Add sin and slowsin.
19023 * benchtests/sin-inputs: New file.
19024 * benchtests/slowsin-inputs: New file.
19025 * benchtests/slowsin.c: New file.
19027 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19028 (bench): Add slowexp and slowpow.
19029 (exp-ITER): Increase iterations.
19030 (pow-ITER): Likewise.
19031 * benchtests/exp-inputs: Change input.
19032 * benchtests/pow-inputs: Likewise.
19033 * benchtests/slowexp-inputs: New file.
19034 * benchtests/slowexp.c: New file.
19035 * benchtests/slowpow-inputs: New file.
19036 * benchtests/slowpow.c: New file.
19038 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19040 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19042 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19043 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19044 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19045 * benchtests/Makefile: Add rint benchtest.
19046 * benchtests/rint-inputs: Input for rint benchtest.
19048 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
19050 * Versions.def (libm): Add GLIBC_2.18.
19051 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19052 hidden libm prototypes.
19053 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19054 * math/Makefile (libm-calls): Add s_issignaling.
19055 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19056 __issignalingf, __issignalingl. Adjust all libm.abilist files.
19057 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19059 * math/math.h [__USE_GNU] (issignaling): New macro.
19060 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19061 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19062 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19063 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19064 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19065 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19066 * manual/arith.texi (issignaling): New section.
19067 * manual/libm-err-tab.pl (@all_functions): Update comment.
19068 * math/gen-libm-test.pl (parse_args): Apply special handling for
19070 * math/libm-test.inc (print_float, issignaling_test): New
19072 (check_float_internal): Add issignaling checks.
19073 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19074 default definition.
19075 * sysdeps/powerpc/math-tests.h: New file.
19076 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19078 * math/test-snan.c (TEST_FUNC): Likewise.
19080 2013-03-30 David S. Miller <davem@davemloft.net>
19082 * po/de.po: Update from translation team.
19084 2013-03-30 Joseph Myers <joseph@codesourcery.com>
19087 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19088 imaginary part less than 1.0 and real part less than 0.5
19090 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19091 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19092 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19093 (cacos_test): Add more tests.
19094 (casin_test): Likewise.
19095 (casinh_test): Likewise.
19096 * sysdeps/i386/fpu/libm-test-ulps: Update.
19097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19099 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19101 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19102 ONE with its value.
19104 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19105 (__pow_mp): Replace ONE and MONE with their values.
19106 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19107 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19108 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19109 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19110 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19111 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19113 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19115 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19116 (__pow_mp): Replace ZERO and MZERO with their values.
19117 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19118 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19119 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19120 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19121 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19122 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19125 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19127 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19129 2013-03-28 Roland McGrath <roland@hack.frob.com>
19131 * include/stdlib.h [!SHARED] (__call_tls_dtors):
19132 Declare with __attribute__ ((weak)).
19133 * stdlib/exit.c (__libc_atexit) [!SHARED]:
19134 Call __call_tls_dtors only if it's not NULL.
19136 2013-03-28 Roland McGrath <roland@hack.frob.com>
19138 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19139 didn't do it already, then set _dl_phdr and _dl_phnum based on the
19140 magic __ehdr_start linker symbol if it's defined.
19141 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19142 them up here if it was already done.
19144 * elf/dl-support.c (_dl_phdr): Make pointer to const.
19145 (_dl_aux_init): Use const in cast when setting it.
19146 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19147 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19148 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19150 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19152 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19153 * csu/libc-tls.c: Nor here.
19154 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19156 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19157 (__libc_message): Never call vsyslog.
19159 2013-03-28 Alan Modra <amodra@gmail.com>
19161 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19163 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19166 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19169 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19173 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19176 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19177 Don't add gid passed as argument.
19179 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19181 2013-03-27 Joseph Myers <joseph@codesourcery.com>
19184 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19185 imaginary part between 1.0 and 1.5 and real part less than 0.5
19187 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19188 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19189 * math/libm-test.inc (cacos_test): Add more tests.
19190 (casin_test): Likewise.
19191 (casinh_test): Likewise.
19192 * sysdeps/i386/fpu/libm-test-ulps: Update.
19193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19195 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19197 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19200 (denorm): Likewise.
19201 (__dbl_mp): Likewise.
19202 (add_magnitudes): Likewise.
19203 (sub_magnitudes): Likewise.
19211 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19213 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19214 (__dubcos): Likewise.
19215 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19216 (__ieee754_acos): Likewise.
19217 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19218 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19219 (__exp1): Likewise.
19220 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19221 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19223 (my_log2): Likewise.
19224 (checkint): Likewise.
19225 * sysdeps/ieee754/dbl-64/e_remainder.c
19226 (__ieee754_remainder): Likewise.
19227 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19228 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19229 (bsloww): Likewise.
19230 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19232 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19233 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19234 MANTISSA_STORE_T to store computations on mantissa. Use
19235 macros for rounding and division.
19236 (denorm): Likewise.
19237 (__dbl_mp): Likewise.
19238 (add_magnitudes): Likewise.
19239 (sub_magnitudes): Likewise.
19242 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19243 powers of two in terms of TWOPOW macro.
19244 (mp_no): Make type of mantissa as MANTISSA_T.
19245 [!RADIXI]: Define RADIXI.
19246 [!TWO52]: Define TWO52.
19247 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19249 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19251 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19252 llroundl symbol when building for PPC32.
19254 2013-03-24 Mark H Weaver <mhw@netris.org>
19256 * manual/arith.texi (Normalization Functions): Fix prototypes for
19257 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19259 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19262 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19263 high value to check if expl overflow.
19264 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19265 to check for underflow and overflow.
19266 * math/libm-test.inc: Add exp test.
19268 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
19271 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19274 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19276 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19279 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
19281 * math/gen-libm-test.pl (parse_args, special_functions): Properly
19282 wrap blocks consisting of several statements.
19284 * sysdeps/generic/math-tests.h: New file.
19285 * sysdeps/i386/fpu/math-tests.h: Likewise.
19286 * math/test-snan.c: Include it.
19287 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19289 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19292 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19293 (__ieee754_j0l): Do not improve calculations using cos of twice
19294 input for inputs above LDBL_MAX / 2.0L.
19295 (__ieee754_y0l): Likewise.
19296 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19297 (__ieee754_j1l): Do not improve calculations using cos of twice
19298 input for inputs above LDBL_MAX / 2.0L.
19299 (__ieee754_y1l): Likewise.
19300 * math/libm-test.inc (j0_test): Add another test.
19301 (j1_test): Likewise.
19302 (y0_test): Likewise.
19303 (y1_test): Likewise.
19304 * sysdeps/i386/fpu/libm-test-ulps: Update.
19306 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19308 * Rules ($(objpfx)bench-%.c): Include code from a C source
19311 2013-03-21 Joseph Myers <joseph@codesourcery.com>
19314 * math/k_casinh.c (__kernel_casinh): Handle arguments with
19315 imaginary part 1.0 and real part less than 0.5 specially.
19316 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19317 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19318 * math/libm-test.inc (cacos_test): Add more tests.
19319 (casin_test): Likewise.
19320 (casinh_test): Likewise.
19321 * sysdeps/i386/fpu/libm-test-ulps: Update.
19322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19324 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19326 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19327 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19329 2013-03-20 Joseph Myers <joseph@codesourcery.com>
19331 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19332 * config.make.in (config-cflags-sse4): Remove variable.
19333 (config-cflags-avx): Likewise.
19334 (config-cflags-sse2avx): Likewise.
19335 (config-cflags-novzeroupper): Likewise.
19336 (config-asflags-i686): Likewise.
19337 (have-mfma4): Likewise.
19338 (have-as-vis3): Likewise.
19340 * configure.in (MIG): Do not AC_SUBST.
19341 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19342 (libc_cv_cc_sse4): Do not AC_SUBST.
19343 (libc_cv_cc_avx): Likewise.
19344 (libc_cv_cc_sse2avx): Likewise.
19345 (libc_cv_cc_novzeroupper): Likewise.
19346 (libc_cv_cc_fma4): Likewise.
19347 (libc_cv_as_i686): Likewise.
19348 (libc_cv_sparc_as_vis3): Likewise.
19349 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19351 (config-asflags-i686): Likewise.
19352 (config-cflags-avx): Likewise.
19353 (config-cflags-sse2avx): Likewise.
19354 (have-mfma4): Likewise.
19355 (config-cflags-novzeroupper): Likewise.
19356 * sysdeps/mach/configure.in (MIG): Likewise.
19357 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19358 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19360 (config-cflags-avx): Likewise.
19361 (config-cflags-sse2avx): Likewise.
19362 (have-mfma4): Likewise.
19363 (config-cflags-novzeroupper): Likewise.
19364 * configure: Regenerated.
19365 * sysdeps/i386/configure: Likewise.
19366 * sysdeps/mach/configure: Likewise.
19367 * sysdeps/sparc/configure: Likewise.
19368 * sysdeps/x86_64/configure: Likewise.
19370 2013-03-20 Roland McGrath <roland@hack.frob.com>
19373 * locale/programs/localedef.c (options): Put N_ translation marker
19374 on argument names, not just descriptions.
19376 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19378 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19380 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
19383 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19385 2013-03-19 Roland McGrath <roland@hack.frob.com>
19387 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19388 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19389 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19390 [!BEFORE_ABORT] (before_abort): New function.
19391 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19392 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19393 (writev_for_fatal): New function.
19394 (WRITEV_FOR_FATAL): New macro; call that.
19395 (backtrace_and_maps): New function.
19396 (BEFORE_ABORT): New macro; call that.
19397 (struct str_list): Type removed.
19398 (__libc_message, __libc_fatal): Functions removed.
19399 Include <sysdeps/posix/libc_fatal.c> instead.
19401 2013-03-19 Joseph Myers <joseph@codesourcery.com>
19403 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19405 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19408 2013-03-19 Andreas Schwab <schwab@suse.de>
19410 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19411 * sysdeps/gnu/configure: Regenerate.
19413 * configure.in: Substitute libc_cv_rtlddir.
19414 * configure: Regenerate.
19415 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19416 * Makeconfig (rtlddir, inst_rtlddir): New variables.
19417 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19418 * elf/Makefile (install-others, CFLAGS-interp.c)
19419 (ldso_install, common-ldd-rewrite): Likewise.
19420 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19421 $(inst_slibdir)/$(rtld-installed-name).
19422 * scripts/rellns-sh: Add -p option.
19423 * Makerules (make-shlib-link): Use rellns-sh to get relative name
19426 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19428 * manual/nptl.texi: Renamed to ...
19429 * manual/threads.texi: ... this.
19430 * manual/Makefile (chapters): Update.
19432 2013-03-18 Roland McGrath <roland@hack.frob.com>
19435 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19436 on argument names, not just descriptions.
19437 * malloc/memusagestat.c (options): Likewise.
19438 * nss/getent.c (options): Likewise.
19440 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
19443 * iconv/iconv_prog.c (options): Put N_ translation marker
19444 on argument names, not just descriptions.
19445 * iconv/iconvconfig.c (options): Likewise.
19447 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
19449 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19450 implementation which is faster on all x86_64 architectures.
19451 Tested on AMD, Intel Nehalem, SNB, IVB.
19452 * sysdeps/x86_64/strnlen.S: Likewise.
19454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19455 Remove all multiarch strlen and strnlen versions.
19456 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19457 Remove strlen and strnlen related parts.
19459 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19460 Inline strlen part.
19461 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19463 * sysdeps/x86_64/multiarch/strlen.S: Remove.
19464 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19465 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19466 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19467 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19468 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19470 2013-03-17 Carlos O'Donell <carlos@redhat.com>
19472 * manual/memory.texi (Malloc Tunable Parameters):
19473 Sort parameters alphabetically. Add comments for missing entries.
19475 2013-03-17 David S. Miller <davem@davemloft.net>
19477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19479 2013-03-16 Joseph Myers <joseph@codesourcery.com>
19482 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19483 for arguments at most half maximum finite value.
19484 * math/libm-test.inc (j0_test): Add more tests.
19485 (j1_test): Likewise.
19486 (y0_test): Likewise.
19487 (y1_test): Likewise.
19488 * sysdeps/i386/fpu/libm-test-ulps: Update.
19489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19492 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19493 1 / x and functions P and Q for arguments above 0x1p256L.
19494 (__ieee754_y0l): Likewise.
19495 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19496 (__ieee754_y1l): Likewise.
19497 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19498 (j1_test): Likewise.
19499 (y0_test): Likewise.
19500 (y1_test): Likewise.
19502 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
19504 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19507 2013-03-15 Roland McGrath <roland@hack.frob.com>
19509 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19510 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19511 zero since it's initialized to EXEC_PAGESIZE.
19513 * sysdeps/unix/sysv/linux/ldsodefs.h
19514 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19515 * sysdeps/generic/ldsodefs.h: ... here.
19517 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19519 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19521 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19523 * math/test-snan.c: Renamed from
19524 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19525 * math/Makefile (tests): Add test-snan.
19526 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19529 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19530 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19532 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19533 __builtin_nan family of functions.
19534 * math/libm-test.inc (initialize): Initialize qnan_value with
19535 __builtin_nan family of functions.
19536 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19538 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19540 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19541 storage class. Initialize qNaN_var and sNaN_var with
19542 __builtin_nan and __builtin_nans families of functions,
19545 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19546 (sqrt_test): Remove duplicate test with qNaN input.
19547 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19548 (round_test, signbit_test, significand_test): Note missing +/-Inf
19549 as well as qNaN tests.
19551 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19552 qNaN_var. Fix a few strings, too.
19553 * math/libm-test.inc (nan_value): Rename to qnan_value.
19554 * math/gen-libm-test.pl (%beautify): Adjust to that.
19555 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19556 * math/test-misc.c (main): Likewise.
19557 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19558 to __qnan_bytes, and __qnan_union, respectively.
19559 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19561 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19562 and lqnanval, respectively.
19563 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19564 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19565 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19566 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19568 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19569 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19572 * math/test-misc.c (main): Fix copy'n'pastos.
19573 * misc/tst-efgcvt.c (special): Likewise.
19575 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19576 Remove declarations.
19578 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19580 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19581 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19582 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19583 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19585 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19587 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19588 macro to return vdso values correctly in IFUNC implementations.
19589 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19590 Optimization by using IFUNC.
19592 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19593 Richard Henderson <rth@redhat.com>
19594 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19596 * Makefile.in (bench): New target.
19597 * NEWS: Mention the benchmark framework.
19598 * Rules (bench): Likewise.
19599 (binaries-bench): Generate binaries for functions to
19601 * benchtests/Makefile: New makefile for benchmark tests.
19602 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19604 * benchtests/exp-inputs: New input file for EXP function.
19605 * benchtests/pow-inputs: New input file for POW function.
19606 * scripts/bench.pl: New script to generate source files for
19607 benchmark programs.
19609 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19611 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19612 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19613 computations on mantissa. Use macros for rounding and
19615 (denorm): Likewise.
19616 (__dbl_mp): Likewise.
19617 (add_magnitudes): Likewise.
19618 (sub_magnitudes): Likewise.
19621 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19622 powers of two in terms of TWOPOW macro.
19623 (mp_no): Make type of mantissa as MANTISSA_T.
19624 [!RADIXI]: Define RADIXI.
19625 [!TWO52]: Define TWO52.
19626 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19628 * manual/nptl.texi (cindex): Modify threads to pthreads.
19630 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19632 * sysdeps/x86_64/preconfigure: Regenerated.
19634 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19637 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19639 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19640 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19642 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19643 * math/libm-test.inc (j0_test): Do not allow one spurious
19644 underflow exception.
19645 (y1_test): Likewise.
19647 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19649 * manual/Makefile (chapters): Add nptl.
19650 * manual/debug.texi (Debugging Support): Add link to Threads
19652 * manual/nptl.texi: New file.
19654 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19656 2013-03-14 Petr Baudis <pasky@ucw.cz>
19658 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19659 for non-NULL pointer before the memory validity test. Pointed
19660 out by Holger Brunck <holger.brunck@keymile.com>.
19662 2013-03-13 Andreas Schwab <schwab@suse.de>
19664 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19667 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19669 * timezone/zic.c: Update from tzcode 2013b.
19671 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19673 * manual/install.texi (Configuring and compiling):
19674 Mention i686 and i586.
19675 * INSTALL: Regenerate.
19677 2013-03-12 Roland McGrath <roland@hack.frob.com>
19679 * sysdeps/init_array/elf-init.c: New file.
19681 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19682 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19684 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19685 __gmon_start__ as global, but as static with a .preinit_array pointer.
19686 * sysdeps/init_array/gmon-start.c: New file. Use that.
19687 * sysdeps/init_array/crti.S: New file, empty except for comments.
19688 * sysdeps/init_array/crtn.S: Likewise.
19690 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19692 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19695 Remove Prefer_SSE_for_memop.
19696 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19697 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19698 HAS_PREFER_SSE_FOR_MEMOP.
19699 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19701 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19702 Remove bzero, memset ifunc support.
19703 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19704 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19705 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19706 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19708 2013-03-11 Andreas Schwab <schwab@suse.de>
19711 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19714 (GLIBC_2.16): Remove pthread_atfork.
19716 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19718 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19719 (ptestcases.h): Likewise.
19721 2013-03-08 Roland McGrath <roland@hack.frob.com>
19723 * Makeconfig ($(common-objpfx)config.status): Depend on
19724 sysdeps/*/preconfigure{,.in} too.
19726 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19728 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19729 (__free_hook): Use void * instead of __malloc_ptr_t.
19730 (__malloc_hook): Likewise.
19731 (__realloc_hook): Likewise.
19732 (__memalign_hook): Likewise.
19733 (__after_morecore_hook): Likewise.
19734 * malloc/arena.c (save_malloc_hook): Likewise.
19735 (save_free_hook): Likewise.
19736 * malloc/hooks.c (malloc_hook_ini): Likewise.
19737 (realloc_hook_ini): Likewise.
19738 (memalign_hook_ini): Likewise.
19739 * malloc/malloc.c (malloc_hook_ini): Likewise.
19740 (realloc_hook_ini): Likewise.
19741 (memalign_hook_ini): Likewise.
19742 (__free_hook): Likewise.
19743 (__malloc_hook): Likewise.
19744 (__realloc_hook): Likewise.
19745 (__memalign_hook): Likewise.
19746 (__libc_malloc): Likewise.
19747 (__libc_free): Likewise.
19748 (__libc_realloc): Likewise.
19749 (__libc_memalign): Likewise.
19750 (__libc_valloc): Likewise.
19751 (__libc_pvalloc): Likewise.
19752 (__libc_calloc): Likewise.
19753 (__posix_memalign): Likewise.
19754 * malloc/morecore.c (__sbrk): Likewise.
19755 (__default_morecore): Likewise.
19757 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19759 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19760 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19761 __malloc_ptrdiff_t.
19763 * malloc/malloc.h (__malloc_size_t): Remove macro.
19764 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19766 (old_memalign_hook): Likewise.
19767 (old_realloc_hook): Likewise.
19768 (struct hdr): Likewise.
19770 (mallochook): Likewise.
19771 (memalignhook): Likewise.
19772 (reallochook): Likewise.
19773 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19774 (tr_old_realloc_hook): Likewise.
19775 (tr_old_memalign_hook): Likewise.
19776 (tr_mallochook): Likewise.
19777 (tr_reallochook): Likewise.
19778 (tr_memalignhook): Likewise.
19780 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19783 default_ldbl_pack and using as default implementation.
19784 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19786 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19787 redundant definition.
19788 (ldbl_insert_mantissa): Likewise.
19789 (ldbl_canonicalize): Likewise.
19790 (ldbl_nearbyint): Likewise.
19791 (ldbl_pack): Rename to ldbl_pack_ppc.
19792 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19793 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19794 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19796 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19798 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19799 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19800 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19801 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19803 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19804 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19805 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19807 2013-03-07 Andreas Jaeger <aj@suse.de>
19809 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19812 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19814 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19815 Include mpa.h and declare __MPEXP.
19816 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19817 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19818 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19819 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19820 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19821 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19822 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19824 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19825 (__slowpow): Use long double EXPL and LOGL functions to
19827 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19828 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19829 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19830 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19831 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19832 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19834 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19835 intermediate variable to calculate exponent.
19837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19841 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19842 [!NO__SQR]: Define __sqr.
19843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19844 and NO__SQR. Remove all code except __mul and __sqr. Include
19845 sysdeps/ieee754/dbl-64/mpa.c.
19846 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19849 * posix/Makefile (tests): Add tst-pathconf.
19850 * posix/tst-pathconf.c: New test case.
19851 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19853 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19855 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
19857 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19859 2013-03-06 Andreas Jaeger <aj@suse.de>
19861 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19862 definition via __MAP_ANONYMOUS.
19864 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19865 it's not part of Linux headers.
19867 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19868 (MAP_HUGE_MASK): Define.
19870 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19872 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19873 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19875 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19876 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19878 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19881 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19883 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19884 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19885 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19886 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19887 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19888 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19890 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19893 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19894 Handle f2fs and efivarfs.
19896 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19899 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19900 (EFIVARFS_MAGIC): Add.
19901 (F2FS_LINK_MAX): Add.
19903 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19905 * stdio-common/vfprintf.c: Replace __builtin_expect with
19908 2013-03-06 Joseph Myers <joseph@codesourcery.com>
19911 * sysdeps/generic/bp-sym.h: Remove file.
19912 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19913 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19914 <bp-sym.h> and <bp-asm.h>.
19915 (__longjmp): Don't use BP_SYM.
19916 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19918 (memcpy): Don't use BP_SYM.
19919 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19920 <bp-sym.h> and <bp-asm.h>.
19921 (memcpy): Don't use BP_SYM.
19922 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19924 (memcpy): Don't use BP_SYM.
19925 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19927 (memset): Don't use BP_SYM.
19928 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19929 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19930 (__bzero): Don't use BP_SYM.
19931 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19932 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19933 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19934 <bp-sym.h> and <bp-asm.h>.
19935 (memcmp): Don't use BP_SYM. Remove comment about bounded
19937 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19938 <bp-sym.h> and <bp-asm.h>.
19939 (memcpy): Don't use BP_SYM.
19940 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19941 <bp-sym.h> and <bp-asm.h>.
19942 (memset): Don't use BP_SYM.
19943 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19944 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19945 (__bzero): Don't use BP_SYM.
19946 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19947 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19948 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19949 <bp-sym.h> and <bp-asm.h>.
19950 (strncmp): Don't use BP_SYM. Remove comment about bounded
19952 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19953 <bp-sym.h> and <bp-asm.h>.
19954 (memcpy): Don't use BP_SYM.
19955 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19956 <bp-sym.h> and <bp-asm.h>.
19957 (memset): Don't use BP_SYM.
19958 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19959 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19960 (__bzero): Don't use BP_SYM.
19961 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19962 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19963 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19964 <bp-sym.h> and <bp-asm.h>.
19965 (__memchr): Don't use BP_SYM.
19966 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19967 <bp-sym.h> and <bp-asm.h>.
19968 (memcmp): Don't use BP_SYM. Remove comment about bounded
19970 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19971 <bp-sym.h> and <bp-asm.h>.
19972 (memcpy): Don't use BP_SYM.
19973 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19974 <bp-sym.h> and <bp-asm.h>.
19975 (__mempcpy): Don't use BP_SYM.
19976 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19977 <bp-sym.h> and <bp-asm.h>.
19978 (__memrchr): Don't use BP_SYM.
19979 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19980 <bp-sym.h> and <bp-asm.h>.
19981 (memset): Don't use BP_SYM.
19982 (__bzero): Likewise.
19983 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19984 <bp-sym.h> and <bp-asm.h>.
19985 (__rawmemchr): Don't use BP_SYM.
19986 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19987 <bp-sym.h> and <bp-asm.h>.
19988 (__STRCMP): Don't use BP_SYM.
19989 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19990 <bp-sym.h> and <bp-asm.h>.
19991 (strchr): Don't use BP_SYM.
19992 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19993 <bp-sym.h> and <bp-asm.h>.
19994 (__strchrnul): Don't use BP_SYM.
19995 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19996 <bp-sym.h> and <bp-asm.h>.
19997 (strlen): Don't use BP_SYM.
19998 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19999 <bp-sym.h> and <bp-asm.h>.
20000 (strncmp): Don't use BP_SYM. Remove comment about bounded
20002 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20003 <bp-sym.h> and <bp-asm.h>.
20004 (__strnlen): Don't use BP_SYM.
20005 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20006 <bp-sym.h> and <bp-asm.h>.
20007 (__GI__setjmp): Don't use BP_SYM.
20008 (_setjmp): Likewise.
20009 (__sigsetjmp): Likewise.
20010 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20011 (L(start_addresses)): Don't use BP_SYM.
20012 (_start): Likewise.
20013 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20015 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20016 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20017 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20018 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20019 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20021 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20022 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
20023 about bounded pointers.
20024 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20025 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20026 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20028 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20029 about bounded pointers. Remove GKM FIXME comments.
20030 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20031 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20033 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20034 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
20035 Remove GKM FIXME comments.
20036 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20037 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20038 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20040 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
20041 about bounded pointers. Remove GKM FIXME comment.
20042 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20044 (strncmp): Don't use BP_SYM. Remove comment about bounded
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20047 <bp-sym.h> and <bp-asm.h>.
20048 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20050 <bp-sym.h> and <bp-asm.h>.
20051 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20054 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20056 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20059 2013-03-05 David S. Miller <davem@davemloft.net>
20061 * po/es.po: Update from translation team.
20063 2013-03-05 Andreas Jaeger <aj@suse.de>
20065 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20066 <bits/mman-linux.h>.
20067 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20069 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20070 <bits/mman-linux.h> to end of file.
20071 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20073 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20074 <bits/mman-linux.h> to end of file.
20075 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20077 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20078 <bits/mman-linux.h> to end of file.
20080 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20081 (MCL_CURRENT, MCL_FUTURE): Define here.
20083 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20086 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20088 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20090 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20092 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20093 fourth parameter needed for rt_sigprocmask syscall.
20094 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20095 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20096 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20097 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20098 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20099 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20101 2013-03-04 Joseph Myers <joseph@codesourcery.com>
20104 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20105 comment about bounded pointers.
20106 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20107 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20109 2013-03-04 Andreas Jaeger <aj@suse.de>
20111 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20112 common definitions.
20114 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20115 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20116 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20117 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20118 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20119 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20121 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20124 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20125 __ieee754_sqrl instead of __sqrl.
20127 2013-03-01 Joseph Myers <joseph@codesourcery.com>
20129 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20130 * sysdeps/powerpc/fpu_control.h: ... here.
20131 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20132 * sysdeps/powerpc/bits/fenvinline.h: ... here.
20133 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20134 * sysdeps/powerpc/bits/mathinline.h: ... here.
20136 2013-03-01 Roland McGrath <roland@hack.frob.com>
20138 * elf/dl-hwcaps.c (_dl_important_hwcaps):
20139 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20140 to just [NEED_DL_SYSINFO_DSO].
20141 * elf/dl-support.c: Likewise.
20142 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20143 * elf/rtld.c (dl_main): Likewise.
20144 * elf/setup-vdso.h (setup_vdso): Likewise.
20145 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20146 * sysdeps/unix/sysv/linux/dl-sysdep.c
20147 (_dl_discover_osversion): Likewise.
20149 2013-03-01 Carlos O'Donell <carlos@redhat.com>
20151 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20152 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20154 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
20156 * NEWS: Mention libm performance improvements and non-x86 PI
20159 * csu/libc-start.c (__pthread_initialize_minimal): Change
20160 function arguments.
20161 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20163 2013-02-28 Joseph Myers <joseph@codesourcery.com>
20166 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20167 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20168 <bp-sym.h> and <bp-asm.h>.
20169 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20170 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20172 (memcpy): Don't use BP_SYM.
20173 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20175 (__mpn_add_n): Don't use BP_SYM.
20176 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20177 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20179 (__mpn_addmul_1): Don't use BP_SYM.
20180 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20181 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20183 (_setjmp): Don't use BP_SYM.
20184 (__novmx_setjmp): Likewise.
20185 (__GI__setjmp): Likewise.
20186 (__vmx_setjmp): Likewise.
20187 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20189 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20190 (__bzero): Don't use BP_SYM.
20191 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20192 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20193 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20194 <bp-sym.h> and <bp-asm.h>.
20195 (memcpy): Don't use BP_SYM.
20196 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20197 <bp-sym.h> and <bp-asm.h>.
20198 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20199 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20200 <bp-sym.h> and <bp-asm.h>.
20201 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20202 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20204 (__mpn_lshift): Don't use BP_SYM.
20205 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20206 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20208 (memset): Don't use BP_SYM.
20209 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20210 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20211 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20213 (__mpn_mul_1): Don't use BP_SYM.
20214 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20215 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20216 <bp-sym.h> and <bp-asm.h>.
20217 (memcmp): Don't use BP_SYM.
20218 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20219 <bp-sym.h> and <bp-asm.h>.
20220 (memcpy): Don't use BP_SYM.
20221 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20222 <bp-sym.h> and <bp-asm.h>.
20223 (memset): Don't use BP_SYM.
20224 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20225 <bp-sym.h> and <bp-asm.h>.
20226 (strncmp): Don't use BP_SYM.
20227 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20228 <bp-sym.h> and <bp-asm.h>.
20229 (memcpy): Don't use BP_SYM.
20230 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20231 <bp-sym.h> and <bp-asm.h>.
20232 (memset): Don't use BP_SYM.
20233 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20234 <bp-sym.h> and <bp-asm.h>.
20235 (__memchr): Don't use BP_SYM.
20236 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20237 <bp-sym.h> and <bp-asm.h>.
20238 (memcmp): Don't use BP_SYM.
20239 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20240 <bp-sym.h> and <bp-asm.h>.
20241 (memcpy): Don't use BP_SYM.
20242 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20243 <bp-sym.h> and <bp-asm.h>.
20244 (__mempcpy): Don't use BP_SYM.
20245 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20246 <bp-sym.h> and <bp-asm.h>.
20247 (__memrchr): Don't use BP_SYM.
20248 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20249 <bp-sym.h> and <bp-asm.h>.
20250 (memset): Don't use BP_SYM.
20251 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20252 <bp-sym.h> and <bp-asm.h>.
20253 (__rawmemchr): Don't use BP_SYM.
20254 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20255 <bp-sym.h> and <bp-asm.h>.
20256 (__STRCMP): Don't use BP_SYM.
20257 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20258 <bp-sym.h> and <bp-asm.h>.
20259 (strchr): Don't use BP_SYM.
20260 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20261 <bp-sym.h> and <bp-asm.h>.
20262 (__strchrnul): Don't use BP_SYM.
20263 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20264 <bp-sym.h> and <bp-asm.h>.
20265 (strlen): Don't use BP_SYM.
20266 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20267 <bp-sym.h> and <bp-asm.h>.
20268 (strncmp): Don't use BP_SYM.
20269 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20270 <bp-sym.h> and <bp-asm.h>.
20271 (__strnlen): Don't use BP_SYM.
20272 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20274 (__mpn_rshift): Don't use BP_SYM.
20275 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20276 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20277 <bp-sym.h> and <bp-asm.h>.
20278 (__sigsetjmp): Don't use BP_SYM.
20279 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20280 (L(start_addresses)): Don't use BP_SYM.
20281 (_start): Likewise.
20282 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20284 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20285 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20286 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20287 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20289 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20290 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20291 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20292 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20294 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20296 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20297 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20299 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
20301 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20302 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20303 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20305 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
20307 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20309 (strncmp): Don't use BP_SYM,
20310 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20312 (__mpn_sub_n): Don't use BP_SYM.
20313 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20314 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20316 (__mpn_submul_1): Don't use BP_SYM.
20317 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20319 <bp-sym.h> and <bp-asm.h>.
20320 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20322 <bp-sym.h> and <bp-asm.h>.
20323 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
20326 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20329 Use ZK to minimize writes to Z.
20330 (sub_magnitudes): Simplify code a bit.
20331 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20332 Use ZK to minimize writes to Z.
20333 (sub_magnitudes): Simplify code a bit.
20335 2013-02-27 Roland McGrath <roland@hack.frob.com>
20337 * csu/gmon-start.c: Add special exception to license text.
20339 2013-02-27 Richard Henderson <rth@redhat.com>
20341 * scripts/config.guess: Update from config.git.
20342 * scripts/config.sub: Likewise.
20344 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20346 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20348 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20350 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20352 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20354 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20356 2013-02-26 Roland McGrath <roland@hack.frob.com>
20358 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20359 [$(build-shared = yes].
20361 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20363 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20364 (__mul): Reduce iterations for calculating mantissa.
20366 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20368 (__mpranred): Likewise.
20371 * malloc/memusagestat.c (main): Draw graphs for heap and stack
20372 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20374 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
20376 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20377 Define __attribute__.
20379 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20381 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20383 * posix/regex_internal.h (__attribute): Remove.
20384 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20385 (re_string_context_at): Likewise.
20386 (bitset_not): Use __attribute__ and mark function as possibly
20388 (bitset_merge): Likewise.
20389 (bitset_mask): Likewise.
20390 (re_string_char_size_at): Likewise.
20391 (re_string_wchar_at): Likewise.
20392 (re_string_elem_size_at): Likewise.
20394 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20396 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20400 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20404 (denorm): Likewise.
20405 (__dbl_mp): Likewise.
20406 (add_magnitudes): Likewise.
20407 (sub_magnitudes): Likewise.
20411 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20414 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20417 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20421 up changes with default code.
20422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20425 2013-02-24 Allan McRae <allan@archlinux.org>
20427 * manual/socket.texi (The Internet Namespace): Order menu items
20428 to match that in the file.
20430 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20431 node listing of the info page menu.
20433 2013-02-21 Joseph Myers <joseph@codesourcery.com>
20436 * sysdeps/i386/bp-asm.h: Remove file.
20437 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20438 (PARMS): Do not use macros from bp-asm.h.
20442 (__mpn_add_n): Do not use BP_SYM
20443 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20445 (PARMS): Do not use macros from bp-asm.h.
20448 (__mpn_addmul_1): Do not use BP_SYM
20449 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20451 (PARMS): Do not use macros from bp-asm.h.
20452 (SIGMSK): Likewise.
20453 (_setjmp): Likewise. Do not use BP_SYM.
20454 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20456 (PARMS): Do not use macros from bp-asm.h.
20457 (SIGMSK): Likewise.
20458 (setjmp): Likewise. Do not use BP_SYM.
20459 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20461 (PARMS): Do not use macros from bp-asm.h.
20462 (__frexp): Do not use BP_SYM.
20464 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20466 (PARMS): Do not use macros from bp-asm.h.
20467 (__frexpf): Do not use BP_SYM.
20468 (frexpf): Likewise.
20469 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20471 (PARMS): Do not use macros from bp-asm.h.
20472 (__frexpl): Do not use BP_SYM.
20473 (frexpl): Likewise.
20474 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20476 (PARMS): Do not use macros from bp-asm.h.
20477 (__remquo): Do not use BP_SYM.
20478 (remquo): Likewise.
20479 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20481 (PARMS): Do not use macros from bp-asm.h.
20482 (__remquof): Do not use BP_SYM.
20483 (remquof): Likewise.
20484 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20486 (PARMS): Do not use macros from bp-asm.h.
20487 (__remquol): Do not use BP_SYM.
20488 (remquol): Likewise.
20489 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20491 (PARMS): Do not use macros from bp-asm.h.
20494 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
20495 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20497 (PARMS): Do not use macros from bp-asm.h.
20498 (strlen): Do not use BP_SYM.
20499 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20501 (PARMS): Do not use macros from bp-asm.h.
20505 (__mpn_add_n): Do not use BP_SYM.
20506 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20508 (PARMS): Do not use macros from bp-asm.h.
20511 (__mpn_addmul_1): Do not use BP_SYM.
20512 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20515 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20517 (PARMS): Do not use macros from bp-asm.h.
20520 (__mpn_lshift): Do not use BP_SYM.
20521 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20523 (PARMS): Do not use macros from bp-asm.h.
20527 (memcpy): Likewise. Do not use BP_SYM.
20528 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20529 libc_hidden_def and weak_alias.
20530 (mempcpy): Do not use BP_SYM in weak_alias.
20531 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20533 (PARMS): Do not use macros from bp-asm.h.
20536 [!BZERO_P] (CHR): Likewise.
20537 (memset): Likewise. Do not use BP_SYM.
20538 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20540 (PARMS): Do not use macros from bp-asm.h.
20543 (__mpn_mul_1): Do not use BP_SYM.
20544 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20546 (PARMS): Do not use macros from bp-asm.h.
20549 (__mpn_rshift): Do not use BP_SYM.
20550 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20552 (PARMS): Do not use macros from bp-asm.h.
20555 (strchr): Likewise. Do not use BP_SYM.
20556 (index): Do not use BP_SYM in weak_alias.
20557 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20559 (PARMS): Do not use macros from bp-asm.h.
20562 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20563 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20565 (PARMS): Do not use macros from bp-asm.h.
20566 (strlen): Do not use BP_SYM.
20567 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20569 (PARMS): Do not use macros from bp-asm.h.
20573 (__mpn_sub_n): Do not use BP_SYM.
20574 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20576 (PARMS): Do not use macros from bp-asm.h.
20579 (__mpn_submul_1): Do not use BP_SYM.
20580 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20582 (PARMS): Do not use macros from bp-asm.h.
20586 (__mpn_add_n): Do not use BP_SYM.
20587 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20590 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20592 (PARMS): Do not use macros from bp-asm.h.
20595 (memcmp): Do not use BP_SYM.
20596 (bcmp): Do not use BP_SYM in weak_alias.
20597 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20599 (PARMS): Do not use macros from bp-asm.h.
20603 (memcpy): Likewise. Do not use BP_SYM.
20604 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20606 (PARMS): Do not use macros from bp-asm.h.
20610 (memmove): Likewise. Do not use BP_SYM.
20611 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20613 (PARMS): Do not use macros from bp-asm.h.
20617 (__mempcpy): Likewise. Do not use BP_SYM.
20618 (mempcpy): Do not use BP_SYM in weak_alias.
20619 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20621 (PARMS): Do not use macros from bp-asm.h.
20624 [!BZERO_P] (CHR): Likewise.
20625 (memset): Likewise. Do not use BP_SYM.
20626 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20628 (PARMS): Do not use macros from bp-asm.h.
20630 (strcmp): Do not use BP_SYM.
20631 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20633 (PARMS): Do not use macros from bp-asm.h.
20636 [USE_AS_STRTOK_R] (SAVE): Likewise.
20637 (FUNCTION): Likewise. Do not use BP_SYM.
20638 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20640 (strtok_r): Likewise.
20641 (__GI___strtok_r): Likewise.
20642 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20643 (PARMS): Do not use macros from bp-asm.h.
20646 (__mpn_lshift): Do not use BP_SYM.
20647 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20648 (PARMS): Do not use macros from bp-asm.h.
20651 (__memchr): Do not use BP_SYM.
20652 (memchr): Do not use BP_SYM in weak_alias.
20653 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20654 (PARMS): Do not use macros from bp-asm.h.
20657 (memcmp): Do not use BP_SYM.
20658 (bcmp): Do not use BP_SYM in weak_alias.
20659 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20660 (PARMS): Do not use macros from bp-asm.h.
20663 (__mpn_mul_1): Do not use BP_SYM.
20664 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20666 (PARMS): Do not use macros from bp-asm.h.
20669 (__rawmemchr): Do not use BP_SYM.
20670 (rawmemchr): Do not use BP_SYM in weak_alias.
20671 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20672 (PARMS): Do not use macros from bp-asm.h.
20675 (__mpn_rshift): Do not use BP_SYM.
20676 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20677 (PARMS): Do not use macros from bp-asm.h.
20678 (SIGMSK): Likewise.
20679 (__sigsetjmp): Likewise. Do not use BP_SYM.
20680 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20681 (_start): Do not use BP_SYM.
20682 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20683 (PARMS): Do not use macros from bp-asm.h.
20686 (__stpcpy): Likewise. Do not use BP_SYM.
20687 (stpcpy): Do not use BP_SYM in weak_alias.
20688 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20690 (PARMS): Do not use macros from bp-asm.h.
20694 (__stpncpy): Likewise. Do not use BP_SYM.
20695 (stpncpy): Do not use BP_SYM in weak_alias.
20696 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20697 (PARMS): Do not use macros from bp-asm.h.
20700 (strchr): Likewise. Do not use BP_SYM.
20701 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20703 (PARMS): Do not use macros from bp-asm.h.
20706 (__strchrnul): Likewise. Do not use BP_SYM.
20707 (strchrnul): Do not use BP_SYM in weak_alias.
20708 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20710 (PARMS): Do not use macros from bp-asm.h.
20712 (strcspn): Do not use BP_SYM.
20713 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20715 (PARMS): Do not use macros from bp-asm.h.
20718 (strpbrk): Likewise. Do not use BP_SYM.
20719 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20721 (PARMS): Do not use macros from bp-asm.h.
20724 (strrchr): Likewise. Do not use BP_SYM.
20725 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20726 (PARMS): Do not use macros from bp-asm.h.
20728 (strspn): Do not use BP_SYM.
20729 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20730 (PARMS): Do not use macros from bp-asm.h.
20734 (FUNCTION): Likewise. Do not use BP_SYM.
20735 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20737 (strtok_r): Likewise.
20738 (__GI___strtok_r): Likewise.
20739 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20740 (PARMS): Do not use macros from bp-asm.h.
20744 (__mpn_sub_n): Do not use BP_SYM.
20745 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20747 (PARMS): Do not use macros from bp-asm.h.
20750 (__mpn_submul_1): Do not use BP_SYM.
20751 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20753 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20755 (PARMS): Do not use macros from bp-asm.h.
20760 (__clone): Do not use BP_SYM.
20761 (clone): Do not use BP_SYM in weak_alias.
20762 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20764 (PARMS): Do not use macros from bp-asm.h.
20766 (__mmap64): Do not use BP_SYM.
20767 (mmap64): Do not use BP_SYM in weak_alias.
20768 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20769 <bp-sym.h> and <bp-asm.h>.
20770 (PARMS): Do not use macros from bp-asm.h.
20771 (__posix_fadvise64_l64): Do not use BP_SYM.
20772 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20773 (PARMS): Do not use macros from bp-asm.h.
20775 (semtimedop): Do not use BP_SYM.
20776 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20779 2013-02-21 Allan McRae <allan@archlinux.org>
20781 * manual/message.texi (Charset conversion in gettext):
20782 Move @end statement to beginning of line.
20784 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20791 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20792 (denorm): Likewise.
20793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20796 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20798 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20799 tail-call to the resolved function if pltexit isn't needed.
20801 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20804 or Y being zero as being unlikely.
20805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20808 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20810 * manual/nss.texi (System Databases and Name Service Switch):
20811 Remove frobnicate @pxref.
20813 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20815 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20816 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20818 2013-02-20 Petr Machata <pmachata@redhat.com>
20820 * elf/elf.h (R_ARM_TARGET1): New macro.
20821 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20822 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20823 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20824 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20825 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20826 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20827 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20828 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20829 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20830 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20831 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20832 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20833 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20834 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20835 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20836 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20837 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20838 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20839 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20840 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20841 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20842 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20843 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20844 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20845 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20846 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20847 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20848 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20849 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20850 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20851 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20852 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20853 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20854 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20855 (R_ARM_THM_GOT_BREL12): Likewise.
20856 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20857 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20858 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20859 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20860 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20861 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20862 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20863 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20864 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20866 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20868 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20869 __attribute_used__ to __attribute__ ((unused)).
20871 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20873 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20876 comment formatting.
20877 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20879 2013-02-19 Joseph Myers <joseph@codesourcery.com>
20882 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20884 (ENTER): Remove both macro definitions.
20886 (CHECK_BOUNDS_LOW): Likewise.
20887 (CHECK_BOUNDS_HIGH): Likewise.
20888 (CHECK_BOUNDS_BOTH): Likewise.
20889 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20890 (RETURN_BOUNDED_POINTER): Likewise.
20891 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20892 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20893 (POP_ERRNO_LOCATION_RETURN): Likewise.
20894 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20895 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20896 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20898 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20899 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20900 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20901 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20902 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20903 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20904 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20905 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20906 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20907 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20908 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20909 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20910 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20911 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20913 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20914 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20916 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20917 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20918 * sysdeps/i386/i586/memset.S (memset): Likewise.
20919 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20920 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20921 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20923 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20924 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20925 Change uses of L(2) to L(out).
20926 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20927 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20928 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20929 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20930 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20932 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20933 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20935 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20936 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20937 (RETURN): Do not use macro LEAVE.
20938 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20939 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20940 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20941 * sysdeps/i386/i686/memset.S (memset): Likewise.
20942 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20943 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20944 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20945 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20947 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20948 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20949 L(1_2) and L(1_3) into L(1).
20950 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20951 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20952 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20953 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20954 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20955 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20956 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20957 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20958 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20960 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20961 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20962 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20963 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20964 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20965 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20966 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20967 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20968 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20969 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20970 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20971 * sysdeps/i386/strspn.S (strspn): Likewise.
20972 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20974 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20975 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20976 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20977 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20978 L(1_3) into L(1_1).
20979 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20980 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20981 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20983 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20985 2013-02-19 Jakub Jelinek <jakub@redhat.com>
20987 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20990 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20992 * math/atest-exp.c (exp_mpn): Remove ROUND.
20993 * math/atest-exp2.c (exp_mpn): Likewise.
20994 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20996 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20997 * stdlib/tst-tls-atexit-lib.c: Likewise.
20998 * stdlib/tst-tls-atexit.c: Likewise.
21000 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21002 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21003 and __attribute_alloc_size__.
21005 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21007 * include/programs/xmalloc.h: Change __attribute_alloc_size to
21008 __attribute_alloc_size__.
21009 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21010 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21012 2013-02-18 Mike Frysinger <vapier@gentoo.org>
21014 * include/programs/xmalloc.h: New file.
21015 * catgets/gencat.c: Include it.
21016 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21017 * elf/pldd.c: Likewise.
21018 * iconv/iconv_charmap.c: Likewise.
21019 * iconv/iconvconfig.c: Likewise.
21020 * iconv/strtab.c: Likewise.
21021 * locale/programs/locale.c: Likewise.
21022 * locale/programs/localedef.h: Likewise.
21023 * locale/programs/simple-hash.c: Likewise.
21024 * nscd/nscd.h: Likewise.
21025 * nss/makedb.c: Likewise.
21026 * sysdeps/generic/ldconfig.h: Likewise.
21028 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21030 * Versions.def: Add GLIBC_2.18.
21031 * include/link.h (struct link_map): New member l_tls_dtor_count.
21032 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21033 (__call_tls_dtors): Likewise.
21034 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21035 __cxa_thread_atexit_impl.
21036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21044 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21049 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21050 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21052 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21053 (tests): Add test case tst-tls-atexit.
21054 (modules-names): Add shared library for tst-tls-atexit.
21055 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21056 (GLIBC_PRIVATE): Add __call_tls_dtors.
21057 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21059 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21060 * stdlib/tst-tls-atexit.c: New test case.
21061 * stdlib/tst-tls-atexit-lib.c: New test case.
21063 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21065 * elf/Versions (ld): Add _dl_find_dso_for_object.
21066 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21067 * elf/dl-open.c (_dl_find_dso_for_object): New function.
21068 (dl_open_worker): Use _dl_find_dso_for_object.
21069 * elf/dl-sym.c (do_sym): Likewise.
21070 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21072 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21074 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21075 Syntactic changes only.
21076 (_dl_runtime_profile): Do a tail-call to the resolved function.
21078 2013-02-17 Joseph Myers <joseph@codesourcery.com>
21081 * sysdeps/x86_64/bp-asm.h: Remove file.
21082 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21083 <bp-sym.h> and <bp-asm.h>.
21084 (__clone): Do not use BP_SYM.
21085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21086 <bp-sym.h> and <bp-asm.h>.
21087 * sysdeps/unix/x86_64/sysdep.S: Likewise.
21088 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21090 (_setjmp): Do not use BP_SYM.
21091 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21093 (setjmp): Do not use BP_SYM.
21094 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21096 (mempcpy): Do not use BP_SYM in weak_alias.
21097 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21099 (strchr): Do not use BP_SYM.
21100 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21102 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21103 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21104 (_start): Do not use BP_SYM.
21105 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21107 (strcat): Do not use BP_SYM.
21108 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21110 (STRCMP): Do not use BP_SYM.
21111 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21113 (STRCPY): Do not use BP_SYM.
21114 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21116 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21118 (FUNCTION): Do not use BP_SYM.
21119 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21121 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21123 2013-02-17 Andreas Jaeger <aj@suse.de>
21125 * time/Versions: Sort entries.
21126 * string/Versions: Likewise.
21127 * resolv/Versions: Likewise.
21128 * posix/Versions: Likewise.
21129 * iconv/Versions: Likewise.
21130 * elf/Versions: Likewise.
21131 * wcsmbs/Versions: Likewise.
21133 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21135 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21136 loop termination condition.
21138 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21139 variable to calculate EZ.
21142 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21143 the lower precision input.
21145 2013-02-15 Joseph Myers <joseph@codesourcery.com>
21148 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21149 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21150 (run-via-rtld-prefix): Do not handle %-bp tests.
21151 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21152 (all-object-suffixes): Remove .ob.
21153 (bppfx): Remove variable.
21154 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21155 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21156 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21157 [$(build-bounded) = yes] (libtype.ob): Likewise.
21158 * Makerules (elide-routines.ob): Remove variable.
21159 (do-tests-clean): Do not handle *-bp.out.
21160 (common-mostlyclean): Do not handle *-bp and *-bp.out.
21161 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21162 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21163 (tests): Do not include $(tests-bp.out).
21164 (xtests): Do not include $(xtests-bp.out).
21165 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21166 [$(build-bounded) = yes] ($(addprefix
21167 $(objpfx),$(binaries-bounded))): Remove rule.
21168 ($(objpfx)%-bp.out): Remove rule.
21169 * config.make.in (build-bounded): Remove variable.
21170 * crypt/Makefile [$(build-bounded) = yes]
21171 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21172 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21173 append to variable.
21174 [$(build-bounded) = yes] (install-lib): Likewise.
21175 [$(build-bounded) = yes] (generated): Likewise.
21176 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21178 * intl/Makefile [$(build-bounded) = yes]
21179 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21180 * math/Makefile [$(build-bounded) = yes]
21181 ($(tests:%=$(objpfx)%-bp): Likewise.
21182 * misc/Makefile [$(build-bounded) = yes]
21183 ($(objpfx)tst-tsearch-bp): Likewise.
21184 * nptl/Makeconfig (bounded-thread-library): Remove variable.
21185 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21187 * string/Makefile (o-objects.ob): Remove variable.
21188 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21189 (CFLAGS-.ob): Remove variable.
21190 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21191 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21192 both definitions of variable.
21193 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21194 (ASFLAGS-.ob): Remove variable.
21196 2013-02-14 Joseph Myers <joseph@codesourcery.com>
21199 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21200 Remove __BOUNDED_POINTERS__ from condition.
21201 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21202 * string/bits/string2.h [!__NO_STRING_INLINES &&
21203 !__BOUNDED_POINTERS__]: Likewise.
21204 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21206 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21207 Remove conditional code.
21208 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21209 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21210 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21214 * csu/libc-start.c: Do not include <bp-sym.h>.
21215 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21216 * elf/dl-open.c: Do not include <bp-sym.h>.
21217 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21218 * math/fegetenv.c: Do not include <bp-sym.h>.
21219 (fegetenv): Do not use BP_SYM in versioned symbols.
21220 * nptl/sysdeps/pthread/bits/libc-lockP.h
21221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21224 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21226 (__pthread_mutex_destroy): Likewise.
21227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21228 (__pthread_mutex_lock): Likewise.
21229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21230 (__pthread_mutex_trylock): Likewise.
21231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21232 (__pthread_mutex_unlock): Likewise.
21233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21234 (__pthread_mutexattr_init): Likewise.
21235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21236 (__pthread_mutexattr_destroy): Likewise.
21237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21238 (__pthread_mutexattr_settype): Likewise.
21239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21240 (__pthread_rwlock_init): Likewise.
21241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21242 (__pthread_rwlock_destroy): Likewise.
21243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21244 (__pthread_rwlock_rdlock): Likewise.
21245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21246 (__pthread_rwlock_tryrdlock): Likewise.
21247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21248 (__pthread_rwlock_wrlock): Likewise.
21249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21250 (__pthread_rwlock_trywrlock): Likewise.
21251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21252 (__pthread_rwlock_unlock): Likewise.
21253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21254 (__pthread_key_create): Likewise.
21255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21256 (__pthread_setspecific): Likewise.
21257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21258 (__pthread_getspecific): Likewise.
21259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21262 (_pthread_cleanup_push_defer): Likewise.
21263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21264 (_pthread_cleanup_pop_restore): Likewise.
21265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21266 (pthread_setcancelstate): Likewise.
21267 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21269 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21270 (memchr): Do not use BP_SYM in weak_alias.
21271 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21272 (fegetenv): Do not use BP_SYM in versioned symbols.
21273 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21274 (fesetenv): Do not use BP_SYM in versioned symbols.
21275 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21276 (feupdateenv): Do not use BP_SYM in versioned symbols.
21277 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21278 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21279 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21280 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21281 (open64): Do not use BP_SYM in weak_alias.
21282 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21283 (fegetenv): Do not use BP_SYM in versioned symbols.
21284 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21285 (fesetenv): Do not use BP_SYM in versioned symbols.
21286 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21287 (feupdateenv): Do not use BP_SYM in versioned symbols.
21288 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21289 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21290 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21291 (feraiseexcept): Do not use BP_SYM in versioned symbols.
21292 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21293 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21294 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21296 (__libc_start_main): Do not use BP_SYM.
21298 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21300 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21301 redundant return line.
21303 (denorm): Likewise.
21304 (dbl_mp): Likewise.
21305 (sub_magnitudes): Likewise.
21311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21313 (denorm): Likewise.
21314 (dbl_mp): Likewise.
21315 (sub_magnitudes): Likewise.
21322 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21324 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21325 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21328 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21329 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21330 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21331 of __mul for squares.
21332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21336 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21337 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21339 2013-02-13 Joseph Myers <joseph@codesourcery.com>
21342 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21344 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21345 prototype or function definition. Rename ubp_* variables and
21346 parameters. Remove argv definitions conditional on
21347 [__BOUNDED_POINTERS__].
21348 * debug/backtrace.c (__backtrace): Do not use __unbounded.
21349 * elf/dl-runtime.c (_dl_fixup): Likewise.
21350 * include/set-hooks.h (RUN_HOOK): Likewise.
21351 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21353 * string/strcpy.c (strcpy): Do not use __unbounded.
21354 * sysdeps/generic/frame.h (struct layout): Likewise.
21355 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21356 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21357 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21358 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21359 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21360 (__backtrace): Likewise.
21361 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21363 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21364 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21365 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21367 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21368 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21369 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21370 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21371 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21372 Do not use __unbounded.
21373 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21374 Rename __unboundedrlimits parameter to rlimits in prototype.
21375 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21376 Do not use __unbounded.
21377 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21378 not use __ptrvalue.
21379 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21380 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21381 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21382 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21383 __ptrvalue or __unbounded.
21384 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21385 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21387 (__new_msgctl): Do not use __ptrvalue.
21388 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21390 (__libc_msgrcv): Do not use __ptrvalue.
21391 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21392 startup_info): Do not use __unbounded.
21393 (__libc_start_main): Likewise. Rename ubp_* variables and
21394 parameters. Remove argv definitions conditional on
21395 [__BOUNDED_POINTERS__].
21396 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21398 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21400 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21402 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21404 (__new_shmctl): Do not use __ptrvalue.
21405 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21406 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21408 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21409 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21410 (__libc_sigaction): Likewise.
21411 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21412 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21414 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21416 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
21418 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21420 * string/mempcpy.c: Implement by calling memcpy.
21422 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21424 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21426 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21429 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21430 values in the mantissa.
21432 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21433 minimize writes to Z.
21434 (sub_magnitudes): Simplify code a bit.
21436 2013-02-12 Roland McGrath <roland@hack.frob.com>
21438 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21439 from the message. The linker prefixes all warnings with that already.
21441 2013-02-12 Andreas Schwab <schwab@suse.de>
21444 * posix/regexec.c (extend_buffers): Add parameter min_len.
21445 (check_matching): Pass minimum needed length.
21446 (clean_state_log_if_needed): Likewise.
21447 (get_subexp): Likewise.
21448 * posix/Makefile (tests): Add bug-regex34.
21449 (bug-regex34-ENV): Define.
21450 * posix/bug-regex34.c: New file.
21453 * posix/regcomp.c (parse_bracket_exp): When looking up collating
21454 elements compare against the byte sequence of it, not its name.
21455 * posix/Makefile (tests): Add bug-regex35.
21456 (bug-regex35-ENV): Define.
21457 * posix/bug-regex35.c: New file.
21459 2013-02-11 Tom de Vries <tom@codesourcery.com>
21461 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
21463 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21464 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21465 (CHECK_EOL): Add undef.
21467 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
21469 * bits/stdlib-bsearch.h: New file.
21470 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21471 * stdlib/stdlib.h: Likewise.
21473 2013-02-11 Roland McGrath <roland@hack.frob.com>
21475 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21476 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21478 * manual/search.texi (Array Search Function): Add missing const in
21480 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21481 declaration to use rlim_t.
21482 (Basic Scheduling Functions): Remove erroneous const from
21483 sched_getparam prototype. Remove erroneous * from
21484 sched_get_priority_max and sched_get_priority_min prototypes.
21485 (Resource Usage): Fix summary @comment on vtimes to refer to
21486 sys/vtimes.h rather than vtimes.h.
21487 Add missing *s in vtimes prototype.
21488 (Limits on Resources): Fix ulimit prototype to return long int.
21489 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21490 prototypes to use long int rather than double.
21491 (BSD Random): Fix initstate and setstate to use char *, not void *.
21492 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21493 prototype to make second argument 'struct aiocb64 *const[]'.
21494 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21495 (Status of AIO Operations): Remove erroneous const in aio_return and
21496 aio_return64 prototypes.
21497 (Synchronizing I/O): Fix sync prototype to return void.
21498 * manual/startup.texi (Suboptions): Remove an erroneous const in
21499 getsubopt prototype.
21500 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21501 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21502 use size_t rather than int.
21503 (Scanning All Users): Likewise for getpwent_r.
21504 (Setting Groups): Add missing const to setgroups prototype.
21505 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21506 * manual/socket.texi (Host Names): Fix gethostbyaddr and
21507 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21508 'const void *' rather than 'const char *'.
21509 (Host Address Functions): Likewise for inet_ntop.
21510 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21511 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21512 ssize_t for return value.
21513 (Sending Data): Likewise for send, sendto, sendmsg.
21514 (Socket Option Functions): Add a missing const in setsockopt prototype.
21515 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21516 use wchar_t for the argument.
21517 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21518 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21520 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21521 double/float/long double for second argument.
21522 Fix return types of significand, significandf, significandl.
21523 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21524 argument in fchmod prototype.
21525 (File Owner): Use uid_t and gid_t in fchown prototype.
21526 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21527 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21528 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21529 use 'const struct dirent **' as argument types to CMP function pointer
21531 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21532 (File Times): Fix summary magic @comment for struct utimbuf and utime
21533 to refer to utime.h, not time.h.
21534 * manual/string.texi (Argz Functions): Add missing const in
21535 argz_extract and argz_next prototypes.
21536 (Finding Tokens in a String): Likewise for basename.
21537 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21538 (Copying and Concatenation): Fix typo in wmemmove prototype.
21539 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21540 (Signal Stack): Remove erroneous const in sigstack prototype.
21541 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21543 (Simple Calendar Time): Likewise for stime.
21544 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21546 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21547 say sys/sysctl.h instead.
21548 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21549 and vsyslog prototypes.
21551 2013-02-11 Tom de Vries <tom@codesourcery.com>
21553 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21556 2013-02-11 Roland McGrath <roland@hack.frob.com>
21558 * misc/sys/mman.h: Fix typo in mremap comment.
21560 2013-02-08 Roland McGrath <roland@hack.frob.com>
21562 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21563 the '\0' terminator.
21565 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21568 * debug/segfault.c: Don't include <bp-checks.h>.
21569 * sysdeps/generic/bp-checks.h: Remove file.
21570 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21571 (__GETDENTS): Don't use CHECK_N.
21572 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21573 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21574 (__getgroups): Don't use CHECK_N.
21575 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21576 (setgroups): Don't use CHECK_N.
21577 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21578 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21579 (__libc_msgrcv): Don't use CHECK_N.
21580 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21581 (__libc_msgsnd): Don't use CHECK_N.
21582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21584 (__libc_pread): Don't use CHECK_N.
21585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21586 include <bp-checks.h>.
21587 (__libc_pread64): Don't use CHECK_N.
21588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21589 include <bp-checks.h>.
21590 (__libc_pwrite): Don't use CHECK_N.
21591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21592 include <bp-checks.h>.
21593 (__libc_pwrite64): Don't use CHECK_N.
21594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21596 (__libc_pread): Don't use CHECK_N.
21597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21598 include <bp-checks.h>.
21599 (__libc_pread64): Don't use CHECK_N.
21600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21601 include <bp-checks.h>.
21602 (__libc_pwrite): Don't use CHECK_N.
21603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21604 include <bp-checks.h>.
21605 (__libc_pwrite64): Don't use CHECK_N.
21606 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21607 (do_pread): Don't use CHECK_N.
21608 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21609 (do_pread64): Don't use CHECK_N.
21610 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21611 (do_pwrite): Don't use CHECK_N.
21612 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21613 (do_pwrite64): Don't use CHECK_N.
21614 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21615 (__libc_readv): Don't use CHECK_N.
21616 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21617 (semop): Don't use CHECK_N.
21618 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21620 (semtimedop): Don't use CHECK_N.
21621 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21622 (__libc_pread): Don't use CHECK_N.
21623 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21625 (__libc_pread64): Don't use CHECK_N.
21626 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21628 (__libc_pwrite): Don't use CHECK_N.
21629 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21631 (__libc_pwrite64): Don't use CHECK_N.
21632 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21634 (__libc_msgrcv): Don't use CHECK_N.
21635 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21636 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21637 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21638 (__libc_writev): Don't use CHECK_N.
21640 2013-02-08 Roland McGrath <roland@hack.frob.com>
21642 * string/strcpy.c: Removed unused variable.
21644 * Makeconfig (+sysdep-includes): Define with := rather than =.
21645 Use an existing include/ subdir of each sysdeps dir before it.
21647 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21649 * nscd/connection.c (register_traced_file): Comment function.
21650 [HAVE_INOTIFY] (union __inev): Define.
21651 [HAVE_INOTIFY] (inotify_check_files): New function.
21652 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21653 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21655 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21657 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21659 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21660 loaded if not already and that a failure is permanent.
21662 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21665 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21666 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21668 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21671 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21672 (CHECK_1_NULL_OK): Likewise.
21673 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21674 (__fxstat): Do not use CHECK_1.
21675 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21677 (___fxstat64): Do not use CHECK_1.
21678 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21680 (__fxstatat): Do not use CHECK_1.
21681 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21683 (__fxstatat64): Do not use CHECK_1.
21684 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21686 (__fxstat): Do not use CHECK_1.
21687 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21689 (__fxstatat): Do not use CHECK_1.
21690 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21692 (__getresgid): Do not use CHECK_1.
21693 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21695 (__getresuid): Do not use CHECK_1.
21696 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21698 (__lxstat): Do not use CHECK_1.
21699 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21701 (__old_msgctl): Do not use CHECK_1.
21702 (__new_msgctl): Likewise.
21703 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21705 (__new_setrlimit): Do not use CHECK_1.
21706 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21708 (__old_shmctl): Do not use CHECK_1.
21709 (__new_shmctl): Likewise.
21710 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21712 (__xstat): Do not use CHECK_1.
21713 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21714 (__lxstat): Do not use CHECK_1.
21715 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21717 (___lxstat64): Do not use CHECK_1.
21718 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21719 (__old_msgctl): Do not use CHECK_1.
21720 (__new_msgctl): Likewise.
21721 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21723 (__gettimeofday): Do not use CHECK_1.
21724 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21725 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21726 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21728 (__gettimeofday): Do not use CHECK_1.
21729 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21730 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21731 (__new_shmctl): Do not use CHECK_1.
21732 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21734 (do_sigtimedwait): Do not use CHECK_1.
21735 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21737 (do_sigwaitinfo): Do not use CHECK_1.
21738 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21740 (msgctl): Do not use CHECK_1.
21741 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21743 (shmctl): Do not use CHECK_1.
21744 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21745 (ustat): Do not use CHECK_1.
21746 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21748 (__fxstat): Do not use CHECK_1.
21749 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21751 (__fxstatat): Do not use CHECK_1.
21752 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21754 (__lxstat): Do not use CHECK_1.
21755 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21757 (__xstat): Do not use CHECK_1.
21758 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21759 (__xstat): Do not use CHECK_1.
21760 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21761 (___xstat64): Do not use CHECK_1.
21764 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21766 (CHECK_BOUNDS_HIGH): Likewise.
21767 * string/strcpy.c: Do not include <bp-checks.h>.
21768 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21770 2013-02-07 Roland McGrath <roland@hack.frob.com>
21772 * nscd/nscd-client.h (__nscd_drop_map_ref):
21773 Add __attribute__ ((unused)).
21774 * nis/nss-nisplus.h (niserr2nss): Likewise.
21776 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21777 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21779 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21780 Remove inline keyword.
21781 * include/rounding-mode.h (round_away): Likewise.
21782 * libio/wfileops.c (adjust_wide_data): Likewise.
21783 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21784 (__m128i_strloadu_tolower): Likewise.
21785 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21786 (__m128i_strloadu_tolower): Likewise.
21787 * time/mktime.c (ydhms_diff): Likewise.
21788 * locale/elem-hash.h (elem_hash): Likewise.
21789 * locale/setlocale.c (setdata): Likewise.
21790 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21791 (re_string_wchar_at): Likewise.
21792 (bitset_not, bitset_merge, bitset_mask): Likewise.
21793 [!(__GNUC__ > 3)] (inline): Remove macro.
21794 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21795 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21796 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21797 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21798 * string/memcmp.c (memcmp_bytes): Likewise.
21799 * locale/programs/locarchive.c (compute_hashval): Likewise.
21800 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21801 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21802 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21803 * nss/getent.c (print_rpc, print_protocols): Likewise.
21804 (print_passwd, print_group, print_aliases): Likewise.
21805 * nis/nss-nisplus.h (niserr2nss): Likewise.
21806 * nscd/connections.c (restart_p): Likewise.
21807 Change return type to bool.
21809 2013-02-05 Roland McGrath <roland@hack.frob.com>
21811 * Makeconfig (all-Depend-files): Add existing
21812 $(sorted-subdirs:=/Depend) files.
21813 (all-subdirs): Remove nss.
21814 * sysdeps/unix/inet/Subdirs: Add it here instead.
21815 * hesiod/Depend: New file.
21817 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21818 instead of calling alloca.
21820 * io/lseek.c (__lseek): Rename to __libc_lseek.
21821 Define __lseek as an alias.
21823 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21825 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21827 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21828 else clause and remove check for non-standard endianness.
21830 2013-02-04 David S. Miller <davem@davemloft.net>
21832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21834 2013-02-04 Joseph Myers <joseph@codesourcery.com>
21837 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21838 (__ubp_memchr): Remove prototype.
21839 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21840 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21841 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21842 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21843 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21845 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21846 (__ubp_memchr): Likewise.
21847 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21848 (__ubp_memchr): Likewise.
21849 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21850 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21851 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21852 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21854 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21855 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21856 (__getcwd): Do not use CHECK_STRING.
21857 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21859 (__real_chown): Do not use CHECK_STRING.
21860 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21862 (fchownat): Do not use CHECK_STRING.
21863 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21865 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21867 (__lchown): Do not use CHECK_STRING.
21868 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21869 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21870 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21871 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21873 include <bp-checks.h>.
21874 (truncate64): Do not use CHECK_STRING.
21875 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21877 (__real_chown): Do not use CHECK_STRING.
21878 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21880 (__lchown): Do not use CHECK_STRING.
21881 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21883 (__chown): Do not use CHECK_STRING.
21884 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21886 (truncate64): Do not use CHECK_STRING.
21887 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21889 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21890 (__xmknod): Do not use CHECK_STRING.
21891 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21893 (__xmknodat): Do not use CHECK_STRING.
21894 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21895 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21897 2013-02-04 Andreas Schwab <schwab@suse.de>
21900 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21901 * include/netdb.h: Likewise for h_errno.
21902 * elf/tst-stackguard1.c: Include <tls.h>.
21904 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21906 * elf/link.h (struct link_map): Extend the l_addr comment.
21907 * include/link.h (struct link_map): Likewise.
21909 2013-02-01 Joseph Myers <joseph@codesourcery.com>
21912 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21913 (BOUNDED_1): Remove macro.
21914 * debug/backtrace.c: Don't include <bp-checks.h>.
21915 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21916 (__backtrace): Likewise.
21917 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21919 (__backtrace): Don't use BOUNDED_1.
21920 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21922 (__backtrace): Don't use BOUNDED_1.
21923 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21924 (__backtrace): Don't use BOUNDED_1.
21925 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21926 (shmat): Don't use BOUNDED_N.
21928 2013-01-31 Joseph Myers <joseph@codesourcery.com>
21931 * sysdeps/generic/bp-start.h: Remove file.
21932 * csu/libc-start.c: Don't include <bp-start.h>.
21933 (LIBC_START_MAIN): Set up __environ directly instead of using
21934 INIT_ARGV_and_ENVIRON.
21935 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21939 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21941 (CHECK_FCNTL): Likewise.
21942 (CHECK_N_PAGES): Likewise.
21945 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21947 (CHECK_SIGSET_NULL_OK): Likewise.
21948 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21950 (sigpending): Don't use CHECK_SIGSET.
21951 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21953 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21954 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21956 (do_sigsuspend): Don't use CHECK_SIGSET.
21957 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21959 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21960 (do_sigwait): Don't use CHECK_SIGSET.
21961 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21963 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21964 include <bp-checks.h>.
21965 (sigpending): Don't use CHECK_SIGSET.
21966 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21967 include <bp-checks.h>.
21968 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21969 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21971 (sigpending): Don't use CHECK_SIGSET.
21972 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21974 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21977 * sysdeps/generic/bp-semctl.h: Remove file.
21978 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21979 <bp-checks.h> and <bp-semctl.h>.
21980 (__old_semctl): Don't use CHECK_SEMCTL.
21981 (__new_semctl): Likewise.
21982 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21984 (__old_semctl): Don't use CHECK_SEMCTL.
21985 (__new_semctl): Likewise.
21986 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21987 <bp-checks.h> and <bp-semctl.h>.
21988 (__old_semctl): Don't use CHECK_SEMCTL.
21989 (__new_semctl): Likewise.
21990 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21991 <bp-checks.h> and <bp-semctl.h>.
21992 (semctl): Don't use CHECK_SEMCTL.
21995 * Makerules (elide-bp-thunks): Remove variable.
21996 (elide-routines.oS): Don't use $(elide-bp-thunks).
21997 (elide-routines.os): Likewise.
21998 (elide-routines.o): Likewise.
21999 (elide-routines.op): Likewise.
22000 (elide-routines.og): Likewise.
22001 (objects): Don't use $(bp-thunks).
22002 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22004 (common-generated): Do not add s-proto-bp.d.
22005 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22008 Do not generate makefile rules for bounded-pointer thunks.
22009 * sysdeps/generic/bp-thunks.h: Remove file.
22010 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22011 * sysdeps/unix/s-proto-bp.S: Likewise.
22014 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22015 parts of result separately when argument is not close to line from
22016 -i to i and one part of argument is small.
22017 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22018 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22019 * math/libm-test.inc (cacos_test): Add more tests.
22020 (casin_test): Likewise.
22021 (casinh_test): Likewise.
22022 * sysdeps/i386/fpu/libm-test-ulps: Update.
22023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22025 2013-01-31 David S. Miller <davem@davemloft.net>
22027 * po/de.po: Update from translation team.
22029 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
22031 * time/tzfile.c: Include stdint.h for SIZE_MAX.
22033 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
22035 * configure.in (_AC_PROG_CC_C89): New definition.
22036 * configure: Regenerate.
22038 * configure.in (AC_PROG_CPP): New definition.
22039 * configure: Regenerate.
22041 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22043 * debug/tst-backtrace.h: New file.
22044 * debug/tst-backtrace2.c: Include tst-backtrace.h.
22045 (ret): Remove variable.
22047 (FAIL): Remove macro.
22048 (NO_INLINE): Likewise.
22049 (fn1): Use match function instead of strstr.
22050 * debug/tst-backtrace3.c: Include tst-backtrace.h.
22051 (ret): Remove variable.
22053 (FAIL): Remove macro.
22054 (NO_INLINE): Likewise.
22055 (fn): Use match function instead of strstr.
22056 * debug/tst-backtrace4.c: Include tst-backtrace.h.
22057 (ret): Remove variable.
22059 (FAIL): Remove macro.
22060 (NO_INLINE): Likewise.
22061 (handle_signal): Use match function instead of strstr.
22062 * debug/tst-backtrace5.c: Include tst-backtrace.h.
22063 (ret): Remove variable.
22065 (FAIL): Remove macro.
22066 (NO_INLINE): Likewise.
22067 (handle_signal): Use match function instead of strstr.
22069 2013-01-23 Roland McGrath <roland@hack.frob.com>
22071 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22073 2013-01-23 David S. Miller <davem@davemloft.net>
22075 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22076 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22077 argument of CAS if possible.
22078 * sysdeps/sparc/sparc64/bits/atomic.h
22079 (__arch_compare_and_exchange_val_32_acq): Likewise.
22080 (__arch_compare_and_exchange_val_64_acq): Likewise.
22082 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
22084 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22085 * sysdeps/posix/ulimit.c: ... this.
22086 Include <limits.h>.
22087 * sysdeps/unix/bsd/ulimit.c: Remove file.
22089 2013-01-23 Adam Conrad <adconrad@0c3.net>
22091 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22092 (LDFLAGS-tst-array5): Likewise.
22094 2013-01-23 Joseph Myers <joseph@codesourcery.com>
22097 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22098 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22099 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22100 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22102 2013-01-21 David S. Miller <davem@davemloft.net>
22104 * sysdeps/sparc/backtrace.c: New file.
22105 * sysdeps/sparc/sparc32/backtrace.h: New file.
22106 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22107 * sysdeps/sparc/sparc64/backtrace.h: New file.
22108 * sysdeps/sparc/sparc64/backtrace.c: Delete.
22109 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22112 2013-01-21 Andreas Schwab <schwab@suse.de>
22115 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22118 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
22120 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22122 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22124 2013-01-18 Joseph Myers <joseph@codesourcery.com>
22125 Mark Mitchell <mark@codesourcery.com>
22126 Tom de Vries <tom@codesourcery.com>
22127 Paul Pluzhnikov <ppluzhnikov@google.com>
22129 * debug/tst-backtrace2.c: New file.
22130 * debug/tst-backtrace3.c: Likewise.
22131 * debug/tst-backtrace4.c: Likewise.
22132 * debug/tst-backtrace5.c: Likewise.
22133 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22134 (CFLAGS-tst-backtrace3.c): Likewise.
22135 (CFLAGS-tst-backtrace4.c): Likewise.
22136 (CFLAGS-tst-backtrace5.c): Likewise.
22137 (LDFLAGS-tst-backtrace2): Likewise.
22138 (LDFLAGS-tst-backtrace3): Likewise.
22139 (LDFLAGS-tst-backtrace4): Likewise.
22140 (LDFLAGS-tst-backtrace5): Likewise.
22141 (tests): Add new tests tst-backtrace2, tst-backtrace3,
22142 tst-backtrace4 and tst-backtrace5.
22144 2013-01-18 Anton Blanchard <anton@samba.org>
22145 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22147 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22148 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22149 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22150 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22152 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22153 "+r" and remove output regs list as redundant. Add explicit inline
22154 asm to specify register of return val to work around compiler codegen
22155 bug. Remove (int) cast on return value. Add return type parameter to
22156 use in macro so that this macro does not truncate return value for
22158 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22159 pass to INTERNAL_VSYSCALL_NCS.
22160 (INLINE_VSYSCALL): Add 'long int' as return type to
22161 INTERNAL_VSYSCALL_NCS macro invocation.
22162 (INTERNAL_VSYSCALL): Add 'long int' as return type to
22163 INTERNAL_VSYSCALL_NCS macro invocation.
22164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22166 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22169 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22170 Fix application of SIMD FP exception mask.
22172 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22173 mp_no from a power of two.
22174 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22175 __mpexp_twomm1. Use __pow_mp.
22177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22180 2013-01-17 David S. Miller <davem@davemloft.net>
22182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22184 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22187 * include/complex.h: Condition contents on [!_COMPLEX_H].
22188 (__kernel_casinhf): New prototype.
22189 (__kernel_casinh): Likewise.
22190 (__kernel_casinhl): Likewise.
22191 * math/Makefile (libm_calls): Add k_casinh.
22192 * math/k_casinh.c: New file.
22193 * math/k_casinhf.c: Likewise.
22194 * math/k_casinhl.c: Likewise.
22195 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22196 finite nonzero arguments.
22197 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22198 finite nonzero arguments.
22199 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22200 finite nonzero arguments.
22201 * math/s_casinh.c: Do not include <float.h>.
22202 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22203 * math/s_casinhf.c: Do not include <float.h>.
22204 (__casinhf): Move code for finite nonzero arguments to
22206 * math/s_casinhl.c: Do not include <float.h>.
22207 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22209 (__casinhl): Move code for finite nonzero arguments to
22211 * math/libm-test.inc (cacos_test): Add more tests.
22212 * sysdeps/i386/fpu/libm-test-ulps: Update.
22213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22215 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
22217 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22218 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22219 [!HAVE_MREMAP]: Remove [defined linux] case.
22220 * malloc/arena.c: Do not include <malloc-sysdep.h>.
22222 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22224 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22226 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22228 * elf/elf.h (R_386_SIZE32): New relocation.
22229 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22231 (elf_machine_rela): Likewise.
22232 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22233 R_X86_64_SIZE64 and R_X86_64_SIZE32.
22235 2013-01-17 Joseph Myers <joseph@codesourcery.com>
22237 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22238 (FP_FAST_FMA): Do not define.
22239 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22240 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22241 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22242 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22243 !_SOFT_FLOAT]: Likewise.
22244 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22245 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22247 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22248 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22249 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22250 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22251 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22252 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22255 2013-01-16 Andreas Schwab <schwab@suse.de>
22258 * include/stdlib.h (__mktemp): Add declaration.
22259 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22260 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22262 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22264 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22266 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22267 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22268 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22270 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22271 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22273 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22275 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22276 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22277 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22279 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22280 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22282 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22284 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22286 2013-01-15 David S. Miller <davem@davemloft.net>
22288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22289 trunc{,f} to libm-sysdep_routes.
22290 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22300 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22301 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22302 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22303 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22304 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22305 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22308 nearbyint{,f} to libm-sysdep_routes.
22309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22320 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22322 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22323 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22325 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22326 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22327 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22329 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22330 libc_feholdexcept and libc_fesetenv.
22332 2013-01-15 Mike Frysinger <vapier@gentoo.org>
22334 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22336 2013-01-14 David S. Miller <davem@davemloft.net>
22338 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22339 (SPARC_ASM_VIS2_IFUNC): Likewise.
22340 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22342 use of 'siam' instruction.
22343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22362 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22363 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22364 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22373 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22374 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22376 routines to libm-sysdep_routines.
22377 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22380 fdim/fdimf to libm-sysdep_routines.
22381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22389 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22390 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22391 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22392 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22394 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22396 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22397 to optimize copies.
22399 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22404 local variable MPTWO.
22405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22408 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22410 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22413 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22415 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22417 2013-01-13 Mike Frysinger <vapier@gentoo.org>
22419 * manual/pattern.texi (glob_t): Document gl_flags.
22420 (glob64_t): Likewise.
22422 2013-01-11 David S. Miller <davem@davemloft.net>
22424 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22425 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22426 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
22427 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22428 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22429 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22430 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22431 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22432 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22433 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22434 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22435 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22436 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22438 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22439 sparc V9 rather than using V8 code.
22440 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22441 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22443 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22445 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22448 2013-01-11 Roland McGrath <roland@hack.frob.com>
22450 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22451 not in the main loop.
22452 * configure: Regenerated.
22454 2013-01-11 Joseph Myers <joseph@codesourcery.com>
22456 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22457 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22459 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
22460 [!__GLIBC_HAVE_LONG_LONG] case.
22461 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22462 condition to just #else.
22463 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22464 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22465 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22466 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22468 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22469 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22470 #elif condition to just #else.
22471 * sysdeps/unix/sysv/linux/sys/sysmacros.h
22472 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22473 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22474 #elif condition to just #else.
22476 2013-01-11 Steve Ellcey <sellcey@mips.com>
22478 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22479 (EF_MIPS_ARCH_64): Fix value.
22480 (EF_MIPS_ARCH_32R2): New.
22481 (EF_MIPS_ARCH_64R2): New.
22483 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
22485 * Makeconfig (+link-pie-before-libc): New.
22486 (+link-pie-after-libc): Likewise.
22487 (+link-pie-tests): Likewise.
22488 (+link-pie): Rewritten.
22489 (link-before-libc): Remove $(config-LDFLAGS).
22490 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22491 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22492 (config-LDFLAGS): Renamed to ...
22493 (rtld-LDFLAGS): This.
22494 (rtld-tests-LDFLAGS): New macro.
22495 (link-libc-rpath-link): Likewise.
22496 (link-libc-tests-rpath-link): Likewise.
22497 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22498 (link-libc): Prepand $(link-libc-rpath-link).
22499 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22500 (test-program-prefix): New macro.
22501 (test-via-rtld-prefix): Likewise.
22502 (test-program-cmd): Likewise.
22503 (host-test-program-cmd): Likewise.
22504 * Makefile ($(common-objpfx)testrun.sh): Replace
22505 $(run-program-prefix) with $(test-program-prefix).
22506 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22508 ($(common-objpfx)shlib.lds): Likewise.
22509 (build-module-helper): Likewise.
22510 ($(common-objpfx)format.lds): Likewise.
22511 * Rules (binaries-pie-tests): New.
22512 (binaries-pie-notests): Likewise.
22513 (binaries-pie): Rewritten.
22514 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22515 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22516 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22517 (make-test-out): Replace $(host-built-program-cmd) with
22518 $(host-test-program-cmd).
22519 * config.make.in (build-hardcoded-path-in-tests): New variable.
22520 * configure.in (--enable-hardcoded-path-in-tests): New configure
22522 (hardcoded_path_in_tests): New AC_SUBST.
22523 * configure: Regenerated.
22524 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22525 $(built-program-cmd) with $(test-program-cmd).
22526 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22527 (test_program_cmd): This.
22528 * elf/Makefile ($(objpfx)order.out): Run test with
22529 $(test-program-prefix).
22530 ($(objpfx)order2.out): Likewise.
22531 ($(objpfx)tst-initorder.out): Likewise.
22532 ($(objpfx)tst-initorder2.out): Likewise.
22533 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22534 $(test-program-cmd).
22535 ($(objpfx)tst-array1-static.out): Likewise.
22536 ($(objpfx)tst-array2.out): Likewise.
22537 ($(objpfx)tst-array3.out): Likewise.
22538 ($(objpfx)tst-array4.out): Likewise.
22539 ($(objpfx)tst-array5.out): Likewise.
22540 ($(objpfx)tst-array5-static.out): Likewise.
22541 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22542 $(test-program-cmd).
22543 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22544 $(run-program-prefix) with $(test-program-prefix).
22545 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22546 (test_program_prefix): This.
22547 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22548 $(run-program-prefix) with $(test-program-prefix).
22549 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22550 (test_program_prefix): This.
22551 * iconvdata/tst-tables.sh: Likewise.
22552 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22553 $(run-program-prefix) with $(test-program-prefix).
22554 ($(objpfx)tst-translit.out): Likewise.
22555 ($(objpfx)tst-gettext2.out): Likewise.
22556 ($(objpfx)tst-gettext4.out): Likewise.
22557 ($(objpfx)tst-gettext6.out): Likewise.
22558 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22559 (test_program_prefix): This.
22560 * intl/tst-gettext2.sh: Likewise.
22561 * intl/tst-gettext4.sh Likewise.
22562 * intl/tst-gettext6.sh: Likewise.
22563 * intl/tst-translit.sh: Likewise.
22564 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22565 with $(test-program-cmd).
22566 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22567 $(run-program-prefix) with $(test-program-prefix).
22568 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22569 (test_program_prefix): This.
22570 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22571 $(run-program-prefix) with $(test-program-prefix).
22572 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22573 (test_program_prefix): This.
22574 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22575 * posix/Makefile ($(objpfx)globtest.out): Replace
22576 $(run-via-rtld-prefix) and $(test-wrapper) with
22577 $(test-program-prefix) and $(test-via-rtld-prefix).
22578 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22579 $(test-program-prefix).
22580 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22581 $(host-test-program-cmd).
22582 (tst-spawn-ARGS): Likewise.
22583 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22584 $(test-program-prefix).
22585 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22586 (test_via_rtld_prefix): This.
22587 (test_wrapper): Renamed to ...
22588 (test_program_prefix): This.
22589 (run_program_prefix): Replaced by test_program_prefix.
22590 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22591 (test_program_prefix): This.
22592 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22593 with $(host-test-program-cmd).
22594 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22595 $(run-program-prefix) with $(test-program-prefix).
22596 ($(objpfx)tst-printf.out): Likewise.
22597 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22598 $(test-program-cmd).
22599 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22600 (test_program_prefix): This.
22601 * stdio-common/tst-unbputc.sh: Likewise.
22602 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22603 $(run-program-prefix) with $(test-program-prefix).
22604 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22605 (test_program_prefix): This.
22606 * string/Makefile ($(objpfx)tst-svc.out): Replace
22607 $(built-program-cmd) with $(test-program-cmd).
22609 2013-01-11 Andreas Jaeger <aj@suse.de>
22612 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22613 value. Sync with Linux 3.7.
22615 2013-01-10 David S. Miller <davem@davemloft.net>
22617 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22618 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22619 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22621 2013-01-10 Roland McGrath <roland@hack.frob.com>
22623 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22625 * configure: Regenerated.
22627 2013-01-10 David S. Miller <davem@davemloft.net>
22629 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22630 sparc V9 rather than using V8 code.
22631 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22632 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22634 2013-01-10 Roland McGrath <roland@hack.frob.com>
22636 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22637 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22638 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22639 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22640 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22641 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22642 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22643 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22644 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22645 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22646 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22647 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22648 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22649 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22650 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22651 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22652 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22653 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22654 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22655 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22656 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22657 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22658 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22659 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22660 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22661 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22662 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22664 2013-01-10 David S. Miller <davem@davemloft.net>
22666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22668 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22670 * posix/Makefile (tests-static): New variable.
22671 (tests): Add $(tests-static).
22672 (tst-exec-static-ARGS): New variable.
22673 (tst-spawn-static-ARGS): Likewise.
22674 * posix/tst-exec-static.c: New file.
22675 * posix/tst-spawn-static.c: Likewise.
22676 * posix/tst-exec.c: Support run directly.
22677 * posix/tst-spawn.c: Likewise.
22679 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22681 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22683 * math/bits/mathcalls.h (llrint): Likewise.
22684 (llround): Likewise.
22685 * stdlib/stdlib.h (struct drand48_data): Likewise.
22686 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22687 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22688 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22690 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22692 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22693 (elf_greg_t): Likewise.
22694 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22695 (__jmp_buf): Likewise.
22696 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22698 (llrint): Likewise, for all definitions.
22699 (llrintl): Likewise.
22701 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22702 Remove [__GNUC__] condition.
22703 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22704 condition to just [__USE_ISOC99].
22705 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22707 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22710 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22711 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22713 (_POSIX_V6_ILP32_OFF32): Likewise.
22714 (_XBS5_ILP32_OFF32): Likewise.
22715 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22716 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22718 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22720 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22722 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22723 doubles __mpexp_twomm1. Adjust usage.
22724 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22727 2013-01-10 Andreas Schwab <schwab@suse.de>
22730 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22731 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22733 2013-01-09 David S. Miller <davem@davemloft.net>
22736 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22737 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22738 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22739 (TCP_FASTOPEN): Define.
22740 (tcp_repair_opt): New structure.
22741 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22743 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22744 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22745 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22746 (tcp_cookie_transactions): New structure.
22748 2013-01-09 Anton Blanchard <anton@samba.org>
22750 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22751 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22752 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22753 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22755 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22757 * include/features.h (__USE_ANSI): Remove.
22759 2013-01-09 Roland McGrath <roland@hack.frob.com>
22761 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22763 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22765 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22767 * sysdeps/s390/fpu/libm-test-ulps: Update.
22769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22771 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22775 (denorm): Likewise.
22776 (__mp_dbl): Likewise.
22777 (__dbl_mp): Likewise.
22778 (add_magnitudes): Likewise.
22779 (sub_magnitudes): Likewise.
22785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22789 (denorm): Likewise.
22790 (__mp_dbl): Likewise.
22791 (__dbl_mp): Likewise.
22792 (add_magnitudes): Likewise.
22793 (sub_magnitudes): Likewise.
22799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22803 (denorm): Likewise.
22804 (__mp_dbl): Likewise.
22805 (__dbl_mp): Likewise.
22806 (add_magnitudes): Likewise.
22807 (sub_magnitudes): Likewise.
22814 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22816 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22817 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22818 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22819 2 && __USE_EXTERN_INLINES]: Likewise.
22821 2013-01-08 Andreas Jaeger <aj@suse.de>
22824 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22826 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22827 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22829 2013-01-07 Anton Blanchard <anton@samba.org>
22831 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22832 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22833 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22834 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22835 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22836 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22837 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22838 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22840 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22841 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22842 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22843 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22844 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22845 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22846 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22847 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22848 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22849 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22850 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22851 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22852 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22853 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22854 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22855 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22856 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22857 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22858 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22859 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22860 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22861 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22862 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22863 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22864 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22865 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22866 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22867 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22868 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22869 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22870 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22871 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22872 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22873 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22875 2013-01-07 Joseph Myers <joseph@codesourcery.com>
22877 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22878 (__MALLOC_PMT): Likewise.
22879 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22880 [__GNUC__], only on [_LIBC].
22881 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22882 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22883 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22884 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22885 forward declaration.
22886 (realloc_hook_ini): Likewise.
22887 (memalign_hook_ini): Likewise.
22888 (__libc_memalign): Do not use __MALLOC_PMT in variable
22890 (__libc_valloc): Likewise.
22891 (__libc_pvalloc): Likewise.
22892 (__libc_calloc): Likewise.
22893 (__posix_memalign): Likewise.
22896 * math/s_casinh.c: Include <float.h>.
22897 (__casinh): Do not do computation with squaring and square root
22898 for large arguments.
22899 * math/s_casinhf.c: Include <float.h>.
22900 (__casinhf): Do not do computation with squaring and square root
22901 for large arguments.
22902 * math/s_casinhl.c: Include <float.h>.
22903 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22904 (__casinhl): Do not do computation with squaring and square root
22905 for large arguments.
22906 * math/libm-test.inc (casin_test): Add more tests.
22907 (casinh_test): Likewise.
22908 * sysdeps/i386/fpu/libm-test-ulps: Update.
22909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22911 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22913 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22914 (__x86_64_raw_data_cache_size): Likewise.
22915 (__x86_64_data_cache_size_half): Likewise.
22916 (__x86_64_raw_data_cache_size_half): Likewise.
22917 (__x86_64_shared_cache_size): Likewise.
22918 (__x86_64_raw_shared_cache_size): Likewise.
22919 (__x86_64_shared_cache_size_half): Likewise.
22920 (__x86_64_raw_shared_cache_size_half): Likewise.
22921 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22923 (__x86_data_cache_size): This.
22924 (__x86_64_raw_data_cache_size): Renamed to ...
22925 (__x86_raw_data_cache_size): This.
22926 (__x86_64_data_cache_size_half): Renamed to ...
22927 (__x86_data_cache_size_half): This.
22928 (__x86_64_raw_data_cache_size_half): Renamed to ...
22929 (__x86_raw_data_cache_size_half): This.
22930 (__x86_64_shared_cache_size): Renamed to ...
22931 (__x86_shared_cache_size): This.
22932 (__x86_64_raw_shared_cache_size): Renamed to ...
22933 (__x86_raw_shared_cache_size): This.
22934 (__x86_64_shared_cache_size_half): Renamed to ...
22935 (__x86_shared_cache_size_half): This.
22936 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22937 (__x86_raw_shared_cache_size_half): This.
22938 * sysdeps/x86_64/memcpy.S: Updated.
22939 * sysdeps/x86_64/memset.S: Likewise.
22940 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22941 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22942 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22944 2013-01-04 David S. Miller <davem@davemloft.net>
22946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22948 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22950 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22951 1 to avoid redefinition warning.
22952 (__USE_GNU): Don't define.
22953 (init_signaling_nan): Protoize.
22955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22957 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22959 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22961 (__cpymn): Likewise.
22962 (norm): Remove commented code.
22963 (denorm): Likewise.
22964 (__mp_dbl): Likewise.
22966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22967 (__cpymn): Likewise.
22968 (norm): Remove commented code.
22969 (denorm): Likewise.
22970 (__mp_dbl): Likewise.
22973 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22974 mp_no value for 1.0 and 2.0.
22975 (norm): Use RADIXI instead of radixi.d.
22976 (denorm): Likewise.
22977 (__mul): Use 0.0 instead of zero.d.
22978 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22979 mp_no value for 1.0 and 2.0.
22980 (norm): Use RADIXI instead of radixi.d.
22981 (denorm): Likewise.
22982 (__mul): Use 0.0 instead of zero.d.
22984 2013-01-04 Joseph Myers <joseph@codesourcery.com>
22987 * math/s_casinh.c (__casinh): Reduce finite argument to first
22988 quadrant then set signs of results at the end.
22989 * math/s_casinhf.c (__casinhf): Likewise.
22990 * math/s_casinhl.c (__casinhl): Likewise.
22991 * math/libm-test.inc (casin_test): Add more tests.
22992 (casinh_test): Likewise.
22993 * sysdeps/i386/fpu/libm-test-ulps: Update.
22994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22996 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22998 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23000 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23002 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23004 (denorm): Likewise.
23005 (__mp_dbl): Likewise.
23008 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23009 and adjust the header comment.
23011 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23012 variable name from declaration.
23014 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
23016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23017 Initialize COMMON_CPUID_INDEX_7 element.
23018 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23019 (CPUID_RTM): Likewise.
23020 (HAS_RTM): Likewise.
23021 (COMMON_CPUID_INDEX_7): New enum.
23023 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
23026 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23027 size is zero, record memory as freed.
23029 2013-01-03 Andreas Jaeger <aj@suse.de>
23031 * po/ia.po: Add new Interlingua translation.
23033 2012-01-03 Allan McRae <allan@archlinux.org>
23035 * locale/programs/localedef.c: Fix description of '--posix' flag.
23037 2013-01-02 Joseph Myers <joseph@codesourcery.com>
23039 * NEWS: Update dates in second copyright notice.
23040 * README: Update copyright dates in example.
23041 * manual/libc.texinfo: Update copyright dates.
23042 * scripts/test-installation.pl: Update copyright date in --version
23045 * hurd/ctty-input.c: Fix copyright notice formatting.
23046 * hurd/ctty-output.c: Likewise.
23047 * hurd/dtable.c: Likewise.
23048 * hurd/hurd-raise.c: Likewise.
23049 * hurd/hurdprio.c: Likewise.
23050 * hurd/msgportdemux.c: Likewise.
23051 * misc/sys/file.h: Likewise.
23052 * misc/sys/ioctl.h: Likewise.
23053 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23054 * sysdeps/mach/hurd/chdir.c: Likewise.
23055 * sysdeps/mach/hurd/fchdir.c: Likewise.
23056 * sysdeps/mach/hurd/rename.c: Likewise.
23057 * sysdeps/mach/hurd/rmdir.c: Likewise.
23058 * sysdeps/mach/hurd/seekdir.c: Likewise.
23059 * sysdeps/mach/hurd/setsid.c: Likewise.
23060 * sysdeps/posix/wait3.c: Likewise.
23062 * All files with FSF copyright notices: Update copyright dates
23063 using scripts/update-copyrights.
23064 * intl/plural.c: Regenerated.
23065 * locale/programs/charmap-kw.h: Likewise.
23066 * locale/programs/locfile-kw.h: Likewise.
23068 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
23070 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23073 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23074 calculation loop and add branch prediction.
23076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23077 check access beyond bounds of m1np.
23079 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23081 (__inv): Remove local variable MPTWO to use the global
23083 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23084 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23086 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23087 MP3HALFS static const.
23089 2013-01-01 David S. Miller <davem@davemloft.net>
23091 * po/ca.po: Update from translation team.
23093 2013-01-01 Joseph Myers <joseph@codesourcery.com>
23095 * scripts/update-copyrights: New file.
23096 * Makeconfig: Reformat copyright notice.
23097 * ctype/ctype.h: Likewise.
23098 * debug/swprintf_chk.c: Likewise.
23099 * elf/dl-cache.c: Likewise.
23100 * elf/dl-debug.c: Likewise.
23101 * elf/dl-object.c: Likewise.
23102 * grp/initgroups.c: Likewise.
23103 * hurd/Makefile: Likewise.
23104 * hurd/hurd/signal.h: Likewise.
23105 * hurd/hurdfault.c: Likewise.
23106 * hurd/hurdioctl.c: Likewise.
23107 * hurd/hurdlookup.c: Likewise.
23108 * hurd/intr-msg.c: Likewise.
23109 * iconv/gconv_open.c: Likewise.
23110 * libio/swprintf.c: Likewise.
23111 * locale/lc-ctype.c: Likewise.
23112 * locale/nl_langinfo.c: Likewise.
23113 * mach/Machrules: Likewise.
23114 * mach/Makefile: Likewise.
23115 * malloc/obstack.h: Likewise.
23116 * manual/Makefile: Likewise.
23117 * manual/tsort.awk: Likewise.
23118 * misc/bits/stab.def: Likewise.
23119 * nis/nis_print_group_entry.c: Likewise.
23120 * nis/nis_table.c: Likewise.
23121 * nis/nss_compat/compat-pwd.c: Likewise.
23122 * nis/nss_compat/compat-spwd.c: Likewise.
23123 * po/Makefile: Likewise.
23124 * posix/fnmatch.c: Likewise.
23125 * posix/regex.h: Likewise.
23126 * resolv/Makefile: Likewise.
23127 * resolv/nss_dns/dns-network.c: Likewise.
23128 * resolv/res_hconf.c: Likewise.
23129 * scripts/gen-sorted.awk: Likewise.
23130 * soft-fp/soft-fp.h: Likewise.
23131 * stdio-common/printf.h: Likewise.
23132 * stdlib/monetary.h: Likewise.
23133 * stdlib/random.c: Likewise.
23134 * stdlib/random_r.c: Likewise.
23135 * sysdeps/generic/Makefile: Likewise.
23136 * sysdeps/gnu/Makefile: Likewise.
23137 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23138 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23139 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23140 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23141 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23142 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23144 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23145 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23146 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23147 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23148 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23149 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23150 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23151 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23152 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23153 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23154 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23155 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23157 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23158 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23159 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23160 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23161 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23162 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23163 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23164 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23165 * sysdeps/mach/hurd/errnos.awk: Likewise.
23166 * sysdeps/mach/hurd/fork.c: Likewise.
23167 * sysdeps/mach/hurd/getcwd.c: Likewise.
23168 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23169 * sysdeps/mach/hurd/mmap.c: Likewise.
23170 * sysdeps/mach/hurd/utimes.c: Likewise.
23171 * sysdeps/mach/hurd/xmknod.c: Likewise.
23172 * sysdeps/posix/profil.c: Likewise.
23173 * sysdeps/posix/readdir_r.c: Likewise.
23174 * sysdeps/powerpc/bits/mathdef.h: Likewise.
23175 * sysdeps/powerpc/bits/setjmp.h: Likewise.
23176 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23177 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23179 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23180 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23181 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23182 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23183 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23184 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23185 * sysdeps/pthread/lio_listio.c: Likewise.
23186 * sysdeps/sparc/dl-procinfo.h: Likewise.
23187 * sysdeps/unix/i386/sysdep.S: Likewise.
23188 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23189 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23190 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23191 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23193 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23194 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23195 * sysdeps/unix/sysv/linux/speed.c: Likewise.
23196 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23197 * sysdeps/wordsize-32/divdi3.c: Likewise.
23198 * time/sys/time.h: Likewise.
23199 * wcsmbs/Makefile: Likewise.
23201 2013-01-01 David S. Miller <davem@davemloft.net>
23203 * po/fr.po: Update from translation team.
23205 * catgets/gencat.c: Update copyright year.
23206 * csu/version.c: Likewise.
23207 * debug/catchsegv.sh: Likewise.
23208 * debug/pcprofiledump.c: Likewise.
23209 * debug/xtrace.sh: Likewise.
23210 * elf/ldconfig.c: Likewise.
23211 * elf/ldd.bash.in: Likewise.
23212 * elf/pldd.c: Likewise.
23213 * elf/sotruss.ksh: Likewise.
23214 * elf/sprof.c: Likewise.
23215 * iconv/iconv_prog.c: Likewise.
23216 * iconv/iconvconfig.c: Likewise.
23217 * locale/programs/locale.c: Likewise.
23218 * locale/programs/localedef.c: Likewise.
23219 * login/programs/pt_chown.c: Likewise.
23220 * malloc/memusage.sh: Likewise.
23221 * malloc/memusagestat.c: Likewise.
23222 * malloc/mtrace.pl: Likewise.
23223 * nscd/nscd.c: Likewise.
23224 * nss/getent.c: Likewise.
23225 * nss/makedb.c: Likewise.
23226 * posix/getconf.c: Likewise.
23228 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23230 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23233 2012-12-30 Mike Frysinger <vapier@gentoo.org>
23235 * math/bits/mathcalls.h (modf): Use __nonnull.
23237 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23239 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23240 (split): Use macro CN instead of the bare value.
23241 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23243 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23244 instead of the bare value.
23245 (power1): Likewise.
23247 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23249 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23251 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23253 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23255 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23256 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23257 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23258 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23260 2012-12-28 Andreas Jaeger <aj@suse.de>
23262 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
23263 values are from Linux 3.7.
23265 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23266 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
23268 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23270 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23273 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23275 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23276 variables with preprocessor constants.
23277 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23278 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23279 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23281 2012-12-27 Bruno Haible <bruno@clisp.org>
23284 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23287 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23289 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23290 and use variable directly.
23291 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23293 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23295 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23296 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23298 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23299 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23300 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23301 include directive. Remove local variable MPONE.
23302 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23303 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23304 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23306 2012-12-25 David S. Miller <davem@davemloft.net>
23308 * version.h (RELEASE): Set to "development".
23309 (VERSION): Set to "2.17.90".
23310 * NEWS: Add 2.18 section.
23312 2012-12-21 David S. Miller <davem@davemloft.net>
23314 * po/hr.po: Update from translation team.
23316 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23318 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23320 2012-12-19 Steve Ellcey <sellcey@mips.com>
23322 * NEWS: Mention new memcpy for MIPS.
23324 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23326 * manual/contrib.texi (Contributors): Spelling correction.
23328 2012-12-15 David S. Miller <davem@davemloft.net>
23330 * po/ru.po: Update from translation team.
23332 2012-12-13 David S. Miller <davem@davemloft.net>
23334 * NEWS: Mention IFUNC testsuite enhancements.
23336 * po/pl.po: Update from translation team.
23337 * po/bg.po: Likewise.
23339 * manual/contrib.texi (Contributors): Update entries for Hongjiu
23340 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
23342 2012-12-11 David S. Miller <davem@davemloft.net>
23344 * po/sv.po: Update from translation team.
23346 * po/vi.po: Update from translation team.
23348 * po/cs.po: Update from translation team.
23350 * po/de.po: Update from translation team.
23351 * po/eo.po: Likewise.
23352 * po/nl.po: Likewise.
23354 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23357 * manual/argp.texi (Argp Helper Functions): Move node to follow
23358 Argp Parsing State.
23361 * manual/conf.texi (Limits on File System Capacity): Mention if
23362 terminating null is included in the max size.
23364 2012-12-10 Andreas Jaeger <aj@suse.de>
23366 * po/cs.po: Update from translation team.
23368 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23370 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23371 void pointer and cast to uintptr_t.
23372 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23374 * sysdeps/s390/s390-64/memcpy.S: Likewise.
23375 * sysdeps/s390/s390-64/memset.S: Likewise.
23377 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
23380 * menual/message.texi (Message Translation): Fix typos.
23381 (Helper programs for gettext): Likewise.
23383 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
23386 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23389 2012-12-07 David S. Miller <davem@davemloft.net>
23391 * po/libc.pot: Update.
23393 2012-12-07 Richard Henderson <rth@redhat.com>
23396 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23397 normal/normal case to before the switch.
23398 (_FP_DIV): Likewise.
23400 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
23401 Mike Frysinger <vapier@gentoo.org>
23403 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23404 check for __NR_fadvise64_64.
23406 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
23408 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23409 0, not just to plain "0" as a statement.
23410 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23413 2012-12-06 Joseph Myers <joseph@codesourcery.com>
23415 * NEWS: Use sourceware.org in Bugzilla URL.
23417 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23420 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23422 * stdio-common/tst-put-error.c (do_test): Add newline to the
23423 padded test to ensure flush.
23425 2012-12-05 Jeff Law <law@redhat.com>
23427 * sunrpc/etc.rpc (fedfs_admin): Add entry.
23429 2012-12-05 Joseph Myers <joseph@codesourcery.com>
23431 * README: Don't refer to ports add-on as distributed separately.
23432 Mention AArch64 in list of systems supported in the ports add-on.
23434 * LICENSES: Add more non-FSF copyright and license notices.
23436 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23439 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23441 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23442 10000 as width of padded output.
23444 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23446 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23448 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23449 variable LX with __attribute__ ((unused)).
23450 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23452 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23453 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23454 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23455 with __attribute__ ((unused)).
23457 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
23459 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23461 2012-12-04 Joseph Myers <joseph@codesourcery.com>
23463 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23464 (CFLAGS-nldbl-acos.c): New variable.
23465 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23466 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23467 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23468 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23469 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23470 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23471 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23472 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23473 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23474 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23475 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23476 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23477 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23478 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23479 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23480 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23481 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23482 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23483 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23484 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23485 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23486 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23487 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23488 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23489 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23490 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23491 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23492 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23493 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23494 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23495 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23496 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23497 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23498 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23499 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23500 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23501 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23502 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23503 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23504 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23505 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23506 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23507 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23508 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23509 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23510 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23511 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23512 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23513 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23514 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23515 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23516 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23517 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23518 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23519 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23520 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23521 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23522 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23523 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23524 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23525 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23526 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23527 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23528 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23529 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23530 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23531 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23532 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23533 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23534 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23535 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23536 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23537 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23538 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23539 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23540 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23541 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23542 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23543 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23544 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23545 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23546 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23547 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23548 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23549 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23550 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23551 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23552 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23553 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23554 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23555 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23556 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23557 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23558 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23559 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23560 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23561 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23564 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23567 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23568 whole low double instead of just low 47 bits when splitting values
23571 2012-12-03 Allan McRae <allan@archlinux.org>
23573 * manual/stdio.texi (Predefined Printf Handlers): Remove
23574 @hsep and @vsep usage.
23576 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23578 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23579 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23581 2012-12-03 Jeff Law <law@redhat.com>
23583 * time/sys/time.h (settimeofday): Do not mark TV argument
23586 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23588 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23589 when currently writing and seek to current position when not.
23590 * libio/Makefile (tests): Remove bug-fclose1.
23591 * libio/bug-fclose1.c: Delete.
23593 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23595 * manual/arith.texi (feenableexcept): Fix typo.
23596 (fedisableexcept): Likewise.
23598 2012-11-30 Roland McGrath <roland@hack.frob.com>
23600 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23601 second, differently-typed declaration, rather than a cast.
23603 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23605 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23606 * include/rpc/svc.h: ... here.
23608 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23611 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23612 depending n and resplen2 to catch cases where answer
23615 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23617 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23618 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23620 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23622 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23624 2012-11-29 Roland McGrath <roland@hack.frob.com>
23626 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23628 2012-11-28 Jeff Law <law@redhat.com>
23631 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23632 dataset_temporary. Track alloca usage into alloca_used.
23633 If dataset is large allocate and release it via malloc/free.
23635 2012-06-04 Florian Weimer <fweimer@redhat.com>
23638 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23640 2012-11-28 David S. Miller <davem@davemloft.net>
23642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23644 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23647 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23648 of pi/2 rounded to nearest to 64 bits.
23649 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23650 nearest to 64 bits.
23651 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23654 2012-11-28 Jeff Law <law@redhat.com>
23655 Martin Osvald <mosvald@redhat.com>
23658 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23659 * sunrpc/svc.c: Include time.h.
23660 (__svc_accept_failed): New function.
23661 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23662 any reason other than EINTR, call __svc_accept_failed.
23663 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23664 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23666 2012-11-28 Andreas Schwab <schwab@suse.de>
23668 * scripts/abilist.awk: Also handle indirect functions in .opd
23671 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23674 * sysdeps/x86/fpu/powl_helper.c: New file.
23675 * sysdeps/x86/fpu/Makefile: Likewise.
23676 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23678 (__ieee754_powl): Use __powl_helper for finite arguments except
23679 integer exponents below 8.
23680 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23682 (__ieee754_powl): Use __powl_helper for finite arguments except
23683 integer exponents below 8.
23684 * math/libm-test.inc (pow_test): Add more tests and enable some
23685 previously disabled tests.
23686 * sysdeps/i386/fpu/libm-test-ulps: Update.
23687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23689 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23690 Carlos O'Donell <carlos_odonell@mentor.com>
23692 * nss/makedb.c (is_prime): Assert that input is odd and greater
23693 than 4. Note that fact in a comment too.
23694 (next_prime): Add 4 to input.
23696 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23699 * libio/Makefile (tests): Add test case tst-fwrite-error.
23700 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23701 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23702 * libio/tst-fwrite-error.c: New test case.
23704 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23706 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23707 before casting to void *.
23708 * include/libc-internal.h (__pointer_type): New macro.
23709 (__integer_if_pointer_type_sub): Likewise.
23710 (__integer_if_pointer_type): Likewise.
23711 (cast_to_integer): Likewise.
23712 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23713 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23714 before casting to atomic64_t.
23715 (atomic_exchange_acq): Likewise.
23716 (__arch_exchange_and_add_body): Likewise.
23717 (__arch_add_body): Likewise.
23718 (atomic_add_negative): Likewise.
23719 (atomic_add_zero): Likewise.
23721 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23723 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23724 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23725 (add_fdes): Likewise.
23726 (linear_search_fdes): Likewise.
23727 (binary_search_unencoded_fdes): Likewise.
23729 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23731 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23733 2012-11-24 Adam Conrad <adconrad@0c3.net>
23735 * configure.in: Autodetect C++ header directories.
23736 * configure: Regenerated.
23738 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23740 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23742 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23746 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23748 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23749 LDBL_MANT_DIG == 106]: Disable some tests.
23750 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23752 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23756 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23757 input for small inputs. Return +/- pi/2 for large inputs.
23758 * math/libm-test.inc (atan_test): Add more tests.
23760 * sysdeps/generic/unwind-dw2-fde-glibc.c
23761 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23762 __attribute__ ((unused)).
23765 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23766 x * y if x and y are nonzero and z is zero.
23769 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23770 nonzero exponents with absolute value below 0x1p-117 to +/-
23774 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23775 up arguments below 2**-450, not just those below 2**-500.
23776 * math/libm-test.inc (hypot_test): Add another test.
23779 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23780 Return a+b for ratio over 2**120, not 2**60.
23781 * math/libm-test.inc (hypot_test): Add another test.
23783 * math/libm-test.inc (clog_test): Use
23784 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23785 (clog10_test): Likewise.
23788 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23790 2012-11-22 Andreas Schwab <schwab@suse.de>
23792 * sysdeps/i386/fpu/libm-test-ulps: Update.
23794 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23796 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23797 printf output with newline.
23799 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23802 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23803 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23804 -z nodlopen, -z initfirst and -z execstack support.
23805 * configure: Regenerated.
23807 * elf/elf.h (DF_1_NODIRECT): New macro.
23808 (DF_1_IGNMULDEF): Likewise.
23809 (DF_1_NOKSYMS): Likewise.
23810 (DF_1_NOHDR): Likewise.
23811 (DF_1_EDITED): Likewise.
23812 (DF_1_NORELOC): Likewise.
23813 (DF_1_SYMINTPOSE): Likewise.
23814 (DF_1_GLOBAUDIT): Likewise.
23815 (DF_1_SINGLETON): Likewise.
23816 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23817 DT_1_SUPPORTED_MASK bits.
23818 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23820 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23822 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23824 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23826 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23829 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23830 (sendmmsg): Move declarations...
23831 * socket/sys/socket.h: ... here.
23832 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23833 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23835 * socket/recvmmsg.c: ... this new file.
23836 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23837 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23838 definition of __sendmmsg hidden.
23839 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23840 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23841 Move ENOSYS stub into and include it from...
23842 * socket/sendmmsg.c: ... this new file.
23843 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23844 (sysdep_routines): Move recvmmsg and sendmmsg...
23845 * socket/Makefile (routines): ... here.
23846 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23847 (GLIBC_PRIVATE): Add __sendmmsg.
23848 * include/sys/socket.h (__sendmmsg): Add declarations.
23849 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23852 2012-11-20 Joseph Myers <joseph@codesourcery.com>
23854 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23855 variable I1 with __attribute__ ((unused)).
23856 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23858 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23860 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23861 DUMMY variables with __attribute__ ((unused)).
23863 * bits/byteswap.h: Include <bits/types.h>.
23864 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23866 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23868 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23869 string_t. Do not manually set errno.
23870 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23871 length with __strnlen. Make sure to both set errno and return it on
23874 2012-11-19 David S. Miller <davem@davemloft.net>
23876 With help from Joseph Myers.
23877 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23878 very large arguments properly.
23879 * math/libm-test.inc (atan_test): New tests.
23880 (atan2_test): New tests.
23881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23884 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23887 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23890 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23891 [POSIX] (EADDRNOTAVAIL): Likewise.
23892 [POSIX] (EAFNOSUPPORT): Likewise.
23893 [POSIX] (EALREADY): Likewise.
23894 [POSIX] (ECONNABORTED): Likewise.
23895 [POSIX] (ECONNREFUSED): Likewise.
23896 [POSIX] (ECONNRESET): Likewise.
23897 [POSIX] (EDESTADDRREQ): Likewise.
23898 [POSIX] (EDQUOT): Likewise.
23899 [POSIX] (EHOSTUNREACH): Likewise.
23900 [POSIX] (EIDRM): Likewise.
23901 [POSIX] (EISCONN): Likewise.
23902 [POSIX] (ELOOP): Likewise.
23903 [POSIX] (EMULTIHOP): Likewise.
23904 [POSIX] (ENETDOWN): Likewise.
23905 [POSIX] (ENETUNREACH): Likewise.
23906 [POSIX] (ENOBUFS): Likewise.
23907 [POSIX] (ENODATA): Likewise.
23908 [POSIX] (ENOLINK): Likewise.
23909 [POSIX] (ENOMSG): Likewise.
23910 [POSIX] (ENOPROTOOPT): Likewise.
23911 [POSIX] (ENOSR): Likewise.
23912 [POSIX] (ENOSTR): Likewise.
23913 [POSIX] (ENOTCONN): Likewise.
23914 [POSIX] (ENOTSOCK): Likewise.
23915 [POSIX] (EOPNOTSUPP): Likewise.
23916 [POSIX] (EOVERFLOW): Likewise.
23917 [POSIX] (EPROTO): Likewise.
23918 [POSIX] (EPROTONOSUPPORT): Likewise.
23919 [POSIX] (EPROTOTYPE): Likewise.
23920 [POSIX] (ESTALE): Likewise.
23921 [POSIX] (ETIME): Likewise.
23922 [POSIX] (ETXTBSY): Likewise.
23923 [POSIX] (EWOULDBLOCK): Likewise.
23924 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23925 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23926 [POSIX] (SEEK_CUR): Likewise.
23927 [POSIX] (SEEK_END): Likewise.
23928 [POSIX || UNIX98] (mode_t): Do not require.
23929 [POSIX] (off_t): Likewise.
23930 [POSIX] (pid_t): Likewise.
23931 [POSIX] (sys/stat.h): Do not allow header.
23932 [POSIX] (unistd.h): Likewise.
23933 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23934 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23935 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23936 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23938 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23939 sigevent): Specify elements.
23940 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23942 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23943 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23945 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23946 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23947 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23948 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23949 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23950 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23951 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23952 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23953 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23954 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23955 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23956 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23957 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23958 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23960 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23962 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23964 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23966 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23967 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23968 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23969 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23970 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23971 Specify lower bound on value.
23972 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23973 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23974 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23975 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23976 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23977 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23978 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23979 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23981 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23983 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23984 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23985 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23986 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23987 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23988 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23989 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23990 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23991 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23992 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23993 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23994 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23995 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23996 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23997 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23998 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24000 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24002 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24003 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24004 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24005 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24006 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24007 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24009 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24010 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24011 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24012 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24013 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
24014 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24015 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24017 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24018 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24019 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24020 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24021 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24022 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24023 specify as optional.
24024 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24025 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24026 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24027 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24028 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24029 [XPG3] (NL_LANGMAX): Likewise.
24030 [POSIX || XPG3] (NL_MSGMAX): Likewise.
24031 [POSIX || XPG3] (NL_NMAX): Likewise.
24032 [POSIX || XPG3] (NL_SETMAX): Likewise.
24033 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24034 [XPG3] (NZERO): Likewise.
24035 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24036 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24037 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24038 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24039 (REG_ERANGE): Expect.
24040 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24042 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24043 Use (void) in prototype.
24044 [POSIX] (*_t): Allow.
24045 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24046 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24047 (WRDE_BADVAL): Expect.
24049 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24051 [XPG3 || XPG4] (O_RSYNC): Likewise.
24052 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24054 [XPG3 || XPG4] (pthread_sigmask): Likewise.
24055 [XPG3 || XPG4] (sigqueue): Likewise.
24056 [XPG3 || XPG4] (sigtimedwait): Likewise.
24057 [XPG3 || XPG4] (sigwaitinfo): Likewise.
24058 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24059 [XPG3 || XPG4] (vsnprintf): Likewise.
24060 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24062 [XPG3 || XPG4] (blksize_t): Likewise.
24063 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24065 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24066 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24067 [XPG3 || XPG4] (struct itimerspec): Likewise.
24068 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24069 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24070 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24071 [XPG3 || XPG4] (clockid_t): Likewise.
24072 [XPG3 || XPG4] (timer_t): Likewise.
24073 [XPG3 || XPG4] (clock_getres): Likewise.
24074 [XPG3 || XPG4] (clock_gettime): Likewise.
24075 [XPG3 || XPG4] (clock_settime): Likewise.
24076 [XPG3 || XPG4] (nanosleep): Likewise.
24077 [XPG3 || XPG4] (timer_create): Likewise.
24078 [XPG3 || XPG4] (timer_delete): Likewise.
24079 [XPG3 || XPG4] (timer_gettime): Likewise.
24080 [XPG3 || XPG4] (timer_getoverrun): Likewise.
24081 [XPG3 || XPG4] (timer_settime): Likewise.
24082 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24083 [XPG3 || XPG4] (getlogin_r): Likewise.
24084 [XPG3 || XPG4] (pread): Likewise.
24085 [XPG3 || XPG4] (pthread_atfork): Likewise.
24086 [XPG3 || XPG4] (pwrite): Likewise.
24089 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24092 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
24094 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24095 finalizing MALLSTREAM.
24097 * sysdeps/mach/hurd/syncfs.c: New file.
24099 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24102 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24103 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24104 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24105 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24106 (_nss_dns_gethostbyname4_r): Likewise.
24107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24108 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24110 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
24113 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24115 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
24117 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24118 * elf/cache.c (print_entry): Print ",AArch64" for
24121 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24122 * elf/cache.c (print_entry): Print ",hard-float" for
24125 2012-11-18 David S. Miller <davem@davemloft.net>
24127 With help from Joseph Myers.
24128 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24130 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24132 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24133 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24135 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24136 * math/libm-test.inc (y0_test): New tests.
24137 (y1_test): New tests.
24138 * sysdeps/i386/fpu/libm-test-ulps: Update.
24139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24142 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
24144 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24146 * configure: Regenerated.
24148 2012-11-17 David S. Miller <davem@davemloft.net>
24151 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24152 nonzero exponents with absolute value below 0x1p-128 to +/-
24155 2012-11-17 Joseph Myers <joseph@codesourcery.com>
24157 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24159 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24161 * posix/getconf-speclist.c: New file.
24162 * posix/posix-envs.def: Likewise.
24163 * posix/confstr.c (START_ENV_GROUP): New macro.
24164 (END_ENV_GROUP): Likewise.
24165 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24166 (KNOWN_PRESENT_ENV_STRING): Likewise.
24167 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24168 (UNKNOWN_ENVIRONMENT): Likewise.
24169 (confstr): Include posix-envs.def instead of handling
24170 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24171 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24172 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24173 (END_ENV_GROUP): Likewise.
24174 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24175 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24176 (UNKNOWN_ENVIRONMENT): Likewise.
24177 (__sysconf): Include posix-envs.def instead of handling associated
24178 cases directly here.
24179 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24180 preprocessing getconf-speclist.c rather than running getconf or
24181 generating empty file.
24183 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
24185 * scripts/check-local-headers.sh: Ignore 'mach' headers.
24187 2012-11-16 Andrej Lajovic <natrij@gmail.com>
24190 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24192 2012-11-16 David S. Miller <davem@davemloft.net>
24194 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24195 smaller than LDBL_EPSILON/2.0L, just return xm1.
24197 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
24199 * elf/tst-array1.c (init): Set constructor priority to 1000.
24200 (fini): Set destructor priority to 1000.
24201 * elf/tst-array2dep.c: Likewise.
24203 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24206 * libio/fileops.c (_IO_new_file_write): Correctly return error.
24207 (_IO_new_file_xsputn): Also return EOF if none of the input
24208 data was written when overflow failed.
24209 * libio/iopadn.c (_IO_padn): Likewise.
24210 * libio/iowpadn.c (_IO_wpadn): Likewise.
24211 * stdio-common/tst-put-error.c: Add copyright notice.
24212 (do_test): Add case for printing padded string.
24213 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24214 _IO_padn returned error.
24215 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24216 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24219 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24221 * libio/libioP.h: Add comment note that the references to C++
24222 bits are now obsolete.
24224 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24226 * math/libm-test.inc (check_complex): Use asprintf.
24228 2012-11-14 Joseph Myers <joseph@codesourcery.com>
24230 * debug/pcprofiledump.c (print_version): Update copyright year.
24231 * malloc/memusagestat.c (print_version): Likewise.
24233 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
24236 * elf/Makefile (tests): Add tst-audit8.
24237 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24238 ($(objpfx)tst-audit8.out): New target.
24239 (tst-audit8-ENV): New variable.
24240 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24241 audit if l_reloc_result is NULL.
24242 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24243 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24244 * elf/tst-audit8.c: New file.
24246 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24248 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24249 * misc/Makefile (CFLAGS-select.c): Define.
24250 * posix/Makefile (CFLAGS-pause.c): Define.
24252 2012-11-13 David S. Miller <davem@davemloft.net>
24254 * crypt/Makefile: Move test targets after toplevel Rules
24255 inclusion. Grab any necessary sysdep routines when linking.
24256 * crypt/md5.c (md5_process_block): Remove define, we will always
24257 name it __md5_process_block.
24258 (md5_finish_ctx): Update md5_process_block call.
24259 (md5_stream): Likewise.
24260 (md5_process_bytes): Likewise.
24261 (md5_process_block): Rename to __md5_process_block and move to ...
24262 * crypt/md5-block.c: ... here.
24263 * crypt/sha256.c (sha256_process_block): Move to ...
24264 * crypt/sha256-block.c: ... here.
24265 * crypt/sha512.c (sha512_process_block): Move to ...
24266 * crypt/sha512-block.c: ... here.
24267 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24269 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24270 * sysdeps/sparc/sparc64/multiarch/Makefile
24271 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24273 (localedef-aux): Add md5 crypto assembler when in locale subdir.
24274 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24276 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24277 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24278 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24279 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24280 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24281 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24282 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24283 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24284 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24286 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24287 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24289 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24291 2012-11-13 Joseph Myers <joseph@codesourcery.com>
24293 * timezone/tzselect.ksh: Update from tzcode git revision
24294 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24295 * timezone/zdump.c: Likewise.
24296 * timezone/zic.c: Likewise.
24297 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24298 in TZVERSION setting, not $(PKGVERSION).
24299 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
24300 REPORT_BUGS_TO settings.
24303 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24306 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24308 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24309 detection to immediately after _FP_ROUND().
24310 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24313 2012-11-11 David S. Miller <davem@davemloft.net>
24315 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24317 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24318 __close rather than their public counterparts.
24320 2012-11-10 Joseph Myers <joseph@codesourcery.com>
24322 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24324 [UNIX98] (sem_timedwait): Do not expect.
24325 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24326 [XPG4 || UNIX98] (sockatmark): Do not expect.
24327 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24328 (clock_getcpuclockid): Do not expect.
24329 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24330 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24332 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24333 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24334 [UNIX98] (vwscanf): Likewise.
24335 [UNIX98] (vswscanf): Likewise.
24337 2012-11-09 Joseph Myers <joseph@codesourcery.com>
24339 * timezone/version.h: Remove file.
24340 * timezone/README: Do not refer to version.h.
24341 * timezone/Makefile ($(objpfx)zic.o): New dependency on
24342 $(objpfx)version.h.
24343 ($(objpfx)zdump.o): Likewise.
24344 ($(objpfx)version.h): New target.
24346 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24348 * timezone/README: Don't mention modification to tzselect.ksh.
24349 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24350 work on unmodified tzselect.ksh. Substitute version numbers in
24353 * Makefile (format-me): Remove.
24354 (INSTALL): Adjust indentation. Use commands directly instead of
24355 using $(format-me).
24357 * aclocal.m4 (ACX_PKGVERSION): New macro.
24358 (ACX_BUGURL): Likewise.
24359 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24360 (PKGVERSION): New AC_DEFINE_UNQUOTED.
24361 (REPORT_BUGS_TO): Likewise.
24362 * configure: Regenerated.
24363 * config.h.in (PKGVERSION): New macro.
24364 (REPORT_BUGS_TO): Likewise.
24365 * config.make.in (PKGVERSION): New variable.
24366 (PKGVERSION_TEXI): Likewise.
24367 (REPORT_BUGS_TO): Likewise.
24368 (REPORT_BUGS_TEXI): Likewise.
24369 * Makefile (format-me): Use -I$(common-objpfx)manual.
24370 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24371 ($(common-objpfx)manual/%): New target.
24372 (manual/%): Remove target.
24373 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24374 (print_version): Use PKGVERSION.
24375 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24376 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24377 and REPORT_BUGS_TO.
24378 ($(objpfx)xtrace): Likewise.
24379 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24380 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24381 (print_version): Use PKGVERSION.
24382 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24383 (do_version): Use PKGVERSION.
24384 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24386 (common-ldd-rewrite): Likewise.
24387 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24388 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24389 (print_version): Use PKGVERSION.
24390 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24391 * elf/pldd.c (argp_program_bug_address): Remove variable.
24392 (more_help): New function.
24393 (argp): Use more_help.
24394 (print_version): Use PKGVERSION.
24395 * elf/sln.c (main): Use PKGVERSION.
24396 (usage): Use REPORT_BUGS_TO.
24397 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24398 (top level): Use PKGVERSION.
24399 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24400 (print_version): Use PKGVERSION.
24401 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24402 (print_version): Use PKGVERSION.
24403 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24404 (print_version): Use PKGVERSION.
24405 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24406 (print_version): Use PKGVERSION.
24407 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24408 (print_version): Use PKGVERSION.
24409 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24410 (print_version): Use PKGVERSION.
24411 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24413 ($(objpfx)memusage): Likewise.
24414 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24415 (do_version): Use PKGVERSION.
24416 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24417 (print_version): Use PKGVERSION.
24418 * malloc/mtrace.pl ($PACKAGE): Remove variable.
24419 ($PKGVERSION): New variable.
24420 ($REPORT_BUGS_TO): Likewise.
24421 (usage): Use $REPORT_BUGS_TO.
24422 (top level): Use $PKGVERSION.
24423 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24424 ($(objpfx)pkgvers.texi): New rule.
24425 ($(objpfx)stamp-pkgvers): Likewise.
24426 * manual/install.texi: Include pkgvers.texi.
24427 (--with-pkgversion): Document new configure option.
24428 (--with-bugurl): Likewise.
24429 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24430 than necessarily for this particular distribution. Use
24431 REPORT_BUGS_TO for where to report bugs.
24432 * INSTALL: Regenerated.
24433 * manual/libc.texinfo: Include pkgvers.texi.
24434 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24435 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24436 (print_version): Use PKGVERSION.
24437 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24438 (print_version): Use PKGVERSION.
24439 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24440 (print_version): Use PKGVERSION.
24441 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24442 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24444 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24445 (print_version): Use PKGVERSION.
24446 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24447 (print_version): Use PKGVERSION.
24448 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24451 * timezone/checktab.awk: Update from tzcode 2012i.
24452 * timezone/ialloc.c: Likewise.
24453 * timezone/private.h: Likewise.
24454 * timezone/scheck.c: Likewise.
24455 * timezone/tzfile.h: Likewise.
24456 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24457 (TZVERSION): Hardcode tzcode version number.
24458 * timezone/zdump.c: Update from tzcode 2012i.
24459 * timezone/zic.c: Likewise.
24460 * timezone/version.h: New file.
24461 * timezone/README: Describe version.h. Update upstream location.
24464 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24465 (mktemp): Enable declaration.
24466 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24467 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24468 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24469 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24471 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24473 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24475 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24477 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24483 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24484 offset in buffer as u_int32_t not u_long. Consistently use memcpy
24485 for copies of such integer values.
24486 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24487 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24489 2012-11-09 Andreas Jaeger <aj@suse.de>
24491 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24492 definitions and declarations that are provided by
24493 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24495 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24497 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24498 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24499 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24502 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24504 * elf/elf.h: Update comment before AArch64 relocations.
24506 2012-11-07 David S. Miller <davem@davemloft.net>
24508 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24509 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24510 (__start_context): Declare.
24511 (__makecontext_ret): Delete.
24512 (__makecontext): Hook up __start_context instead of
24514 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24515 (sysdep_routines): Add __start_context when in stdlib.
24517 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24519 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24520 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24521 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24523 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24524 (READELF): New variable. Use it instead of hardcoded "readelf".
24526 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24528 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24529 * sysdeps/x86/Makefile: Here.
24530 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24531 * sysdeps/x86/tst-xmmymm.sh: This.
24533 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24535 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24537 [UNIX98] (pthread_barrier_t): Do not expect.
24538 [UNIX98] (pthread_barrierattr_t): Likewise.
24539 [UNIX98] (pthread_spinlock_t): Likewise.
24540 [UNIX98] (pthread_barrier_destroy): Likewise.
24541 [UNIX98] (pthread_barrier_init): Likewise.
24542 [UNIX98] (pthread_barrier_wait): Likewise.
24543 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24544 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24545 [UNIX98] (pthread_barrierattr_init): Likewise.
24546 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24547 [UNIX98] (pthread_getcpuclockid): Likewise.
24548 [UNIX98] (pthread_mutex_timedlock): Likewise.
24549 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24550 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24551 [UNIX98] (pthread_sigmask): Likewise.
24552 [UNIX98] (pthread_spin_destroy): Likewise.
24553 [UNIX98] (pthread_spin_init): Likewise.
24554 [UNIX98] (pthread_spin_lock): Likewise.
24555 [UNIX98] (pthread_spin_trylock): Likewise.
24556 [UNIX98] (pthread_spin_unlock): Likewise.
24557 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24559 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24560 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24561 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24562 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24563 [XPG3 || XPG4] (pthread_key_t): Likewise.
24564 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24565 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24566 [XPG3 || XPG4] (pthread_once_t): Likewise.
24567 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24568 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24569 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24570 [XPG3 || XPG4] (pthread_t): Likewise.
24572 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24574 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24576 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24577 Change function return type to int.
24579 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24580 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24581 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24582 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24583 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24584 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24585 [!POSIX] (posix_madvise): Likewise.
24586 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24588 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24589 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24590 (mode_t): Likewise.
24591 (posix_mem_offset): Likewise.
24592 (posix_typed_mem_get_info): Likewise.
24593 (posix_typed_mem_open): Likewise.
24595 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24596 Change condition to [XOPEN2K8].
24598 * conform/conformtest.pl: Preprocess allow-header data with -x c
24599 instead of from stdin.
24600 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24601 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24602 [C99-based standards] (cerfc): Likewise.
24603 [C99-based standards] (cexp2): Likewise.
24604 [C99-based standards] (cexpm1): Likewise.
24605 [C99-based standards] (clog10): Likewise.
24606 [C99-based standards] (clog1p): Likewise.
24607 [C99-based standards] (clog2): Likewise.
24608 [C99-based standards] (clgamma): Likewise.
24609 [C99-based standards] (ctgamma): Likewise.
24610 [C99-based standards] (cerff): Likewise.
24611 [C99-based standards] (cerfcf): Likewise.
24612 [C99-based standards] (cexp2f): Likewise.
24613 [C99-based standards] (cexpm1f): Likewise.
24614 [C99-based standards] (clog10f): Likewise.
24615 [C99-based standards] (clog1pf): Likewise.
24616 [C99-based standards] (clog2f): Likewise.
24617 [C99-based standards] (clgammaf): Likewise.
24618 [C99-based standards] (ctgammaf): Likewise.
24619 [C99-based standards] (cerfl): Likewise.
24620 [C99-based standards] (cerfcl): Likewise.
24621 [C99-based standards] (cexp2l): Likewise.
24622 [C99-based standards] (cexpm1l): Likewise.
24623 [C99-based standards] (clog10l): Likewise.
24624 [C99-based standards] (clog1pl): Likewise.
24625 [C99-based standards] (clog2l): Likewise.
24626 [C99-based standards] (clgammal): Likewise.
24627 [C99-based standards] (ctgammal): Likewise.
24628 * conform/data/inttypes.h-data [C99-based standards]: Include
24629 stdint.h-data. Remove all expectations for stdint.h contents.
24630 [C99-based standards] (PRI*): Do not allow.
24631 [C99-based standards] (SCN*): Likewise.
24632 [C99-based standards] (*_t): Likewise.
24633 [C99-based-standards] (PRId8): Expect macro.
24634 [C99-based-standards] (PRIi8): Likewise.
24635 [C99-based-standards] (PRIo8): Likewise.
24636 [C99-based-standards] (PRIu8): Likewise.
24637 [C99-based-standards] (PRIx8): Likewise.
24638 [C99-based-standards] (PRIX8): Likewise.
24639 [C99-based-standards] (SCNd8): Likewise.
24640 [C99-based-standards] (SCNi8): Likewise.
24641 [C99-based-standards] (SCNo8): Likewise.
24642 [C99-based-standards] (SCNu8): Likewise.
24643 [C99-based-standards] (SCNx8): Likewise.
24644 [C99-based-standards] (PRIdLEAST8): Likewise.
24645 [C99-based-standards] (PRIiLEAST8): Likewise.
24646 [C99-based-standards] (PRIoLEAST8): Likewise.
24647 [C99-based-standards] (PRIuLEAST8): Likewise.
24648 [C99-based-standards] (PRIxLEAST8): Likewise.
24649 [C99-based-standards] (PRIXLEAST8): Likewise.
24650 [C99-based-standards] (SCNdLEAST8): Likewise.
24651 [C99-based-standards] (SCNiLEAST8): Likewise.
24652 [C99-based-standards] (SCNoLEAST8): Likewise.
24653 [C99-based-standards] (SCNuLEAST8): Likewise.
24654 [C99-based-standards] (SCNxLEAST8): Likewise.
24655 [C99-based-standards] (PRIdFAST8): Likewise.
24656 [C99-based-standards] (PRIiFAST8): Likewise.
24657 [C99-based-standards] (PRIoFAST8): Likewise.
24658 [C99-based-standards] (PRIuFAST8): Likewise.
24659 [C99-based-standards] (PRIxFAST8): Likewise.
24660 [C99-based-standards] (PRIXFAST8): Likewise.
24661 [C99-based-standards] (SCNdFAST8): Likewise.
24662 [C99-based-standards] (SCNiFAST8): Likewise.
24663 [C99-based-standards] (SCNoFAST8): Likewise.
24664 [C99-based-standards] (SCNuFAST8): Likewise.
24665 [C99-based-standards] (SCNxFAST8): Likewise.
24666 [C99-based-standards] (PRId16): Likewise.
24667 [C99-based-standards] (PRIi16): Likewise.
24668 [C99-based-standards] (PRIo16): Likewise.
24669 [C99-based-standards] (PRIu16): Likewise.
24670 [C99-based-standards] (PRIx16): Likewise.
24671 [C99-based-standards] (PRIX16): Likewise.
24672 [C99-based-standards] (SCNd16): Likewise.
24673 [C99-based-standards] (SCNi16): Likewise.
24674 [C99-based-standards] (SCNo16): Likewise.
24675 [C99-based-standards] (SCNu16): Likewise.
24676 [C99-based-standards] (SCNx16): Likewise.
24677 [C99-based-standards] (PRIdLEAST16): Likewise.
24678 [C99-based-standards] (PRIiLEAST16): Likewise.
24679 [C99-based-standards] (PRIoLEAST16): Likewise.
24680 [C99-based-standards] (PRIuLEAST16): Likewise.
24681 [C99-based-standards] (PRIxLEAST16): Likewise.
24682 [C99-based-standards] (PRIXLEAST16): Likewise.
24683 [C99-based-standards] (SCNdLEAST16): Likewise.
24684 [C99-based-standards] (SCNiLEAST16): Likewise.
24685 [C99-based-standards] (SCNoLEAST16): Likewise.
24686 [C99-based-standards] (SCNuLEAST16): Likewise.
24687 [C99-based-standards] (SCNxLEAST16): Likewise.
24688 [C99-based-standards] (PRIdFAST16): Likewise.
24689 [C99-based-standards] (PRIiFAST16): Likewise.
24690 [C99-based-standards] (PRIoFAST16): Likewise.
24691 [C99-based-standards] (PRIuFAST16): Likewise.
24692 [C99-based-standards] (PRIxFAST16): Likewise.
24693 [C99-based-standards] (PRIXFAST16): Likewise.
24694 [C99-based-standards] (SCNdFAST16): Likewise.
24695 [C99-based-standards] (SCNiFAST16): Likewise.
24696 [C99-based-standards] (SCNoFAST16): Likewise.
24697 [C99-based-standards] (SCNuFAST16): Likewise.
24698 [C99-based-standards] (SCNxFAST16): Likewise.
24699 [C99-based-standards] (PRId32): Likewise.
24700 [C99-based-standards] (PRIi32): Likewise.
24701 [C99-based-standards] (PRIo32): Likewise.
24702 [C99-based-standards] (PRIu32): Likewise.
24703 [C99-based-standards] (PRIx32): Likewise.
24704 [C99-based-standards] (PRIX32): Likewise.
24705 [C99-based-standards] (SCNd32): Likewise.
24706 [C99-based-standards] (SCNi32): Likewise.
24707 [C99-based-standards] (SCNo32): Likewise.
24708 [C99-based-standards] (SCNu32): Likewise.
24709 [C99-based-standards] (SCNx32): Likewise.
24710 [C99-based-standards] (PRIdLEAST32): Likewise.
24711 [C99-based-standards] (PRIiLEAST32): Likewise.
24712 [C99-based-standards] (PRIoLEAST32): Likewise.
24713 [C99-based-standards] (PRIuLEAST32): Likewise.
24714 [C99-based-standards] (PRIxLEAST32): Likewise.
24715 [C99-based-standards] (PRIXLEAST32): Likewise.
24716 [C99-based-standards] (SCNdLEAST32): Likewise.
24717 [C99-based-standards] (SCNiLEAST32): Likewise.
24718 [C99-based-standards] (SCNoLEAST32): Likewise.
24719 [C99-based-standards] (SCNuLEAST32): Likewise.
24720 [C99-based-standards] (SCNxLEAST32): Likewise.
24721 [C99-based-standards] (PRIdFAST32): Likewise.
24722 [C99-based-standards] (PRIiFAST32): Likewise.
24723 [C99-based-standards] (PRIoFAST32): Likewise.
24724 [C99-based-standards] (PRIuFAST32): Likewise.
24725 [C99-based-standards] (PRIxFAST32): Likewise.
24726 [C99-based-standards] (PRIXFAST32): Likewise.
24727 [C99-based-standards] (SCNdFAST32): Likewise.
24728 [C99-based-standards] (SCNiFAST32): Likewise.
24729 [C99-based-standards] (SCNoFAST32): Likewise.
24730 [C99-based-standards] (SCNuFAST32): Likewise.
24731 [C99-based-standards] (SCNxFAST32): Likewise.
24732 [C99-based-standards] (PRId64): Likewise.
24733 [C99-based-standards] (PRIi64): Likewise.
24734 [C99-based-standards] (PRIo64): Likewise.
24735 [C99-based-standards] (PRIu64): Likewise.
24736 [C99-based-standards] (PRIx64): Likewise.
24737 [C99-based-standards] (PRIX64): Likewise.
24738 [C99-based-standards] (SCNd64): Likewise.
24739 [C99-based-standards] (SCNi64): Likewise.
24740 [C99-based-standards] (SCNo64): Likewise.
24741 [C99-based-standards] (SCNu64): Likewise.
24742 [C99-based-standards] (SCNx64): Likewise.
24743 [C99-based-standards] (PRIdLEAST64): Likewise.
24744 [C99-based-standards] (PRIiLEAST64): Likewise.
24745 [C99-based-standards] (PRIoLEAST64): Likewise.
24746 [C99-based-standards] (PRIuLEAST64): Likewise.
24747 [C99-based-standards] (PRIxLEAST64): Likewise.
24748 [C99-based-standards] (PRIXLEAST64): Likewise.
24749 [C99-based-standards] (SCNdLEAST64): Likewise.
24750 [C99-based-standards] (SCNiLEAST64): Likewise.
24751 [C99-based-standards] (SCNoLEAST64): Likewise.
24752 [C99-based-standards] (SCNuLEAST64): Likewise.
24753 [C99-based-standards] (SCNxLEAST64): Likewise.
24754 [C99-based-standards] (PRIdFAST64): Likewise.
24755 [C99-based-standards] (PRIiFAST64): Likewise.
24756 [C99-based-standards] (PRIoFAST64): Likewise.
24757 [C99-based-standards] (PRIuFAST64): Likewise.
24758 [C99-based-standards] (PRIxFAST64): Likewise.
24759 [C99-based-standards] (PRIXFAST64): Likewise.
24760 [C99-based-standards] (SCNdFAST64): Likewise.
24761 [C99-based-standards] (SCNiFAST64): Likewise.
24762 [C99-based-standards] (SCNoFAST64): Likewise.
24763 [C99-based-standards] (SCNuFAST64): Likewise.
24764 [C99-based-standards] (SCNxFAST64): Likewise.
24765 [C99-based-standards] (PRIdMAX): Likewise.
24766 [C99-based-standards] (PRIiMAX): Likewise.
24767 [C99-based-standards] (PRIoMAX): Likewise.
24768 [C99-based-standards] (PRIuMAX): Likewise.
24769 [C99-based-standards] (PRIxMAX): Likewise.
24770 [C99-based-standards] (PRIXMAX): Likewise.
24771 [C99-based-standards] (SCNdMAX): Likewise.
24772 [C99-based-standards] (SCNiMAX): Likewise.
24773 [C99-based-standards] (SCNoMAX): Likewise.
24774 [C99-based-standards] (SCNuMAX): Likewise.
24775 [C99-based-standards] (SCNxMAX): Likewise.
24776 [C99-based-standards] (PRIdPTR): Likewise.
24777 [C99-based-standards] (PRIiPTR): Likewise.
24778 [C99-based-standards] (PRIoPTR): Likewise.
24779 [C99-based-standards] (PRIuPTR): Likewise.
24780 [C99-based-standards] (PRIxPTR): Likewise.
24781 [C99-based-standards] (PRIXPTR): Likewise.
24782 [C99-based-standards] (SCNdPTR): Likewise.
24783 [C99-based-standards] (SCNiPTR): Likewise.
24784 [C99-based-standards] (SCNoPTR): Likewise.
24785 [C99-based-standards] (SCNuPTR): Likewise.
24786 [C99-based-standards] (SCNxPTR): Likewise.
24787 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24789 * conform/data/stdint.h-data: Update comments to clarify
24791 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24793 [C99-based standards] (INT8_MAX): Likewise.
24794 [C99-based standards] (INT16_MIN): Likewise.
24795 [C99-based standards] (INT16_MAX): Likewise.
24796 [C99-based standards] (INT32_MIN): Likewise.
24797 [C99-based standards] (INT32_MAX): Likewise.
24798 [C99-based standards] (INT64_MIN): Likewise.
24799 [C99-based standards] (INT64_MAX): Likewise.
24800 [C99-based standards] (UINT8_MAX): Likewise.
24801 [C99-based standards] (UINT16_MAX): Likewise.
24802 [C99-based standards] (UINT32_MAX): Likewise.
24803 [C99-based standards] (UINT64_MAX): Likewise.
24804 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24805 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24806 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24807 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24808 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24809 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24810 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24811 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24812 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24813 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24814 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24815 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24816 [C99-based standards] (INT_FAST8_MIN): Likewise.
24817 [C99-based standards] (INT_FAST8_MAX): Likewise.
24818 [C99-based standards] (INT_FAST16_MIN): Likewise.
24819 [C99-based standards] (INT_FAST16_MAX): Likewise.
24820 [C99-based standards] (INT_FAST32_MIN): Likewise.
24821 [C99-based standards] (INT_FAST32_MAX): Likewise.
24822 [C99-based standards] (INT_FAST64_MIN): Likewise.
24823 [C99-based standards] (INT_FAST64_MAX): Likewise.
24824 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24825 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24826 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24827 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24828 [C99-based standards] (INTPTR_MIN): Likewise.
24829 [C99-based standards] (INTPTR_MAX): Likewise.
24830 [C99-based standards] (UINTPTR_MAX): Likewise.
24831 [C99-based standards] (INTMAX_MIN): Likewise.
24832 [C99-based standards] (INTMAX_MAX): Likewise.
24833 [C99-based standards] (UINTMAX_MAX): Likewise.
24834 [C99-based standards] (PTRDIFF_MIN): Likewise.
24835 [C99-based standards] (PTRDIFF_MAX): Likewise.
24836 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24837 [C99-based standards] (SIZE_MAX): Likewise.
24838 [C99-based standards] (WCHAR_MAX): Likewise.
24839 [C99-based standards] (WINT_MAX): Likewise.
24840 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24841 constraint on value.
24842 [C99-based standards] (WCHAR_MIN): Likewise.
24843 [C99-based standards] (WINT_MIN): Likewise.
24844 [C99-based standards] (*_t): Allow.
24845 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24846 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24847 Include math.h-data and complex.h-data. Remove all expectations
24848 of math.h and complex.h contents.
24849 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24851 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24852 (struct tm): Expect tag.
24853 [C99-based-standards] (wcstof): Expect function.
24854 [C99-based-standards] (wcstold): Likewise.
24855 [C99-based-standards] (wcstoll): Likewise.
24856 [C99-based-standards] (wcstoull): Likewise.
24857 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24858 macro-int-constant. Specify type.
24859 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24860 constraint on value.
24861 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24863 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24865 [ISO C standards]: Do not allow headers.
24866 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24867 wcs[abcdefghijklmnopqrstuvwxyz]*.
24868 [ISO C standards] (*_t): Do not allow.
24869 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24871 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24872 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24874 [ISO C standards]: Do not allow headers.
24875 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24876 is[abcdefghijklmnopqrstuvwxyz]*.
24877 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24878 to[abcdefghijklmnopqrstuvwxyz]*.
24879 [ISO C standards] (*_t): Do not allow.
24880 * conform/data/stdalign.h-data: New file.
24881 * conform/data/stdbool.h-data: Likewise.
24882 * conform/data/stdnoreturn.h-data: Likewise.
24884 2012-11-07 Roland McGrath <roland@hack.frob.com>
24887 * manual/filesys.texi (Directory Entries): Typo fix.
24888 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24890 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24892 * elf/elf.h (EM_AARCH64): New macro.
24893 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24894 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24895 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24896 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24897 (R_AARCH64_TLSDESC): Likewise.
24898 (NT_ARM_TLS): Likewise.
24899 (NT_ARM_HW_BREAK): Likewise.
24900 (NT_ARM_HW_WATCH): Likewise.
24902 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24905 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24906 (__ieee754_powl): Saturate nonzero exponents with absolute value
24907 below 0x1p-79 to +/- 0x1p-79.
24908 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24909 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24910 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24911 nonzero exponents with absolute value below 0x1p-32 to +/-
24913 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24914 (__ieee754_powl): Saturate nonzero exponents with absolute value
24915 below 0x1p-79 to +/- 0x1p-79.
24916 * math/libm-test.inc (pow_test): Add more tests.
24918 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24920 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24921 _dl_s390_cap_flags with kernel. Increase string length.
24922 (_dl_s390_platforms): Add z196 and zEC12.
24924 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24926 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24927 Change XOPEN21K to XOPEN2K.
24929 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24931 * string/memmove.c: Use memcpy when possible.
24933 2012-11-06 Andreas Jaeger <aj@suse.de>
24935 * po/eo.po: Update from translation team.
24937 2012-11-06 Joseph Myers <joseph@codesourcery.com>
24940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24941 exponent and small x and y exponents, scale x or y up. Increase
24942 by 2 the exponent used in scaling up.
24943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24944 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24945 * math/libm-test.inc (fma_test): Add more tests.
24946 (fma_test_towardzero): Likewise.
24947 (fma_test_downward): Likewise.
24948 (fma_test_upward): Likewise.
24950 2012-11-05 Joseph Myers <joseph@codesourcery.com>
24953 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24957 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24958 namespace for names of struct fields.
24959 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24961 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24962 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24964 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24967 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24969 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24971 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24975 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24978 2012-11-04 Joseph Myers <joseph@codesourcery.com>
24981 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24982 definitely overflow as x * y not x * y + z.
24983 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24984 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24985 * math/libm-test.inc (fma_test): Add more tests.
24986 (fma_test_towardzero): Likewise.
24987 (fma_test_downward): Likewise.
24988 (fma_test_upward): Likewise.
24990 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24994 * include/stub-tag.h: Remove file.
24995 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24997 * manual/maint.texi (Porting): Don't reference it.
24998 * Makerules ($(objpfx)stubs): Likewise.
24999 * dirent/closedir.c: Don't include <stub-tag.h>.
25000 * dirent/dirfd.c: Likewise.
25001 * dirent/fdopendir.c: Likewise.
25002 * dirent/getdents.c: Likewise.
25003 * dirent/getdents64.c: Likewise.
25004 * dirent/opendir.c: Likewise.
25005 * dirent/readdir.c: Likewise.
25006 * dirent/readdir64.c: Likewise.
25007 * dirent/readdir64_r.c: Likewise.
25008 * dirent/readdir_r.c: Likewise.
25009 * dirent/rewinddir.c: Likewise.
25010 * dirent/seekdir.c: Likewise.
25011 * dirent/telldir.c: Likewise.
25012 * gmon/profil.c: Likewise.
25013 * grp/setgroups.c: Likewise.
25014 * inet/if_index.c: Likewise.
25015 * io/access.c: Likewise.
25016 * io/chdir.c: Likewise.
25017 * io/chmod.c: Likewise.
25018 * io/chown.c: Likewise.
25019 * io/close.c: Likewise.
25020 * io/dup.c: Likewise.
25021 * io/dup2.c: Likewise.
25022 * io/dup3.c: Likewise.
25023 * io/euidaccess.c: Likewise.
25024 * io/faccessat.c: Likewise.
25025 * io/fchdir.c: Likewise.
25026 * io/fchmod.c: Likewise.
25027 * io/fchmodat.c: Likewise.
25028 * io/fchown.c: Likewise.
25029 * io/fchownat.c: Likewise.
25030 * io/fcntl.c: Likewise.
25031 * io/flock.c: Likewise.
25032 * io/fstatfs.c: Likewise.
25033 * io/fstatfs64.c: Likewise.
25034 * io/fstatvfs.c: Likewise.
25035 * io/fstatvfs64.c: Likewise.
25036 * io/futimens.c: Likewise.
25037 * io/fxstat.c: Likewise.
25038 * io/fxstat64.c: Likewise.
25039 * io/fxstatat.c: Likewise.
25040 * io/fxstatat64.c: Likewise.
25041 * io/getcwd.c: Likewise.
25042 * io/isatty.c: Likewise.
25043 * io/lchmod.c: Likewise.
25044 * io/lchown.c: Likewise.
25045 * io/link.c: Likewise.
25046 * io/linkat.c: Likewise.
25047 * io/lseek.c: Likewise.
25048 * io/lseek64.c: Likewise.
25049 * io/lxstat64.c: Likewise.
25050 * io/mkdir.c: Likewise.
25051 * io/mkdirat.c: Likewise.
25052 * io/mkfifo.c: Likewise.
25053 * io/mkfifoat.c: Likewise.
25054 * io/open.c: Likewise.
25055 * io/open64.c: Likewise.
25056 * io/openat.c: Likewise.
25057 * io/openat64.c: Likewise.
25058 * io/pipe.c: Likewise.
25059 * io/pipe2.c: Likewise.
25060 * io/poll.c: Likewise.
25061 * io/posix_fadvise.c: Likewise.
25062 * io/posix_fadvise64.c: Likewise.
25063 * io/posix_fallocate.c: Likewise.
25064 * io/posix_fallocate64.c: Likewise.
25065 * io/read.c: Likewise.
25066 * io/readlink.c: Likewise.
25067 * io/readlinkat.c: Likewise.
25068 * io/rmdir.c: Likewise.
25069 * io/sendfile.c: Likewise.
25070 * io/sendfile64.c: Likewise.
25071 * io/statfs.c: Likewise.
25072 * io/statfs64.c: Likewise.
25073 * io/statvfs.c: Likewise.
25074 * io/statvfs64.c: Likewise.
25075 * io/symlink.c: Likewise.
25076 * io/symlinkat.c: Likewise.
25077 * io/ttyname.c: Likewise.
25078 * io/ttyname_r.c: Likewise.
25079 * io/umask.c: Likewise.
25080 * io/unlink.c: Likewise.
25081 * io/unlinkat.c: Likewise.
25082 * io/utime.c: Likewise.
25083 * io/utimensat.c: Likewise.
25084 * io/write.c: Likewise.
25085 * io/xmknod.c: Likewise.
25086 * io/xmknodat.c: Likewise.
25087 * io/xstat.c: Likewise.
25088 * io/xstat64.c: Likewise.
25089 * login/getpt.c: Likewise.
25090 * login/grantpt.c: Likewise.
25091 * login/unlockpt.c: Likewise.
25092 * math/e_acoshl.c: Likewise.
25093 * math/e_acosl.c: Likewise.
25094 * math/e_asinl.c: Likewise.
25095 * math/e_atan2l.c: Likewise.
25096 * math/e_atanhl.c: Likewise.
25097 * math/e_coshl.c: Likewise.
25098 * math/e_expl.c: Likewise.
25099 * math/e_fmodl.c: Likewise.
25100 * math/e_gammal_r.c: Likewise.
25101 * math/e_hypotl.c: Likewise.
25102 * math/e_j0l.c: Likewise.
25103 * math/e_j1l.c: Likewise.
25104 * math/e_jnl.c: Likewise.
25105 * math/e_lgammal_r.c: Likewise.
25106 * math/e_log10l.c: Likewise.
25107 * math/e_log2l.c: Likewise.
25108 * math/e_logl.c: Likewise.
25109 * math/e_powl.c: Likewise.
25110 * math/e_rem_pio2l.c: Likewise.
25111 * math/e_sinhl.c: Likewise.
25112 * math/e_sqrtl.c: Likewise.
25113 * math/fclrexcpt.c: Likewise.
25114 * math/fedisblxcpt.c: Likewise.
25115 * math/feenablxcpt.c: Likewise.
25116 * math/fegetenv.c: Likewise.
25117 * math/fegetexcept.c: Likewise.
25118 * math/fegetround.c: Likewise.
25119 * math/feholdexcpt.c: Likewise.
25120 * math/fesetenv.c: Likewise.
25121 * math/fesetround.c: Likewise.
25122 * math/feupdateenv.c: Likewise.
25123 * math/fgetexcptflg.c: Likewise.
25124 * math/fraiseexcpt.c: Likewise.
25125 * math/fsetexcptflg.c: Likewise.
25126 * math/ftestexcept.c: Likewise.
25127 * math/k_cosl.c: Likewise.
25128 * math/k_rem_pio2l.c: Likewise.
25129 * math/k_sinl.c: Likewise.
25130 * math/k_tanl.c: Likewise.
25131 * math/s_asinhl.c: Likewise.
25132 * math/s_atanl.c: Likewise.
25133 * math/s_cbrtl.c: Likewise.
25134 * math/s_erfl.c: Likewise.
25135 * math/s_expm1l.c: Likewise.
25136 * math/s_log1pl.c: Likewise.
25137 * math/s_tanhl.c: Likewise.
25138 * misc/acct.c: Likewise.
25139 * misc/brk.c: Likewise.
25140 * misc/chflags.c: Likewise.
25141 * misc/chroot.c: Likewise.
25142 * misc/fchflags.c: Likewise.
25143 * misc/fgetxattr.c: Likewise.
25144 * misc/flistxattr.c: Likewise.
25145 * misc/fremovexattr.c: Likewise.
25146 * misc/fsetxattr.c: Likewise.
25147 * misc/fsync.c: Likewise.
25148 * misc/ftruncate.c: Likewise.
25149 * misc/futimes.c: Likewise.
25150 * misc/futimesat.c: Likewise.
25151 * misc/getdomain.c: Likewise.
25152 * misc/getdtsz.c: Likewise.
25153 * misc/gethostid.c: Likewise.
25154 * misc/gethostname.c: Likewise.
25155 * misc/getloadavg.c: Likewise.
25156 * misc/getpagesize.c: Likewise.
25157 * misc/getsysstats.c: Likewise.
25158 * misc/getxattr.c: Likewise.
25159 * misc/gtty.c: Likewise.
25160 * misc/ioctl.c: Likewise.
25161 * misc/lgetxattr.c: Likewise.
25162 * misc/listxattr.c: Likewise.
25163 * misc/llistxattr.c: Likewise.
25164 * misc/lremovexattr.c: Likewise.
25165 * misc/lsetxattr.c: Likewise.
25166 * misc/lutimes.c: Likewise.
25167 * misc/madvise.c: Likewise.
25168 * misc/mincore.c: Likewise.
25169 * misc/mlock.c: Likewise.
25170 * misc/mlockall.c: Likewise.
25171 * misc/mmap.c: Likewise.
25172 * misc/mprotect.c: Likewise.
25173 * misc/msync.c: Likewise.
25174 * misc/munlock.c: Likewise.
25175 * misc/munlockall.c: Likewise.
25176 * misc/munmap.c: Likewise.
25177 * misc/preadv.c: Likewise.
25178 * misc/preadv64.c: Likewise.
25179 * misc/ptrace.c: Likewise.
25180 * misc/pwritev.c: Likewise.
25181 * misc/pwritev64.c: Likewise.
25182 * misc/readv.c: Likewise.
25183 * misc/reboot.c: Likewise.
25184 * misc/remap_file_pages.c: Likewise.
25185 * misc/removexattr.c: Likewise.
25186 * misc/revoke.c: Likewise.
25187 * misc/select.c: Likewise.
25188 * misc/setdomain.c: Likewise.
25189 * misc/setegid.c: Likewise.
25190 * misc/seteuid.c: Likewise.
25191 * misc/sethostid.c: Likewise.
25192 * misc/sethostname.c: Likewise.
25193 * misc/setregid.c: Likewise.
25194 * misc/setreuid.c: Likewise.
25195 * misc/setxattr.c: Likewise.
25196 * misc/sstk.c: Likewise.
25197 * misc/stty.c: Likewise.
25198 * misc/swapoff.c: Likewise.
25199 * misc/swapon.c: Likewise.
25200 * misc/sync.c: Likewise.
25201 * misc/syncfs.c: Likewise.
25202 * misc/syscall.c: Likewise.
25203 * misc/truncate.c: Likewise.
25204 * misc/ualarm.c: Likewise.
25205 * misc/usleep.c: Likewise.
25206 * misc/ustat.c: Likewise.
25207 * misc/utimes.c: Likewise.
25208 * misc/vhangup.c: Likewise.
25209 * misc/writev.c: Likewise.
25210 * posix/_exit.c: Likewise.
25211 * posix/alarm.c: Likewise.
25212 * posix/execve.c: Likewise.
25213 * posix/fexecve.c: Likewise.
25214 * posix/fork.c: Likewise.
25215 * posix/fpathconf.c: Likewise.
25216 * posix/getaddrinfo.c: Likewise.
25217 * posix/getegid.c: Likewise.
25218 * posix/geteuid.c: Likewise.
25219 * posix/getgid.c: Likewise.
25220 * posix/getgroups.c: Likewise.
25221 * posix/getlogin.c: Likewise.
25222 * posix/getlogin_r.c: Likewise.
25223 * posix/getpgid.c: Likewise.
25224 * posix/getpid.c: Likewise.
25225 * posix/getppid.c: Likewise.
25226 * posix/getresgid.c: Likewise.
25227 * posix/getresuid.c: Likewise.
25228 * posix/getsid.c: Likewise.
25229 * posix/getuid.c: Likewise.
25230 * posix/glob64.c: Likewise.
25231 * posix/nanosleep.c: Likewise.
25232 * posix/pathconf.c: Likewise.
25233 * posix/pause.c: Likewise.
25234 * posix/posix_madvise.c: Likewise.
25235 * posix/pread.c: Likewise.
25236 * posix/pread64.c: Likewise.
25237 * posix/pwrite.c: Likewise.
25238 * posix/pwrite64.c: Likewise.
25239 * posix/sched_getaffinity.c: Likewise.
25240 * posix/sched_getp.c: Likewise.
25241 * posix/sched_gets.c: Likewise.
25242 * posix/sched_primax.c: Likewise.
25243 * posix/sched_primin.c: Likewise.
25244 * posix/sched_rr_gi.c: Likewise.
25245 * posix/sched_setaffinity.c: Likewise.
25246 * posix/sched_setp.c: Likewise.
25247 * posix/sched_sets.c: Likewise.
25248 * posix/sched_yield.c: Likewise.
25249 * posix/setgid.c: Likewise.
25250 * posix/setlogin.c: Likewise.
25251 * posix/setpgid.c: Likewise.
25252 * posix/setresgid.c: Likewise.
25253 * posix/setresuid.c: Likewise.
25254 * posix/setsid.c: Likewise.
25255 * posix/setuid.c: Likewise.
25256 * posix/sleep.c: Likewise.
25257 * posix/spawni.c: Likewise.
25258 * posix/sysconf.c: Likewise.
25259 * posix/times.c: Likewise.
25260 * posix/wait.c: Likewise.
25261 * posix/wait3.c: Likewise.
25262 * posix/wait4.c: Likewise.
25263 * posix/waitpid.c: Likewise.
25264 * resolv/gai_sigqueue.c: Likewise.
25265 * resource/getpriority.c: Likewise.
25266 * resource/getrlimit.c: Likewise.
25267 * resource/getrusage.c: Likewise.
25268 * resource/nice.c: Likewise.
25269 * resource/setpriority.c: Likewise.
25270 * resource/setrlimit.c: Likewise.
25271 * resource/ulimit.c: Likewise.
25272 * rt/aio_cancel.c: Likewise.
25273 * rt/aio_fsync.c: Likewise.
25274 * rt/aio_read.c: Likewise.
25275 * rt/aio_sigqueue.c: Likewise.
25276 * rt/aio_suspend.c: Likewise.
25277 * rt/aio_write.c: Likewise.
25278 * rt/clock_getres.c: Likewise.
25279 * rt/clock_gettime.c: Likewise.
25280 * rt/clock_nanosleep.c: Likewise.
25281 * rt/clock_settime.c: Likewise.
25282 * rt/lio_listio.c: Likewise.
25283 * rt/mq_close.c: Likewise.
25284 * rt/mq_getattr.c: Likewise.
25285 * rt/mq_notify.c: Likewise.
25286 * rt/mq_open.c: Likewise.
25287 * rt/mq_receive.c: Likewise.
25288 * rt/mq_send.c: Likewise.
25289 * rt/mq_setattr.c: Likewise.
25290 * rt/mq_timedreceive.c: Likewise.
25291 * rt/mq_timedsend.c: Likewise.
25292 * rt/mq_unlink.c: Likewise.
25293 * rt/shm_open.c: Likewise.
25294 * rt/shm_unlink.c: Likewise.
25295 * rt/timer_create.c: Likewise.
25296 * rt/timer_delete.c: Likewise.
25297 * rt/timer_getoverr.c: Likewise.
25298 * rt/timer_gettime.c: Likewise.
25299 * rt/timer_settime.c: Likewise.
25300 * setjmp/__longjmp.c: Likewise.
25301 * setjmp/setjmp.c: Likewise.
25302 * signal/kill.c: Likewise.
25303 * signal/killpg.c: Likewise.
25304 * signal/raise.c: Likewise.
25305 * signal/sigaction.c: Likewise.
25306 * signal/sigaltstack.c: Likewise.
25307 * signal/sigblock.c: Likewise.
25308 * signal/sigignore.c: Likewise.
25309 * signal/sigintr.c: Likewise.
25310 * signal/signal.c: Likewise.
25311 * signal/sigpause.c: Likewise.
25312 * signal/sigpending.c: Likewise.
25313 * signal/sigqueue.c: Likewise.
25314 * signal/sigreturn.c: Likewise.
25315 * signal/sigset.c: Likewise.
25316 * signal/sigsetmask.c: Likewise.
25317 * signal/sigstack.c: Likewise.
25318 * signal/sigsuspend.c: Likewise.
25319 * signal/sigtimedwait.c: Likewise.
25320 * signal/sigvec.c: Likewise.
25321 * signal/sigwait.c: Likewise.
25322 * signal/sigwaitinfo.c: Likewise.
25323 * signal/sysv_signal.c: Likewise.
25324 * socket/accept.c: Likewise.
25325 * socket/accept4.c: Likewise.
25326 * socket/bind.c: Likewise.
25327 * socket/connect.c: Likewise.
25328 * socket/getpeername.c: Likewise.
25329 * socket/getsockname.c: Likewise.
25330 * socket/getsockopt.c: Likewise.
25331 * socket/isfdtype.c: Likewise.
25332 * socket/listen.c: Likewise.
25333 * socket/recv.c: Likewise.
25334 * socket/recvfrom.c: Likewise.
25335 * socket/recvmsg.c: Likewise.
25336 * socket/send.c: Likewise.
25337 * socket/sendmsg.c: Likewise.
25338 * socket/sendto.c: Likewise.
25339 * socket/setsockopt.c: Likewise.
25340 * socket/shutdown.c: Likewise.
25341 * socket/sockatmark.c: Likewise.
25342 * socket/socket.c: Likewise.
25343 * socket/socketpair.c: Likewise.
25344 * stdio-common/ctermid.c: Likewise.
25345 * stdio-common/cuserid.c: Likewise.
25346 * stdio-common/remove.c: Likewise.
25347 * stdio-common/rename.c: Likewise.
25348 * stdio-common/renameat.c: Likewise.
25349 * stdio-common/tempname.c: Likewise.
25350 * stdlib/getcontext.c: Likewise.
25351 * stdlib/makecontext.c: Likewise.
25352 * stdlib/setcontext.c: Likewise.
25353 * stdlib/swapcontext.c: Likewise.
25354 * stdlib/system.c: Likewise.
25355 * streams/fattach.c: Likewise.
25356 * streams/fdetach.c: Likewise.
25357 * streams/getmsg.c: Likewise.
25358 * streams/getpmsg.c: Likewise.
25359 * streams/putmsg.c: Likewise.
25360 * streams/putpmsg.c: Likewise.
25361 * sysdeps/unix/bsd/getpt.c: Likewise.
25362 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25363 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25364 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25367 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25368 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25369 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25370 * sysvipc/msgctl.c: Likewise.
25371 * sysvipc/msgget.c: Likewise.
25372 * sysvipc/msgrcv.c: Likewise.
25373 * sysvipc/msgsnd.c: Likewise.
25374 * sysvipc/semctl.c: Likewise.
25375 * sysvipc/semget.c: Likewise.
25376 * sysvipc/semop.c: Likewise.
25377 * sysvipc/semtimedop.c: Likewise.
25378 * sysvipc/shmat.c: Likewise.
25379 * sysvipc/shmctl.c: Likewise.
25380 * sysvipc/shmdt.c: Likewise.
25381 * sysvipc/shmget.c: Likewise.
25382 * termios/tcdrain.c: Likewise.
25383 * termios/tcflow.c: Likewise.
25384 * termios/tcflush.c: Likewise.
25385 * termios/tcgetattr.c: Likewise.
25386 * termios/tcgetpgrp.c: Likewise.
25387 * termios/tcsendbrk.c: Likewise.
25388 * termios/tcsetattr.c: Likewise.
25389 * termios/tcsetpgrp.c: Likewise.
25390 * time/adjtime.c: Likewise.
25391 * time/clock.c: Likewise.
25392 * time/getitimer.c: Likewise.
25393 * time/gettimeofday.c: Likewise.
25394 * time/setitimer.c: Likewise.
25395 * time/settimeofday.c: Likewise.
25396 * time/stime.c: Likewise.
25397 * time/time.c: Likewise.
25399 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
25401 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25404 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25406 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25408 2012-11-03 Joseph Myers <joseph@codesourcery.com>
25411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25412 FE_TONEAREST before applying Dekker multiplication and Knuth
25413 addition. Clear inexact exceptions and check for exact zero
25414 results afterwards.
25415 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25416 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25417 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25418 * math/libm-test.inc (fma_test): Add more tests.
25419 (fma_test_towardzero): Likewise.
25420 (fma_test_downward): Likewise.
25421 (fma_test_upward): Likewise.
25422 * sysdeps/generic/math_private.h (default_libc_fesetround): New
25424 (libc_fesetround): New macro.
25425 (libc_fesetroundf): Likewise.
25426 (libc_fesetroundl): Likewise.
25427 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25429 (libc_fesetround_387): Likewise.
25430 (libc_fesetroundf): New macro.
25431 (libc_fesetround): Likewise.
25432 (libc_fesetroundl): Likewise.
25433 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25435 (libc_fesetroundf): New macro.
25436 (libc_fesetround): Likewise.
25437 (libc_fesetroundl): Likewise.
25438 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25439 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25440 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25442 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25443 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25445 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25446 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25448 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25452 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25453 integer constant usable in #if and use that to give value to enum
25455 (FE_DIVBYZERO): Likewise.
25456 (FE_UNDERFLOW): Likewise.
25457 (FE_OVERFLOW): Likewise.
25458 (FE_INVALID): Likewise.
25459 (FE_INVALID_SNAN): Likewise.
25460 (FE_INVALID_ISI): Likewise.
25461 (FE_INVALID_IDI): Likewise.
25462 (FE_INVALID_ZDZ): Likewise.
25463 (FE_INVALID_IMZ): Likewise.
25464 (FE_INVALID_COMPARE): Likewise.
25465 (FE_INVALID_SOFTWARE): Likewise.
25466 (FE_INVALID_SQRT): Likewise.
25467 (FE_INVALID_INTEGER_CONVERSION): Likewise.
25468 (FE_TONEAREST): Likewise.
25469 (FE_TOWARDZERO): Likewise.
25470 (FE_UPWARD): Likewise.
25471 (FE_DOWNWARD): Likewise.
25472 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25473 (FE_DIVBYZERO): Likewise.
25474 (FE_OVERFLOW): Likewise.
25475 (FE_UNDERFLOW): Likewise.
25476 (FE_INEXACT): Likewise.
25477 (FE_TONEAREST): Likewise.
25478 (FE_DOWNWARD): Likewise.
25479 (FE_UPWARD): Likewise.
25480 (FE_TOWARDZERO): Likewise.
25481 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25482 (FE_UNDERFLOW): Likewise.
25483 (FE_OVERFLOW): Likewise.
25484 (FE_DIVBYZERO): Likewise.
25485 (FE_INVALID): Likewise.
25486 (FE_TONEAREST): Likewise.
25487 (FE_TOWARDZERO): Likewise.
25488 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25489 (FE_OVERFLOW): Likewise.
25490 (FE_UNDERFLOW): Likewise.
25491 (FE_DIVBYZERO): Likewise.
25492 (FE_INEXACT): Likewise.
25493 (FE_TONEAREST): Likewise.
25494 (FE_TOWARDZERO): Likewise.
25495 (FE_UPWARD): Likewise.
25496 (FE_DOWNWARD): Likewise.
25497 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25498 (FE_DIVBYZERO): Likewise.
25499 (FE_OVERFLOW): Likewise.
25500 (FE_UNDERFLOW): Likewise.
25501 (FE_INEXACT): Likewise.
25502 (FE_TONEAREST): Likewise.
25503 (FE_DOWNWARD): Likewise.
25504 (FE_UPWARD): Likewise.
25505 (FE_TOWARDZERO): Likewise.
25507 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
25509 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25511 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
25513 * scripts/cross-test-ssh.sh (command): Use newlines to separate
25514 commands. Quote $PWD.
25515 (blacklist_exports): Don't use remove_newlines. Replace "declare
25517 (remove_newlines): Remove.
25519 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25521 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25522 * stdlib/stdlib.h (atof): Moved to ...
25523 * include/bits/stdlib-float.h: Here. New file.
25524 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25525 * stdlib/bits/stdlib-float.h: New file.
25526 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25528 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25531 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25533 * conform/conformtest.pl (@headers): Add fenv.h.
25534 * conform/data/fenv.h-data: New file.
25535 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25536 include of <math/fenv.h>.
25538 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25539 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25540 && !UNIX98]. Enables tests for XOPEN2K8.
25541 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25542 POSIX2008]: Likewise.
25544 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25545 (struct rusage): Do not expect type or its members.
25548 * math/math.h (FP_NAN): Define macro to integer constant usable in
25549 #if and use that to give value to enum constant.
25550 (FP_INFINITE): Likewise.
25551 (FP_ZERO): Likewise.
25552 (FP_SUBNORMAL): Likewise.
25553 (FP_NORMAL): Likewise.
25555 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25557 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25558 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25561 2012-11-02 Roland McGrath <roland@hack.frob.com>
25563 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25564 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25565 autoconf-time if not.
25566 * configure.in: Remove AC_PREREQ.
25568 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25570 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25571 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25572 of the internal implementation.
25574 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25576 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25577 except include of <misc/sys/syslog.h>.
25579 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25582 function returns with a NULL context exit with zero.
25584 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25586 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25588 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25590 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25591 (run_program_cmd): This.
25592 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25593 (tst_langinfo): New variable. Use it.
25595 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25597 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25598 floating point opcodes.
25600 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25602 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25605 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25607 * sysdeps/mach/hurd/powerpc: Remove directory.
25608 * sysdeps/mach/powerpc: Likewise.
25610 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25612 * scripts/check-local-headers.sh: Ignore c++ headers.
25614 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25616 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25617 __libc_cleanup_region_start argument.
25619 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25623 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25624 x * y using scaling, not as x * y + z.
25625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25626 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25627 * math/libm-test.inc (fma_test): Add more tests.
25628 (fma_test_towardzero): Likewise.
25629 (fma_test_downward): Likewise.
25630 (fma_test_upward): Likewise.
25632 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25634 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25636 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25638 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25641 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25643 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25645 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25652 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25655 Fix the order of the list for glibc 2.17.
25656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25659 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25663 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25666 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25667 for low part of x being zero before using __atanl (y).
25668 * math/libm-test.inc (atan2_test): Add another test.
25670 * manual/install.texi (Configuring and compiling): Document
25671 general use of test-wrapper and test-wrapper-env.
25672 * INSTALL: Regenerated.
25674 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25675 (__fma): Do not extract and scale down low bits on after-rounding
25676 systems when result rounded to normal precision would have normal
25678 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25679 (__fmal): Do not extract and scale down low bits on after-rounding
25680 systems when result rounded to normal precision would have normal
25682 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25683 (__fmal): Do not extract and scale down low bits on after-rounding
25684 systems when result rounded to normal precision would have normal
25686 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25688 (fma_test): Add more tests.
25689 (fma_test_towardzero): Likewise.
25690 (fma_test_downward): Likewise.
25691 (fma_test_upward): Likewise.
25693 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25695 * sysdeps/i386/tininess.h: Renamed to ...
25696 * sysdeps/x86/tininess.h: This.
25697 * sysdeps/x86_64/tininess.h: Removed.
25699 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25701 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25702 input. Use $(build-program-cmd).
25703 ($(objpfx)tst-array1-static.out): Likewise.
25704 ($(objpfx)tst-array2.out): Likewise.
25705 ($(objpfx)tst-array3.out): Likewise.
25706 ($(objpfx)tst-array4.out): Likewise.
25707 ($(objpfx)tst-array5.out): Likewise.
25708 ($(objpfx)tst-array5-static.out): Likewise.
25710 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25712 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25715 * nss/nsswitch.h (nss_interface_function): Provide new
25716 macro for use with NSS functions.
25717 * grp/initgroups.c: Use new macro.
25718 * nss/getXXbyYY.c: Likewise.
25719 * nss/getXXbyYY_r.c: Likewise.
25720 * nss/getXXent.c: Likewise.
25721 * nss/getXXent_r.c: Likewise.
25722 * sysdeps/posix/getaddrinfo.c: Likewise.
25724 2012-10-30 Andreas Jaeger <aj@suse.de>
25726 * po/ru.po: Update Russion translation from translation project.
25728 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25733 result and shift together with sticky bit instead of replicating
25734 round-to-nearest rounding.
25735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25737 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25738 missing underflow exceptions.
25739 (fma_test_towardzero): Add more tests.
25740 (fma_test_downward): Likewise.
25741 (fma_test_upward): Likewise.
25744 * sysdeps/generic/tininess.h: New file.
25745 * sysdeps/i386/tininess.h: Likewise.
25746 * sysdeps/sh/tininess.h: Likewise.
25747 * sysdeps/x86_64/tininess.h: Likewise.
25748 * stdlib/tst-strtod-underflow.c: Likewise.
25749 * stdlib/tst-tininess.c: Likewise.
25750 * stdlib/strtod_l.c: Include <tininess.h>.
25751 (round_and_return): Do not set errno for exact underflow cases.
25752 Force an underflow exception when setting errno for underflow.
25753 Determine underflow based on rounding to normal precision if
25754 TININESS_AFTER_ROUNDING.
25755 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25756 ERANGE for exact underflow cases.
25757 * stdlib/Makefile (tests): Add tst-tininess and
25758 tst-strtod-underflow.
25759 ($(objpfx)tst-tininess): Use $(link-libm).
25760 ($(objpfx)tst-strtod-underflow): Likewise.
25762 2012-10-30 Andreas Jaeger <aj@suse.de>
25765 * elf/Makefile (tests): Remove conditional for have-initfini-array
25766 since this is now always required and the variable does not exist
25768 (tests-static): Likewise.
25769 (modules-names): Likewise.
25771 * po/eo.po: Add Esperanto translation from translation project.
25773 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25774 merged with constructor/destructor.
25775 (init_array): Likewise.
25776 * elf/tst-array2dep.c (fini_array): Likewise.
25777 (init_array): Likewise.
25779 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25781 * manual/message.texi: Delete @cartouche tags.
25783 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25785 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25787 * sysdeps/mach/hurd/fsync.c: Likewise.
25789 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25790 [_POSIX_REALTIME_SIGNALS]: Change condition to
25791 [_POSIX_REALTIME_SIGNALS > 0].
25793 2012-10-27 Andreas Jaeger <aj@suse.de>
25795 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25796 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25797 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25798 [__WORDSIZE != 64]: Likewise.
25800 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25802 * iconvdata/tst-table.sh: Remove ${SHELL}.
25803 * iconvdata/tst-tables.sh: Likewise.
25805 2012-10-25 David S. Miller <davem@davemloft.net>
25807 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25808 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25813 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25814 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25815 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25818 2012-10-25 Roland McGrath <roland@hack.frob.com>
25820 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25821 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25824 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25825 Jim Blandy <jimb@codesourcery.com>
25827 * scripts/cross-test-ssh.sh: New file.
25828 * manual/install.texi (Configuring and compiling): Document use of
25830 * INSTALL: Regenerated.
25832 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25834 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25837 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25839 * Makeconfig (run-program-prefix): Fix comment.
25841 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25842 Jim Blandy <jimb@codesourcery.com>
25844 * Makeconfig (test-wrapper): New variable,
25845 (test-wrapper-env): Likewise.
25846 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25847 (run-built-tests): Define to yes.
25848 (run-program-prefix): Use $(test-wrapper).
25849 (built-program-cmd): Likewise.
25850 * Rules (make-test-out): Use $(test-wrapper-env) and
25851 $(host-built-program-cmd).
25852 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25853 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25855 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25856 $(test-wrapper-env) to tst-rtld-load-self.sh.
25857 ($(objpfx)order2.out): Use $(test-wrapper).
25858 ($(objpfx)tst-initorder.out): Likewise.
25859 ($(objpfx)tst-initorder2.out): Likewise.
25860 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25861 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25862 (test_wrapper_env): New variable. Use it to run ld.so.
25863 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25864 Use it to run ld.so.
25865 (test_wrapper_env): Likewise.
25866 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25867 $(test-wrapper) to run-iconv-test.sh.
25868 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25869 (ICONV): Use $test_wrapper.
25870 * posix/Makefile ($(objpfx)globtest.out): Pass
25871 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25872 globtest.sh, not $(run-program-prefix).
25873 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25874 (test_wrapper): Likewise.
25875 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25876 set together with run_via_rtld_prefix.
25877 (run_program_prefix): Define in terms of test_wrapper and
25878 run_via_rtld_prefix.
25880 2012-10-24 Roland McGrath <roland@hack.frob.com>
25882 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25883 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25887 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25888 Declare __clock_getres, __clock_gettime, __clock_settime,
25889 __clock_nanosleep, and __clock_getcpuclockid.
25890 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25891 Remove librt_hidden_def (clock_gettime).
25892 * sysdeps/unix/clock_gettime.c: Likewise.
25893 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25894 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25895 * rt/clock_getres.c: Define __clock_getres as an alias.
25896 * sysdeps/posix/clock_getres.c: Likewise.
25897 * rt/clock_settime.c: Define __clock_settime as an alias.
25898 * sysdeps/unix/clock_settime.c: Likewise.
25899 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25900 * sysdeps/unix/clock_nanosleep.c: Likewise.
25901 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25902 * rt/clock-compat.c: New file.
25903 * rt/Makefile (librt-routines): Add clock-compat and move
25904 $(clock-routines) to ...
25905 (routines): ... here, new variable.
25906 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25907 Don't add get_clockfreq here.
25908 * rt/Versions (libc: GLIBC_2.17): New version set.
25909 Add clock_* symbols here.
25910 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25911 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25912 (GLIBC_2.17): Add clock_* symbols.
25913 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25915 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25924 * NEWS: Mention the move.
25926 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25927 Use __open, __read, __close rather than their public counterparts.
25928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25929 (__get_clockfreq_via_cpuinfo): Likewise.
25930 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25931 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25933 * config.h.in (HAVE_IFUNC): New #undef.
25934 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25936 * configure: Regenerated.
25938 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25940 * configure.in: Move READELF check to start of file.
25941 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25942 libc_cv_asm_gnu_indirect_function in the process.
25943 * configure: Regenerated.
25945 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25947 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25948 send the output to /dev/null.
25949 (libc_cv_cc_with_libunwind): Likewise.
25950 (libc_cv_as_noexecstack): Likewise.
25951 * configure: Regenerate.
25953 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25955 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25957 * posix/globtest.sh (TMPDIR): Do not set.
25958 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25959 (testout): Likewise.
25961 2012-10-24 Andreas Jaeger <aj@suse.de>
25963 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25964 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25965 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25966 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25967 posix_fadvise64, posix_fallocate64.
25969 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25970 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25971 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25973 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25975 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25977 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25978 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25979 <bits/fcntl-linux.h>.
25980 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25983 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25984 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25985 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25986 [__WORDSIZE != 64]: Likewise.
25988 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25990 * Makeconfig (run-built-tests): New variable.
25991 * Rules [$(cross-compiling) = yes]: Change condition to
25992 [$(run-built-tests) = no].
25993 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25994 to [$(run-built-tests) = yes].
25995 * elf/Makefile [$(cross-compiling) = no]: Likewise
25996 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25997 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25998 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25999 * intl/Makefile [$(cross-compiling) = no]: Likewise.
26000 * io/Makefile [$(cross-compiling) = no]: Likewise.
26001 * libio/Makefile [$(cross-compiling) = no]: Likewise.
26002 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26003 * misc/Makefile [$(cross-compiling) = no]: Likewise.
26004 * posix/Makefile [$(cross-compiling) = no]: Likewise.
26005 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26006 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26007 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26008 * string/Makefile [$(cross-compiling) = no]: Likewise.
26010 * posix/Makefile ($(objpfx)globtest.out): Pass
26011 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26012 $(rtld-installed-name).
26013 * posix/globtest.sh (elf_objpfx): Remove variable.
26014 (rtld_installed_name): Likewise.
26015 (library_path): Likewise.
26016 (run_program_prefix): New variable. Use for running globtest
26019 2012-10-23 Jim Blandy <jimb@codesourcery.com>
26020 Joseph Myers <joseph@codesourcery.com>
26022 * Makeconfig (host-built-program-cmd): New variable.
26023 * elf/Makefile (tst-stackguard1-ARGS): Use
26024 $(host-built-program-cmd).
26025 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26026 (tst-spawn-ARGS): Likewise.
26027 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26029 2012-10-23 Joseph Myers <joseph@codesourcery.com>
26030 Jim Blandy <jimb@codesourcery.com>
26032 * Makeconfig (run-via-rtld-prefix): New variable.
26033 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26034 (built-program-cmd): Likewise.
26036 2012-10-22 Andreas Jaeger <aj@suse.de>
26038 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26039 __O_RSYNC if it exists, otherwise to O_SYNC.
26041 2012-10-22 Jim Blandy <jimb@codesourcery.com>
26042 Joseph Myers <joseph@codesourcery.com>
26044 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26046 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26048 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26051 2012-10-22 Andreas Jaeger <aj@suse.de>
26053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26055 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26057 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26058 bits/fcntl-linux.h.
26060 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26061 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26065 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26068 2012-10-21 Jim Blandy <jimb@codesourcery.com>
26069 Joseph Myers <joseph@codesourcery.com>
26071 * config.make.in (NM): New variable.
26073 2012-10-21 Andreas Jaeger <aj@suse.de>
26075 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26076 definitions and declarations that are provided by
26077 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26079 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26082 * elf/Makefile (tests-static): Add tst-leaks1-static.
26083 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26084 ($(objpfx)tst-leaks1-static): New rule.
26085 ($(objpfx)tst-leaks1-static-mem): Likewise.
26086 (tst-leaks1-static-ENV): New macro.
26087 * elf/dl-open.c (dl_open_worker): Check the main application
26088 only if SHARED is defined.
26089 * elf/tst-leaks1-static.c: New file.
26091 2012-10-20 Andreas Jaeger <aj@suse.de>
26093 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26094 generic values for Linux.
26095 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26096 and declarations that are provided by <bits/fcntl-linux.h> and
26097 include <bits/fcntl-linux.h>.
26098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26099 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26101 2012-10-20 Roland McGrath <roland@hack.frob.com>
26103 * io/fcntl.h: Move include of <bits/types.h> to the top and
26104 include it unconditionally.
26106 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
26108 * wcsmbs/Makefile (tests-ifunc): New variable.
26109 (tests): Add $(tests-ifunc).
26110 * wcsmbs/test-wcschr-ifunc.c: New file.
26111 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26112 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26113 * wcsmbs/test-wcslen-ifunc.c: Likewise.
26114 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26115 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26117 * string/Makefile (tests-ifunc): New variable.
26118 (tests): Add $(tests-ifunc).
26119 * string/test-memccpy.c (TEST_NAME): New macro.
26120 * string/test-memchr.c (TEST_NAME): Likewise.
26121 * string/test-memcmp.c (TEST_NAME): Likewise.
26122 * string/test-memcpy.c (TEST_NAME): Likewise.
26123 * string/test-memmem.c (TEST_NAME): Likewise.
26124 * string/test-memmove.c (TEST_NAME): Likewise.
26125 * string/test-memset.c (TEST_NAME): Likewise.
26126 * string/test-rawmemchr.c (TEST_NAME): Likewise.
26127 * string/test-stpcpy.c (TEST_NAME): Likewise.
26128 * string/test-stpncpy.c (TEST_NAME): Likewise.
26129 * string/test-strcasecmp.c (TEST_NAME): Likewise.
26130 * string/test-strcasestr.c (TEST_NAME): Likewise.
26131 * string/test-strcat.c (TEST_NAME): Likewise.
26132 * string/test-strchr.c (TEST_NAME): Likewise.
26133 * string/test-strcmp.c(TEST_NAME): Likewise.
26134 * string/test-strcpy.c (TEST_NAME): Likewise.
26135 * string/test-strcspn.c (TEST_NAME): Likewise.
26136 * string/test-strlen.c (TEST_NAME): Likewise.
26137 * string/test-strncasecmp.c (TEST_NAME): Likewise.
26138 * string/test-strncmp.c (TEST_NAME): Likewise.
26139 * string/test-strncpy.c (TEST_NAME): Likewise.
26140 * string/test-strnlen.c (TEST_NAME): Likewise.
26141 * string/test-strpbrk.c (TEST_NAME): Likewise.
26142 * string/test-strrchr.c (TEST_NAME): Likewise.
26143 * string/test-strspn.c (TEST_NAME): Likewise.
26144 * string/test-strstr.c (TEST_NAME): Likewise.
26145 * string/test-bcopy-ifunc.c: New file.
26146 * string/test-bzero-ifunc.c: Likewise.
26147 * string/test-memccpy-ifunc.c: Likewise.
26148 * string/test-memchr-ifunc.c: Likewise.
26149 * string/test-memcmp-ifunc.c: Likewise.
26150 * string/test-memcpy-ifunc.c: Likewise.
26151 * string/test-memmem-ifunc.c: Likewise.
26152 * string/test-memmove-ifunc.c: Likewise.
26153 * string/test-mempcpy-ifunc.c: Likewise.
26154 * string/test-memset-ifunc.c: Likewise.
26155 * string/test-rawmemchr-ifunc.c: Likewise.
26156 * string/test-stpcpy-ifunc.c: Likewise.
26157 * string/test-stpncpy-ifunc.c: Likewise.
26158 * string/test-strcasecmp-ifunc.c: Likewise.
26159 * string/test-strcasestr-ifunc.c: Likewise.
26160 * string/test-strcat-ifunc.c: Likewise.
26161 * string/test-strchr-ifunc.c: Likewise.
26162 * string/test-strchrnul-ifunc.c: Likewise.
26163 * string/test-strcmp-ifunc.c: Likewise.
26164 * string/test-strcpy-ifunc.c: Likewise.
26165 * string/test-strcspn-ifunc.c: Likewise.
26166 * string/test-strlen-ifunc.c: Likewise.
26167 * string/test-strncasecmp-ifunc.c: Likewise.
26168 * string/test-strncat-ifunc.c: Likewise.
26169 * string/test-strncmp-ifunc.c: Likewise.
26170 * string/test-strncpy-ifunc.c: Likewise.
26171 * string/test-strnlen-ifunc.c: Likewise.
26172 * string/test-strpbrk-ifunc.c: Likewise.
26173 * string/test-strrchr-ifunc.c: Likewise.
26174 * string/test-strspn-ifunc.c: Likewise.
26175 * string/test-strstr-ifunc.c: Likewise.
26177 * debug/Makefile (tests-ifunc): New variable.
26178 (tests): Add $(tests-ifunc).
26179 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26180 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26181 * debug/test-stpcpy_chk-ifunc.c: New file.
26182 * debug/test-strcpy_chk-ifunc.c: Likewise.
26184 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26187 * elf/dl-load.c (open_verify): Retry read if the entire ELF
26188 header is not read in.
26190 2012-10-19 Joseph Myers <joseph@codesourcery.com>
26192 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
26193 script to $(SHELL) as $<. Pass $(common-objpfx) to script
26194 directly. Pass built executable to script as
26195 $(built-program-cmd).
26196 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
26197 $testprogram without using LD_LIBRARY_PATH and $ldso.
26199 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26200 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26201 $(rtld-installed-name).
26202 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26203 (rtld_installed_name): Likewise.
26204 (library_path): Likewise.
26205 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
26206 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26207 $(run-program-prefix) to tst-tables.sh.
26208 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
26209 it to run tst-table-from and tst-table-to.
26210 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26211 Pass it to tst-table.sh.
26212 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26213 $(run-program-prefix) to tst-gettext.sh.
26214 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26216 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26218 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
26219 to run tst-gettext.
26220 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
26221 to run tst-gettext2.
26222 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
26223 to run tst-translit.
26224 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26225 $(run-program-prefix) to tst-mtrace.sh.
26226 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
26228 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26229 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26230 $(rtld-installed-name).
26231 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26232 (rtld_installed_name): Likewise.
26233 (run_program_prefix): New variable. Use it to run wordexp-test.
26235 * Makeconfig (ARCH): Remove all definitions.
26236 (machine): Likewise.
26237 [ARCH]: Remove conditional code.
26238 [!objdir]: Give error.
26239 [!objdir] (objpfx): Remove.
26240 [!objdir] (common-objpfx): Likewise.
26241 [!objdir] (common-objdir): Likewise.
26242 * configure.in (config_makefile): Remove. Hardcode Makefile in
26243 AC_CONFIG_FILES call.
26244 * configure: Regenerated.
26247 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26249 (testout): Likewise.
26251 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26252 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26253 $(rtld-installed-name).
26254 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26255 (rtld_installed_name): Likwise.
26256 (runit): Remove function.
26257 (run_getconf): New variable, Use it for running getconf binary.
26259 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
26262 * string/test-memmem.c (check_result): New function.
26263 (do_one_test): Use it.
26264 (check1): New function.
26265 (test_main): Use it.
26267 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
26269 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26271 2012-10-18 Joseph Myers <joseph@codesourcery.com>
26273 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26274 (_G_LSEEK64): Likewise.
26275 (_G_MMAP64): Likewise.
26276 (_G_FSTAT64): Likewise.
26277 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26278 (_G_LSEEK64): Likewise.
26279 (_G_MMAP64): Likewise.
26280 (_G_FSTAT64): Likewise.
26281 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26282 unconditional. Call __mmap64 directly.
26283 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26284 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
26285 __lseek64 directly.
26286 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26287 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
26289 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26290 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
26291 __lseek64 directly.
26292 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26293 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
26294 __lseek64 directly.
26295 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26296 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
26297 __lseek64 directly.
26298 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26299 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
26300 __fxstat64 directly.
26301 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26302 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26304 (freopen64) [!_G_OPEN64]: Remove conditional code.
26305 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26307 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26308 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26310 (ftello64) [!_G_LSEEK64]: Remove conditional code.
26311 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26313 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26314 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26316 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26317 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26319 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26320 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26322 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26323 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26325 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26327 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26330 * manual/memory.texi (Malloc Tunable Parameters): Add note
26331 about free list pointers overwriting some perturb bytes.
26332 Wording suggested by Roland McGrath.
26334 2012-10-17 Joseph Myers <joseph@codesourcery.com>
26336 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26337 (lgamma_test): Likewise.
26338 (tgamma_test): Likewise.
26340 2012-10-16 Florian Weimer <fweimer@redhat.com>
26343 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26344 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26346 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
26348 * NEWS: Mention BZ #14716.
26349 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26350 when removing AVAILABLE1_USES_J macro.
26352 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
26354 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26355 (__bswap_64): __uint64_t for unsigned 64-bit int.
26357 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
26359 * include/string.h (memmem): Declare libc hidden alias.
26360 * string/memmem.c (memmem): Define libc hidden alias.
26361 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26362 __read, __close instead of open, read, close.
26364 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
26366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26367 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26369 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26370 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26371 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26373 (__rawmemchr_sse2): Likewise.
26374 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26375 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26376 (__strchr_sse2): Likewise.
26377 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26378 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26379 (__strcasecmp_sse2): Likewise.
26380 (__strncasecmp_sse2): Likewise.
26381 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26382 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26383 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26384 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26385 (__strrchr_sse2): Likewise.
26386 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26388 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26389 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26390 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26391 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26392 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26393 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26394 * sysdeps/x86_64/multiarch/memset.S: Likewise.
26395 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26396 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26397 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26398 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26399 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26400 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26401 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26402 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26403 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26404 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26405 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26406 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26407 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26408 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26409 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26410 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26411 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26412 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26413 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26414 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26415 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26416 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26417 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26419 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26421 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26422 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26423 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26424 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26426 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26428 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26429 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26430 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26431 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26433 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26434 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26435 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26436 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26437 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26438 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26439 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26440 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26441 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26442 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26443 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26444 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26445 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26446 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26447 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26448 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26449 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26450 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26451 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26452 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26453 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26454 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26455 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26456 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26457 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26458 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26459 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26460 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26461 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26462 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26463 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26464 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26465 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26466 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26467 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26468 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26469 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26470 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26471 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26472 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26473 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26475 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26476 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26477 * include/ifunc-impl-list.h: New file.
26478 * misc/ifunc-impl-list.c: Likewise.
26479 * misc/Makefile (routines): Add ifunc-impl-list.
26480 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26481 * string/test-string.h: Include <ifunc-impl-list.h>.
26482 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26483 TEST_NAME]: New variables.
26484 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26486 (test_init): Call __libc_ifunc_impl_list to initialize
26487 func_list if TEST_IFUNC and TEST_NAME are defined.
26489 * string/Makefile (strop-tests): Add bcopy and bzero.
26490 * string/test-bcopy.c: New file.
26491 * string/test-bzero.c: Likewise.
26492 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26494 * string/test-memset.c: Support bzero test if TEST_BZERO is
26496 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26498 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26500 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26503 2012-10-10 Joseph Myers <joseph@codesourcery.com>
26505 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26506 * configure: Regenerated.
26508 * Makeconfig (+link-static-before-libc): Don't include
26509 $(link-static-libc).
26511 * libio/libio.h (_IO_pos_t): Remove.
26513 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26515 * NEWS: Add note about FIPS mode. Wording suggested by Roland
26518 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26520 * crypt/crypt-entry.c: Include fips-private.h.
26521 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26522 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26523 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26524 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26526 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26528 * crypt/crypt-private.h: Include stdbool.h.
26529 (_ufc_setup_salt_r): Return bool.
26530 * crypt/crypt-entry.c: Include errno.h.
26531 (__crypt_r): Return NULL with EINVAL for bad salt.
26532 * crypt/crypt_util.c (bad_for_salt): New.
26533 (_ufc_setup_salt_r): Check that salt is long enough and within
26534 the specified alphabet.
26535 * crypt/badsalttest.c: New file.
26536 * crypt/Makefile (tests): Add it.
26537 ($(objpfx)badsalttest): New.
26539 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26541 * NEWS: Add entry for BZ #14602.
26543 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26545 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26547 * math/libm-test.inc: Update comment listing what functions and
26549 (isgreater_test): New function.
26550 (isgreaterequal_test): Likewise.
26551 (isless_test): Likewise.
26552 (islessequal_test): Likewise.
26553 (islessgreater_test): Likewise.
26554 (isunordered_test): Likewise.
26555 (main): Call the new functions.
26557 2012-10-09 Roland McGrath <roland@hack.frob.com>
26559 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26560 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26561 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26562 * sysdeps/i386/configure: Regenerated.
26563 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26564 * sysdeps/mach/configure: Regenerated.
26565 * sysdeps/mach/hurd/configure: Regenerated.
26566 * sysdeps/powerpc/configure: Regenerated.
26567 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26568 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26569 * sysdeps/s390/s390-32/configure: Regenerated.
26570 * sysdeps/s390/s390-64/configure: Regenerated.
26571 * sysdeps/sh/configure: Regenerated.
26572 * sysdeps/sparc/configure: Regenerated.
26573 * sysdeps/unix/sysv/linux/configure: Regenerated.
26574 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26575 * sysdeps/x86_64/configure: Regenerated.
26577 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26578 defined. Don't check if MAP is NULL.
26580 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26582 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26583 (_G_stat64): Likewise.
26584 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26585 (_G_stat64): Likewise.
26586 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26587 instead of struct _G_stat64.
26588 * libio/fileops.c (mmap_remap_check): Likewise.
26589 (decide_maybe_mmap): Likewise.
26590 (_IO_new_file_seekoff): Likewise.
26591 (_IO_file_stat): Likewise.
26592 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26594 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26595 instead of struct _G_stat64.
26596 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26598 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26601 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26603 (CHECK_EOL): New macro.
26604 (two_way_short_needle): Check beginning of haystack for EOL. Use
26606 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26607 Replace with CHECK_EOL.
26608 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26609 Replace with CHECK_EOL.
26611 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26613 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26615 * math/libm-test.inc: Update comment listing what functions and
26617 (finite_test): New function.
26618 (isinf_test): Likewise.
26619 (isnan_test): Likewise.
26620 (fpclassify_test): Test subnormal input.
26621 (isfinite_test): Likewise.
26622 (isnormal_test): Likewise.
26623 (main): Call the new functions.
26625 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26628 * Makerules (%.dynsym): Force C locale when running
26629 $(OBJDUMP) --dynamic-syms.
26631 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26633 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26636 2012-10-06 David S. Miller <davem@davemloft.net>
26638 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26639 upper 32-bits of the length value in %o2 since we use branch-on-register
26640 tests which consider the entire 64-bit register.
26642 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26644 * string/test-strstr.c (check2): Add a test for page boundary.
26646 2012-10-05 David S. Miller <davem@davemloft.net>
26648 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26649 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26651 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26653 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26654 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26655 and bzero when HWCAP_SPARC_CRYPTO is present.
26657 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26660 * string/test-strstr.c (check2): New function.
26661 (test_main): Call check2.
26663 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26665 * string/bug-strcasestr1.c (do_test): Moved to ...
26666 * string/test-strcasestr.c (check1): Here. New function.
26667 (do_one_test): Break out result checking code into ...
26668 (check_result): This. New function.
26669 (do_one_test): Call check_result.
26670 (test_main): Call check1.
26671 * string/bug-strchr1.c (do_test): Moved to ...
26672 * string/test-strchr.c (check1): Here. New function.
26673 (do_one_test): Break out result checking code into ...
26674 (check_result): This. New function.
26675 (do_one_test): Call check_result.
26676 (test_main): Call check1.
26677 * string/bug-strstr1.c (main): Moved to ...
26678 * string/test-strstr.c (check1): Here. New function.
26679 (do_one_test): Break out result checking code into ...
26680 (check_result): This. New function.
26681 (do_one_test): Call check_result.
26682 (test_main): Call check1.
26683 * string/bug-strcasestr1.c: Removed.
26684 * string/bug-strchr1.c: Likewise.
26685 * string/bug-strstr1.c: Likewise.
26687 * elf/Makefile (dl-routines): Add hwcaps.
26688 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26689 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26690 (_dl_important_hwcaps): Moved to ...
26691 * elf/dl-hwcaps.c: Here. New file.
26692 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26695 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26696 if IS_IN_rtld isn't defined.
26698 * elf/dl-support.c (_dl_sysinfo_map): New.
26699 Include "get-dynamic-info.h" and "setup-vdso.h".
26700 (_dl_non_dynamic_init): Call setup_vdso.
26701 * elf/dynamic-link.h: Don't include <assert.h>.
26702 (elf_get_dynamic_info): Moved to ...
26703 * elf/get-dynamic-info.h: Here. New file.
26704 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26705 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26706 * elf/setup-vdso.h: Here. New file.
26707 * elf/rtld.c: Include "setup-vdso.h".
26708 (dl_main): Call setup_vdso.
26710 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26712 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26713 creal in comment listing functions tested. List finite, isinf,
26714 isnan, isless, islessequal, isgreater, isgreaterequal,
26715 islessgreater, isunordered, lgamma_r and pow10 as functions and
26716 macros not tested. Mention which functions not tested are aliases
26717 for other functions. Fix typo. Note that signs of NaNs are not
26720 * scripts/config.guess: Update from config.git.
26721 * scripts/config.sub: Likewise.
26723 2012-10-04 Roland McGrath <roland@hack.frob.com>
26725 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26726 * misc/madvise.c (madvise): Renamed to __madvise.
26727 Make madvise a weak alias.
26728 * include/sys/mman.h: Declare __madvise.
26729 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26730 * sysdeps/unix/syscalls.list
26731 (madvise): Make __madvise the strong name, and madvise a weak alias.
26732 * sysdeps/unix/sysv/linux/syscalls.list
26733 (madvise, mmap): Remove redundant entries.
26734 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26735 * malloc/malloc.c (mtrim): Likewise.
26736 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26738 2012-10-03 Roland McGrath <roland@hack.frob.com>
26740 * sysdeps/mach/hurd/dl-cache.c: File removed.
26741 * config.h.in (USE_LDCONFIG): New #undef.
26742 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26743 * configure: Regenerated.
26744 * elf/Makefile (dl-routines): Add dl-cache only under
26745 [$(use-ldconfig) = yes].
26746 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26747 cache on [USE_LDCONFIG].
26748 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26750 * elf/rtld.c (dl_main): Likewise.
26752 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26754 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26755 _SC_LEVEL4_CACHE_LINESIZE.
26757 2012-10-03 Roland McGrath <roland@hack.frob.com>
26759 * sysdeps/unix/bsd/confstr.h: File removed.
26761 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26763 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26766 2012-10-02 Roland McGrath <roland@hack.frob.com>
26768 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26769 Make 'mapoff' field ElfW(Off) rather than off_t.
26771 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26773 * nscd/Makefile: Remove nscd-cflags and all its users.
26774 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26775 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26778 * malloc.c (malloc_printerr): Clarify error message.
26780 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26784 Set bit_FMA_Usable if FMA is supported.
26785 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26787 (bit_FMA4_Usable): Updated.
26788 (index_FMA_Usable): New macro.
26789 (CPUID_FMA): Likewise
26790 (HAS_FMA): Defined with bit_FMA_Usable.
26792 2012-10-01 Roland McGrath <roland@hack.frob.com>
26794 * bits/types.h (__swblk_t): Type removed.
26795 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26796 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26797 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26798 (__SWBLK_T_TYPE): Likewise.
26799 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26800 (__SWBLK_T_TYPE): Likewise.
26801 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26802 (__SWBLK_T_TYPE): Likewise.
26803 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26804 (__SWBLK_T_TYPE): Likewise.
26806 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26807 Honza Horak <hhorak@redhat.com>
26809 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26810 (xdr_mapname): Use YPMAXMAP as maxsize.
26811 (xdr_peername): Use YPMAXPEER as maxsize.
26812 (xdr_keydat): Use YPAXRECORD as maxsize.
26813 (xdr_valdat): Use YPMAXRECORD as maxsize.
26815 2012-10-01 Roland McGrath <roland@hack.frob.com>
26817 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26819 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26820 * csu/init-first.c: ... here.
26821 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26822 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26823 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26824 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26825 * sysdeps/i386/init-first.c: File removed.
26826 * sysdeps/sh/init-first.c: File removed.
26828 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26831 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26832 if x * y might underflow to zero and z is zero.
26833 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26834 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26835 * math/libm-test.inc (min_subnorm_value): New variable.
26836 (fma_test): Add more tests.
26837 (fma_test_towardzero): Likewise.
26838 (fma_test_downward): Likewise
26839 (fma_test_upward): Likewise.
26840 (initialize): Set min_subnorm_value.
26842 2012-09-29 Joseph Myers <joseph@codesourcery.com>
26845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26847 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26848 mode for addition resulting in exact zero.
26849 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26850 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26852 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26853 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26854 * math/libm-test.inc (fma_test): Add more tests.
26855 (fma_test_towardzero): New function.
26856 (fma_test_downward): Likewise.
26857 (fma_test_upward): Likewise.
26858 (main): Call the new functions.
26860 2012-09-28 David S. Miller <davem@davemloft.net>
26862 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26864 2012-09-28 Roland McGrath <roland@hack.frob.com>
26866 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26867 instead of SIGALRM.
26869 * sysdeps/gnu/_G_config.h: Moved to ...
26870 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26871 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26872 * sysdeps/generic/_G_config.h: ... here.
26874 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26876 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26878 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26879 Conditionalize target on [libnss_test1.so-version].
26881 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26883 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26884 (elfobjdir): Move out of conditionals.
26886 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26887 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26888 (__nss_lookup_function): Conditionalize label remove_from_tree on
26889 [!DO_STATIC_NSS || SHARED], matching its only use.
26891 2012-09-28 David S. Miller <davem@davemloft.net>
26893 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26894 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26896 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26898 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26900 when HWCAP_SPARC_CRYPTO is present.
26902 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26904 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26906 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26909 * stdio-common/vfprintf.c (process_string_arg): Revert
26912 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26914 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26916 * stdio-common/tst-sprintf.c: Include <locale.h>
26917 (main): Test sprintf's handling of incomplete multibyte
26920 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26922 * elf/dl-runtime.c (VERSYMIDX): Removed.
26923 * elf/dl-version.c (VERSYMIDX): Likewise.
26924 * elf/do-rel.h (VERSYMIDX): Likewise.
26925 (VALIDX): Likewise.
26926 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26927 * elf/rtld.c (VALIDX): Likewise.
26928 (ADDRIDX): Likewise.
26929 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26930 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26931 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26932 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26933 (VALIDX): Likewise.
26934 (ADDRIDX): Likewise.
26936 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26938 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26940 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26943 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26945 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26946 addresses are in the same scope as 192.0.2/24.
26947 * posix/gai.conf: Document new scope table defaults.
26949 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26952 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26953 for ftell. Compute offsets from write pointers instead.
26954 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26956 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26959 * libio/Makefile (tests): New test case tst-fseek.
26960 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26961 combination works in wide mode.
26962 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26963 state when the external buffer state changes.
26965 2012-09-27 David S. Miller <davem@davemloft.net>
26968 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26969 pass reloc->r_addend in as the 'high' argument to
26970 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26974 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26976 * rt/tst-aio2.c: Include <pthread.h>.
26977 * rt/tst-aio3.c: Likewise.
26979 2012-09-27 Steve Ellcey <sellcey@mips.com>
26981 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26983 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26985 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26986 contents on [SHARED].
26988 2012-09-26 Marek Polacek <polacek@redhat.com>
26992 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26993 for C++ and GCC <4.3 as well as for non GCC compilers.
26995 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26997 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26999 2012-09-25 Roland McGrath <roland@hack.frob.com>
27001 * Makefile.in (all, install): Declare with .PHONY.
27002 Reported by Michael Hope <michael.hope@linaro.org>.
27004 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27006 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27007 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27009 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27011 (sydep_routines): Add the new and the internal functions.
27012 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27013 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27015 (GLIBC_2.17): Add the new function.
27016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27017 (GLIBC_2.17): Likewise.
27018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27019 (GLIBC_2.17): Likewise.
27020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27021 (GLIBC_2.17): Likewise.
27022 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27024 2012-09-25 Alan Modra <amodra@gmail.com>
27026 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27027 Add release barrier before setting once_control to say
27028 initialisation is done. Add hints on lwarx. Use macro in
27030 (clear_once_control): Add release barrier.
27032 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27035 * math/s_clog.c (__clog): Handle more values close to |z| = 1
27037 * math/s_clog10.c (__clog10): Likewise.
27038 * math/s_clog10f.c (__clog10f): Likewise.
27039 * math/s_clog10l.c (__clog10l): Likewise.
27040 * math/s_clogf.c (__clogf): Likewise.
27041 * math/s_clogl.c (__clogl): Likewise.
27042 * math/Makefile (libm-calls): Add x2y2m1.
27043 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27044 (__x2y2m1): Likewise.
27045 (__x2y2m1l): Likewise.
27046 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27047 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27048 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27049 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27050 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27051 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27052 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27053 * sysdeps/i386/fpu/libm-test-ulps: Update.
27054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27057 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27058 int as type of variable DEPTH.
27059 (glob): Use size_t instead of int as type of variables NEWCOUNT
27062 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27064 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27065 Add s_sincosf-sse2.
27066 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27067 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27068 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27069 macros for using routine as __sincosf_ia32.
27070 Use macro for function declaration and weak_alias.
27071 * sysdeps/i386/fpu/libm-test-ulps: Update.
27073 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27074 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27076 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27077 subnormal argument.
27078 * math/s_cexpf.c (__cexpf): Likewise.
27079 * math/s_csinf.c (__csinf): Likewise.
27080 * math/s_csinhf.c (__csinhf): Likewise.
27081 * math/s_ctanf.c (__ctanf): Likewise.
27082 * math/s_ctanhf.c (__ctanhf): Likewise.
27083 * math/s_ccosh.c (__ccoshf): Likewise.
27084 * math/s_cexp.c (__cexpl): Likewise.
27085 * math/s_csin.c (__csin): Likewise.
27086 * math/s_csinh.c (__csinh): Likewise.
27087 * math/s_ctan.c (__ctan): Likewise.
27088 * math/s_ctanh.c (ctanh): Likewise.
27089 * math/s_ccoshl.c (__ccoshl): Likewise.
27090 * math/s_cexpl.c (__cexpl): Likewise.
27091 * math/s_csinl.c (__csinl): Likewise.
27092 * math/s_csinhl.c (__csinhl): Likewise.
27093 * math/s_ctanl.c (__ctanl): Likewise.
27094 * math/s_ctanhl.c (__ctanhl): Likewise.
27096 2012-09-25 Joseph Myers <joseph@codesourcery.com>
27098 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27099 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27100 (_IO_off_t): Define to __off_t, not _G_off_t.
27101 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27102 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27103 (_IO_wint_t): Define to wint_t, not _G_wint_t.
27104 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27105 type of __dummy and __dummy2 fields.
27106 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27107 (_G_ssize_t): Likewise.
27108 (_G_off_t): Likewise.
27109 (_G_pid_t): Likewise.
27110 (_G_uid_t): Likewise.
27111 (_G_wchar_t): Likewise.
27112 (_G_wint_t): Likewise.
27113 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27114 (_G_ssize_t): Likewise.
27115 (_G_off_t): Likewise.
27116 (_G_pid_t): Likewise.
27117 (_G_uid_t): Likewise.
27118 (_G_wchar_t): Likewise.
27119 (_G_wint_t): Likewise.
27120 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27121 (_G_ssize_t): Likewise.
27122 (_G_off_t): Likewise.
27123 (_G_pid_t): Likewise.
27124 (_G_uid_t): Likewise.
27125 (_G_wchar_t): Likewise.
27126 (_G_wint_t): Likewise.
27128 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27130 * malloc/arena.c: Include malloc-sysdep.h.
27131 (shrink_heap): Use check_may_shrink_heap to decide if madvise
27132 is sufficient to shrink the heap or an unmap is needed.
27133 * sysdeps/generic/malloc-sysdep.h: New file. Define
27134 new function check_may_shrink_heap.
27135 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
27136 new function check_may_shrink_heap.
27138 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
27140 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27143 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
27145 * catgets/test-gencat.sh: Add "set -e".
27146 * elf/tst-pathopt.sh: Likewise.
27147 * grp/tst_fgetgrent.sh: Likewise.
27148 * iconvdata/run-iconv-test.sh: Likewise.
27149 * intl/tst-gettext.sh: Likewise.
27150 * intl/tst-gettext2.sh: Likewise.
27151 * intl/tst-gettext4.sh: Likewise.
27152 * intl/tst-gettext6.sh: Likewise.
27153 * intl/tst-translit.sh: Likewise.
27154 * io/ftwtest-sh: Likewise.
27155 * libio/test-freopen.sh: Likewise.
27156 * malloc/tst-mtrace.sh: Likewise.
27157 * posix/globtest.sh: Likewise.
27158 * posix/tst-getconf.sh: Likewise.
27159 * posix/wordexp-tst.sh: Likewise.
27160 * stdio-common/tst-printf.sh: Likewise.
27161 * stdio-common/tst-unbputc.sh: Likewise.
27162 * stdlib/tst-fmtmsg.sh: Likewise.
27163 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27164 * catgets/Makefile: Do not specify -e option when running
27165 testsuite shell scripts.
27166 * elf/Makefile: Likewise.
27167 * grp/Makefile: Likewise.
27168 * iconvdata/Makefile: Likewise.
27169 * intl/Makefile: Likewise.
27170 * io/Makefile: Likewise.
27171 * libio/Makefile: Likewise.
27172 * malloc/Makefile: Likewise.
27173 * posix/Makefile: Likewise.
27174 * stdio-common/Makefile: Likewise.
27175 * stdlib/Makefile: Likewise.
27176 * sysdeps/x86_64/Makefile: Likewise.
27178 * io/ftwtest-sh: Add copyright header.
27179 * posix/globtest.sh: Likewise.
27180 * posix/tst-getconf.sh: Likewise.
27181 * posix/wordexp-tst.sh: Likewise.
27182 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27184 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
27187 * Makeconfig (+link): Defined as $(+link-static) if
27188 $(build-shared) isn't yes.
27189 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27191 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27193 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27196 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27197 new chunk size with MALLOC_ALIGN_MASK.
27199 2012-09-24 Joseph Myers <joseph@codesourcery.com>
27202 * stdio-common/printf_fphex.c: Include <stdbool.h> and
27204 (__printf_fphex): Determine rounding using get_rounding_mode and
27206 * stdio-common/tst-printf-round.c (struct hex_test): New
27208 (hex_tests): New variable.
27209 (test_hex_in_one_mode): New function.
27210 (do_test): Also run tests for hex float output.
27212 2012-09-21 Joseph Myers <joseph@codesourcery.com>
27214 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27215 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27216 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27217 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27218 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27219 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27220 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27221 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27223 2012-09-20 Joseph Myers <joseph@codesourcery.com>
27225 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27226 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27227 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27228 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27230 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
27233 * elf/rtld.c (dl_main): Limit the check for self loading to normal
27235 * elf/tst-rtld-load-self.sh: New test.
27236 * elf/Makefile: Run it.
27238 2012-09-18 Joseph Myers <joseph@codesourcery.com>
27240 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27241 (tst-writev-ENV): Remove.
27242 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27244 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
27246 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27248 2012-09-17 Joseph Myers <joseph@codesourcery.com>
27250 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27252 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27254 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27255 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27256 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27259 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
27262 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27263 * config.make.in (have-cpp-asm-debuginfo): Removed.
27264 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27265 * configure: Regenerated.
27267 2012-09-14 Joseph Myers <joseph@codesourcery.com>
27270 * stdio-common/printf_fp.c: Include <stdbool.h> and
27272 (___printf_fp): Determine rounding using get_rounding_mode and
27274 * stdio-common/tst-printf-round.c: New file.
27275 * stdio-common/Makefile (tests): Add tst-printf-round.
27276 (link-libm): New variable.
27277 ($(objpfx)tst-printf-round): Depend in $(link-libm).
27279 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
27282 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27283 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27285 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27288 2012-09-13 Joseph Myers <joseph@codesourcery.com>
27290 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27291 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27292 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27293 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27295 2012-09-12 Joseph Myers <joseph@codesourcery.com>
27298 * include/rounding-mode.h: New file.
27299 * sysdeps/generic/get-rounding-mode.h: Likewise.
27300 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27301 * stdlib/strtod_l.c: Include <rounding-mode.h>.
27302 (MAX_VALUE): New macro.
27303 (MIN_VALUE): Likewise.
27304 (overflow_value): New function.
27305 (underflow_value): Likewise.
27306 (round_and_return): Use overflow_value and underflow_value to
27307 determine return values in overflow and underflow cases. Use
27308 round_away to determine rounding depending on rounding mode.
27309 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27310 determine return values in overflow and underflow cases.
27311 * stdlib/tst-strtod-round.c: Include <fenv.h>.
27312 (struct test_results): New structure.
27313 (struct test): Use struct test_results to store expected results
27314 for all rounding modes.
27315 (TEST): Include expected results for all rounding modes.
27316 (test_in_one_mode): New function.
27317 (do_test): Use test_in_one_mode to compute and check results.
27318 Check results for all rounding modes.
27319 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27322 2012-12-09 Allan McRae <allan@archlinux.org>
27324 * sysdeps/i386/fpu/libm-test-ulps: Update
27326 2012-09-11 Joseph Myers <joseph@codesourcery.com>
27328 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27329 (_G_int32_t): Likewise.
27330 (_G_uint16_t): Likewise.
27331 (_G_uint32_t): Likewise.
27332 (_G_HAVE_BOOL): Likewise.
27333 (_G_HAVE_ATEXIT): Likewise.
27334 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27335 (_G_HAVE_IO_FILE_OPEN): Likewise.
27336 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27337 (_G_int32_t): Likewise.
27338 (_G_uint16_t): Likewise.
27339 (_G_uint32_t): Likewise.
27340 (_G_HAVE_BOOL): Likewise.
27341 (_G_HAVE_ATEXIT): Likewise.
27342 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27343 (_G_HAVE_IO_FILE_OPEN): Likewise.
27344 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27345 (_G_int32_t): Likewise.
27346 (_G_uint16_t): Likewise.
27347 (_G_uint32_t): Likewise.
27348 (_G_HAVE_BOOL): Likewise.
27349 (_G_HAVE_ATEXIT): Likewise.
27350 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27351 (_G_HAVE_IO_FILE_OPEN): Likewise.
27353 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
27355 * csu/libc-tls.c: Update copyright years.
27357 2012-09-10 Joseph Myers <joseph@codesourcery.com>
27359 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27360 [!_G_USING_THUNKS]: Remove conditional code.
27361 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27362 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27364 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27365 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27366 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27367 (_G_VTABLE_LABEL_PREFIX): Likewise.
27368 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27369 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27370 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27371 (_G_VTABLE_LABEL_PREFIX): Likewise.
27372 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27373 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27374 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27375 (_G_VTABLE_LABEL_PREFIX): Likewise.
27376 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27378 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
27380 * libio/Makefile: Include ../Makeconfig before tests.
27381 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27382 only if $(build-shared) is yes.
27384 * iconv/gconv_db.c: Update copyright years.
27386 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27388 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27389 unwind info if defined PIC. Fix special cases description.
27390 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27392 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27394 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27396 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
27398 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27400 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27403 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27404 (LDLIBS-tst-chk4): This.
27405 (LDFLAGS-tst-chk5): Renamed to ...
27406 (LDLIBS-tst-chk5): This.
27407 (LDFLAGS-tst-chk6): Renamed to ...
27408 (LDLIBS-tst-chk6): This.
27409 (LDFLAGS-tst-lfschk4): Renamed to ...
27410 (LDLIBS-tst-lfschk4): This.
27411 (LDFLAGS-tst-lfschk5): Renamed to ...
27412 (LDLIBS-tst-lfschk5): This.
27413 (LDFLAGS-tst-lfschk6): Renamed to ...
27414 (LDLIBS-tst-lfschk6): This.
27416 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27417 on $(common-objpfx)soversions.mk.
27419 2012-09-07 Joseph Myers <joseph@codesourcery.com>
27422 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27425 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27427 * malloc/arena.c (arena_get_retry): New function that gets
27428 another arena for the caller to try its request on.
27429 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27430 current arena cannot fulfill the request.
27431 (__libc_memalign): Likewise.
27432 (__libc_memalign): Likewise.
27433 (__libc_pvalloc): Likewise.
27434 (__libc_calloc): Likewise.
27436 2012-09-05 John Tobey <john.tobey@gmail.com>
27439 * manual/arith.texi (Operations on Complex): Fix description
27440 of carg branch cut.
27442 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27445 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27449 * manual/memory.texi (Memory): Make order of menu items match
27452 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27454 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27455 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
27456 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27458 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27460 * csu/libc-tls.c (static_dtv): Renamed to ...
27461 (_dl_static_dtv): This. Make it global.
27462 (_dl_initial_dtv): Removed.
27463 (__libc_setup_tls): Updated.
27464 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27465 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27468 2012-09-06 Petr Machata <pmachata@redhat.com>
27470 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27471 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27472 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27473 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27475 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27478 * csu/libc-tls.c (_dl_initial_dtv): New variable.
27479 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27482 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
27485 * Makeconfig (link-static-before-libc): Replace $(+prector)
27487 (link-static-after-libc): Replace $(+postctor) with
27489 (link-bounded): Replace $(+prector)/$(+postctor) with
27490 $(+prectorT)/$(+postctorT).
27491 (+prectorT): New macro.
27492 (+postctorT): Likewise.
27494 2012-09-06 Joseph Myers <joseph@codesourcery.com>
27496 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27497 (round_str): Handle values above the maximum for IBM long double
27499 * stdlib/tst-strtod-round.c (tests): Regenerated.
27501 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27503 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27505 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27506 zarch_nohighgprs around the zarch optimized routines.
27507 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27508 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27509 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27512 2012-09-05 David S. Miller <davem@davemloft.net>
27514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27516 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27517 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27518 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27519 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27522 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27524 * malloc/arena.c: Fold copyright years.
27525 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27527 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27529 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27531 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27533 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27535 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27537 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27538 change internal state upon failure.
27540 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27542 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27543 * malloc/memusage.c (mmap): Likewise.
27544 (mmap64, mremap): Likewise. Adjust name in comment.
27546 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27548 * libio/fileops.c: Fix typos in comments.
27549 * libio/oldfileops.c: Likewise.
27550 * libio/wfileops.c: Likewise.
27552 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27555 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27556 (tst-malloc-usable-ENV): Set environment for test case.
27557 * malloc/hooks.c (malloc_check_get_size): New function to get
27559 * malloc/malloc.c (musable): Use malloc_check_get_size.
27560 * malloc/tst-malloc-usable.c: New test case.
27562 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27564 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27566 2012-09-05 Allan McRae <allan@archlinux.org>
27569 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27570 determine header location.
27571 * configure: Regenerated.
27573 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27575 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27577 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27578 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27580 (test): Regenerate.
27582 2012-09-04 David S. Miller <davem@davemloft.net>
27584 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27585 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27586 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27588 2012-09-04 Florian Weimer <fweimer@redhat.com>
27590 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27593 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27595 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27598 * libio/iogetdelim.c: Include <limits.h>.
27599 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27600 + len + 1 would overflow.
27602 2012-09-03 Andreas Jaeger <aj@suse.de>
27604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27605 * sysdeps/i386/fpu/libm-test-ulps: Update.
27607 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27609 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27610 Add s_sinf-sse2, s_conf-sse2.
27612 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27613 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27614 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27615 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27617 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27618 for using routine as __sinf_ia32.
27619 Use macro for function declaration and weak_alias.
27620 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27621 for using routine as __cosf_ia32.
27622 Use macro for function declaration and weak_alias.
27624 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27625 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27627 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27628 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27629 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27631 * math/libm-test.inc (cos_test): Add more test cases.
27632 (sin_test): Likewise.
27633 (sincos_test): Likewise.
27635 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27637 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27638 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27640 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27642 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27645 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27646 first element of the GOT.
27647 (elf_machine_load_address): Return the difference between
27648 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27650 2012-09-01 Allan McRae <allan@archlinux.org>
27653 * configure.in (AWK): Require gawk version 3.0 or later.
27654 * configure: Regenerated.
27656 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27658 * sysdeps/unix/sysv/linux/kernel-features.h
27659 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27660 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27661 [__NR_clock_getres]: Make code unconditional.
27662 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27663 (clock_getcpuclockid): Remove code left unreachable by removal of
27665 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27666 code unconditional.
27667 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27668 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27669 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27670 Make code unconditional.
27671 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27672 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27673 * sysdeps/unix/sysv/linux/clock_settime.c
27674 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27676 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27677 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27679 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27682 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27683 scripts/test-installation.pl.
27685 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27686 and $ld_so_version if it is set.
27688 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27691 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27692 failure if reading from procfs failed.
27693 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27695 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27697 * sysdeps/unix/sysv/linux/kernel-features.h
27698 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27699 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27700 Remove conditional code.
27701 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27702 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27703 Remove conditional code.
27704 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27705 * sysdeps/unix/sysv/linux/i386/fxstat.c
27706 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27707 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27708 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27709 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27710 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27711 * sysdeps/unix/sysv/linux/i386/lxstat.c
27712 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27713 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27714 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27715 Remove conditional code.
27716 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27717 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27718 Remove conditional code.
27719 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27720 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27721 <kernel-features.h>.
27722 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27724 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27725 Remove conditional code.
27726 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27727 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27728 Remove conditional.
27730 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27733 * NEWS: Add fixed bug number.
27735 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27738 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27739 underflowing exponent in case of negative sign.
27740 * stdlib/tst-strtod-round-data: Add more tests.
27741 * stdlib/tst-strtod-round.c (tests): Regenerated.
27744 * stdlib/strtod_l.c (NDIG): Remove.
27745 (HEXNDIG): Likewise.
27746 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27747 smallest representable value.
27748 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27749 lie within an exact representation of 1/2 ulp of the result.
27750 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27752 (TENS_P9_IDX): Define unconditionally.
27753 (TENS_P9_SIZE): Likewise.
27754 (TENS_P10_IDX): Likewise.
27755 (TENS_P10_SIZE): Likewise.
27756 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27757 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27758 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27759 entries for 10^2^13 and 10^2^14.
27760 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27761 (TENS_P13_IDX): Define.
27762 (TENS_P13_SIZE): Likewise.
27763 (TENS_P14_IDX): Likewise.
27764 (TENS_P14_SIZE): Likewise.
27765 (_fpioconst_pow10): Change array size to
27766 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27768 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27769 1024]: Add entries for 10^2^13 and 10^2^14.
27770 [LAST_POW10 > _LAST_POW10]: Remove #error.
27771 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27772 (_fpioconst_pow10): Change array size to
27773 FPIOCONST_POW10_ARRAY_SIZE.
27774 * stdlib/gen-fpioconst.c: New file.
27775 * stdlib/gen-tst-strtod-round.c: Likewise.
27776 * stdlib/tst-strtod-round-data: Likewise.
27777 * stdlib/tst-strtod-round.c: Likewise.
27778 * stdlib/Makefile (tests): Add tst-strtod-round.
27781 * stdlib/strtod_l.c: Include <stdint.h>.
27782 (NDEBUG): Do not define.
27783 (round_and_return): Change EXPONENT parameter to type intmax_t.
27784 Rearrange calculations to avoid internal overflow possibilities.
27785 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27786 Rearrange calculations to avoid internal overflow possibilities.
27787 Assert that number fits inside MPNSIZE limbs.
27788 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27789 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27790 calculations and add assertions to avoid internal overflow
27791 possibilities. Add casts to avoid signed/unsigned operations.
27792 * stdlib/tst-strtod-overflow.c: New file.
27793 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27795 2012-08-25 Marek Polacek <polacek@redhat.com>
27797 * time/time.h: Fix some typos in comments.
27799 2012-08-23 Roland McGrath <roland@hack.frob.com>
27801 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27802 * posix/tst-rfc3484-2.c: Likewise.
27803 * posix/tst-rfc3484-3.c: Likewise.
27805 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27807 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27808 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27810 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27812 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27813 #include of fxstatat64.c.
27815 2012-08-22 Roland McGrath <roland@hack.frob.com>
27817 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27818 * shadow/getspent_r.c: Likewise.
27819 * shadow/getspnam.c: Likewise.
27820 * shadow/getspnam_r.c: Likewise.
27821 * gshadow/getsgent.c: Likewise.
27822 * gshadow/getsgent_r.c: Likewise.
27823 * gshadow/getsgnam.c: Likewise.
27824 * gshadow/getsgnam_r.c: Likewise.
27825 * inet/getnetbyad.c: Likewise.
27826 * inet/getnetbyad_r.c: Likewise.
27827 * inet/getnetbynm.c: Likewise.
27828 * inet/getnetbynm_r.c: Likewise.
27829 * inet/getnetent.c: Likewise.
27830 * inet/getnetent_r.c: Likewise.
27831 * inet/getproto.c: Likewise.
27832 * inet/getproto_r.c: Likewise.
27833 * inet/getprtent.c: Likewise.
27834 * inet/getprtent_r.c: Likewise.
27835 * inet/getprtname.c: Likewise.
27836 * inet/getprtname_r.c: Likewise.
27837 * inet/getrpcbyname.c: Likewise.
27838 * inet/getrpcbyname_r.c: Likewise.
27839 * inet/getrpcbynumber.c: Likewise.
27840 * inet/getrpcbynumber_r.c: Likewise.
27841 * inet/getrpcent.c: Likewise.
27842 * inet/getrpcent_r.c: Likewise.
27843 * inet/getaliasent.c: Likewise.
27844 * inet/getaliasent_r.c: Likewise.
27845 * inet/getaliasname.c: Likewise.
27846 * inet/getaliasname_r.c: Likewise.
27847 * nscd/getgrgid_r.c: Likewise.
27848 * nscd/getgrnam_r.c: Likewise.
27849 * nscd/gethstbyad_r.c: Likewise.
27850 * nscd/gethstbynm3_r.c: Likewise.
27851 * nscd/getpwnam_r.c: Likewise.
27852 * nscd/getpwuid_r.c: Likewise.
27853 * nscd/getsrvbynm_r.c: Likewise.
27854 * nscd/getsrvbypt_r.c: Likewise.
27855 * nscd/gai.c: Likewise.
27857 * configure.in (build_nscd): New substituted variable, set
27858 by --disable-build-nscd and defaults to $use_nscd.
27859 * configure: Regenerated.
27860 * config.make.in (build-nscd): New substituted variable.
27861 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27862 Change conditional to require [$(build-nscd) = yes] as well.
27863 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27866 * configure.in (use_nscd): New substituted variable, set by
27867 --disable-nscd. If enabled, define USE_NSCD.
27868 * configure: Regenerated.
27869 * config.h.in: Add USE_NSCD.
27870 * config.make.in (use-nscd): New substituted variable.
27871 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27872 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27873 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27874 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27875 (CFLAGS-getgrnam_r.c): Likewise.
27876 (CFLAGS-initgroups.c): Likewise.
27877 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27878 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27880 * inet/getnetgrent_r.c
27881 (nscd_setnetgrent): New function, broken out of ...
27882 (setnetgrent): ... here. Call it.
27883 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27884 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27885 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27886 * nscd/Makefile (routines, aux): Move definitions after include of
27887 Makeconfig. Conditionalize on [$(use-nscd) != no].
27888 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27889 Conditionalize on [USE_NSCD].
27890 (is_nscd, nscd_init_cb): Likewise.
27891 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27892 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27893 * nss/nss_db/db-init.c: Likewise.
27894 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27896 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27897 (make_request): Use it.
27898 (cache_valid_p): New function.
27899 (__check_pf): Use it.
27900 * NEWS: Add item for --disable-nscd.
27902 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27904 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27905 to support sed >= 4.2.1-20-ga9bf076.
27906 * configure: Regenerated.
27908 2012-08-22 Roland McGrath <roland@hack.frob.com>
27910 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27911 Conditionalize whole body on [IREL].
27913 2012-08-22 Jeff Law <law@redhat.com>
27916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27917 if the family is PF_UNSPEC.
27919 2012-08-22 Mike Frysinger <vapier@gentoo.org>
27921 * Makerules (lib-version): Rename from V.
27922 (install-lib-nosubdir): Change V to lib-version.
27924 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27927 * powerpc32/power6/wcschr.c: New file.
27928 * powerpc32/power6/wcscpy.c: New file.
27929 * powerpc32/power6/wcsrchr.c: New file.
27930 * powerpc64/power6/wcschr.c: New file.
27931 * powerpc64/power6/wcscpy.c: New file.
27932 * powerpc64/power6/wcsrchr.c: New file.
27934 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27936 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27937 (two_way_short_needle): Use it.
27938 * string/strstr.c (AVAILABLE1_USES_J): Define.
27939 * string/strcasestr.c: Likewise.
27941 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27943 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27946 * NEWS: Add an entry.
27947 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27948 define their defaults.
27949 (two_way_short_needle): Detect end-of-string on-the-fly.
27950 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27951 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27952 * string/bug-strcasestr1.c: New test.
27953 * string/Makefile: Run it.
27955 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27958 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27959 the first character.
27961 2012-08-21 Roland McGrath <roland@hack.frob.com>
27963 * csu/elf-init.c (__libc_csu_irel): Function removed.
27964 * csu/libc-start.c (apply_irel): New function.
27965 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27967 2012-08-21 Joseph Myers <joseph@codesourcery.com>
27969 * sysdeps/unix/sysv/linux/kernel-features.h
27970 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27971 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27972 <kernel-features.h>.
27973 [__NR_fadvise64_64]: Make code unconditional.
27974 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27975 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27976 !__NR_fadvise64_64)]: Likewise.
27977 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27978 !__NR_fadvise64_64))]: Likewise.
27979 [__NR_fadvise64]: Make code unconditional.
27980 [!__NR_fadvise64]: Remove conditional code.
27981 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27982 <kernel-features.h>.
27983 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27985 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27988 not include <kernel-features.h>.
27989 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27991 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27993 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27994 include <kernel-features.h>.
27995 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27997 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28000 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28002 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28003 slight instruction rearrangements per scrollpipe analysis.
28004 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28006 2012-08-20 Roland McGrath <roland@hack.frob.com>
28008 * manual/syslog.texi (syslog; vsyslog, closelog):
28009 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28010 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28012 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28013 DSOCAPS to match condition on defining it.
28015 2012-08-20 Joseph Myers <joseph@codesourcery.com>
28017 * sysdeps/unix/sysv/linux/kernel-features.h
28018 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28020 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28021 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28023 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28024 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28026 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28027 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28029 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28030 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28032 * sysdeps/unix/sysv/linux/kernel-features.h
28033 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28034 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28036 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28037 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28038 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28039 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28040 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28041 Make code unconditional.
28042 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28043 (__mmap64) [!__NR_mmap2]: Likewise.
28044 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28045 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28046 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28047 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28048 [__NR_mmap2]: Make code unconditional.
28049 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28050 (__mmap64) [!__NR_mmap2]: Likewise.
28052 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28054 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28056 2012-08-18 Andreas Jaeger <aj@suse.de>
28058 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28060 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28062 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28063 * include/unistd.h (__have_sock_cloexec): Likewise.
28064 (__have_pipe2): Likewise.
28065 (__have_dup3): Likewise.
28067 2012-08-18 Mike Frysinger <vapier@gentoo.org>
28070 * include/unistd.h (__have_pipe2): Change define into an extern int.
28071 (__have_dup3): Likewise.
28072 * socket/have_sock_cloexec.c: Include fcntl.h.
28073 (__have_pipe2): New variable.
28074 (__have_dup3): Likewise.
28076 2012-08-17 Mike Frysinger <vapier@gentoo.org>
28078 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28080 2012-08-17 Marek Polacek <polacek@redhat.com>
28082 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28083 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28085 2012-08-17 Roland McGrath <roland@hack.frob.com>
28087 * configure.in: Add AC_SUBST for sysheaders.
28088 * configure: Regenerated.
28089 * config.make.in (sysheaders): New substituted variable.
28091 * sysdeps/unix/mkfifo.c: Moved ...
28092 * sysdeps/posix/mkfifo.c: ... here.
28093 * sysdeps/unix/mkfifoat.c: Moved ...
28094 * sysdeps/posix/mkfifoat.c: ... here.
28096 * sysdeps/unix/utime.c: Moved ...
28097 * sysdeps/posix/utime.c: ... here.
28099 * sysdeps/unix/time.c: Moved ...
28100 * sysdeps/posix/time.c: ... here.
28101 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28102 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28104 * sysdeps/unix/nice.c: Moved ...
28105 * sysdeps/posix/nice.c: ... here.
28107 * sysdeps/unix/alarm.c: Moved ...
28108 * sysdeps/posix/alarm.c: ... here.
28110 * intl/Makefile ($(codeset_mo)): Depend on the input file.
28112 2012-08-17 Jeff Law <law@redhat.com>
28114 * intl/Makefile (codeset_mo): New variable.
28115 ($(codeset_mo)): New target.
28116 (tst-codeset.out): Depend on that. Remove explicit rule.
28117 (tst-gettext3.out, tst-gettext5.out): Likewise.
28118 (LOCPATH-ENV, tst-codeset-ENV): New variables.
28119 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28120 * intl/tst-codeset.sh: Remove.
28121 * intl/tst-gettext3.sh: Likewise.
28122 * intl/tst-gettext5.sh: Likewise.
28124 2012-08-17 Roland McGrath <roland@hack.frob.com>
28126 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
28127 * sysdeps/unix/syscalls.list: ... here.
28129 * sysdeps/posix/getaddrinfo.c
28130 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28131 (gaiconf_init, gaiconf_reload): Use them.
28132 [!_STATBUF_ST_NSEC]
28133 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28134 Define using time_t rather than struct timespec.
28136 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28137 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28139 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28141 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28142 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28145 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28146 __libc_cleanup_push argument.
28148 * bits/param.h: New file.
28149 * misc/sys/param.h: New file.
28150 * include/sys/param.h: New file.
28151 * misc/Makefile (headers): Add bits/param.h.
28152 * sysdeps/generic/sys/param.h: File removed.
28153 * sysdeps/unix/sysv/linux/bits/param.h: New file.
28154 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28155 * sysdeps/mach/hurd/bits/param.h: New file.
28156 * sysdeps/mach/hurd/sys/param.h: File removed.
28158 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28161 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28163 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28164 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28167 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28168 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28169 rather than -D_IO_MTSAFE_IO conditionally.
28170 * stdio-common/Makefile (CPPFLAGS): Likewise.
28171 * wcsmbs/Makefile (CPPFLAGS): Likewise.
28172 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28173 Use $(libio-mtsafe).
28174 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28175 of -D_IO_MTSAFE_IO.
28176 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28177 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28178 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28179 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28180 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28181 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28182 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28183 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28184 (CFLAGS-fread_u_chk.c): Likewise.
28185 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28186 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28187 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28188 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28189 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28190 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28191 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28192 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28193 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28195 * libio/Makefile: Test [$(libc-reentrant) = yes]
28196 instead of [$(filter %REENTRANT, $(defines)) nonempty].
28199 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28200 * sysdeps/pthread/configure: File removed.
28201 * sysdeps/pthread/Makeconfig: New file.
28202 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28203 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28205 2012-08-16 Gary Benson <gbenson@redhat.com>
28207 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28208 unmapping the first object in a namespace.
28210 2012-08-16 Roland McGrath <roland@hack.frob.com>
28212 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28213 (__internal_setnetgrent): ... this. Add internal_function to
28214 definition. Add libc_hidden_def.
28215 (setnetgrent): Update caller.
28216 (internal_endnetgrent): Renamed to ...
28217 (__internal_endnetgrent): ... this. Add internal_function to
28218 definition. Add libc_hidden_def.
28219 (endnetgrent): Update caller.
28220 (internal_getnetgrent_r): Renamed to ...
28221 (__internal_getnetgrent_r): ... this. Add internal_function to
28222 definition. Add libc_hidden_def.
28223 (__getnetgrent_r): Update caller.
28224 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
28226 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28228 * stdlib/longlong.h: Update from GCC.
28230 2012-08-16 Roland McGrath <roland@hack.frob.com>
28232 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28233 on _QL, which is set by umul_ppmm but never used.
28234 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28235 variables, which are set by GMP macros but never used.
28236 * stdio-common/_itowa.c (_itowa): Likewise.
28237 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28238 * stdlib/mod_1.c (mpn_mod_1): Likewise.
28240 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
28242 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28243 struct La_sh_regs is not constant.
28244 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28245 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28246 and struct La_sparc64_regs are not constant.
28248 2012-08-16 Joseph Myers <joseph@codesourcery.com>
28250 * sysdeps/unix/sysv/linux/kernel-features.h
28251 (__ASSUME_POSIX_TIMERS): Remove.
28252 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28253 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28254 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28255 Make code unconditional.
28256 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28257 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28258 Make code unconditional.
28259 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28260 * sysdeps/unix/sysv/linux/clock_nanosleep.c
28261 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28262 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28263 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28264 Make code unconditional.
28265 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28266 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28267 (__libc_missing_posix_timers): Remove.
28269 2012-08-15 Roland McGrath <roland@hack.frob.com>
28271 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28272 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28274 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28276 * elf/dl-sym.c: Include <stdlib.h>.
28278 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28279 constants, which avoids warnings in 32-bit builds.
28281 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28282 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28284 * misc/lseek.c: File moved to ...
28285 * io/lseek.c: ... here.
28287 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28289 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28290 shifting LEN more than 31 bits at once.
28292 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28295 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28296 segmentation fault for a case of two empty input strings.
28297 * string/test-strncasecmp.c (check1): Renamed to...
28298 (bz12205): ...this.
28299 (bz14195): Add new testcase for two empty input strings and N > 0.
28300 (test_main): Call new testcase, adapt for renamed function.
28302 2012-08-15 Andreas Jaeger <aj@suse.de>
28305 * crypt/md5test2.c: New test, based on test supplied by Serge
28306 Belyshev <belyshev@depni.sinp.msu.ru>.
28307 * crypt/Makefile (xtests): Add md5test-giant..
28308 * crypt/Makefile ($(objpfx)md5test-giant): Add.
28310 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
28313 * crypt/md5.c (md5_process_block): Don't assume the buffer
28314 length is less than 2**32.
28315 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28316 length is less than 2**64.
28318 2012-08-15 Roland McGrath <roland@hack.frob.com>
28320 * string/str-two-way.h: Include <sys/param.h>.
28321 (MAX): Macro removed.
28323 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28324 Move #define and #undef of memmove to just before and after
28325 including <string.h>.
28327 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28328 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28329 and after including <string.h>. Move declarations of
28330 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28331 to before #include "string/memmove.c".
28333 * include/dirent.h: Declare __getdirentries.
28335 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28336 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28338 2012-08-14 Mike Frysinger <vapier@gentoo.org>
28340 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28341 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28342 * sysdeps/i386/configure: Regenerated.
28343 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28344 STABS_CURRENT_FILE, and STABS_FUN.
28345 (END): Remove call to STABS_FUN_END.
28346 (STABS_CURRENT_FILE1): Delete.
28347 (STABS_CURRENT_FILE): Likewise.
28348 (STABS_FUN): Likewise.
28349 (STABS_FUN_END): Likewise.
28350 (STABS_FUN2): Likewise.
28351 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28352 * sysdeps/x86_64/configure: Regenerated.
28354 2012-08-14 Roland McGrath <roland@hack.frob.com>
28356 * elf/dl-open.c: Include <atomic.h>.
28357 * elf/dl-lookup.c: Likewise.
28359 2012-08-14 Joseph Myers <joseph@codesourcery.com>
28361 * sysdeps/unix/sysv/linux/kernel-features.h
28362 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28363 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28365 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28367 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28368 condition on __ASSUME_CLONE_THREAD_FLAGS.
28370 2012-08-14 Andreas Jaeger <aj@suse.de>
28372 * sysdeps/i386/fpu/libm-test-ulps: Update.
28374 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
28376 * include/atomic.h (atomic_exchange_and_add): Split into ...
28377 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28380 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
28382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28384 2012-08-13 Jeff Law <law@redhat.com>
28386 * manual/stdio.texi (snprintf): Clarify handling of the trailing
28387 null byte in the output string.
28389 2012-08-10 Joseph Myers <joseph@codesourcery.com>
28391 * sysdeps/unix/sysv/linux/kernel-features.h
28392 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28393 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28394 (__ASSUME_ARG_MAX_STACK_BASED): Define.
28395 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28396 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28397 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
28398 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28400 2012-08-09 Jeff Law <law@redhat.com>
28403 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28404 When avoid_arena is set, don't retry in the that arena. Pick the
28405 next one, whatever it might be.
28406 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28407 (arena_lock): Pass in new parameter to arena_get2.
28408 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28410 (__libc_malloc): Unify retrying after main arena failure with
28411 __libc_memalign version.
28412 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28414 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
28417 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28418 to __redirect_strstr.
28419 (__strstr_sse42): Use typeof __redirect_strstr.
28420 (__strstr_ia32): Likewise.
28421 (__libc_strstr): New prototype.
28422 (strstr): Renamed to ...
28423 (__libc_strstr): This.
28424 (strstr): New strong alias of __libc_strstr.
28425 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28426 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28429 (__libc_time): New prototype.
28430 (time_ifunc): Replace time with __libc_time.
28431 (time): New strong alias and hidden definition of __libc_time.
28432 (__GI_time): Remove strong alias.
28433 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28434 Include <stddef.h>.
28435 (memmove): Redefined to __redirect_memmove.
28436 (__memmove_sse2): Use typeof __redirect_memmove.
28437 (__memmove_ssse3): Likewise.
28438 (__memmove_ssse3_back): Likewise.
28439 (__libc_memmove): New prototype.
28440 (memmove): Renamed to ...
28441 (__libc_memmove): This.
28442 (memmove): New strong alias of __libc_memmove.
28444 2012-08-08 Mark Salter <msalter@redhat.com>
28447 (R_MN10300_TLS_GD): Define.
28448 (R_MN10300_TLS_LD): Likewise.
28449 (R_MN10300_TLS_LDO): Likewise.
28450 (R_MN10300_TLS_GOTIE): Likewise.
28451 (R_MN10300_TLS_IE): Likewise.
28452 (R_MN10300_TLS_LE): Likewise.
28453 (R_MN10300_TLS_DTPMOD): Likewise.
28454 (R_MN10300_TLS_DTPOFF): Likewise.
28455 (R_MN10300_TLS_TPOFF): Likewise.
28456 (R_MN10300_SYM_DIFF): Likewise.
28457 (R_MN10300_ALIGN): Likewise.
28458 (R_MN10300_NUM): Update.
28460 2012-08-08 Joseph Myers <joseph@codesourcery.com>
28462 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28465 2012-08-08 Roland McGrath <roland@hack.frob.com>
28467 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28469 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28470 sysdeps/unix -> sysdeps/posix move.
28471 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28473 2012-08-07 Allan McRae <allan@archlinux.org>
28476 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28477 (SUNOS_CPP): Likewise.
28478 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28480 (open_input): Call CPP using execvp.
28482 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28484 * sysdeps/unix/sysv/linux/kernel-features.h
28485 (__ASSUME_PROT_GROWSUPDOWN): Remove.
28486 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28487 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28488 (__ASSUME_WAITID_SYSCALL): Likewise.
28489 * sysdeps/unix/sysv/linux/dl-execstack.c
28490 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28491 code unconditional.
28492 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28494 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28495 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28496 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28498 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28500 [__ASSUME_WAITID_SYSCALL]: Likewise.
28501 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28503 2012-08-07 Roland McGrath <roland@hack.frob.com>
28505 * sysdeps/unix/closedir.c: Renamed to ...
28506 * sysdeps/posix/closedir.c: ... here.
28507 * sysdeps/unix/dirfd.c: Renamed to ...
28508 * sysdeps/posix/dirfd.c: ... here.
28509 * sysdeps/unix/dirstream.h: Renamed to ...
28510 * sysdeps/posix/dirstream.h: ... here.
28511 * sysdeps/unix/fdopendir.c: Renamed to ...
28512 * sysdeps/posix/fdopendir.c: ... here.
28513 * sysdeps/unix/opendir.c: Renamed to ...
28514 * sysdeps/posix/opendir.c: ... here.
28515 * sysdeps/unix/readdir.c: Renamed to ...
28516 * sysdeps/posix/readdir.c: ... here.
28517 * sysdeps/unix/readdir_r.c: Renamed to ...
28518 * sysdeps/posix/readdir_r.c: ... here.
28519 * sysdeps/unix/rewinddir.c: Renamed to ...
28520 * sysdeps/posix/rewinddir.c: ... here.
28521 * sysdeps/unix/seekdir.c: Renamed to ...
28522 * sysdeps/posix/seekdir.c: ... here.
28523 * sysdeps/unix/telldir.c: Renamed to ...
28524 * sysdeps/posix/telldir.c: ... here.
28525 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28526 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28527 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28528 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28530 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28531 * bits/fcntl.h: ... here.
28533 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28535 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28536 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28537 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28538 (struct flock): Move l_start, l_len to the beginning.
28539 Use __pid_t for l_pid.
28540 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28541 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28542 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28543 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28544 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28545 [__USE_LARGEFILE64] (struct flock64): New type.
28546 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28548 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28549 * bits/dirent.h: ... here.
28551 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28552 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28554 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28556 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28557 Change from 2.6.0 to 2.6.16.
28558 * sysdeps/unix/sysv/linux/configure: Regenerated.
28559 * sysdeps/unix/sysv/linux/kernel-features.h
28560 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28561 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28563 (__ASSUME_UTIMES): Likewise.
28564 (__ASSUME_CLONE_STOPPED): Remove.
28565 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28566 architectures, not kernel version.
28567 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28568 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28569 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28570 (__ASSUME_WAITID_SYSCALL): Likewise.
28571 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28572 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28573 * README: State 2.6.16 as minimum Linux kernel version. Do not
28574 refer to older versions.
28576 2012-08-06 Roland McGrath <roland@hack.frob.com>
28578 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28579 Define alphasort64 as an alias.
28580 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28581 Define versionsort64 as an alias.
28582 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28583 Define scandir64 as an alias.
28584 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28585 Define scandirat64 as an alias.
28586 * dirent/alphasort64.c (alphasort64):
28587 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28588 * dirent/versionsort64.c: Likewise.
28589 * dirent/scandir64.c: Likewise.
28590 * dirent/scandirat64.c: Likewise.
28591 * sysdeps/wordsize-64/alphasort.c: File removed.
28592 * sysdeps/wordsize-64/alphasort64.c: File removed.
28593 * sysdeps/wordsize-64/scandir.c: File removed.
28594 * sysdeps/wordsize-64/scandir64.c: File removed.
28595 * sysdeps/wordsize-64/scandirat.c: File removed.
28596 * sysdeps/wordsize-64/scandirat64.c: File removed.
28597 * sysdeps/wordsize-64/versionsort.c: File removed.
28598 * sysdeps/wordsize-64/versionsort64.c: File removed.
28599 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28600 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28601 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28602 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28603 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28604 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28605 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28606 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28608 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28609 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28610 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28611 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28612 [defined __arch64__ || defined __sparcv9]
28613 (__INO_T_MATCHES_INO64_T): New macro.
28614 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28615 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28616 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28617 * sysdeps/unix/sysv/linux/bits/dirent.h
28618 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28619 (_DIRENT_MATCHES_DIRENT64): New macro.
28621 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28622 Define lockf64 as an alias.
28623 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28624 Define fseeko64 as an alias.
28625 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28626 Define ftello64 as an alias.
28627 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28628 Define _IO_fgetpos64 and fgetpos64 as aliases.
28629 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28630 Define _IO_fsetpos64 and fsetpos64 as aliases.
28631 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28632 Conditionalize body on this.
28633 * libio/fseeko64.c: Likewise.
28634 * libio/ftello64.c: Likewise.
28635 * libio/iofgetpos64.c: Likewise.
28636 * libio/iofsetpos64.c: Likewise.
28637 * sysdeps/wordsize-64/lockf.c: File removed.
28638 * sysdeps/wordsize-64/lockf64.c: File removed.
28639 * sysdeps/wordsize-64/fseeko.c: File removed.
28640 * sysdeps/wordsize-64/fseeko64.c: File removed.
28641 * sysdeps/wordsize-64/ftello.c: File removed.
28642 * sysdeps/wordsize-64/ftello64.c: File removed.
28643 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28644 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28645 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28646 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28647 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28648 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28649 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28650 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28651 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28652 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28653 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28654 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28655 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28656 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28658 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28660 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28662 [defined __arch64__ || defined __sparcv9]
28663 (__OFF_T_MATCHES_OFF64_T): New macro.
28664 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28665 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28666 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28667 (__OFF_T_MATCHES_OFF64_T): New macro.
28669 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28671 * stdlib/secure-getenv.c (__secure_getenv): Replace
28672 GLIBC_2_16 with GLIBC_2_17.
28674 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28676 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28677 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28679 2012-08-03 David S. Miller <davem@davemloft.net>
28681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28683 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28685 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28687 (__ASSUME_CORRECT_SI_PID): Likewise.
28688 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28689 (__ASSUME_TMPFS_NAME): Likewise.
28690 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28691 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28692 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28693 (HAVE_AUX_SECURE): Make definition unconditional.
28694 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28695 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28697 2012-08-03 Roland McGrath <roland@hack.frob.com>
28699 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28700 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28701 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28702 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28703 __eloop_threshold instead of SYMLOOP_MAX.
28705 * sysdeps/generic/eloop-threshold.h: New file.
28706 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28708 * elf/chroot_canon.c (chroot_canon): Likewise.
28710 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28713 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28714 Change to 2.6.0 everywhere.
28715 * sysdeps/unix/sysv/linux/configure: Regenerated.
28716 * sysdeps/unix/sysv/linux/kernel-features.h
28717 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28718 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28720 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28721 (__ASSUME_FUTEX_REQUEUE): Remove.
28722 (__ASSUME_STATFS64): Define unconditionally.
28723 (__ASSUME_AT_SECURE): Likewise.
28724 (__ASSUME_CORRECT_SI_PID): Likewise.
28725 (__ASSUME_TGKILL): Define without depending on kernel version for
28727 (__ASSUME_UTIMES): Likewise.
28728 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28730 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28731 (__ASSUME_TMPFS_NAME): Likewise.
28732 * README: Update reference to Linux kernel versions.
28734 2012-08-02 Marek Polacek <polacek@redhat.com>
28737 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28738 libc_cv_asm_type_prefix with %.
28739 * configure: Regenerated.
28740 * include/libc-symbols.h: Remove comment about
28741 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28742 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28743 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28744 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28745 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28746 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28747 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28748 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28749 * elf/tst-unique2mod1.c: Likewise.
28750 * elf/tst-unique1mod2.c: Likewise.
28751 * elf/tst-unique1mod1.c: Likewise.
28752 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28753 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28754 Replace ASM_TYPE_DIRECTIVE with .type.
28755 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28756 * sysdeps/i386/sysdep.h: Likewise.
28757 * sysdeps/x86_64/sysdep.h: Likewise.
28758 * sysdeps/sh/sysdep.h: Likewise.
28759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28760 Do not define ASM_TYPE_DIRECTIVE.
28761 * sysdeps/powerpc/sysdep.h: Likewise.
28762 * sysdeps/powerpc/powerpc32/sysdep.h:
28763 Replace ASM_TYPE_DIRECTIVE with .type.
28764 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28765 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28766 * sysdeps/i386/fpu/e_powf.S: Likewise.
28767 * sysdeps/i386/fpu/e_expl.S: Likewise.
28768 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28769 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28770 * sysdeps/i386/fpu/e_pow.S: Likewise.
28771 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28772 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28773 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28774 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28775 * sysdeps/i386/fpu/e_log2.S: Likewise.
28776 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28777 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28778 * sysdeps/i386/fpu/e_powl.S: Likewise.
28779 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28780 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28781 * sysdeps/i386/fpu/e_logl.S: Likewise.
28782 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28783 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28784 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28785 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28786 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28787 * sysdeps/i386/fpu/e_log.S: Likewise.
28788 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28789 * sysdeps/i386/fpu/e_logf.S: Likewise.
28790 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28791 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28792 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28793 * sysdeps/i386/fpu/e_log10.S: Likewise.
28794 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28795 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28796 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28797 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28798 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28799 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28800 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28801 * sysdeps/i386/i686/strtok.S: Likewise.
28802 * sysdeps/i386/i386-mcount.S: Likewise.
28803 * sysdeps/i386/strtok.S: Likewise.
28804 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28805 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28806 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28807 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28808 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28809 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28810 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28811 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28812 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28813 * sysdeps/x86_64/_mcount.S: Likewise.
28814 * sysdeps/x86_64/strtok.S: Likewise.
28815 * sysdeps/sh/_mcount.S: Likewise.
28817 2012-08-01 Roland McGrath <roland@hack.frob.com>
28819 * libio/iofopen.c: Include <fcntl.h>.
28820 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28821 (_IO_fopen64, fopen64): Define as aliases.
28822 * libio/iofopen64.c: Include <fcntl.h>.
28823 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28824 Conditionalize body on this.
28825 * sysdeps/wordsize-64/iofopen.c: File removed.
28826 * sysdeps/wordsize-64/iofopen64.c: File removed.
28828 2012-08-01 Marek Polacek <polacek@redhat.com>
28830 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28831 Use dlfcn directly instead of a variable.
28832 (binfmt-subdir): Do not define.
28835 2012-08-01 Joseph Myers <joseph@codesourcery.com>
28837 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28838 Remove all definitions.
28839 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28840 <kernel-features.h>.
28841 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28842 (miss_F_GETOWN_EX): Remove all definitions.
28843 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28845 [!__ASSUME_FCNTL64]: Remove conditional code.
28846 [__ASSUME_FCNTL64]: Make code unconditional.
28847 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28848 <kernel-features.h>.
28849 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28850 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28851 (lockf64) [__NR_fcntl64]: Make code unconditional.
28852 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28854 * sysdeps/unix/sysv/linux/kernel-features.h
28855 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28856 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28857 Make code unconditional.
28858 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28859 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28861 [__NR_vfork]: Make code unconditional.
28862 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28863 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28865 [__NR_vfork]: Make code unconditional.
28866 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28867 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28869 2012-08-01 Roland McGrath <roland@hack.frob.com>
28871 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28872 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28874 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28875 Define mkstemp64 as an alias.
28876 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28877 Define mkstemps64 as an alias.
28878 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28879 Define mkostemp64 as an alias.
28880 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28881 Define mkostemps64 as an alias.
28882 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28883 Conditionalize body on this.
28884 * misc/mkostemp64.c: Likewise.
28885 * misc/mkostemps64.c: Likewise.
28886 * misc/mkstemps64.c: Likewise.
28887 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28888 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28889 * sysdeps/wordsize-64/mkostemp.c: File removed.
28890 * sysdeps/wordsize-64/mkstemp.c: File removed.
28891 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28892 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28893 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28894 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28897 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28898 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28899 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28900 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28902 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28903 compat_symbol macros from <shlib-compat.h> rather than the underlying
28904 default_symbol_version and symbol_version macros, so that DEFAULT
28905 lines in shlib-versions are respected.
28906 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28908 2012-08-01 Florian Weimer <fweimer@redhat.com>
28910 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28911 Declare with warn_unused_result.
28912 (setgid, setregid, setegid, setresgid): Likewise.
28913 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28915 * WUR-REPORT: Remove set*id functions.
28917 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28919 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28921 2012-07-31 Roland McGrath <roland@hack.frob.com>
28924 * include/sys/socket.h (__libc_accept, __libc_accept4):
28925 Add attribute_hidden.
28926 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28928 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28930 * inet/getnetgrent_r.c (setup): Likewise.
28932 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28934 2012-07-31 David S. Miller <davem@davemloft.net>
28936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28938 2012-07-31 Joseph Myers <joseph@codesourcery.com>
28941 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28942 value between 1.0 and 2.0 and smaller part has absolute value less
28944 * math/s_clog10.c (__clog10): Likewise.
28945 * math/s_clog10f.c (__clog10f): Likewise.
28946 * math/s_clog10l.c (__clog10l): Likewise.
28947 * math/s_clogf.c (__clogf): Likewise.
28948 * math/s_clogl.c (__clogl): Likewise.
28949 * math/libm-test.inc (clog_test): Add more tests.
28950 (clog10_test): Likewise.
28951 * sysdeps/i386/fpu/libm-test-ulps: Update.
28952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28954 2012-07-31 Florian Weimer <fweimer@redhat.com>
28956 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28957 Exit with zero in case no suitable GID is found, and write a
28958 message to standard error.
28960 2012-07-30 Roland McGrath <roland@hack.frob.com>
28962 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28964 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28965 (MAXPATHLEN): Removed.
28966 (NOGROUP, NODEV): New macros.
28967 (setbit, clrbit, isset, isclr): New macros.
28968 (howmany, roundup, powerof2): New macros.
28969 (DEV_BSIZE): New macro.
28971 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28972 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28974 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28975 definition on [!__NO_LONG_DOUBLE_MATH].
28977 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28978 PTR_MANGLE and PTR_DEMANGLE.
28980 * socket/accept4.c (accept4): Rename to __libc_accept4.
28981 Define accept4 as a weak alias.
28983 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28984 on [_DIRENT_HAVE_D_TYPE].
28985 * io/ftw.c (ftw_dir): Likewise.
28987 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28989 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28991 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28992 Use the BSD numbers rather than the arbitrary ones we had.
28993 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28994 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28995 (SIGXCPU, SIGXFSZ): New macros.
28998 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28999 initializer on [_LIBC_REENTRANT].
29001 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29002 definitions inside [_POSIX_MAPPED_FILES].
29004 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29006 * dirent/opendir.c: Include <fcntl.h>.
29008 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29009 (__libc_getspecific): Likewise.
29010 (__libc_key_create): Likewise.
29012 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29013 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29014 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29015 (tmpfile64): Define as alias.
29016 * sysdeps/wordsize-64/tmpfile.c: File removed.
29017 * sysdeps/wordsize-64/tmpfile64.c: File removed.
29018 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29019 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29021 * stdio-common/vfscanf.c: Include <stdbool.h>.
29022 * nss/makedb.c: Likewise.
29023 * stdio-common/_i18n_number.h: Likewise.
29024 * argp/argp-help.c: Likewise.
29025 * posix/wordexp.c: Likewise.
29026 * sysdeps/posix/spawni.c: Likewise.
29027 * nss/nss_files/files-initgroups.c: Likewise.
29028 * stdio-common/reg-modifier.c: Include <stdlib.h>.
29029 * nss/nss_files/files-initgroups.c: Likewise.
29030 * nss/nss_db/db-netgrp.c: Likewise.
29031 * nss/nss_db/db-initgroups.c: Likewise.
29032 * io/fchmodat.c: Include <sys/stat.h>.
29034 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29035 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29037 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29040 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29041 Add multiple inclusion protection.
29043 2012-07-27 David S. Miller <davem@davemloft.net>
29045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29047 2012-07-27 Gary Benson <gbenson@redhat.com>
29050 * elf/rtld.c: Include <stap-probe.h>.
29051 (dl_main): Added static probes "init_start" and "init_complete".
29052 * elf/dl-load.c: Include <stap-probe.h>.
29053 (lose): Take new parameter "nsid".
29054 Added static probe "map_failed".
29055 (_dl_map_object_from_fd): Pass namespace id to lose.
29056 Added static probe "map_start".
29057 (open_verify): Pass namespace id to lose.
29058 * elf/dl-open.c: Include <stap-probe.h>.
29059 (dl_open_worker) Added static probes "map_complete", "reloc_start"
29060 and "reloc_complete".
29061 * elf/dl-close.c: Include <stap-probe.h>.
29062 (_dl_close_worker): Added static probes "unmap_start" and
29064 * elf/rtld-debugger-interface.txt: New file documenting the above.
29066 2012-07-26 Roland McGrath <roland@hack.frob.com>
29068 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29069 rather than a string variable.
29070 * sunrpc/rpc_main.c (h_output): Likewise.
29071 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29073 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
29075 * inet/check_native.c: New file.
29077 2012-07-26 Joseph Myers <joseph@codesourcery.com>
29080 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29081 if larger part has absolute value 1.0.
29082 * math/s_clog10.c (__clog10): Likewise.
29083 * math/s_clog10f.c (__clog10f): Likewise.
29084 * math/s_clog10l.c (__clog10l): Likewise.
29085 * math/s_clogf.c (__clogf): Likewise.
29086 * math/s_clogl.c (__clogl): Likewise.
29087 * math/libm-test.inc (clog_test): Add more tests.
29088 (clog10_test): Likewise.
29089 * sysdeps/i386/fpu/libm-test-ulps: Update.
29090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29092 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29093 (pltexit): Likewise.
29094 (La_regs): Likewise.
29095 (La_retval): Likewise.
29096 (int_retval): Likewise.
29097 Update #error for removed macros to refer only to definitions in
29099 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29101 (pltexit): Likewise.
29102 (La_regs): Likewise.
29103 (La_retval): Likewise.
29104 (int_retval): Likewise.
29105 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29107 (pltexit): Likewise.
29108 (La_regs): Likewise.
29109 (La_retval): Likewise.
29110 (int_retval): Likewise.
29111 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29113 (pltexit): Likewise.
29114 (La_regs): Likewise.
29115 (La_retval): Likewise.
29116 (int_retval): Likewise.
29117 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29119 (pltexit): Likewise.
29120 (La_regs): Likewise.
29121 (La_retval): Likewise.
29122 (int_retval): Likewise.
29123 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29125 (pltexit): Likewise.
29126 (La_regs): Likewise.
29127 (La_retval): Likewise.
29128 (int_retval): Likewise.
29129 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29131 (pltexit): Likewise.
29132 (La_regs): Likewise.
29133 (La_retval): Likewise.
29134 (int_retval): Likewise.
29135 * sysdeps/generic/tst-audit.h: Update comment to refer only to
29136 macro definitions in tst-audit.h.
29137 * sysdeps/i386/tst-audit.h: New file.
29138 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29139 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29140 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29141 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29142 * sysdeps/sh/tst-audit.h: Likewise.
29143 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29144 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29145 * sysdeps/x86_64/tst-audit.h: Likewise.
29147 2012-07-26 Andreas Jaeger <aj@suse.de>
29149 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29152 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29153 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29154 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29156 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29157 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29158 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29160 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29163 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29165 (si_call_addr, si_syscall, si_arch): Define new macro.
29166 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29168 (si_call_addr, si_syscall, si_arch): Define new marcro.
29169 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29171 (si_call_addr, si_syscall, si_arch): Define new macro.
29172 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29174 (si_call_addr, si_syscall, si_arch): Define new macro.
29176 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29179 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29180 Change to 2.4.21 where previously 2.4.1.
29181 * sysdeps/unix/sysv/linux/configure: Regenerated.
29182 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29183 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29184 Linux kernel version.
29185 (__ASSUME_STD_AUXV): Remove.
29186 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29188 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29189 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29190 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29191 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29192 (__ASSUME_NETLINK_SUPPORT): Likewise.
29193 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29194 (__no_netlink_support): Remove conditional definition.
29195 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29197 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29198 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29199 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29200 (if_nameindex_ioctl): Remove.
29201 (if_nameindex_netlink): Do not handle __no_netlink_support.
29202 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29204 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29205 Remove conditional code.
29206 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29208 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29210 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29211 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29212 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29214 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29215 [!__ASSUME_STD_AUXV]: Remove conditional code.
29216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29217 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29218 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29220 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29221 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29223 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29225 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29226 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29228 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29230 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29233 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29236 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29237 code unconditional.
29238 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29240 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29242 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29245 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29247 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29250 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29251 code unconditional.
29252 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29254 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29256 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29259 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29260 code unconditional.
29261 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29263 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29265 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29268 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
29270 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29271 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29272 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29273 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29274 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29275 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29276 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29277 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29278 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29279 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29280 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29281 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29282 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29283 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29284 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29285 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29286 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29287 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29288 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29290 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29291 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29292 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29294 2012-07-25 Florian Weimer <fweimer@redhat.com>
29296 * Versions.def: Add GLIBC_2.17.
29297 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29298 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29299 Introduce __libc_secure_getenv.
29300 * stdlib/Versions (2.17): Add secure_getenv
29301 (GLIBC_PRIVATE): Add __libc_secure_getenv.
29302 * stdlib/secure-getenv.c: Rename __secure_getenv to
29303 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
29304 symbol __secure_getenv for GLIBC_2.0.
29305 * stdlib/tst-secure-getenv.c: New.
29306 * stdlib/Makefile (tests): Add testcase.
29307 * manual/startup.texi (Environment Access): Document
29309 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29310 __libc_secure_getenv.
29311 * inet/ruserpass.c (ruserpass): Likewise.
29312 * malloc/mtrace.c (mtrace): Likewise.
29313 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29314 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29315 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29316 * sysdeps/posix/tempname.c: Likewise. Evaluate
29317 HAVE_SECURE_GETENV.
29318 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29319 __secure_getenv to __libc_secure_getenv.
29320 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29327 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29333 2012-07-25 Joseph Myers <joseph@codesourcery.com>
29335 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29336 (struct La_i86_retval): Likewise.
29337 (struct La_x86_64_regs): Likewise.
29338 (struct La_x86_64_retval): Likewise.
29339 (struct La_x32_regs): Likewise.
29340 (struct La_x32_retval): Likewise.
29341 (struct La_ppc32_regs): Likewise.
29342 (struct La_ppc32_retval): Likewise.
29343 (struct La_ppc64_regs): Likewise.
29344 (struct La_ppc64_retval): Likewise.
29345 (struct La_sh_regs): Likewise.
29346 (struct La_sh_retval): Likewise.
29347 (struct La_s390_32_regs): Likewise.
29348 (struct La_s390_32_retval): Likewise.
29349 (struct La_s390_64_regs): Likewise.
29350 (struct La_s390_64_retval): Likewise.
29351 (struct La_sparc32_regs): Likewise.
29352 (struct La_sparc32_retval): Likewise.
29353 (struct La_sparc64_regs): Likewise.
29354 (struct La_sparc64_retval): Likewise.
29355 (struct audit_ifaces): Remove architecture-specific pltenter and
29357 * sysdeps/i386/ldsodefs.h: New file.
29358 * sysdeps/powerpc/ldsodefs.h: Likewise.
29359 * sysdeps/s390/ldsodefs.h: Likewise.
29360 * sysdeps/sh/ldsodefs.h: Likewise.
29361 * sysdeps/sparc/ldsodefs.h: Likewise.
29362 * sysdeps/x86_64/ldsodefs.h: Likewise.
29364 2012-07-25 Marek Polacek <polacek@redhat.com>
29367 * math/libm-test.inc (yn_test): Add another test.
29368 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29369 to ERANGE when the result is +-Inf.
29370 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29371 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29372 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29373 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29375 2012-07-24 Joseph Myers <joseph@codesourcery.com>
29377 * conform/data/time.h-data (NULL): Use macro-constant. Require
29379 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
29381 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
29383 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
29385 * configure.in <sysdeps resolving>: Correct printing
29387 * configure: Regenerate.
29389 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
29391 * math/w_ilogb.c: Include <limits.h>.
29392 * math/w_ilogbl.c: Likewise.
29394 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29396 * manual/lang.texi (__va_copy): Document primarily as ISO C99
29397 va_copy. Document allowing for unavailable va_copy only as
29398 pre-C99 compatibility.
29399 * manual/string.texi (Copying and Concatenation): Use va_copy
29400 instead of __va_copy in concat example.
29402 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
29404 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29405 (__sendto): Use create_address_port. Initialize APORT and deallocate
29408 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29409 with O_NOLINK passed to __file_name_lookup.
29411 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29412 with O_NOLINK passed to __file_name_lookup.
29414 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29415 negative N or less than NGIDS.
29417 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29418 type to string_t. Set ERANGE as errno and return it if NAME is not big
29419 enough. Use memcpy instead of strncpy.
29421 2012-07-20 Joseph Myers <joseph@codesourcery.com>
29423 * elf/Makefile (check-data): Remove.
29424 (localplt.data): New vpath directive.
29425 ($(objpfx)check-localplt.out): Use localplt.data from vpath
29426 instead of $(check-data).
29427 * scripts/data/localplt-generic.data: Move to ...
29428 * sysdeps/generic/localplt.data: ... here.
29429 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29430 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29431 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29434 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29437 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29438 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29440 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29443 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29446 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29450 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29452 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29453 PPC32 and PPC64 files.
29454 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29455 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29457 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29459 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29460 __makecontext_ret to ...
29461 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29462 ... here and call exit if uc_link is NULL. New file.
29463 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29464 __makecontext_ret.S.
29465 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29466 __makecontext_ret to ...
29467 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29468 ... here and call exit if uc_link is NULL. New file.
29469 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29470 __makecontext_ret.S.
29472 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29474 * elf/elf.h (R_390_IRELATIVE): New definition.
29475 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29476 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
29477 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29478 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29479 (elf_machine_lazy_rel): Likewise.
29480 * sysdeps/s390/dl-irel.h: New file.
29481 * sysdeps/s390/s390-64/memcpy.S: New asm code.
29482 * sysdeps/s390/s390-64/memset.S: New asm code.
29483 * sysdeps/s390/s390-64/memcmp.S: New asm code.
29484 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29485 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29486 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29487 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29488 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29489 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29490 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29491 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29492 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29493 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29494 * sysdeps/s390/s390-32/memcpy.S: New asm code.
29495 * sysdeps/s390/s390-32/memset.S: New asm code.
29496 * sysdeps/s390/s390-32/memcmp.S: New asm code.
29498 2012-07-17 Marek Polacek <polacek@redhat.com>
29501 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29502 * sysdeps/s390/s390-64/configure.in: Likewise.
29503 * sysdeps/sparc/configure.in: Likewise.
29504 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29505 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29506 * sysdeps/i386/configure.in: Likewise.
29507 * sysdeps/x86_64/configure.in: Likewise.
29508 * sysdeps/sh/configure.in: Likewise.
29509 * sysdeps/s390/s390-32/configure: Regenerated.
29510 * sysdeps/s390/s390-64/configure: Likewise.
29511 * sysdeps/x86_64/configure: Likewise.
29512 * sysdeps/sh/configure: Likewise.
29513 * sysdeps/powerpc/powerpc64/configure: Likewise.
29514 * sysdeps/powerpc/powerpc32/configure: Likewise.
29515 * sysdeps/sparc/configure: Likwise.
29516 * sysdeps/i386/configure: Likewise.
29518 * elf/dl-open.c: Comment fixes.
29520 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29522 * Makefile [CXX] (check-data): Remove.
29523 [CXX] (c++-types.data): New vpath directive.
29524 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29525 vpath. Do not allow for C++ type data being missing.
29526 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29527 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29528 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29529 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29530 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29531 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29532 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29535 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29538 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29541 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29544 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29547 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29550 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29553 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29556 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29557 definitions to architecture-specific files.
29558 (TLS_IE): Likewise.
29559 (TLS_LD): Likewise.
29560 (TLS_GD): Likewise.
29561 * sysdeps/i386/tls-macros.h: New file.
29562 * sysdeps/powerpc/tls-macros.h: Likewise.
29563 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29564 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29565 * sysdeps/sh/tls-macros.h: Likewise.
29566 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29567 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29568 * sysdeps/x86_64/tls-macros.h: Likewise.
29570 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29572 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29573 zero value for regular exit case.
29575 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29576 (__start_context): Preserve zero value for regular exit case.
29578 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29579 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29581 * manual/setjmp.texi (setcontext): Clarify normal process
29582 termination when uc_link is the null pointer.
29583 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29586 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29588 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29589 preprocessor. Test for each exception mask separately.
29591 2012-07-16 Andreas Jaeger <aj@suse.de>
29593 * po/ru.po: Update from translation team.
29595 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29597 * conform/data/string.h-data (NULL): Use macro-constant. Require
29599 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29600 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29601 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29602 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29603 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29605 2012-07-13 Andreas Jaeger <aj@suse.de>
29607 * po/fr.po: Update from translation team.
29609 2012-07-12 Marek Polacek <polacek@redhat.com>
29612 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29613 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29616 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29619 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29620 Change to 2.4.1 where previously 2.4.0.
29621 * sysdeps/unix/sysv/linux/configure: Regenerated.
29622 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29623 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29625 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29626 (__ASSUME_AT_CLKTCK): Remove.
29627 (__ASSUME_AT_PAGESIZE): Likewise.
29628 (__ASSUME_AT_XID): Likewise.
29629 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29630 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29631 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29633 (HAVE_AUX_PAGESIZE): Likewise.
29634 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29635 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29636 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29638 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29642 the temporary buffer used to invoke __gethostbyname2_r,
29643 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29644 host_data / struct gaih_addrtuple.
29645 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29646 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29647 header file nss/nsswitch.h.
29648 * nss/nsswitch.h (global scope): Add definition of implementation
29649 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29650 resolv/nss_dns/dns-host.c).
29652 2012-07-11 Andreas Jaeger <aj@suse.de>
29654 * po/fr.po: Update from translation team.
29656 * po/sv.po: Update from translation team
29657 * po/fr.po: Another update from translation team.
29659 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29661 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29662 for subnormals or multiply small sinh result by itself.
29663 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29666 2012-07-11 David S. Miller <davem@davemloft.net>
29668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29670 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29673 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29674 (INTERNAL_MARK): Shift it here.
29676 2012-07-10 Marek Polacek <polacek@redhat.com>
29679 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29680 libc_cv_asm_global_directive with .globl.
29681 * configure: Regenerated.
29682 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29684 * sysdeps/i386/configure: Regenerated.
29685 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29687 * sysdeps/x86_64/configure: Regenerated.
29688 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29689 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29690 * elf/tst-unique2mod2.c: Likewise.
29691 * elf/tst-unique2mod1.c: Likewise.
29692 * elf/tst-unique1mod2.c: Likewise.
29693 * elf/tst-unique1mod1.c: Likewise.
29694 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29695 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29696 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29697 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29698 * sysdeps/mach/sysdep.h: Likewise.
29699 * sysdeps/i386/sysdep.h: Likewise.
29700 * sysdeps/i386/i386-mcount.S: Likewise.
29701 * sysdeps/x86_64/_mcount.S: Likewise.
29702 * sysdeps/x86_64/sysdep.h: Likewise.
29703 * sysdeps/sh/_mcount.S: Likewise.
29704 * sysdeps/sh/sysdep.h: Likewise.
29705 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29706 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29707 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29708 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29709 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29710 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29711 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29712 * locale/localeinfo.h: Likewise.
29713 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29714 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29716 2012-07-09 Roland McGrath <roland@hack.frob.com>
29719 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29721 * manual/message.texi (The Uniforum approach): Likewise.
29722 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29723 (glibc iconv Implementation): Likewise.
29725 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29728 * math/s_clog.c (__clog): Avoid scaling a value down where that
29729 could result in underflow.
29730 * math/s_clog10.c (__clog10): Likewise.
29731 * math/s_clog10f.c (__clog10f): Likewise.
29732 * math/s_clog10l.c (__clog10l): Likewise.
29733 * math/s_clogf.c (__clogf): Likewise.
29734 * math/s_clogl.c (__clogl): Likewise.
29735 * math/libm-test.inc (clog_test): Add more tests.
29736 (clog10_test): Likewise.
29737 * sysdeps/i386/fpu/libm-test-ulps: Update.
29738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29740 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29743 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29744 by 7 not 8 to examine high bit of fractional part.
29747 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29748 for call to __mcount_internal.
29749 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29750 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29751 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29753 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29756 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29757 approximation for values within 0x1p-13f of an odd multiple of
29759 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29760 exception. Add more tests.
29761 * sysdeps/i386/fpu/libm-test-ulps: Update.
29764 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29765 inputs and return -1 for them. Do not check for +Inf in case not
29766 reachable for +Inf.
29767 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29768 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29769 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29770 and return -1 for them. Do not check for +Inf in case not
29771 reachable for +Inf.
29772 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29774 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29775 and return -1 for them. Do not check for +Inf in case not
29776 reachable for +Inf.
29777 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29778 spurious underflow.
29779 * sysdeps/i386/fpu/libm-test-ulps: Update.
29780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29782 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29784 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29786 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29790 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29791 could result in spurious underflow. Scale down values above
29792 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29793 * math/s_csqrtf.c (__csqrtf): Likewise.
29794 * math/s_csqrtl.c (__csqrtl): Likewise.
29795 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29796 spurious underflow.
29797 * sysdeps/i386/fpu/libm-test-ulps: Update.
29798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29800 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29802 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29804 * catgets/xopen-msg.awk: New file.
29805 * catgets/xopen-msg.sed: Removed.
29807 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29809 * intl/po2test.awk: New file.
29810 * intl/po2test.sed: Removed.
29812 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29815 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29816 or multiply small sinh result by itself.
29817 * math/s_ctanf.c (__ctanf): Likewise.
29818 * math/s_ctanh.c (__ctanh): Likewise.
29819 * math/s_ctanhf.c (__ctanhf): Likewise.
29820 * math/s_ctanhl.c (__ctanhl): Likewise.
29821 * math/s_ctanl.c (__ctanl): Likewise.
29822 * math/libm-test.inc (ctan_test_tonearest): New function.
29823 (ctan_test_towardzero): Likewise.
29824 (ctan_test_downward): Likewise.
29825 (ctan_test_upward): Likewise.
29826 (ctanh_test_tonearest): Likewise.
29827 (ctanh_test_towardzero): Likewise.
29828 (ctanh_test_downward): Likewise.
29829 (ctanh_test_upward): Likewise.
29830 (main): Call these new functions.
29831 * sysdeps/i386/fpu/libm-test-ulps: Update.
29832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29834 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29836 * .gitignore: Delete /ports entry.
29838 2012-07-03 Andreas Jaeger <aj@suse.de>
29840 * po/bg.po: Update from translation team.
29841 * po/cs.po: Likewise.
29842 * po/de.po: Likewise.
29843 * po/hr.po: Likewise.
29844 * po/nl.pl: Likewise.
29845 * po/pl.po: Likewise.
29846 * po/vi.po: Likewise.
29848 2012-07-03 Joseph Myers <joseph@codesourcery.com>
29850 * Makeconfig [!+link] (+link-before-libc): New variable.
29851 [!+link] (+link-after-libc): Likewise.
29852 [!+link] (+link-tests): Likewise.
29853 [!+link] (+link): Define in terms of $(+link-before-libc) and
29854 $(+link-after-libc).
29855 [!+link-static] (+link-static-before-libc): New variable.
29856 [!+link-static] (+link-static-after-libc): Likewise.
29857 [!+link-static] (+link-static-tests): Likewise.
29858 [!+link-static] (+link-static): Define in terms of
29859 $(+link-static-before-libc) and $(+link-static-after-libc).
29860 [build-shared] (link-libc-before-gnulib): New variable.
29861 [build-shared] (link-libc-tests): Likewise.
29862 [build-shared] (link-libc): Define in terms of
29863 $(link-libc-before-gnulib).
29864 [!build-shared] (link-libc-tests): New variable.
29865 (link-libc-static-tests): New variable.
29866 [!gnulib] (gnulib-arch): New variable.
29867 [!gnulib] (gnulib-tests): Likewise.
29868 [!gnulib] (static-gnulib-arch): Likewise.
29869 [!gnulib] (static-gnulib-tests): Likewise.
29870 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29871 Define with "=" instead of ":=".
29872 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29873 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29874 * Rules (binaries-all-notests): New variable.
29875 (binaries-all-tests): Likewise.
29876 (binaries-static-notests): Likewise.
29877 (binaries-static-tests): Likewise.
29878 (binaries-all): Define using $(binaries-all-notests) and
29879 $(binaries-all-tests).
29880 (binaries-static): Define using $(binaries-static-notests) and
29881 $(binaries-static-tests).
29882 (binaries-shared-tests): New variable.
29883 (binaries-shared-notests): Likewise.
29884 (binaries-shared): Remove variable.
29885 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29886 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29887 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29888 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29889 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29890 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29891 * elf/Makefile (sln-modules): New variable.
29892 (extra-objs): Add $(sln-modules:=.o).
29893 (ldconfig-modules): Add static-stubs.
29894 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29895 * elf/static-stubs.c: New file.
29898 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29899 by 7 not 8 to examine high bit of fractional part. Use volatile
29900 variables when splitting into final array of floats if
29901 __FLT_EVAL_METHOD__ != 0.
29902 * math/libm-test.inc (cos_test): Add another test.
29903 (sin_test): Likewise.
29904 * sysdeps/i386/fpu/libm-test-ulps: Update.
29907 * math/libm-test.inc (cosh_test): Add more tests.
29909 * version.h (RELEASE): Set to "development".
29910 (VERSION): Set to "2.16.90".
29912 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29914 * NEWS: Update copyright. Remove last-updated date.
29915 Mention math library bug fixes and timezone data changes.
29916 * README: Mention GNU/Hurd, x32, and HPPA support status.
29918 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29920 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29922 2012-06-27 Andreas Jaeger <aj@suse.de>
29924 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29926 2012-06-25 Andreas Jaeger <aj@suse.de>
29928 * sysdeps/s390/fpu/libm-test-ulps: Update.
29930 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29931 Thomas Schwinge <thomas@codesourcery.com>
29933 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29934 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29938 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29940 * sysdeps/mach/start.c: Remove file.
29941 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29942 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29943 * sysdeps/sh/init-first.c: Likewise.
29945 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29946 registers for frame unwinding purposes, add CFI directives.
29947 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29948 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29949 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29952 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29953 __fortify_fail returning.
29954 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29956 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29957 sysdeps/sh/____longjmp_chk.S.
29958 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29959 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29960 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29961 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29963 * sysdeps/sh/abort-instr.h: New file.
29964 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29965 process in case exit returns.
29967 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29968 initialize the GOT register before use.
29970 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29971 calculation of ARGC > 4.
29973 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29974 meaningful names to some local labels.
29976 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29977 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29979 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29980 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29981 (__arch_compare_and_exchange_val_16_acq): Likewise.
29982 (__arch_compare_and_exchange_val_32_acq): Likewise.
29983 (atomic_exchange_and_add): Fix gUSA sequence.
29984 (atomic_add): Likewise.
29985 (atomic_add_negative): Likewise.
29986 (atomic_add_zero): Likewise.
29987 (atomic_bit_test_set): Likewise.
29989 2012-06-22 Andreas Schwab <schwab@redhat.com>
29992 * include/link.h (struct link_map): Add l_free_initfini.
29993 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29995 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29996 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29997 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30000 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
30002 * configure.in: Use AC_LANG_SOURCE.
30003 * configure: Regenerate.
30005 2012-06-22 Roland McGrath <roland@hack.frob.com>
30007 * configure.in (libc_cv_localstatedir): New substituted variable.
30008 * configure: Regenerated.
30009 * config.make.in (localstatedir): New variable, substituted from
30010 libc_cv_localstatedir.
30011 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30012 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30013 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30014 * sysdeps/gnu/configure: Regenerated.
30016 2012-06-21 Jeff Law <law@redhat.com>
30019 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30020 free. Simplify list management for _LIBC case.
30022 2012-06-21 Joseph Myers <joseph@codesourcery.com>
30025 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30026 Clear sign bit of 64-bit integer value before comparing against
30029 * sysdeps/mach/configure: Regenerated.
30031 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
30034 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30036 2012-06-21 Jeff Law <law@redhat.com>
30039 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
30040 uint16_t for elements in the "seen" array to avoid char overflows.
30041 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30042 * elf/dl-open.c (dl_open_worker): Likewise.
30044 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
30046 * scripts/list-sources.sh: Scan PORTS for translations.
30047 * po/libc.pot: Regenerated.
30049 2012-06-21 Andreas Jaeger <aj@suse.de>
30052 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30054 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30055 * bits/byteswap-16.h (__bswap_16): Likewise.
30056 * bits/byteswap.h (__bswap_constant_16): Likewise.
30058 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
30061 * sysdeps/i386/fpu_control.h: Removed.
30062 * sysdeps/x86_64/fpu_control.h: Moved to ...
30063 * sysdeps/x86/fpu_control.h: Here.
30065 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30066 (_FPU_SETCW): Likewise.
30068 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
30071 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30072 * sysdeps/x86/fpu/bits/mathinline.h: This.
30073 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30077 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30078 functions if __x86_64__ is defined.
30080 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
30082 * string/endian.h: Add !__ASSEMBLER__ condition for including
30083 conversion interfaces.
30085 2012-06-15 Joseph Myers <joseph@codesourcery.com>
30088 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30089 of ABS(x) in calculating zero to negative powers other than odd
30091 * math/libm-test.inc (pow_test): Add more tests.
30093 2012-06-15 Andreas Jaeger <aj@suse.de>
30095 * manual/contrib.texi (Contributors): Update entry of Liubov
30096 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30099 2012-06-15 Cyril Hrubis <metan@ucw.cz>
30101 * string/string.h: Add __wur to GNU version of strerror_r.
30103 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
30106 * string/Makefile (tests): Add tst-strtok_r.
30107 * string/tst-strtok_r.c: New file.
30108 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30109 RAX_LP/RDX_LP on SAVE_PTR.
30111 2012-06-14 Roland McGrath <roland@hack.frob.com>
30113 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30115 2012-06-14 Joseph Myers <joseph@codesourcery.com>
30117 * libm_test.inc (csqrt_test): Allow more spurious underflow
30119 (j0_test): Likewise.
30120 (j1_test): Likewise.
30121 (y0_test): Likewise.
30122 (y1_test): Likewise.
30124 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
30126 * po/Makefile (libc.pot): Use UTF-8 charset.
30128 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
30131 Suppress sign-conversion warning from FD_SET.
30132 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30133 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30134 not unsigned long int.
30135 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30137 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
30141 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30142 __extern_always_inline instead of __extern_inline.
30143 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30144 (__signbit): Likewise.
30145 (__signbitl): Support C++ namespace.
30146 (lrintf): New inline function.
30148 (llrintf): Likewise.
30149 (llrint): Likewise.
30159 (floorf): Likewise.
30160 (nearbyint): Likewise.
30161 (nearbyintf): Likewise.
30163 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
30165 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30166 non-default versions.
30168 2012-06-11 Roland McGrath <roland@hack.frob.com>
30171 * manual/argp.texi (Argp): Reword argp_parse description slightly.
30173 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
30175 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30176 (FE_UPWARD, FE_DOWNWARD): Don't define.
30177 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30178 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30180 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30182 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30183 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30185 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30187 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30188 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30189 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30190 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30192 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
30195 * sysdeps/i386/fpu/bits/fenv.h: Removed.
30196 * sysdeps/i386/fpu/Implies: New file.
30197 * sysdeps/x86_64/fpu/Implies: Likewise.
30198 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30199 * sysdeps/x86/fpu/bits/fenv.h: This.
30201 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30204 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30207 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30208 character 0xffff that matches the last element of the
30211 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30213 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30216 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30218 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30219 values higher than 25.6283.
30221 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30223 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30224 subnormal exponent extraction and add some __builtin_expect.
30225 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30226 Fix for subnormal mantissa calculation.
30228 2012-06-04 Mike Frysinger <vapier@gentoo.org>
30230 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30231 cpu2 is -1 and errno is not ENOSYS.
30233 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
30236 * sysdeps/i386/i486/bits/string.h: Renamed to ...
30237 * sysdeps/x86/bits/string.h: This.
30238 * sysdeps/x86_64/bits/string.h: Removed.
30240 * sysdeps/i386/i486/bits/string.h: Define inline functions only
30241 if not compiling for x86-64, but compiling for >= i486.
30243 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30244 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30246 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30247 New macro from Linux kernel 3.4.0.
30248 (FP_XSTATE_MAGIC2): Likewise.
30249 (FP_XSTATE_MAGIC2_SIZE): Likewise.
30250 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30251 (struct _fpx_sw_bytes): New struct.
30252 (struct _xsave_hdr): Likewise.
30253 (struct _ymmh_state): Likewise.
30254 (struct _xstate): Likewise.
30256 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30257 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30258 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30259 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30260 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30261 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30263 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30264 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30265 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30266 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30267 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30268 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30270 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30273 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30274 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30275 (sysdep_headers): Include sys/platform/ppc.h.
30276 * sysdeps/powerpc/test-gettimebase.c: Test for
30277 __ppc_get_timebase() to catch future ISA opcode/insn changes.
30278 * manual/Makefile (appendices): Include platform.texi.
30279 * manual/contrib.texi (Contributors): Update @node pointers.
30280 * manual/maint.texi (Maintenance): Likewise.
30281 (Platform): New node.
30282 * manual/platform.texi: New file. Document the new features.
30284 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
30285 Jakub Jelinek <jakub@redhat.com>
30288 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30289 where __builtin_expect is unavailable.
30291 2012-06-03 David S. Miller <davem@davemloft.net>
30293 * stdlib/longlong.h: Updated from GCC.
30295 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
30298 * sysdeps/powerpc/powerpc32/mcount.c: New file.
30299 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30302 (GLIBC_2.16): Likewise.
30304 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30306 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30308 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30311 (default-abi): New variable.
30312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30313 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30315 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30317 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30319 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30322 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30323 definition. Document in comment.
30325 2012-06-01 David S. Miller <davem@davemloft.net>
30327 * stdlib/longlong.h: Updated from GCC.
30329 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30332 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30333 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30334 sys/debugreg.h sys/io.h here.
30335 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30336 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30338 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30339 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30340 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30341 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30342 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30343 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30345 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30346 Define only if __x86_64__ is defined.
30348 2012-06-01 Joseph Myers <joseph@codesourcery.com>
30351 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30352 Use int64_t for variable i.
30353 * math/libm-test.inc (fmod_test): Add more tests.
30355 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30356 z computation is not scheduled after fetestexcept.
30357 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30358 Use math_force_eval instead of asm to ensure calculation scheduled
30359 before exception test.
30360 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30361 Ensure a1 + u.d computation is not scheduled after fetestexcept.
30363 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
30365 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30366 computation is not scheduled after fetestexcept.
30368 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
30371 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30372 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30374 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30376 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30377 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30379 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30382 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30384 (__WCHAR_MIN): Support __WORDSIZE == 64.
30385 (__WCHAR_MAX): Likewise.
30387 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30388 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30391 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30392 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30395 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30396 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30398 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30399 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30401 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30402 Defined to 1 if __x86_64__ isn't defined.
30403 (_STAT_VER_LINUX_OLD): New.
30404 (st_atime): Remove duplicate.
30405 (st_mtime): Likewise.
30406 (st_ctime): Likewise.
30408 2012-05-31 David S. Miller <davem@davemloft.net>
30410 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30413 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
30415 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30419 * elf/dl-reloc.c: Include <_itoa.h>.
30420 (_dl_reloc_bad_type): Remove use of INTUSE.
30421 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30422 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30423 * stdio-common/psiginfo.c (psiginfo): Likewise.
30424 * stdio-common/psignal.c (psignal): Likewise.
30425 * string/strsignal.c (strsignal): Likewise.
30426 * include/signal.h (_sys_siglist): Declare hidden proto.
30427 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
30428 INTVARDEF with libc_hidden_data_def.
30429 * stdio-common/itoa-udigits.c: Likewise.
30430 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30431 (_itoa_lower_digits_internal): Remove declaration.
30432 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30433 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30434 (_sys_sigabbrev_internal): Remove aliases.
30435 (_sys_siglist): Define hidden alias.
30437 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
30439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30442 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
30445 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30446 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30448 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30449 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30450 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30451 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30453 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30455 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30456 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30457 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30459 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30467 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30468 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30469 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30471 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30472 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30473 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30474 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30475 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30476 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30478 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30479 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30481 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30482 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30484 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30485 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30486 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30488 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30489 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30491 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30493 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30494 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30495 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30497 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30499 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30501 2012-05-31 Joseph Myers <joseph@codesourcery.com>
30503 * math/math.h (M_El): Use two more decimal places.
30504 (M_LOG2El): Likewise.
30505 (M_LOG10El): Likewise.
30506 (M_LN2l): Likewise.
30507 (M_LN10l): Likewise.
30509 (M_PI_2l): Likewise.
30510 (M_PI_4l): Likewise.
30511 (M_1_PIl): Likewise.
30512 (M_2_PIl): Likewise.
30513 (M_2_SQRTPIl): Likewise.
30514 (M_SQRT2l): Likewise.
30515 (M_SQRT1_2l): Likewise.
30517 2012-05-31 David S. Miller <davem@davemloft.net>
30519 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30520 values between float registers.
30521 * sysdeps/sparc/sparc64/memset.S: Likewise.
30522 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30524 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30526 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30527 -D_FORTIFY_SOURCE=1.
30528 (CPPFLAGS-tst-longjmp_chk.c): Define.
30529 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30530 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30531 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30532 CFLAGS-tst-wchar-h.c.
30534 2012-05-31 Marek Polacek <polacek@redhat.com>
30537 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30538 __endmntent_internal): Remove declaration.
30539 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30540 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30541 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30543 2012-05-30 David S. Miller <davem@davemloft.net>
30545 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30546 (___Q_simulate_exceptions): Use real FP ops rather than writing
30548 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30551 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30554 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30555 * sysdeps/x86/bits/xtitypes.h: This.
30557 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30558 * sysdeps/x86/bits/wordsize.h: This.
30560 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30561 * sysdeps/x86/bits/huge_vall.h: This.
30563 * sysdeps/i386/bits/select.h: Removed.
30564 * sysdeps/x86_64/bits/select.h: Renamed to ...
30565 * sysdeps/x86/bits/select.h: This.
30567 * sysdeps/i386/bits/setjmp.h: Removed.
30568 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30569 * sysdeps/x86/bits/setjmp.h: This.
30571 * sysdeps/i386/bits/mathdef.h: Removed.
30572 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30573 * sysdeps/x86/bits/mathdef.h: This.
30575 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30578 * include/sys/socket.h (__connect_internal)
30579 (__libc_sa_len_internal): Remove declaration.
30580 (__connect, __libc_sa_len): Declare hidden_proto.
30581 (SA_LEN): Remove use of INTUSE.
30582 * socket/connect.c: Add libc_hidden_def.
30583 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30584 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30585 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30587 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30588 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30589 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30590 of adding _internal alias.
30592 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30595 * sysdeps/i386/bits/link.h: Removed.
30596 * sysdeps/i386/bits/linkmap.h: Likewise.
30597 * sysdeps/x86_64/bits/link.h: Renamed to ...
30598 * sysdeps/x86/bits/link.h: This.
30599 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30600 * sysdeps/x86/bits/linkmap.h: This.
30602 * sysdeps/i386/bits/endian.h: Removed.
30603 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30604 * sysdeps/x86/bits/endian.h: This.
30606 * sysdeps/i386/bits/byteswap.h: Removed.
30607 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30608 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30609 * sysdeps/x86/bits/byteswap.h: This.
30610 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30611 * sysdeps/x86/bits/byteswap-16.h: This.
30612 * sysdeps/i386/Implies: Add x86.
30613 * sysdeps/x86_64/Implies: Likewise.
30615 2012-05-30 David S. Miller <davem@davemloft.net>
30617 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30618 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30619 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30620 (FP_TRAPPING_EXCEPTIONS): Define.
30621 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30622 (FP_TRAPPING_EXCEPTIONS): Define.
30623 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30624 subnormals only when inexact has been signalled or underflow
30625 exceptions are enabled.
30626 (_FP_PACK_CANONICAL): Likewise.
30628 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30631 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30632 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30634 2012-05-30 Richard Henderson <rth@twiddle.net>
30636 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30637 with #ifndef NOT_IN_libc.
30639 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30640 marked to avoid plt entry.
30642 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30645 * Makeconfig (default-abi): New macro.
30646 (abi-includes): Likewise.
30647 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30648 $(abi-$(default-abi)-lib-soname) for soname if defined.
30649 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30651 * Makefile (installed-stubs): Likewise.
30652 * include/stubs-biarch.h: Removed.
30653 * scripts/lib-names.awk: Only handle one library at a time.
30654 * scripts/soversions.awk: Remove WORDSIZE support.
30655 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30657 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30659 (syscall-list-default-condition): Likewise.
30660 (syscall-list-default-condition): Likewise.
30661 (syscall-list-includes): Likewise.
30662 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30663 syscall-list-* with abi-*. Handle undefined abi-variants.
30664 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30665 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30666 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30667 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30668 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30669 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30671 (syscall-list-32-options): Likewise.
30672 (syscall-list-32-condition): Likewise.
30673 (syscall-list-64-options): Likewise.
30674 (syscall-list-64-condition): Likewise.
30675 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30677 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30680 (abi-64-ld-soname): New macro.
30681 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30682 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30685 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30686 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30688 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30690 * sysdeps/unix/sysv/linux/kernel-features.h
30691 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30692 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30693 include <kernel-features.h>.
30694 [!__NR_ftruncate64]: Remove conditional code.
30695 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30696 [__NR_ftruncate64]: Make code unconditional.
30697 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30698 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30699 include <kernel-features.h>.
30700 [!__NR_ftruncate64]: Remove conditional code.
30701 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30702 [__NR_ftruncate64]: Make code unconditional.
30703 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30705 include <kernel-features.h>.
30706 [!__NR_ftruncate64]: Remove conditional code.
30707 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30708 [__NR_ftruncate64]: Make code unconditional.
30709 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30711 include <kernel-features.h>.
30712 [!__NR_ftruncate64]: Remove conditional code.
30713 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30714 [__NR_ftruncate64]: Make code unconditional.
30715 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30717 * configure.in (libc_cv_fpie): Weaken to a compile test using
30718 LIBC_TRY_CC_OPTION.
30719 * configure: Regenerated.
30721 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30736 2012-05-27 David S. Miller <davem@davemloft.net>
30738 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30740 (__Q_simulate_exceptions): Return void. Change to simulate
30741 exceptions by writing into the %fsr.
30742 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30743 (__Qp_handle_exceptions): Likewise.
30745 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30746 __Qp_handle_exceptions.
30747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30748 __Qp_handle_exceptions.
30749 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30750 as unused and give dummy FP_RND_NEAREST initializer.
30751 (FP_INHIBIT_RESULTS): Define.
30752 (___Q_simulate_exceptions): Update declaration.
30753 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30755 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30756 as unused and give dummy FP_RND_NEAREST initializer.
30757 (__Qp_handle_exceptions): Update declaration.
30758 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30761 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30763 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30764 the temporary FPU control word.
30765 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30766 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30767 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30768 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30769 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30770 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30771 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30772 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30773 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30774 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30775 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30777 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30779 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30782 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30784 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30785 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30786 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30787 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30789 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30790 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30793 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30795 * po/h.po: Update from translation team.
30797 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30799 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30801 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30802 handling of denormals.
30803 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30804 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30805 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30806 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30807 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30809 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30812 2012-05-26 Marek Polacek <polacek@redhat.com>
30815 * math/libm-test.inc (fma_test): Don't always expect underflow
30818 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30821 * elf/tst-execstack.c: Include stackinfo.h.
30822 (do_test): Adjust test case to ensure that pthread_getattr_np
30823 behaviour remains the same after marking stack executable.
30825 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30827 * sysdeps/unix/sysv/linux/kernel-features.h
30828 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30829 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30831 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30832 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30833 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30835 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30836 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30838 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30840 * configure.in: Define the default includes to being none.
30841 * configure: Regenerated.
30843 2012-05-25 Roland McGrath <roland@hack.frob.com>
30845 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30846 * sysdeps/x86_64/setjmp.S: Likewise.
30847 * sysdeps/i386/bsd-setjmp.S: Likewise.
30848 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30849 * sysdeps/i386/setjmp.S: Likewise.
30850 * sysdeps/i386/__longjmp.S: Likewise.
30851 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30852 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30854 * include/stap-probe.h: New file.
30855 * configure.in: Handle --enable-systemtap.
30856 * configure: Regenerated.
30857 * config.h.in (USE_STAP_PROBE): New #undef.
30858 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30859 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30860 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30862 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30865 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30866 to 2.4.0 where earlier.
30867 * sysdeps/unix/sysv/linux/configure: Regenerated.
30868 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30869 <kernel-features.h>.
30870 [__ASSUME_32BITUIDS]: Make code unconditional.
30871 [!__ASSUME_32BITUIDS]: Remove conditional code.
30872 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30873 <kernel-features.h>.
30874 [__ASSUME_32BITUIDS]: Make code unconditional.
30875 [!__ASSUME_32BITUIDS]: Remove conditional code.
30876 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30877 [__ASSUME_32BITUIDS]: Make code unconditional.
30878 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30879 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30880 <kernel-features.h>.
30881 [__ASSUME_32BITUIDS]: Make code unconditional.
30882 [!__ASSUME_32BITUIDS]: Remove conditional code.
30883 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30884 <kernel-features.h>.
30885 [__ASSUME_32BITUIDS]: Make code unconditional.
30886 [!__ASSUME_32BITUIDS]: Remove conditional code.
30887 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30888 <kernel-features.h>.
30889 [__ASSUME_32BITUIDS]: Make code unconditional.
30890 [!__ASSUME_32BITUIDS]: Remove conditional code.
30891 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30892 <kernel-features.h>.
30893 [__ASSUME_32BITUIDS]: Make code unconditional.
30894 [!__ASSUME_32BITUIDS]: Remove conditional code.
30895 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30896 <kernel-features.h>.
30897 [__ASSUME_32BITUIDS]: Make code unconditional.
30898 [!__ASSUME_32BITUIDS]: Remove conditional code.
30899 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30900 <kernel-features.h>.
30901 [__ASSUME_32BITUIDS]: Make code unconditional.
30902 [!__ASSUME_32BITUIDS]: Remove conditional code.
30903 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30904 <kernel-features.h>.
30905 [__ASSUME_32BITUIDS]: Make code unconditional.
30906 [!__ASSUME_32BITUIDS]: Remove conditional code.
30907 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30908 <kernel-features.h>.
30909 [__ASSUME_32BITUIDS]: Make code unconditional.
30910 [!__ASSUME_32BITUIDS]: Remove conditional code.
30911 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30912 <kernel-features.h>.
30913 [__ASSUME_32BITUIDS]: Make code unconditional.
30914 [!__ASSUME_32BITUIDS]: Remove conditional code.
30915 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30916 <kernel-features.h>.
30917 [__ASSUME_32BITUIDS]: Make code unconditional.
30918 [!__ASSUME_32BITUIDS]: Remove conditional code.
30919 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30920 <kernel-features.h>.
30921 [__NR_setresgid] (__setresgid): Do not declare.
30922 [__ASSUME_32BITUIDS]: Make code unconditional.
30923 [!__ASSUME_32BITUIDS]: Remove conditional code.
30924 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30925 <kernel-features.h>.
30926 [__NR_setresuid] (__setresuid): Do not declare.
30927 [__ASSUME_32BITUIDS]: Make code unconditional.
30928 [!__ASSUME_32BITUIDS]: Remove conditional code.
30929 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30930 <kernel-features.h>.
30931 [__ASSUME_32BITUIDS]: Make code unconditional.
30932 [!__ASSUME_32BITUIDS]: Remove conditional code.
30933 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30934 <kernel-features.h>.
30935 [__ASSUME_32BITUIDS]: Make code unconditional.
30936 [!__ASSUME_32BITUIDS]: Remove conditional code.
30937 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30938 <kernel-features.h>.
30939 [__ASSUME_32BITUIDS]: Make code unconditional.
30940 [!__ASSUME_32BITUIDS]: Remove conditional code.
30941 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30942 <kernel-features.h>.
30943 [__ASSUME_32BITUIDS]: Make code unconditional.
30944 [!__ASSUME_32BITUIDS]: Remove conditional code.
30945 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30946 <kernel-features.h>.
30947 [__ASSUME_32BITUIDS]: Make code unconditional.
30948 [!__ASSUME_32BITUIDS]: Remove conditional code.
30949 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30950 <kernel-features.h>.
30951 [__ASSUME_32BITUIDS]: Make code unconditional.
30952 [!__ASSUME_32BITUIDS]: Remove conditional code.
30953 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30954 <kernel-features.h>.
30955 [__ASSUME_32BITUIDS]: Make code unconditional.
30956 [!__ASSUME_32BITUIDS]: Remove conditional code.
30957 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30958 <kernel-features.h>.
30959 [__ASSUME_32BITUIDS]: Make code unconditional.
30960 [!__ASSUME_32BITUIDS]: Remove conditional code.
30961 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30962 <kernel-features.h>.
30963 [__ASSUME_32BITUIDS]: Make code unconditional.
30964 [!__ASSUME_32BITUIDS]: Remove conditional code.
30965 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30966 <kernel-features.h>.
30967 [__ASSUME_32BITUIDS]: Make code unconditional.
30968 [!__ASSUME_32BITUIDS]: Remove conditional code.
30969 * sysdeps/unix/sysv/linux/kernel-features.h
30970 (__ASSUME_SETRESUID_SYSCALL): Remove.
30971 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30972 (__ASSUME_32BITUIDS): Likewise.
30973 (__ASSUME_LDT_WORKS): Likewise.
30974 (__ASSUME_O_DIRECTORY): Likewise.
30975 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30976 architecture but not kernel version.
30977 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30978 (__ASSUME_MMAP2_SYSCALL): Likewise.
30979 (__ASSUME_STAT64_SYSCALL): Likewise.
30980 (__ASSUME_IPC64): Likewise.
30981 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30982 <kernel-features.h>.
30983 [__ASSUME_32BITUIDS]: Make code unconditional.
30984 [!__ASSUME_32BITUIDS]: Remove conditional code.
30985 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30986 <kernel-features.h>.
30987 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30988 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30989 132096]: Remove conditional code.
30990 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30991 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30992 <kernel-features.h>.
30993 [__ASSUME_32BITUIDS]: Make code unconditional.
30994 [!__ASSUME_32BITUIDS]: Remove conditional code.
30995 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30996 <kernel-features.h>.
30997 [__ASSUME_32BITUIDS]: Make code unconditional.
30998 [!__ASSUME_32BITUIDS]: Remove conditional code.
30999 * sysdeps/unix/sysv/linux/setegid.c: Do not include
31000 <kernel-features.h>.
31001 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31003 (__setresgid): Do not declare.
31004 [__ASSUME_32BITUIDS]: Make code unconditional.
31005 [!__ASSUME_32BITUIDS]: Remove conditional code.
31006 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31007 <kernel-features.h>.
31008 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31010 (__setresuid): Do not declare.
31011 [__ASSUME_32BITUIDS]: Make code unconditional.
31012 [!__ASSUME_32BITUIDS]: Remove conditional code.
31013 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31014 <kernel-features.h>.
31015 [__ASSUME_32BITUIDS]: Make code unconditional.
31016 [!__ASSUME_32BITUIDS]: Remove conditional code.
31017 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31018 <kernel-features.h>.
31019 [__ASSUME_32BITUIDS]: Make code unconditional.
31020 [!__ASSUME_32BITUIDS]: Remove conditional code.
31022 2012-05-25 Richard Henderson <rth@twiddle.net>
31024 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31025 dl_hwcap to ifunc resolver.
31026 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31028 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31029 dl_hwcap to ifunc resolver.
31030 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31032 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31035 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31036 for |x| <= 2**-26, not 2**-57.
31037 * math/libm-test.inc (acos_test): Do not allow spurious underflow
31040 2012-05-24 Jeff Law <law@redhat.com>
31042 * stdio-common/Makefile (tests): Add bug25.
31043 * stdio-common/bug25.c: New test.
31045 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31048 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31049 multiple of MALLOC_ALIGNMENT in size.
31050 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31052 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31054 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31056 (FILENAME_MAX): Use macro-int-constant.
31057 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
31058 (_IOFBF): Use macro-int-constant.
31059 (_IOLBF): Likewise.
31060 (_IONBF): Likewise.
31061 (SEEK_CUR): Likewise.
31062 (SEEK_END): Likewise.
31063 (SEEK_SET): Likewise.
31064 (TMP_MAX): Likewise.
31065 (EOF): Use macro-int-constant. Require < 0.
31066 (NULL): Use macro-constant. Require == 0.
31067 (stdin): Require type to be FILE *.
31068 (stdout): Likewise.
31069 (stderr): Likewise.
31070 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31071 macro-int-constant.
31072 (EXIT_SUCCESS): Likewise.
31073 (NULL): Use macro-constant. Require == 0.
31074 (RAND_MAX): Use macro-int-constant.
31075 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31076 [C99-based standards] (strtof): Require function.
31077 [C99-based standards] (strtold): Likewise.
31078 [C99-based standards] (strtoll): Likewise.
31079 [C99-based standards] (strtoull): Likewise.
31080 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31081 [ISO || ISO99 || ISO11] (limits.h): Likewise.
31082 [ISO || ISO99 || ISO11] (math.h): Likewise.
31083 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31084 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31085 [ISO || ISO99 || ISO11] (*_t): Do not allow.
31087 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
31090 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31091 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31092 * intl/dgettext.c (DCGETTEXT): Likewise.
31093 * intl/gettext.c (DCGETTEXT): Likewise.
31094 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31095 * posix/regex_internal.h (gettext): Likewise.
31096 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31097 Remove declaration.
31098 * include/argz.h (__argz_count_internal)
31099 (__argz_stringify_internal): Remove declaration.
31100 (__argz_count, __argz_stringify): Declare hidden proto.
31101 * intl/dcgettext.c: Remove use of INTDEF.
31102 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31103 * string/argz-stringify.c: Likewise.
31104 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31105 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31106 Declare hidden proto.
31107 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31108 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31109 Declare hidden proto.
31110 * include/stdio.h (__asprintf_internal): Don't declare.
31111 (__asprintf): Don't define as macro. Declare hidden proto.
31112 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31113 (__fsetlocking): Declare hidden proto.
31114 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31115 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31117 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31118 (_IO_setlinebuf): Remove use of INTUSE.
31119 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31120 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31121 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31122 Remove declaration.
31123 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31124 (_IO_do_flush): Remove use of INTUSE.
31125 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31126 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31127 (_IO_adjust_column, _IO_least_wmarker)
31128 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31129 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31130 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31131 (_IO_default_doallocate, _IO_wdefault_doallocate)
31132 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31133 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31134 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31135 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31136 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31137 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31138 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31139 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31140 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31141 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31142 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31143 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31144 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31146 (_IO_flush_all_internal, _IO_adjust_column_internal)
31147 (_IO_default_uflow_internal, _IO_default_finish_internal)
31148 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31149 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31150 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31151 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31152 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31153 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31154 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31155 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31156 (_IO_file_close_internal, _IO_file_close_it_internal)
31157 (_IO_file_underflow_internal, _IO_file_overflow_internal)
31158 (_IO_file_init_internal, _IO_file_attach_internal)
31159 (_IO_file_fopen_internal, _IO_file_read_internal)
31160 (_IO_file_sync_internal, _IO_file_seek_internal)
31161 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31162 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31163 (_IO_str_underflow_internal, _IO_str_overflow_internal)
31164 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31165 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31166 (_IO_list_all_internal, _IO_link_in_internal)
31167 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31168 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31169 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31170 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31171 (_IO_do_write_internal, _IO_padn_internal)
31172 (_IO_getline_info_internal, _IO_getline_internal)
31173 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31174 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31175 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31176 (_IO_vfscanf_internal, _IO_vfprintf_internal)
31177 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31178 (_IO_init_internal, _IO_un_link_internal): Don't declare.
31179 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31180 with libc_hidden_ver, remove use of INTUSE.
31181 * libio/genops.c: Likewise.
31182 * libio/freopen.c: Likewise.
31183 * libio/freopen64.c: Likewise.
31184 * libio/iofclose.c: Likewise.
31185 * libio/iofdopen.c: Likewise.
31186 * libio/iofflush.c: Likewise.
31187 * libio/iofflush_u.c: Likewise.
31188 * libio/iofgets.c: Likewise.
31189 * libio/iofgets_u.c: Likewise.
31190 * libio/iofopen.c: Likewise.
31191 * libio/iofopncook.c: Likewise.
31192 * libio/iofread.c: Likewise.
31193 * libio/iofread_u.c: Likewise.
31194 * libio/ioftell.c: Likewise.
31195 * libio/iofwrite.c: Likewise.
31196 * libio/iogetline.c: Likewise.
31197 * libio/iogets.c: Likewise.
31198 * libio/iogetwline.c: Likewise.
31199 * libio/iopadn.c: Likewise.
31200 * libio/iopopen.c: Likewise.
31201 * libio/ioseekoff.c: Likewise.
31202 * libio/ioseekpos.c: Likewise.
31203 * libio/iosetbuffer.c: Likewise.
31204 * libio/iosetvbuf.c: Likewise.
31205 * libio/ioungetc.c: Likewise.
31206 * libio/ioungetwc.c: Likewise.
31207 * libio/iovdprintf.c: Likewise.
31208 * libio/iovsprintf.c: Likewise.
31209 * libio/iovsscanf.c: Likewise.
31210 * libio/memstream.c: Likewise.
31211 * libio/obprintf.c: Likewise.
31212 * libio/oldfileops.c: Likewise.
31213 * libio/oldiofclose.c: Likewise.
31214 * libio/oldiofdopen.c: Likewise.
31215 * libio/oldiofopen.c: Likewise.
31216 * libio/oldiopopen.c: Likewise.
31217 * libio/oldstdfiles.c: Likewise.
31218 * libio/putc.c: Likewise.
31219 * libio/setbuf.c: Likewise.
31220 * libio/setlinebuf.c: Likewise.
31221 * libio/stdfiles.c: Likewise.
31222 * libio/strops.c: Likewise.
31223 * libio/vasprintf.c: Likewise.
31224 * libio/vscanf.c: Likewise.
31225 * libio/vsnprintf.c: Likewise.
31226 * libio/vswprintf.c: Likewise.
31227 * libio/wfiledoalloc.c: Likewise.
31228 * libio/wfileops.c: Likewise.
31229 * libio/wgenops.c: Likewise.
31230 * libio/wmemstream.c: Likewise.
31231 * libio/wstrops.c: Likewise.
31232 * libio/__fpurge.c: Likewise.
31233 * libio/__fsetlocking.c: Likewise.
31234 * assert/assert.c: Likewise.
31235 * debug/fgets_chk.c: Likewise.
31236 * debug/fgets_u_chk.c: Likewise.
31237 * debug/fread_chk.c: Likewise.
31238 * debug/fread_u_chk.c: Likewise.
31239 * debug/gets_chk.c: Likewise.
31240 * debug/obprintf_chk.c: Likewise.
31241 * debug/vasprintf_chk.c: Likewise.
31242 * debug/vdprintf_chk.c: Likewise.
31243 * debug/vsnprintf_chk.c: Likewise.
31244 * debug/vsprintf_chk.c: Likewise.
31245 * malloc/mtrace.c: Likewise.
31246 * misc/error.c: Likewise.
31247 * misc/syslog.c: Likewise.
31248 * stdio-common/asprintf.c: Likewise.
31249 * stdio-common/fxprintf.c: Likewise.
31250 * stdio-common/getw.c: Likewise.
31251 * stdio-common/isoc99_fscanf.c: Likewise.
31252 * stdio-common/isoc99_scanf.c: Likewise.
31253 * stdio-common/isoc99_vfscanf.c: Likewise.
31254 * stdio-common/isoc99_vscanf.c: Likewise.
31255 * stdio-common/isoc99_vsscanf.c: Likewise.
31256 * stdio-common/printf-prs.c: Likewise.
31257 * stdio-common/printf_fp.c: Likewise.
31258 * stdio-common/printf_fphex.c: Likewise.
31259 * stdio-common/printf_size.c: Likewise.
31260 * stdio-common/putw.c: Likewise.
31261 * stdio-common/scanf.c: Likewise.
31262 * stdio-common/sprintf.c: Likewise.
31263 * stdio-common/tmpfile.c: Likewise.
31264 * stdio-common/vfprintf.c: Likewise.
31265 * stdio-common/vfscanf.c: Likewise.
31266 * stdlib/strfmon_l.c: Likewise.
31267 * sunrpc/openchild.c: Likewise.
31268 * sunrpc/xdr_stdio.c: Likewise.
31269 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31270 * sysdeps/mach/hurd/tmpfile.c: Likewise.
31272 2012-05-24 Roland McGrath <roland@hack.frob.com>
31274 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31276 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31277 in the third column, to generate for the shared library an IFUNC
31278 that uses _dl_vdso_vsym.
31279 * Makerules (COMPILE.c, compile-stdin.c): New variables.
31280 * Makeconfig (object-suffixes-noshared): New variable.
31282 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31283 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31284 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31285 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31288 * include/sys/time.h (__gettimeofday): Remove macro.
31289 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31290 * time/gettimeofday.c (__gettimeofday): Remove #undef.
31292 (__gettimeofday): Add libc_hidden_def.
31293 (gettimeofday): Add libc_hidden_weak.
31294 * sysdeps/mach/gettimeofday.c: Likewise.
31295 * sysdeps/posix/gettimeofday.c: Likewise.
31296 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31297 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31298 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31299 (__gettimeofday_internal): Remove strong_alias.
31300 (__gettimeofday): Add libc_hidden_def.
31301 (gettimeofday): Add libc_hidden_weak.
31302 * sysdeps/unix/syscalls.list (gettimeofday):
31303 Remove __gettimeofday_internal alias.
31305 2012-05-24 Daniel Jacobowitz <drow@false.org>
31306 H.J. Lu <hongjiu.lu@intel.com>
31309 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31310 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31311 (largebin_index_32_big): New.
31312 (largebin_index): Use it for 16-byte alignment.
31313 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
31314 correction with front_misalign.
31316 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
31318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31344 * scripts/data/c++-types-x32-linux-gnu.data: New file.
31345 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31347 2012-05-24 Joseph Myers <joseph@codesourcery.com>
31351 * math/libm-test.inc (exp_test): Add test from bug 14036.
31352 (pow_test): Add test from bug 10846.
31354 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31356 (special_function): Do not include flags in test name.
31357 (parse_args): Likewise.
31358 * sysdeps/i386/fpu/libm-test-ulps: Update.
31359 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31360 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31361 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31364 * math/gen-libm-test.pl (%beautify): Add entries for underflow
31366 * math/libm-test.inc ("Philosophy"): Update comment about
31368 (UNDERFLOW_EXCEPTION): New macro.
31369 (UNDERFLOW_EXCEPTION_OK): Likewise.
31370 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31371 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31372 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31373 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31374 (INVALID_EXCEPTION_OK): Update value.
31375 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31376 (OVERFLOW_EXCEPTION_OK): Likewise.
31377 (IGNORE_ZERO_INF_SIGN): Likewise.
31378 (test_exceptions): Handle underflow exceptions.
31379 (acos_test): Update for underflow exception expectations.
31380 (cexp_test): Likewise.
31381 (clog_test): Likewise.
31382 (clog10_test): Likewise.
31383 (csqrt_test): Likewise.
31384 (ctan_test): Likewise.
31385 (ctanh_test): Likewise.
31386 (exp_test): Likewise.
31387 (exp10_test): Likewise.
31388 (exp2_test): Likewise.
31389 (expm1_test): Likewise.
31390 (fma_test): Likewise.
31391 (j0_test): Likewise.
31392 (jn_test): Likewise.
31393 (nexttoward_test): Likewise.
31394 (pow_test): Likewise.
31395 (scalbn_test): Likewise.
31396 (scalbln_test): Likewise.
31397 (tan_test): Likewise.
31398 (y1_test): Likewise.
31399 * sysdeps/i386/fpu/libm-test-ulps: Update.
31400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31402 2012-05-23 David S. Miller <davem@davemloft.net>
31404 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31405 (__libc_sigaction): Remove unused local variables.
31407 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31409 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31411 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
31413 mktime: avoid signed integer overflow
31414 * time/mktime.c (__mktime_internal): Do not mishandle the case
31415 where diff == INT_MIN.
31417 mktime: simplify computation of average
31418 * time/mktime.c (ranged_convert): Use new time_t_avg function
31419 instead of rolling our own (probably-slower) code.
31421 mktime: do not assume signed right shift propagates sign bit
31422 * time/mktime.c (isdst_differ): New static function.
31423 (__mktime_internal): No need to normalize tm_isdst now.
31424 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31427 mktime: merge another wrapv change from gnulib
31428 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31429 from some compilers.
31431 mktime: remove incorrect attempt at unusual arithmetics
31432 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31433 The code didn't really work on such machines anyway.
31434 (TYPE_MINIMUM): Assume two's complement.
31435 (twos_complement_arithmetic): Verify that long_int and time_t
31436 are two's complement (or unsigned, in the latter case).
31438 mktime: check signed shifts on long_int and time_t, too
31439 * time/mktime.c (SHR): Check that shifts work as desired
31440 on the types long_int and time_t too, as SHR is used on
31443 mktime: do not assume 'long' is wide enough
31444 * time/mktime.c (verify): Move decl up.
31445 (long_int): New type.
31446 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31447 to remove assumption in the code that 'long' is wide enough to
31448 store year values. This assumption is not true on x32 and on
31449 some non-glibc platforms.
31451 mktime: merge wrapv change from gnulib
31452 * time/mktime.c (WRAPV): New macro.
31453 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31454 (guess_time_tm, __mktime_internal): Do not assume that signed
31455 integer overflow wraps around; modern compilers generate code
31456 where this assumption is no longer valid.
31458 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31460 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31461 Replace "jmp L(pseudo_end)" with "ret".
31462 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31465 2012-05-23 Andreas Jaeger <aj@suse.de>
31467 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31468 * sysdeps/unix/sysv/linux/poll.c: Remove file.
31470 2012-05-23 Andreas Jaeger <aj@suse.de>
31471 Maximilian Attems <max@stro.at>
31473 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31476 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
31478 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31479 code so that pseudo_end is just ret and the stack pointer is
31480 correct also for static library in error case.
31482 2012-05-23 Joseph Myers <joseph@codesourcery.com>
31484 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31485 move to syscalls.list.
31486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31491 * manual/install.texi (Running make install): Do not mention Linux
31492 kernel version for which pt_chown is not needed.
31493 (Linux): Do not mention problems with nscd with 2.0 kernels.
31494 * INSTALL: Regenerated.
31496 2012-05-23 Andreas Jaeger <aj@suse.de>
31498 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31499 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31501 * sysdeps/unix/sysv/linux/s390/bits/mman.h
31502 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31503 * sysdeps/unix/sysv/linux/sh/bits/mman.h
31504 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31505 * sysdeps/unix/sysv/linux/i386/bits/mman.h
31506 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31507 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31508 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31509 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31510 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31511 * sysdeps/unix/sysv/linux/bits/in.h
31512 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31514 2012-05-22 Roland McGrath <roland@hack.frob.com>
31516 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31517 (PREPARE_VERSION): Just use assert instead, it will be elided
31518 under [NDEBUG] anyway.
31520 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31522 * sysdeps/unix/sysv/linux/Makefile: Include
31523 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31524 (sysdep_routines): Remove sysctl.
31525 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31526 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31527 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31528 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31529 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31531 2012-05-22 Andreas Jaeger <aj@suse.de>
31533 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31534 that pseudo_end is just ret and the stack pointer is correct also
31535 for static library in error case.
31537 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31540 * nss/nsswitch.c (defconfig_entries): New variable.
31541 (__nss_database_lookup): Don't leak defconfig entries.
31542 (nss_parse_service_list): Don't leak on error paths.
31543 (free_database_entries): New function.
31544 (free_defconfig): New function.
31545 (free_mem): Move common code to free_database_entries.
31547 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31549 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31551 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31553 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31554 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31555 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31557 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31558 (INTERNAL_SYSCALL_TYPES): Likewise.
31559 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31560 (LOAD_REGS_TYPES_[1-6]): Likewise.
31561 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31562 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31564 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31566 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31567 copysignl for GLIBC_2_0.
31568 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31569 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31570 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31571 logbl for GLIBC_2_0.
31572 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31573 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31575 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31578 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31580 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31583 * time/mktime.c: Update copyright years.
31585 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31587 mktime: merge comment-quoting-style change from gnulib
31588 * time/mktime.c: Quote 'like this' in comments.
31589 The GNU coding standards suggest that we no longer quote `like this',
31590 as "`" and "'" are typically rendered asymmetrically nowadays.
31591 The typical gnulib style is to quote 'like this' when quoting
31592 code, and "like this" when quoting English.
31594 * time/mktime.c (compile-command): Add "-I.".
31596 mktime: merge mktime-internal.h change from gnulib
31597 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31599 mktime: merge time_r change from gnulib
31600 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31602 mktime: merge DEBUG change from gnulib
31603 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31604 case system <time.h> has a #define.
31606 mktime: merge <sys/types.h> change from gnulib
31607 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31608 since <time.t> is now guaranteed to define time_t.
31610 mktime: merge HAVE_CONFIG_H change from gnulib
31611 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31613 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31618 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31620 (struct rusage): Use anonymous union to pad each field to
31623 2012-05-21 David S. Miller <davem@davemloft.net>
31625 * Makefules (o-iterator): Remove .s cases.
31626 (compile-command.s): Delete.
31627 (COMPILE.s): Delete.
31628 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31630 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31632 * configure.in (libc_cv_predef_stack_protector): Only consider
31633 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31634 * configure: Regenerated.
31636 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31639 New macro. Use R*LP on int and pointer.
31640 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31641 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31642 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31643 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31645 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31646 [__WORDSIZE_TIME64_COMPAT32] instead of
31647 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31648 (struct utmp): Likewise.
31649 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31650 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31652 (__WORDSIZE_TIME64_COMPAT32): This.
31653 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31654 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31655 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31656 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31657 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31658 (__WORDSIZE_TIME64_COMPAT32): New macro.
31660 2012-05-21 Andreas Jaeger <aj@suse.de>
31662 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31663 only if [SHARED]. Add prototype for __wcschr_ia32.
31665 2012-05-21 Roland McGrath <roland@hack.frob.com>
31667 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31668 of %rbp unmolested in the jmp_buf while mangling the low bits.
31669 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31670 unmolested high bits of %rbp while demangling the low bits.
31671 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31673 2012-05-21 Andreas Jaeger <aj@suse.de>
31675 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31676 * sunrpc/svc_simple.c: Use it for registerrpc.
31677 * sunrpc/xcrypt.c: Use it for passwd2des.
31679 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31681 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31683 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31684 Don't define if [__SYSCALL_WORDSIZE != 32].
31685 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31688 2012-05-21 Bruno Haible <bruno@clisp.org>
31689 Andreas Jaeger <aj@suse.de>
31691 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31692 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31693 inptr and inend for must_buffer_ch.
31694 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31695 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31696 * stdio-common/Makefile (tests): Remove bug15.
31697 (bug15-ENV): Remove macro.
31698 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31701 2012-05-19 Andreas Jaeger <aj@suse.de>
31702 Roland McGrath <roland@hack.frob.com>
31704 * manual/contrib.texi: Completely rewritten. It contains now an
31705 alphabetical list of contributors and their contributions.
31707 2012-05-21 Richard Henderson <rth@twiddle.net>
31709 * misc/getauxval.c (__getauxval): Use unsigned long int.
31710 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31711 (getauxval): Use unsigned long int.
31713 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31715 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31717 2012-05-21 Roland McGrath <roland@hack.frob.com>
31719 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31720 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31721 __alignof__ (long double).
31723 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31727 2012-05-20 Richard Henderson <rth@twiddle.net>
31729 * misc/getauxval.c: New file.
31730 * misc/sys/auxv.h: New file.
31731 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31732 (routines): Add getauxval.
31733 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31734 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31735 * elf/dl-sysdep.c (_dl_auxv): Remove.
31736 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31737 * elf/dl-support.c (_dl_auxv): New variable.
31738 (_dl_aux_init): Initialize it.
31739 * manual/startup.texi (Auxiliary Vector): New node.
31740 * sysdeps/generic/bits/hwcap.h: New file.
31741 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31742 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31743 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31744 * sysdeps/sparc/sysdep.h: ... here. Include it.
31745 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31746 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31752 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31753 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31758 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31762 2012-05-19 David S. Miller <davem@davemloft.net>
31764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31766 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31769 * math/s_ccosh.c: Include <float.h>
31770 (__ccosh): Avoid internal overflow calculating sinh and cosh
31771 values before multiplying by sin and cos values.
31772 * math/s_ccoshf.c: Likewise.
31773 * math/s_ccoshl.c: Likewise.
31774 * math/s_csin.c: Likewise.
31775 * math/s_csinf.c: Likewise.
31776 * math/s_csinl.c: Likewise.
31777 * math/s_csinh.c: Likewise.
31778 * math/s_csinhf.c: Likewise.
31779 * math/s_csinhl.c: Likewise.
31780 * math/libm-test.inc (ccos_test): Add more tests.
31781 (ccosh_test): Likewise.
31782 (csin_test): Likewise.
31783 (csinh_test): Likewise.
31784 * sysdeps/i386/fpu/libm-test-ulps: Update.
31785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31787 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31789 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31790 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31792 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31794 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31796 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31797 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31798 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31799 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31800 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31801 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31802 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31803 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31804 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31805 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31806 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31807 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31808 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31809 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31810 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31811 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31812 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31813 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31814 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31815 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31816 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31817 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31818 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31819 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31820 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31821 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31822 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31823 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31824 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31825 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31826 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31828 2012-05-18 Andreas Jaeger <aj@suse.de>
31830 * csu/.gitignore: Delete.
31832 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31834 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31835 (timex): Use __syscall_slong_t.
31837 2012-05-18 Andreas Jaeger <aj@suse.de>
31838 Carlos O'Donell <carlos_odonell@mentor.com>
31840 * manual/install.texi (Configuring and compiling): Update
31841 description about files modified in the source directory.
31842 * INSTALL: Regenerated.
31844 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31846 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31847 value. Use "or" to set return value to -1.
31848 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31849 negate return value.
31851 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31853 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31854 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31855 failure if the compiler has Graphite support disabled.
31856 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31858 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31859 (CFLAGS-memmove.c): Likewise.
31860 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31863 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31865 * sysdeps/x86_64/x32/_itoa.h: New file.
31867 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31868 getdents system call only if kernel and user dirents have the
31869 same d_ino and d_off.
31871 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31872 LLONG_MAX != LONG_MAX.
31873 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31874 (_fitoa_word): Likewise.
31876 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31878 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31879 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31880 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31882 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31883 include <bits/wordsize.h>. Check __x86_64__ instead of
31885 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31886 if __x86_64__ is defined. Use anonymous union on fpstate.
31888 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31891 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31893 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31894 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31895 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31896 Refer to _rtld_local_ro instead of _rtld_global_ro.
31897 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31899 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31901 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31903 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31904 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31905 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31907 * sysdeps/powerpc/powerpc32/dl-machine.c
31908 (__elf_machine_runtime_setup) [PROF]: Don't reference
31911 2012-05-18 Andreas Jaeger <aj@suse.de>
31913 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31914 function only available for GCCs before 3.4 since GCC 3.4
31915 introduced a builtin.
31917 (llrintf): Likewise.
31918 (llrint): Likewise.
31925 (nearbyint): Likewise.
31926 (nearbyintf): Likewise.
31930 (floorf): Likewise.
31932 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31934 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31935 on both fields and cast pointer to __syscall_ulong_t.
31937 * bits/types.h (__fsword_t): New type.
31938 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31939 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31941 (__FSWORD_T_TYPE): Likewise.
31942 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31943 (__FSWORD_T_TYPE): Likewise.
31944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31945 (__FSWORD_T_TYPE): Likewise.
31946 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31947 (__FSWORD_T_TYPE): Likewise.
31948 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31949 __SWORD_TYPE with __fsword_t.
31950 (statfs64): Likewise.
31952 2012-05-17 David S. Miller <davem@davemloft.net>
31954 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31956 2012-05-17 Andreas Jaeger <aj@suse.de>
31958 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31961 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31963 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31965 2012-05-17 Andreas Jaeger <aj@suse.de>
31967 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31970 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31972 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31974 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31976 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31977 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31979 2012-05-17 Andreas Jaeger <aj@suse.de>
31980 Carlos O'Donell <carlos_odonell@mentor.com>
31983 * sysdeps/x86_64/multiarch/init-arch.h
31984 (bit_YMM_Usable): Rename to...
31985 (bit_AVX_Usable): ... this.
31986 (bit_FMA4_Usable): New macro.
31987 (bit_XMM_state): New macro.
31988 (bit_YMM_state): New macro.
31989 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31990 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31991 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31992 (CPUID_OSXSAVE): New macro.
31993 (CPUID_AVX): New macro.
31994 (CPUID_FMA4): New macro.
31995 (index_YMM_Usable): Rename to...
31996 (index_AVX_Usable): ... this.
31997 (HAS_AVX): Use HAS_ARCH_FEATURE.
31998 (HAS_FMA4): Likewise.
31999 (HAS_YMM_USABLE): Remove.
32000 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32001 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32003 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32004 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32005 * sysdeps/x86_64/multiarch/Makefile: Likewise.
32006 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32007 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32009 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
32011 * math/libm-test.c: Support platforms without multiple rounding modes.
32012 * math/bug-nextafter.c: Support platforms without FP exceptions.
32013 * math/bug-nexttoward.c: Likewise.
32014 * math/test-fenv.c: Likewise.
32015 * math/test-misc.c: Likewise.
32016 * stdlib/bug-getcontext.c: Likewise.
32018 2012-05-17 Andreas Jaeger <aj@suse.de>
32020 * manual/examples/search.c (critter_cmp): Change signature to
32022 * manual/string.texi (Collation Functions): Likewise.
32024 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32026 * bits/types.h: Fold copyright years.
32027 * bits/typesizes.h: Likewise.
32028 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32029 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32030 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32031 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32032 * time/time.h: Likewise.
32034 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
32037 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32038 in instead of returning them. Return void.
32039 (__libc_mallinfo): Accumulate over all arenas.
32040 (__malloc_stats): Adjust for change in int_mallinfo interface.
32042 2012-05-16 Roland McGrath <roland@hack.frob.com>
32045 * configure.in (NM): Add AC_CHECK_TOOL for it.
32046 (libc_extra_cflags): New substituted variable.
32047 Check for -fstack-protector being used implicitly.
32048 * configure: Regenerated.
32049 * config.make.in (config-extra-cflags): New variable,
32050 gets @libc_extra_cflags@.
32051 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32054 * configure.in: Check for _FORTIFY_SOURCE being predefined.
32055 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32056 * configure: Regenerated.
32057 * config.make.in (CPPUNDEFS): New substituted variable.
32058 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32059 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32060 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32062 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32064 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32065 (mq_attr): Use __syscall_slong_t.
32067 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32069 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32070 Check __x86_64__ instead of __WORDSIZE.
32071 (_STAT_VER_LINUX): Likewise.
32072 (stat): Check __x86_64__ instead of __WORDSIZE. Use
32073 __syscall_ulong_t and __syscall_slong_t.
32074 (stat64): Likewise.
32076 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32078 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32080 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32082 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32084 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32086 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32089 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32090 include <bits/wordsize.h>. Check __x86_64__ instead of
32092 (greg_t): Use "__extension__ long long int" if __x86_64__ is
32094 (mcontext_t): Replace "unsigned long" with "unsigned long long".
32096 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32097 include <bits/wordsize.h>. Check __x86_64__ instead of
32099 (user_regs_struct): Use "__extension__ unsigned long long"
32100 instead of "unsigned long" if __x86_64__ is defined.
32101 (user): Likewise. Pad after pointer field if __ILP32__ is
32104 2012-05-16 Joseph Myers <joseph@codesourcery.com>
32106 * configure.in (makeinfo): Require version 4.5 or later. Allow
32108 * configure: Regenerated.
32109 * manual/install.texi (texinfo): Increase version requirement to
32111 * INSTALL: Regenerated.
32113 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32115 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
32117 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32119 * sysdeps/x86_64/x32/ffs.c: New file.
32121 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32123 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32124 defined. Use __syscall_ulong_t.
32125 (shminfo): Use __syscall_ulong_t.
32126 (shm_info): Likewise.
32128 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32131 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32133 (msgqnum_t): Use __syscall_ulong_t.
32134 (msglen_t): Likewise.
32135 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
32138 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32139 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32141 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32143 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32144 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32146 * sysvipc/sys/msg.h (msgbuf): Replace long int with
32149 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32150 include <bits/wordsize.h>. Check __x86_64__ instead of
32153 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32154 "unsigned long long int" if __x86_64__ is defined.
32155 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32157 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32158 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
32159 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32161 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32163 (GET_PC): Cast to uintptr_t first.
32164 (GET_FRAME): Likewise.
32165 (GET_STACK): Likewise.
32167 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32168 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32169 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32170 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32171 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32172 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32173 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32174 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32175 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32176 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32177 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32178 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32179 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32180 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32181 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32182 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32183 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32184 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32185 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32186 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32187 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32188 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32189 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32190 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32191 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32192 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32193 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32194 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32195 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32197 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
32199 * Makerules (+depfiles): Also collect depfiles from .oS in
32201 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32202 .oS, $(libnldbl-routines)).
32204 * Makerules (native-compile-mkdep-flags): Define.
32205 * sunrpc/Makefile (extra-objs): Add $(addprefix
32206 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32207 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32208 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
32209 calling $(make-target-directory).
32211 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32213 * bits/types.h (__snseconds_t): Removed.
32214 * time/time.h (struct timespec): Replace __snseconds_t with
32216 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32217 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32219 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32220 (__SNSECONDS_T_TYPE): Likewise.
32221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32222 (__SNSECONDS_T_TYPE): Likewise.
32223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32224 (__SNSECONDS_T_TYPE): Likewise.
32226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32228 * sysdeps/mach/hurd/bits/typesizes.h
32229 (__SYSCALL_SLONG_TYPE): New macro.
32230 (__SYSCALL_ULONG_TYPE): Likewise.
32232 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32234 * bits/types.h (__syscall_slong_t): New type.
32235 (__syscall_ulong_t): Likewise.
32237 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32238 (__SYSCALL_ULONG_TYPE): Likewise.
32239 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32240 (__SYSCALL_SLONG_TYPE): Likewise.
32241 (__SYSCALL_ULONG_TYPE): Likewise.
32242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32243 (__SYSCALL_SLONG_TYPE): Likewise.
32244 (__SYSCALL_ULONG_TYPE): Likewise.
32245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32246 (__SYSCALL_SLONG_TYPE): Likewise.
32247 (__SYSCALL_ULONG_TYPE): Likewise.
32249 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32251 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32252 Add sigaltstack-offsets.sym.
32253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32254 <sigaltstack-offsets.h>.
32255 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
32256 longjmp_msg pointer.
32257 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
32258 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32260 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32262 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32264 * elf/stackguard-macros.h: Remove file.
32265 * sysdeps/generic/stackguard-macros.h: New file.
32266 * sysdeps/i386/stackguard-macros.h: Likewise.
32267 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32268 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32269 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32270 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32271 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32272 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32273 * sysdeps/x86_64/stackguard-macros.h: Likewise.
32274 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32275 <elf/stackguard-macros.h>.
32278 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32279 __aligned__ in attribute.
32280 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32281 (gregset_t): Likewise.
32283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32285 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32286 * sysdeps/x86_64/64/Implies-after: Here. New file.
32287 * sysdeps/x86_64/x32/Implies-after: New file.
32289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32291 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32292 and access return value for _dl_profile_fixup. Use R10_LP to
32295 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32297 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32299 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32301 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32302 * sysdeps/x86_64/x32/sysdep.h: New file.
32304 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32306 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32307 * sysdeps/x86_64/setjmp.S: Likewise.
32309 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32311 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32312 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32313 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32314 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32315 remove unused global constant.
32317 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
32319 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32320 include of <not-cancel.h>.
32322 2012-05-15 Roland McGrath <roland@hack.frob.com>
32324 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32326 2012-05-15 Jeff Law <law@redhat.com>
32327 Andreas Jaeger <aj@suse.de>
32330 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32332 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32333 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32334 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32335 code changing __hst_map_handle.map.
32337 2012-05-15 Roland McGrath <roland@hack.frob.com>
32339 * configure.in (sysnames): Look for Implies-before and Implies-after
32341 * configure: Regenerated.
32343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32345 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32346 8-byte data alignment with LP_SIZE alignment.
32348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32350 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32353 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32355 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32357 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32359 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32360 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32361 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32363 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32365 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32367 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32368 (stackinfo_sub_sp): Likewise.
32370 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32372 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32377 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32380 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32382 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32387 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32391 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32392 into R11_LP and load __x86_64_shared_cache_size_half into
32395 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
32397 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32400 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32402 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32404 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32406 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32408 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32409 powerpc32/power7/fpu/s_logb.c via #include.
32410 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32411 powerpc32/power7/fpu/s_logbf.c via #include.
32412 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32413 powerpc32/power7/fpu/s_logbl.c via #include.
32415 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32417 * README.libm: Remove file.
32419 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32421 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32422 count for x32. Use R*_LP and omit operand-size suffix.
32424 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32426 * shlib-versions: Move x86_64-.*-linux.* entries to ...
32427 * sysdeps/x86_64/64/shlib-versions: Here. New file.
32428 * sysdeps/x86_64/x32/shlib-versions: New file.
32430 2012-05-14 Roland McGrath <roland@hack.frob.com>
32432 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32433 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32434 Use _dl_fatal_printf instead.
32436 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32438 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32439 set if not set by the user. Do not allow for being unset.
32440 * sysdeps/unix/sysv/linux/configure: Regenerated.
32442 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32444 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32445 the `q' suffix from lea and replace .quad with ASM_ADDR.
32447 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32449 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32450 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
32452 (PTR_DEMANGLE): Likewise.
32454 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32456 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32458 (ASM_ADDR): Likewise.
32459 (RAX_LP): Likewise.
32460 (RBP_LP): Likewise.
32461 (RBX_LP): Likewise.
32462 (RCX_LP): Likewise.
32463 (RDI_LP): Likewise.
32464 (RSI_LP): Likewise.
32465 (RSP_LP): Likewise.
32468 (R10_LP): Likewise.
32469 (R10_LP): Likewise.
32470 (R11_LP): Likewise.
32471 (R12_LP): Likewise.
32472 (R13_LP): Likewise.
32473 (R14_LP): Likewise.
32474 (R15_LP): Likewise.
32476 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32478 * sysdeps/x86_64/x32/dl-machine.h: New file.
32480 2012-05-14 Andreas Jaeger <aj@suse.de>
32482 * manual/Makefile (subdir): Remove export of subdir.
32483 (all): Remove target.
32484 (.PHONY): Remove all from list.
32485 (mkinstalldirs): Remove.
32486 (.PHONY): Remove installdirs from list.
32487 ($(inst_infodir)/libc.info): Use make-target-directory.
32488 (installdirs): Remove.
32489 (subdir_%): Remove.
32490 (glibc-targets): Remove.
32493 ($(objpfx)stubs ../po/manual.pot): Remove.
32494 ($(objpfx)stamp%): Remove.
32495 (make-target-directory): Remove.
32496 (subdir_install): Remove.
32497 (routines): Remove.
32504 * manual/.gitignore: Remove, it's not needed anymore.
32505 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32507 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32509 (texis): Renamed to $(objpfx)texis.
32510 (texis-path): New, contains path to generated files.
32511 (chapters.%): Use texis-path for complete path, add extra argument
32513 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32514 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32515 (summary,texi, stamp-summary): Use complete path of
32516 files. Generate files in build dir.
32517 (dir-add.texi): Build in build dir.
32518 (libm-err.texi,stamp-libm-err): Likewise.
32519 (version.texi, stamp-version): Likewise.
32520 (.%c.texi): Likewise.
32521 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32522 (mostlyclean): Remove target.
32523 (realclean): Remove target.
32524 (generated): Add new variable with contents from mostlyclean and
32525 realclean, remove entries duplicated in common-mostlyclean, add
32526 stamp-libm-err and stamp-version.
32527 (generated-dirs): Add libc directory.
32528 ($(inst_infodir)/libc.info): Install files from build dir.
32530 * manual/install.texi (Configuring and compiling): Adjust since
32531 the info files are not part of the tar ball anymore.
32533 2012-05-14 Andreas Jaeger <aj@suse.de>
32535 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32538 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32541 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32542 to 2.2.0 where earlier.
32543 * sysdeps/unix/sysv/linux/configure: Regenerated.
32544 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32545 Remove conditional code.
32546 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32547 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32548 Remove conditional code.
32549 [!__NR_lchown]: Likewise.
32550 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32551 [__NR_lchown]: Likewise.
32552 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32553 comment referencing __ASSUME_LCHOWN_SYSCALL.
32554 * sysdeps/unix/sysv/linux/i386/sigaction.c
32555 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32556 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32557 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32558 Remove conditional code.
32559 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32560 (__protocol_available): Remove #if 0 code.
32561 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32563 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32564 * sysdeps/unix/sysv/linux/kernel-features.h
32565 (__ASSUME_GETCWD_SYSCALL): Don't define.
32566 (__ASSUME_REALTIME_SIGNALS): Likewise.
32567 (__ASSUME_PREAD_SYSCALL): Likewise.
32568 (__ASSUME_PWRITE_SYSCALL): Likewise.
32569 (__ASSUME_POLL_SYSCALL): Likewise.
32570 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32571 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32573 (__ASSUME_SIOCGIFNAME): Don't define.
32574 (__ASSUME_MSG_NOSIGNAL): Likewise.
32575 (__ASSUME_SENDFILE): Define unconditionally.
32576 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32577 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32579 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32580 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32581 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32582 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32583 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32584 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32585 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32587 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32590 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32591 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32593 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32596 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32599 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32602 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32605 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32606 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32608 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32610 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32611 Remove conditional code.
32612 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32613 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32614 Remove conditional code.
32615 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32616 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32617 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32618 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32619 Remove conditional code.
32620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32621 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32622 Remove conditional code.
32623 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32624 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32625 Remove conditional code.
32626 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32627 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32628 Remove conditional code.
32629 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32630 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32631 Remove conditional code.
32632 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32633 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32634 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32635 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32636 * sysdeps/unix/sysv/linux/sigaction.c
32637 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32638 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32639 * sysdeps/unix/sysv/linux/sigpending.c
32640 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32641 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32642 * sysdeps/unix/sysv/linux/sigprocmask.c
32643 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32644 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32645 * sysdeps/unix/sysv/linux/sigsuspend.c
32646 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32647 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32648 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32649 (__libc_missing_rt_sigs): Remove.
32650 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32651 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32652 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32653 Remove conditional code.
32654 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32655 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32657 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32658 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32659 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32660 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32662 2012-05-14 Andreas Jaeger <aj@suse.de>
32664 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32665 it's not used in glibc.
32666 (__coshm1): Likewise.
32667 (__acosh1p): Likewise.
32670 * manual/string.texi (Copying and Concatenation): Add missing
32671 variable in concat example.
32672 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32674 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32677 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32678 __builtin_clzl with __builtin_clzll.
32680 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32683 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32686 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32688 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32689 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32690 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32691 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32693 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32695 * NEWS: Update ia64 info.
32697 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32699 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32702 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32704 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32705 * sysdeps/unix/syscalls.list (dup3): Likewise.
32706 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32707 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32709 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32711 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32712 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32714 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32716 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32718 (TLS_IE): Use mov/add instead of movq/addq to load thread
32720 (TLS_GD_PREFIX): New.
32723 2012-05-11 David S. Miller <davem@davemloft.net>
32725 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32726 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32727 (_FPU_SETCW): Likewise.
32729 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32731 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32732 is 32-byte aligned.
32734 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32737 * iconvdata/gb18030.c: Update tables.
32738 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32739 characters specially.
32740 (BODY for TO_LOOP): Add encoding of missing ranges.
32742 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32745 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32746 * sysdeps/mach/hurd/dup3.c: Likewise.
32747 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32748 * sysdeps/powerpc/memmove.c:: Likewise.
32750 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32752 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32753 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32755 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32757 * elf/elf.h (R_X86_64_RELATIVE64): New.
32758 (R_X86_64_NUM): Updated.
32759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32760 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32761 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32762 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32763 tst-quad1pie tst-quad2pie
32764 (modules-names): Add tst-quadmod1 tst-quadmod2.
32765 ($(objpfx)tst-quad1): New dependency.
32766 ($(objpfx)tst-quad2): Likewise.
32767 ($(objpfx)tst-quad1pie): Likewise.
32768 ($(objpfx)tst-quad2pie): Likewise.
32769 * sysdeps/x86_64/tst-quad1.c: New file.
32770 * sysdeps/x86_64/tst-quad1pie.c: New file.
32771 * sysdeps/x86_64/tst-quad2.c: Likewise.
32772 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32773 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32774 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32775 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32776 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32778 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32780 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32781 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32782 * streams/stropts.h (t_scalar_t): Define type.
32784 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32785 (_PATH_PRESERVE): Set to "/var/lib".
32786 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32788 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32791 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32792 if __dir_mkfile succeeded.
32794 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32795 checking for _hurd_dtablesize. Unlock it right after having
32796 finished _hurd_dtable allocation.
32798 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32800 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32801 * sysdeps/mach/hurd/configure: Regenerated.
32802 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32803 special-casing to...
32804 * sysdeps/gnu/configure.in: ... this new file.
32805 * sysdeps/unix/sysv/linux/configure: Regenerated.
32806 * sysdeps/gnu/configure: New generated file.
32808 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32809 for Linux: use nsec instead of usec, as well as:
32810 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32811 members of type struct timespec.
32812 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32814 (struct stat64): Likewise.
32815 (_STATBUF_ST_NSEC): New macro.
32816 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32818 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32819 __strtoul_internal rather than strtoul.
32821 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32823 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32826 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32828 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32829 which preserves existing values.
32830 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32832 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32834 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32835 TIMEOUT values. Return EINVAL for NFDS values either negative or
32836 greater than FD_SETSIZE.
32838 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32840 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32841 allocated, call __vm_protect to finish enabling the existing space, and
32842 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32843 allocate the remainder.
32845 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32847 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32848 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32850 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32852 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32853 sysdeps/mach/hurd/readlink.c.
32855 * posix/tst-sysconf.c (posix_options): Only use
32856 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32857 _POSIX_SYNCHRONIZED_IO when they are defined
32858 * sysdeps/mach/hurd/bits/posix_opt.h:
32859 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32860 (_XOPEN_REALTIME): Undefine macro.
32861 (_XOPEN_REALTIME_THREADS): Undefine macro.
32862 (_XOPEN_SHM): Undefine macro.
32863 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32865 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32867 (_POSIX_ASYNC_IO): Undefine macro.
32868 (_POSIX_PRIORITIZED_IO): Undefine macro.
32869 (_POSIX_SPIN_LOCKS): Define macro to -1.
32871 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32872 SA_NODEFER, SA_RESETHAND.
32873 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32874 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32877 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32879 * elf/Makefile (pldd-modules): Define unconditionally.
32881 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32883 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32885 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32887 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32888 Return ENOENT when name is empty.
32889 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32891 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32893 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32895 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32899 Fix mlock in all cases except non-readable pages.
32900 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32901 instead of VM_PROT_ALL as parameter to __vm_wire function.
32903 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32904 (__mkdir): When path is `/', just fail with EEXIST.
32905 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32907 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32909 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32910 <sys/uio.h> (for writev).
32911 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32912 and <sys/param.h> (for MIN).
32914 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32916 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32917 REQUESTED_TIME. Properly set the remaining time and return EINTR
32920 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32922 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32923 Depend on against $(link-rpcuserlibs).
32925 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32927 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32928 (__libc_stack_end): Do not use attribute_relro.
32929 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32930 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32931 to libthread-provided value.
32932 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32935 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32938 * bits/libc-lock.h (__libc_once_get): New macro.
32939 * sysdeps/mach/bits/libc-lock.h: Likewise.
32940 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32941 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32942 instead of using implementation details.
32944 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32945 * libio/freopen.c: Likewise.
32946 * libio/freopen64.c: Likewise.
32947 * misc/syslog.c: Likewise.
32948 * nscd/connections.c: Likewise.
32949 * nscd/netgroupcache.c: Likewise.
32950 * sysdeps/posix/getcwd.c: Likewise.
32952 2012-05-10 Roland McGrath <roland@hack.frob.com>
32954 * math/w_ilogbf.c: Add #include <limits.h>.
32956 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32958 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32959 path instead of returning without unlocking.
32961 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32962 immediate-write ioctls.
32963 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32965 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32967 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32968 __builtin_frame_address instead of making assumptions about the
32969 location of the return address relative to DATA. Force early load of
32970 the return address.
32971 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32972 __builtin_frame_address.
32975 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32976 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32977 implement dup3 and do some further code clean-ups.
32978 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32979 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32981 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32983 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32985 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32986 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32987 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32988 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32989 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32992 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32993 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32994 when handler == SIG_ERR, not when handler != SIG_ERR.
32996 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32998 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32999 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33002 accept4 for GNU Hurd.
33003 * include/sys/socket.h (__libc_accept4): New prototype.
33004 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
33005 to implement __libc_accept4.
33006 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33008 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33010 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33011 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33012 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33013 signal-defines.sym.
33015 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33017 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33019 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
33021 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33022 assertion on O_CLOEXEC flag.
33023 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33024 * hurd/intern-fd.c: Likewise.
33025 * hurd/port2fd.c: Likewise.
33027 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
33030 * bits/in.h (IPV6_PKTINFO): Define new macro.
33031 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33033 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33038 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33039 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33040 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33041 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33042 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33043 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33044 * math/libm-test.inc (logb_test) : Additional logb tests.
33046 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
33047 Andreas Jaeger <aj@suse.de>
33049 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33050 * configure: Regenerated.
33051 * config.h.in (LINK_OBSOLETE_RPC): New macro.
33052 * config.make.in (link-obsolete-rpc): New substituted variable.
33053 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33054 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33055 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33056 (shared-only-routines): Don't set it under [link-obsolete-rpc],
33057 so that libc.a contains the symbols.
33058 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33059 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33060 * sunrpc/auth_none.c: Likewise.
33061 * sunrpc/auth_unix.c: Likewise.
33062 * sunrpc/authdes_prot.c: Likewise.
33063 * sunrpc/authuxprot.c: Likewise.
33064 * sunrpc/clnt_gen.c: Likewise.
33065 * sunrpc/clnt_perr.c: Likewise.
33066 * sunrpc/clnt_raw.c: Likewise.
33067 * sunrpc/clnt_simp.c: Likewise.
33068 * sunrpc/clnt_tcp.c: Likewise.
33069 * sunrpc/clnt_udp.c: Likewise.
33070 * sunrpc/clnt_unix.c: Likewise.
33071 * sunrpc/des_crypt.c: Likewise.
33072 * sunrpc/des_soft.c: Likewise.
33073 * sunrpc/get_myaddr.c: Likewise.
33074 * sunrpc/key_call.c: Likewise.
33075 * sunrpc/key_prot.c: Likewise.
33076 * sunrpc/netname.c: Likewise.
33077 * sunrpc/pm_getmaps.c: Likewise.
33078 * sunrpc/pm_getport.c: Likewise.
33079 * sunrpc/pmap_clnt.c: Likewise.
33080 * sunrpc/pmap_prot.c: Likewise.
33081 * sunrpc/pmap_prot2.c: Likewise.
33082 * sunrpc/pmap_rmt.c: Likewise.
33083 * sunrpc/publickey.c: Likewise.
33084 * sunrpc/rpc_cmsg.c: Likewise.
33085 * sunrpc/rpc_common.c: Likewise.
33086 * sunrpc/rpc_dtable.c: Likewise.
33087 * sunrpc/rpc_prot.c: Likewise.
33088 * sunrpc/rpc_thread.c: Likewise.
33089 * sunrpc/rtime.c: Likewise.
33090 * sunrpc/svc.c: Likewise.
33091 * sunrpc/svc_auth.c: Likewise.
33092 * sunrpc/svc_raw.c: Likewise.
33093 * sunrpc/svc_run.c: Likewise.
33094 * sunrpc/svc_tcp.c: Likewise.
33095 * sunrpc/svc_udp.c: Likewise.
33096 * sunrpc/svc_unix.c: Likewise.
33097 * sunrpc/svcauth_des.c: Likewise.
33098 * sunrpc/xcrypt.c: Likewise.
33099 * sunrpc/xdr.c: Likewise.
33100 * sunrpc/xdr_array.c: Likewise.
33101 * sunrpc/xdr_float.c: Likewise.
33102 * sunrpc/xdr_intXX_t.c: Likewise.
33103 * sunrpc/xdr_mem.c: Likewise.
33104 * sunrpc/xdr_rec.c: Likewise.
33105 * sunrpc/xdr_ref.c: Likewise.
33106 * sunrpc/xdr_sizeof.c: Likewise.
33107 * sunrpc/xdr_stdio.c: Likewise.
33109 2012-05-10 Roland McGrath <roland@hack.frob.com>
33111 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33112 change. Update copyright years.
33114 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33116 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33118 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
33119 Joseph Myers <joseph@codesourcery.com>
33120 Paul Pluzhnikov <ppluzhnikov@google.com>
33123 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33125 [cross-compiling] (extra-libs): Likewise.
33126 [cross-compiling] (extra-libs-others): Likewise.
33127 [cross-compiling] (librpcsvc-routines): Likewise.
33128 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33129 [cross-compiling] (omit-deps): Likewise.
33130 (sunrpc-CPPFLAGS): New variable.
33131 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33132 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33133 (cross-rpcgen-objs): New variable.
33134 (extra-objs): Append $(cross-rpcgen-objs).
33135 ($(cross-rpcgen-objs)): New rule.
33136 ($(objpfx)cross-rpcgen): Likewise.
33137 (rpcgen-cmd): Define to use $(built-program-file). Expand
33139 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33140 ($(objpfx)x%.stmp): Likewise.
33141 * sunrpc/proto.h [IS_IN_build] (_): Define.
33142 [IS_IN_build] (_libc_intl_domainname): Likewise.
33144 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
33146 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33147 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33148 and R_X86_64_TPOFF64.
33150 2012-05-10 Joseph Myers <joseph@codesourcery.com>
33152 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33153 sysdeps/unix/sysv/syscalls.list.
33156 * sysdeps/unix/sysv/syscalls.list: Remove file.
33158 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
33161 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33162 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33163 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33164 (__LC_IDENTIFICATION): Make these macros useful in #if
33165 expressions, as required by C99.
33167 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
33169 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33170 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
33173 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
33175 * stdlib/longlong.h: Updated from GCC.
33177 2012-05-09 Andreas Jaeger <aj@suse.de>
33179 * nscd/nscd.c (run_modes): Make named enum, reorder so that
33180 default is first entry.
33181 (run_mode): Set type.
33182 (main): Remove informal message about syslog.
33183 (options): Fix typo.
33186 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33189 (llrintf): Likewise.
33190 (llrint): Likewise.
33193 (nearbyint): Likewise.
33194 (nearbyintf): Likewise.
33196 2012-05-09 Andreas Jaeger <aj@suse.de>
33197 Pedro Alves <palves@redhat.com>
33199 * nscd/nscd.c (run_mode): Use enum.
33200 (main): Cleanup coding style issue.
33202 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
33203 Andreas Jaeger <aj@suse.de>
33205 * nscd/nscd.c (go_background): Replaced with...
33206 (run_mode): ... this.
33207 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33208 (options): Add -F --foreground.
33209 (main): Implement it.
33210 (parse_opt): Parse it.
33212 2012-05-09 Andreas Jaeger <aj@suse.de>
33215 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33216 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33217 -Wconversion warning.
33218 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33221 2012-05-09 Joseph Myers <joseph@codesourcery.com>
33223 * conform/data/locale.h-data (NULL): Use macro-constant. Require
33225 (LC_ALL): Use macro-int-constant.
33226 (LC_COLLATE): Likewise.
33227 (LC_CTYPE): Likewise.
33228 (LC_MESSAGES): Likewise.
33229 (LC_MONETARY): Likewise.
33230 (LC_NUMERIC): Likewise.
33231 (LC_TIME): Likewise.
33232 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33233 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33235 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33237 [C99-based standards] (float_t): Expect type.
33238 [C99-based standards] (double_t): Expect type.
33239 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
33241 [C99-based standards] (HUGE_VALL): Likewise.
33242 [C99-based standards] (INFINITY): Likewise.
33243 [C99-based standards] (NAN): Likewise.
33244 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33245 [C99-based standards] (FP_NAN): Likewise.
33246 [C99-based standards] (FP_NORMAL): Likewise.
33247 [C99-based standards] (FP_SUBNORMAL): Likewise.
33248 [C99-based standards] (FP_ZERO): Likewise.
33249 [C99-based standards] (FP_FAST_FMA): Use
33250 optional-macro-int-constant. Specify type. Require == 1.
33251 [C99-based standards] (FP_FAST_FMAF): Likewise.
33252 [C99-based standards] (FP_FAST_FMAL): Likewise.
33253 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33254 [C99-based standards] (FP_ILOGBNAN): Likewise.
33255 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33257 [C99-based standards] (MATH_ERREXCEPT): Likewise.
33258 [C99-based standards] (math_errhandling): Specify type.
33259 [ISO99 || ISO11] (signgam): Do not allow.
33260 [non-C99-based standards] (copysignf): Do not allow.
33261 [non-C99-based standards] (exp2f): Likewise.
33262 [non-C99-based standards] (log2f): Likewise.
33263 [non-C99-based standards] (modff): Allow.
33264 [non-C99-based standards] (erff): Do not allow.
33265 [non-C99-based standards] (erfcf): Likewise.
33266 [non-C99-based standards] (gammaf): Likewise.
33267 [non-C99-based standards] (hypotf): Likewise.
33268 [non-C99-based standards] (j0f): Likewise.
33269 [non-C99-based standards] (j1f): Likewise.
33270 [non-C99-based standards] (jnf): Likewise.
33271 [non-C99-based standards] (lgammaf): Likewise.
33272 [non-C99-based standards] (tgammaf): Likewise.
33273 [non-C99-based standards] (y0f): Likewise.
33274 [non-C99-based standards] (y1f): Likewise.
33275 [non-C99-based standards] (ynf): Likewise.
33276 [non-C99-based standards] (isnanf): Likewise.
33277 [non-C99-based standards] (acoshf): Likewise.
33278 [non-C99-based standards] (asinhf): Likewise.
33279 [non-C99-based standards] (atanhf): Likewise.
33280 [non-C99-based standards] (cbrtf): Likewise.
33281 [non-C99-based standards] (expm1f): Likewise.
33282 [non-C99-based standards] (ilogbf): Likewise.
33283 [non-C99-based standards] (log1pf): Likewise.
33284 [non-C99-based standards] (logbf): Likewise.
33285 [non-C99-based standards] (nextafterf): Likewise.
33286 [non-C99-based standards] (remainderf): Likewise.
33287 [non-C99-based standards] (rintf): Likewise.
33288 [non-C99-based standards] (scalbf): Likewise.
33289 [non-C99-based standards] (copysignl): Likewise.
33290 [non-C99-based standards] (exp2l): Likewise.
33291 [non-C99-based standards] (log2l): Likewise.
33292 [non-C99-based standards] (modfl): Allow.
33293 [non-C99-based standards] (erfl): Do not allow.
33294 [non-C99-based standards] (erfcl): Likewise.
33295 [non-C99-based standards] (gammal): Likewise.
33296 [non-C99-based standards] (hypotl): Likewise.
33297 [non-C99-based standards] (j0l): Likewise.
33298 [non-C99-based standards] (j1l): Likewise.
33299 [non-C99-based standards] (jnl): Likewise.
33300 [non-C99-based standards] (lgammal): Likewise.
33301 [non-C99-based standards] (tgammal): Likewise.
33302 [non-C99-based standards] (y0l): Likewise.
33303 [non-C99-based standards] (y1l): Likewise.
33304 [non-C99-based standards] (ynl): Likewise.
33305 [non-C99-based standards] (isnanl): Likewise.
33306 [non-C99-based standards] (acoshl): Likewise.
33307 [non-C99-based standards] (asinhl): Likewise.
33308 [non-C99-based standards] (atanhl): Likewise.
33309 [non-C99-based standards] (cbrtl): Likewise.
33310 [non-C99-based standards] (expm1l): Likewise.
33311 [non-C99-based standards] (ilogbl): Likewise.
33312 [non-C99-based standards] (log1pl): Likewise.
33313 [non-C99-based standards] (logbl): Likewise.
33314 [non-C99-based standards] (nextafterl): Likewise.
33315 [non-C99-based standards] (remainderl): Likewise.
33316 [non-C99-based standards] (rintl): Likewise.
33317 [non-C99-based standards] (scalbl): Likewise.
33318 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33319 [non-C99-based standards] (FP_*): Do not allow.
33320 [C99-based standards] (FP_*): Change to
33321 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33322 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33324 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33325 (SIG_ERR): Likewise.
33326 [X/Open-based standards] (SIG_HOLD): Likewise.
33327 (SIG_IGN): Likewise.
33328 (SIGABRT): Use macro-int-constant. Specify type. Require
33330 (SIGFPE): Likewise.
33331 (SIGILL): Likewise.
33332 (SIGINT): Likewise.
33333 (SIGSEGV): Likewise.
33334 (SIGTER): Likewise.
33335 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33336 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33337 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33338 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33339 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33340 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33341 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33342 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33343 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33344 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33345 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33346 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33347 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33348 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33349 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33350 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33351 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33352 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33353 [X/Open-based standards] (SIGTRAP): Likewise.
33354 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33355 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33356 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33357 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33358 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33361 2012-05-08 Ian Wienand <ianw@vmware.com>
33364 * time/tzset.c (__tzset_parse_tz): Update default rules for
33365 daylight time changes in the Energy Policy Act of 2005.
33367 2012-05-09 Andreas Jaeger <aj@suse.de>
33370 * elf/ldconfig.c (parse_conf): Change string to make clear that
33371 ldconfig only issued a warning if ld.so.conf does not exist.
33373 2012-05-08 David S. Miller <davem@davemloft.net>
33375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33376 movxtod instead of popping the value on the stack.
33378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33380 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
33382 * config.h.in: Add HAVE_ARM_PCS_VFP.
33384 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
33387 * include/features.h: Warn if user requests __FORTIFY_SOURCE
33388 checking but the checks are disabled for any reason.
33390 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
33392 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33393 and ELF64_R_TYPE with ELFW(R_TYPE).
33395 2012-05-08 Joseph Myers <joseph@codesourcery.com>
33397 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33398 (ulimit): Likewise.
33400 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33401 (settimeofday): Likewise.
33403 2012-05-08 Mike Frysinger <vapier@gentoo.org>
33405 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
33406 a struct th_u2 inside the union, and move tu_block/tu_code into
33407 a new th_u3 union of tu_block/tu_code inside of that. Move
33408 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
33409 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
33410 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33411 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33412 (th_stuff): Change to th_u1.tu_stuff.
33414 (th_msg): Change to th_u1.th_u2.tu_data.
33416 2012-05-07 David S. Miller <davem@davemloft.net>
33418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33421 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33422 (SETUP_PIC_REG): Use it.
33423 (SETUP_PIC_REG_LEAF): Use it.
33425 2012-05-07 Joseph Myers <joseph@codesourcery.com>
33429 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33431 (EXPL_FINITE): Likewise.
33432 (FLDLOG): Likewise.
33433 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33434 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33436 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33438 (EXPL_FINITE): Likewise.
33439 (FLDLOG): Likewise.
33440 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33441 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33443 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
33444 test of -max_value argument for long double.
33445 * sysdeps/i386/fpu/libm-test-ulps: Update.
33446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33448 2012-05-06 David S. Miller <davem@davemloft.net>
33450 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33451 quad soft-float symbols whose references which are compiler
33453 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33455 2012-05-06 Joseph Myers <joseph@codesourcery.com>
33459 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33461 (EXPL_FINITE): Likewise.
33462 (FLDLOG): Likewise.
33465 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33466 Adjust comments for base varying.
33467 (__expl_finite): Change alias to EXPL_FINITE.
33468 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33470 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33471 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33472 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33473 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33474 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33476 (EXPL_FINITE): Likewise.
33477 (FLDLOG): Likewise.
33480 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
33481 Adjust comments for base varying.
33482 (__expl_finite): Change alias to EXPL_FINITE.
33483 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
33485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33488 * math/libm-test.inc (check_float_internal): Correct ulp
33489 calculation for subnormal expected results.
33491 2012-05-06 Andreas Jaeger <aj@suse.de>
33493 * Makeconfig (+math-flags): New, set to -frounding-math.
33494 (+cflags): Add +math-flags so that all of glibc gets compiled with
33497 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33499 2012-05-05 Joseph Myers <joseph@codesourcery.com>
33501 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33507 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33508 (__ieee754_expl): Allow for and saturate large arguments.
33509 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33510 (u_threshold): Likewise.
33511 (__exp): Call __ieee754_exp before checking for overflow and
33513 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33514 (u_threshold): Likewise.
33515 (__expf): Call __ieee754_expf before checking for overflow and
33517 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33518 (u_threshold): Likewise.
33519 (__expl): Call __ieee754_expl before checking for overflow and
33521 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33522 (__ieee754_expl): Allow for and saturate large arguments.
33523 * math/libm-test.inc (exp_test): Add another test. Do not allow
33524 missing overflow exception on overflow.
33525 (expm1_test): Do not allow missing overflow exception on overflow.
33527 * sysdeps/i386/fpu/e_expl.c: Move to ...
33528 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33529 rather than using inline asm.
33530 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33531 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33532 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33534 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33537 (signal): Likewise.
33541 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33543 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33544 sysdeps/unix/common/syscalls.list.
33545 (fchmod): Likewise.
33546 (fchown): Likewise.
33547 (ftruncate): Likewise.
33548 (getrusage): Likewise.
33549 (gettimeofday): Likewise.
33550 (setpgid): Likewise.
33551 (setregid): Likewise.
33552 (setreuid): Likewise.
33553 (sigaction): Likewise.
33554 (truncate): Likewise.
33555 (vhangup): Likewise.
33556 * sysdeps/unix/common/syscalls.list: Remove file.
33557 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33558 * sysdeps/unix/sysv/linux/Implies: Likewise.
33560 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33562 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33564 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33568 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33571 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33574 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33577 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33580 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33583 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33586 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33590 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33594 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33597 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33601 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33605 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33607 * sysdeps/unix/common/bits/dirent.h: Remove file.
33608 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33610 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33611 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33612 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33613 * sysdeps/unix/bsd/isatty.c: Likewise.
33614 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33615 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33616 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33618 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33621 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33622 long double comparison inaccuracies.
33623 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33626 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33628 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33629 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33631 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33634 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33635 nonzero digits before rounding a hex value.
33636 * stdlib/tst-strtod.c (tests): Add another test.
33638 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33640 * sysdeps/s390/fpu/libm-test-ulps: Update.
33642 2012-05-03 Andreas Jaeger <aj@suse.de>
33644 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33645 does not get optimized out.
33646 (malloc_opt_barrier): New.
33648 2012-05-03 Andreas Jaeger <aj@suse.de>
33649 Roland McGrath <roland@hack.frob.com>
33651 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33652 intermediate file deletion.
33653 (generated): Add .symlist files.
33655 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33658 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33659 Redirect under this condition.
33660 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33661 [__USE_GNU] (__dprintf_chk): Not under this condition.
33662 [__USE_GNU] (__vdprintf_chk): Likewise.
33663 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33664 under this condition.
33665 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33666 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33667 [__USE_XOPEN2K8] (vdprintf): Likewise.
33668 [__USE_GNU] (__dprintf_chk): Not under this condition.
33669 [__USE_GNU] (__vdprintf_chk): Likewise.
33670 [__USE_GNU] (dprintf): Likewise.
33671 [__USE_GNU] (vdprintf): Likewise.
33673 2012-05-03 Roland McGrath <roland@hack.frob.com>
33675 * elf/Makefile (common-generated): Set this instead of generated for
33676 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33677 $(all-built-dso)-derived lists.
33679 2012-05-03 Andreas Jaeger <aj@suse.de>
33681 * sysdeps/i386/fpu/libm-test-ulps: Update.
33684 * FAQ.in: Likewise.
33685 * scripts/gen-FAQ.pl: Likewise.
33686 * manual/install.texi (Installation): Point to online location of
33688 * Makefile (files-for-dist): Remove FAQ.
33691 2012-05-02 Allan McRae <allan@archlinux.org>
33693 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33694 (LDFLAGS-reldepmod5.so): Likewise.
33695 (LDFLAGS-reldep6mod1.so): Likewise.
33696 (LDFLAGS-reldep6mod4.so): Likewise.
33697 (LDFLAGS-reldep8mod3.so): Likewise.
33698 (LDFLAGS-unload4mod1.so): Likewise.
33699 (LDFLAGS-unload4mod2.so): Likewise.
33700 (LDFLAGS-tst-initorder): Likewise.
33701 (LDFLAGS-tst-initordera2.so): Likewise.
33702 (LDFLAGS-tst-initordera3.so): Likewise.
33703 (LDFLAGS-tst-initordera4.so): Likewise.
33704 (LDFLAGS-tst-initorderb2.so): Likewise.
33705 (LDFLAGS-noload): Likewise.
33706 (LDFLAGS-next): Likewise.
33707 (LDFLAGS-order2mod1.so): Likewise.
33708 (LDFLAGS-order2mod2.so): Likewise.
33709 (LDFLAGS-tst-initorder2): Likewise.
33710 (LDFLAGS-tst-initorder2a.so): Likewise.
33711 (LDFLAGS-tst-initorder2b.so): Likewise.
33712 (LDFLAGS-tst-initorder2c.so): Likewise.
33713 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33715 2012-05-02 David S. Miller <davem@davemloft.net>
33717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33719 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33722 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33724 2012-05-02 Andreas Jaeger <aj@suse.de>
33726 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33727 since we manipulate rounding mode.
33728 (CPPFLAGS-test-idouble.c): Likewise.
33729 (CPPFLAGS-test-ifloat.c): Likewise.
33730 (CFLAGS-test-ldouble.c): Likewise.
33731 (CFLAGS-test-double.c): Likewise.
33732 (CFLAGS-test-float.c): Likewise.
33733 (CFLAGS-test-misc.c): Likewise.
33734 (CFLAGS-test-test-fenv.c): Likewise.
33736 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33741 comparisons to determine direction to adjust input.
33743 2012-05-01 Roland McGrath <roland@hack.frob.com>
33745 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33746 output to the target.
33748 * scripts/localplt.awk: New file.
33749 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33750 (check-localplt-CFLAGS): Variable removed.
33751 ($(all-built-dso:=.jmprel)): New static pattern rule.
33752 (generated): Add those targets.
33753 (localplt-built-dso): New variable.
33754 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33756 * elf/check-localplt.c: File removed.
33758 * scripts/check-execstack.awk: New file.
33759 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33760 (check-execstack-CFLAGS): Variable removed.
33761 ($(objpfx)check-execstack.h): Target removed.
33762 ($(objpfx)execstack-default): New target.
33763 (generated): Add that instead of check-execstack.h.
33764 ($(all-built-dso:=.phdr)): New static pattern rule.
33765 (generated): Add those targets.
33766 * elf/check-execstack.c: File removed.
33768 * scripts/check-textrel.awk: New file.
33769 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33770 (check-textrel-CFLAGS): Variable removed.
33771 (all-built-dso): Use := to define.o
33772 ($(all-built-dso:=.dyn)): New static pattern rule.
33773 (generated): Add those targets.
33774 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33775 * config.make.in (READELF): New substituted variable.
33776 * elf/check-textrel.c: File removed.
33778 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33780 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33782 * conform/data/ctype.h-data [C99-based standards] (isblank):
33784 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33785 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33787 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33788 Specify type. Require positive value.
33789 (EILSEQ): Likewise.
33790 (ERANGE): Likewise.
33791 [ISO || POSIX] (EILSEQ): Do not expect.
33792 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33793 Specify type. Require positive value.
33794 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33795 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33796 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33797 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33798 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33799 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33800 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33801 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33802 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33803 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33804 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33805 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33806 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33807 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33808 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33809 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33810 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33811 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33812 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33813 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33814 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33815 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33816 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33817 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33818 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33819 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33820 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33821 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33822 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33823 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33824 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33825 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33826 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33827 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33828 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33829 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33830 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33831 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33832 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33833 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33834 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33835 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33836 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33837 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33838 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33839 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33840 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33841 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33842 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33843 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33844 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33845 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33846 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33847 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33848 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33849 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33850 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33851 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33852 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33853 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33854 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33855 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33856 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33857 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33858 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33859 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33860 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33861 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33862 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33863 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33864 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33865 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33866 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33867 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33868 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33869 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33870 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33872 (FLT_ROUNDS): Expect as macro, not constant.
33873 (FLT_MANT_DIG): Use macro-int-constant.
33874 (DBL_MANT_DIG): Likewise.
33875 (LDBL_MANT_DIG): Likewise.
33876 (FLT_DIG): Likewise.
33877 (DBL_DIG): Likewise.
33878 (LDBL_DIG): Likewise.
33879 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33880 (DBL_MIN_EXP): Likewise.
33881 (LDBL_MIN_EXP): Likewise.
33882 (FLT_MAX_EXP): Use macro-int-constant.
33883 (DBL_MAX_EXP): Likewise.
33884 (LDBL_MAX_EXP): Likewise.
33885 (FLT_MAX_10_EXP): Likewise.
33886 (DBL_MAX_10_EXP): Likewise.
33887 (LDBL_MAX_10_EXP): Likewise.
33888 (FLT_MAX): Use macro-constant.
33889 (DBL_MAX): Likewise.
33890 (LDBL_MAX): Likewise.
33891 (FLT_EPSILON): Use macro-constant. Give upper bound.
33892 (DBL_EPSILON): Likewise.
33893 (LDBL_EPSILON): Likewise.
33894 (FLT_MIN): Likewise.
33895 (DBL_MIN): Likewise.
33896 (LDBL_MIN): Likewise.
33897 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33898 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33899 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33900 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33901 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33902 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33903 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33904 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33905 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33906 [ISO11] (FLT_TRUE_MIN): Likewise.
33907 [ISO11] (LDBL_TRUE_MIN): Likewise.
33908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33909 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33910 (SCHAR_MIN): Use macro-int-constant. Specify type.
33911 (SCHAR_MAX): Likewise.
33912 (UCHAR_MAX): Likewise.
33913 (CHAR_MIN): Likewise.
33914 (CHAR_MAX): Likewise.
33915 (MB_LEN_MAX): Use macro-int-constant.
33916 (SHRT_MIN): Use macro-int-constant. Specify type.
33917 (SHRT_MAX): Likewise.
33918 (USHRT_MAX): Likewise.
33919 (INT_MAX): Likewise.
33920 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33922 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33924 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33926 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33927 bound negative. Suffix upper bound with "L".
33928 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33930 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33932 [C99-based standards] (LLONG_MAX): Likewise.
33933 [C99-based standards] (ULLONG_MAX): Likewise.
33934 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33936 [ISO11] (max_align_t): Require type.
33937 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33939 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33940 from $CFLAGS, without defining away __attribute__ calls.
33941 (checknamespace): Use $CFLAGS_namespace.
33943 * conform/conformtest.pl (@keywords): Only include C99 keywords
33944 for standards based on C99 or C11.
33946 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33948 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33951 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33952 usability of symbols in #if.
33954 * conform/conformtest.pl: If macro or constant types start
33955 "promoted:", expect the symbol to be of the following type
33956 promoted by the integer promotions.
33958 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33959 in one place. Also handle "macro-constant".
33961 * conform/conformtest.pl: Only accept expected macro values with
33962 "==". Parse all "macro" lines in one place.
33963 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33965 * conform/conformtest.pl: Handle braced types on "constant" lines
33966 instead of handling "typed-constant".
33967 * conform/data/signal.h-data: Use "constant" instead of
33970 * conform/conformtest.pl: Handle "optional-" at start of lines in
33971 one place rather than duplicating several cases. Handle each
33972 format of "macro" line with initial "optional-".
33974 * conform/conformtest.pl: Only accept expected constant or
33975 optional-constant values with "==". Parse all "constant" lines in
33976 one place. Parse all "optional-constant" lines in one place.
33977 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33978 * conform/data/fmtmsg.h-data: Likewise.
33979 * conform/data/netinet/in.h-data: Likewise.
33980 * conform/data/tar.h-data: Likewise.
33981 * conform/data/limits.h-data: Use "==" form on "constant" and
33982 "optional-constant" lines.
33984 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33985 Use -std=c99 for XOPEN2K.
33986 (@knownproblems): Remove.
33987 (newtoken): Don't check %isknown.
33989 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33990 Do not expect macro.
33991 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33992 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33993 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33994 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33995 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33996 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33997 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33998 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33999 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34000 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34001 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34002 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34003 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34004 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34005 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34006 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34007 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34008 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34009 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34010 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34011 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34012 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34013 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34014 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34015 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34016 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34017 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34018 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34019 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34020 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34021 [XPG3] (acosh): Likewise.
34022 [XPG3] (asinh): Likewise.
34023 [XPG3] (atanh): Likewise.
34024 [XPG3] (cbrt): Likewise.
34025 [XPG3] (expm1): Likewise.
34026 [XPG3] (ilogb): Likewise.
34027 [XPG3] (log1p): Likewise.
34028 [XPG3] (logb): Likewise.
34029 [XPG3] (nextafter): Likewise.
34030 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34031 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34032 [XPG3] (remainder): Likewise.
34033 [XPG3] (rint): Likewise.
34034 [XPG3 || XPG4 || UNIX98] (round): Likewise.
34035 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34036 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34037 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34038 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34039 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34040 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34041 [UNIX98 || XOPEN2K] (scalb): Expect.
34042 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34043 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34044 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34045 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34046 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34047 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34048 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34049 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34050 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34051 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34052 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34053 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34054 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34055 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34056 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34057 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34058 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34059 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34060 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34061 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34062 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34063 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34064 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34065 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34066 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34067 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34068 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34069 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34070 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34071 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34072 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34073 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34074 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34075 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34076 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34077 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34078 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34079 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34080 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34081 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34082 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34083 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34084 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34085 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34086 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34087 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34088 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34089 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34090 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34091 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34092 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34093 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34094 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34095 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34096 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34097 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34098 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34099 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34100 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34101 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34102 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34103 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34104 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34105 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34106 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34107 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34108 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34109 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34110 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34111 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34112 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34113 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34114 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34115 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34116 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34117 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34118 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34119 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34120 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34121 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34122 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34123 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34124 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34125 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34126 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34127 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34128 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34129 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34130 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34131 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34132 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34133 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34134 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34135 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34136 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34137 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34138 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34139 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34140 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34141 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34142 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34143 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34144 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34145 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34146 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34147 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34148 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34149 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34150 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34151 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34152 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34153 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34154 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34155 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34156 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34157 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34158 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34159 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34160 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34161 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34162 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34163 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34164 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34165 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34166 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34167 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34168 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34169 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34170 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34171 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34172 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34173 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34174 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34175 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34176 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34177 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34178 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34180 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34181 _XOPEN_SOURCE_EXTENDED for XPG4.
34183 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34185 * Makeconfig (localtime): Remove variable.
34186 (inst_localtime-file): Likewise.
34188 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34209 2012-05-01 Joseph Myers <joseph@codesourcery.com>
34213 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34214 comparisons to determine direction to adjust input.
34215 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34216 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34217 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34219 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34221 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34223 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34224 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34226 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34228 * math/libm-test.inc (nexttoward_test): Add more tests.
34230 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
34233 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34234 in version GLIBC_2.1, not GLIBC_2.0.
34235 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34238 2012-04-30 Joseph Myers <joseph@codesourcery.com>
34241 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34243 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34244 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34245 * math/libm-test.inc (acos_test): Add more tests.
34246 (asin_test): Likewise.
34247 * sysdeps/i386/fpu/libm-test-ulps: Update.
34248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34251 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34253 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34254 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34255 * math/libm-test.inc (acos_test_tonearest): New function.
34256 (acos_test_towardzero): Likewise.
34257 (acos_test_downward): Likewise.
34258 (acos_test_upward): Likewise.
34259 (asin_test_tonearest): Likewise.
34260 (asin_test_towardzero): Likewise.
34261 (asin_test_downward): Likewise.
34262 (asin_test_upward): Likewise.
34263 (main): Call the new functions.
34264 * sysdeps/i386/fpu/libm-test-ulps: Update.
34265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34269 * math/e_exp10.c: Include <float.h>.
34270 (__ieee754_exp10): Handle underflow here rather than multiplying
34271 large negative argument by M_LN10.
34272 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34274 * math/e_exp10l.c: Include <float.h>.
34275 (__ieee754_exp10l): Handle underflow here rather than multiplying
34276 large negative argument by M_LN10l.
34277 * math/libm-test.inc (exp10_test): Add another test. Do not allow
34278 spurious overflow exception on underflow.
34280 2012-04-29 Marek Polacek <polacek@redhat.com>
34282 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34283 (__fortify_function): New macro.
34284 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34285 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34286 __extern_always_inline.
34287 * libio/bits/stdio2.h: Likewise.
34288 * libio/bits/stdio.h: Likewise.
34289 * string/string.h: Likewise.
34290 * string/bits/string3.h: Likewise.
34291 * include/stdio.h: Likewise.
34292 * stdlib/bits/stdlib.h: Likewise.
34293 * stdlib/stdlib.h: Likewise.
34294 * rt/bits/mqueue2.h: Likewise.
34295 * rt/mqueue.h: Likewise.
34296 * posix/bits/unistd.h: Likewise.
34297 * posix/unistd.h: Likewise.
34298 * io/bits/poll2.h: Likewise.
34299 * io/bits/fcntl2.h: Likewise.
34300 * io/fcntl.h: Likewise.
34301 * io/sys/poll.h: Likewise.
34302 * misc/bits/syslog.h: Likewise.
34303 * misc/bits/syslog-ldbl.h: Likewise.
34304 * misc/sys/syslog.h: Likewise.
34305 * socket/bits/socket2.h: Likewise.
34306 * socket/sys/socket.h: Likewise.
34307 * debug/tst-chk1.c: Likewise.
34308 * wcsmbs/bits/wchar2.h: Likewise.
34309 * wcsmbs/bits/wchar-ldbl.h: Likewise.
34310 * wcsmbs/wchar.h: Likewise.
34312 2012-04-29 Andreas Jaeger <aj@suse.de>
34314 * Makerules (tests): Remove enable-check-abi protection.
34315 (check-abi-warn): Remove.
34316 (check-abi-%): Remove check-abi-warn usage.
34318 * configure.in: Remove check-abi configure option.
34319 * configure: Regenerated.
34320 * config.make.in (enable-check-abi): Remove.
34322 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
34325 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34326 double functions to double *_finite functions.
34329 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34330 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34332 * stdio-common/Makefile (tests): Add tst-sprintf3.
34333 * stdio-common/tst-sprintf3.c: New file.
34335 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34336 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34338 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34340 * conform/conformtest.pl: Remove duplicate typed-constant
34343 2012-04-28 David S. Miller <davem@davemloft.net>
34345 * Makerules (%.abilist): Add vpath on sysdep_dirs.
34346 (check-abi-%): Remove AWK script prerequisite and explicit
34348 (check-abi): Rewrite to just diff the symlist with the abilist.
34349 (config-tls, config-abi-config): Delete, no longer used.
34350 (update-abi-%): Remove AWK script and explicit abilist directory.
34351 (update-abi): Rewrite to simply compare and conditionally copy the
34352 symlist and the sysdep abilist file. Remove update-abi-config
34354 * abilist/ld.abilist: Remove.
34355 * abilist/libBrokenLocale.abilist: Remove.
34356 * abilist/libanl.abilist: Remove.
34357 * abilist/libcrypt.abilist: Remove.
34358 * abilist/libdl.abilist: Remove.
34359 * abilist/librt.abilist: Remove.
34360 * abilist/libthread_db.abilist: Remove.
34361 * abilist/libutil.abilist: Remove.
34362 * scripts/extract-abilist.awk: Remove.
34363 * scripts/merge-abilist.awk: Remove.
34364 * sysdeps/generic/libcidn.abilist: New file.
34365 * sysdeps/generic/libnss_compat.abilist: New file.
34366 * sysdeps/generic/libnss_db.abilist: New file.
34367 * sysdeps/generic/libnss_dns.abilist: New file.
34368 * sysdeps/generic/libnss_files.abilist: New file.
34369 * sysdeps/generic/libnss_hesiod.abilist: New file.
34370 * sysdeps/generic/libnss_nis.abilist: New file.
34371 * sysdeps/generic/libnss_nisplus.abilist: New file.
34372 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34373 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34374 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34377 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34378 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34379 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34380 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34381 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34382 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34383 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34384 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34386 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34387 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34388 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34389 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34391 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34392 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34393 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34394 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34395 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34396 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34398 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34399 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34400 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34402 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34480 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34505 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34506 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34507 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34509 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34510 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34511 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34512 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34513 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34514 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34515 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34516 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34517 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34518 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34570 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34572 * conform/conformtest.pl: Fix typo in handling typed-constant from
34575 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34577 * README: Cut down references to pre-2.6 Linux kernels and
34578 Linuxthreads. Update lists of configurations in libc and ports
34579 and sort alphabetically. Say "or newer" with Linux kernel version
34582 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34584 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34587 * math/libm-test.inc (logb_test_downward): New test to expose
34588 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34591 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34594 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34596 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34597 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34599 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34601 * sysdeps/unix/i386/brk.S: Remove file.
34602 * sysdeps/unix/i386/dl-brk.S: Likewise.
34603 * sysdeps/unix/i386/pipe.S: Likewise.
34604 * sysdeps/unix/i386/sigreturn.S: Likewise.
34605 * sysdeps/unix/i386/syscall.S: Likewise.
34606 * sysdeps/unix/i386/vfork.S: Likewise.
34607 * sysdeps/unix/i386/wait.S: Likewise.
34609 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34610 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34612 * configure.in (arm*-none*): Do not allow without
34613 --enable-hacker-mode.
34614 (netbsd*): Remove case setting base_os.
34615 (386bsd*): Likewise.
34616 (freebsd*): Likewise.
34619 (sunos*): Likewise.
34620 (ultrix*): Likewise.
34621 (newsos*): Likewise.
34622 (dynix*): Likewise.
34628 (minix*): Likewise.
34629 (irix4*): Likewise.
34630 (irix6*): Likewise.
34631 (solaris[2-9]*): Likewise.
34633 * configure: Regenerated.
34635 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34638 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34639 overflow or cancellation in calculating denominator.
34640 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34641 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34642 down expression to avoid unexpected rounding in newer GCCs.
34643 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34645 2012-04-26 David S. Miller <davem@davemloft.net>
34647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34648 long-double compat symbols.
34649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34663 2012-04-25 David S. Miller <davem@davemloft.net>
34665 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34666 HWCAP_* values only after the memory barriers have been defined.
34667 (atomic_full_barrier): Define.
34668 (atomic_read_barrier): Define.
34669 (atomic_write_barrier): Define.
34671 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34673 * shlib-versions: Add libgcc_s version information.
34674 * sysdeps/generic/libgcc_s.h: Remove.
34675 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34677 * sysdeps/gnu/unwind-resume.c: Likewise.
34678 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34680 2012-04-25 David S. Miller <davem@davemloft.net>
34682 * sysdeps/unix/sparc/brk.S: Delete.
34683 * sysdeps/unix/sparc/dl-brk.S: Delete.
34684 * sysdeps/unix/sparc/pipe.S: Delete.
34685 * sysdeps/unix/sparc/sysdep.S: Delete.
34686 * sysdeps/unix/sparc/sysdep.h: Delete.
34687 * sysdeps/unix/sparc/vfork.S: Delete.
34688 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34689 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34690 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34691 (ret_ERRVAL, r0, r1, MOVE): Define.
34692 (JUMPTARGET): Remove.
34693 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34694 sysdeps/unix/sparc/sysdep.h
34695 (ENTRY, END): Remove.
34696 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34698 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34700 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34701 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34704 * timezone/README: Update upstream location and email address for
34706 * timezone/zdump.c: Update from tzcode 2012b.
34707 * timezone/zic.c: Likewise.
34709 * configure.in (libc_cv_as_needed): Remove test.
34710 * configure: Regenerated.
34711 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34712 conditional definition.
34713 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34714 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34715 * config.make.in (have-as-needed): Remove variable.
34717 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34718 Paul Pluzhnikov <ppluzhnikov@google.com>
34720 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34723 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34725 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34726 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34727 * sysdeps/sh/strlen.S: Likewise.
34729 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34731 * sysdeps/unix/fork.S: Remove file.
34732 * sysdeps/unix/i386/fork.S: Likewise.
34733 * sysdeps/unix/sparc/fork.S: Likewise.
34735 * sysdeps/unix/system.c: Remove file.
34736 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34738 * sysdeps/unix/getegid.S: Remove file.
34739 * sysdeps/unix/geteuid.S: Likewise.
34741 2012-04-24 Roland McGrath <roland@hack.frob.com>
34743 * scripts/check-localplt.awk: New file.
34744 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34746 * scripts/data/localplt-generic.data: Add a comment.
34748 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34749 NODE when __dir_mkfile failed.
34750 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34751 Reported by Ludovic Courtès <ludo@gnu.org>.
34753 2012-04-24 Andreas Jaeger <aj@suse.de>
34755 * Makerules (common-clean): Also remove gen-as-const-headers
34758 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34760 * Makerules (native-compile): Do not change working directory for
34761 build. Use $(OUTPUT_OPTION) in command.
34762 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34764 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34767 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34768 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34769 * math/libm-test.inc (floor_test): Add more tests.
34770 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34772 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34774 * sysdeps/unix/getdents.c: Remove file.
34775 * sysdeps/unix/sysv/getdents.c: Likewise.
34776 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34778 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34779 sysdeps/unix/mman/syscalls.list.
34781 (mprotect): Likewise.
34783 (munmap): Likewise.
34784 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34785 * sysdeps/unix/mman/syscalls.list: Remove.
34786 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34788 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34789 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34790 * configure: Regenerated.
34791 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34792 $(libgcc_s_suffix).
34793 * config.make.in (libgcc_s_suffix): Remove variable.
34795 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34797 * sysdeps/unix/sysv/gethostname.c: Move to ...
34798 * sysdeps/posix/gethostname.c: ... here.
34800 * sysdeps/unix/execve.S: Remove file.
34802 * sysdeps/unix/_exit.S: Remove file.
34804 2012-04-23 Andreas Jaeger <aj@suse.de>
34807 * manual/Makefile: Remove make dist support, there's no
34808 need for a stand-alone documentation tar ball.
34809 (TEXI2DVI): Define always, it's not in Makeconfig.
34812 (edition): Removed.
34813 (glibc-doc-$(edition).tar): Removed
34817 (ETAGS): Remove, it's in Makeconfig.
34818 (move-if-change): Remove, it's in Makeconfig.
34820 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34823 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34824 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34825 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34826 (strtod_l, strtof_l, strtold_l): Remove __wur.
34827 It is not necessarily an error to ignore strtol's return value.
34828 One can reliably look at the stored endptr to decide whether
34829 the number had valid syntax.
34831 2012-04-21 Andreas Jaeger <aj@suse.de>
34834 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34836 2012-04-21 Joseph Myers <joseph@codesourcery.com>
34838 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34839 * sysdeps/unix/sysv/Versions: Remove file.
34841 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34846 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
34849 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34850 version from __vm86.
34852 2012-04-20 Joseph Myers <joseph@codesourcery.com>
34854 * sysdeps/unix/common/lxstat.c: Remove file.
34855 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34857 * sysdeps/unix/sysv/Makefile: Remove file.
34859 * sysdeps/unix/sysv/direct.h: Remove file.
34861 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34862 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34863 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34864 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34865 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34866 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34867 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34869 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34871 * sysdeps/unix/xmknod.c: Remove file.
34872 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34874 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34876 * sysdeps/unix/sysv/i386/time.S: Remove file.
34878 * sysdeps/unix/fxstat.c: Remove file.
34879 * sysdeps/unix/xstat.c: Likewise.
34880 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34882 * sysdeps/unix/sysv/sigaction.c: Remove file.
34884 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34885 (sysdep_headers): Remove variable.
34886 [termio.h not in sysdep_headers] (generated): Likewise.
34887 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34888 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34889 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34890 * sysdeps/unix/sysv/tcflow.c: Likewise.
34891 * sysdeps/unix/sysv/tcflush.c: Likewise.
34892 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34893 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34894 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34895 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34896 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34898 * sysdeps/unix/siglist.c: Remove file.
34900 * sysdeps/unix/getppid.S: Remove file.
34902 * sysdeps/unix/mkdir.c: Remove file.
34903 * sysdeps/unix/rmdir.c: Likewise.
34905 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34907 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34909 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34910 errlist-compat value.
34912 2012-04-18 David S. Miller <davem@davemloft.net>
34914 * sysdeps/generic/memcopy.h (reg_char): Delete.
34915 * debug/strcat_chk.c: Use char, not reg_char.
34916 * debug/strcpy_chk.c: Likewise.
34917 * debug/strncat_chk.c: Likewise.
34918 * debug/strncpy_chk.c: Likewise.
34919 * string/memchr.c: Likewise.
34920 * string/memrchr.c: Likewise.
34921 * string/rawmemchr.c: Likewise.
34922 * string/strcat.c: Likewise.
34923 * string/strchr.c: Likewise.
34924 * string/strchrnul.c: Likewise.
34925 * string/strcmp.c: Likewise.
34926 * string/strcpy.c: Likewise.
34927 * string/strncat.c: Likewise.
34928 * string/strncmp.c: Likewise.
34929 * string/strncpy.c: Likewise.
34931 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34933 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34934 __builtin_memcopy is called when src and dest ranges are known to not
34937 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34939 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34940 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34941 fwd_align_merge macro call.
34942 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34943 bwd_align_merge macro call.
34944 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34946 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34948 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34949 bwd_align_merge macros.
34950 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34951 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34952 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34954 2012-04-18 David S. Miller <davem@davemloft.net>
34956 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34958 2012-04-18 Andreas Jaeger <aj@suse.de>
34961 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34962 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34963 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34965 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34966 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34967 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34969 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34970 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34971 Adjust for changed ldbl-128 files.
34973 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34974 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34975 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34977 2012-04-17 David S. Miller <davem@davemloft.net>
34979 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34981 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34983 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34984 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34985 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34986 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34987 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34988 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34990 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34993 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34994 * math/libm-test.inc: Add ilogb errno and exception tests.
34995 * math/w_ilogb.c: New file: ilogb wrapper.
34996 * math/w_ilogbf.c: New file: ilogbf wrapper.
34997 * math/w_ilogbl.c: New file: ilogbl wrapper.
34998 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34999 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35000 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35001 exception being thrown with 0.0 as argument.
35002 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35003 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35004 exception being thrown with 0.0 as argument.
35005 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35006 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35007 exception being thrown with 0.0 as argument.
35008 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35009 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35010 exception being thrown with 0.0 as argument.
35011 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35012 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35013 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35014 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35015 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35016 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35017 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35018 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35019 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35021 2012-04-17 Petr Baudis <pasky@ucw.cz>
35023 * include/sys/uio.h: Change __vector to __iovec to avoid clash
35026 2012-04-16 Marek Polacek <polacek@redhat.com>
35028 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35030 2012-04-16 Marek Polacek <polacek@redhat.com>
35032 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35033 operands of fdivp instruction.
35035 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35037 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35038 * elf/tst-auditmod3b.c: Likewise.
35039 * elf/tst-auditmod4b.c: Likewise.
35040 * elf/tst-auditmod5b.c: Likewise.
35041 * elf/tst-auditmod6b.c: Likewise.
35042 * elf/tst-auditmod6c.c: Likewise.
35043 * elf/tst-auditmod7b.c: Likewise.
35044 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35045 * sysdeps/x86_64/preconfigure.in: Likewise.
35046 * sysdeps/x86_64/preconfigure: Regenerated.
35048 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
35050 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35053 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
35055 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35056 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35058 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
35061 * locale/iso-639.def: Fix gl language name. Spotted by
35064 2012-04-12 Roland McGrath <roland@hack.frob.com>
35067 * libio/libio.h (__io_write_fn): Update comment.
35069 2012-04-12 Petr Baudis <pasky@ucw.cz>
35072 * stdio.texi (Hook Functions): The user provided writer function
35073 is not allowed to return -1.
35075 2012-04-11 David S. Miller <davem@davemloft.net>
35077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35079 2012-04-11 Mike Frysinger <vapier@gentoo.org>
35081 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35082 Add a leading slash to rtkaio.
35084 2012-04-11 Jim Meyering <meyering@redhat.com>
35087 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35088 It is not necessarily an error to ignore fwrite's return
35089 value. One can reliably use ferror to test for errors after
35092 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35094 * bits/types.h (__snseconds_t): New type.
35095 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35097 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35099 (__SNSECONDS_T_TYPE): Likewise.
35100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35101 (__SNSECONDS_T_TYPE): Likewise.
35102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35103 (__SNSECONDS_T_TYPE): Likewise.
35105 2012-04-10 Andreas Jaeger <aj@suse.de>
35108 * manual/time.texi (Processor Time): Return type of times is
35109 elapsed real time since an arbitrary point in the past.
35110 (CPU Time): Move CLK_TCK from here...
35111 (Processor Time): ...to here. Correct description.
35112 * manual/conf.texi (Constants for Sysconf): Correct description of
35115 2012-04-10 David S. Miller <davem@davemloft.net>
35118 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35119 where the is a gap between DT_REL(A) and DT_JMPREL.
35121 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
35123 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35124 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35125 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35127 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35129 * elf/dl-support.c (_dl_inhibit_cache): New variable.
35130 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35131 (dl_main): Handle --inhibit-cache.
35132 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35134 * elf/dl-load.c (_dl_map_object): Use it.
35135 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35137 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35140 * sysdeps/i386/fpu/e_powl.S (p78): New object.
35141 (__ieee754_powl): Saturate large exponents rather than testing for
35142 overflow of y*log2(x).
35143 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35144 * math/libm-test.inc (pow_test): Do not permit spurious overflow
35148 * math/s_ctan.c: Include <float.h>.
35149 (__ctan): Avoid internal overflow or cancellation in calculating
35151 * math/s_ctanf.c: Likewise.
35152 * math/s_ctanl.c: Likewise.
35153 * math/s_ctanh.c: Likewise.
35154 * math/s_ctanhf.c: Likewise.
35155 * math/s_ctanhl.c: Likewise.
35156 * math/libm-test.inc (ctan_test): Add more tests.
35157 (ctanh_test): Likewise.
35158 * sysdeps/i386/fpu/libm-test-ulps: Update.
35159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35161 2012-04-09 Andreas Jaeger <aj@suse.de>
35164 * manual/filesys.texi (Directory Entries): Mention that d_namlen
35165 is an optional BSD extension.
35168 * manual/stdio.texi (Opening Streams): Document additional fopen
35171 2012-04-09 Roland McGrath <roland@hack.frob.com>
35173 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35174 %eax without telling the compiler.
35176 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
35179 * manual/install.texi: Use sourceware.org.
35181 2012-04-09 Joseph Myers <joseph@codesourcery.com>
35184 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35185 (__ieee754_pow): Generate overflow and underflow using huge*huge
35186 and tiny*tiny rather than just returning constant infinity or zero
35187 for large exponents.
35188 * math/libm-test.inc (pow_test): Require overflow exceptions for
35189 applicable cases of large exponents.
35192 * sysdeps/i386/fpu/e_pow.S (p10): New object.
35193 (__ieee754_pow): Use iterative multiplication algorithm only for
35194 integer exponents with absolute value below 1024. Check for odd
35195 integer exponents when using algorithm for real exponents.
35196 * math/libm-test.inc (pow_test): Add more tests.
35197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35199 2012-04-08 Joseph Myers <joseph@codesourcery.com>
35202 * math/libm-test.inc (exp_test): Do not allow overflow exception
35205 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
35208 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35209 instead of __kernel_standard_f.
35211 2012-04-08 Mike Frysinger <vapier@gentoo.org>
35213 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35214 * sysdeps/x86_64/memset_chk.S: Likewise.
35216 2012-04-08 Andreas Jaeger <aj@suse.de>
35219 * manual/startup.texi (Environment Access): Describe return value
35220 for putenv and setenv.
35223 * manual/filesys.texi (Directory Entries): Add description for
35227 * manual/filesys.texi (Directory Entries): Clarify that it's file
35228 system not operating system in the description of DT_UNKNOWN.
35231 * manual/syslog.texi (closelog): Fix reference, it's openlog.
35233 2012-04-08 Stephen Compall <s11@member.fsf.org>
35236 * manual/llio.texi (Opening and Closing Files): Add cross
35237 reference to explain mode argument.
35239 2012-04-07 Mike Frysinger <vapier@gentoo.org>
35241 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35242 * sysdeps/x86_64/memset_chk.S: Likewise.
35244 2012-04-07 David S. Miller <davem@davemloft.net>
35246 * elf/elf.h (R_SPARC_WDISP10): Define.
35247 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35249 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35250 R_SPARC_SIZE64 and R_SPARC_H34.
35252 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
35254 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35255 conditions and remove no longer applicable assertion.
35257 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35259 * bits/byteswap.h: Include <features.h>.
35260 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35261 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35263 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
35265 * bits/byteswap.h (__bswap_16): Removed.
35266 Include <bits/byteswap-16.h> to get __bswap_16.
35267 * sysdeps/i386/bits/byteswap.h: Likewise.
35268 * sysdeps/s390/bits/byteswap.h: Likewise.
35269 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35270 * bits/byteswap-16.h: New file.
35271 * sysdeps/i386/bits/byteswap-16.h: Likewise.
35272 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35273 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35274 * string/Makefile (headers): Add bits/byteswap-16.h.
35276 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
35279 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35281 * nss/Makefile (tests-static, tests): Add tst-nss-static.
35282 * nss/tst-nss-static.c: New.
35284 2012-04-06 Robert Millan <rmh@gnu.org>
35287 * manual/llio.texi (File Position Primitive): lseek
35288 refers to WHENCE when it really means OFFSET.
35290 2012-04-06 Andreas Jaeger <aj@suse.de>
35292 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35293 strncmp declarations.
35295 * abilist/libc.abilist: Add __poll and __ppoll.
35297 2012-04-05 David S. Miller <davem@davemloft.net>
35299 * scripts/check-local-headers.sh: Accept a host triplet in the
35300 path matched by the exclude regexp.
35302 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35304 * sysdeps/powerpc/powerpc32/dl-machine.h
35305 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35306 * sysdeps/s390/s390-32/dl-machine.h
35307 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35308 * sysdeps/sparc/sparc32/dl-machine.h
35309 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35310 * sysdeps/sparc/sparc64/dl-machine.h
35311 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35313 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35315 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35316 undefined symbol errors.
35318 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35321 2012-04-05 Michael Matz <matz@suse.de>
35324 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35326 2012-04-05 Andreas Jaeger <aj@suse.de>
35329 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35332 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35334 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35335 which ROUND is no valid rounding mode.
35337 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35339 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35341 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35343 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35345 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35346 an exception using FPU order intentionally.
35348 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35350 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35351 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35352 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35353 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35355 2012-04-05 Simon Josefsson <simon@josefsson.org>
35358 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35359 EINVAL when BUFLEN is too smal.
35361 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
35364 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35365 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35367 2012-04-03 Andreas Jaeger <aj@suse.de>
35370 * manual/setjmp.texi (System V contexts): Fix sentence.
35373 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35374 New macro for this case.
35375 [!__GNUC__] (__bswap_64): New inline function for this case.
35376 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35377 * bits/byteswap.h: Likewise.
35378 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35379 ull, guard with __GLIBC_HAVE_LONG_LONG.
35381 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35382 __GLIBC_HAVE_LONG_LONG.
35384 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35385 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35387 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35390 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35391 inptr and inend, rather than using last_ch.
35393 2012-04-02 David S. Miller <davem@davemloft.net>
35395 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35396 * stdio-common/printf-parse.h (read_int): Change return type to
35397 'int', return -1 on INT_MAX overflow.
35398 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35399 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
35400 overflows INT_MAX. Check for overflow of in-format-string precision
35401 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
35402 SIZE_MAX not INT_MAX for integer overflow test.
35403 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35404 skip the construct in the format string but do not record anything.
35405 * stdio-common/bug22.c: Adjust to test both width/prevision
35406 INT_MAX overflow as well as total length INT_MAX overflow. Check
35407 explicitly for proper errno values.
35409 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
35411 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35413 * string/test-strcmp.c [! WIDE]: Likewise.
35414 * time/tst-mktime2.c: Likewise for INT_MAX.
35415 * string/test-string.h: #include <sys/param.h> for MIN.
35417 * csu/init-first.c (__libc_init_first): Call __ctype_init.
35418 * sysdeps/i386/init-first.c (init): Likewise.
35419 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35420 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35421 * sysdeps/sh/init-first.c (init): Likewise.
35423 2012-04-01 Ulrich Drepper <drepper@gmail.com>
35425 * po/ru.po: Update from translation team.
35426 * po/vi.po: Likewise.
35428 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35430 * resolv/nss_dns/dns-host.c: Merge copyright years.
35432 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35435 Optimize memcpy with prefetch if
35436 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
35437 src, dst pointers have unequal 16 byte alignments.
35439 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35442 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35443 from a CNAME entry and return the minimum ttl for the query.
35444 (gaih_getanswer_slice): Likewise.
35446 2012-03-30 Jeff Law <law@redhat.com>
35448 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35450 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35451 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35453 * resolv/nss_dns/dns-host.c: Update copyright year.
35455 2012-03-30 Ulrich Drepper <drepper@gmail.com>
35457 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35458 requests to save a system call. Fix check that all bytes are sent.
35460 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35461 comments for sendmmsg.
35463 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35466 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35467 with only 1 character between 0x0041 and 0x01b0.
35468 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35469 * wcsmbs/tst-mbsnrtowcs.c: New file.
35471 2012-03-29 David S. Miller <davem@davemloft.net>
35473 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35474 small copies by hand.
35476 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35479 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35480 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35483 2012-03-28 David S. Miller <davem@davemloft.net>
35485 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35486 that branches into memcpy.
35487 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35488 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35489 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35490 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35493 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35494 implementation too.
35495 * sysdeps/sparc/mempcpy.S: New file.
35497 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35498 the IFUNC routine in the libc case.
35499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35501 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35502 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35503 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35504 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35505 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35506 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35507 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35508 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35510 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35511 loop to 256 bytes instead of 64 bytes and fix test signedness.
35513 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35514 * sysdeps/sparc/sparc32/Makefile: rather than here...
35515 * sysdeps/sparc/sparc64/Makefile: and here.
35517 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35519 * malloc/mallocbug.c: Avoid warnings about unused variables.
35521 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35524 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35525 in the right place. Discard and retry query if response is
35526 larger than input buffer size.
35528 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35533 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35534 x for large integer exponent.
35535 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35536 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35537 sign of result as needed afterwards.
35538 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35539 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35540 result for underflowing pow the same as for overflow.
35541 (__kernel_standard_l): Handle powl overflow and underflow here
35542 rather than calling __kernel_standard.
35543 * math/libm-test.inc (pow_test): Add more tests.
35558 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35559 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35560 (__kernel_standard_l): New function.
35561 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35563 * math/w_acosl.c (__acosl): Likewise.
35564 * math/w_asinl.c (__asinl): Likewise.
35565 * math/w_atan2l.c (__atan2l): Likewise.
35566 * math/w_atanhl.c (__atanhl): Likewise.
35567 * math/w_coshl.c (__coshl): Likewise.
35568 * math/w_exp10l.c (__exp10l): Likewise.
35569 * math/w_exp2l.c (__exp2l): Likewise.
35570 * math/w_fmodl.c (__fmodl): Likewise.
35571 * math/w_hypotl.c (__hypotl): Likewise.
35572 * math/w_j0l.c (__j0l, __y0l): Likewise.
35573 * math/w_j1l.c (__j1l, __y1l): Likewise.
35574 * math/w_jnl.c (__jnl, __ynl): Likewise.
35575 * math/w_lgammal.c (__lgammal): Likewise.
35576 * math/w_log10l.c (__log10l): Likewise.
35577 * math/w_log2l.c (__log2l): Likewise.
35578 * math/w_logl.c (__logl): Likewise.
35579 * math/w_powl.c (__powl): Likewise.
35580 * math/w_remainderl.c (__remainderl): Likewise.
35581 * math/w_scalbl.c (sysv_scalbl): Likewise.
35582 * math/w_sinhl.c (__sinhl): Likewise.
35583 * math/w_sqrtl.c (__sqrtl): Likewise.
35584 * math/w_tgammal.c (__tgammal): Likewise.
35585 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35586 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35587 * math/libm-test.inc (acos_test): Add more tests.
35588 (acosh_test): Likewise.
35589 (asin_test): Likewise.
35590 (atanh_test): Likewise.
35591 (exp_test): Likewise.
35592 (exp10_test): Likewise.
35593 (exp2_test): Likewise.
35594 (expm1_test): Likewise.
35595 (lgamma_test): Likewise.
35596 (log_test): Likewise.
35597 (log10_test): Likewise.
35598 (log1p_test): Likewise.
35599 (log2_test): Likewise.
35600 (pow_test): Do not allow some spurious overflow exceptions.
35601 (sqrt_test): Add more tests.
35602 (tgamma_test): Likewise.
35603 (y0_test): Likewise.
35604 (y1_test): Likewise.
35605 (yn_test): Likewise.
35607 2012-03-27 Anton Blanchard <anton@samba.org>
35609 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35611 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35612 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35613 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35615 2012-03-27 David S. Miller <davem@davemloft.net>
35617 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35619 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35620 have-as-vis3 check.
35622 2012-03-27 Andreas Jaeger <aj@suse.de>
35624 * sysdeps/x86_64/elf/configure.in: Moved to ...
35625 * sysdeps/x86_64/configure.in: ... here.
35626 * sysdeps/x86_64/elf/start.S: Moved to ...
35627 * sysdeps/x86_64/start.S: ... here.
35628 * sysdeps/x86_64/elf/configure: Delete.
35630 * sysdeps/x86_64/configure.in: Merge contents from
35631 sysdeps/i386/configure.in (without i686 check).
35633 * sysdeps/i386/elf/Versions: Merge into ...
35634 * sysdeps/i386/Versions: ... this.
35635 * sysdeps/i386/elf/Versions: Delete file.
35636 * sysdeps/i386/elf/start.S: Moved to ...
35637 * sysdeps/i386/start.S: ...here.
35638 * sysdeps/i386/elf/configure.in: Merge into...
35639 * sysdeps/i386/configure.in: ...here.
35640 * sysdeps/i386/elf/configure.in: Delete file.
35641 * sysdeps/i386/elf/configure: Delete file.
35643 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35644 * debug/backtracesyms.c: ... here.
35645 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35646 * debug/backtracesymsfd.c: ... here.
35647 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35648 * sysdeps/generic/ifunc-sel.h: ... here.
35650 * sysdeps/unix/i386/start.c: Delete file.
35651 * sysdeps/unix/sparc/start.c: Delete file.
35652 * sysdeps/unix/start.c: Delete file.
35654 * sysdeps/sh/elf/configure.in: Moved to ...
35655 * sysdeps/sh/configure.in: ... here.
35656 * sysdeps/sh/elf/start.S: Moved to ...
35657 * sysdeps/sh/start.S: ... here.
35658 * sysdeps/sh/elf/configure: Delete file.
35660 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35661 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35662 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35663 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35664 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35665 * sysdeps/powerpc/powerpc64/start.S: here.
35666 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35667 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35668 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35669 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35670 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35672 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35673 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35674 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35675 * sysdeps/powerpc/powerpc32/start.S: ... here.
35676 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35677 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35678 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35680 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35681 * sysdeps/powerpc/ifunc-sel.h: ... here.
35682 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35683 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35685 * sysdeps/sparc/elf/configure.in: Moved to ...
35686 * sysdeps/sparc/configure.in: ... here.
35687 * sysdeps/sparc/elf/configure: Delete file.
35688 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35689 * sysdeps/sparc/sparc32/start.S: ... here.
35690 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35691 * sysdeps/sparc/sparc64/start.S: ... here.
35692 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35693 * sysdeps/sparc/sparc32/Makefile: ... this.
35694 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35695 * sysdeps/sparc/sparc64/Makefile: ... this.
35697 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35698 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35699 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35700 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35701 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35702 * sysdeps/s390/s390-32/setjmp.S: ... here.
35703 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35704 * sysdeps/s390/s390-32/configure.in: ... here.
35705 * sysdeps/s390/s390-32/elf/configure: Delete file.
35706 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35707 * sysdeps/s390/s390-32/start.S: ... here.
35709 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35710 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35711 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35712 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35713 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35714 * sysdeps/s390/s390-64/setjmp.S: ... here.
35715 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35716 * sysdeps/s390/s390-64/configure.in: ... here
35717 * sysdeps/s390/s390-64/elf/configure: Delete file.
35718 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35719 * sysdeps/s390/s390-64/start.S: ... here.
35720 * sysdeps/s390/s390-64/elf/configure: Delete.
35722 * configure.in: Remove support for elf directories in sysdeps.
35724 * configure: Regenerated.
35725 * sysdeps/i386/configure: Regenerated.
35726 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35727 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35728 * sysdeps/s390/s390-32/configure: Regenerated.
35729 * sysdeps/s390/s390-64/configure: Regenerated.
35730 * sysdeps/sh/configure: Regenerated.
35731 * sysdeps/sparc/configure: Regenerated.
35732 * sysdeps/x86_64/configure: Regenerated.
35734 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35738 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35739 denormal result into account.
35741 2012-03-25 Roland McGrath <roland@hack.frob.com>
35743 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35744 Reported by Allan McRae <allan@archlinux.org>.
35746 2012-03-23 Jeff Law <law@redhat.com>
35748 * nss/getnssent.c (__nss_getent): Fix typo.
35750 2012-03-23 David S. Miller <davem@davemloft.net>
35752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35754 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35756 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35757 to pad to uint64_t for each field.
35758 (dl_tls_index): Replace unsigned long with uint64_t.
35760 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35761 Paul Pluzhnikov <ppluzhnikov@google.com>
35764 * grp/Makefile (otherlibs): Don't set it.
35765 * inet/Makefile (otherlibs): Likewise.
35766 * login/Makefile (otherlibs): Likewise.
35767 * nscd/Makefile (otherlibs): Likewise.
35768 * posix/Makefile (otherlibs): Likewise.
35769 * pwd/Makefile (otherlibs): Likewise.
35770 * rt/Makefile (otherlibs): Likewise.
35771 * sunrpc/Makefile (otherlibs): Likewise.
35772 * nss/Makefile (otherlibs): Likewise.
35773 Add libnss_files to routines and static-only-routines.
35774 ($(objpfx)getent): Remove rule.
35775 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35776 static-only-routines.
35778 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35781 * math/s_cexp.c: Include <float.h>.
35782 (__cexp): Handle exp result overflowing not necessarily
35783 overflowing both real and imaginary parts of result.
35784 * math/s_cexpf.c: Likewise.
35785 * math/s_cexpl.c: Likewise.
35786 * math/libm-test.inc (cexp_test): Add more tests.
35787 * sysdeps/i386/fpu/libm-test-ulps: Update.
35788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35790 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35792 * include/link.h (ELFW): New macro.
35793 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35794 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35796 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35798 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35801 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35803 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35805 (struct La_x32_retval): Likewise.
35807 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35809 * sysdeps/x86_64/preconfigure.in: New file.
35810 * sysdeps/x86_64/preconfigure: New generated file.
35812 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35815 * math/e_exp2l.c: Include <float.h>.
35816 (__ieee754_exp2l): Handle overflow and underflow cases
35817 separately. Only pass fractional part of argument to
35819 * math/libm-test.inc (exp2_test): Add more tests.
35821 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35822 negating x to take absolute value.
35823 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35825 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35826 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35828 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35829 computing low part if x was negated.
35830 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35832 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35834 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35835 la_x32_gnu_pltexit.
35836 (pltexit): Cast int_retval to ptrdiff_t.
35837 * elf/tst-auditmod3b.c: Likewise.
35838 * elf/tst-auditmod4b.c: Likewise.
35839 * elf/tst-auditmod5b.c: Likewise.
35840 * elf/tst-auditmod6b.c: Likewise.
35841 * elf/tst-auditmod6c.c: Likewise.
35842 * elf/tst-auditmod7b.c: Likewise.
35844 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35845 and x32_gnu_pltexit.
35847 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35848 __ELF_NATIVE_CLASS.
35849 (La_x32_regs): New macro.
35850 (La_x32_retval): Likewise.
35851 (la_x32_gnu_pltenter): New function prototype.
35852 (la_x32_gnu_pltexit): Likewise.
35854 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35861 * configure.in (libc_cv_cc_nofma): Check for option to disable
35862 generation of FMA instructions.
35863 * configure: Regenerate.
35864 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35865 * sysdeps/ieee754/dbl-64/Makefile: New file.
35866 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35867 Remove brandred-fma4.
35868 (CFLAGS-brandred-fma4.c): Remove.
35869 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35870 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35872 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35875 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35877 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35878 LLONG_MAX != LONG_MAX.
35879 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35880 (_fitoa_word): Likewise.
35881 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35882 LLONG_MAX != LONG_MAX.
35883 * stdio-common/_itowa.h: Include <_itoa.h>.
35884 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35885 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35886 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35887 only if not defined.
35888 (_ITOA_WORD_TYPE): Likewise.
35889 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35890 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35892 2012-03-21 David S. Miller <davem@davemloft.net>
35894 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35896 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35898 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35899 of x86_64 when setting libc_cv_slibdir, libdir and
35901 * sysdeps/unix/sysv/linux/configure: Regenerated.
35903 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35905 * manual/lang.texi (Old Varargs): Remove section.
35906 (How Variadic): Update menu.
35907 (va_start): Do not mention varargs.h.
35909 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35910 Joseph Myers <joseph@codesourcery.com>
35912 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35914 * configure: Regenerated.
35916 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35918 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35919 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35922 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35925 * Makefile (files-for-dist): Remove NOTES.
35926 (NOTES): Remove rule.
35927 * README: Don't refer to NOTES.
35928 * manual/creature.texi: Don't include macros.texi.
35929 * manual/intro.texi (creature.texi): Remove comment referring to
35932 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35933 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35934 * configure: Regenerated.
35935 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35936 LIBC_TRY_CC_OPTION.
35937 (libc_cv_as_i686): Likewise.
35938 (libc_cv_cc_avx): Likewise.
35939 (libc_cv_cc_sse2avx): Likewise.
35940 (libc_cv_cc_fma4): Likewise.
35941 (libc_cv_cc_novzeroupper): Likewise.
35942 * sysdeps/i386/configure: Regenerated.
35945 * sysdeps/i386/fpu/s_cexp.S: Remove.
35946 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35947 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35948 * math/libm-test.inc (cexp_test): Add more tests.
35949 * sysdeps/i386/fpu/libm-test-ulps: Update.
35950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35952 2012-03-21 Allan McRae <allan@archlinux.org>
35954 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35956 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35959 * math/w_exp2.c: Do not include <float.h>.
35960 (o_threshold, u_threshold): Remove.
35961 (__exp2): Calculate result before checking finiteness and calling
35963 * math/w_exp2f.c: Likewise.
35964 * math/w_exp2l.c: Likewise.
35965 * math/libm-test.inc (exp2_test): Require overflow exception for
35969 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35970 range of signed 64-bit integers before using fistpll. Remove
35971 checks for whether integers fit in mantissa bits.
35972 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35973 the range of signed 32-bit integers before using fistpl. Remove
35974 checks for whether integers fit in mantissa bits.
35975 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35976 (__ieee754_powl): Test for y outside the range of signed 64-bit
35977 integers before using fistpll. Reduce 64-bit values to 63-bit
35979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35980 divide-by-zero is raised for zero to large negative powers.
35981 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35982 (__ieee754_powl): Test for y outside the range of signed 64-bit
35983 integers before using fistpll. Reduce 64-bit values to 63-bit
35985 * math/libm-test.inc (pow_test): Add more tests.
35987 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35989 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35990 <stdio-common/_itoa.h>.
35991 * debug/segfault.c: Likewise.
35992 * elf/dl-cache.c: Likewise.
35993 * elf/dl-minimal.c: Likewise.
35994 * elf/dl-misc.c: Likewise.
35995 * elf/dl-sysdep.c: Likewise.
35996 * elf/dl-version.c: Likewise.
35997 * elf/rtld.c: Likewise.
35998 * hurd/hurdsock.c: Likewise.
35999 * hurd/lookup-retry.c: Likewise.
36000 * malloc/malloc.c: Likewise.
36001 * malloc/mtrace.c: Likewise.
36002 * nscd/nscd_getgr_r.c: Likewise.
36003 * nscd/nscd_getpw_r.c: Likewise.
36004 * nscd/nscd_getserv_r.c: Likewise.
36005 * posix/getopt_init.c: Likewise.
36006 * posix/wordexp.c: Likewise.
36007 * stdio-common/_itoa.c: Likewise.
36008 * stdio-common/printf_fphex.c: Likewise.
36009 * stdio-common/vfprintf.c: Likewise.
36010 * string/_strerror.c: Likewise.
36011 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36012 * sysdeps/i386/i686/hp-timing.h: Likewise.
36013 * sysdeps/mach/_strerror.c: Likewise.
36014 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36015 * sysdeps/mach/hurd/sethostid.c: Likewise.
36016 * sysdeps/mach/hurd/xmknodat.c: Likewise.
36017 * sysdeps/mach/xpg-strerror.c: Likewise.
36018 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36019 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36020 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36021 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36022 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36023 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36024 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36025 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36026 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36027 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36028 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36029 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36030 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36031 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36032 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36033 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36034 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36035 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36036 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36037 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36038 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36040 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36042 * stdio-common/_itoa.h: Moved to ...
36043 * sysdeps/generic/_itoa.h: Here.
36045 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36047 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36048 instead of "_itoa.h" and "_itowa.h".
36049 * stdio-common/vfprintf.: Likewise.
36051 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36053 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36055 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36056 (__signbit): Likwise.
36057 (llrintf): Likwise.
36060 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
36062 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36065 2012-03-20 Joseph Myers <joseph@codesourcery.com>
36067 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36068 OVERFLOW_EXCEPTION_OK.
36069 * math/libm-test.inc ("Philosophy"): Update comment about
36071 (OVERFLOW_EXCEPTION): Define.
36072 (OVERFLOW_EXCEPTION_OK): Likewise.
36073 (INVALID_EXCEPTION_OK): Renumber.
36074 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36075 (IGNORE_ZERO_INF_SIGN): Likewise.
36076 (test_exceptions): Handle FE_OVERFLOW.
36077 (exp10_test): Expect overflow exceptions.
36078 (exp2_test): Likewise.
36079 (expm1_test): Likewise.
36080 (nextafter_test): Likewise.
36081 (pow_test): Likewise.
36082 (scalbn_test): Likewise.
36083 (scalbln_test): Likewise.
36085 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36087 * sysdeps/x86_64/bits/atomic.h
36088 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36090 (atomic_exchange_acq): Likewise.
36091 (__arch_exchange_and_add_body): Likewise.
36092 (__arch_add_body): Likewise.
36093 (atomic_add_negative): Likewise.
36094 (atomic_add_zero): Likewise.
36096 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36098 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36099 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36101 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36103 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36104 Check __x86_64__ instead of __WORDSIZE.
36106 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36108 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36110 2012-03-19 David S. Miller <davem@davemloft.net>
36112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36114 * sysdeps/sparc/fpu/fenv_private.h: New file.
36115 * sysdeps/sparc/fpu/math_private.h: Use it.
36116 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36118 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36119 (libc_feholdexcept_setroundl): Remove.
36120 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36122 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36123 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36125 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36127 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36128 int64_t instead of long int.
36129 (INSERT_WORDS64): Likwise.
36131 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
36133 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36134 _Unwind_GetCFA return to _Unwind_Ptr first.
36136 2012-03-19 Joseph Myers <joseph@codesourcery.com>
36139 * math/s_clog.c: Include <float.h>.
36140 (__clog): Scale large or subnormal inputs.
36141 * math/s_clogf.c: Likewise.
36142 * math/s_clogl.c: Likewise.
36143 * math/s_clog10.c: Include <float.h>.
36144 (M_LOG10_2): Define.
36145 (__clog10): Scale large or subnormal inputs.
36146 * math/s_clog10f.c: Likewise.
36147 * math/s_clog10l.c: Likewise.
36148 * math/libm-test.inc (clog_test): Add more tests.
36149 (clog10_test): Likewise.
36150 * sysdeps/i386/fpu/libm-test-ulps: Update.
36151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36154 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36156 * math/libm-test.inc (atan2_test): Add another test.
36158 * Makerules (common-objdir-compile): Remove.
36159 * sysdeps/unix/Makefile (config-generated): Do not add
36160 $(unix-generated) to variable.
36161 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36162 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36164 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36166 [generic bits/local_lim.h] (before-compile): Do not append to
36168 [generic bits/local_lim.h] (common-generated): Likewise.
36169 [generic sys/param.h] (before-compile): Do not append to variable.
36170 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36171 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36172 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36173 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36175 [generic sys/param.h] (sys/param.h-includes): Remove variable.
36176 [generic sys/param.h] (sys/param.h-includes): Remove rule.
36177 [generic sys/param.h] ($(addprefix
36178 $(common-objpfx),$(sys/param.h-includes))): Likewise.
36179 [generic sys/param.h] (common-generated): Do not append to
36181 [generic sys/param.h] (sysdep_headers): Likewise.
36182 [generic bits/errno.h] (before-compile): Do not append to
36184 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36186 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36187 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36188 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36189 [generic bits/errno.h] (common-generated): Do not append to
36191 [generic bits/ioctls.h] (before-compile): Do not append to
36193 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36195 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36196 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36197 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36199 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36200 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36201 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36202 [generic bits/ioctls.h] (common-generated): Do not append to
36204 [generic sys/syscall.h] (syscall.h): Remove variable.
36205 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36207 [generic sys/syscall.h] (before-compile): Do not append to
36209 [generic sys/syscall.h] (common-generated): Likewise.
36210 * sysdeps/unix/errnos-tmpl.c: Remove file.
36211 * sysdeps/unix/errnos.awk: Likewise.
36212 * sysdeps/unix/ioctls-tmpl.c: Likewise.
36213 * sysdeps/unix/ioctls.awk: Likewise.
36214 * sysdeps/unix/mk-local_lim.c: Likewise.
36215 * sysdeps/unix/snarf-ioctls: Likewise.
36217 2012-03-19 Richard Henderson <rth@twiddle.net>
36219 * sysdeps/i386/fpu/fenv_private.h: New file.
36220 * sysdeps/i386/fpu/math_private.h: Use it.
36221 (math_opt_barrier, math_force_eval): Remove.
36222 (libc_feholdexcept_setround_53bit): Remove.
36223 (libc_feupdateenv_53bit): Remove.
36224 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36225 (math_opt_barrier, math_force_eval): Remove.
36226 (libc_feholdexcept): Remove.
36227 (libc_feholdexcept_setround): Remove.
36228 (libc_fetestexcept, libc_fesetenv): Remove.
36229 (libc_feupdateenv_test): Remove.
36230 (libc_feupdateenv, libc_feholdsetround): Remove.
36231 (libc_feresetround): Remove.
36233 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36234 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36236 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36237 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36238 (libc_feupdateenv_testl): New.
36239 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36240 (libc_feupdateenv_testf): New.
36241 (libc_feupdateenv): Use libc_feupdateenv_test.
36242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36243 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36245 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36246 (libc_feholdsetroundf, libc_feholdsetroundl): New.
36247 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36248 (libc_feresetround_noex): New.
36249 (libc_feresetround_noexf): New.
36250 (libc_feresetround_noexl): New.
36251 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36252 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36253 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36254 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36256 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36257 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36259 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36260 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36261 SET_RESTORE_ROUND_NOEX.
36262 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36263 SET_RESTORE_ROUND_NOEXF.
36264 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36265 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36266 (libc_feholdsetroundf): New.
36267 (libc_feresetround, libc_feresetroundf): New.
36269 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36270 (libc_feholdexcept_setround_53bit): Convert from macro to function.
36271 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
36273 * sysdeps/generic/math_private.h: Include <fenv.h>.
36274 (default_libc_feholdexcept): New.
36275 (default_libc_feholdexcept_setround): New.
36276 (default_libc_fesetenv, default_libc_feupdateenv): New.
36277 (libc_feholdexcept): Only define if undefined.
36278 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36279 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36280 (libc_feholdexcept_setroundl): Likewise.
36281 (libc_feholdexcept_setround_53bit): Likewise.
36282 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36283 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36284 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36285 (libc_feupdateenv_53bit): Likewise.
36286 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36287 (libc_feholdexcept): Convert from macro to inline function.
36288 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36289 (libc_fesetenv, libc_feupdateenv): Likewise.
36291 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36292 not previously defined.
36293 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36294 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36295 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36296 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36297 * sysdeps/ieee754/flt-32/math_private.h: New file.
36298 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36299 math_private.h below SET_FLOAT_WORD.
36300 (__isnan, __isinf_ns, __finite): Remove.
36301 (__isnanf, __isinf_nsf, __finitef): Remove.
36303 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
36305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36307 2012-03-17 David S. Miller <davem@davemloft.net>
36310 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36313 2012-03-16 David S. Miller <davem@davemloft.net>
36315 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36319 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36321 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36322 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36323 sysdep_routines when subdir is sysvipc.
36324 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36325 __getshmlba helper.
36327 * sysdeps/sparc/fpu/libm-test/ulps: Update.
36329 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36331 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36334 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36336 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36337 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36338 (__lround): Renamed to ...
36339 (__llround): This. Replace long int with long long int.
36340 Define lround functions as aliases of llround functions.
36341 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36343 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36345 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36346 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
36347 adresses to uintptr_t. Replace "long int" and "unsigned long
36348 int" with "greg_t" on va_arg.
36350 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36352 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36353 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36355 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36356 Move e_machine check before EI_CLASS check. Handle x32
36357 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36358 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36359 SKIP_EM_IA_64 and include
36360 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36362 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36363 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36364 (add_system_dir): New macro.
36366 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36367 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36369 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36380 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36382 * math/w_j0f.c (j0f): Likewise.
36384 * math/w_j0l.c (__j0l): Likewise.
36386 * math/w_j1.c (j1): Likewise.
36388 * math/w_j1f.c (j1f): Likewise.
36390 * math/w_j1l.c (__j1l): Likewise.
36392 * math/w_jn.c (jn): Likewise.
36394 * math/w_jnf.c (jnf): Likewise.
36396 * math/w_jnl.c (__jnl): Likewise.
36398 * math/libm-test.inc (j0_test): Add more tests.
36399 (j1_test): Likewise.
36400 (jn_test): Likewise. Add trailing semicolon to existing test.
36401 (y0_test): Likewise.
36402 (y1_test): Likewise.
36403 * sysdeps/i386/fpu/libm-test-ulps: Update.
36404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36408 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36409 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36410 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36411 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36412 (__tanl): Set errno for infinite argument.
36413 * sysdeps/i386/fpu/mptan.c: Remove.
36414 * sysdeps/i386/fpu/s_tan.S: Likewise.
36415 * sysdeps/i386/fpu/s_tanl.S: Likewise.
36416 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36417 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36418 * math/libm-test.inc (tan_test): Add more tests and enable more
36419 tests for double and long double.
36420 * sysdeps/i386/fpu/libm-test-ulps: Update.
36421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36423 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
36425 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36426 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36428 2012-03-16 Roland McGrath <roland@hack.frob.com>
36430 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36431 * configure.in: Use it for both main tree and add-ons.
36432 * configure: Regenerated.
36434 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
36436 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36438 2012-03-16 Joseph Myers <joseph@codesourcery.com>
36440 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36444 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36445 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36446 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36447 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36448 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36450 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36451 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36452 != 0 for prec == 2.
36453 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36454 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36455 * sysdeps/i386/fpu/s_cosl.S: Likewise.
36456 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36457 * sysdeps/i386/fpu/s_sinl.S: Likewise.
36458 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36459 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36460 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36461 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36462 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36463 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36464 * math/libm-test.inc (cos_test): Add more tests and enable more
36465 tests for long double.
36466 (sin_test): Likewise.
36467 (sincos_test): Likewise.
36468 * sysdeps/i386/fpu/libm-test-ulps: Update.
36469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36471 2012-03-16 David S. Miller <davem@davemloft.net>
36473 * sysdeps/sparc/fpu/math_private.h: New file.
36475 2012-03-15 David S. Miller <davem@davemloft.net>
36477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36487 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36491 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36492 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36494 * sysdeps/sparc/sparc-ifunc.h: New file.
36495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36521 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36522 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36523 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36524 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36525 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36529 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36530 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36531 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36533 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36534 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36535 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36536 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36537 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36538 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36540 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36542 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36546 2012-03-15 Andreas Jaeger <aj@suse.de>
36549 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36550 ieee754/flt-32 implementation for sin, cos and sincos.
36551 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36552 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36553 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36554 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36555 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36556 ieee754/flt-32 implementation for tan.
36558 * math/libm-test.inc (cos_test): Enable some large input tests for
36560 (sin_test): Likewise.
36561 (sincos_test): Likewise.
36562 (tan_test): Add tests for large input.
36564 * sysdeps/i386/fpu/libm-test-ulps: Update.
36566 2012-03-15 Andreas Jaeger <aj@suse.de>
36569 * math/libm-test.inc (cos_test): Add more test cases.
36570 (sin_test): Likewise.
36571 (sincos_test): Likewise.
36573 2012-03-15 Andreas Jaeger <aj@suse.de>
36576 * math/libm-test.inc (cos_test): Add a test case for large input
36578 (sin_test): Likewise.
36579 (sincos_test): Likewise.
36581 2012-03-15 Andreas Jaeger <aj@suse.de>
36582 Joseph Myers <joseph@codesourcery.com>
36585 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36586 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36587 * sysdeps/i386/fpu/branred.c: Likewise.
36588 * sysdeps/i386/fpu/dosincos.c: Likewise.
36589 * sysdeps/i386/fpu/mpa.c: Likewise.
36590 * sysdeps/i386/fpu/s_cos.S: Likewise.
36591 * sysdeps/i386/fpu/s_sin.S: Likewise.
36592 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36593 * sysdeps/i386/fpu/sincos32.c: Likewise.
36595 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36597 (libc_feupdateenv_53bit): Define.
36598 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36600 (libc_feupdateenv_53bit): Define.
36602 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36603 53 bit (without extend i386 double precision).
36605 * math/libm-test.inc (sincos_test): Add tests for large input.
36609 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36611 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36615 2012-03-15 David S. Miller <davem@davemloft.net>
36617 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36618 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36619 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36620 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36644 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36645 fmin/fmax sysdep routines.
36646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36648 2012-03-14 David S. Miller <davem@davemloft.net>
36650 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36651 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36654 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36655 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36656 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36657 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36658 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36659 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36660 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36664 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36670 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36671 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36672 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36673 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36674 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36675 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36676 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36677 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36678 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36722 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36727 * sysdeps/sparc/configure.in: New file.
36728 * sysdeps/sparc/configure: Generate.
36729 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36730 * configure: Regenerate.
36731 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36732 * config.make.in (have-as-vis3): New.
36733 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36734 available use -Av9d instead of -Av9a.
36735 * sysdeps/sparc/sparc64/Makefile: Likewise.
36736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36745 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36746 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36747 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36748 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36749 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36751 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36752 fzeros/fnegs to load 0x80000000 into a float register instead of
36754 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36756 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36760 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36761 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36762 ($(inst_includedir)/bits/syscall.h): Remove rule.
36763 ($(objpfx)bits/syscall.d): Include instead of
36764 $(objpfx)syscall-list.d.
36765 (generated): Change syscall-list.h and syscall-list.d to
36766 bits/syscall.h and bits/syscall.d.
36768 2012-03-14 Roland McGrath <roland@hack.frob.com>
36771 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36773 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36776 * math/s_csqrt.c: Include <float.h>.
36777 (__csqrt): Scale large or subnormal inputs.
36778 * math/s_csqrtf.c: Likewise.
36779 * math/s_csqrtl.c: Likewise.
36780 * math/libm-test.inc (csqrt_test): Add more tests.
36781 * sysdeps/i386/fpu/libm-test-ulps: Update.
36782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36785 * math/libm-test.inc (hypot_test): Add more tests.
36787 2012-03-13 David S. Miller <davem@davemloft.net>
36790 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36791 double-precision for the calculation instead of scaling.
36793 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36795 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36796 manipulate bits before adding and subtracting TWO52[sx].
36797 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36798 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36800 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36802 2012-03-13 David S. Miller <davem@davemloft.net>
36804 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36805 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36806 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36807 rtld-global-offsets.h
36808 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36810 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36813 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36815 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36816 'err' in the ifdef scope in which it is actually used.
36818 * nss/nss_db/db-init.c: Include string.h
36820 2012-03-12 David S. Miller <davem@davemloft.net>
36822 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36823 masking out of the most significant byte of random value used.
36824 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36825 Fix coding style in previous change.
36827 * sysdeps/unix/sysv/linux/kernel-features.h
36828 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36829 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36831 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36834 2012-03-11 David S. Miller <davem@davemloft.net>
36836 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36837 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36838 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36839 for 'resultvar' otherwise things get truncated on 64-bit.
36841 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36842 Fix masking out of the most significant byte of random value used.
36844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36846 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36850 2012-03-09 David S. Miller <davem@davemloft.net>
36852 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36853 variables with appropriate CPP guards.
36854 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36855 from the frame pointer, not the stack pointer. Correct layout
36856 comments. Fix test on resulting framesize and the management of
36857 the outregs buffer for pltexit. Preserve floating point return
36858 values across _dl_call_pltexit call.
36859 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36860 framesize and the management of the outregs buffer for pltexit.
36861 Preserve floating point return values across _dl_call_pltexit
36863 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36864 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36865 (la_sparc64_gnu_pltexit): New functions.
36866 (print_exit): Fix format string for return register value.
36868 2012-03-10 Joseph Myers <joseph@codesourcery.com>
36870 * sunrpc/Makefile (others): Add rpcgen.
36871 ($(objpfx)rpcgen): Remove special build rule and dependency on
36873 * sunrpc/rpcgen.c: New file.
36875 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36878 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36879 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36880 * sysdeps/i386/crti.S: Likewise.
36881 * sysdeps/i386/crtn.S: Likewise.
36882 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36883 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36884 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36885 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36886 * sysdeps/sh/crti.S: Likewise.
36887 * sysdeps/sh/crtn.S: Likewise.
36888 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36891 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36893 * locale/programs/locfile-kw.gperf: Likewise.
36894 * locale/programs/charmap-kw.h: Regenerated.
36895 * locale/programs/locfile-kw.h: Likewise.
36898 * intl/plural.y: Replace FSF snail mail address with URL.
36899 * intl/plural.c: Regenerated.
36901 2012-03-09 Richard Henderson <rth@twiddle.net>
36903 * include/math_private.h: Remove file.
36904 * math/math_private.h: Move file ...
36905 * sysdeps/generic/math_private.h: ... here.
36907 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36908 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36909 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36911 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36912 and <math_private.h>.
36913 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36914 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36915 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36916 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36917 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36918 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36919 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36920 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36921 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36922 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36923 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36924 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36925 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36926 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36927 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36928 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36929 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36930 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36931 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36932 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36934 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36935 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36937 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36938 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36939 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36940 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36942 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36943 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36944 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36945 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36946 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36947 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36948 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36949 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36950 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36951 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36952 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36953 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36954 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36955 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36956 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36957 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36958 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36959 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36960 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36961 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36962 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36963 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36964 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36965 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36966 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36967 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36968 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36969 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36970 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36971 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36972 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36973 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36974 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36975 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36976 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36977 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36978 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36979 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36980 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36981 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36982 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36983 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36984 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36985 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36986 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36987 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36988 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36989 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36991 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36992 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36993 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36994 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36995 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36996 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36997 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36998 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36999 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37000 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37001 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37002 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37003 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37004 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37005 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37006 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37007 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37008 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37009 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37010 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37011 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37012 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37013 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37014 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37015 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37016 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37017 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37018 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37019 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37020 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37021 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37022 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37023 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37024 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37025 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37026 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37027 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37028 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37029 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37030 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37031 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37032 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37033 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37034 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37035 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37036 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37037 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37038 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37039 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37040 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37041 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37042 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37043 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37044 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37045 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37046 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37047 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37048 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37049 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37050 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37051 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37052 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37053 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37054 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37055 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37056 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37057 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37058 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37059 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37060 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37061 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37062 * sysdeps/ieee754/k_standard.c: Likewise.
37063 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37064 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37065 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37066 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37067 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37068 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37069 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37070 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37071 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37072 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37073 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37074 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37075 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37076 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37077 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37078 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37079 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37080 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37081 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37082 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37083 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37084 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37085 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37086 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37087 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37088 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37089 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37090 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37091 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37092 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37093 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37094 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37095 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37096 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37097 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37098 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37099 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37100 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37101 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37102 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37103 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37104 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37105 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37106 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37107 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37108 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37109 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37110 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37111 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37112 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37113 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37114 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37115 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37116 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37117 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37118 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37119 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37120 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37121 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37122 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37123 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37124 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37125 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37126 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37127 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37128 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37129 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37130 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37131 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37132 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37133 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37134 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37135 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37136 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37137 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37138 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37139 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37140 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37141 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37142 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37143 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37144 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37145 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37146 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37147 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37148 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37149 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37150 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37151 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37152 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37153 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37154 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37155 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37156 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37157 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37158 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37159 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37160 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37161 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37162 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37163 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37164 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37165 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37166 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37167 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37168 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37169 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37170 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37171 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37172 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37173 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37174 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37175 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37176 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37177 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37178 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37179 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37180 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37181 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37182 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37183 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37184 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37185 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37186 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37187 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37188 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37189 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37190 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37191 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37192 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37193 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37194 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37195 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37196 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37197 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37198 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37199 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37200 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37201 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37202 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37203 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37204 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37205 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37206 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37207 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37208 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37209 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37210 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37211 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37212 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37213 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37214 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37215 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37216 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37217 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37218 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37219 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37220 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37221 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37222 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37223 * sysdeps/ieee754/s_lib_version.c: Likewise.
37224 * sysdeps/ieee754/s_matherr.c: Likewise.
37225 * sysdeps/ieee754/s_signgam.c: Likewise.
37226 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37227 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37228 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37229 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37230 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37231 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37232 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37233 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37234 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37235 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37236 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37237 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37238 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37239 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37240 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37241 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37242 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37243 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37244 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37245 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37246 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37248 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37250 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37251 * sunrpc/rpc_main.c: Likewise.
37252 * sunrpc/rpc_svcout.c: Likewise.
37254 2012-03-09 David S. Miller <davem@davemloft.net>
37256 * include/math_private.h: New file.
37258 2012-03-09 Joseph Myers <joseph@codesourcery.com>
37260 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37261 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37262 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37263 from <bits/socket_type.h>.
37264 (enum __socket_type): Don't define here.
37265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37266 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37267 bits/socket_type.h.
37270 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37271 checking __USE_GNU.
37273 * Makerules ($(inst_includedir)/%.h): New rule.
37274 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37275 (install-others): Remove variable setting.
37276 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37278 2012-03-08 Richard Henderson <rth@twiddle.net>
37280 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37281 from macro to inline function; merge with the
37282 !__LIBC_INTERNAL_MATH_INLINES version.
37283 (__ieee754_sqrtf): Likewise.
37285 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37286 to inline function.
37287 (__rintf, __floor, __floorf): Likewise.
37289 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37290 macro to inline function.
37291 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37293 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37294 not <math/math_private.h>.
37296 2012-03-08 David S. Miller <davem@davemloft.net>
37298 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37300 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37302 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
37304 * resolv/gai_misc.c (handle_requests): Fix struct timespec
37306 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37307 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37309 2012-03-08 Ulrich Drepper <drepper@gmail.com>
37311 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
37312 be defined individually, they must be defined as a block. Define
37313 S for printing a string instead of hidint the different by using a
37314 macro for adding the 'l'.
37315 * stdio-common/tst-fphex-wide.c: Adjust.
37317 2012-03-07 Marek Polacek <polacek@redhat.com>
37319 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37321 2012-03-08 Marek Polacek <polacek@redhat.com>
37324 * stdio-common/Makefile (tests): Add tst-fphex-wide.
37325 * stdio-common/tst-fphex.c: Define a few macros to make the
37326 test reusable. Use them.
37327 * stdio-common/tst-fphex-wide.c: New file.
37329 2012-03-08 Joseph Myers <joseph@codesourcery.com>
37332 * manual/macros.texi (gnusystems): New macro.
37333 (nongnusystems): Likewise.
37334 (gnulinuxhurdsystems): Likewise.
37335 (gnuhurdsystems): Likewise..
37336 (gnulinuxsystems): Likewise.
37337 * manual/charset.texi: Use new macros or @theglibc{} to refer to
37338 variants of the GNU system, not "GNU system".
37339 * manual/conf.texi: Likewise.
37340 * manual/errno.texi: Likewise. Update example of errno macro
37342 * manual/filesys.texi: Likewise.
37343 (getumask): Document as specific to GNU/Hurd.
37344 * manual/install.texi: Likewise. Reword some references to
37346 * manual/intro.texi: Likewise.
37347 * manual/io.texi: Likewise.
37348 (File Name Portability): Detail which constraints are inapplicable
37349 to all GNU systems and which are only inapplicable to GNU/Hurd.
37350 * manual/job.texi: Likewise.
37351 * manual/llio.texi: Likewise.
37352 (O_NOCTTY): Document as present on GNU/Linux.
37353 * manual/maint.texi: Likewise.
37354 * manual/memory.texi: Likewise.
37355 * manual/pattern.texi: Likewise.
37356 * manual/pipe.texi: Likewise.
37357 * manual/process.texi: Likewise.
37358 * manual/resource.texi: Likewise.
37359 (RUSAGE_CHILDREN): Remove statement about specifying a particular
37361 * manual/setjmp.texi: Likewise.
37362 * manual/signal.texi: Likewise.
37363 * manual/startup.texi: Likewise.
37364 * manual/stdio.texi: Likewise.
37365 * manual/terminal.texi: Likewise.
37366 (ONLCR): Document as POSIX.
37367 (OXTABS): Document availability on GNU/Linux as XTABS.
37368 (ONOEOT): Document availability separately from other bits.
37369 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37370 * manual/time.texi: Likewise.
37371 * manual/users.texi: Likewise.
37372 * INSTALL: Regenerated.
37373 * sysdeps/gnu/errlist.c: Regenerated.
37375 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37376 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37377 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
37379 * configure: Regenerated.
37381 2012-03-07 Joseph Myers <joseph@codesourcery.com>
37383 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37384 default includes instead of AC_HEADER_CHECK.
37385 * sysdeps/i386/configure: Regenerated.
37388 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37389 * math/s_cacoshf.c (__cacoshf): Likewise.
37390 * math/s_cacoshl.c (__cacoshl): Likewise.
37391 * math/s_casinh.c (__casinh): Set signs of result from argument.
37392 * math/s_casinhf.c (__casinhf): Likewise.
37393 * math/s_casinhl.c (__casinhl): Likewise.
37394 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37395 (casinh_test): Add more tests.
37396 * sysdeps/i386/fpu/libm-test-ulps: Update.
37397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37399 2012-03-07 Ulrich Drepper <drepper@gmail.com>
37401 * po/zh_TW.po: Update from translation team.
37403 * login/Makefile (distribute): Remove variable.
37404 * catgets/Makefile: Likewise.
37405 * mach/Makefile: Likewise.
37406 * malloc/Makefile: Likewise.
37407 * misc/Makefile: Likewise.
37408 * iconv/Makefile: Likewise.
37409 * nscd/Makefile: Likewise.
37410 * hurd/Makefile: Likewise.
37411 * manual/Makefile: Likewise.
37412 * locale/Makefile: Likewise.
37413 * intl/Makefile: Likewise.
37414 * conform/Makefile: Likewise.
37415 * nss/Makefile: Likewise.
37416 * time/Makefile: Likewise.
37417 * soft-fp/Makefile: Likewise.
37418 * dirent/Makefile: Likewise.
37419 * gmon/Makefile: Likewise.
37420 * po/Makefile: Likewise.
37421 * rt/Makefile: Likewise.
37422 * socket/Makefile: Likewise.
37423 * math/Makefile: Likewise.
37424 * signal/Makefile: Likewise.
37425 * debug/Makefile: Likewise.
37426 * elf/Makefile: Likewise.
37427 * timezone/Makefile: Likewise.
37428 * stdlib/Makefile: Likewise.
37429 * iconvdata/Makefile: Likewise.
37430 * sunrpc/Makefile: Likewise.
37431 * io/Makefile: Likewise.
37432 * argp/Makefile: Likewise.
37433 * inet/Makefile: Likewise.
37434 * hesiod/Makefile: Likewise.
37435 * grp/Makefile: Likewise.
37436 * csu/Makefile: Likewise.
37437 * wctype/Makefile: Likewise.
37438 * crypt/Makefile: Likewise.
37439 * libio/Makefile: Likewise.
37440 * string/Makefile: Likewise.
37441 * nis/Makefile: Likewise.
37442 * resolv/Makefile: Likewise.
37443 * stdio-common/Makefile: Likewise.
37444 * wcsmbs/Makefile: Likewise.
37445 * dlfcn/Makefile: Likewise.
37446 * posix/Makefile: Likewise.
37449 * timezone/Makefile: Don't install timezone files, just the programs
37452 2012-03-06 Ulrich Drepper <drepper@gmail.com>
37454 * nss/databases.def: Add missing gshadow entry.
37456 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
37458 2012-03-06 Marek Polacek <polacek@redhat.com>
37461 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37462 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37463 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37464 * stdio-common/tst-long-dbl-fphex.c: New file.
37466 2012-03-06 David S. Miller <davem@davemloft.net>
37468 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37469 (set_obp_int): New function.
37470 (get_obp_int): New function.
37471 (__get_clockfreq_via_dev_openprom): Likewise.
37472 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37473 Avoid unused variable warnings on 'val' and use builtin_expect.
37474 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37476 (INLINE_CLONE_SYSCALL): Likewise.
37478 2012-03-05 David S. Miller <davem@davemloft.net>
37480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37482 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
37484 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37486 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37487 only for |x| >= 40.
37488 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37490 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
37492 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37493 Replace gettimeofday with __vdso_gettimeofday.
37495 * sysdeps/unix/sysv/linux/x86_64/init-first.c
37496 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37497 __vdso_clock_gettime and __vdso_getcpu.
37499 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37500 time with __vdso_time.
37502 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37504 * manual/lang.texi (size_t): Note types to which size_t may be
37505 equivalent with the GNU C Library, but do not describe when
37506 differences between them are significant.
37508 2012-03-05 Andreas Jaeger <aj@suse.de>
37510 * sysdeps/i386/fpu/libm-test-ulps: Update.
37512 2012-03-05 Joseph Myers <joseph@codesourcery.com>
37515 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37516 (__ieee754_pow): Save and restore rounding mode and use
37517 round-to-nearest for main computations.
37518 * math/libm-test.inc (pow_test_tonearest): New function.
37519 (pow_test_towardzero): Likewise.
37520 (pow_test_downward): Likewise.
37521 (pow_test_upward): Likewise.
37522 (main): Call the new functions.
37523 * sysdeps/i386/fpu/libm-test-ulps: Update.
37524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37527 * math/libm-test.inc (cosh_test_tonearest): New function.
37528 (cosh_test_towardzero): Likewise.
37529 (cosh_test_downward): Likewise.
37530 (cosh_test_upward): Likewise.
37531 (sinh_test_tonearest): Likewise.
37532 (sinh_test_towardzero): Likewise.
37533 (sinh_test_downward): Likewise.
37534 (sinh_test_upward): Likewise.
37535 (main): Call the new functions.
37536 * sysdeps/i386/fpu/libm-test-ulps: Update.
37537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37539 2012-03-05 Tom de Vries <tom@codesourcery.com>
37541 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37542 default stack guard is set in last bytes.
37543 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37545 2012-03-05 Kees Cook <keescook@chromium.org>
37547 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37550 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37551 possibly allocate from heap instead of stack.
37552 * stdio-common/bug-vfprintf-nargs.c: New file.
37553 * stdio-common/Makefile (tests): Add nargs overflow test.
37555 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37559 2012-03-03 Marek Polacek <polacek@redhat.com>
37561 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37562 * math/math_private.h: Likewise.
37563 * stdlib/tst-strtod.c: Likewise.
37564 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37565 * sysdeps/x86_64/bits/atomic.h: Likewise.
37567 2012-03-02 David S. Miller <davem@davemloft.net>
37569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37573 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37574 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37575 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37576 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37578 2012-03-02 Roland McGrath <roland@hack.frob.com>
37581 * manual/examples/README: New file, says the example source files
37582 can be used under GPL>=2.
37583 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37584 line containing just "*/".
37585 * manual/examples/add.c: Add copyright header (GPL>=2).
37586 * manual/examples/argp-ex1.c: Likewise.
37587 * manual/examples/argp-ex2.c: Likewise.
37588 * manual/examples/argp-ex3.c: Likewise.
37589 * manual/examples/argp-ex4.c: Likewise.
37590 * manual/examples/atexit.c: Likewise.
37591 * manual/examples/db.c: Likewise.
37592 * manual/examples/dir.c: Likewise.
37593 * manual/examples/dir2.c: Likewise.
37594 * manual/examples/execinfo.c: Likewise.
37595 * manual/examples/filecli.c: Likewise.
37596 * manual/examples/filesrv.c: Likewise.
37597 * manual/examples/fmtmsgexpl.c: Likewise.
37598 * manual/examples/genpass.c: Likewise.
37599 * manual/examples/inetcli.c: Likewise.
37600 * manual/examples/inetsrv.c: Likewise.
37601 * manual/examples/isockad.c: Likewise.
37602 * manual/examples/longopt.c: Likewise.
37603 * manual/examples/memopen.c: Likewise.
37604 * manual/examples/memstrm.c: Likewise.
37605 * manual/examples/mkfsock.c: Likewise.
37606 * manual/examples/mkisock.c: Likewise.
37607 * manual/examples/mygetpass.c: Likewise.
37608 * manual/examples/pipe.c: Likewise.
37609 * manual/examples/popen.c: Likewise.
37610 * manual/examples/rprintf.c: Likewise.
37611 * manual/examples/search.c: Likewise.
37612 * manual/examples/select.c: Likewise.
37613 * manual/examples/setjmp.c: Likewise.
37614 * manual/examples/sigh1.c: Likewise.
37615 * manual/examples/sigusr.c: Likewise.
37616 * manual/examples/stpcpy.c: Likewise.
37617 * manual/examples/strdupa.c: Likewise.
37618 * manual/examples/strftim.c: Likewise.
37619 * manual/examples/strncat.c: Likewise.
37620 * manual/examples/subopt.c: Likewise.
37621 * manual/examples/swapcontext.c: Likewise.
37622 * manual/examples/termios.c: Likewise.
37623 * manual/examples/testopt.c: Likewise.
37624 * manual/examples/testpass.c: Likewise.
37625 * manual/examples/timeval_subtract.c: Likewise.
37628 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37630 * manual/timeval_subtract.c.texi: ... here, new file.
37632 2012-03-02 David S. Miller <davem@davemloft.net>
37634 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37636 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37639 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37640 (__sin): Save and restore rounding mode and use round-to-nearest
37641 for all computations.
37642 (__cos): Save and restore rounding mode and use round-to-nearest
37643 for all computations.
37644 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37646 (tan): Save and restore rounding mode and use round-to-nearest for
37648 * math/libm-test.inc (cos_test_tonearest): New function.
37649 (cos_test_towardzero): Likewise.
37650 (cos_test_downward): Likewise.
37651 (cos_test_upward): Likewise.
37652 (sin_test_tonearest): Likewise.
37653 (sin_test_towardzero): Likewise.
37654 (sin_test_downward): Likewise.
37655 (sin_test_upward): Likewise.
37656 (tan_test_tonearest): Likewise.
37657 (tan_test_towardzero): Likewise.
37658 (tan_test_downward): Likewise.
37659 (tan_test_upward): Likewise.
37660 (main): Call the new functions.
37661 * sysdeps/i386/fpu/libm-test-ulps: Update.
37662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37665 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37666 small n, then large n, before computing and testing k+n.
37667 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37670 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37672 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37673 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37674 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37675 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37676 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37677 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37678 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37679 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37680 * math/libm-test.inc (scalbn_test): Add more tests.
37681 (scalbln_test): Likewise.
37683 * manual/filesys.texi (mode_t): Describe constraints on size and
37684 signedness, not exact equivalence to a particular type.
37686 (ino64_t): Likewise.
37688 (nlink_t): Likewise.
37689 (blkcnt_t): Likewise.
37690 (blkcnt64_t): Likewise.
37691 * manual/llio.texi (off_t): Likewise.
37694 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37695 (__ieee754_exp): Save and restore rounding mode and use
37696 round-to-nearest for all computations.
37697 * math/libm-test.inc (exp_test_tonearest): New function.
37698 (exp_test_towardzero): Likewise.
37699 (exp_test_downward): Likewise.
37700 (exp_test_upward): Likewise.
37701 (main): Call the new functions.
37702 * sysdeps/i386/fpu/libm-test-ulps: Update.
37703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37705 2012-03-01 Chris Demetriou <cgd@google.com>
37707 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37708 have predictable order.
37710 2012-03-01 David S. Miller <davem@davemloft.net>
37712 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37714 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37715 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37716 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37717 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37719 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37720 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37721 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37723 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37724 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37725 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37726 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37727 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37731 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37732 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37733 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37735 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37736 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37737 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37738 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37739 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37740 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37741 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37742 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37743 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37744 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37745 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37746 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37747 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37748 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37749 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37751 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37752 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37753 * sysdeps/sparc/elf/configure: Regenerated.
37755 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37757 * configure.in (AS, LD): Require binutils 2.20 or later.
37758 * configure: Regenerated.
37759 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37760 as required minimum version.
37761 * INSTALL: Regenerated.
37765 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37766 before squaring exponent.
37767 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37768 bottom long double and 27 bits of top long double before squaring
37770 * math/libm-test.inc (erfc_test): Add more tests.
37771 * sysdeps/i386/fpu/libm-test-ulps: Update.
37772 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37775 2012-03-01 Kai Tietz <ktietz@redhat.com>
37777 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37778 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37779 containing bit-fields.
37780 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37781 * soft-fp/single.h (_FP_UNION_S): Likewise.
37782 * soft-fp/double.h (_FP_UNION_D): Likewise.
37784 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37787 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37788 not include ../strcmp.S.
37789 [USE_AS_STRNCASECMP_L]: Likewise.
37790 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37791 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37792 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37793 (__strncasecmp_l_ia32): Define as alias to
37794 __strncasecmp_l_nonascii.
37797 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37798 * sysdeps/i386/fpu/libm-test-ulps: Update.
37799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37801 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37804 2012-02-29 Jeff Law <law@redhat.com>
37806 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37807 out of bounds read.
37809 2012-02-29 Marek Polacek <polacek@redhat.com>
37812 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37813 * elf/Makefile: Add rules to run tst-unused-dep.out.
37815 2012-02-28 David S. Miller <davem@davemloft.net>
37817 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37818 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37819 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37820 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37821 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37822 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37824 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37826 * math/libm-test.inc (llround_test): Move one test from
37827 lround_test. Use TEST_f_L in moved test.
37828 (lround_test): Move misplaced test to llround_test. Add testcase
37831 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37833 * sysdeps/x86_64/fpu/e_expf.S: New file.
37834 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37836 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37839 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37840 of remain_len that may cause incomplete multi-byte character and
37842 * posix/bug-regex33.c: New file.
37843 * posix/Makefile (tests): Add bug-regex33.
37845 2012-02-28 Joseph Myers <joseph@codesourcery.com>
37847 * manual/macros.texi: New file.
37848 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37849 * manual/libc.texinfo: Include macros.texi.
37850 * manual/creatute.texi: Likewise.
37851 * manual/install.texi: Likewise.
37852 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37853 @glibcadj{} in references to the GNU C Library.
37854 * manual/charset.texi: Likewise.
37855 * manual/conf.texi: Likewise.
37856 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37857 when not using those macros.
37858 * manual/creature.texi: Likewise.
37859 * manual/crypt.texi: Likewise.
37860 * manual/errno.texi: Likewise.
37861 * manual/filesys.texi: Likewise.
37862 * manual/header.texi: Likewise.
37863 * manual/install.texi: Likewise.
37864 * manual/intro.texi: Likewise.
37865 * manual/io.texi: Likewise.
37866 * manual/job.texi: Likewise.
37867 * manual/lang.texi: Likewise.
37868 * manual/libc.texiinfo: Likewise.
37869 * manual/llio.texi: Likewise.
37870 * manual/locale.texi: Likewise.
37871 * manual/maint.texi: Likewise.
37872 * manual/math.texi: Likewise.
37873 * manual/memory.texi: Likewise.
37874 * manual/message.texi: Likewise.
37875 * manual/nss.texi: Likewise.
37876 * manual/pattern.texi: Likewise.
37877 * manual/process.texi: Likewise.
37878 * manual/resource.texi: Likewise.
37879 * manual/search.texi: Likewise.
37880 * manual/setjmp.texi: Likewise.
37881 * manual/signal.texi: Likewise.
37882 * manual/socket.texi: Likewise.
37883 * manual/startup.texi: Likewise.
37884 * manual/stdio.texi: Likewise.
37885 * manual/string.texi: Likewise.
37886 * manual/sysinfo.texi: Likewise.
37887 * manual/syslog.texi: Likewise.
37888 * manual/terminal.texi: Likewise.
37889 * manual/time.texi: Likewise.
37890 * manual/users.texi: Likewise.
37891 * INSTALL: Regenerated.
37892 * NOTES: Regenerated.
37893 * sysdeps/gnu/errlist.c: Regenerated.
37895 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37897 * include/dirent.h: Include <dirstream.h> before
37900 2012-02-28 David S. Miller <davem@davemloft.net>
37902 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37903 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37904 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37905 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37907 2012-02-27 David S. Miller <davem@davemloft.net>
37909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37911 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37912 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37915 frame pointer instead of stack pointer relative arg slot.
37916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37917 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37918 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37920 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37923 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37925 2012-02-27 David S. Miller <davem@davemloft.net>
37927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37931 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37932 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37933 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37934 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37936 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37938 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37939 later. Allow versions 5-9.
37940 * configure: Regenerated.
37941 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37942 required minimum version and 4.6 as recommended version. Do not
37943 mention bugs in GCC 2.7 and 2.8.
37944 * INSTALL: Regenerated.
37946 2012-02-27 David S. Miller <davem@davemloft.net>
37948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37950 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37952 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37953 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37954 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37955 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37957 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37958 manipulate bits before adding and subtracting TWO112[sx].
37959 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37961 2012-02-27 Roland McGrath <roland@hack.frob.com>
37964 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37965 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37966 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37967 being in POSIX, because they are in 1003.1-2008.
37969 * rt/tst-aio.c: Include <fcntl.h>.
37970 * rt/tst-aio7.c: Likewise.
37971 * rt/tst-aio64.c: Likewise.
37973 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37975 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37977 * manual/install.texi (--with-headers): Describe headers as
37978 interface headers, not private headers.
37979 (Specific advice for GNU/Linux systems): Describe use of headers
37980 from "make headers_install", not private headers from older
37982 * INSTALL: Regenerated.
37983 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37985 * sysdeps/unix/sysv/linux/configure: Regenerated.
37987 * manual/llio.texi (fclean): Remove documentation.
37989 * manual/Makefile (libc-texi-generated): New variable. Include
37991 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37992 $(libc-texi-generated), not duplicated list of files.
37993 (version.texi, stamp-version): New rules.
37994 (realclean): Remove $(libc-texi-generated), not individual files
37995 from that list. Do not remove dir-add.texinfo.
37996 * manual/libc.texinfo: Comment out uses of edition numbers and
37997 references to printed manual. Remove last-updated dates.
37998 (EDITION): Comment out.
38000 (VERSION, UPDATED): Remove.
38001 (version.texi): Include.
38003 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
38005 * sysdeps/posix/spawni.c: Include <signal.h>.
38006 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38007 * sysdeps/pthread/aio_fsync.c: Likewise.
38009 2012-02-26 Ulrich Drepper <drepper@gmail.com>
38011 * conform/Makefile (tests): Run only when not cross-compiling and
38012 when fast-check is not defined.
38014 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38015 * conform/data/limits.h-data: Fixes for POSIX2008.
38016 * conform/run-conformtest.sh: Run all tests.
38017 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38019 * include/bits/dlfcn.h: Likewise.
38020 * include/langinfo.h: Likewise.
38021 * include/monetary.h: Likewise.
38022 * include/sys/poll.h: Likewise.
38024 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38026 * posix/spawn.h: Define __need_sigset_t.
38027 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38028 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38029 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
38030 to get sigevent_t only.
38031 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38032 only for __USE_GNU.
38033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38034 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38035 process_vm_writev only for __USE_GNU.
38036 * termios/termios.h: Declare tcgetsid also for POSIX2008.
38038 * conform/Makefile: For now ignore errors from run-conformtest.
38039 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
38040 POSIX to avoid namespace pollution. Don't prepend headers.
38041 * conform/data/aio.h-data: Fixes for POSIX testing.
38042 * conform/data/fcntl.h-data: Likewise.
38043 * conform/data/glob.h-data: Likewise.
38044 * conform/data/grp.h-data: Likewise.
38045 * conform/data/pthread.h-data: Likewise.
38046 * conform/data/pwd.h-data: Likewise.
38047 * conform/data/signal.h-data: Likewise.
38048 * conform/data/spawn.h-data: Likewise.
38049 * conform/data/stdio.h-data: Likewise.
38050 * conform/data/stdlib.h-data: Likewise.
38051 * conform/data/stropts.h-data: Likewise.
38052 * conform/data/sys/mman.h-data: Likewise.
38053 * conform/data/sys/stat.h-data: Likewise.
38054 * conform/data/sys/types.h-data: Likewise.
38055 * conform/data/sys/wait.h-data: Likewise.
38056 * conform/data/time.h-data: Likewise.
38057 * conform/data/unistd.h-data: Likewise.
38058 * conform/data/utime.h-data: Likewise.
38060 * io/sys/stat.h: fchmod was always in POSIX.
38061 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38062 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38063 * rt/aio.h: Define __need_timespec before including <time.h>.
38064 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38065 struct. Add forward declaration of pthread_attr_t and use it in
38067 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38068 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38069 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38070 always remove CLK_TCK definition.
38072 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
38074 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38076 2012-02-25 Ulrich Drepper <drepper@gmail.com>
38078 * conform/run-conformtest.sh: New file.
38079 * conform/Makefile: Run run-conformtest for tests.
38080 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
38083 * conform/data/uchar.h-data: New file.
38084 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38085 * conform/data/arpa/inet.h-data: Likewise.
38086 * conform/data/assert.h-data: Likewise.
38087 * conform/data/complex.h-data: Likewise.
38088 * conform/data/cpio.h-data: Likewise.
38089 * conform/data/ctype.h-data: Likewise.
38090 * conform/data/dirent.h-data: Likewise.
38091 * conform/data/dlfcn.h-data: Likewise.
38092 * conform/data/errno.h-data: Likewise.
38093 * conform/data/fcntl.h-data: Likewise.
38094 * conform/data/float.h-data: Likewise.
38095 * conform/data/fmtmsg.h-data: Likewise.
38096 * conform/data/fnmatch.h-data: Likewise.
38097 * conform/data/ftw.h-data: Likewise.
38098 * conform/data/glob.h-data: Likewise.
38099 * conform/data/grp.h-data: Likewise.
38100 * conform/data/iconv.h-data: Likewise.
38101 * conform/data/inttypes.h-data: Likewise.
38102 * conform/data/langinfo.h-data: Likewise.
38103 * conform/data/libgen.h-data: Likewise.
38104 * conform/data/limits.h-data: Likewise.
38105 * conform/data/locale.h-data: Likewise.
38106 * conform/data/math.h-data: Likewise.
38107 * conform/data/monetary.h-data: Likewise.
38108 * conform/data/mqueue.h-data: Likewise.
38109 * conform/data/ndbm.h-data: Likewise.
38110 * conform/data/net/if.h-data: Likewise.
38111 * conform/data/netdb.h-data: Likewise.
38112 * conform/data/netinet/in.h-data: Likewise.
38113 * conform/data/nl_types.h-data: Likewise.
38114 * conform/data/poll.h-data: Likewise.
38115 * conform/data/pthread.h-data: Likewise.
38116 * conform/data/pwd.h-data: Likewise.
38117 * conform/data/regex.h-data: Likewise.
38118 * conform/data/sched.h-data: Likewise.
38119 * conform/data/search.h-data: Likewise.
38120 * conform/data/semaphore.h-data: Likewise.
38121 * conform/data/setjmp.h-data: Likewise.
38122 * conform/data/signal.h-data: Likewise.
38123 * conform/data/spawn.h-data: Likewise.
38124 * conform/data/stdarg.h-data: Likewise.
38125 * conform/data/stdio.h-data: Likewise.
38126 * conform/data/stdlib.h-data: Likewise.
38127 * conform/data/string.h-data: Likewise.
38128 * conform/data/strings.h-data: Likewise.
38129 * conform/data/stropts.h-data: Likewise.
38130 * conform/data/sys/ipc.h-data: Likewise.
38131 * conform/data/sys/mman.h-data: Likewise.
38132 * conform/data/sys/msg.h-data: Likewise.
38133 * conform/data/sys/resource.h-data: Likewise.
38134 * conform/data/sys/select.h-data: Likewise.
38135 * conform/data/sys/sem.h-data: Likewise.
38136 * conform/data/sys/shm.h-data: Likewise.
38137 * conform/data/sys/socket.h-data: Likewise.
38138 * conform/data/sys/stat.h-data: Likewise.
38139 * conform/data/sys/statvfs.h-data: Likewise.
38140 * conform/data/sys/time.h-data: Likewise.
38141 * conform/data/sys/timeb.h-data: Likewise.
38142 * conform/data/sys/times.h-data: Likewise.
38143 * conform/data/sys/types.h-data: Likewise.
38144 * conform/data/sys/uio.h-data: Likewise.
38145 * conform/data/sys/un.h-data: Likewise.
38146 * conform/data/sys/utsname.h-data: Likewise.
38147 * conform/data/sys/wait.h-data: Likewise.
38148 * conform/data/syslog.h-data: Likewise.
38149 * conform/data/tar.h-data: Likewise.
38150 * conform/data/termios.h-data: Likewise.
38151 * conform/data/utime.h-data: Likewise.
38152 * conform/data/utmpx.h-data: Likewise.
38153 * conform/data/varargs.h-data: Likewise.
38154 * conform/data/wchar.h-data: Likewise.
38155 * conform/data/wctype.h-data: Likewise.
38156 * conform/data/wordexp.h-data: Likewise.
38158 * include/stropts.h: New file.
38159 * include/uchar.h: New file.
38160 * include/aio.h: Changes to allow conformtest.pl to use the headers.
38161 * include/assert.h: Likewise.
38162 * include/ctype.h: Likewise.
38163 * include/dirent.h: Likewise.
38164 * include/dlfcn.h: Likewise.
38165 * include/fcntl.h: Likewise.
38166 * include/fnmatch.h: Likewise.
38167 * include/glob.h: Likewise.
38168 * include/grp.h: Likewise.
38169 * include/libio.h: Likewise.
38170 * include/locale.h: Likewise.
38171 * include/math.h: Likewise.
38172 * include/net/if.h: Likewise.
38173 * include/netdb.h: Likewise.
38174 * include/netinet/in.h: Likewise.
38175 * include/pthread.h: Likewise.
38176 * include/pwd.h: Likewise.
38177 * include/regex.h: Likewise.
38178 * include/sched.h: Likewise.
38179 * include/search.h: Likewise.
38180 * include/setjmp.h: Likewise.
38181 * include/signal.h: Likewise.
38182 * include/stdio.h: Likewise.
38183 * include/stdlib.h: Likewise.
38184 * include/string.h: Likewise.
38185 * include/sys/cdefs.h: Likewise.
38186 * include/sys/mman.h: Likewise.
38187 * include/sys/msg.h: Likewise.
38188 * include/sys/resource.h: Likewise.
38189 * include/sys/select.h: Likewise.
38190 * include/sys/socket.h: Likewise.
38191 * include/sys/stat.h: Likewise.
38192 * include/sys/statvfs.h: Likewise.
38193 * include/sys/time.h: Likewise.
38194 * include/sys/times.h: Likewise.
38195 * include/sys/uio.h: Likewise.
38196 * include/sys/utsname.h: Likewise.
38197 * include/sys/wait.h: Likewise.
38198 * include/termios.h: Likewise.
38199 * include/time.h: Likewise.
38200 * include/ulimit.h: Likewise.
38201 * include/unistd.h: Likewise.
38202 * include/utime.h: Likewise.
38203 * include/wchar.h: Likewise.
38204 * include/wctype.h: Likewise.
38205 * include/wordexp.h: Likewise.
38207 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38209 * time/time.h: TIME_UTC must be a macro.
38210 Make timespec_get available for ISO C11 only as well.
38212 2012-02-24 Ulrich Drepper <drepper@gmail.com>
38214 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38215 Reported by Peng Haitao <penght@cn.fujitsu.com>.
38217 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38219 * configure.in: Use -o not -a in test for unsupported multi-arch.
38221 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38223 * manual/texinfo.tex: Update to version 2012-01-19.16.
38225 2012-02-24 Joseph Myers <joseph@codesourcery.com>
38227 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38229 2012-02-24 Roland McGrath <roland@hack.frob.com>
38232 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38233 * manual/fdl-1.3.texi: New file.
38234 * manual/fdl-1.1.texi: File removed.
38237 * manual/libc.texinfo (FDL_VERSION): New @set.
38238 Use it for mention of FDL in cover text.
38239 (Documentation License): Use it in @include file name.
38241 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38242 Roland McGrath <roland@hack.frob.com>
38245 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38246 (not LONG_LONG_MAX and LONG_LONG_MIN.
38247 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38248 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
38250 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38252 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38256 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38257 manipulate bits before adding and subtracting TWO23[sx].
38258 * math/libm-test.inc (nearbyint_test): Add more tests.
38260 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38263 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38264 bits before adding and subtracting TWO23[sx].
38265 * math/libm-test.inc (rint_test): Add more tests.
38266 (rint_test_tonearest): Likewise.
38267 (rint_test_towardzero): Likewise.
38268 (rint_test_downward): Likewise.
38269 (rint_test_upward: Likewise.
38271 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38274 * include/stdc-predef.h: New file. Extracted from features.h.
38275 * include/features.h: Include stdc-predef.h.
38276 * Makefile (headers): Add stdc-predef.h.
38277 * CONFORMANCE (Compiler limitations): Update.
38279 2012-02-22 Joseph Myers <joseph@codesourcery.com>
38281 * manual/libc.texinfo (VERSION, UPDATED): Revert.
38283 2012-02-21 David S. Miller <davem@davemloft.net>
38285 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38286 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38288 2012-02-20 David S. Miller <davem@davemloft.net>
38290 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38291 using a normal save/restore sequence, rather than allocating a
38292 dummy stack frame just to store a frame pointer and restore.
38293 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38295 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38297 * manual/install.texi: Fix stray word in line-wrapped comment.
38299 2012-02-20 David S. Miller <davem@davemloft.net>
38301 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38302 both binutils and gcc support GOTDATA.
38304 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38305 "rd %pc" in the PIC register setup sequences.
38307 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38308 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38309 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38310 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38311 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38313 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38314 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38315 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38316 (SYSCALL_ERROR_HANDLER): Likewise.
38317 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38318 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38320 (SYSCALL_ERROR_HANDLER): Likewise.
38322 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38323 (HAVE_GCC_GOTDATA): New.
38324 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38325 relocation support in both binutils and gcc.
38326 * sysdeps/sparc/elf/configure: Regenerate.
38328 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38329 * sysdeps/sparc/sparc32/elf/configure: Delete.
38330 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38331 * sysdeps/sparc/sparc64/elf/configure: Delete.
38332 * sysdeps/sparc/elf/configure.in: New file.
38333 * sysdeps/sparc/elf/configure: Generate.
38335 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38336 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38337 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38338 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38339 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38341 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38343 * manual/install.texi: Do not mention specific glibc version
38345 * manual/libc.texinfo (VERSION, UPDATED): Update.
38346 (@copying): Use @copyright{} and range of years.
38348 2012-02-21 Joseph Myers <joseph@codesourcery.com>
38351 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38352 [crti.S not in sysdirs] (generated): Do not append.
38353 [crti.S not in sysdirs] (omit-deps): Likewise.
38354 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38355 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38356 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38357 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38358 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38360 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38361 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38362 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38363 * csu/defs.awk: Remove file.
38364 * sysdeps/generic/initfini.c: Likewise.
38365 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38367 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38370 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38372 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38373 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38374 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38375 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38376 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38377 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38379 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38380 (__EPOLL_PACKED): Define to empty if not defined by
38382 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38386 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38388 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38389 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38390 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38391 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38393 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38394 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38397 2012-02-20 Joseph Myers <joseph@codesourcery.com>
38399 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38401 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38402 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38403 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38406 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
38408 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38409 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38411 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
38413 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38414 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38416 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38418 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38421 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
38423 * math/w_acos.c: Use non-signaling floating-point comparisons.
38424 * math/w_acosf.c: Likewise.
38425 * math/w_acosh.c: Likewise.
38426 * math/w_acoshf.c: Likewise.
38427 * math/w_acoshl.c: Likewise.
38428 * math/w_acosl.c: Likewise.
38429 * math/w_asin.c: Likewise.
38430 * math/w_asinf.c: Likewise.
38431 * math/w_asinl.c: Likewise.
38432 * math/w_atanh.c: Likewise.
38433 * math/w_atanhf.c: Likewise.
38434 * math/w_atanhl.c: Likewise.
38435 * math/w_exp2.c: Likewise.
38436 * math/w_exp2f.c: Likewise.
38437 * math/w_exp2l.c: Likewise.
38438 * math/w_j0.c: Likewise.
38439 * math/w_j0f.c: Likewise.
38440 * math/w_j0l.c: Likewise.
38441 * math/w_j1.c: Likewise.
38442 * math/w_j1f.c: Likewise.
38443 * math/w_j1l.c: Likewise.
38444 * math/w_jn.c: Likewise.
38445 * math/w_jnf.c: Likewise.
38446 * math/w_log.c: Likewise.
38447 * math/w_log10.c: Likewise.
38448 * math/w_log10f.c: Likewise.
38449 * math/w_log10l.c: Likewise.
38450 * math/w_log2.c: Likewise.
38451 * math/w_log2f.c: Likewise.
38452 * math/w_log2l.c: Likewise.
38453 * math/w_logf.c: Likewise.
38454 * math/w_logl.c: Likewise.
38455 * math/w_sqrt.c: Likewise.
38456 * math/w_sqrtf.c: Likewise.
38457 * math/w_sqrtl.c: Likewise.
38458 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38459 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38460 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38461 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38462 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38464 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38467 * manual/string.texi (strnlen): Use correct parameter name in
38468 equivalent expression.
38470 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38473 * manual/users.texi (seteuid): Consistently use neweuid for
38476 2012-02-19 Joseph Myers <joseph@codesourcery.com>
38479 * manual/nss.texi (Services in the NSS configuration): Correct
38480 list of services in example configuration file.
38482 2012-02-19 Nick Bowler <nbowler@draconx.ca>
38485 * manual/arith.texi: Remove statements about negative zero
38486 behaving identically to zero.
38488 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38491 * manual/install.texi: Do not document upgrading from libc5.
38493 2012-02-18 Joseph Myers <joseph@codesourcery.com>
38496 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38498 2012-02-18 David S. Miller <davem@davemloft.net>
38500 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38501 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38502 %o7 across the call.
38503 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38505 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38506 SETUP_PIC_REG_LEAF.
38507 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38508 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38509 * sysdeps/sparc/crtn.S: Likewise.
38511 2012-02-17 Ulrich Drepper <drepper@gmail.com>
38513 * aout/Makefile: Remove.
38515 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
38518 * manual/examples/argp-ex1.c (main): Format definition in GNU
38520 * manual/examples/argp-ex2.c (main): Likewise.
38521 * manual/examples/argp-ex3.c (main): Likewise.
38522 * manual/examples/argp-ex4.c (main): Likewise.
38523 * manual/examples/longopt.c (main): Use new-style prototype
38525 * manual/examples/strncat.c (main): Specify return type and use
38526 (void) for arguments.
38527 * manual/examples/subopt.c (main): Use char **argv argument.
38529 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38532 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38535 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38538 * manual/string.texi (strchr): Change when strchrnul is
38541 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38544 * manual/locale.texi (setlocale): Document LOCPATH.
38546 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38549 * manual/process.texi (execle): Move @dots{} before last argument.
38551 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38554 * manual/charset.texi (Generic Charset Conversion): Fix typo
38555 (LC_TYPE -> LC_CTYPE).
38557 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38560 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38561 (scalbnf): Likewise.
38562 (scalbnl): Likewise.
38563 (scalbln): Likewise.
38564 (scalblnf): Likewise.
38565 (scalblnl): Likewise.
38566 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38567 (vwarnx): Likewise.
38570 * manual/filesys.texi (telldir): Use braces around return type.
38571 * manual/llio.texi (mmap): Add space after comma.
38572 (mmap64): Likewise.
38573 * manual/math.texi (jn): Use @var{} on parameter names.
38579 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38581 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38583 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38584 (sched_get_priority_max): Likewise.
38585 * manual/signal.texi (sigvec): Add space after comma.
38586 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38588 (if_indextoname): Likewise.
38589 (if_freenameindex): Likewise.
38590 (sendto): Use ',' instead of '.' in prototype.
38591 * manual/startup.texi (syscall): Use @dots{} instead of literal
38593 * manual/stdio.texi (__fpending): Separate initial words of
38594 paragraph from @deftypefun line.
38595 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38597 (vsyslog): Use @var{} on parameter names.
38598 * manual/terminal.texi (stty): Use @var{} on parameter names.
38599 * manual/users.texi (getutmp): Use @var{} on parameter names.
38600 (getutmpx): Likewise.
38602 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38605 * manual/stdio.texi (fopen): Fix typos in description of
38608 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38611 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38612 get clock_id definition.
38614 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38617 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38618 (madvise): Cast every argument to void on its own.
38620 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38623 * manual/startup.texi (Exit Status): Fix typo.
38625 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38628 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38629 * manual/examples/argp-ex2.c: Likewise.
38630 * manual/examples/argp-ex3.c: Likewise.
38632 2012-02-16 Richard Henderson <rth@redhat.com>
38634 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38635 * sysdeps/s390/s390-32/initfini.c: Remove.
38636 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38637 * sysdeps/s390/s390-64/initfini.c: Remove.
38639 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38641 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38642 compiler output for sysdeps/generic/initfini.c.
38643 * sysdeps/sh/elf/initfini.c: Remove file.
38645 2012-02-16 David S. Miller <davem@davemloft.net>
38648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38650 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38651 * sysdeps/sparc/crti.S: New file.
38652 * sysdeps/sparc/crtn.S: New file.
38653 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38654 * sysdeps/sparc/sparc64/Makefile: Likewise.
38656 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38659 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38661 2012-02-15 Roland McGrath <roland@hack.frob.com>
38664 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38666 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38667 (write, read, close): Likewise.
38668 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38670 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38672 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38673 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38674 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38675 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38677 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38681 2012-02-14 Marek Polacek <polacek@redhat.com>
38683 * sysdeps/x86_64/crti.S: New file.
38684 * sysdeps/x86_64/crtn.S: New file.
38685 * sysdeps/x86_64/elf/initfini.c: Remove file.
38687 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38689 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38690 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38691 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38692 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38694 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38698 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38700 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38701 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38702 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38703 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38705 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38709 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38711 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38712 __feraiseexcept instead of feraiseexcept.
38714 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38715 nanosleep invocations.
38716 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38717 strings, and add error checking for a nanosleep invocations.
38719 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38721 Replace FSF snail mail address with URLs, as per GNU coding standards.
38722 Most of the snail mail addresses were wrong anyway, and omitting
38723 them makes the source code easier to maintain. Almost all of the
38724 changes are to license notices and to locale LC_IDENTIFICATION
38725 addresses, except for this one:
38726 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38727 not its snail mail address.
38729 2012-02-09 Richard Henderson <rth@twiddle.net>
38731 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38732 of kernel-features.h.
38734 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38736 2012-02-08 Marek Polacek <polacek@redhat.com>
38738 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38739 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38740 * sysdeps/gnu/_G_config.h: Likewise.
38741 * sysdeps/generic/_G_config.h: Likewise.
38743 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38745 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38749 * sysdeps/powerpc/powerpc32/crti.S: New file.
38750 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38751 * sysdeps/powerpc/powerpc64/crti.S: New file.
38752 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38754 * Makeconfig (have-initfini): Don't set.
38755 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38756 * configure.in (nopic_initfini): Don't substitute.
38757 * config.h.in (HAVE_INITFINI): Don't #undef.
38758 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38759 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38761 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38763 Support crti.S and crtn.S provided directly by architectures.
38764 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38765 [crti.S in sysdirs] (omit-deps): Likewise.
38766 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38767 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38768 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38769 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38770 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38771 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38772 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38773 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38774 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38775 compiler output for sysdeps/generic/initfini.c.
38776 * sysdeps/i386/elf/Makefile: Remove file.
38777 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38779 2012-02-07 Marek Polacek <polacek@redhat.com>
38781 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38782 * sysdeps/gnu/_G_config.h: Likewise.
38783 * sysdeps/mach/hurd/_G_config.h: Likewise.
38785 2012-02-07 Marek Polacek <polacek@redhat.com>
38787 * math/Makefile (tests): Add tst-CMPLX2.
38788 * math/tst-CMPLX2.c: New file.
38790 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38792 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38794 * math/libm-test.inc (jn_test): Add missing L suffix.
38796 2012-02-06 Marek Polacek <polacek@redhat.com>
38798 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38799 * sysdeps/i386/fpu/e_powf.S: Likewise.
38800 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38801 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38802 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38803 * sysdeps/i386/fpu/e_pow.S: Likewise.
38804 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38805 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38806 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38807 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38808 * sysdeps/i386/fpu/e_log2.S: Likewise.
38809 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38810 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38811 * sysdeps/i386/fpu/e_powl.S: Likewise.
38812 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38813 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38814 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38815 * sysdeps/i386/fpu/e_logl.S: Likewise.
38816 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38817 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38818 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38819 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38820 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38821 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38822 * sysdeps/i386/fpu/e_log.S: Likewise.
38823 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38824 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38825 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38826 * sysdeps/i386/fpu/e_logf.S: Likewise.
38827 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38828 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38829 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38830 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38831 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38832 * sysdeps/i386/fpu/e_log10.S: Likewise.
38833 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38834 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38835 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38836 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38837 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38838 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38839 * sysdeps/i386/asm-syntax.h: Likewise.
38840 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38841 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38842 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38843 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38844 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38845 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38846 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38847 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38848 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38849 * sysdeps/powerpc/sysdep.h: Likewise.
38850 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38851 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38853 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38856 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38858 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38860 * sysdeps/i386/sysdep.h: Include <features.h>.
38861 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38864 2012-02-05 Joseph Myers <joseph@codesourcery.com>
38866 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38868 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38871 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38873 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38874 (SETUP_PIC_REG): Use GET_PC_THUNK.
38875 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38878 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38880 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38881 for non-PIC compilation.
38882 (SETUP_PIC_REG): Add .p2align directive.
38883 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38884 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38885 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38886 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38887 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38888 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38889 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38890 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38891 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38892 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38893 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38894 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38895 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38896 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38897 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38898 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38899 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38900 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38901 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38902 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38903 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38904 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38905 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38906 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38907 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38909 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38910 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38911 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38912 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38913 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38914 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38915 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38916 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38917 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38918 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38919 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38920 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38921 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38922 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38923 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38925 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38927 * math/tst-CMPLX.c: Include <stdio.h>.
38929 2012-01-31 Joseph Myers <joseph@codesourcery.com>
38931 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38933 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38934 * sysdeps/sparc/bits/mathdef.h: Likewise.
38936 2012-01-31 Marek Polacek <polacek@redhat.com>
38938 * libio/libio.h: Don't define _PARAMS.
38939 * locale/programs/config.h: Don't define PARAMS.
38940 * stdlib/strtol_l.c: Likewise.
38941 (__strtol_l): Remove PARAMS from the prototype.
38943 2012-01-31 Ulrich Drepper <drepper@gmail.com>
38945 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38946 names. Just use the correct names. Remove unnecessary wrapper
38948 * malloc/arena.c: Likewise.
38949 * malloc/hooks.c: Likewise.
38951 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38952 ARENA_TEST says not to. Simplify test for creation of a new arena.
38953 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38955 2012-01-30 Ulrich Drepper <drepper@gmail.com>
38957 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38959 (update_get_addr): New function.
38960 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38961 GET_ADDR_MODULE parameter.
38963 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38965 * crypt/cert.c: Remove __STDC__ conditionals.
38966 * crypt/crypt-entry.c: Likewise.
38967 * crypt/crypt_util.c: Likewise.
38968 * libio/filedoalloc.c: Likewise.
38969 * libio/fileops.c: Likewise.
38970 * libio/genops.c: Likewise.
38971 * libio/iofclose.c: Likewise.
38972 * libio/iofdopen.c: Likewise.
38973 * libio/iofopen.c: Likewise.
38974 * libio/iofopen64.c: Likewise.
38975 * libio/iogetdelim.c: Likewise.
38976 * libio/iopopen.c: Likewise.
38977 * libio/obprintf.c: Likewise.
38978 * libio/oldfileops.c: Likewise.
38979 * libio/oldiofclose.c: Likewise.
38980 * libio/oldiofdopen.c: Likewise.
38981 * libio/oldiofopen.c: Likewise.
38982 * libio/oldiopopen.c: Likewise.
38983 * libio/wfiledoalloc.c: Likewise.
38984 * libio/wgenops.c: Likewise.
38985 * locale/programs/xmalloc.c: Likewise.
38986 * misc/syslog.c: Likewise.
38987 * stdio-common/xbug.c: Likewise.
38988 * string/memchr.c: Likewise.
38989 * string/memcmp.c: Likewise.
38990 * string/memrchr.c: Likewise.
38991 * string/rawmemchr.c: Likewise.
38992 * sysdeps/posix/getcwd.c: Likewise.
38993 * time/strftime_l.c: Likewise.
38995 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38997 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38998 * config.make.in (config-cflags-sse2avx): Define.
38999 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39002 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
39004 * scripts/config.guess: Update from upstream config git repository.
39005 * scripts/config.sub: Likewise.
39007 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
39009 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39011 (R_TILEPRO_*, R_TILEGX_*): New macros.
39013 * scripts/firstversions.awk: Fix bug in version range handling.
39015 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39017 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39019 * include/sys/epoll.h: New file.
39020 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39023 2012-01-28 Ulrich Drepper <drepper@gmail.com>
39025 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39026 Avoid unnecessary __WORDSIZE == 64 test.
39027 (fmaxf): Use VEX format if possible.
39032 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39033 * math/math_private.h: Remove libc_fegetround* and
39035 * sysdeps/i386/configure.in: Check for -msse2avx.
39036 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39037 also if SSE2AVX is defined.
39038 Remove libc_fegetround* and libc_fesetround*.
39039 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39040 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
39041 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39043 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39044 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39045 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39046 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39047 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39049 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39051 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39053 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39055 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39057 2012-01-27 Ulrich Drepper <drepper@gmail.com>
39060 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39062 * Makeconfig (libm): Define.
39063 * elf/Makefile: Add rules to build and run tst-relsort1.
39064 * elf/tst-relsort1.c: New file.
39065 * elf/tst-relsort1mod1.c: New file.
39066 * elf/tst-relsort1mod2.c: New file.
39068 2012-01-27 Joseph Myers <joseph@codesourcery.com>
39070 * math/s_ldexp.c: Remove __STDC__ conditionals.
39071 * math/s_ldexpf.c: Likewise.
39072 * math/s_ldexpl.c: Likewise.
39073 * math/s_nextafter.c: Likewise.
39074 * math/s_nexttowardf.c: Likewise.
39075 * math/s_significand.c: Likewise.
39076 * math/s_significandf.c: Likewise.
39077 * math/s_significandl.c: Likewise.
39078 * math/w_jnl.c: Likewise.
39079 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39080 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39081 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39082 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39083 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39084 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39085 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39086 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39087 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39088 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39089 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39090 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39091 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39092 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39093 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39094 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39095 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39096 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39098 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39099 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39100 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39101 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39102 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39103 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39104 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39105 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39106 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39107 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39108 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39109 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39110 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39111 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39112 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39113 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39114 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39115 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39116 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39117 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39118 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39119 * sysdeps/ieee754/k_standard.c: Likewise.
39120 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39121 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39122 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39123 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39124 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39125 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39126 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39127 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39128 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39129 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39130 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39131 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39132 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39133 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39134 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39135 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39136 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39137 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39138 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39139 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39140 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39141 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39142 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39143 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39144 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39145 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39146 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39147 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39148 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39149 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39150 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39151 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39152 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39153 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39154 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39155 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39156 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39157 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39158 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39159 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39160 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39161 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39162 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39163 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39164 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39165 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39166 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39167 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39168 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39169 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39170 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39171 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39172 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39173 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39174 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39175 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39176 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39177 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39178 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39179 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39180 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39181 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39182 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39183 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39184 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39185 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39186 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39187 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39188 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39189 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39190 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39191 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39192 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39193 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39194 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39195 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39196 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39197 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39198 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39199 * sysdeps/ieee754/s_matherr.c: Likewise.
39200 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39201 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39202 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39203 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39205 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39207 * crypt/md5.h: Remove __STDC__ conditionals.
39208 * libio/libioP.h: Likewise.
39209 * locale/programs/config.h: Likewise.
39210 * sysdeps/generic/sysdep.h: Likewise.
39211 * sysdeps/i386/asm-syntax.h: Likewise.
39212 * sysdeps/s390/asm-syntax.h: Likewise.
39213 * sysdeps/unix/sysdep.h: Likewise.
39214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39217 2012-01-26 Joseph Myers <joseph@codesourcery.com>
39219 * libio/libio.h: Remove __STDC__ conditionals.
39220 * malloc/obstack.h: Likewise.
39221 * math/complex.h: Likewise.
39222 * math/math.h: Likewise.
39223 * sysdeps/generic/_G_config.h: Likewise.
39224 * sysdeps/gnu/_G_config.h: Likewise.
39225 * sysdeps/mach/hurd/_G_config.h: Likewise.
39226 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39227 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39228 * sysdeps/sparc/bits/mathdef.h: Likewise.
39230 2012-01-26 Ulrich Drepper <drepper@gmail.com>
39233 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39234 Clean up HAS_* macros.
39235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39236 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39238 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39240 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39241 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39242 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39243 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39244 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39246 2012-01-25 Joseph Myers <joseph@codesourcery.com>
39248 * elf/tst-unique3.cc (gets): Remove declaration.
39249 * elf/tst-unique3lib.cc (gets): Likewise.
39250 * elf/tst-unique3lib2.cc (gets): Likewise.
39251 * elf/tst-unique4.cc (gets): Likewise.
39253 2012-01-24 Ulrich Drepper <drepper@gmail.com>
39255 * include/stdio.h: Add C++ protection. Add gets declarations and
39257 * debug/tst-chk1.c: Don't declare gets here.
39258 * stdio-common/tst-gets.c: Likewise.
39260 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39262 * posix/glob: Remove directory.
39264 2012-01-24 Joseph Myers <joseph@codesourcery.com>
39266 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39268 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
39270 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39271 of the non-standard EPFNOSUPPORT.
39273 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
39275 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39276 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39277 ANYWHERE set to 1 only on KERN_NO_SPACE error.
39279 2012-01-21 Ulrich Drepper <drepper@gmail.com>
39281 * wcsmbs/uchar.h: Test __STDC_VERSION__.
39283 2012-01-20 Ulrich Drepper <drepper@gmail.com>
39285 * nscd/aicache.c (addhstaiX): Do not cache negative results of
39287 * nscd/grpcache.c (cache_addgr): Likewise.
39288 * nscd/hstcache.c (cache_addhst): Likewise.
39289 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39290 * nscd/pwdcache.c (cache_addpw): Likewise.
39291 * nscd/servicescache.c (cache_addserv): Likewise.
39293 2012-01-16 Ulrich Drepper <drepper@gmail.com>
39295 * malloc/malloc.c: Various cleanups.
39296 * malloc/hooks.c: Likewise.
39298 * stdlib/Makefile (tests): Add bug-fmtmsg1.
39299 * stdlib/bug-fmtmsg1.c: New file.
39301 * stdlib/fmtmsg.c (init): Add missing unlock.
39302 Patch by Peng Haitao <penght@cn.fujitsu.com>.
39304 2012-01-12 Marek Polacek <polacek@redhat.com>
39306 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39309 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39311 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39312 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39313 macro to ensure uniqueness of label name.
39314 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39315 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39317 2012-01-11 Ulrich Drepper <drepper@gmail.com>
39319 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39321 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39322 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39323 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39324 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39326 2012-01-10 Ulrich Drepper <drepper@gmail.com>
39328 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39330 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39331 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39332 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39334 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39336 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39337 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39338 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39339 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39341 * math/bits/math-finite.h: Add ldexp support.
39343 2012-01-10 Marek Polacek <polacek@redhat.com>
39345 * locale/programs/localedef.h (show_archive_content): Add noreturn
39348 2012-01-09 Ulrich Drepper <drepper@gmail.com>
39350 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39352 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39354 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39356 * io/Makefile (headers): Add bits/poll2.h.
39358 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
39360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39361 typo #include statement.
39363 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39365 * include/sys/cdefs.h: Define __attribute_alloc_size.
39366 * catgets/gencat.c: Add alloc_size attribute and apply consistently
39367 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39368 * elf/pldd.c: Likewise.
39369 * iconv/iconv_charmap.c: Likewise.
39370 * iconv/iconvconfig.c: Likewise.
39371 * iconv/strtab.c: Likewise.
39372 * locale/programs/locale.c: Likewise.
39373 * locale/programs/localedef.h: Likewise.
39374 * locale/programs/simple-hash.c: Likewise.
39375 * nscd/nscd.h: Likewise.
39376 * nss/makedb.c: Likewise.
39377 * sysdeps/generic/ldconfig.h: Likewise.
39378 * locale/programs/localedef.c: Remove xmalloc prototype.
39379 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39381 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
39383 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39386 2012-01-08 Ulrich Drepper <drepper@gmail.com>
39388 * math/Makefile (tests): Add tst-CMPLX.
39389 * math/tst-CMPLX.c: New file.
39391 * math/complex.h (CMPLXL): Fix typo.
39393 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39394 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39396 * debug/tst-chk1.c: Add poll and ppoll tests.
39397 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39398 * include/sys/poll.h: Add hidden proto for ppoll.
39399 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39400 * sysdeps/mach/hurd/ppoll.c: Likewise.
39401 * io/ppoll.c: Likewise.
39402 * debug/poll_chk.c: New file.
39403 * debug/ppoll_chk.c: New file.
39404 * include/bits/poll2.h: New file.
39405 * io/bits/poll2.h: New file.
39408 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39410 * configure.in: static is always set to yes. Remove.
39411 * config.make.in: Don't set build-static.
39412 * Makeconfig: Remove use of build-static.
39413 * dlfcn/Makefile: Likewise.
39414 * elf/Makefile: Likewise.
39415 * math/Makefile: Likewise.
39416 * misc/Makefile: Likewise.
39417 * nptl/Makefile: Likewise.
39418 * sysdeps/mach/hurd/Makefile: Likewise.
39420 * configure.in: PWD_P is not used anymore.
39421 * config.make.in: Remove PWD_P entry.
39423 * configure.in: Remove last remnants of RANLIB.
39424 No need to check for signed size_t anymore.
39425 Don't set libc_commonpagesize and libc_relro_required here for Alpha
39427 Remove __builtin_expect test because we require at least gcc 3.4.
39428 * aclocal.m4: Likewise.
39430 * wcsmbs/mbrtoc16.c: Implement using towc function.
39431 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39432 * wcsmbs/wcsmbsload.c: Likewise.
39433 * iconv/gconv_simple.c: Likewise.
39434 * iconv/gconv_int.h: Likewise.
39435 * iconv/gconv_builtin.h: Likewise.
39436 * iconv/iconv_prog.c: Remove CHAR16 handling.
39438 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39440 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39442 * configure.in: Remove --with-elf and --enable-bounded options.
39443 Dont set base_machine for ia64. More non-ELF conditions removed.
39444 Remove testing and setting of leading underscore information.
39445 * config.make.in (build-bounded): Set to no.
39446 * config.h.in: Remove NO_UNDERSCORES entry.
39447 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
39449 * csu/start.c: Remove !NO_UNDERSCORE code.
39450 * locale/localeinfo.h: Likewise.
39451 * sysdeps/generic/machine-gmon.h: Likewise.
39452 * sysdeps/generic/sysdep.h: Likewise.
39453 * sysdeps/i386/sysdep.h: Likewise.
39454 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39455 * sysdeps/mach/sysdep.h: Likewise.
39456 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39457 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39458 * sysdeps/sh/sysdep.h: Likewise.
39459 * sysdeps/sparc/sparc32/alloca.S: Likewise.
39460 * sysdeps/unix/i386/sysdep.S: Likewise.
39461 * sysdeps/unix/sparc/start.c: Likewise.
39462 * sysdeps/unix/sparc/sysdep.S: Likewise.
39463 * sysdeps/unix/sparc/sysdep.h: Likewise.
39464 * sysdeps/unix/start.c: Likewise.
39465 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39466 * sysdeps/x86_64/sysdep.h: Likewise.
39468 2012-01-07 Ulrich Drepper <drepper@gmail.com>
39471 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39473 * argp/argp-fmtstream.h: Use const instead __const.
39474 * argp/argp.h: Likewise.
39475 * assert/assert.h: Likewise.
39476 * bits/fenv.h: Likewise.
39477 * bits/sched.h: Likewise.
39478 * bits/sigset.h: Likewise.
39479 * bits/sigthread.h: Likewise.
39480 * catgets/nl_types.h: Likewise.
39481 * conform/data/pthread.h-data: Likewise.
39482 * crypt/crypt-private.h: Likewise.
39483 * crypt/crypt.h: Likewise.
39484 * crypt/crypt_util.c: Likewise.
39485 * ctype/ctype.h: Likewise.
39486 * debug/execinfo.h: Likewise.
39487 * debug/mbsnrtowcs_chk.c: Likewise.
39488 * debug/mbsrtowcs_chk.c: Likewise.
39489 * debug/wcsnrtombs_chk.c: Likewise.
39490 * debug/wcsrtombs_chk.c: Likewise.
39491 * debug/wcstombs_chk.c: Likewise.
39492 * dirent/dirent.h: Likewise.
39493 * dlfcn/dlfcn.h: Likewise.
39494 * elf/neededtest4.c: Likewise.
39495 * grp/grp.h: Likewise.
39496 * gshadow/gshadow.h: Likewise.
39497 * iconv/gconv.h: Likewise.
39498 * iconv/gconv_int.h: Likewise.
39499 * iconv/gconv_simple.c: Likewise.
39500 * iconv/iconv.h: Likewise.
39501 * iconv/loop.c: Likewise.
39502 * iconv/skeleton.c: Likewise.
39503 * include/aio.h: Likewise.
39504 * include/aliases.h: Likewise.
39505 * include/argz.h: Likewise.
39506 * include/arpa/inet.h: Likewise.
39507 * include/assert.h: Likewise.
39508 * include/dirent.h: Likewise.
39509 * include/dlfcn.h: Likewise.
39510 * include/execinfo.h: Likewise.
39511 * include/fcntl.h: Likewise.
39512 * include/fenv.h: Likewise.
39513 * include/glob.h: Likewise.
39514 * include/grp.h: Likewise.
39515 * include/libintl.h: Likewise.
39516 * include/mntent.h: Likewise.
39517 * include/netdb.h: Likewise.
39518 * include/pwd.h: Likewise.
39519 * include/rpc/netdb.h: Likewise.
39520 * include/sched.h: Likewise.
39521 * include/search.h: Likewise.
39522 * include/shadow.h: Likewise.
39523 * include/signal.h: Likewise.
39524 * include/stdio.h: Likewise.
39525 * include/stdlib.h: Likewise.
39526 * include/string.h: Likewise.
39527 * include/sys/socket.h: Likewise.
39528 * include/sys/stat.h: Likewise.
39529 * include/sys/statfs.h: Likewise.
39530 * include/sys/statvfs.h: Likewise.
39531 * include/sys/syslog.h: Likewise.
39532 * include/sys/time.h: Likewise.
39533 * include/sys/uio.h: Likewise.
39534 * include/time.h: Likewise.
39535 * include/unistd.h: Likewise.
39536 * include/utmp.h: Likewise.
39537 * include/wchar.h: Likewise.
39538 * include/wctype.h: Likewise.
39539 * inet/aliases.h: Likewise.
39540 * inet/arpa/inet.h: Likewise.
39541 * inet/netinet/ether.h: Likewise.
39542 * inet/netinet/in.h: Likewise.
39543 * intl/libintl.h: Likewise.
39544 * io/bits/fcntl2.h: Likewise.
39545 * io/fcntl.h: Likewise.
39546 * io/ftw.h: Likewise.
39547 * io/sys/poll.h: Likewise.
39548 * io/sys/stat.h: Likewise.
39549 * io/sys/statfs.h: Likewise.
39550 * io/sys/statvfs.h: Likewise.
39551 * io/utime.h: Likewise.
39552 * libio/bits/stdio.h: Likewise.
39553 * libio/bits/stdio2.h: Likewise.
39554 * libio/libio.h: Likewise.
39555 * libio/libioP.h: Likewise.
39556 * libio/stdio.h: Likewise.
39557 * locale/lc-ctype.c: Likewise.
39558 * locale/locale.h: Likewise.
39559 * login/utmp.h: Likewise.
39560 * malloc/arena.c: Likewise.
39561 * malloc/malloc.c: Likewise.
39562 * malloc/malloc.h: Likewise.
39563 * malloc/mcheck.c: Likewise.
39564 * malloc/mtrace.c: Likewise.
39565 * math/bits/mathcalls.h: Likewise.
39566 * math/fenv.h: Likewise.
39567 * math/math_private.h: Likewise.
39568 * misc/bits/error.h: Likewise.
39569 * misc/bits/syslog.h: Likewise.
39570 * misc/err.h: Likewise.
39571 * misc/error.h: Likewise.
39572 * misc/fstab.h: Likewise.
39573 * misc/mntent.h: Likewise.
39574 * misc/regexp.h: Likewise.
39575 * misc/search.h: Likewise.
39576 * misc/sgtty.h: Likewise.
39577 * misc/sys/mman.h: Likewise.
39578 * misc/sys/syslog.h: Likewise.
39579 * misc/sys/uio.h: Likewise.
39580 * misc/sys/xattr.h: Likewise.
39581 * misc/ttyent.h: Likewise.
39582 * nis/rpcsvc/ypclnt.h: Likewise.
39583 * nss/nss.h: Likewise.
39584 * posix/bits/unistd.h: Likewise.
39585 * posix/fnmatch.h: Likewise.
39586 * posix/glob.h: Likewise.
39587 * posix/sched.h: Likewise.
39588 * posix/spawn.h: Likewise.
39589 * posix/sys/wait.h: Likewise.
39590 * posix/unistd.h: Likewise.
39591 * posix/wordexp.h: Likewise.
39592 * pwd/pwd.h: Likewise.
39593 * resolv/netdb.h: Likewise.
39594 * resource/sys/resource.h: Likewise.
39595 * rt/aio.h: Likewise.
39596 * rt/bits/mqueue2.h: Likewise.
39597 * rt/mqueue.h: Likewise.
39598 * shadow/shadow.h: Likewise.
39599 * signal/signal.h: Likewise.
39600 * socket/send.c: Likewise.
39601 * socket/sendto.c: Likewise.
39602 * socket/sys/socket.h: Likewise.
39603 * stdio-common/printf.h: Likewise.
39604 * stdlib/bits/stdlib.h: Likewise.
39605 * stdlib/fmtmsg.h: Likewise.
39606 * stdlib/monetary.h: Likewise.
39607 * stdlib/stdlib.h: Likewise.
39608 * stdlib/ucontext.h: Likewise.
39609 * streams/stropts.h: Likewise.
39610 * string/argz.h: Likewise.
39611 * string/bits/string2.h: Likewise.
39612 * string/string.h: Likewise.
39613 * string/strings.h: Likewise.
39614 * sunrpc/rpc/auth.h: Likewise.
39615 * sunrpc/rpc/auth_des.h: Likewise.
39616 * sunrpc/rpc/clnt.h: Likewise.
39617 * sunrpc/rpc/netdb.h: Likewise.
39618 * sunrpc/rpc/pmap_clnt.h: Likewise.
39619 * sunrpc/rpc/xdr.h: Likewise.
39620 * sysdeps/generic/inttypes.h: Likewise.
39621 * sysdeps/generic/net/if.h: Likewise.
39622 * sysdeps/generic/sys/swap.h: Likewise.
39623 * sysdeps/gnu/net/if.h: Likewise.
39624 * sysdeps/gnu/utmpx.h: Likewise.
39625 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39626 * sysdeps/i386/i486/bits/string.h: Likewise.
39627 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39628 * sysdeps/s390/bits/string.h: Likewise.
39629 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39630 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39631 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39632 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39633 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39634 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39635 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39636 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39637 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39638 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39639 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39640 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39641 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39642 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39643 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39644 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39645 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39646 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39647 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39648 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39649 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39650 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39651 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39652 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39653 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39654 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39655 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39656 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39657 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39658 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39659 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39660 * sysvipc/sys/ipc.h: Likewise.
39661 * sysvipc/sys/msg.h: Likewise.
39662 * sysvipc/sys/sem.h: Likewise.
39663 * sysvipc/sys/shm.h: Likewise.
39664 * termios/termios.h: Likewise.
39665 * time/sys/time.h: Likewise.
39666 * time/time.h: Likewise.
39667 * wcsmbs/bits/wchar2.h: Likewise.
39668 * wcsmbs/uchar.h: Likewise.
39669 * wcsmbs/wchar.h: Likewise.
39670 * wctype/wctype.h: Likewise.
39673 * Makeconfig: Remove all but ELF support including AIX support.
39674 * Makerules: Likewise.
39675 * config.h.in: Likewise.
39676 * config.make.in: Likewise.
39677 * configure: Likewise.
39678 * configure.in: Likewise.
39679 * csu/Makefile: Likewise.
39680 * csu/version.c: Likewise.
39681 * debug/Makefile: Likewise.
39682 * dlfcn/Makefile: Likewise.
39683 * elf/Makefile: Likewise.
39684 * extra-lib.mk: Likewise.
39685 * iconv/Makefile: Likewise.
39686 * include/libc-symbols.h: Likewise.
39687 * include/shlib-compat.h: Likewise.
39688 * resolv/Makefile: Likewise.
39689 * resolv/res_libc.c: Likewise.
39690 * rt/Makefile: Likewise.
39691 * sysdeps/i386/asm-syntax.h: Likewise.
39692 * sysdeps/i386/sysdep.h: Likewise.
39693 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39694 * sysdeps/mach/sysdep.h: Likewise.
39695 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39696 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39697 * sysdeps/s390/asm-syntax.h: Likewise.
39698 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39699 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39700 * sysdeps/sh/sysdep.h: Likewise.
39701 * sysdeps/unix/sparc/sysdep.h: Likewise.
39702 * sysdeps/wordsize-32/divdi3.c: Likewise.
39703 * sysdeps/x86_64/sysdep.h: Likewise.
39705 * argp/Versions: Remove _argp_unlock_xxx.
39708 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39709 * abilist/libBrokenLocale.abilist: Likewise.
39710 * abilist/libanl.abilist: Likewise.
39711 * abilist/libc.abilist: Likewise.
39712 * abilist/libcrypt.abilist: Likewise.
39713 * abilist/libdl.abilist: Likewise.
39714 * abilist/libm.abilist: Likewise.
39715 * abilist/libnsl.abilist: Likewise.
39716 * abilist/libpthread.abilist: Likewise.
39717 * abilist/libresolv.abilist: Likewise.
39718 * abilist/librt.abilist: Likewise.
39719 * abilist/libthread_db.abilist: Likewise.
39720 * abilist/libutil.abilist: Likewise.
39721 * abilist/libnss_db.abilist: New file.
39723 * scripts/abilist.awk: Add support for indirect functions.
39725 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39727 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39729 * shlib-versions: Remove entries for ports architectures.
39731 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39733 * elf/stackguard-macros.h: Remove support for IA-64.
39734 * elf/tst-auditmod1.c: Likewise.
39735 * sysdeps/generic/ldsodefs.h: Likewise.
39737 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39738 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39742 * configure.in: Remove --enable-omitfp support.
39744 * config.make.in: Likewise.
39745 * Makeconfig: Likewise.
39746 * manual/install.texi: Likewise.
39748 In case anyone cares, the IA-64 architecture could move to ports.
39749 * sysdeps/ia64/*: Removed.
39750 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39751 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39754 * configure.in: Remove entries for unsupported architectures.
39757 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39758 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39760 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39761 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39762 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39763 fall back to using wcrtomb.
39764 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39765 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39767 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39768 * wcsmbs/tst-c16c32-1.c: New file.
39770 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39773 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39775 * elf/tst-unique3.cc: Add explicit declaration of gets.
39776 * elf/tst-unique3lib.cc: Likewise.
39777 * elf/tst-unique3lib2.cc: Likewise.
39778 * elf/tst-unique4.cc: Likewise.
39780 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39782 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39785 * assert/assert.h (static_assert): Don't define for C++.
39786 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39787 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39789 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39791 * iconv/loop.c (single loop): Fix assertion in storing of
39794 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39796 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39798 * posix/getconf.c: Update copyright year.
39799 * nss/getent.c: Likewise.
39800 * nss/makedb.c: Likewise.
39801 * iconv/iconvconfig.c: Likewise.
39802 * iconv/iconv_prog.c: Likewise.
39803 * elf/ldconfig.c: Likewise.
39804 * elf/pldd.c: Likewise.
39805 * elf/sotruss.ksh: Likewise.
39806 * catgets/gencat.c: Likewise.
39807 * csu/version.c: Likewise.
39808 * elf/ldd.bash.in: Likewise.
39809 * elf/sprof.c (print_version): Likewise.
39810 * locale/programs/locale.c: Likewise.
39811 * locale/programs/localedef.c: Likewise.
39812 * login/programs/pt_chown.c: Likewise.
39813 * nscd/nscd.c (print_version): Likewise.
39814 * debug/xtrace.sh: Likewise.
39815 * malloc/memusage.sh: Likewise.
39816 * malloc/mtrace.pl: Likewise.
39817 * debug/catchsegv.sh: Likewise.
39819 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39821 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39824 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39827 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39828 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39830 * iconv/gconv_int.h: Likewise.
39831 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39832 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39833 from libc for GLIBC_2.16.
39834 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39835 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39836 * wcsmbs/uchar.h: Really define mbstate_t.
39837 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39838 * wcsmbs/c16rtomb.c: New file.
39839 * wcsmbs/mbrtoc16.c: New file.
39840 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39841 for C/POSIX locale.
39842 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39843 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39845 * wcsmbs/wchar.h: Add missing __restrict.
39847 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39850 * time/Makefile (routines): Add timespec_get.
39851 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39852 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39853 timespec for ISO C11.
39854 * time/timespec_get.c: New file.
39855 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39856 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39859 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39860 * stdlib/stdlib.h: Declare aligned_alloc.
39861 * Versions.def: Add GLIBC_2.16 for libc.
39862 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39865 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39868 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39872 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39875 * assert/assert.h (static_assert): Define.
39877 * version.h: Update for 2.16 development version.
39880 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39883 * version.h (RELEASE): Bump for 2.15 release.
39884 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39886 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39887 Patch by Marek Polacek <mpolacek@redhat.com>.
39889 * bits/byteswap.h: Protect long long constants with __extension__.
39890 * sysdeps/i386/bits/byteswap.h: Likewise.
39891 * sysdeps/ia64/bits/byteswap.h: Likewise.
39892 * sysdeps/s390/bits/byteswap.h: Likewise.
39893 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39895 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39898 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39899 destination buffer.
39900 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39902 2011-12-23 Marek Polacek <polacek@redhat.com>
39904 * elf/dl-addr.c (determine_info): Add inline keyword.
39905 * elf/tst-auditmod4b.c (check_avx): Likewise.
39906 * elf/tst-auditmod6b.c (check_avx): Likewise.
39907 * elf/tst-auditmod6c.c (check_avx): Likewise.
39908 * elf/tst-auditmod7b.c (check_avx): Likewise.
39910 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39912 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39915 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39918 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39919 processing for last bytes.
39921 2011-08-06 Bruno Haible <bruno@clisp.org>
39924 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39925 U+0385, not to U+1FEE.
39928 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39929 entry for U+00A5 U+0301.
39931 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39934 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39935 buffer for the output is too small.
39937 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39941 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39942 SSE flags if possible.
39944 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39947 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39948 processing for last bytes.
39950 2011-12-22 Joseph Myers <joseph@codesourcery.com>
39952 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39953 (syscall-list-default-options, syscall-list-default-condition)
39954 (syscall-list-includes): Define.
39955 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39956 list of ABIs and options and #if conditions for each ABI. Do not
39957 handle common syscalls between ABIs specially.
39958 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39960 (syscall-list-variants, syscall-list-32bit-options)
39961 (syscall-list-32bit-condition, syscall-list-64bit-options)
39962 (syscall-list-64bit-condition): Define.
39963 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39964 (syscall-list-variants, syscall-list-32bit-options)
39965 (syscall-list-32bit-condition, syscall-list-64bit-options)
39966 (syscall-list-64bit-condition): Define.
39967 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39969 (syscall-list-variants, syscall-list-32bit-options)
39970 (syscall-list-32bit-condition, syscall-list-64bit-options)
39971 (syscall-list-64bit-condition): Define.
39972 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39974 (syscall-list-variants, syscall-list-32bit-options)
39975 (syscall-list-32bit-condition, syscall-list-64bit-options)
39976 (syscall-list-64bit-condition): Define.
39978 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39980 * locale/iso-639.def: Add brx entry.
39983 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39984 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39986 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39987 __feraiseexcept_renamed.
39989 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39992 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39993 EPOLLET with unsigned values.
39994 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39995 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39997 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39998 to large cancellation.
39999 * math/s_cacoshf.c: Likewise.
40000 * math/s_cacoshl.c: Likewise.
40002 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
40006 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40007 * math/s_cacoshf.c: Likewise.
40008 * math/s_cacoshl.c: Likewise.
40010 2011-12-21 Ulrich Drepper <drepper@gmail.com>
40013 * iconv/gconv.h: Define __GCONV_SWAP.
40014 * iconvdata/unicode.c: The swap bit must be stored in __flags.
40015 * iconvdata/utf-16.c: Likewise.
40016 * iconvdata/utf-32.c: Likewise.
40018 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
40021 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40022 numerator after shifting it by one limb.
40024 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
40026 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40027 under [__USE_EXTERN_INLINES].
40029 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40032 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40034 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40036 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40037 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40039 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40040 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40041 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40042 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40043 for strncasecmp/strncasecmp_l compilation.
40044 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40045 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40047 2011-12-08 Marek Polacek <mpolacek@redhat.com>
40050 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40053 2011-12-17 Ulrich Drepper <drepper@gmail.com>
40056 * time/tzfile.c (__tzfile_read): Check values from file header.
40058 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
40060 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40061 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40062 * powerpc/powerpc32/dl-start.S: Likewise.
40063 * powerpc/powerpc32/elf/start.S: Likewise.
40064 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40065 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40066 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40067 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40068 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40069 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40070 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40071 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40072 * powerpc/powerpc32/fpu/s_round.S: Likewise.
40073 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40074 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40075 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40076 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40077 * powerpc/powerpc32/memset.S: Likewise.
40078 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40079 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40080 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40081 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40082 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40083 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40084 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40085 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40086 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40087 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40088 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40089 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40090 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40092 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40094 * math/libm-test.inc: Added more nearbyint tests.
40095 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40096 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40097 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40098 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40100 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
40102 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40105 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40107 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40108 Add wcscpy-ssse3 wcscpy-c.
40109 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40110 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40111 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40112 * sysdeps/x86_64/wcschr.S: New file.
40113 * sysdeps/x86_64/wcsrchr.S: New file.
40114 * string/test-strcmp.c: Remove checking of wcscmp function for
40116 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40117 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40118 wcsrchr-sse2 wcsrchr-c.
40119 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40120 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40121 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40122 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40123 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40124 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40125 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40126 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40127 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40128 * wcsmbc/wcschr.c (WCSCHR): New macro.
40130 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40132 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40133 * wcsmbs/test-wcsrchr.c: New file.
40134 * string/test-strrchr.c: Add wcsrchr support.
40136 * wcsmbs/test-wcscpy.c: New file.
40137 * string/test-strcpy.c: Add wcscpy support.
40140 2011-12-10 Ulrich Drepper <drepper@gmail.com>
40142 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40145 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
40148 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40150 2011-12-04 Ulrich Drepper <drepper@gmail.com>
40152 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40153 Minor optimizations.
40155 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40156 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40157 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40159 2011-12-03 Ulrich Drepper <drepper@gmail.com>
40161 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40162 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40163 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40164 for gcc to avoid warnings.
40165 * inet/Makefile (tests): Add tst-checks.
40166 * inet/tst-checks.c: New file.
40168 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40171 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40174 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40175 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40177 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40179 2011-12-02 Ulrich Drepper <drepper@gmail.com>
40181 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40184 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40186 2011-11-29 Joseph Myers <joseph@codesourcery.com>
40188 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40189 conditional on GCC version.
40190 (__arch_compare_and_exchange_val_8_acq)
40191 (__arch_compare_and_exchange_val_16_acq)
40192 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40193 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40194 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40196 2011-12-02 Joseph Myers <joseph@codesourcery.com>
40198 * sysdeps/sh/backtrace.c: New file.
40200 2011-12-02 Andreas Schwab <schwab@redhat.com>
40202 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
40205 2011-12-01 Andreas Schwab <schwab@redhat.com>
40207 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40208 falling back to utime.
40210 2011-11-30 Andreas Schwab <schwab@redhat.com>
40212 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40213 expectations for float.
40215 2011-11-29 Andreas Schwab <schwab@redhat.com>
40217 * locale/weight.h (findidx): Add parameter len.
40218 * locale/weightwc.h (findidx): Likewise.
40219 * posix/fnmatch_loop.c (FCT): Adjust caller.
40220 * posix/regcomp.c (build_equiv_class): Likewise.
40221 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40222 * posix/regexec.c (check_node_accept_bytes): Likewise.
40223 * string/strcoll_l.c (STRCOLL): Likewise.
40224 * string/strxfrm_l.c (STRXFRM): Likewise.
40226 2011-11-17 Ulrich Drepper <drepper@gmail.com>
40228 * Makefile.in: Remove CVSOPT handling.
40229 * configure.in: Remove use of AC_REVISION.
40230 * iconvdata/Makefile (distribute): No need to filter out CVS.
40231 * scripts/list-sources.sh: Remove CVS, subversion and monotone
40234 2011-11-16 Andreas Schwab <schwab@redhat.com>
40236 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40237 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40238 [USE_AS_STRNCASECMP_L]: Likewise.
40239 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40240 NO_TLS_DIRECT_SEG_REFS.
40241 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40242 Fix argument offsets for non-PIC.
40243 [USE_AS_STRNCASECMP_L]: Likewise.
40244 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40245 NO_TLS_DIRECT_SEG_REFS.
40247 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40249 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40251 * locale/loadlocale.c (_nl_load_locale): Likewise.
40253 2011-11-15 Andreas Schwab <schwab@redhat.com>
40255 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40256 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40257 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40258 (SYSCALL_GETTIME): Set errno on error.
40260 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40261 count references to noai6ai_cached.
40263 2011-11-15 Ulrich Drepper <drepper@gmail.com>
40265 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40267 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40268 FD_CLOEXEC for /proc/self/maps.
40270 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40271 FD_CLOEXEC for /proc/meminfo.
40273 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40276 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
40277 FD_CLOEXEC for given file.
40279 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40281 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40282 FD_CLOEXEC for /etc/hosts.
40283 (_gethtent): Likewise.
40285 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40287 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40288 cancellation and set FD_CLOEXEC for /etc/netgroup.
40290 * nss/nss_files/files-key.c (search): Don't allow cancellation when
40291 reading /etc/publickey.
40293 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40294 allow cancellation when reading /etc/group.
40296 * nss/nss_files/files-alias.c (internal_setent): Don't allow
40298 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
40300 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40301 when using data file.
40303 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40305 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40306 (write_nis_obj): Use "c" and "e" in fopen.
40308 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40310 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40312 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40314 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40316 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40319 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40321 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40323 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40325 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40326 file parsing and set FD_CLOEXEC.
40328 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40330 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40332 2011-11-14 Andreas Schwab <schwab@redhat.com>
40334 * malloc/arena.c (arena_get2): Don't call reused_arena when
40335 _int_new_arena failed.
40337 2011-11-14 Ulrich Drepper <drepper@gmail.com>
40339 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40340 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40341 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40342 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40343 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40344 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40345 to compile strcasecmp and strncasecmp.
40346 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40347 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40351 2011-11-13 Ulrich Drepper <drepper@gmail.com>
40353 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40354 locale-defines.sym to gen-as-const-headers.
40355 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40356 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40358 to compile strcasecmp and strncasecmp.
40359 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40360 strcasecmp_l and strncasecmp_l.
40361 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40362 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40363 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40364 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40365 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40366 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40367 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40368 * sysdeps/i386/i686/multiarch/strncase.S: New file.
40369 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40370 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40371 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40373 2011-11-12 Ulrich Drepper <drepper@gmail.com>
40375 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40376 result of SYSDEP_GETTIME_CPU to retval.
40377 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40378 parameter list to macro. Remove trailing semicolon. Adjust users.
40380 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40383 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40385 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40387 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40388 from unused variable.
40390 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40392 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40395 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40398 * sunrpc/rpc_prot.c (rejected): Fix case value.
40400 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40401 unsigned long long int to avoid warnings in shift.
40403 * posix/regex_internal.c (re_string_reconstruct): Actually use result
40405 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40408 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40409 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40410 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40412 * nis/nis_table.c (nis_list): Use variable of correct type for
40413 result of __follow_path call.
40415 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40417 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40418 of math functions ceil, trunc, floor, round, and sqrt, when
40419 avaliable on the platform.
40420 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40422 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40423 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40424 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40426 2011-10-30 Marek Polacek <mpolacek@redhat.com>
40428 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40429 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40431 2011-11-11 Roland McGrath <roland@hack.frob.com>
40433 * include/unistd.h: Fix __readlink return type.
40434 Reported by Chris Metcalf <cmetcalf@tilera.com>.
40436 2011-11-11 Ulrich Drepper <drepper@gmail.com>
40438 * stdlib/ucontext.h: Undo last change for makecontext.
40440 2011-11-11 Andreas Schwab <schwab@redhat.com>
40442 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40444 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40445 * setjmp/setjmp.h: Mark functions as non-leaf.
40446 * setjmp/bits/setjmp2.h: Likewise.
40447 * stdlib/ucontext.h: Likewise.
40449 2011-11-10 Andreas Schwab <schwab@redhat.com>
40451 * malloc/arena.c (_int_new_arena): Don't increment narenas.
40452 (reused_arena): Don't check arena limit.
40453 (arena_get2): Atomically check arena limit.
40455 2011-11-08 Ulrich Drepper <drepper@gmail.com>
40457 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40458 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40460 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40463 2011-11-07 Andreas Schwab <schwab@redhat.com>
40465 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40466 handler when locking.
40468 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40469 Fix size of allocated buffer.
40471 2011-11-04 Andreas Schwab <schwab@redhat.com>
40474 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40475 declarations for long double functions.
40476 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40478 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40480 2011-11-03 Andreas Schwab <schwab@redhat.com>
40482 * nscd/nscd.c (main): Don't start AVC thread until credentials are
40485 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40488 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
40490 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40492 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
40494 * include/alloca.h (stackinfo_alloca_round): Define.
40495 (extend_alloca): Use it.
40496 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40497 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40500 * scripts/check-local-headers.sh: Ignore libaudit.h.
40502 * nscd/Makefile (extra-objs): Make recursively expanded.
40504 2011-11-01 Ulrich Drepper <drepper@gmail.com>
40506 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40507 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40509 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40510 * posix/tst-rfc3484-2.c: Likewise.
40511 * posix/tst-rfc3484-3.c: Likewise.
40513 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40515 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40517 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40518 process_vm_writev from libc using GLIBC_2.15 version.
40520 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40522 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40524 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40527 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40530 * nss/getent.c (initgroups_keys): Show error message in case no group
40533 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40534 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40535 __bump_nl_timestamp.
40536 * nscd/connections (nscd_init): When host database is served open
40537 netlink socket and request notification about configuration changes.
40538 (main_loop_poll): Track netlink file descriptor and bump timestamp
40539 in case data becomes available.
40540 (main_loop_epoll): Likewise.
40541 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40542 (database_pers_head): Add extra_data fileds.
40543 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40544 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40545 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40547 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40548 in6ai data, call __free_in6ai.
40549 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40550 Add -DHAVE_NETLINK.
40551 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40552 interface information. Reuse previous data if netlink timestamp
40554 (__bump_nl_timestamp): New function.
40555 (__free_in6ai): New function.
40557 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40559 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40560 close_not_cancel_no_status here.
40561 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40563 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40566 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40569 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40570 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40571 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40573 2011-07-03 Andreas Jaeger <aj@suse.de>
40576 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40577 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40578 * math/libm-test.inc (sin_test): Add test case.
40580 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40583 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40584 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40586 * elf/chroot_canon.c (chroot_canon): Cleanups.
40588 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40591 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40592 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40594 * string/test-strchr.c: Make usable for strchrnul testing.
40595 * string/test-strchrnul.c: New file.
40596 * string/Makefile (strop-tests): Add strchrnul.
40598 * po/it.po: Update from translation team.
40599 * po/es.po: Likewise.
40601 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40603 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40604 the three constants needed as parameters. Drop the others.
40605 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40606 __m128i_strloadu_tolower.
40607 Create and initialize variable zero and use it in all the places
40608 where _mm_setzero_si128 was used.
40610 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40611 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40612 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40613 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40615 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40616 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40617 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40618 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40619 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40620 __mpranred, __mptan.
40621 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40622 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40623 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40624 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40625 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40626 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40627 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40628 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40629 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40631 2011-10-28 Andreas Schwab <schwab@redhat.com>
40633 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40634 redefine if SHARED.
40635 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40637 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40638 wide char related routines to wcsmbs subdir.
40640 2011-10-27 Andreas Schwab <schwab@redhat.com>
40643 * misc/sys/cdefs.h (__THROWNL): Define.
40644 * posix/unistd.h: Use __THREADNL instead of __THREAD
40645 for memory synchronization functions.
40647 2011-10-26 Roland McGrath <roland@hack.frob.com>
40650 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40652 * manual/stdio.texi (Obstack Streams): Node removed.
40654 2011-10-26 Andreas Schwab <schwab@redhat.com>
40656 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40657 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40658 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40660 * math/math_private.h (math_force_eval): Allow non-addressable
40662 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40664 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40666 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40667 file is not needed.
40669 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40670 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40672 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40673 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40674 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40675 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40676 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40678 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40679 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40680 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40681 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40682 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40683 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40684 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40685 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40686 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40687 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40688 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40689 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40690 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40691 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40692 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40693 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40694 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40695 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40696 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40698 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40699 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40701 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40702 place. Use VEX encoding when compiling for AVX.
40704 2011-10-25 Andreas Schwab <schwab@redhat.com>
40706 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40707 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40709 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40711 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40713 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40714 useless if() expression.
40715 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40716 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40717 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40718 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40719 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40720 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40721 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40722 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40723 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40724 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40725 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40726 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40727 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40728 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40729 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40730 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40731 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40732 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40733 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40735 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40737 2011-10-25 Andreas Schwab <schwab@redhat.com>
40739 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40741 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40743 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40745 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40746 .text section. Avoid duplicate constants.
40747 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40749 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40751 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40752 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40753 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40754 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40755 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40756 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40757 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40758 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40759 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40760 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40761 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40762 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40763 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40764 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40765 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40766 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40767 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40768 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40769 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40770 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40771 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40772 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40773 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40774 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40775 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40776 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40777 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40778 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40779 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40780 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40781 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40782 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40783 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40784 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40785 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40786 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40787 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40788 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40789 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40790 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40791 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40793 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40795 * sysdeps/x86_64/dla.h: Move to ...
40796 * sysdeps/x86_64/fpu/dla.h: ...here.
40797 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40798 situations. Use __builtin_fma only for gcc 4.6 and up.
40800 * config.make.in: Add have-mfma4 entry.
40801 * configure.in: Substitute libc_cv_cc_fma4.
40802 * math/Makefile (dbl-only-routines): Add sincostab.
40803 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40804 Use __sincostab not sincos.
40805 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40807 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40809 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40810 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40812 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40813 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40814 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40815 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40817 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40818 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40820 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40821 define aliases when function name is a macro.
40822 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40823 sysdeps/ieee754/dbl-64/sincos.tbl.
40824 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40825 fma4-enabled routines.
40826 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40827 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40828 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40829 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40830 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40831 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40832 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40833 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40834 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40835 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40836 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40837 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40838 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40839 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40840 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40841 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40842 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40843 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40844 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40845 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40846 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40847 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40848 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40849 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40850 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40851 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40852 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40853 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40854 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40855 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40857 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40859 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40860 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40861 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40862 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40863 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40864 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40865 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40866 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40868 2011-10-24 Andreas Schwab <schwab@redhat.com>
40870 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40872 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40874 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40876 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40878 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40880 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40881 Remove unused variable magic_bits.
40882 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40884 * string/strnlen.c: Define and use STRNLEN macro.
40885 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40886 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40887 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40888 * wcsmbs/wcslen.c: Define and use WCSLEN.
40889 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40890 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40891 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40892 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40893 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40894 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40895 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40897 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40900 strnlen-sse2-no-bsf.
40901 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40902 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40903 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40904 Add strnlen support.
40905 (USE_AS_STRNLEN): New macro.
40906 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40907 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40908 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40909 * sysdeps/x86_64/wcslen.S: New file.
40911 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40913 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40914 XMM-moves are used for copying on small sizes.
40916 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40918 * wcsmbs/Makefile (strop-tests): Add wcschr.
40919 * wcsmbs/test-wcschr.c: New file.
40920 * string/test-strchr.c: Update.
40921 Add wcschr support.
40924 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40926 * wcsmbs/Makefile (strop-tests): Add wcslen.
40927 * wcsmbs/test-wcslen.c: New file.
40928 * string/test-strlen.c: Update.
40929 Add wcslen support.
40932 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40934 * po/it.po: Update from translation team.
40936 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40938 * sysdeps/x86_64/wcscmp.S: Update.
40939 Fix wrong comparison semantics.
40940 wcscmp shall use signed comparison not unsigned.
40941 Don't use substraction to avoid overflow bug.
40942 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40943 * wcsmbc/wcscmp.c: Likewise.
40944 * string/test-strcmp.c: Likewise.
40945 Add new tests to check cases with negative values.
40947 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40949 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40950 * sysdeps/x86_64/dla.h: ...here. New file.
40951 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40952 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40956 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40957 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40958 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40959 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40961 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40963 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40964 __ynl_finite aliases.
40966 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40970 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40972 [DLA_FMA] (EMULV): Use DLA_FMA.
40973 [DLA_FMA] (MUL12): Use EMULV.
40974 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40975 that are not needed.
40976 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40977 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40978 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40979 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40980 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40981 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40982 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40984 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40986 * math/s_nan.c: Undef __nan.
40987 * math/s_nanf.c: Undef __nanf.
40988 * math/s_nanl.c: Undef __nanl.
40989 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40992 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40994 * math/s_catan.c: Add branch predictions.
40995 * math/s_catanf.c: Likewise.
40996 * math/s_catanh.c: Likewise.
40997 * math/s_catanhf.c: Likewise.
40998 * math/s_catanhl.c: Likewise.
40999 * math/s_catanl.c: Likewise.
41000 * math/s_cexp.c: Likewise.
41001 * math/s_cexpf.c: Likewise.
41002 * math/s_cexpl.c: Likewise.
41003 * math/s_clog.c: Likewise.
41004 * math/s_clog10.c: Likewise.
41005 * math/s_clog10f.c: Likewise.
41006 * math/s_clog10l.c: Likewise.
41007 * math/s_clogf.c: Likewise.
41008 * math/s_clogl.c: Likewise.
41009 * math/s_csqrt.c: Likewise.
41010 * math/s_csqrtf.c: Likewise.
41011 * math/s_csqrtl.c: Likewise.
41012 * math/s_ctanf.c: Likewise.
41013 * math/s_ctanh.c: Likewise.
41014 * math/s_ctanhf.c: Likewise.
41015 * math/s_ctanhl.c: Likewise.
41016 * math/s_ctanl.c: Likewise.
41018 * math/math_private.h: Define __nan, __nanf, __nanl.
41019 * math/s_cacosh.c: Include <math_private.h>.
41020 * math/s_cacoshl.c: Likewise.
41021 * math/s_casinh.c: Likewise.
41022 * math/s_casinhf.c: Likewise.
41023 * math/s_casinhl.c: Likewise.
41024 * math/s_ccos.c: Rely entire on ccosh.
41025 * math/s_ccosf.c: Rely entire on ccoshf.
41026 * math/s_ccosl.c: Rely entirely on ccoshl.
41027 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
41028 Remove tests for FE_INVALID.
41029 * math/s_ccoshf.c: Likewise.
41030 * math/s_ccoshl.c: Likewise.
41031 * math/s_csin.c: Likewise.
41032 * math/s_csinf.c: Likewise.
41033 * math/s_csinh.c Likewise.
41034 * math/s_csinhf.c: Likewise.
41035 * math/s_csinhl.c: Likewise.
41036 * math/s_csinl.c: Likewise.
41037 * math/s_ctan.c: Likewise.
41038 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41039 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41040 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41042 2011-10-21 Ulrich Drepper <drepper@gmail.com>
41044 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41045 compilation problems.
41047 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41050 2011-10-20 Ulrich Drepper <drepper@gmail.com>
41052 * sysdeps/i386/configure.in: Test for -mfma4 option.
41053 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41054 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41055 COMMON_CPUID_INDEX_80000001.
41056 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41057 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41058 use it if FMA3 is not supported.
41059 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41061 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41062 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41064 2011-10-20 Andreas Schwab <schwab@redhat.com>
41067 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41068 it would create a cycle with a link time dependency.
41070 2011-10-19 Ulrich Drepper <drepper@gmail.com>
41072 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41074 * string/Makefile (strop-tests): Add rawmemchr.
41075 * string/test-rawmemchr.c: New file.
41077 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41078 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
41079 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
41080 when compiling str{,n}casecmp and when AVX is available. Hook up
41081 new optimized code in initializers.
41083 2011-10-19 Andreas Schwab <schwab@redhat.com>
41085 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41086 __feraiseexcept instead of feraiseexcept.
41088 2011-10-18 Ulrich Drepper <drepper@gmail.com>
41090 * math/math_private.h: Define defaults for libc_fetestexcept and
41092 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41093 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41094 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41095 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41096 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41097 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41098 libc_fetestexcept and libc_feupdateenv.
41100 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41101 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41102 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41103 * sysdeps/x86_64/fpu/math_private.h: Define special version of
41104 libc_feholdexcept_setround.
41106 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41107 Add s_nearbyint-c and s_nearbyintf-c.
41108 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41109 nearbyintf inlines.
41110 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41111 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41112 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41113 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41115 * math/math_private.h: Define defaults for libc_fegetround,
41116 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41117 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41118 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41119 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41120 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41121 standard functions.
41122 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41123 Remove comments and hacks for old compiler versions.
41124 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41125 libc_fegetround, libc_fesetround, libc_feholdexcept, and
41126 libc_feholdexceptl.
41128 2011-10-18 Andreas Schwab <schwab@redhat.com>
41130 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41131 (__feraiseexcept_renamed): Add __NTH.
41132 (feraiseexcept): Add __NTH. Rename local variables to fix
41133 namespace violations.
41135 2011-10-17 Ulrich Drepper <drepper@gmail.com>
41137 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41139 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41141 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41142 recently added interfaces.
41143 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41145 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41146 about macro parameter expansion.
41148 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41149 __NO_MATH_INLINES is defined. Cleanups.
41151 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41152 and __floorf is target has SSE4.1.
41153 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41154 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41155 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41156 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41158 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41160 (floorf): Likewise.
41162 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41164 2011-10-17 Andreas Schwab <schwab@redhat.com>
41166 * misc/sys/cdefs.h: Fix last change.
41168 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41171 2011-10-16 Ulrich Drepper <drepper@gmail.com>
41173 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41175 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41176 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41177 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41178 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41179 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41180 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41181 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41182 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41183 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41184 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41185 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41186 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41187 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41188 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41189 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41190 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41191 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41192 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41193 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41194 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41195 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41196 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41198 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41199 ceil, ceilf, floor, floorf.
41201 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41202 Perform IRELATIVE relocations last.
41204 * elf/do-rel.h: Add another parameter nrelative, replacing the
41205 local variable with the same name. Change name of the function
41206 to end in Rel or Rela (uppercase).
41207 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41208 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
41209 elf_dynamic_do_##reloc function.
41211 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41213 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41214 is sufficient, at least on modern CPUs.
41216 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41218 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41219 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41221 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41223 * math/bits/math-finite.h: Add entries for exp.
41224 * math/e_expl.c: Add __*_finite alias.
41225 * sysdeps/i386/fpu/e_exp.S: Likewise.
41226 * sysdeps/i386/fpu/e_expf.S: Likewise.
41227 * sysdeps/i386/fpu/e_expl.c: Likewise.
41228 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41229 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41230 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41231 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41232 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41233 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41234 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41236 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41237 is sufficient, at least on modern CPUs.
41239 * ctype/ctype-info.c (__ctype_init): Define.
41240 * include/ctype.h (__ctype_init): Declare.
41241 (__ctype_b_loc): The variable is always initialized.
41242 (__ctype_toupper_loc): Likewise.
41243 (__ctype_tolower_loc): Likewise.
41244 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41245 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41247 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
41249 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41251 * configure.in: Also look in $cxxmachine/include for C++ system
41254 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41256 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41257 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41258 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41259 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
41260 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41261 (USE_AS_WMEMCMP): New macro.
41263 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41264 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41265 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41266 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41267 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41268 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41269 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41270 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41271 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41272 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41273 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41274 (USE_AS_WMEMCMP): New macro.
41275 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41276 * sysdeps/string/test-memcmp.c: Update.
41277 Fix simple_wmemcmp.
41279 * wcsmbs/wmemcmp.c: Update.
41280 (WMEMCMP): New macro.
41283 2011-10-12 Andreas Jaeger <aj@suse.de>
41286 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41288 2011-10-15 Ulrich Drepper <drepper@gmail.com>
41290 * libio/iofwide.c (do_length): Avoid warning.
41292 * ctype/ctype.h (__isctype_f): Add missing __THROW.
41294 2011-10-14 Ulrich Drepper <drepper@gmail.com>
41296 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41298 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41299 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41300 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41301 * sysdeps/i386/i686/fpu/e_log.S: New file.
41302 * sysdeps/i386/i686/fpu/e_logf.S: New file.
41303 * sysdeps/i386/i686/fpu/e_logl.S: New file.
41305 * ctype/ctype.h: Add support for inlined isXXX functions when
41306 compiling C++ code.
41308 2011-10-14 Andreas Schwab <schwab@redhat.com>
41310 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41312 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41314 2011-10-13 Roland McGrath <roland@hack.frob.com>
41317 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41319 2011-10-13 Andreas Schwab <schwab@redhat.com>
41321 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41322 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41325 * sysdeps/x86_64/memrchr.S: Check for zero size.
41327 * string/stratcliff.c: Add memrchr tests.
41329 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41331 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41332 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41333 rawmemchr-sse2 rawmemchr-sse2-bsf.
41334 * sysdeps/i386/i686/multiarch/memchr.S: New file.
41335 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41336 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41337 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41338 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41339 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41340 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41341 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41342 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41343 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41344 * string/memrchr.c (MEMRCHR): New macro.
41346 2011-10-12 Ulrich Drepper <drepper@gmail.com>
41348 Add integration with gcc's -ffinite-math-only and optimize wrapper
41350 * Versions.def: Define GLIBC_2.15 version for libm.
41351 * math/Makefile (headers): Add bits/math-finite.h.
41352 * math/bits/math-finite.h: New file.
41353 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41354 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41355 * math/e_acoshl.c: Add __*_finite alias.
41356 * math/e_acosl.c: Likewise.
41357 * math/e_asinl.c: Likewise.
41358 * math/e_atan2l.c: Likewise.
41359 * math/e_atanhl.c: Likewise.
41360 * math/e_coshl.c: Likewise.
41361 * math/e_exp10.c: Likewise.
41362 * math/e_exp10f.c: Likewise.
41363 * math/e_exp10l.c: Likewise.
41364 * math/e_exp2l.c: Likewise.
41365 * math/e_fmodl.c: Likewise.
41366 * math/e_gammal_r.c: Likewise.
41367 * math/e_hypotl.c: Likewise.
41368 * math/e_j0l.c: Likewise.
41369 * math/e_j1l.c: Likewise.
41370 * math/e_jnl.c: Likewise.
41371 * math/e_lgammal_r.c: Likewise.
41372 * math/e_log10l.c: Likewise.
41373 * math/e_log2l.c: Likewise.
41374 * math/e_logl.c: Likewise.
41375 * math/e_powl.c: Likewise.
41376 * math/e_sinhl.c: Likewise.
41377 * math/e_sqrtl.c: Likewise.
41378 * math/e_scalb.c: Completely rewritten and optimized.
41379 * math/e_scalbf.c: Likewise.
41380 * math/e_scalbl.c: Likewise.
41381 * math/w_acos.c: Likewise.
41382 * math/w_acosf.c: Likewise.
41383 * math/w_acosl.c: Likewise.
41384 * math/w_acosh.c: Likewise.
41385 * math/w_acoshf.c: Likewise.
41386 * math/w_acoshl.c: Likewise.
41387 * math/w_asin.c: Likewise.
41388 * math/w_asinf.c: Likewise.
41389 * math/w_asinl.c: Likewise.
41390 * math/w_atan2.c: Likewise.
41391 * math/w_atan2f.c: Likewise.
41392 * math/w_atan2l.c: Likewise.
41393 * math/w_atanh.c: Likewise.
41394 * math/w_atanhf.c: Likewise.
41395 * math/w_atanhl.c: Likewise.
41396 * math/w_exp10.c: Likewise.
41397 * math/w_exp10f.c: Likewise.
41398 * math/w_exp10l.c: Likewise.
41399 * math/w_fmod.c: Likewise.
41400 * math/w_fmodf.c: Likewise.
41401 * math/w_fmodl.c: Likewise.
41402 * math/w_j0.c: Likewise.
41403 * math/w_j0f.c: Likewise.
41404 * math/w_j0l.c: Likewise.
41405 * math/w_j1.c: Likewise.
41406 * math/w_j1f.c: Likewise.
41407 * math/w_j1l.c: Likewise.
41408 * math/w_jn.c: Likewise.
41409 * math/w_jnf.c: Likewise.
41410 * math/w_log.c: Likewise.
41411 * math/w_logf.c: Likewise.
41412 * math/w_logl.c: Likewise.
41413 * math/w_log10.c: Likewise.
41414 * math/w_log10f.c: Likewise.
41415 * math/w_log10l.c: Likewise.
41416 * math/w_log2.c: Likewise.
41417 * math/w_log2f.c: Likewise.
41418 * math/w_log2l.c: Likewise.
41419 * math/w_pow.c: Likewise.
41420 * math/w_powf.c: Likewise.
41421 * math/w_powl.c: Likewise.
41422 * math/w_remainder.c: Likewise.
41423 * math/w_remainderf.c: Likewise.
41424 * math/w_remainderl.c: Likewise.
41425 * math/w_scalb.c: Likewise.
41426 * math/w_scalbf.c: Likewise.
41427 * math/w_scalbl.c: Likewise.
41428 * math/w_sqrt.c: Likewise.
41429 * math/w_sqrtf.c: Likewise.
41430 * math/w_sqrtl.c: Likewise.
41431 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41432 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
41434 * math/math_private.h: Declare __kernel_standard_f.
41435 * math/w_cosh.c: Remove cruft and optimize a bit.
41436 * math/w_coshf.c: Likewise.
41437 * math/w_coshl.c: Likewise.
41438 * math/w_exp2.c: Likewise.
41439 * math/w_exp2f.c: Likewise.
41440 * math/w_exp2l.c: Likewise.
41441 * math/w_hypot.c: Likewise.
41442 * math/w_hypotf.c: Likewise.
41443 * math/w_hypotl.c: Likewise.
41444 * math/w_lgamma.c: Likewise.
41445 * math/w_lgamma_r.c: Likewise.
41446 * math/w_lgammaf.c: Likewise.
41447 * math/w_lgammaf_r.c: Likewise.
41448 * math/w_lgammal.c: Likewise.
41449 * math/w_lgammal_r.c: Likewise.
41450 * math/w_sinh.c: Likewise.
41451 * math/w_sinhf.c: Likewise.
41452 * math/w_sinhl.c: Likewise.
41453 * math/w_tgamma.c: Likewise.
41454 * math/w_tgammaf.c: Likewise.
41455 * math/w_tgammal.c: Likewise.
41456 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41457 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41458 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41459 Minor optimizations. Pretty printing. Remove cruft.
41460 * sysdeps/i386/fpu/e_acosf.S: Likewise.
41461 * sysdeps/i386/fpu/e_acosh.S: Likewise.
41462 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41463 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41464 * sysdeps/i386/fpu/e_acosl.c: Likewise.
41465 * sysdeps/i386/fpu/e_asin.S: Likewise.
41466 * sysdeps/i386/fpu/e_asinf.S: Likewise.
41467 * sysdeps/i386/fpu/e_atan2.S: Likewise.
41468 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41469 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41470 * sysdeps/i386/fpu/e_atanh.S: Likewise.
41471 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41472 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41473 * sysdeps/i386/fpu/e_exp10.S: Likewise.
41474 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41475 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41476 * sysdeps/i386/fpu/e_exp2.S: Likewise.
41477 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41478 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41479 * sysdeps/i386/fpu/e_fmod.S: Likewise.
41480 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41481 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41482 * sysdeps/i386/fpu/e_hypot.S: Likewise.
41483 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41484 * sysdeps/i386/fpu/e_log.S: Likewise.
41485 * sysdeps/i386/fpu/e_log10.S: Likewise.
41486 * sysdeps/i386/fpu/e_log10f.S: Likewise.
41487 * sysdeps/i386/fpu/e_log10l.S: Likewise.
41488 * sysdeps/i386/fpu/e_log2.S: Likewise.
41489 * sysdeps/i386/fpu/e_log2f.S: Likewise.
41490 * sysdeps/i386/fpu/e_log2l.S: Likewise.
41491 * sysdeps/i386/fpu/e_logf.S: Likewise.
41492 * sysdeps/i386/fpu/e_logl.S: Likewise.
41493 * sysdeps/i386/fpu/e_pow.S: Likewise.
41494 * sysdeps/i386/fpu/e_powf.S: Likewise.
41495 * sysdeps/i386/fpu/e_powl.S: Likewise.
41496 * sysdeps/i386/fpu/e_remainder.S: Likewise.
41497 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41498 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41499 * sysdeps/i386/fpu/e_scalb.S: Likewise.
41500 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41501 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41502 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41503 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41504 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41505 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41506 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41507 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41508 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41509 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41510 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41511 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41512 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41513 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41514 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41515 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41516 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41517 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41518 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41519 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41520 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41521 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41522 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41523 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41524 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41525 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41526 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41527 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41528 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41529 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41530 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41531 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41532 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41533 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41534 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41535 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41536 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41537 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41538 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41539 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41540 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41541 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41542 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41543 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41544 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41545 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41546 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41547 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41548 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41549 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41550 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41551 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41552 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41553 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41554 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41555 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41556 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41557 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41558 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41559 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41560 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41561 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41562 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41563 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41564 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41565 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41566 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41567 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41569 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41570 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41571 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41572 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41573 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41574 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41575 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41576 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41577 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41578 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41579 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41580 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41581 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41582 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41583 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41584 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41585 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41586 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41587 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41588 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41589 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41590 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41591 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41592 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41593 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41594 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41595 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41596 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41597 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41598 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41599 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41600 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41601 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41602 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41603 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41604 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41605 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41606 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41607 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41608 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41609 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41610 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41611 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41612 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41613 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41614 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41615 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41616 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41617 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41618 (__isnanf): Likewise.
41619 (__isinf_ns): Likewise.
41620 (__isinf_nsf): Likewise.
41621 (__finite): Likewise.
41622 (__finitef): Likewise.
41623 (__ieee754_sqrt): Define as macro.
41624 (__ieee754_sqrtf): Define as macro.
41625 (__ieee754_sqrtl): Define as macro.
41626 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41628 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41629 __FINITE_MATH_ONLY__ consistent.
41630 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41632 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41634 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41637 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41639 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41641 * po/ja.po: Update from translation team.
41643 2011-10-08 Roland McGrath <roland@hack.frob.com>
41645 * locale/programs/locarchive.c (prepare_address_space): New function.
41646 (create_archive, enlarge_archive, open_archive): Use it.
41648 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41649 inside [SHARED], where it is used.
41651 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41653 * nss/getent.c (netgroup_keys): Remove unused variable.
41654 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41656 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41658 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41659 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41660 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41661 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41662 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41663 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41664 * math/Makefile (libm-calls): Add s_isinf_ns.
41665 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41666 * math/multc3.c: Likewise.
41667 * math/s_casin.c: Likewise.
41668 * math/s_casinf.c: Likewise.
41669 * math/s_casinl.c: Likewise.
41670 * math/s_ccos.c: Likewise.
41671 * math/s_ccosf.c: Likewise.
41672 * math/s_ccosl.c: Likewise.
41673 * math/s_ctan.c: Likewise.
41674 * math/s_ctanf.c: Likewise.
41675 * math/s_ctanh.c: Likewise.
41676 * math/s_ctanhf.c: Likewise.
41677 * math/s_ctanhl.c: Likewise.
41678 * math/s_ctanl.c: Likewise.
41679 * math/w_fmod.c: Likewise.
41680 * math/w_fmodf.c: Likewise.
41681 * math/w_fmodl.c: Likewise.
41682 * math/w_remainder.c: Likewise.
41683 * math/w_remainderf.c: Likewise.
41684 * math/w_remainderl.c: Likewise.
41685 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41686 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41687 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41688 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41689 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41690 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41691 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41692 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41694 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41696 * stdio-common/printf_fphex.c: Likewise.
41697 * stdio-common/printf_size.c: Likewise.
41699 * math/e_exp10.c: Include math_private.h using <...> not "...".
41700 * math/e_exp10f.c: Likewise.
41701 * math/e_exp10l.c: Likewise.
41702 * math/e_exp2l.c: Likewise.
41703 * math/e_j0l.c: Likewise.
41704 * math/e_j1l.c: Likewise.
41705 * math/e_jnl.c: Likewise.
41706 * math/e_lgammal_r.c: Likewise.
41707 * math/e_rem_pio2l.c: Likewise.
41708 * math/e_scalb.c: Likewise.
41709 * math/e_scalbf.c: Likewise.
41710 * math/e_scalbl.c: Likewise.
41711 * math/k_cosl.c: Likewise.
41712 * math/k_sinl.c: Likewise.
41713 * math/k_tanl.c: Likewise.
41714 * math/s_cacoshf.c: Likewise.
41715 * math/s_catan.c: Likewise.
41716 * math/s_catanf.c: Likewise.
41717 * math/s_catanh.c: Likewise.
41718 * math/s_catanhf.c: Likewise.
41719 * math/s_catanhl.c: Likewise.
41720 * math/s_catanl.c: Likewise.
41721 * math/s_ccosh.c: Likewise.
41722 * math/s_ccoshf.c: Likewise.
41723 * math/s_ccoshl.c: Likewise.
41724 * math/s_cexp.c: Likewise.
41725 * math/s_cexpf.c: Likewise.
41726 * math/s_cexpl.c: Likewise.
41727 * math/s_clog.c: Likewise.
41728 * math/s_clog10.c: Likewise.
41729 * math/s_clog10f.c: Likewise.
41730 * math/s_clog10l.c: Likewise.
41731 * math/s_clogf.c: Likewise.
41732 * math/s_clogl.c: Likewise.
41733 * math/s_csin.c: Likewise.
41734 * math/s_csinf.c: Likewise.
41735 * math/s_csinh.c: Likewise.
41736 * math/s_csinhf.c: Likewise.
41737 * math/s_csinhl.c: Likewise.
41738 * math/s_csinl.c: Likewise.
41739 * math/s_csqrt.c: Likewise.
41740 * math/s_csqrtf.c: Likewise.
41741 * math/s_csqrtl.c: Likewise.
41742 * math/s_ctan.c: Likewise.
41743 * math/s_ctanf.c: Likewise.
41744 * math/s_ctanh.c: Likewise.
41745 * math/s_ctanhf.c: Likewise.
41746 * math/s_ctanhl.c: Likewise.
41747 * math/s_ctanl.c: Likewise.
41748 * math/s_ldexp.c: Likewise.
41749 * math/s_ldexpf.c: Likewise.
41750 * math/s_ldexpl.c: Likewise.
41751 * math/s_significand.c: Likewise.
41752 * math/s_significandf.c: Likewise.
41753 * math/s_significandl.c: Likewise.
41754 * math/w_acos.c: Likewise.
41755 * math/w_acosf.c: Likewise.
41756 * math/w_acosh.c: Likewise.
41757 * math/w_acoshf.c: Likewise.
41758 * math/w_acoshl.c: Likewise.
41759 * math/w_acosl.c: Likewise.
41760 * math/w_asin.c: Likewise.
41761 * math/w_asinf.c: Likewise.
41762 * math/w_asinl.c: Likewise.
41763 * math/w_atan2.c: Likewise.
41764 * math/w_atan2f.c: Likewise.
41765 * math/w_atan2l.c: Likewise.
41766 * math/w_atanh.c: Likewise.
41767 * math/w_atanhf.c: Likewise.
41768 * math/w_atanhl.c: Likewise.
41769 * math/w_cosh.c: Likewise.
41770 * math/w_coshf.c: Likewise.
41771 * math/w_coshl.c: Likewise.
41772 * math/w_dremf.c: Likewise.
41773 * math/w_exp10.c: Likewise.
41774 * math/w_exp10f.c: Likewise.
41775 * math/w_exp10l.c: Likewise.
41776 * math/w_exp2.c: Likewise.
41777 * math/w_exp2f.c: Likewise.
41778 * math/w_fmod.c: Likewise.
41779 * math/w_fmodf.c: Likewise.
41780 * math/w_fmodl.c: Likewise.
41781 * math/w_hypot.c: Likewise.
41782 * math/w_hypotf.c: Likewise.
41783 * math/w_hypotl.c: Likewise.
41784 * math/w_j0.c: Likewise.
41785 * math/w_j0f.c: Likewise.
41786 * math/w_j0l.c: Likewise.
41787 * math/w_j1.c: Likewise.
41788 * math/w_j1f.c: Likewise.
41789 * math/w_j1l.c: Likewise.
41790 * math/w_jn.c: Likewise.
41791 * math/w_jnf.c: Likewise.
41792 * math/w_jnl.c: Likewise.
41793 * math/w_lgamma.c: Likewise.
41794 * math/w_lgamma_r.c: Likewise.
41795 * math/w_lgammaf.c: Likewise.
41796 * math/w_lgammaf_r.c: Likewise.
41797 * math/w_lgammal.c: Likewise.
41798 * math/w_lgammal_r.c: Likewise.
41799 * math/w_log.c: Likewise.
41800 * math/w_log10.c: Likewise.
41801 * math/w_log10f.c: Likewise.
41802 * math/w_log10l.c: Likewise.
41803 * math/w_log2.c: Likewise.
41804 * math/w_log2f.c: Likewise.
41805 * math/w_log2l.c: Likewise.
41806 * math/w_logf.c: Likewise.
41807 * math/w_logl.c: Likewise.
41808 * math/w_pow.c: Likewise.
41809 * math/w_powf.c: Likewise.
41810 * math/w_powl.c: Likewise.
41811 * math/w_remainder.c: Likewise.
41812 * math/w_remainderf.c: Likewise.
41813 * math/w_remainderl.c: Likewise.
41814 * math/w_scalb.c: Likewise.
41815 * math/w_scalbf.c: Likewise.
41816 * math/w_scalbl.c: Likewise.
41817 * math/w_sinh.c: Likewise.
41818 * math/w_sinhf.c: Likewise.
41819 * math/w_sinhl.c: Likewise.
41820 * math/w_sqrt.c: Likewise.
41821 * math/w_sqrtf.c: Likewise.
41822 * math/w_sqrtl.c: Likewise.
41823 * math/w_tgamma.c: Likewise.
41824 * math/w_tgammaf.c: Likewise.
41825 * math/w_tgammal.c: Likewise.
41827 * po/ja.po: Update from translation team.
41829 2011-09-29 Andreas Jaeger <aj@suse.de>
41832 * sunrpc/netname.c (netname2host): Fix logic.
41836 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41838 * math/w_remainder.c (__remainder): Likewise.
41839 * math/w_remainderf.c (__remainderf): Likewise.
41840 * math/libm-test.inc (remainder_test): Add test cases.
41842 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41844 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41847 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41849 * string/test-memcmp.c: Avoid unncessary #defines.
41850 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41852 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41854 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41855 Use new sse2 version for core i3 - i7 as it's faster
41856 than sse42 version.
41857 (bit_Prefer_PMINUB_for_stringop): New.
41858 * sysdeps/x86_64/rawmemchr.S: Update.
41859 Replace with faster SSE2 version.
41860 * sysdeps/x86_64/memrchr.S: New file.
41861 * sysdeps/x86_64/memchr.S: Update.
41862 Replace with faster SSE2 version.
41864 2011-09-12 Marek Polacek <mpolacek@redhat.com>
41866 * elf/dl-load.c (lose): Add cast to avoid warning.
41868 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41870 * po/ca.po: Update from translation team.
41872 * inet/getnetgrent_r.c: Hook up nscd.
41873 * nscd/Makefile (routines): Add nscd_netgroup.
41874 (nscd-modules): Add netgroupcache.
41875 (CFLAGS-netgroupcache.c): Define.
41876 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41877 (cache_search): Add const to second parameter.
41878 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41880 (dbs): Add netgrdb entry.
41881 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41882 (verify_persistent_db): Handle netgrdb.
41883 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41884 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41886 (netgroup_response_header): Define.
41887 (innetgroup_response_header): Define.
41888 (datahead): Add netgroup_response_header and innetgroup_response_header
41890 * nscd/nscd.conf: Add entries for netgroup cache.
41891 * nscd/nscd.h (dbtype): Add netgrdb.
41892 (_PATH_NSCD_NETGROUP_DB): Define.
41893 (netgroup_iov_disabled): Declare.
41894 (xmalloc, xcalloc, xrealloc): Move declarations here.
41895 (cache_search): Adjust prototype.
41896 Add netgroup-related prototypes.
41897 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41898 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41899 (__nscd_innetgr): Declare.
41900 * nscd/selinux.c (perms): Use access_vector_t as element type and
41901 add netgroup-related initializers.
41902 * nscd/netgroupcache.c: New file.
41903 * nscd/nscd_netgroup.c: New file.
41904 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41905 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41906 For four parameters use innetgr.
41907 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41908 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41909 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41910 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41912 * nscd/connections.c (register_traced_file): Don't register file
41913 for disabled databases.
41915 2011-10-06 Ulrich Drepper <drepper@gmail.com>
41917 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41919 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41920 from tree and freeing node.
41922 2011-09-25 Jiri Olsa <jolsa@redhat.com>
41924 * nss/nsswitch.c (__nss_database_lookup): Handle
41925 nss_parse_service_list out of memory case.
41927 2011-09-15 Jiri Olsa <jolsa@redhat.com>
41929 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41930 out of memory case.
41932 2011-10-04 Andreas Schwab <schwab@redhat.com>
41934 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41935 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41937 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41938 elf_machine_rela, elf_machine_lazy_rel.
41939 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41940 (ELF_DYNAMIC_DO_REL): Likewise.
41941 (ELF_DYNAMIC_DO_RELA): Likewise.
41942 (ELF_DYNAMIC_RELOCATE): Likewise.
41943 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41944 to ELF_DYNAMIC_DO_REL.
41945 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41946 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41947 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41949 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41950 skip_ifunc, don't call ifunc function if non-zero.
41951 (elf_machine_rela): Likewise.
41952 (elf_machine_lazy_rel): Likewise.
41953 (elf_machine_lazy_rela): Likewise.
41954 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41955 (elf_machine_lazy_rel): Likewise.
41956 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41958 (elf_machine_lazy_rel): Likewise.
41959 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41961 (elf_machine_lazy_rel): Likewise.
41962 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41963 (elf_machine_lazy_rel): Likewise.
41964 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41965 (elf_machine_lazy_rel): Likewise.
41966 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41967 (elf_machine_lazy_rel): Likewise.
41968 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41969 (elf_machine_lazy_rel): Likewise.
41970 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41971 (elf_machine_lazy_rel): Likewise.
41972 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41973 (elf_machine_lazy_rel): Likewise.
41975 2011-09-28 Ulrich Drepper <drepper@gmail.com>
41977 * nss/nss_files/files-init.c (_nss_files_init): Use static
41978 initialization for all the *_traced_file variables.
41980 2011-09-28 Andreas Schwab <schwab@redhat.com>
41982 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41984 2011-09-27 Roland McGrath <roland@hack.frob.com>
41987 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41989 2011-09-27 Andreas Schwab <schwab@redhat.com>
41991 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41992 Reread the line before reparsing it.
41994 2011-09-26 Andreas Schwab <schwab@redhat.com>
41996 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41998 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41999 Maxim Kuvyrkov <maxim@codesourcery.com>
42000 Joseph Myers <joseph@codesourcery.com>
42002 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42003 if needed for __stack_chk_guard.
42005 2011-09-19 Roland McGrath <roland@hack.frob.com>
42007 * sysdeps/posix/spawni.c (script_execute): Always define it.
42008 It will be optimized away if unused.
42009 (maybe_script_execute): New function.
42010 (__spawni): Call it.
42012 * Makerules: Don't include tls.make.
42013 (config-tls): Always set to thread.
42014 * tls.make.c: File removed.
42016 2011-09-19 Mike Frysinger <vapier@gentoo.org>
42018 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42019 * config.make.in (CPPFLAGS-config): New substituted variable.
42021 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42023 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42026 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42027 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42029 2011-09-15 Roland McGrath <roland@hack.frob.com>
42031 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42032 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42033 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42034 (CALL_FAIL): Likewise.
42035 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42036 (CALL_FAIL): Macro removed.
42037 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42039 2011-09-15 Ulrich Drepper <drepper@gmail.com>
42041 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42042 for __FINITE_MATH_ONLY__ == 1.
42044 2011-09-15 Andreas Schwab <schwab@redhat.com>
42046 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42047 __ieee754_sqrt instead of sqrt.
42048 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42049 __ieee754_sqrtf instead of sqrtf.
42050 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42051 __floorf instead of floorf.
42052 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42053 __floorf, __truncf instead of floorf, truncf.
42055 2011-09-14 Ulrich Drepper <drepper@gmail.com>
42057 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42059 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42060 __extern_always_inline.
42061 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42064 2011-09-14 Andreas Schwab <schwab@redhat.com>
42066 * elf/rtld.c (dl_main): Also relocate in dependency order when
42067 doing symbol dependency testing.
42069 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
42071 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42072 Always define `refsym'.
42074 2011-09-13 Andreas Schwab <schwab@redhat.com>
42076 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42077 (__FD_ELT): Renamed from __FDELT.
42078 * misc/bits/select2.h (__FD_ELT): Likewise.
42079 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42080 __FD_MASK instead of __FDELT, __FDMASK.
42081 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42083 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42086 * elf/Makefile (gen-ldd): Fix pattern.
42088 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42089 (init_tls): Likewise.
42091 2011-09-12 Ulrich Drepper <drepper@gmail.com>
42093 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42095 2011-09-12 Andreas Schwab <schwab@redhat.com>
42097 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42098 `struct cmsghdr *' instead of `void *'.
42099 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42102 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
42104 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42106 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42107 ldd_rewrite_script.
42109 2011-09-11 Ulrich Drepper <drepper@gmail.com>
42111 * configure.in: Remove --with-tls option.
42112 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42113 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42114 out in case it is missing.
42115 * sysdeps/ia64/elf/configure.in: Likewise.
42116 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42117 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42118 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42119 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42120 * sysdeps/sh/elf/configure.in: Likewise.
42121 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42122 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42123 * sysdeps/x86_64/elf/configure.in: Likewise.
42124 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42125 * sysdeps/mach/hurd/tls.h: Likewise.
42128 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42131 * configure.in: Fix use of AC_INIT.
42133 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42135 2011-09-10 Ulrich Drepper <drepper@gmail.com>
42137 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42139 * malloc/hooks.c: Likewise.
42142 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
42143 variables statically.
42144 (narenas): Initialize.
42145 (list_lock): Initialize.
42146 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
42147 initializtion of main_arena and list_lock. Small cleanups.
42148 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42149 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
42150 Add initializers to main_arena and mp_.
42151 (malloc_state): Remove pagesize member. Change all users to use
42154 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42155 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
42156 is always initialized.
42158 * malloc/malloc.c: Removed unused configurations and dead code.
42159 * malloc/arena.c: Likewise.
42160 * malloc/hooks.c: Likewise.
42161 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42163 * include/tls.h: Removed. USE___THREAD must always be defined.
42164 * bits/libc-tsd.h: Don't handle !USE___THREAD.
42165 * elf/dl-libc.c: Likewise.
42166 * elf/dl-tsd.c: Likewise.
42167 * include/errno.h: Likewise.
42168 * include/netdb.h: Likewise.
42169 * include/resolv.h: Likewise.
42170 * inet/herrno-loc.c: Likewise.
42171 * inet/herrno.c: Likewise.
42172 * malloc/arena.c: Likewise.
42173 * malloc/hooks.c: Likewise.
42174 * malloc/malloc.c: Likewise.
42175 * resolv/res-state.c: Likewise.
42176 * resolv/res_libc.c: Likewise.
42177 * sysdeps/i386/dl-machine.h: Likewise.
42178 * sysdeps/ia64/dl-machine.h: Likewise.
42179 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42180 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42181 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42182 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42183 * sysdeps/sh/dl-machine.h: Likewise.
42184 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42185 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42186 * sysdeps/unix/i386/sysdep.S: Likewise.
42187 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42188 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42189 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42190 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42191 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42192 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42193 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42194 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42195 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42196 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42197 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42198 * sysdeps/x86_64/dl-machine.h: Likewise.
42199 * tls.make.c: Likewise.
42201 * configure.in: Remove --with-__thread option. Make tests for
42202 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42203 tls_model attribute fail if no support is available. Remove
42205 * Makeconfig: Adjust for dropped configure option. All features are
42207 * Makerules: Likewise.
42208 * Versions.def: Likewise.
42209 * argp/argp-fmtstream.c: Likewise.
42210 * argp/argp-fmtstream.h: Likewise.
42211 * argp/argp-help.c: Likewise.
42212 * assert/assert.c: Likewise.
42213 * config.h.in: Likewise.
42214 * config.make.in: Likewise.
42215 * configure: Likewise.
42216 * configure.in: Likewise.
42217 * csu/Versions: Likewise.
42218 * csu/init.c: Likewise.
42219 * elf/tst-audit2.c: Likewise.
42220 * elf/tst-tls10.c: Likewise.
42221 * elf/tst-tls10.h: Likewise.
42222 * elf/tst-tls11.c: Likewise.
42223 * elf/tst-tls12.c: Likewise.
42224 * elf/tst-tls14.c: Likewise.
42225 * elf/tst-tlsmod11.c: Likewise.
42226 * elf/tst-tlsmod12.c: Likewise.
42227 * elf/tst-tlsmod13.c: Likewise.
42228 * elf/tst-tlsmod13a.c: Likewise.
42229 * elf/tst-tlsmod14a.c: Likewise.
42230 * elf/tst-tlsmod15b.c: Likewise.
42231 * elf/tst-tlsmod16a.c: Likewise.
42232 * elf/tst-tlsmod16b.c: Likewise.
42233 * elf/tst-tlsmod7.c: Likewise.
42234 * elf/tst-tlsmod8.c: Likewise.
42235 * elf/tst-tlsmod9.c: Likewise.
42236 * gmon/gmon.c: Likewise.
42237 * grp/fgetgrent_r.c: Likewise.
42238 * grp/putgrent.c: Likewise.
42239 * hurd/fopenport.c: Likewise.
42240 * include/libc-symbols.h: Likewise.
42241 * include/tls.h: Likewise.
42242 * intl/gettextP.h: Likewise.
42243 * intl/loadinfo.h: Likewise.
42244 * locale/global-locale.c: Likewise.
42245 * locale/localeinfo.h: Likewise.
42246 * mach/devstream.c: Likewise.
42247 * malloc/arena.c: Likewise.
42248 * malloc/set-freeres.c: Likewise.
42249 * misc/err.c: Likewise.
42250 * misc/getttyent.c: Likewise.
42251 * misc/mntent_r.c: Likewise.
42252 * posix/getopt.c: Likewise.
42253 * posix/wordexp.c: Likewise.
42254 * pwd/fgetpwent_r.c: Likewise.
42255 * resolv/Versions: Likewise.
42256 * resolv/res_hconf.c: Likewise.
42257 * shadow/fgetspent_r.c: Likewise.
42258 * shadow/putspent.c: Likewise.
42259 * stdio-common/printf_fphex.c: Likewise.
42260 * stdio-common/tmpfile.c: Likewise.
42261 * stdlib/abort.c: Likewise.
42262 * stdlib/fmtmsg.c: Likewise.
42263 * sunrpc/auth_unix.c: Likewise.
42264 * sunrpc/clnt_perr.c: Likewise.
42265 * sunrpc/clnt_tcp.c: Likewise.
42266 * sunrpc/clnt_udp.c: Likewise.
42267 * sunrpc/clnt_unix.c: Likewise.
42268 * sunrpc/openchild.c: Likewise.
42269 * sunrpc/svc_simple.c: Likewise.
42270 * sunrpc/svc_tcp.c: Likewise.
42271 * sunrpc/svc_udp.c: Likewise.
42272 * sunrpc/svc_unix.c: Likewise.
42273 * sunrpc/xdr.c: Likewise.
42274 * sunrpc/xdr_array.c: Likewise.
42275 * sunrpc/xdr_rec.c: Likewise.
42276 * sunrpc/xdr_ref.c: Likewise.
42277 * sunrpc/xdr_stdio.c: Likewise.
42279 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42281 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42283 2011-07-03 Andreas Jaeger <aj@suse.de>
42285 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42286 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42287 regenerate with gen-libm-tests.pl.
42289 2010-05-12 Petr Baudis <pasky@suse.cz>
42292 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42293 around j0() zero points by switching to j1().
42294 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42295 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42296 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42297 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42299 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42301 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42303 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42305 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42306 Patch in part by Pavel Roskin <proski@gnu.org>.
42309 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42311 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
42312 Free memory block if necessary.
42315 * libio/genops.c (INTDEF): For string streams the _lock pointer can
42316 be NULL. Don't lock in this case.
42318 2011-09-09 Roland McGrath <roland@hack.frob.com>
42320 * elf/elf.h (ELFOSABI_GNU): New macro.
42321 (ELFOSABI_LINUX): Define to that.
42323 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
42325 * string/strncat.c (strncat): Undef the symbol in case it has been
42326 defined in bits/string.h.
42328 2011-09-09 Ulrich Drepper <drepper@gmail.com>
42330 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42332 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42335 2011-08-17 Andreas Jaeger <aj@suse.de>
42337 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42339 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
42340 Ian Lance Taylor <iant@google.com>
42342 * math/libm-test.inc (lround_test): New testcase.
42343 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42345 2011-09-08 Ulrich Drepper <drepper@gmail.com>
42347 * Makefile: Remove support for automatic cvs check-ins.
42348 * Makerules: Likewise.
42349 * config.make.in: Likewise.
42350 * configure.in: Likewise.
42351 * intl/Makefile: Likewise.
42352 * locale/Makefile: Likewise.
42353 * po/Makefile: Likewise.
42354 * posix/Makefile: Likewise.
42355 * sysdeps/gnu/Makefile: Likewise.
42356 * sysdeps/mach/hurd/Makefile: Likewise.
42357 * sysdeps/sparc/sparc32/Makefile: Likewise.
42360 * posix/Makefile (bug-regex32-ENV): Define.
42361 Patch by John Stanley <jpsinthemix@verizon.net>.
42363 * misc/Makefile (headers): Add bits/select2.h.
42364 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42365 * misc/bits/select2.h: New file.
42366 * include/bits/select2.h: New file.
42367 * debug/Makefile (routines): Add fdelt_chk.
42368 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42369 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42371 * debug/fdelt_chk.c: New file.
42373 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
42374 * wcsmbs/test-wmemcmp.c: Likewise.
42375 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42376 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42378 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42380 * string/Makefile (strop-tests): Add memcmp.
42381 * string/test-wmemcmp.c: New file.
42382 * string/test-memcmp.c: Add wmemcmp support.
42384 2011-09-08 Roland McGrath <roland@hack.frob.com>
42387 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42390 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42391 garbage value in a __mach_port_mod_refs call in the cases of the
42392 task-self and thread-self ports.
42394 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42396 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42398 2011-09-08 Andreas Schwab <schwab@redhat.com>
42400 * elf/dl-load.c (lose): Check for non-null L.
42402 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42404 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42406 * elf/dl-libc.c (dlerror_run): Pass back error code from
42410 * elf/dl-load.c (lose): Free l_origin if it is valid.
42412 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42414 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42415 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42416 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42417 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42418 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42419 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42421 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42423 * sysdeps/powerpc/fpu/e_hypot.c: New file.
42424 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42425 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42426 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42427 * sysdeps/powerpc/fpu/k_cosf.c: New file.
42428 * sysdeps/powerpc/fpu/k_sinf.c: New file.
42429 * sysdeps/powerpc/fpu/s_cosf.c: New file.
42430 * sysdeps/powerpc/fpu/s_sinf.c: New file.
42431 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42432 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42434 2011-08-15 Alan Modra <amodra@gmail.com>
42437 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42438 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42439 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
42440 ppc_mcount to static-only-routines.
42441 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42443 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42444 __mcount_internal with usual JUMPTARGET. Remove useless nop.
42446 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
42448 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42449 for finite and infinity parameters.
42451 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42453 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42454 and add nop instructions for throughput optimization.
42455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42457 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
42459 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42460 aligned copy for power7 with vector-scalar instructions.
42461 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42463 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
42465 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42468 2011-09-07 Andreas Schwab <schwab@redhat.com>
42471 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42474 2011-09-07 Ulrich Drepper <drepper@gmail.com>
42476 * sysdeps/unix/sysv/linux/x86_64/init-first.c
42477 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42478 syscall wrapper around clock_gettime in __vdso_clock_gettime.
42479 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42482 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42484 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42485 Forgot to demangle the pointer.
42487 * sysdeps/i386/sysdep.h: Define atom_text_section.
42488 * sysdeps/x86_64/sysdep.h: Likewise.
42489 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42490 section with atom_text_section.
42491 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42492 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42493 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42494 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42495 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42497 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42498 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42499 already be defined. Change to take two parameters and don't assign
42500 result to variable. Adjust all users.
42501 Define INTERNAL_GETTIME if not already defined.
42502 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42504 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42505 HAVE_CLOCK_GETTIME_VSYSCALL.
42506 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42508 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42509 gettimeofday vsyscall, just use time.
42511 2011-09-06 Andreas Schwab <schwab@redhat.com>
42513 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42516 2011-09-06 Ulrich Drepper <drepper@gmail.com>
42518 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42520 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42522 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42523 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42524 syscall if possible.
42526 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42528 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42529 e_ident. Don't pass to find_mapsXX.
42530 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42532 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42535 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42536 * sysdeps/x86_64/multiarch/strchr.S: Update.
42537 Check bit_slow_BSF bit.
42538 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42539 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42540 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42542 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42545 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42547 (tryshell): Define.
42548 (__spawni): Change last parameter to be flag. Test
42549 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42550 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42551 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42552 * posix/spawni.c: Likewise.
42553 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42554 * posix/spawnp.c: Likewise. Change normal version to use
42555 SPAWN_XFLAGS_USE_PATH.
42556 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42557 SPAWN_XFLAGS_TRY_SHELL.
42560 * posix/glob.h: Remove gcc 1.x support.
42563 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42565 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42567 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42568 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42570 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42571 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42572 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42573 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42574 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42575 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42577 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42579 * sysdeps/x86_64/wcscmp.S: New file.
42581 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42582 wcscmp-c wcscmp-sse2
42583 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42584 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42585 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42586 * wcsmbs/wcscmp.c: Allow renaming.
42588 2011-09-05 David S. Miller <davem@davemloft.net>
42590 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42591 stack slot, rather than the struct return pointer slot.
42592 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42593 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42595 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42597 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42599 * po/ja.po: Update from translation team.
42602 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42603 kernel in 64-bit binaries.
42605 2011-09-01 David S. Miller <davem@davemloft.net>
42607 * elf/elf.h (HWCAP_SPARC_*): Move to..
42608 * sysdeps/sparc/sysdep.h: this new file and add new values.
42609 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42610 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42611 _DL_HWCAP_COUNT to 24.
42612 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42614 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42615 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42616 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42617 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42618 instead of magic constants.
42619 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42621 2011-08-31 David S. Miller <davem@davemloft.net>
42623 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42624 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42625 Reimplement to do errno handling inline.
42626 (SYSCALL_ERROR_HANDLER): New macro.
42627 (__SYSCALL_STRING): Do not do errno handling in asm.
42628 (__CLONE_SYSCALL_STRING): Delete.
42629 (__INTERNAL_SYSCALL_STRING): Delete.
42630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42631 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42632 (PSEUDO): Reimplement to do errno handling inline.
42633 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42634 (SYSCALL_ERROR_HANDLER): New macro.
42635 (__SYSCALL_STRING): Do not do errno handling in asm.
42636 (__CLONE_SYSCALL_STRING): Delete.
42637 (__INTERNAL_SYSCALL_STRING): Delete.
42638 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42639 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42641 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42642 (inline_syscall*): Add 'err' argument.
42643 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42644 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42645 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42646 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42648 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42649 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42651 2011-08-30 Andreas Schwab <schwab@redhat.com>
42653 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42655 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42657 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42660 2011-08-24 David S. Miller <davem@davemloft.net>
42662 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42664 2011-08-24 Andreas Schwab <schwab@redhat.com>
42666 * elf/Makefile: Add rules to build and run unload8 test.
42667 * elf/unload8.c: New file.
42668 * elf/unload8mod1.c: New file.
42669 * elf/unload8mod1x.c: New file.
42670 * elf/unload8mod2.c: New file.
42671 * elf/unload8mod3.c: New file.
42673 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42676 2011-08-23 David S. Miller <davem@davemloft.net>
42678 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42679 subtract stack bias.
42680 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42681 %sp not %fp in calculations.
42682 (_JMPBUF_UNWINDS_ADJ): Likewise.
42684 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42685 (aio_suspend): Call it to force an exception region around the
42686 AIO_MISC_WAIT() invocation.
42688 2011-08-23 Andreas Schwab <schwab@redhat.com>
42690 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42693 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42695 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42697 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42698 and <dl-machine.h>.
42699 (Elf64_FuncDesc): Remove.
42701 2011-08-22 David S. Miller <davem@davemloft.net>
42703 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42704 sigaltstack check, add missing cfi directives.
42705 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42706 missing cfi directives, and sigaltstack handling.
42708 2011-08-16 Andreas Schwab <schwab@redhat.com>
42711 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42712 object is seen twice.
42713 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42715 * elf/Makefile (distribute): Add tst-initorder2.c.
42716 (tests): Add tst-initorder2.
42717 (modules-names): Add tst-initorder2a tst-initorder2b
42718 tst-initorder2c tst-initorder2d. Add rules to build them.
42719 ($(objpfx)tst-initorder2.out): New rule.
42720 * elf/tst-initorder2.c: New file.
42721 * elf/tst-initorder2.exp: New file.
42723 2011-08-22 Andreas Schwab <schwab@redhat.com>
42725 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42727 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42728 dependencies back to end of function.
42730 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42731 $(elfobjdir)/ld.so.
42733 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42736 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42737 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42738 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42739 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42740 of __vdso_gettimeofday.
42741 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42742 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42744 (_libc_vdso_platform_setup): Remove initialization of
42745 __vdso_gettimeofday and __vdso_time.
42747 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42749 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42750 and fgetc_unlocked.
42751 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42754 * elf/dl-open.c (add_to_global): Report additions to the global scope
42755 for LD_DEBUG=scopes.
42756 (dl_open_worker): Also print scope of newly loaded dependencies.
42757 (_dl_show_scope): Indicate if there is no scope.
42760 * stdio-common/Makefile (tests): Add bug24.
42761 * stdio-common/bug24.c: New file.
42763 2011-08-19 Andreas Jaeger <aj@suse.de>
42766 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42767 non-existant file when using close-on-exec mode.
42769 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42771 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42772 the very first instruction.
42774 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42775 the CFI state in the end.
42776 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42777 inclusion of dl-trampoline.h.
42778 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42780 2011-08-19 Andreas Schwab <schwab@redhat.com>
42782 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42783 expectations for long double.
42785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42786 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42788 2011-08-14 David S. Miller <davem@davemloft.net>
42790 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42791 artificual limit depends upon the system page size.
42793 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42795 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42796 * resolv/Makefile: Define CFLAGS-libresolv.
42798 2011-08-17 Andreas Schwab <schwab@redhat.com>
42800 * nss/makedb.c (compute_tables): Make variables used in nested
42803 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42805 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42806 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42807 if buffer was too small.
42809 * elf/pldd.c (main): Attach to all threads in the process.
42810 Rewrite /proc handling to use *at functions.
42812 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42814 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42815 specifies first scope to show.
42816 (dl_open_worker): Update callers. Move printing scope of new
42817 object to before the relocation.
42818 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42819 * sysdeps/generic/ldsodefs.h: Update declaration.
42821 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42822 string for the scope number.
42824 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42826 * nscd/servicescache.c (cache_addserv): Make sure written is always
42829 2011-08-14 Roland McGrath <roland@hack.frob.com>
42831 * sysdeps/i386/i486/bits/atomic.h
42832 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42833 statement expression, so as to suppress "set but not used" warning.
42834 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42836 * string/strncat.c (STRNCAT): Use prototype definition.
42838 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42839 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42841 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42842 (localedef-modules): Add localedef.
42843 (locale-modules): Add locale.
42845 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42846 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42847 to avoid a warning.
42849 2011-08-14 David S. Miller <davem@davemloft.net>
42851 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42852 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42854 2011-08-13 Ulrich Drepper <drepper@gmail.com>
42856 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42857 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42858 * elf/rtld.c (dl_main): Set l_name of vDSO.
42859 Call _dl_show_scope when DL_DEBUG_SCOPES.
42860 (process_dl_debug): Recognize scopes flag and also set it for all.
42861 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42862 Declare _dl_show_scope.
42864 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42865 (do_dlopen): Pass caller_dlopen to dl_open.
42866 (__libc_dlopen_mode): Initialize caller_dlopen.
42868 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42869 of libc. Make tolower call locale-independent. Optimize a bit by
42870 using isdigit instead of isalnum.
42871 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42873 2011-08-12 Ulrich Drepper <drepper@gmail.com>
42875 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42876 was a dependency or dynamically loaded.
42878 2011-08-11 Ulrich Drepper <drepper@gmail.com>
42880 * intl/l10nflist.c: Allow architecture-specific pop function.
42881 * sysdeps/x86_64/l10nflist.c: New file.
42883 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42886 2011-08-10 Andreas Schwab <schwab@redhat.com>
42888 * include/dirent.h: Add libc_hidden_proto for scandirat and
42889 scandirat64. Don't declare __scandirat64.
42890 * dirent/scandirat.c: Add libc_hidden_def.
42891 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42892 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42894 2011-08-10 David S. Miller <davem@davemloft.net>
42896 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42898 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42899 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42900 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42902 2011-08-09 Ulrich Drepper <drepper@gmail.com>
42904 * Versions.def [libc]: Add GLIBC_2.15.
42905 * dirent/Makefile (routines): Add scandirat and scandirat64.
42906 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42908 * dirent/dirent.h: Declare scandirat and scandirat64.
42909 * dirent/scandirat.c: New file.
42910 * dirent/scandirat64.c: New file.
42911 * sysdeps/wordsize-64/scandirat.c: New file.
42912 * sysdeps/wordsize-64/scandirat64.c: New file.
42913 * dirent/opendir.c: Define opendirat.
42914 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42916 * dirent/scandir64.c: Adjust for scandir.c change.
42917 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42918 __scandirat64, and __scandir_cancel_handler.
42919 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42920 additional parameter and use openat instead of open (outside of ld.so).
42921 Add new __opendir as wrapper around __opendirat.
42922 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42923 here without requiring old scandirat implementation.
42925 2011-08-08 Ulrich Drepper <drepper@gmail.com>
42927 * dirent/scandir.c (cancel_handler): Renamed to
42928 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42929 defined. Adjust users.
42930 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42931 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42933 2011-08-04 Ulrich Drepper <drepper@gmail.com>
42935 * string/test-string.h (IMPL): Use __STRING to expand name and then
42938 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42941 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42943 * string/Makefile: Update.
42944 (strop-tests): Append strncat.
42945 * string/test-wcscmp.c: New file.
42946 New comprehensive test for wcscmp.
42947 * string/test-strcmp.c: Update.
42948 (WIDE): New define.
42950 2011-07-22 Andreas Schwab <schwab@redhat.com>
42952 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42955 2011-07-26 Andreas Schwab <schwab@redhat.com>
42957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42958 encoding to ACE if AI_IDN.
42960 2011-08-01 Jakub Jelinek <jakub@redhat.com>
42962 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42963 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42965 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42967 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42968 Fix overflow bug in strncat.
42969 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42971 * string/test-strncat.c: Update.
42972 Add new tests for checking overflow bugs.
42974 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42977 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42978 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42979 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42980 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42981 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42982 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42983 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42984 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42986 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42987 (USE_AS_STRCAT): Define.
42988 Add strcat and strncat support.
42989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42991 2011-07-25 Andreas Schwab <schwab@redhat.com>
42993 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42994 __n bigger than INT_MAX+1.
42995 (__strncmp_g): Likewise.
42997 2011-07-23 Ulrich Drepper <drepper@gmail.com>
42999 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43000 * libio/stido.h: Likewise.
43002 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43004 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43007 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43008 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43009 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43010 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43011 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43014 * scripts/test-installation.pl: Don't expect libnss_test1 to be
43017 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43019 (_dl_x86_64_save_sse): Likewise.
43021 2011-07-22 Ulrich Drepper <drepper@gmail.com>
43023 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43025 (_dl_x86_64_save_sse): Likewise.
43027 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43029 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43031 2011-07-21 Andreas Schwab <schwab@redhat.com>
43033 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43035 (_dl_x86_64_save_sse): Use correct AVX check.
43037 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43039 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43040 bug in strncpy/strncat.
43041 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43043 2011-07-21 Ulrich Drepper <drepper@gmail.com>
43045 * string/tester.c (test_strcat): Add tests for different alignments
43046 of source and destination.
43047 (test_strncat): Likewise.
43049 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43052 * posix/glob.c (glob): Check passed in values before using them in
43053 expressions to avoid some overflows.
43054 (glob_in_dir): Likewise.
43057 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43058 check for AVX enablement so that we don't crash with old kernels and
43060 * elf/tst-audit4.c: Add same checks here.
43061 * elf/tst-audit6.c: Likewise.
43063 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43065 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
43067 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43069 2011-07-20 Ulrich Drepper <drepper@gmail.com>
43071 * po/cs.po: Update from translation team.
43072 * po/bg.po: Likewise.
43074 2011-07-12 Marek Polacek <mpolacek@redhat.com>
43076 * misc/sys/cdefs.h: Add support for const attribute.
43077 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43078 to gnu_dev_{major,minor,makedev} functions.
43080 2011-07-20 Marek Polacek <mpolacek@redhat.com>
43082 * intl/dcigettext.c (get_output_charset): Add missing bracket.
43084 2011-07-20 Andreas Schwab <schwab@redhat.com>
43086 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43089 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43091 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43092 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43093 register in order to avoid conflicts with the soft frame pointer
43094 being held in r11 when necessary.
43095 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43096 (INTERNAL_VSYSCALL_NCS): Likewise.
43098 2011-07-14 Marek Polacek <mpolacek@redhat.com>
43100 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43101 * elf/dl-fini.c (_dl_fini): Adjust caller.
43102 * elf/dl-close.c (_dl_close_worker): Likewise.
43103 * sysdeps/generic/ldsodefs.h: Adjust declaration.
43105 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43107 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43108 "aux_cache->nlibs < 0".
43110 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43111 in the reload-count case.
43113 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
43115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43116 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43117 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43118 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43119 * sysdeps/x86_64/multiarch/strcat.S: New file.
43120 * sysdeps/x86_64/multiarch/strncat.S: New file.
43121 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43122 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43123 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43124 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43125 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43126 (USE_AS_STRCAT): Define.
43127 Add strcat and strncat support.
43128 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43129 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43130 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43131 * string/strncat.c: Update.
43132 (USE_AS_STRNCAT): Define.
43133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43134 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43136 * sysdeps/x86_64/multiarch/init-arch.h
43137 (bit_Prefer_PMINUB_for_stringop): New.
43138 (index_Prefer_PMINUB_for_stringop): Likewise.
43139 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43140 bit_Prefer_PMINUB_for_stringop.
43142 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43144 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43146 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43147 of casting of buffer.
43148 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43149 buffer32 and buffer64.
43150 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43151 writes instead of casting of buffer.
43152 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43154 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43157 2011-07-19 Andreas Schwab <schwab@redhat.com>
43159 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43161 2011-07-19 Ulrich Drepper <drepper@gmail.com>
43163 * nscd/nscd.c (termination_handler): Don't do anything for a database
43164 if it has not yet been initialized.
43166 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43168 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43170 2011-07-15 Marek Polacek <mpolacek@redhat.com>
43172 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43174 2011-07-18 Ulrich Drepper <drepper@gmail.com>
43176 * po/nl.po: Update from translation team.
43177 * po/sv.po: Likewise.
43179 2011-07-16 Roland McGrath <roland@hack.frob.com>
43181 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43182 now disallowed by GCC.
43184 * configure.in (use-default-link): Default to yes if a test -shared
43185 link meets our qualifications.
43186 * configure: Regenerated.
43188 * config.make.in (output-format): New variable.
43189 * configure.in: Check for ld --print-output-format support.
43190 * configure: Regenerated.
43191 * Makerules ($(common-objpfx)format.lds)
43192 [$(output-format) != unknown]: Just use $(output-format),
43193 instead of the linker-script munging.
43195 2011-07-14 Roland McGrath <roland@hack.frob.com>
43197 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43198 of $(common-objpfx)shlib.lds.
43199 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43201 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43202 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43204 * configure.in (-z relro check): Adjust test code to add a large
43205 writable data section after it.
43206 * configure: Regenerated.
43208 2011-07-11 Roland McGrath <roland@hack.frob.com>
43210 * configure.in (-z relro check): Fix test code to make the variable
43212 * configure: Regenerated.
43214 2011-07-11 Ulrich Drepper <drepper@gmail.com>
43216 * nscd/nscd.h (struct traced_file): Define.
43217 (struct database_dyn): Remove inotify_descr, reset_res, and filename
43218 elements. Add traced_files.
43219 (inotify_fd): Declare.
43220 (register_traced_file): Declare.
43221 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43222 (inotify_fd): Export.
43223 (resolv_conf_descr): Remove.
43224 (nscd_init): Move inotify descriptor creation to main.
43225 Don't register files for notification here.
43226 (register_traced_file): New function.
43227 (invalidate_cache): Don't use reset_res to determine whether to call
43228 res_init, go through the list of registered files.
43229 (main_loop_poll): The inotify descriptors are now stored in the
43230 structures for the traced files.
43231 (main_loop_epoll): Likewise
43232 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
43233 to __nss_disable_nscd.
43234 * nscd/cache.c (prune_cache): There is no single inotify descriptor
43235 for a database anymore. Check the records for all the registered
43237 * nss/Makefile (libnss_files-routines): Add files-init.
43238 (libnss_db-routines): Add db-init.
43239 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43240 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43241 * nss/nss_db/db-init.c: New file.
43242 * nss/nss_files/files-init.c: New file.
43243 * nss/nsswitch.c (nss_load_library): New function. Broken out of
43244 __nss_lookup_function.
43245 (__nss_lookup_function): Call nss_load_library.
43246 (nss_load_all_libraries): New function.
43247 (__nss_disable_nscd): Take parameter with callback function for files
43248 to register. Set is_nscd. Load all the DSOs for the NSS modules
43249 used for the cached services.
43250 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43251 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43252 options for features to all the files in nscd.
43254 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43256 2011-07-10 Roland McGrath <roland@hack.frob.com>
43258 * csu/elf-init.c (__libc_csu_init): Comment typo.
43260 2011-07-09 Ulrich Drepper <drepper@gmail.com>
43262 * po/pl.po: Update from translation team.
43263 * po/ja.po: Likewise.
43264 * po/ru.po: Likewise.
43265 * po/ko.po: Likewise.
43266 * po/fr.po: Likewise.
43268 2011-07-09 Roland McGrath <roland@hack.frob.com>
43270 * configure.in (.ctors/.dtors header and trailer check):
43271 Use an empirical test on a built program.
43272 * configure: Regenerated.
43274 * configure.in (-z relro check): Use an empirical test on a built DSO.
43275 Detect, but do not require, on ia64.
43276 * configure: Regenerated.
43278 * configure.in (READELF): Find it with AC_CHECK_TOOL.
43279 Update tests that use readelf to use $READELF instead.
43280 * configure: Regenerated.
43282 2011-07-08 Ulrich Drepper <drepper@gmail.com>
43284 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43285 if the result is not used.
43287 2011-07-05 Andreas Jaeger <aj@suse.de>
43290 * stdlib/tst-strtod.c: Add testcase.
43292 2011-07-07 Ulrich Drepper <drepper@gmail.com>
43294 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43295 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43296 The latter has a higher limit. Take additional parameter to pass to
43298 (__pathconf): Pass file to __statfs_link_max.
43299 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43301 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43305 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43306 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43308 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43309 (__statfs_filesize_max): Likewise.
43310 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43312 2011-07-05 Andreas Jaeger <aj@suse.de>
43314 * resolv/res_comp.c (dn_skipname): Remove unused variable.
43316 2011-07-06 Marek Polacek <mpolacek@redhat.com>
43318 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43320 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43323 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
43325 * Makefile (strop-tests): Add strncat.
43326 * string/test-strncat.c: New file.
43328 2011-06-30 Marek Polacek <mpolacek@redhat.com>
43330 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43332 2011-06-21 Andreas Jaeger <aj@suse.de>
43334 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43335 Copy rule from iconvdata/Makefile.
43337 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43340 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43341 but no long options are defined, just return 'W'.
43343 2011-06-22 Marek Polacek <mpolacek@redhat.com>
43346 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43348 2011-07-06 Ulrich Drepper <drepper@gmail.com>
43350 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43352 (innetgr): Likewise.
43354 2011-07-05 Roland McGrath <roland@hack.frob.com>
43356 * config.make.in (install_root): Default to $(DESTDIR).
43358 2011-07-05 Ulrich Drepper <drepper@gmail.com>
43360 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43362 2011-07-02 Roland McGrath <roland@hack.frob.com>
43364 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43366 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43367 containing directory rather than embedding absolute directory names.
43369 * scripts/check-local-headers.sh: Rewritten using awk.
43370 Match by word, not by line. Print error messages for matches.
43371 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43373 * Makerules [shlib-lds-flags empty]:
43374 ($(common-objpfx)libc_pic.opts): New target.
43375 ($(common-objpfx)libc_pic.os.clean): New target.
43376 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43378 * config.make.in (OBJCOPY): New variable.
43379 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43380 * configure: Regenerated.
43382 * config.make.in (use-default-link): New variable.
43383 * configure.in (use_default_link): Grok --with-default-link to set it.
43384 * configure: Regenerated.
43385 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43386 (shlib-lds, shlib-lds-flags): Define to empty.
43388 * Makerules (shlib-lds): New variable.
43389 (shlib-lds-flags): New variable.
43390 (build-shlib, build-moduile, build-module-asneeded): Use it.
43391 ($(common-objpfx)libc.so): Use $(shlib-lds).
43392 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43393 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43395 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43396 DT_FLAGS/DT_FLAGS_1 with zero flags.
43398 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43399 linker script munging.
43401 2011-07-02 Ulrich Drepper <drepper@gmail.com>
43403 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43405 * crypt/sha512.c (sha512_process_block): Perform total addition using
43406 128-bit if possible.
43407 (__sha512_finish_ctx): Likewise.
43408 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43410 * crypt/sha256.c (SWAP64): Define.
43411 (sha256_process_block): Perform total addition using 64-bit if
43413 (__sha256_finish_ctx): Likewise.
43415 2011-07-01 Ulrich Drepper <drepper@gmail.com>
43417 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
43418 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43419 * nscd/hstcache.c (cache_addhst): Likewise.
43420 * nscd/grpcache.c (cache_addgr): Likewise.
43421 * nscd/aicache.c (addhstaiX): Likewise
43422 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43424 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
43426 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43427 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43428 * nscd/hstcache.c (cache_addhst): Likewise.
43429 * nscd/grpcache.c (cache_addgr): Likewise.
43430 * nscd/aicache.c (addhstaiX): Likewise
43432 2011-07-01 Andreas Schwab <schwab@redhat.com>
43434 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43435 domain only when needed.
43437 2011-06-30 Andreas Schwab <schwab@redhat.com>
43439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43440 is always restored.
43442 2011-06-29 Ulrich Drepper <drepper@gmail.com>
43444 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43445 are re-adding the entry.
43446 * nscd/servicescache.c (cache_addserv): Likewise.
43448 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
43450 * sysdeps/generic/dl-irel.h: fix protection against multiple
43452 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43454 2011-06-28 Ulrich Drepper <drepper@gmail.com>
43457 * malloc/memusage.sh: Fix quoting in message.
43458 * debug/xtrace.sh: Likewise.
43460 * configure.in: Remove support for --experimental-malloc option, make
43462 * config.make.in: Likewise.
43463 * malloc/Makefile: Likewise.
43465 2011-06-27 Andreas Schwab <schwab@redhat.com>
43467 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43468 two-byte characters.
43470 2011-06-27 Roland McGrath <roland@hack.frob.com>
43472 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43473 AC_CACHE_CHECK invocation.
43474 * configure: Regenerated.
43476 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43478 2011-06-27 Ulrich Drepper <drepper@gmail.com>
43481 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
43482 bit from old_res_options.
43484 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43486 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43487 value type for setfct.
43489 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
43491 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43492 __gettimeofday instead of gettimeofday.
43494 2011-06-26 Ulrich Drepper <drepper@gmail.com>
43496 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43498 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
43500 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43502 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43505 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43507 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43508 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43509 strcpy-sse2-unaligned strncpy-sse2-unaligned
43510 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43511 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43512 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43513 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43514 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43515 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43516 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43517 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43518 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43519 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43520 (STRCPY): Support SSE2 and SSSE3 versions.
43522 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43525 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43526 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43527 kernels which artificially limit size of requests.
43529 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43532 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43533 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43534 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43535 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43536 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43537 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43538 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43539 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43540 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43541 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43542 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43543 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43544 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43545 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43547 Enable unaligned load optimization for Intel Core i3, i5 and i7
43549 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43551 (index_Fast_Unaligned_Load): Define.
43552 (HAS_FAST_UNALIGNED_LOAD): Define.
43554 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43556 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43558 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43561 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43562 until it is clear that the information is realy needed.
43563 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43565 2011-06-22 Andreas Schwab <schwab@redhat.com>
43567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43569 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43571 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43572 /sys/devices/system/cpu/online if it is usable.
43574 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43575 reading the information from the /proc filesystem to once a second.
43577 2011-06-21 Andreas Jaeger <aj@suse.de>
43579 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43580 NULL after inclusion of kernel headers.
43582 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43584 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43585 calls to internal_setent.
43588 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43589 addresses using gethostbyname4_r ignore IPv4 addresses.
43591 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43592 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43594 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43596 2011-06-20 David S. Miller <davem@davemloft.net>
43598 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43600 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43602 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43603 (elf_irel): Use it.
43604 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43605 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43606 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43607 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43608 * sysdeps/x86_64/dl-irel.h: Likewise.
43610 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43611 * elf/dl-sym.c: Likewise.
43613 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43615 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43616 need to dereference resplen2.
43618 2011-06-14 Andreas Schwab <schwab@redhat.com>
43620 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43622 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43624 * Makeconfig: Define vardbdir and inst_vardbdir.
43625 * nss/Makefile: Add rules to install db-Makefile.
43627 * nss/nss_db/db-XXX.c: Cleanup.
43629 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43630 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43632 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43633 * nss/makedb.c: Implement -g option to specify that value strings
43634 are generated and should not be added to table iterated over for
43636 * nss/nss_db/db-initgroups.c: New file.
43638 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43641 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43642 (internal_getgrouplist): Adjust to name change.
43643 Update use_initgroups_entry if this is not the first call.
43644 * nss/databases.def: Add initgroups entry.
43646 * nss/makedb.c (compute_tables): Check result of multiple hash table
43647 sizes to minimize maximum chain length.
43649 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43651 * Versions.def: Add entry for libnss_db.
43652 * shlib-versions: Likewise.
43653 * nss/Makefile: Add rules to build libnss_db.
43654 * nss/Versions: Add libnss_db information. Organize libnss_files
43656 * nss/db-Makefile: Add gshadow support. Change rules for the new
43657 makedb progra. Some minor improvements to generate smaller files.
43658 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43660 * nss/makedb.c: ...here.
43661 Improve database format to be smaller and require less memory at
43663 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43665 * nss/nss_db/db-netgrp.c: Likewise.
43666 * nss/nss_db/db-open.c: Likewise.
43667 * nss/nss_files/flies-XXX.x: Adjust comments.
43668 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43669 * nss/nss_files/files-grp.c: Likewise.
43670 * nss/nss_files/files-hosts.c: Likewise.
43671 * nss/nss_files/files-network.c: Likewise.
43672 * nss/nss_files/files-proto.c: Likewise.
43673 * nss/nss_files/files-pwd.c: Likewise.
43674 * nss/nss_files/files-rpc.c: Likewise.
43675 * nss/nss_files/files-service.c: Likewise.
43676 * nss/nss_files/files-sgrp.c: Likewise.
43677 * nss/nss_files/files-spwd.c: Likewise.
43678 * nss/nss_db/db-alias.c: Removed.
43679 * nss/nss_db/dummy-db.h: Removed.
43681 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43683 * nss/makedb.c: Rewritten to not use database library.
43684 * nss/Makefile: Update to build new makedb program.
43686 2011-06-14 Andreas Jaeger <aj@suse.de>
43688 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43689 memset declaration.
43691 2011-06-10 Andreas Schwab <schwab@redhat.com>
43693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43696 2011-06-10 Roland McGrath <roland@hack.frob.com>
43698 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43699 * elf/Makefile ($(objpfx)ld.so): Likewise.
43701 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43702 Don't list ld.so twice in dependencies.
43704 * posix/bug-regex31.c: Include <stdlib.h>.
43706 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43708 * nis/nss_compat/compat-spwd.c
43709 (getspent_next_nss_netgr): Remove unused variable.
43710 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43712 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43713 nonmembers" output to use the right array.
43715 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43717 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43719 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43720 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43721 * catgets/gencat.c (read_input_file): Likewise.
43722 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43724 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43725 variable definition inside #if's controlling its use.
43727 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43729 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43731 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43733 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43736 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43738 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43739 * configure: Regenerated.
43741 * Makerules: Revert last change.
43742 * elf/Makefile: Likewise.
43744 2011-06-09 Roland McGrath <roland@hack.frob.com>
43746 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43747 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43748 (reloc-link): Likewise.
43750 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43752 * elf/Makefile: Add rules to build pldd.
43753 * elf/pldd.c: New file.
43754 * elf/pldd-xx.c: New file.
43756 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43758 * version.h: Update for 2.15 development version.
43760 2011-06-07 David S. Miller <davem@davemloft.net>
43762 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43764 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43765 elf_machine_lazy_rel): Likewise.
43766 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43767 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43768 elf_machine_lazy_rel): Likewise.
43769 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43770 dl_hwcap via passed in argument.
43771 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43774 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43776 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43778 2011-06-06 Roland McGrath <roland@hack.frob.com>
43781 * manual/fdl-1.1.texi: New file, verbatim from:
43782 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43783 * manual/lgpl-2.1.texi: New file, verbatim from:
43784 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43785 * manual/Makefile (licenses): New variable, list those new file names.
43787 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43789 * manual/fdl.texi: File removed.
43790 * manual/lesser.texi: File removed.
43791 * manual/libc.texinfo (Copying, Documentation License):
43792 Use new @include file names, put @appendix directive before @include.
43794 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43797 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43798 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43799 (mq_open): Add __NTH.
43801 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43804 Assume Intel Core i3/i5/i7 processor if AVX is available.
43806 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43808 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43811 2011-05-31 Andreas Schwab <schwab@redhat.com>
43813 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43814 memory. Use alloca_account. Fix memory leak when retrying.
43816 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43818 * version.h (RELEASE): Bump for 2.14 release.
43819 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43821 * config.make.in (RANLIB): Remove entry.
43823 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43825 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43826 (libc.pot): Work around missing support for .ksh extension in xgettext.
43829 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43830 if both request failed.
43831 (send_dg): In case of server errors clear resplen or *resplen2.
43834 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43835 when there are multiple maps.
43836 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43837 (_dl_fini): Remove test here.
43839 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43841 2011-05-29 Ulrich Drepper <drepper@gmail.com>
43844 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43845 bit from old_res_options.
43846 (gaih_inet): Likewise.
43849 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43852 * resolv/res_init.c (res_setoptions): Make the code more compact.
43855 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43859 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43861 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43864 * malloc/malloc.h: Declare malloc hook variables as volatile.
43866 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43870 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43871 raise in the comment.
43872 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43873 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43874 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43876 2011-05-28 Ulrich Drepper <drepper@gmail.com>
43879 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43880 grow the buffers more if it already has to be sufficient.
43881 (build_wcs_upper_buffer): Likewise.
43882 * posix/regexec.c (check_matching): Likewise.
43883 (clean_state_log_if_needed): Likewise.
43884 (extend_buffers): Don't enlarge buffers beyond size of the input
43886 Patches mostly by Emil Wojak <emil@wojak.eu>.
43887 * posix/bug-regex32.c: New file.
43888 * posix/Makefile (tests): Add bug-regex32.
43890 * locale/findlocale.c (_nl_find_locale): Return right away if
43891 _nl_explode_name failed.
43892 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43894 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43896 * debug/xtrace.sh: Unify messages.
43897 * malloc/memusage.sh: Likewise.
43900 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43901 time symbol from vDSO. Substitute with vsyscall if not available.
43902 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43905 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43906 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43907 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43908 Add sendmmsg and internal_sendmmsg.
43909 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43910 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43911 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43913 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43914 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43915 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43917 2011-05-27 Ulrich Drepper <drepper@gmail.com>
43920 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43921 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43923 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43927 * iconvdata/Makefile (tests): Add bug-iconv9.
43928 * iconvdata/bug-iconv9.c: New file.
43930 2011-05-27 Andreas Schwab <schwab@redhat.com>
43933 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43935 2011-05-25 Jakub Jelinek <jakub@redhat.com>
43937 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43938 (struct user_regs_struct): Change intcs field back to cs.
43940 2011-05-25 Ulrich Drepper <drepper@gmail.com>
43942 * po/ja.po: Update from translation team.
43944 2011-05-23 Ulrich Drepper <drepper@gmail.com>
43947 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43948 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43950 2011-05-20 Andreas Schwab <schwab@redhat.com>
43952 * stdlib/longlong.h: Update from GCC.
43954 2011-05-23 Andreas Schwab <schwab@redhat.com>
43956 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43958 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43959 Add parameter name.
43960 (__sysconf): Pass it down.
43962 2011-05-22 Ulrich Drepper <drepper@gmail.com>
43965 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43967 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43968 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43969 add in in __libc_use_alloca calls. Adjust callers.
43970 (glob): Use malloc in some situations.
43972 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43973 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43976 2011-05-21 Ulrich Drepper <drepper@gmail.com>
43978 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43979 and CLOCK_BOOTTIME_ALARM.
43982 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43985 * string/_strerror.c (__strerror_r): Print negative errors as signed
43989 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43990 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43991 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43993 * configure.in: Fix typo in redirection and correct removal of test
43994 files in two cases.
43997 * locale/setlocale.c (new_composite_name): Fix test to check for
43998 identical name of all categories.
44001 * libio/filedoalloc.c (local_isatty): New function.
44002 (_IO_file_doallocate): Use local_isatty.
44003 * stdio-common/perror.c (perror): In case a new stream is used
44004 forward the stream error.
44005 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44008 2011-05-20 Ulrich Drepper <drepper@gmail.com>
44011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44013 * include/alloca.h (extend_alloca_account): Define.
44016 * posix/regex.h: Fix comments with documentation of user-accessible
44017 fields after compilation and describe correct free'ing of pattern
44018 after re_compile_pattern.
44019 Patch by Reuben Thomas <rrt@sc3d.org>.
44021 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
44023 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44024 and -mno-altivec to prevent the compiler from using Altivec and/or
44025 VSX instructions when the corresponding registers are not available.
44027 2011-05-19 Andreas Schwab <schwab@redhat.com>
44029 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44031 2011-05-19 Ulrich Drepper <drepper@gmail.com>
44033 * libio/freopen.c (freopen): Use __dup2, not dup2.
44034 * libio/freopen64.c (freopen64): Likewise.
44036 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
44039 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44040 * math/Makefile (tests): Add test-powl.
44041 (CFLAGS-test-powl.c): Define.
44042 * math/test-powl.c: New file.
44044 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
44046 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44048 2011-05-17 Ulrich Drepper <drepper@gmail.com>
44051 * iconvdata/gb18030.c: Update to GB18020-2005.
44053 2011-05-16 Ulrich Drepper <drepper@gmail.com>
44055 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44056 RE_SYNTAX_POSIX_AWK): Update to match recent development.
44057 Patch by Aharon Robbins <arnold@skeeve.com>.
44060 * stdlib/putenv.c (putenv): Don't always create copy of the variable
44064 * misc/pselect.c (__pselect): Handle timeout value errors hidden
44065 through underflows.
44068 * misc/error.c (error_at_line): Ensure file_name and old_file_name
44069 point to strings before performing equality test for error_one_per_line
44073 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44076 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44077 (struct user_fpregs_struct): Avoid __uint*_t types.
44080 * malloc/mtrace.c (tr_where): Add additional parameter to point to
44081 symbol info. Use it instead of calling _dl_addr locally.
44082 (lock_and_info): New function.
44083 (tr_freehook): Call lock_and_info and pass symbol info as additional
44084 parameter to tr_where.
44085 (tr_mallochook): Likewise.
44086 (tr_reallochook): Likewise.
44087 (tr_memalignhook): Likewise.
44089 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
44090 used and couldn't be at all thread-safe.
44092 2011-05-15 Ulrich Drepper <drepper@gmail.com>
44094 * libio/freopen.c (freopen): Don't close old file descriptor
44095 before the new one is opened. Instead dup the new file descriptor
44096 to the old one after the new stream is created.
44097 * libio/freopen64.c (freopen64): Likewise.
44098 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44099 * libio/fileops.c (_IO_new_file_close_it): Handle new
44100 _IO_FLAGS2_NOCLOSE flag.
44101 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44102 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44103 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44104 _IO_FLAGS2_NOCLOSE flag.
44105 * include/unistd.h: Add hidden_proto for dup3.
44106 Define __have_dup3.
44107 * io/dup3.c: Define hidden symbol.
44108 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44111 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44112 when an incomplete long option is used.
44113 * posix/tst-getopt_long1.c: New file.
44114 * posix/Makefile (tests): Add tst-getopt_long1.
44117 * scripts/config.guess: Update from autoconf-2.68.
44118 * scripts/config.sub: Likewise.
44121 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44123 (has_cpuclock): ...this. New function.
44124 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44125 macro here based on has_cpuclock code.
44128 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44129 First byte (not low byte) is now always NUL.
44130 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44132 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44133 Use non-cancelable interfaces.
44136 * locale/iso-639.def: Add entry for Sorani.
44139 * include/stdlib.h: Move include protection to the right place.
44140 Define abort_msg_s. Declare __abort_msg with it.
44141 * stdlib/abort.c (__abort_msg): Adjust type.
44142 * assert/assert.c (__assert_fail_base): New function. Majority
44143 of code from __assert_fail. Allocate memory for __abort_msg with
44145 (__assert_fail): Now call __assert_fail_base.
44146 * assert/assert-perr.c: Remove bulk of implementation. Use
44147 __assert_fail_base.
44148 * include/assert.hL Declare __assert_fail_base.
44149 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44151 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44153 2011-05-14 Ulrich Drepper <drepper@gmail.com>
44157 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44158 until all modules are registered in the DTV.
44159 * elf/Makefile: Add rules to build and run tst-tls19.
44160 * elf/tst-tls19.c: New file.
44161 * elf/tst-tls19mod1.c: New file.
44162 * elf/tst-tls19mod2.c: New file.
44163 * elf/tst-tls19mod3.c: New file.
44164 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44167 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44171 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44172 two-byte sequence errors.
44173 * iconvdata/Makefile (tests): Add bug-iconv8.
44174 * iconvdata/bug-iconv8.c: New file.
44177 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44180 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44183 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44184 (dummy_getcfa): New function.
44185 (init): Get _Unwind_GetCFA address, use dummy if not found.
44186 (backtrace_helper): In recursion check, also check whether CFA changes.
44187 (__backtrace): Completely initialize arg.
44189 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44190 storing incomplete byte sequence in state object. Avoid testing for
44191 guaranteed too small input if we know there is enough data available.
44193 2011-05-11 Andreas Schwab <schwab@redhat.com>
44195 * Makeconfig (+link-pie): Indent.
44196 * Rules (binaries-pie): Define if $(have-fpie) and
44198 (binaries-shared): Also filter out $(binaries-pie).
44199 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44200 * nscd/Makefile (others-pie): Add nscd.
44201 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44202 ($(objpfx)nscd): Remove command override.
44203 * login/Makefile (others-pie): Add pt_chown.
44204 ($(objpfx)pt_chown): Remove command override.
44205 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44206 remove command overrides.
44208 2011-05-13 Ulrich Drepper <drepper@gmail.com>
44210 * libio/tst_putwc.c: Fix error messages.
44213 * libio/fileops.c (_IO_new_file_close_it): Always flush when
44214 currently writing and seek to current position when not.
44215 * libio/Makefile (tests): Add bug-fclose1.
44216 * libio/bug-fclose1.c: New file.
44218 2011-05-12 Ulrich Drepper <drepper@gmail.com>
44221 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44222 don't set DF_1_NODELETE here.
44223 (do_lookup_x): When entering new entry test for copy relocation
44224 and if necessary set DF_1_NODELETE flag.
44225 * elf/tst-unique4.cc: New file.
44226 * elf/tst-unique4.h: New file.
44227 * elf/tst-unique4lib.cc: New file.
44228 * elf/Makefile: Add rules to build and run tst-unique4.
44229 Patch by Piotr Bury <pbury@goahead.com>.
44231 2011-05-11 Ulrich Drepper <drepper@gmail.com>
44234 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44237 * misc/mntent_r.c (addmntent): Flush the stream after the output
44240 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44241 (is_trusted_path_normalize): Skip initial colon. Append slash
44242 to empty buffer. Duplicate is_trusted_path code but allow
44243 constructed patch to be prefix.
44244 (is_dst): Allow $ORIGIN followed by /.
44245 (_dl_dst_substitute): Correct clearing of check_for_trusted.
44246 Correct testing of result of is_trusted_path_normalize
44247 (decompose_rpath): Fix warning.
44249 2011-05-10 Ulrich Drepper <drepper@gmail.com>
44252 * grp/initgroups.c (internal_getgrouplist): When we found the service
44253 list through the initgroups entry in nsswitch.conf do not always
44254 continue on a successful lookup. Don't always use the
44255 __nss_group_database value if it is set.
44256 * nss/nsswitch.conf (initgroups): Change action for successful db
44257 lookup to continue for compatibility.
44259 2011-05-09 Ulrich Drepper <drepper@gmail.com>
44262 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44264 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44266 * iconvdata/tst-tables.sh: Likewise.
44267 * iconvdata/cp770.c: New file.
44268 * iconvdata/cp771.c: New file.
44269 * iconvdata/cp772.c: New file.
44270 * iconvdata/cp773.c: New file.
44271 * iconvdata/cp774.c: New file.
44272 * iconvdata/testdata/CP770: New file.
44273 * iconvdata/testdata/CP770..UTF8: New file.
44274 * iconvdata/testdata/CP771: New file.
44275 * iconvdata/testdata/CP771..UTF8: New file.
44276 * iconvdata/testdata/CP772: New file.
44277 * iconvdata/testdata/CP772..UTF8: New file.
44278 * iconvdata/testdata/CP773: New file.
44279 * iconvdata/testdata/CP773..UTF8: New file.
44280 * iconvdata/testdata/CP774: New file.
44281 * iconvdata/testdata/CP774..UTF8: New file.
44283 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44285 * iconvdata/gen-8bit-gap.sh: Likewise.
44286 * iconvdata/gen-8bit.sh: Likewise.
44288 * locale/iso-639.def: Add ary entry.
44291 * locale/C-translit.h.in: Add U20A1 transliteration.
44294 * locale/iso-639.def: Add wae entry.
44295 Patch by Kevin Bortis <bortis@translate-wae.ch>.
44298 * locale/programs/localedef.c (construct_output_path): Use ssize_t
44302 * locale/C-translit.h.in: Add entry for U20B9.
44303 Patch by pravin.d.s@gmail.com.
44305 2011-05-08 Ulrich Drepper <drepper@gmail.com>
44308 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44309 ENAMETOOLONG use generic getcwd.
44310 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
44311 in rtld. Use *stat64.
44312 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44313 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44314 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44315 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44316 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44317 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44318 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44319 __fstatat64 macros.
44320 * include/dirent.h: Add libc_hidden_proto for rewinddir.
44321 * dirent/rewinddir.c: Add libc_hidden_def.
44322 * sysdeps/mach/hurd/rewinddir.c: Likewise.
44323 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
44325 * include/dirent.h (__alloc_dir): Add flags parameter.
44326 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44327 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44329 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
44330 from fdopendir if O_CLOEXEC is already set.
44332 2011-03-15 Alan Modra <amodra@gmail.com>
44334 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44335 l_tls_firstbyte_offset non-zero. Save padding offset in
44336 l_tls_firstbyte_offset for later use.
44337 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44338 freeing static tls block.
44340 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
44342 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44343 where #ifdef was intended. The intent is to prevent ARG_MAX from
44344 being defined by the kernel headers.
44346 2011-05-07 Ulrich Drepper <drepper@gmail.com>
44349 * resolv/resolv.h: Define RES_NOTLDQUERY.
44350 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44351 no-tld-query and set RES_NOTLDQUERY.
44352 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44353 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44354 modern BIND to search name as TLD unless forbidden.
44356 2011-05-07 Petr Baudis <pasky@suse.cz>
44357 Ulrich Drepper <drepper@gmail.com>
44360 * elf/dl-load.c (fillin_rpath): Move trusted path check...
44361 (is_trusted_path): ...to here.
44362 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44363 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44364 using is_trusted_path_normalize() in setuid scripts.
44366 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44368 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44369 __BEGIN/__END_DECLS.
44371 2011-05-06 Ulrich Drepper <drepper@gmail.com>
44373 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44374 NSS_STATUS_NOTFOUND if no record was found.
44376 2011-05-05 Andreas Schwab <schwab@redhat.com>
44378 * sunrpc/Makefile (headers): Add rpc/netdb.h.
44379 (headers-not-in-tirpc): Remove rpc/netdb.h
44380 * resolv/netdb.h: Revert last change.
44382 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
44384 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44385 circular dependency between libgcc.a and libc.a.
44387 2011-05-05 Andreas Schwab <schwab@redhat.com>
44389 * resolv/netdb.h: Don't include <rpc/netdb.h>.
44390 * nis/Makefile: Don't install rpcsvc/*.
44391 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44392 instead of <rpc/types.h>.
44393 (MAXHOSTNAMELEN): Define.
44395 2011-05-03 Andreas Schwab <schwab@redhat.com>
44397 * elf/ldconfig.c (add_dir): Don't crash on empty path.
44399 2011-04-28 Maciej Babinski <mbabinski@google.com>
44402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44403 gethostbyname4_r when IPv6 results are possible.
44405 2011-05-02 Ulrich Drepper <drepper@gmail.com>
44408 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44409 _PC_PIPE_BUF handling.
44411 2011-04-30 Bruno Haible <bruno@clisp.org>
44414 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44415 * resolv/netdb.h (getnameinfo): Change type of flags parameter
44417 * inet/getnameinfo.c (getnameinfo): Likewise.
44419 2011-04-29 Ulrich Drepper <drepper@gmail.com>
44421 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44422 to groups setting in database lookup.
44423 * nss/nsswitch.conf: Add initgroups entry.
44425 2011-04-22 Ulrich Drepper <drepper@gmail.com>
44428 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44430 Patch by Eric Blake <eblake@redhat.com>.
44432 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
44434 * sunrpc/Makefile (need-export-routines): Add svc_run.
44435 (routines): Remove svc_run.
44436 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44437 * sunrpc/clnt_perr.c (clnt_perrno): Export.
44438 * sunrpc/svc_run.c (svc_run): Likewise.
44439 * sunrpc/svc_udp.c (svcudp_create): Likewise.
44441 2011-04-21 Ulrich Drepper <drepper@gmail.com>
44443 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44444 problem in reallocation in last patch.
44446 2011-04-20 Ulrich Drepper <drepper@gmail.com>
44448 * sunrpc/Makefile: Move inclusion of Rules.
44450 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44452 * nss/nss_files/files-initgroups.c: New file.
44453 * nss/Makefile (libnss_files-routines): Add files-initgroups.
44454 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44455 _nss_files_initgroups_dyn.
44457 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
44459 * elf/elf.h (R_ARM_IRELATIVE): Define.
44461 2011-04-19 Ulrich Drepper <drepper@gmail.com>
44463 * po/ru.po: Update from translation team.
44465 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44467 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44470 2011-02-06 Mike Frysinger <vapier@gentoo.org>
44473 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44474 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44475 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44476 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44477 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44479 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
44481 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44483 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44484 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44485 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44487 2011-04-17 Ulrich Drepper <drepper@gmail.com>
44490 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44492 * stdlib/bug-getcontext.c: New file.
44493 * stdlib/Makefile: Add rules to build and run bug-getcontext.
44495 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44497 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44498 instructions into .machine "z9-109".
44499 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44500 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44502 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44504 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44505 between environment variables and auxiliary vector.
44507 2011-04-16 Ulrich Drepper <drepper@gmail.com>
44509 * Makefile: Add rules to build linkobj/libc.so.
44510 * include/libc-symbols.h: Define libc_hidden_nolink.
44511 * include/rpc/auth.h: Mark functions which are to be hidden.
44512 * include/rpc/auth_des.h: Likewise.
44513 * include/rpc/auth_unix.h: Likewise.
44514 * include/rpc/clnt.h: Likewise.
44515 * include/rpc/des_crypt.h: Likewise.
44516 * include/rpc/key_prot.h: Likewise.
44517 * include/rpc/pmap_clnt.h: Likewise.
44518 * include/rpc/pmap_prot.h: Likewise.
44519 * include/rpc/pmap_rmt.h: Likewise.
44520 * include/rpc/rpc_msg.h: Likewise.
44521 * include/rpc/svc.h: Likewise.
44522 * include/rpc/svc_auth.h: Likewise.
44523 * include/rpc/xdr.h: Likewise.
44524 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44525 * nss/Makefile: Likewise.
44526 * sunrpc/Makefile: Don't install headers. Build library with normal
44527 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44528 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44529 for the compat linking library. Remove use of INTDEF/INTUSE.
44530 * sunrpc/auth_none.c: Likewise.
44531 * sunrpc/auth_unix.c: Likewise.
44532 * sunrpc/authdes_prot.c: Likewise.
44533 * sunrpc/authuxprot.c: Likewise.
44534 * sunrpc/clnt_gen.c: Likewise.
44535 * sunrpc/clnt_perr.c: Likewise.
44536 * sunrpc/clnt_raw.c: Likewise.
44537 * sunrpc/clnt_simp.c: Likewise.
44538 * sunrpc/clnt_tcp.c: Likewise.
44539 * sunrpc/clnt_udp.c: Likewise.
44540 * sunrpc/clnt_unix.c: Likewise.
44541 * sunrpc/des_crypt.c: Likewise.
44542 * sunrpc/des_soft.c: Likewise.
44543 * sunrpc/get_myaddr.c: Likewise.
44544 * sunrpc/key_call.c: Likewise.
44545 * sunrpc/key_prot.c: Likewise.
44546 * sunrpc/netname.c: Likewise.
44547 * sunrpc/pm_getmaps.c: Likewise.
44548 * sunrpc/pm_getport.c: Likewise.
44549 * sunrpc/pmap_clnt.c: Likewise.
44550 * sunrpc/pmap_prot.c: Likewise.
44551 * sunrpc/pmap_prot2.c: Likewise.
44552 * sunrpc/pmap_rmt.c: Likewise.
44553 * sunrpc/publickey.c: Likewise.
44554 * sunrpc/rpc_cmsg.c: Likewise.
44555 * sunrpc/rpc_common.c: Likewise.
44556 * sunrpc/rpc_dtable.c: Likewise.
44557 * sunrpc/rpc_prot.c: Likewise.
44558 * sunrpc/rpc_thread.c: Likewise.
44559 * sunrpc/rtime.c: Likewise.
44560 * sunrpc/svc.c: Likewise.
44561 * sunrpc/svc_auth.c: Likewise.
44562 * sunrpc/svc_authux.c: Likewise.
44563 * sunrpc/svc_raw.c: Likewise.
44564 * sunrpc/svc_run.c: Likewise.
44565 * sunrpc/svc_simple.c: Likewise.
44566 * sunrpc/svc_tcp.c: Likewise.
44567 * sunrpc/svc_udp.c: Likewise.
44568 * sunrpc/svc_unix.c: Likewise.
44569 * sunrpc/svcauth_des.c: Likewise.
44570 * sunrpc/xcrypt.c: Likewise.
44571 * sunrpc/xdr.c: Likewise.
44572 * sunrpc/xdr_array.c: Likewise.
44573 * sunrpc/xdr_float.c: Likewise.
44574 * sunrpc/xdr_intXX_t.c: Likewise.
44575 * sunrpc/xdr_mem.c: Likewise.
44576 * sunrpc/xdr_rec.c: Likewise.
44577 * sunrpc/xdr_ref.c: Likewise.
44578 * sunrpc/xdr_sizeof.c: Likewise.
44579 * sunrpc/xdr_stdio.c: Likewise.
44581 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44584 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44585 * sysdeps/ia64/dl-tls.h: Likewise.
44586 * sysdeps/powerpc/dl-tls.h: Likewise.
44587 * sysdeps/s390/dl-tls.h: Likewise.
44588 * sysdeps/sh/dl-tls.h: Likewise.
44589 * sysdeps/sparc/dl-tls.h: Likewise.
44590 * sysdeps/x86_64/dl-tls.h: Likewise.
44591 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44593 2011-03-14 Andreas Schwab <schwab@redhat.com>
44595 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44596 rpath element also skip the following colon.
44597 (expand_dynamic_string_token): Add is_path parameter and pass
44598 down to DL_DST_REQUIRED and _dl_dst_substitute.
44599 (decompose_rpath): Call expand_dynamic_string_token with
44600 non-zero is_path. Ignore empty rpaths.
44601 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44604 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44609 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44612 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44613 Patch by Filipe David Manana <fdmanana@apache.org>.
44615 2011-04-07 Andreas Schwab <schwab@redhat.com>
44617 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44618 Maintain aligned stack.
44619 (CHECK_RSP): Remove unused macro.
44621 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44623 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44624 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44626 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44628 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44630 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44632 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44635 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44636 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44637 * sysdeps/x86_64/memmove.c: New file.
44638 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44639 (memcpy): Renamed to ...
44640 (__new_memcpy): This.
44641 (memcpy): Provide GLIBC_2_14 memcpy.
44642 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44643 (memcpy): Provide GLIBC_2_2_5 memcpy.
44645 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44648 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44650 2011-03-30 Andreas Schwab <schwab@redhat.com>
44652 * misc/syncfs.c: New file.
44653 * misc/Makefile (routines): Add syncfs.
44654 * posix/unistd.h: Declare syncfs.
44655 * sysdeps/unix/syscalls.list: Add syncfs.
44657 2011-04-01 Andreas Schwab <schwab@redhat.com>
44659 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44661 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44662 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44663 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44664 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44665 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44666 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44667 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44669 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44671 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44672 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44673 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44674 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44675 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44679 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44680 sync_file_range.c with -fexceptions.
44681 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44682 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44683 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44684 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44685 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44686 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44687 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44688 sync_file_range as cancellation point
44689 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44690 now a wrapper around __call_sync_file_range with cancellation handling.
44691 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44692 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44693 function name to __call_sync_file_range.
44694 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44695 Add call_sync_file_range.
44697 2011-04-01 Andreas Schwab <schwab@redhat.com>
44699 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44702 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44704 * iconv/iconv.h: Fix typo in comment.
44705 * io/fcntl.h: Likewise.
44706 * libio/stdio.h: Likewise.
44707 * posix/spawn.h: Likewise.
44708 * posix/unistd.h: Likewise.
44709 * stdlib/stdlib.h: Likewise.
44710 * time/time.h: Likewise.
44711 * wcsmbs/wchar.h: Likewise.
44713 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44714 open_by_handle): Add.
44715 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44716 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44717 Augment a few comments.
44718 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44719 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44720 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44723 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44726 * io/fcntl.h (AT_EMPTY_PATH): Define.
44728 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44730 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44731 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44732 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44734 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44735 * Versions.def: Add GLIBC_2.14.
44736 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44739 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44741 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44743 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44745 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44748 * string/test-strncmp.c (do_page_test): New function.
44749 (check2): Likewise.
44750 (test_main): Call check2.
44751 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44753 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44756 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44757 Handle cache information in CPU leaf 4.
44758 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44760 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44763 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44764 character representation.
44765 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44767 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44769 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44770 END(__isnan) to END(__isnanf) to match function entry point/label
44771 EALIGN(__isnanf,...).
44773 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44775 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44777 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44780 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44781 copy from the symbol referenced in the relocation to initialize the
44783 Patch by Piotr Bury <pbury@goahead.com>.
44784 * elf/Makefile: Add rules to build and tst-unique3.
44785 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44786 * elf/tst-unique3.cc: New file.
44787 * elf/tst-unique3.h: New file.
44788 * elf/tst-unique3lib.cc: New file.
44789 * elf/tst-unique3lib2.cc: New file.
44791 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44793 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44795 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44796 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44799 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44801 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44802 to-be-loaded object along a path to loader is ld.so.
44804 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44805 Ulrich Drepper <drepper@gmail.com>
44807 * sysdeps/x86_64/memset.S: After aligning destination, code
44808 branches to different locations depending on the value of
44809 misalignment, when multiarch is enabled. Fix this.
44811 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44813 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44814 Set _x86_64_preferred_memory_instruction for AMD processsors.
44815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44816 Set bit_Prefer_SSE_for_memop for AMD processors.
44818 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44820 * libio/fmemopen.c (fmemopen): Optimize a bit.
44822 2011-03-03 Andreas Schwab <schwab@redhat.com>
44824 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44826 2011-03-03 Roland McGrath <roland@redhat.com>
44828 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44830 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44832 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44833 __bzero_ultra1 instead of __memset_ultra1.
44835 2011-02-23 Andreas Schwab <schwab@redhat.com>
44836 Ulrich Drepper <drepper@gmail.com>
44839 * include/link.h (struct link_map): Add l_orig_initfini.
44840 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44841 returning unsuccessfully.
44842 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44843 close of a file loaded at startup, restore the original l_initfini
44845 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44846 list, store the pointer.
44847 * elf/Makefile ($(objpfx)noload-mem): New rule.
44848 (noload-ENV): Define.
44849 (tests): Add $(objpfx)noload-mem.
44850 * elf/noload.c: Include <memcheck.h>.
44851 (main): Call mtrace. Close all opened handles.
44853 2011-02-17 Andreas Schwab <schwab@redhat.com>
44856 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44857 dependencies are missing.
44859 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44861 Fix __if_freereq crash: Unlike the generic version which uses free,
44863 * sysdeps/mach/hurd/ifreq.h: New file.
44865 2011-01-27 Petr Baudis <pasky@suse.cz>
44866 Ulrich Drepper <drepper@gmail.com>
44869 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44870 to extend_alloca().
44871 * stdio-common/bug23.c: New file.
44872 * stdio-common/Makefile (tests): Add bug23.
44874 2010-09-28 Andreas Schwab <schwab@redhat.com>
44875 Ulrich Drepper <drepper@gmail.com>
44878 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44879 before performing relro protection. At old place add assertion
44880 to make sure nothing changed.
44882 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44883 Glauber de Oliveira Costa <glommer@gmail.com>
44885 * elf/elf.h: Add new ARM TLS relocs.
44887 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44890 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44892 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44894 * sysdeps/wordsize-64/tst-writev.c: New file.
44896 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44898 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44899 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44900 insns in _dl_start to prevent a TOC reference before relocs are
44903 2011-02-15 Ulrich Drepper <drepper@gmail.com>
44906 * Makeconfig: Remove RANLIB definition.
44907 * Makerules: Don't use RANLIB.
44908 * aclocal.m4: Remove ranlib test.
44909 * configure.in: No need to check for ranlib.
44910 * elf/rtld-Rules: Don't use RANLIB.
44912 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44914 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44916 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44917 inclusion protection macro.
44919 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44920 SIGRTMIN and SIGRTMAX and print information in that case only when
44921 SIGRTMIN is defined.
44923 2011-02-11 Jakub Jelinek <jakub@redhat.com>
44925 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44926 arginfo fn returning -1.
44928 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44929 and thousands string is zero terminated.
44931 2011-02-03 Andreas Schwab <schwab@redhat.com>
44933 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44934 sysdeps/unix/sysv/linux/bits/socket.h.
44936 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44938 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44939 (__CPU_COUNT): Remove old macros.
44940 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44941 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44942 (__CPU_ALLOC, __CPU_FREE): Add macros.
44943 (__sched_cpualloc, __sched_cpufree): Add declarations.
44945 2011-02-05 Ulrich Drepper <drepper@gmail.com>
44947 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44948 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44949 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44950 (readdhstai): Return value of addhstaiX call.
44951 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44952 (addgrbyX): Return value returned by cache_addgr.
44953 (readdgrbyname): Return value returned by addgrbyX.
44954 (readdgrbygid): Likewise.
44955 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44956 (addpwbyX): Return value returned by cache_addpw.
44957 (readdpwbyname): Return value returned by addhstbyX.
44958 (readdpwbyuid): Likewise.
44959 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44960 (addservbyX): Return value returned by cache_addserv.
44961 (readdservbyname): Return value returned by addservbyX:
44962 (readdservbyport): Likewise.
44963 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44964 (addhstbyX): Return value returned by cache_addhst.
44965 (readdhstbyname): Return value returned by addhstbyX.
44966 (readdhstbyaddr): Likewise.
44967 (readdhstbynamev6): Likewise.
44968 (readdhstbyaddrv6): Likewise.
44969 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44970 (readdinitgroups): Return value returned by addinitgroupsX.
44971 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44972 (prune_cache): Keep track of timeout value of re-added entries.
44973 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44974 * nscd/nscd.h: Adjust prototypes of readd* functions.
44976 2011-02-04 Roland McGrath <roland@redhat.com>
44978 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44979 (nis_stats): Likewise.
44980 * nis/nis_modify.c (nis_modify): Likewise.
44981 * nis/nis_remove.c (nis_remove): Likewise.
44982 * nis/nis_add.c (nis_add): Likewise.
44984 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44986 * posix/fnmatch_loop.c: Add some consts.
44988 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44990 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44993 * config.make.in (config-cflags-novzeroupper): Define.
44994 * configure.in: Substitute libc_cv_cc_novzeroupper.
44995 * elf/Makefile (AVX-CFLAGS): Define.
44996 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44997 (CFLAGS-tst-auditmod4a.c): Likewise.
44998 (CFLAGS-tst-auditmod4b.c): Likewise.
44999 (CFLAGS-tst-auditmod6b.c): Likewise.
45000 (CFLAGS-tst-auditmod6c.c): Likewise.
45001 (CFLAGS-tst-auditmod7b.c): Likewise.
45002 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45004 2011-02-02 Ulrich Drepper <drepper@gmail.com>
45006 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45007 function to the callback.
45008 Patch partly by Jiri Olsa <jolsa@redhat.com>.
45010 2011-02-02 Andreas Schwab <schwab@redhat.com>
45012 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45015 2011-01-19 Ulrich Drepper <drepper@gmail.com>
45018 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45020 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45022 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45025 * elf/Makefile: Add rules to build and run new test.
45026 * elf/tst-initorder.c: New file.
45027 * elf/tst-initorder.exp: New file.
45028 * elf/tst-initordera1.c: New file.
45029 * elf/tst-initordera2.c: New file.
45030 * elf/tst-initordera3.c: New file.
45031 * elf/tst-initordera4.c: New file.
45032 * elf/tst-initorderb1.c: New file.
45033 * elf/tst-initorderb2.c: New file.
45034 * elf/tst-order-a1.c: New file.
45035 * elf/tst-order-a2.c: New file.
45036 * elf/tst-order-a3.c: New file.
45037 * elf/tst-order-a4.c: New file.
45038 * elf/tst-order-b1.c: New file.
45039 * elf/tst-order-b2.c: New file.
45040 * elf/tst-order-main.c: New file.
45041 New test case by George Gensure <werkt0@gmail.com>.
45043 2010-10-01 Andreas Schwab <schwab@redhat.com>
45045 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45046 decoding ACE if AI_CANONIDN.
45048 2011-01-18 Ulrich Drepper <drepper@gmail.com>
45050 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45052 2011-01-17 Ulrich Drepper <drepper@gmail.com>
45054 * version.h (RELEASE): Bump for 2.13 release.
45055 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45057 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45059 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45061 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45062 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45063 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45064 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45065 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45066 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45068 * posix/getconf.c: Update copyright year.
45069 * catgets/gencat.c: Likewise.
45070 * csu/version.c: Likewise.
45071 * debug/catchsegv.sh: Likewise.
45072 * debug/xtrace.sh: Likewise.
45073 * elf/ldconfig.c: Likewise.
45074 * elf/ldd.bash.in: Likewise.
45075 * elf/sprof.c (print_version): Likewise.
45076 * iconv/iconv_prog.c: Likewise.
45077 * iconv/iconvconfig.c: Likewise.
45078 * locale/programs/locale.c: Likewise.
45079 * locale/programs/localedef.c: Likewise.
45080 * malloc/memusage.sh: Likewise.
45081 * malloc/mtrace.pl: Likewise.
45082 * nscd/nscd.c (print_version): Likewise.
45083 * nss/getent.c: Likewise.
45085 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45086 PF_CAIF, and PF_ALG.
45087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45089 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
45091 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45092 (modules-names): Use them.
45093 (ifunc-test-modules, ifunc-pie-tests): Define.
45094 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45095 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45096 (test-extras): Likewise.
45097 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45098 $(compile-command.c).
45099 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45100 (all-built-dso): Define.
45101 (check-textrel.out, check-execstack.out): Depend on it.
45103 * configure.in: Don't override --enable-multi-arch.
45105 2011-01-15 Ulrich Drepper <drepper@gmail.com>
45108 * nscd/hstcache.c (tryagain): Define.
45109 (cache_addhst): Return tryagain not notfound for temporary errors.
45110 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45113 2011-01-14 Ulrich Drepper <drepper@gmail.com>
45116 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45117 to make the syscall.
45118 * sysdeps/unix/sysv/linux/setgroups.c: New file.
45121 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45122 and fall back to matching as normal character if the string ends before
45123 the matching ']' is found. This is what POSIX requires.
45124 * posix/testfnm.c: Adjust test result.
45125 * posix/globtest.sh: Adjust test result. Add new test.
45126 * posix/tst-fnmatch.input: Likewise.
45127 * posix/tst-fnmatch2.c: Add new test.
45129 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
45131 * elf/Makefile (check-execstack): Revert last change. Depend on
45133 (check-execstack.h): New target.
45134 (generated): Add check-execstack.h.
45135 * elf/check-execstack.c: Include "check-execstack.h".
45136 (main): Revert last change.
45137 (handle_file): Return zero if GNU_STACK is absent and
45138 DEFAULT_STACK_PERMS doesn't include PF_X.
45140 2011-01-13 Ulrich Drepper <drepper@gmail.com>
45142 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45143 in child fails because the descriptor is already closed.
45144 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45145 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45146 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45149 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45153 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45154 temporary buffer used to handle multi lookups locally.
45155 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45157 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45159 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45162 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
45164 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45165 alignment for SSE2.
45167 2011-01-12 Ulrich Drepper <drepper@gmail.com>
45170 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45171 characters. When rounding increased number of integer digits recompute
45173 * stdio-common/tst-grouping.c: New file.
45174 * stdio-common/Makefile: Add rules to build and run tst-grouping.
45176 2011-01-09 Ulrich Drepper <drepper@gmail.com>
45178 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45179 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
45181 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45183 * bits/select.h: Likewise.
45185 2011-01-08 Ulrich Drepper <drepper@gmail.com>
45187 * po/ja.po: Update from translation team.
45189 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
45192 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45193 implementation just like for lxstat, fxstatat, et al.
45195 2010-12-27 Jim Meyering <meyering@redhat.com>
45198 * posix/regexec.c (build_trtable): Return failure indication upon
45199 calloc failure. Otherwise, re_search_internal could infloop on OOM.
45201 2010-12-25 Ulrich Drepper <drepper@gmail.com>
45204 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45205 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45206 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45207 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45210 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45213 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45214 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45216 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
45218 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45219 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45220 script has SORT_BY_INIT_PRIORITY.
45221 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45222 NO_CTORS_DTORS_SECTIONS is defined.
45223 * elf/soinit.c: Likewise.
45224 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45225 NO_CTORS_DTORS_SECTIONS is defined.
45226 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45227 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45228 * sysdeps/sh/init-first.c: Likewise.
45229 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45231 2010-12-24 Ulrich Drepper <drepper@gmail.com>
45233 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45234 always use the slow path.
45236 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
45238 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45239 similar rule which adds the sysdep directories to the header search in
45240 order to pick up the correct platform stackinfo.h.
45241 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45242 perform test if it is, otherwise return successfully without testing.
45243 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45244 DEFAULT_STACK_PERMS define in stackinfo.h.
45245 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45246 defined in stackinfo.h.
45247 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45248 DEFAULT_STACK_PERMS defined in stackinfo.h.
45249 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45250 * sysdeps/ia64/stackinfo.h: Likewise.
45251 * sysdeps/s390/stackinfo.h: Likewise.
45252 * sysdeps/sh/stackinfo.h: Likewise.
45253 * sysdeps/sparc/stackinfo.h: Likewise.
45254 * sysdeps/x86_64/stackinfo.h: Likewise.
45255 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45256 PF_X for powerpc64. Retain PF_X for powerpc32.
45258 2010-12-19 Ulrich Drepper <drepper@gmail.com>
45260 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45262 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45263 GETDENTS_64BIT_ALIGNED.
45265 2010-12-14 Ulrich Drepper <dreper@gmail.com>
45267 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45269 2010-12-10 Andreas Schwab <schwab@redhat.com>
45271 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45274 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45275 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45277 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45278 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45280 2010-12-09 Ulrich Drepper <drepper@gmail.com>
45283 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45286 2010-12-09 Jakub Jelinek <jakub@redhat.com>
45288 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45290 2010-12-03 Ulrich Drepper <drepper@gmail.com>
45292 * po/it.po: Update from translation team.
45294 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
45296 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45299 2010-11-30 Ulrich Drepper <drepper@gmail.com>
45301 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45303 2010-11-24 Andreas Schwab <schwab@redhat.com>
45305 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45307 (gaih_getanswer_slice): Likewise.
45309 2010-10-20 Jakub Jelinek <jakub@redhat.com>
45311 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45313 2010-05-31 Petr Baudis <pasky@suse.cz>
45316 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45317 silently even in the chroot mode.
45319 2010-11-22 Ulrich Drepper <drepper@gmail.com>
45321 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45322 last patch a bit. Pretty printing
45324 2010-05-31 Petr Baudis <pasky@suse.cz>
45327 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45328 initialization of skip_initgroups_dyn.
45330 2010-11-19 Ulrich Drepper <drepper@gmail.com>
45332 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45333 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45335 2010-11-16 Ulrich Drepper <drepper@gmail.com>
45337 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45339 2010-11-11 Andreas Schwab <schwab@redhat.com>
45341 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45342 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45343 (tst-fnmatch-ENV): Set MALLOC_TRACE.
45344 ($(objpfx)tst-fnmatch-mem): New rule.
45345 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45346 * posix/tst-fnmatch.c (main): Call mtrace.
45348 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
45350 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45351 Support Intel processor model 6 and model 0x2c.
45353 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
45355 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45358 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
45361 * string/test-strncasecmp.c (check_result): New function.
45362 (do_one_test): Use it.
45363 (check1): New function.
45364 (test_main): Use it.
45365 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45366 Support strcasecmp and strncasecmp.
45368 2010-11-08 Ulrich Drepper <drepper@gmail.com>
45371 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45372 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45374 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
45376 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45380 * sysdeps/x86_64/multiarch/bzero.S: New file.
45381 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45382 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45383 * sysdeps/x86_64/multiarch/memset.S: New file.
45384 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45386 Set bit_Prefer_SSE_for_memop for Intel processors.
45387 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45389 (index_Prefer_SSE_for_memop): Define.
45390 (HAS_PREFER_SSE_FOR_MEMOP): Define.
45392 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
45394 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45395 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45397 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
45400 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45401 (__x86_64_raw_data_cache_size_half): Likewise.
45402 (__x86_64_raw_shared_cache_size): Likewise.
45403 (__x86_64_raw_shared_cache_size_half): Likewise.
45405 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45406 (__x86_64_raw_data_cache_size_half): Likewise.
45407 (__x86_64_raw_shared_cache_size): Likewise.
45408 (__x86_64_raw_shared_cache_size_half): Likewise.
45409 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45410 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45411 and __x86_64_raw_shared_cache_size_half. Round
45412 __x86_64_data_cache_size_half, __x86_64_data_cache_size
45413 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45414 to multiple of 256 bytes.
45416 2010-11-03 Ulrich Drepper <drepper@gmail.com>
45419 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45420 of inacessible symlinks. Verify result of symlink before returning it.
45421 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45422 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45424 2010-10-28 Erich Ritz <erichritz@gmail.com>
45426 * math/math.h (isinf): Fix typo in comment.
45428 2010-11-01 Ulrich Drepper <drepper@gmail.com>
45430 * po/da.po: Update from translation team.
45432 2010-10-26 Ulrich Drepper <drepper@gmail.com>
45434 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45435 is added to the list.
45437 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45438 Ulrich Drepper <drepper@gmail.com>
45440 * elf/dl-object.c (_dl_new_object): Don't append the new object to
45441 the global list here. Move code to...
45442 (_dl_add_to_namespace_list): ...here. New function.
45443 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45444 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45445 * elf/dl-load.c (lose): Don't remove the element from the list.
45446 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45447 (_dl_map_object): Likewise.
45449 2010-10-25 Ulrich Drepper <drepper@gmail.com>
45452 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45453 into all bytes of SSE register.
45454 Patch by Richard Li <richardpku@gmail.com>.
45456 2010-10-24 Ulrich Drepper <drepper@gmail.com>
45459 * malloc/malloc.c (_int_free): Fill correct number of bytes when
45462 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
45464 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45465 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45466 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45467 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45472 2010-10-22 Andreas Schwab <schwab@redhat.com>
45474 * include/dlfcn.h (__RTLD_SECURE): Define.
45475 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
45476 mode & __RTLD_SECURE instead.
45477 (open_path): Rename preloaded parameter to secure.
45478 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45479 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45480 * elf/dl-deps.c (openaux): Likewise.
45481 * elf/rtld.c (struct map_args): Remove is_preloaded.
45482 (map_doit): Don't use it.
45483 (dl_main): Likewise.
45484 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45485 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45487 2010-09-09 Andreas Schwab <schwab@redhat.com>
45489 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45490 (sysd-rules-targets): Remove duplicates.
45491 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45492 rtld-%.$o dependency.
45494 2010-10-18 Andreas Schwab <schwab@redhat.com>
45496 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45497 _dl_map_object do it.
45499 2010-10-19 Ulrich Drepper <drepper@gmail.com>
45501 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45502 fast fma builtins, define the macros in the C99 standard.
45503 (FP_FAST_FMAF): Likewise.
45504 (FP_FAST_FMAL): Likewise.
45505 * sysdeps/x86_64/bits/mathdef.h: Likewise.
45507 * bits/mathdef.h: Update copyright year.
45508 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45510 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
45512 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45513 builtins, define the macros in the C99 standard.
45514 (FP_FAST_FMAF): Likewise.
45515 (FP_FAST_FMAL): Likewise.
45516 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45518 (FP_FAST_FMAF): Likewise.
45520 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45523 * math/libm-test.inc (fma_test): Some new testcases.
45524 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45525 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45526 y and infinite z. Do multiplication by C already in long double.
45527 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45529 y and infinite z. Do bitwise or of inexact bit into u.d.
45530 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45531 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45532 * sysdeps/i386/fpu/s_fma.S: Removed.
45533 * sysdeps/i386/fpu/s_fmal.S: Removed.
45535 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45538 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45540 computation is not scheduled after fetestexcept. Fix value
45541 of minimum denormal long double.
45543 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45546 * math/libm-test.inc (fma_test): Add some more tests.
45547 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45550 2010-10-15 Andreas Schwab <schwab@redhat.com>
45552 * scripts/data/localplt-s390-linux-gnu.data: New file.
45553 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45555 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45558 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45559 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45561 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45563 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45565 if one of x and y is very large and the other is subnormal.
45566 * sysdeps/s390/fpu/s_fmaf.c: New file.
45567 * sysdeps/s390/fpu/s_fma.c: New file.
45568 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45569 * sysdeps/powerpc/fpu/s_fma.S: New file.
45570 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45571 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45572 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45574 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45577 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45579 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45580 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45581 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45582 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45583 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45584 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45585 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45587 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45590 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45591 * posix/bug-regex31.input: Add test case.
45593 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45595 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45596 * posix/bug-regex31.input: New file.
45599 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45600 (parse_sub_exp): Fix last change, use postorder.
45602 * posix/bug-regex31.c: New file.
45603 * posix/Makefile: Add rules to build and run bug-regex31.
45605 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45608 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45611 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45612 to have entries in sys_siglist.
45615 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45618 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45621 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45622 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45623 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45624 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45625 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45626 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45627 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45628 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45629 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45630 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45631 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45632 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45633 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45634 * math/ftestexcept.c (fetestexcept): Likewise.
45635 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45636 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45637 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45638 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45639 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45640 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45641 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45643 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45646 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45649 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45651 * string/bug-strstr1.c: New file.
45652 * string/Makefile: Add rules to build and run bug-strstr1.
45654 2010-10-05 Eric Blake <eblake@redhat.com>
45657 * string/str-two-way.h (two_way_long_needle): Always clear memory
45658 when skipping input due to the shift table.
45660 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45663 * malloc/mcheck.c: Handle large requests.
45666 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45667 for strncmp and strncasecmp.
45668 * string/stratcliff.c: Add tests for strcmp and strncmp.
45669 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45671 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45673 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45676 2010-09-30 Andreas Jaeger <aj@suse.de>
45678 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45679 (CGROUP_SUPER_MAGIC): Define.
45680 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45681 Handle btrfs and cgroup file systems.
45682 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45685 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45687 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45688 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45690 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45693 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45694 trying to locate the ELF header.
45696 2010-09-27 Andreas Schwab <schwab@redhat.com>
45699 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45700 Mask out sign-bit copies when constructing f_fsid.
45702 2010-09-24 Petr Baudis <pasky@suse.cz>
45704 * debug/stack_chk_fail_local.c: Add missing licence exception.
45705 * debug/warning-nop.c: Likewise.
45707 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45709 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45710 implementing getdents64 using getdents syscall, set d_type if
45711 __ASSUME_GETDENTS32_D_TYPE.
45713 2010-09-16 Andreas Schwab <schwab@redhat.com>
45715 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45716 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45718 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45721 * posix/unistd.h: Undo change of feature selection for ftruncate from
45724 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45726 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45729 2010-09-20 Andreas Schwab <schwab@redhat.com>
45731 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45733 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45735 2010-09-14 Andreas Schwab <schwab@redhat.com>
45737 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45738 variables after CHECK_SP call.
45739 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45741 2010-09-13 Andreas Schwab <schwab@redhat.com>
45742 Ulrich Drepper <drepper@redhat.com>
45744 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45745 re-relocationg ld.so.
45746 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45747 _dl_init_paths call.
45748 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45751 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45753 * resolv/res_init.c (__res_vinit): Count the default server we added.
45755 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45756 Ulrich Drepper <drepper@redhat.com>
45759 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45760 (____longjmp_chk): Use %ebx for saving value across system call.
45763 2010-09-06 Andreas Schwab <schwab@redhat.com>
45765 * manual/Makefile: Don't mix pattern rules with normal rules.
45767 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45769 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45771 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45772 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45773 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45774 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45775 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45778 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45781 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45782 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45784 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45786 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45787 * sysdeps/x86_64/addmul_1.S: Likewise.
45788 * sysdeps/x86_64/lshift.S: Likewise.
45789 * sysdeps/x86_64/mul_1.S: Likewise.
45790 * sysdeps/x86_64/rshift.S: Likewise.
45791 * sysdeps/x86_64/sub_n.S: Likewise.
45792 * sysdeps/x86_64/submul_1.S: Likewise.
45794 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45796 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45797 Define __sched_param instead of SCHED_* and sched_param when
45798 <bits/sched.h> is included with __need_schedparam defined.
45799 * bits/sched.h [__need_schedparam]
45800 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45801 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45802 (__defined_schedparam): Define to 1.
45803 (__sched_param): New structure, identical to sched_param.
45804 (__need_schedparam): Undefine.
45806 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45808 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45809 (epoll_create1): Declare.
45811 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45813 2010-08-31 Andreas Schwab <schwab@redhat.com>
45816 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45817 shifting retval into place.
45819 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45821 * nis/rpcsvc/nis.h: Update copyright notice.
45822 * nis/rpcsvc/nis.x: Likewise.
45823 * nis/rpcsvc/nis_callback.h: Likewise.
45824 * nis/rpcsvc/nis_callback.x: Likewise.
45825 * nis/rpcsvc/nis_object.x: Likewise.
45826 * nis/rpcsvc/nis_tags.h: Likewise.
45827 * nis/rpcsvc/yp.h: Likewise.
45828 * nis/rpcsvc/yp.x: Likewise.
45829 * nis/rpcsvc/ypupd.h: Likewise.
45830 * nis/yp_xdr.c: Likewise.
45831 * nis/ypupdate_xdr.c: Likewise.
45833 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45834 mainly the body of pmap_getport. Add parameters to specify timeouts.
45835 (pmap_getport): Use __libc_rpc_getport.
45836 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45837 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45838 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45840 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45845 2010-08-27 Roland McGrath <roland@redhat.com>
45847 * sysdeps/i386/i686/multiarch/Makefile
45848 (CFLAGS-varshift.c): New variable.
45850 2010-08-27 Ulrich Drepper <drepper@redhat.com>
45852 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45853 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45855 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45857 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45859 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45861 * sysdeps/x86_64/strlen.S: Unroll the loop.
45862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45863 strlen-sse2 strlen-sse2-bsf.
45864 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45865 __strlen_no_bsf if bit_Slow_BSF is set.
45866 (__strlen_sse42): Removed.
45867 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45868 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45870 2010-08-25 Roland McGrath <roland@redhat.com>
45872 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45873 * sysdeps/x86_64/multiarch/varshift.c: New file.
45874 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45875 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45876 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45877 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45879 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45882 strlen-sse2 strlen-sse2-bsf.
45883 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45884 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45885 (__strlen_sse2): Removed.
45886 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45887 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45889 bit_Slow_BSF for Atom.
45890 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45891 (index_Slow_BSF): Define.
45892 (HAS_SLOW_BSF): Define.
45894 2010-08-25 Ulrich Drepper <drepper@redhat.com>
45897 * resolv/res_init.c (__res_vinit): When no server address at all
45898 is given default to loopback.
45900 2010-08-24 Roland McGrath <roland@redhat.com>
45902 * configure.in: Remove config-name.h generation.
45903 * configure: Regenerated.
45904 * config-name.in: File removed.
45905 * scripts/config-uname.sh: New file.
45906 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45907 ($(objdir)config-name.h): New target.
45909 * sunrpc/rpc_parse.h: Avoid nested comment.
45911 2010-08-24 Richard Henderson <rth@redhat.com>
45912 Ulrich Drepper <drepper@redhat.com>
45913 H.J. Lu <hongjiu.lu@intel.com>
45915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45917 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45918 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45919 _mm_alignr_epi8 with _mm_loadu_si128.
45920 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45921 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45922 (__m128i_shift_right): Removed.
45923 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45924 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45925 * sysdeps/x86_64/multiarch/varshift.h: New file.
45926 * sysdeps/x86_64/multiarch/varshift.S: New file.
45928 2010-08-21 Mike Frysinger <vapier@gentoo.org>
45930 * configure.in: Move assembler checks to before sysdep dir checking.
45932 2010-08-20 Petr Baudis <pasky@suse.cz>
45934 * LICENSES: Sync the sunrpc license.
45936 2010-08-19 Ulrich Drepper <drepper@redhat.com>
45938 * sunrpc/auth_des.c: Update copyright notice once again.
45939 * sunrpc/auth_none.c: Likewise.
45940 * sunrpc/auth_unix.c: Likewise.
45941 * sunrpc/authdes_prot.c: Likewise.
45942 * sunrpc/authuxprot.c: Likewise.
45943 * sunrpc/bindrsvprt.c: Likewise.
45944 * sunrpc/clnt_gen.c: Likewise.
45945 * sunrpc/clnt_perr.c: Likewise.
45946 * sunrpc/clnt_raw.c: Likewise.
45947 * sunrpc/clnt_simp.c: Likewise.
45948 * sunrpc/clnt_tcp.c: Likewise.
45949 * sunrpc/clnt_udp.c: Likewise.
45950 * sunrpc/clnt_unix.c: Likewise.
45951 * sunrpc/des_crypt.c: Likewise.
45952 * sunrpc/des_soft.c: Likewise.
45953 * sunrpc/get_myaddr.c: Likewise.
45954 * sunrpc/getrpcport.c: Likewise.
45955 * sunrpc/key_call.c: Likewise.
45956 * sunrpc/key_prot.c: Likewise.
45957 * sunrpc/openchild.c: Likewise.
45958 * sunrpc/pm_getmaps.c: Likewise.
45959 * sunrpc/pm_getport.c: Likewise.
45960 * sunrpc/pmap_clnt.c: Likewise.
45961 * sunrpc/pmap_prot.c: Likewise.
45962 * sunrpc/pmap_prot2.c: Likewise.
45963 * sunrpc/pmap_rmt.c: Likewise.
45964 * sunrpc/rpc/auth.h: Likewise.
45965 * sunrpc/rpc/auth_unix.h: Likewise.
45966 * sunrpc/rpc/clnt.h: Likewise.
45967 * sunrpc/rpc/des_crypt.h: Likewise.
45968 * sunrpc/rpc/key_prot.h: Likewise.
45969 * sunrpc/rpc/netdb.h: Likewise.
45970 * sunrpc/rpc/pmap_clnt.h: Likewise.
45971 * sunrpc/rpc/pmap_prot.h: Likewise.
45972 * sunrpc/rpc/pmap_rmt.h: Likewise.
45973 * sunrpc/rpc/rpc.h: Likewise.
45974 * sunrpc/rpc/rpc_des.h: Likewise.
45975 * sunrpc/rpc/rpc_msg.h: Likewise.
45976 * sunrpc/rpc/svc.h: Likewise.
45977 * sunrpc/rpc/svc_auth.h: Likewise.
45978 * sunrpc/rpc/types.h: Likewise.
45979 * sunrpc/rpc/xdr.h: Likewise.
45980 * sunrpc/rpc_clntout.c: Likewise.
45981 * sunrpc/rpc_cmsg.c: Likewise.
45982 * sunrpc/rpc_common.c: Likewise.
45983 * sunrpc/rpc_cout.c: Likewise.
45984 * sunrpc/rpc_dtable.c: Likewise.
45985 * sunrpc/rpc_hout.c: Likewise.
45986 * sunrpc/rpc_main.c: Likewise.
45987 * sunrpc/rpc_parse.c: Likewise.
45988 * sunrpc/rpc_parse.h: Likewise.
45989 * sunrpc/rpc_prot.c: Likewise.
45990 * sunrpc/rpc_sample.c: Likewise.
45991 * sunrpc/rpc_scan.c: Likewise.
45992 * sunrpc/rpc_scan.h: Likewise.
45993 * sunrpc/rpc_svcout.c: Likewise.
45994 * sunrpc/rpc_tblout.c: Likewise.
45995 * sunrpc/rpc_util.c: Likewise.
45996 * sunrpc/rpc_util.h: Likewise.
45997 * sunrpc/rpcinfo.c: Likewise.
45998 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45999 * sunrpc/rpcsvc/key_prot.x: Likewise.
46000 * sunrpc/rpcsvc/klm_prot.x: Likewise.
46001 * sunrpc/rpcsvc/mount.x: Likewise.
46002 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46003 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46004 * sunrpc/rpcsvc/rex.x: Likewise.
46005 * sunrpc/rpcsvc/rstat.x: Likewise.
46006 * sunrpc/rpcsvc/rusers.x: Likewise.
46007 * sunrpc/rpcsvc/sm_inter.x: Likewise.
46008 * sunrpc/rpcsvc/spray.x: Likewise.
46009 * sunrpc/rpcsvc/yppasswd.x: Likewise.
46010 * sunrpc/rtime.c: Likewise.
46011 * sunrpc/svc.c: Likewise.
46012 * sunrpc/svc_auth.c: Likewise.
46013 * sunrpc/svc_authux.c: Likewise.
46014 * sunrpc/svc_raw.c: Likewise.
46015 * sunrpc/svc_run.c: Likewise.
46016 * sunrpc/svc_simple.c: Likewise.
46017 * sunrpc/svc_tcp.c: Likewise.
46018 * sunrpc/svc_udp.c: Likewise.
46019 * sunrpc/svc_unix.c: Likewise.
46020 * sunrpc/svcauth_des.c: Likewise.
46021 * sunrpc/xcrypt.c: Likewise.
46022 * sunrpc/xdr.c: Likewise.
46023 * sunrpc/xdr_array.c: Likewise.
46024 * sunrpc/xdr_float.c: Likewise.
46025 * sunrpc/xdr_mem.c: Likewise.
46026 * sunrpc/xdr_rec.c: Likewise.
46027 * sunrpc/xdr_ref.c: Likewise.
46028 * sunrpc/xdr_sizeof.c: Likewise.
46029 * sunrpc/xdr_stdio.c: Likewise.
46031 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46034 2010-08-19 Andreas Schwab <schwab@redhat.com>
46036 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46038 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
46040 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46041 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46042 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46043 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46044 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46045 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46046 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46047 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46048 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46049 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46050 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46051 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46052 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46053 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46055 2010-07-26 Anton Blanchard <anton@samba.org>
46057 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46058 * malloc/arena.c (heap_trim): Likewise.
46060 2010-08-16 Ulrich Drepper <drepper@redhat.com>
46062 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46064 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46065 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46067 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
46069 * sysdeps/i386/elf/Makefile: New file.
46071 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46073 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46074 from fanotify_init.
46075 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46076 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46078 2010-08-15 Ulrich Drepper <drepper@redhat.com>
46080 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46082 * sysdeps/multiarch/strcmp.S: Likewise.
46084 2010-08-14 Ulrich Drepper <drepper@redhat.com>
46086 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46087 strncase_l-nonascii.
46088 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46089 Add strncase_l-ssse3.
46090 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46091 * sysdeps/x86_64/strcmp.S: Likewise.
46092 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46093 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46094 * sysdeps/x86_64/strncase.S: New file.
46095 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46096 * sysdeps/x86_64/strncase_l.S: New file.
46097 * string/Makefile (strop-tests): Add strncasecmp.
46098 * string/test-strncasecmp.c: New file.
46100 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46103 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46104 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46106 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
46108 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46110 2010-08-12 Ulrich Drepper <drepper@redhat.com>
46112 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46113 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46114 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46116 2010-05-01 Alan Modra <amodra@gmail.com>
46118 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46119 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46120 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46121 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46122 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46123 tidying. Don't tail-call __sigjmp_save for static lib.
46124 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46126 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46127 (CALL_MCOUNT): Add eh info, and nop after bl.
46128 (TAIL_CALL_SYSCALL_ERROR): New macro.
46129 (PSEUDO_RET): Use it.
46130 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46131 Correct save location of integer regs and cr.
46132 (_dl_profile_resolve): Correct cr save location. Delete nops
46133 after bl when SHARED. Reduce cfi size a little by better
46134 placement of cfi directives.
46135 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46136 make a stack frame. Instead use parm save area as a temp.
46137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46138 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
46139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46140 Don't make a stack frame for parent, use parm save area.
46141 Increase child stack frame to 112 bytes. Don't save unused reg,
46142 and adjust reg usage. Set up cfi on error recovery and
46143 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46145 (__makecontext): Add dummy nop after jump to exit.
46146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46147 Use correct parm save area and cr save, reduce stack frame.
46148 Correct cfi for possible PSEUDO_RET frame setup.
46149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46150 Branch to local label emitted by PSEUDO_RET rather than
46153 2010-08-12 Andreas Schwab <schwab@redhat.com>
46156 * locale/programs/locale.c (print_assignment): New function.
46157 (show_locale_vars): Use it.
46159 2010-08-11 Ulrich Drepper <drepper@redhat.com>
46161 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46163 (struct statfs64): Likewise.
46164 (_STATFS_F_FLAGS): Define.
46165 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46166 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46167 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46168 (ST_VALID): Define locally.
46169 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46170 __statvfs_getflags, use the provided value.
46171 * sysdeps/unix/sysv/linux/kernel-features.h: Define
46172 __ASSUME_STATFS_F_FLAGS.
46174 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46176 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46177 Add sys/fanotify.h.
46178 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46179 fanotify_mask for GLIBC_2.13.
46180 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46181 fanotify_init and fanotify_mark.
46182 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46183 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46185 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46187 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46188 prlimit64 for GLIBC_2.13.
46189 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46191 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46194 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46195 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46196 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46197 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
46199 * sysdeps/unix/sysv/linux/prlimit.c: New file.
46202 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46203 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46205 * nss/Makefile: Add rules to build and run tst-nss-test1.
46206 * shlib-versions: Add entry for libnss_test1.
46207 * nss/nss_test1.c: New file.
46208 * nss/tst-nss-test1.c: New file.
46210 * nss/nsswitch.c (__nss_database_custom): Define new variable.
46211 (__nss_configure_lookup): Set appropriate entry in
46212 __nss_configure_lookup to true.
46213 * nss/nsswitch.h: Define enum with indeces of databases in
46214 databases and __nss_database_custom arrays. Declare
46215 __nss_database_custom.
46216 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46217 to avoid using nscd when custom rules are installed.
46218 * nss/getXXbyYY_r.c: Likewise.
46219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46221 * nss/nss_files/files-parse.c: Whitespace fixes.
46223 2010-08-09 Ulrich Drepper <drepper@redhat.com>
46226 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46227 * posix/fnmatch_loop.c: Likewise.
46229 2010-07-17 Andi Kleen <ak@linux.intel.com>
46231 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46232 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46233 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46234 * Versions.def [GLIBC_2.13]: Add.
46236 2010-08-06 Ulrich Drepper <drepper@redhat.com>
46238 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46239 Also fail if tpwd after pwuid call is NULL.
46241 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
46243 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46244 when converting to ms.
46246 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
46248 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46249 EOPNOTSUPP errors with ENOTTY.
46250 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46251 EOPNOTSUPP errors with ENOTTY.
46253 2010-07-31 Ulrich Drepper <drepper@redhat.com>
46255 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46256 Add strcasecmp_l-ssse3.
46257 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46259 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46260 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46261 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46263 2010-07-30 Ulrich Drepper <drepper@redhat.com>
46265 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46267 * string/Makefile (strop-tests): Add strcasecmp.
46268 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46269 strcasecmp_l-nonascii.
46270 (gen-as-const-headers): Add locale-defines.sym.
46271 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46272 * sysdeps/x86_64/strcasecmp.S: New file.
46273 * sysdeps/x86_64/strcasecmp_l.S: New file.
46274 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46275 * sysdeps/x86_64/locale-defines.sym: New file.
46276 * string/test-strcasecmp.c: New file.
46278 * string/test-strcasestr.c: Test both ends of the range of characters.
46279 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46281 2010-07-29 Roland McGrath <roland@redhat.com>
46284 * manual/locale.texi (Yes-or-No Questions): Fix example code.
46286 2010-07-27 Ulrich Drepper <drepper@redhat.com>
46288 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46291 2010-07-27 Andreas Schwab <schwab@redhat.com>
46293 * manual/memory.texi (Malloc Tunable Parameters): Document
46296 2010-07-26 Roland McGrath <roland@redhat.com>
46299 * configure.in (-fgnu89-inline check): Set and substitute
46300 gnu89_inline, not libc_cv_gnu89_inline.
46301 * configure: Regenerated.
46302 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46304 2010-07-26 Ulrich Drepper <drepper@redhat.com>
46306 * string/test-strnlen.c: New file.
46307 * string/Makefile (strop-tests): Add strnlen.
46308 * string/tester.c (test_strnlen): Add a few more test cases.
46309 * string/tst-strlen.c: Better error reporting.
46311 * sysdeps/x86_64/strnlen.S: New file.
46313 2010-07-24 Ulrich Drepper <drepper@redhat.com>
46315 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46316 lower-latency instructions.
46318 2010-07-23 Ulrich Drepper <drepper@redhat.com>
46320 * string/test-strcasestr.c: New file.
46321 * string/test-strstr.c: New file.
46322 * string/Makefile (strop-tests): Add strstr and strcasestr.
46323 * string/str-two-way.h: Don't undefine MAX.
46324 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46326 2010-07-21 Andreas Schwab <schwab@redhat.com>
46328 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46329 strcasestr-nonascii.
46330 (CFLAGS-strcasestr-nonascii.c): Define.
46331 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46332 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46333 Remove unused attribute.
46335 2010-07-20 Roland McGrath <roland@redhat.com>
46337 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46338 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
46339 ld.so.cache was broken. With it, there is no way to disable dsocaps
46340 like LD_HWCAP_MASK can disable hwcaps.
46342 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46344 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46346 2010-07-16 Ulrich Drepper <drepper@redhat.com>
46348 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46349 call in strcasestr.
46350 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46351 __strcasestr_sse42_nonascii.
46352 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46353 strcasestr-nonascii.c.
46354 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46356 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
46358 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46359 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46360 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46361 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46363 2010-07-09 Ulrich Drepper <drepper@redhat.com>
46365 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46368 2010-07-06 Andreas Schwab <schwab@redhat.com>
46371 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46374 2010-07-06 Ulrich Drepper <drepper@redhat.com>
46376 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46377 _PC_PIPE_BUF using F_GETPIPE_SZ.
46379 2010-07-05 Roland McGrath <roland@redhat.com>
46381 * manual/arith.texi (Rounding Functions): Fix rint description
46382 implicit in round description.
46384 2010-07-02 Ulrich Drepper <drepper@redhat.com>
46386 * elf/Makefile: Fix linking for a few tests to make recent linker
46389 2010-06-30 Andreas Schwab <schwab@redhat.com>
46391 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46392 $(common-objpfx)libc_nonshared.a.
46394 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
46396 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46397 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46398 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46399 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46400 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46401 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46402 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46403 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46418 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46419 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46420 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46421 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46422 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46423 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46424 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46425 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46426 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46427 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46428 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46429 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46445 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
46447 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46448 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
46449 * string/memmove.c (memmove): Renamed to ...
46450 (MEMMOVE): ...this. Default to memmove.
46451 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46452 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46455 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46456 mempcpy-ssse3-back memmove-ssse3-back.
46457 * sysdeps/x86_64/multiarch/bcopy.S: New file .
46458 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46459 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46460 * sysdeps/x86_64/multiarch/memcpy.S: New file.
46461 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46462 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46463 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46464 * sysdeps/x86_64/multiarch/memmove.c: New file.
46465 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46466 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46467 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46468 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46469 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46470 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46472 (index_Fast_Copy_Backward): Define.
46473 (HAS_ARCH_FEATURE): Define.
46474 (HAS_FAST_REP_STRING): Define.
46475 (HAS_FAST_COPY_BACKWARD): Define.
46477 2010-06-21 Andreas Schwab <schwab@redhat.com>
46479 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46480 Restore proper fallback handling.
46482 2010-06-19 Ulrich Drepper <drepper@redhat.com>
46485 * posix/group_member.c (__group_member): Correct checking loop.
46487 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46488 OOM in getpwuid_r correctly. Return error number when the caller
46489 should return, otherwise -1.
46490 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46491 call returning > 0 value.
46492 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46494 2010-06-07 Andreas Schwab <schwab@redhat.com>
46496 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46497 libc_nonshared.a from targets in modules-names.
46499 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
46501 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46504 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
46506 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46507 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46508 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46509 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46511 2010-06-02 Andreas Schwab <schwab@redhat.com>
46513 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46515 2010-06-14 Ulrich Drepper <drepper@redhat.com>
46517 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46519 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46520 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46522 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46523 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46524 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46526 2010-06-14 Roland McGrath <roland@redhat.com>
46528 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46530 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46532 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46533 __REDIRECT followed by __THROW.
46534 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46535 * posix/getopt.h (getopt): Likewise.
46537 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46539 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46540 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46541 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46543 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46544 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46546 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46548 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46550 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46554 Properly check family and model.
46556 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46558 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46560 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46562 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46564 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46566 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46569 2010-05-19 Andreas Schwab <schwab@redhat.com>
46571 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46574 2010-05-21 Andreas Schwab <schwab@redhat.com>
46576 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46577 and internal_recvmmsg.
46578 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46579 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46580 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46581 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46583 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46584 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46585 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46587 2010-05-20 Andreas Schwab <schwab@redhat.com>
46589 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46591 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46593 POWER7 optimizations.
46594 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46595 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46597 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46599 * version.h: Update for 2.13 development version.
46601 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46603 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46604 exceptions. Return 0.
46606 2010-05-07 Roland McGrath <roland@redhat.com>
46608 * elf/ldconfig.c (main): Add a const.
46610 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46612 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46613 (args_options): Add no-idn option.
46614 (ahosts_keys_int): Add idn_flags to ai_flags.
46615 (parse_option): Handle 'i' option to clear idn_flags.
46617 * malloc/malloc.c (_int_free): Possible race in the most recently
46618 added check. Only act on the data if no current modification
46621 See ChangeLog.17 for earlier changes.